Skip to content

Commit 7046cb4

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.542.0
1 parent 3816e48 commit 7046cb4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2706
-89
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
13
.speakeasy/temp/
24
.DS_Store
35
/mcp-server

.speakeasy/codeSamples.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ actions:
2727
- "lang": "typescript"
2828
"label": "GetApp"
2929
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.appsV2.getApp(\"app-af469a92-5b45-4565-b3c4-b79878de67d2\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
30+
- target: $["paths"]["/apps/v2/apps/{appId}"]["patch"]
31+
update:
32+
"x-codeSamples":
33+
- "lang": "typescript"
34+
"label": "PatchApp"
35+
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.appsV2.patchApp({\n serviceConfig: {\n staticProcessAllocation: [],\n },\n }, \"app-af469a92-5b45-4565-b3c4-b79878de67d2\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
3036
- target: $["paths"]["/apps/v2/apps/{appId}"]["post"]
3137
update:
3238
"x-codeSamples":
3339
- "lang": "typescript"
3440
"label": "UpdateApp"
35-
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.appsV2.updateApp({\n authConfiguration: {},\n appName: \"minecraft\",\n }, \"app-af469a92-5b45-4565-b3c4-b79878de67d2\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
41+
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.appsV2.updateApp({\n serviceConfig: {\n staticProcessAllocation: [],\n },\n authConfiguration: {},\n appName: \"minecraft\",\n }, \"app-af469a92-5b45-4565-b3c4-b79878de67d2\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
3642
- target: $["paths"]["/auth/v1/{appId}/login/anonymous"]["post"]
3743
update:
3844
"x-codeSamples":
@@ -93,6 +99,12 @@ actions:
9399
- "lang": "typescript"
94100
"label": "CreateBuild"
95101
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.buildsV3.createBuild({\n buildId: \"bld-6d4c6a71-2d75-4b42-94e1-f312f57f33c5\",\n buildTag: \"0.1.14-14c793\",\n buildSizeInBytes: 5387.85,\n }, \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
102+
- target: $["paths"]["/builds/v3/builds/registry"]["post"]
103+
update:
104+
"x-codeSamples":
105+
- "lang": "typescript"
106+
"label": "CreateBuildRegistry"
107+
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.buildsV3.createBuildRegistry({\n buildId: \"bld-6d4c6a71-2d75-4b42-94e1-f312f57f33c5\",\n buildTag: \"0.1.14-14c793\",\n }, \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
96108
- target: $["paths"]["/builds/v3/builds/{buildId}"]["delete"]
97109
update:
98110
"x-codeSamples":
@@ -111,6 +123,12 @@ actions:
111123
- "lang": "typescript"
112124
"label": "RunBuild"
113125
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.buildsV3.runBuild(\"bld-6d4c6a71-2d75-4b42-94e1-f312f57f33c5\", \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
126+
- target: $["paths"]["/builds/v3/builds/{buildId}/runRegistry"]["post"]
127+
update:
128+
"x-codeSamples":
129+
- "lang": "typescript"
130+
"label": "RunBuildRegistry"
131+
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.buildsV3.runBuildRegistry(\"bld-6d4c6a71-2d75-4b42-94e1-f312f57f33c5\", {\n image: \"https://loremflickr.com/1435/2196?lock=7778272511635490\",\n }, \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
114132
- target: $["paths"]["/deployments/v3/apps/{appId}/deployments"]["get"]
115133
update:
116134
"x-codeSamples":

0 commit comments

Comments
 (0)