Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.422.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Oct 26, 2024
1 parent 0e479c0 commit 4853a35
Show file tree
Hide file tree
Showing 138 changed files with 1,658 additions and 553 deletions.
18 changes: 12 additions & 6 deletions .speakeasy/codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ actions:
- "lang": "typescript"
"label": "UpdateFleetRegion"
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n await hathoraCloud.fleetsV1.updateFleetRegion({\n cloudMinVcpus: 511402,\n }, \"<id>\", \"Singapore\", \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\");\n\n\n}\n\nrun();"
- target: $["paths"]["/fleets/v1/fleets/{fleetId}/regions/{region}/metrics"]["get"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "GetFleetMetrics"
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.fleetsV1.getFleetMetrics({\n fleetId: \"<id>\",\n region: \"London\",\n orgId: \"org-6f706e83-0ec1-437a-9a46-7d4281eb2f39\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/lobby/v3/{appId}/create"]["post"]
update:
"x-codeSamples":
Expand Down Expand Up @@ -207,12 +213,6 @@ actions:
- "lang": "typescript"
"label": "SendVerificationEmail"
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.managementV1.sendVerificationEmail({\n userId: \"<id>\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/metrics/v1/{appId}/process/{processId}"]["get"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "GetMetrics"
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.metricsV1.getMetrics({\n processId: \"cbfcddd2-0006-43ae-996c-995fff7bed2e\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/orgs/v1"]["get"]
update:
"x-codeSamples":
Expand Down Expand Up @@ -273,6 +273,12 @@ actions:
- "lang": "typescript"
"label": "GetLatestProcesses"
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.processesV3.getLatestProcesses(\"app-af469a92-5b45-4565-b3c4-b79878de67d2\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/processes/v3/apps/{appId}/processes/process/{processId}/metrics"]["get"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "GetProcessMetrics"
"source": "import { HathoraCloud } from \"@hathora/cloud-sdk-typescript\";\n\nconst hathoraCloud = new HathoraCloud({\n hathoraDevToken: \"<YOUR_BEARER_TOKEN_HERE>\",\n appId: \"app-af469a92-5b45-4565-b3c4-b79878de67d2\",\n});\n\nasync function run() {\n const result = await hathoraCloud.processesV3.getProcessMetrics({\n processId: \"cbfcddd2-0006-43ae-996c-995fff7bed2e\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/processes/v3/apps/{appId}/processes/regions/{region}"]["post"]
update:
"x-codeSamples":
Expand Down
39 changes: 27 additions & 12 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 1b06df09-5141-4b14-b0b7-5415dbf16cfb
management:
docChecksum: 7246ca0f7c1f27676a24e3bdfe2d3a45
docChecksum: 21a416a1b30cc2a28c7e1d4dfa79202b
docVersion: 0.0.1
speakeasyVersion: 1.420.0
speakeasyVersion: 1.422.1
generationVersion: 2.438.15
releaseVersion: 2.10.6
configChecksum: 573461633f88dd34e00bfc956391a6eb
releaseVersion: 2.10.7
configChecksum: 252a21b076ce9cbf91dffcac099402aa
repoURL: https://github.com/hathora/cloud-sdk-typescript.git
installationURL: https://github.com/hathora/cloud-sdk-typescript
published: true
Expand Down Expand Up @@ -97,9 +97,13 @@ generatedFiles:
- docs/models/components/deploymentv2env.md
- docs/models/components/deploymentv3.md
- docs/models/components/deploymentv3env.md
- docs/models/components/deprecatedprocessmetricname.md
- docs/models/components/deprecatedprocessmetricsdata.md
- docs/models/components/env.md
- docs/models/components/exposedport.md
- docs/models/components/fleet.md
- docs/models/components/fleetmetricname.md
- docs/models/components/fleetmetricsdata.md
- docs/models/components/fleetregion.md
- docs/models/components/fleetregionconfig.md
- docs/models/components/fleetspage.md
Expand All @@ -115,8 +119,6 @@ generatedFiles:
- docs/models/components/lobbyv3.md
- docs/models/components/lobbyv3createdby.md
- docs/models/components/lobbyvisibility.md
- docs/models/components/metricname.md
- docs/models/components/metricsdata.md
- docs/models/components/metricvalue.md
- docs/models/components/nicknameobject.md
- docs/models/components/organization.md
Expand All @@ -133,6 +135,8 @@ generatedFiles:
- docs/models/components/playertokenobject.md
- docs/models/components/process.md
- docs/models/components/processexposedport.md
- docs/models/components/processmetricname.md
- docs/models/components/processmetricsdata.md
- docs/models/components/processstatus.md
- docs/models/components/processv2.md
- docs/models/components/processv2exposedport.md
Expand Down Expand Up @@ -262,6 +266,7 @@ generatedFiles:
- docs/models/operations/getdeploymentsv1deprecatedrequest.md
- docs/models/operations/getdeploymentsv2deprecatedglobals.md
- docs/models/operations/getdeploymentsv2deprecatedrequest.md
- docs/models/operations/getfleetmetricsrequest.md
- docs/models/operations/getfleetregionrequest.md
- docs/models/operations/getfleetsrequest.md
- docs/models/operations/getinactiveroomsforprocessdeprecatedglobals.md
Expand Down Expand Up @@ -290,8 +295,8 @@ generatedFiles:
- docs/models/operations/getlogsfordeploymentrequest.md
- docs/models/operations/getlogsforprocessglobals.md
- docs/models/operations/getlogsforprocessrequest.md
- docs/models/operations/getmetricsglobals.md
- docs/models/operations/getmetricsrequest.md
- docs/models/operations/getmetricsdeprecatedglobals.md
- docs/models/operations/getmetricsdeprecatedrequest.md
- docs/models/operations/getorgmembersrequest.md
- docs/models/operations/getorgpendinginvitesrequest.md
- docs/models/operations/getorgtokensrequest.md
Expand All @@ -306,6 +311,8 @@ generatedFiles:
- docs/models/operations/getprocessinfodeprecatedrequest.md
- docs/models/operations/getprocessinfov2deprecatedglobals.md
- docs/models/operations/getprocessinfov2deprecatedrequest.md
- docs/models/operations/getprocessmetricsglobals.md
- docs/models/operations/getprocessmetricsrequest.md
- docs/models/operations/getprocessrequest.md
- docs/models/operations/getroominfodeprecatedglobals.md
- docs/models/operations/getroominfodeprecatedrequest.md
Expand Down Expand Up @@ -437,6 +444,7 @@ generatedFiles:
- src/funcs/deploymentsV3GetLatestDeployment.ts
- src/funcs/discoveryV1GetPingServiceEndpointsDeprecated.ts
- src/funcs/discoveryV2GetPingServiceEndpoints.ts
- src/funcs/fleetsV1GetFleetMetrics.ts
- src/funcs/fleetsV1GetFleetRegion.ts
- src/funcs/fleetsV1GetFleets.ts
- src/funcs/fleetsV1UpdateFleetRegion.ts
Expand All @@ -459,7 +467,7 @@ generatedFiles:
- src/funcs/logsV1GetLogsForDeployment.ts
- src/funcs/logsV1GetLogsForProcess.ts
- src/funcs/managementV1SendVerificationEmail.ts
- src/funcs/metricsV1GetMetrics.ts
- src/funcs/metricsV1GetMetricsDeprecated.ts
- src/funcs/organizationsV1AcceptInvite.ts
- src/funcs/organizationsV1GetOrgMembers.ts
- src/funcs/organizationsV1GetOrgPendingInvites.ts
Expand All @@ -479,6 +487,7 @@ generatedFiles:
- src/funcs/processesV3CreateProcess.ts
- src/funcs/processesV3GetLatestProcesses.ts
- src/funcs/processesV3GetProcess.ts
- src/funcs/processesV3GetProcessMetrics.ts
- src/funcs/processesV3GetProcessesCountExperimental.ts
- src/funcs/processesV3StopProcess.ts
- src/funcs/roomsV1CreateRoomDeprecated.ts
Expand Down Expand Up @@ -556,8 +565,12 @@ generatedFiles:
- src/models/components/deploymentv1.ts
- src/models/components/deploymentv2.ts
- src/models/components/deploymentv3.ts
- src/models/components/deprecatedprocessmetricname.ts
- src/models/components/deprecatedprocessmetricsdata.ts
- src/models/components/exposedport.ts
- src/models/components/fleet.ts
- src/models/components/fleetmetricname.ts
- src/models/components/fleetmetricsdata.ts
- src/models/components/fleetregion.ts
- src/models/components/fleetregionconfig.ts
- src/models/components/fleetspage.ts
Expand All @@ -572,8 +585,6 @@ generatedFiles:
- src/models/components/lobby.ts
- src/models/components/lobbyv3.ts
- src/models/components/lobbyvisibility.ts
- src/models/components/metricname.ts
- src/models/components/metricsdata.ts
- src/models/components/metricvalue.ts
- src/models/components/nicknameobject.ts
- src/models/components/organization.ts
Expand All @@ -589,6 +600,8 @@ generatedFiles:
- src/models/components/planname.ts
- src/models/components/playertokenobject.ts
- src/models/components/process.ts
- src/models/components/processmetricname.ts
- src/models/components/processmetricsdata.ts
- src/models/components/processstatus.ts
- src/models/components/processv2.ts
- src/models/components/processv3.ts
Expand Down Expand Up @@ -663,6 +676,7 @@ generatedFiles:
- src/models/operations/getdeployments.ts
- src/models/operations/getdeploymentsv1deprecated.ts
- src/models/operations/getdeploymentsv2deprecated.ts
- src/models/operations/getfleetmetrics.ts
- src/models/operations/getfleetregion.ts
- src/models/operations/getfleets.ts
- src/models/operations/getinactiveroomsforprocess.ts
Expand All @@ -678,7 +692,7 @@ generatedFiles:
- src/models/operations/getlogsforapp.ts
- src/models/operations/getlogsfordeployment.ts
- src/models/operations/getlogsforprocess.ts
- src/models/operations/getmetrics.ts
- src/models/operations/getmetricsdeprecated.ts
- src/models/operations/getorgmembers.ts
- src/models/operations/getorgpendinginvites.ts
- src/models/operations/getorgtokens.ts
Expand All @@ -687,6 +701,7 @@ generatedFiles:
- src/models/operations/getprocessescountexperimentalv2deprecated.ts
- src/models/operations/getprocessinfodeprecated.ts
- src/models/operations/getprocessinfov2deprecated.ts
- src/models/operations/getprocessmetrics.ts
- src/models/operations/getroominfo.ts
- src/models/operations/getroominfodeprecated.ts
- src/models/operations/getrunningprocesses.ts
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.420.0
speakeasyVersion: 1.422.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:f2f7927c91240e75b9b1b27a6f01d1d5f69d70c8b80eb8c97d72767d7e117570
sourceBlobDigest: sha256:4f8be32df07db1363406faf1b3655e237643c7e536ffa5d49c70e6da77147d71
sourceRevisionDigest: sha256:4a78b67aae221dc8094d1cfe01ea1dbfe5bd238e1c79943028ab00187c3e8bd7
sourceBlobDigest: sha256:17d496af184c2a1507c89f3b3fc6068e830536d7ef6757a35fb6541a68f71bb3
tags:
- latest
- main
targets:
hathora-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:f2f7927c91240e75b9b1b27a6f01d1d5f69d70c8b80eb8c97d72767d7e117570
sourceBlobDigest: sha256:4f8be32df07db1363406faf1b3655e237643c7e536ffa5d49c70e6da77147d71
sourceRevisionDigest: sha256:4a78b67aae221dc8094d1cfe01ea1dbfe5bd238e1c79943028ab00187c3e8bd7
sourceBlobDigest: sha256:17d496af184c2a1507c89f3b3fc6068e830536d7ef6757a35fb6541a68f71bb3
codeSamplesNamespace: code-samples-typescript-hathora-typescript
codeSamplesRevisionDigest: sha256:cf0387d9884d8039207ed0e5f80d6d7194c0aa9e043b05ec4b19426489786eb3
codeSamplesRevisionDigest: sha256:98f8c1d12856569b13f62ecbf9851af73c0ef85669cb2eefe7c15b8dba126a06
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading

0 comments on commit 4853a35

Please sign in to comment.