@accelbyte/sdk-ams 0.0.0-dev-20241106153220 → 0.0.0-dev-20250113092628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FleetClaimResponse-D9jxThLx.d.cts → FleetClaimResponse-B31iJh_b.d.cts} +372 -212
- package/dist/{FleetClaimResponse-D9jxThLx.d.ts → FleetClaimResponse-B31iJh_b.d.ts} +372 -212
- package/dist/all-query-imports.cjs +281 -240
- package/dist/all-query-imports.d.cts +29 -5
- package/dist/all-query-imports.d.ts +29 -5
- package/dist/all-query-imports.js +7 -3
- package/dist/{chunk-LBIKEJ3H.js → chunk-YDYBKQVZ.js} +277 -239
- package/dist/global/index.global.js +1 -1
- package/dist/index.cjs +336 -286
- package/dist/index.d.cts +229 -57
- package/dist/index.d.ts +229 -57
- package/dist/index.js +52 -40
- package/package.json +4 -4
|
@@ -67,7 +67,7 @@ var AccountAdmin$ = class {
|
|
|
67
67
|
);
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
* This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked
|
|
70
|
+
* This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
71
71
|
*/
|
|
72
72
|
createAccountLink(data) {
|
|
73
73
|
const params = {};
|
|
@@ -140,7 +140,7 @@ function AccountAdminApi(sdk, args) {
|
|
|
140
140
|
*/
|
|
141
141
|
getAccountLink,
|
|
142
142
|
/**
|
|
143
|
-
* This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked
|
|
143
|
+
* This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
144
144
|
*/
|
|
145
145
|
createAccountLink
|
|
146
146
|
};
|
|
@@ -150,20 +150,27 @@ function AccountAdminApi(sdk, args) {
|
|
|
150
150
|
import { z as z6 } from "zod";
|
|
151
151
|
var AmsRegionsResponse = z6.object({ regions: z6.array(z6.string()).nullish() });
|
|
152
152
|
|
|
153
|
-
// src/generated-definitions/
|
|
153
|
+
// src/generated-definitions/Capacity.ts
|
|
154
154
|
import { z as z7 } from "zod";
|
|
155
|
-
var
|
|
156
|
-
description: z7.string(),
|
|
157
|
-
id: z7.string(),
|
|
158
|
-
memoryGiB: z7.number(),
|
|
159
|
-
minSpeed: z7.string(),
|
|
160
|
-
name: z7.string(),
|
|
161
|
-
virtualCpu: z7.number().int()
|
|
162
|
-
});
|
|
155
|
+
var Capacity = z7.object({ region: z7.string(), vmCount: z7.number().int() });
|
|
163
156
|
|
|
164
|
-
// src/generated-definitions/
|
|
157
|
+
// src/generated-definitions/InstanceTypeForNamespaceResponse.ts
|
|
165
158
|
import { z as z8 } from "zod";
|
|
166
|
-
var
|
|
159
|
+
var InstanceTypeForNamespaceResponse = z8.object({
|
|
160
|
+
capacity: z8.array(Capacity),
|
|
161
|
+
description: z8.string(),
|
|
162
|
+
id: z8.string(),
|
|
163
|
+
memoryGiB: z8.number(),
|
|
164
|
+
minSpeed: z8.string(),
|
|
165
|
+
name: z8.string(),
|
|
166
|
+
ownerAccountId: z8.string(),
|
|
167
|
+
provider: z8.string(),
|
|
168
|
+
virtualCpu: z8.number().int()
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
// src/generated-definitions/InstanceTypesForNamespaceResponse.ts
|
|
172
|
+
import { z as z9 } from "zod";
|
|
173
|
+
var InstanceTypesForNamespaceResponse = z9.object({ availableInstanceTypes: z9.array(InstanceTypeForNamespaceResponse) });
|
|
167
174
|
|
|
168
175
|
// src/generated-admin/endpoints/AmsInfoAdmin$.ts
|
|
169
176
|
import { Validate as Validate2 } from "@accelbyte/sdk";
|
|
@@ -194,8 +201,8 @@ var AmsInfoAdmin$ = class {
|
|
|
194
201
|
return Validate2.validateOrReturnResponse(
|
|
195
202
|
this.useSchemaValidation,
|
|
196
203
|
() => resultPromise,
|
|
197
|
-
|
|
198
|
-
"
|
|
204
|
+
InstanceTypesForNamespaceResponse,
|
|
205
|
+
"InstanceTypesForNamespaceResponse"
|
|
199
206
|
);
|
|
200
207
|
}
|
|
201
208
|
};
|
|
@@ -250,27 +257,27 @@ function AmsInfoAdminApi(sdk, args) {
|
|
|
250
257
|
}
|
|
251
258
|
|
|
252
259
|
// src/generated-definitions/Time.ts
|
|
253
|
-
import { z as
|
|
254
|
-
var Time =
|
|
260
|
+
import { z as z10 } from "zod";
|
|
261
|
+
var Time = z10.any();
|
|
255
262
|
|
|
256
263
|
// src/generated-definitions/QoSServer.ts
|
|
257
|
-
import { z as
|
|
258
|
-
var QoSServer =
|
|
259
|
-
alias:
|
|
260
|
-
ip:
|
|
264
|
+
import { z as z11 } from "zod";
|
|
265
|
+
var QoSServer = z11.object({
|
|
266
|
+
alias: z11.string(),
|
|
267
|
+
ip: z11.string(),
|
|
261
268
|
last_update: Time,
|
|
262
|
-
port:
|
|
263
|
-
region:
|
|
264
|
-
status:
|
|
269
|
+
port: z11.number().int(),
|
|
270
|
+
region: z11.string(),
|
|
271
|
+
status: z11.string()
|
|
265
272
|
});
|
|
266
273
|
|
|
267
274
|
// src/generated-definitions/QoSEndpointResponse.ts
|
|
268
|
-
import { z as
|
|
269
|
-
var QoSEndpointResponse =
|
|
275
|
+
import { z as z12 } from "zod";
|
|
276
|
+
var QoSEndpointResponse = z12.object({ servers: z12.array(QoSServer) });
|
|
270
277
|
|
|
271
278
|
// src/generated-admin/endpoints/AmsQoSAdmin$.ts
|
|
272
279
|
import { Validate as Validate3 } from "@accelbyte/sdk";
|
|
273
|
-
import { z as
|
|
280
|
+
import { z as z13 } from "zod";
|
|
274
281
|
var AmsQoSAdmin$ = class {
|
|
275
282
|
// @ts-ignore
|
|
276
283
|
// prettier-ignore
|
|
@@ -295,7 +302,7 @@ var AmsQoSAdmin$ = class {
|
|
|
295
302
|
const params = {};
|
|
296
303
|
const url = "/ams/v1/admin/namespaces/{namespace}/qos/{region}".replace("{namespace}", this.namespace).replace("{region}", region);
|
|
297
304
|
const resultPromise = this.axiosInstance.patch(url, data, { params });
|
|
298
|
-
return Validate3.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
305
|
+
return Validate3.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z13.unknown(), "z.unknown()");
|
|
299
306
|
}
|
|
300
307
|
};
|
|
301
308
|
|
|
@@ -349,53 +356,61 @@ function AmsQoSAdminApi(sdk, args) {
|
|
|
349
356
|
}
|
|
350
357
|
|
|
351
358
|
// src/generated-definitions/ArtifactResponse.ts
|
|
352
|
-
import { z as
|
|
353
|
-
var ArtifactResponse =
|
|
354
|
-
artifactType:
|
|
359
|
+
import { z as z14 } from "zod";
|
|
360
|
+
var ArtifactResponse = z14.object({
|
|
361
|
+
artifactType: z14.string(),
|
|
355
362
|
createdOn: Time,
|
|
356
|
-
dsId:
|
|
363
|
+
dsId: z14.string(),
|
|
357
364
|
expiresOn: Time,
|
|
358
|
-
filename:
|
|
359
|
-
fleetId:
|
|
360
|
-
id:
|
|
361
|
-
imageId:
|
|
362
|
-
namespace:
|
|
363
|
-
region:
|
|
364
|
-
sizeBytes:
|
|
365
|
-
status:
|
|
365
|
+
filename: z14.string(),
|
|
366
|
+
fleetId: z14.string(),
|
|
367
|
+
id: z14.string(),
|
|
368
|
+
imageId: z14.string(),
|
|
369
|
+
namespace: z14.string(),
|
|
370
|
+
region: z14.string(),
|
|
371
|
+
sizeBytes: z14.number().int(),
|
|
372
|
+
status: z14.string()
|
|
366
373
|
});
|
|
367
374
|
|
|
368
375
|
// src/generated-definitions/ArtifactListResponse.ts
|
|
369
|
-
import { z as
|
|
370
|
-
var ArtifactListResponse =
|
|
376
|
+
import { z as z15 } from "zod";
|
|
377
|
+
var ArtifactListResponse = z15.object({ data: z15.array(ArtifactResponse), totalData: z15.number().int() });
|
|
371
378
|
|
|
372
379
|
// src/generated-definitions/ArtifactUrlResponse.ts
|
|
373
|
-
import { z as
|
|
374
|
-
var ArtifactUrlResponse =
|
|
380
|
+
import { z as z16 } from "zod";
|
|
381
|
+
var ArtifactUrlResponse = z16.object({ url: z16.string() });
|
|
375
382
|
|
|
376
383
|
// src/generated-definitions/ArtifactUsageResponse.ts
|
|
377
|
-
import { z as
|
|
378
|
-
var ArtifactUsageResponse =
|
|
379
|
-
quotaBytes:
|
|
380
|
-
remainingBytes:
|
|
381
|
-
usedBytes:
|
|
384
|
+
import { z as z17 } from "zod";
|
|
385
|
+
var ArtifactUsageResponse = z17.object({
|
|
386
|
+
quotaBytes: z17.number().int(),
|
|
387
|
+
remainingBytes: z17.number().int(),
|
|
388
|
+
usedBytes: z17.number().int()
|
|
382
389
|
});
|
|
383
390
|
|
|
384
391
|
// src/generated-definitions/ArtifactSamplingRule.ts
|
|
385
|
-
import { z as
|
|
386
|
-
var ArtifactSamplingRule =
|
|
392
|
+
import { z as z18 } from "zod";
|
|
393
|
+
var ArtifactSamplingRule = z18.object({ collect: z18.boolean(), percentage: z18.number().int() });
|
|
387
394
|
|
|
388
395
|
// src/generated-definitions/ArtifactTypeSamplingRules.ts
|
|
389
|
-
import { z as
|
|
390
|
-
var ArtifactTypeSamplingRules =
|
|
396
|
+
import { z as z19 } from "zod";
|
|
397
|
+
var ArtifactTypeSamplingRules = z19.object({
|
|
398
|
+
crashed: ArtifactSamplingRule,
|
|
399
|
+
success: ArtifactSamplingRule,
|
|
400
|
+
unclaimed: ArtifactSamplingRule.nullish()
|
|
401
|
+
});
|
|
402
|
+
|
|
403
|
+
// src/generated-definitions/CoredumpSamplingRules.ts
|
|
404
|
+
import { z as z20 } from "zod";
|
|
405
|
+
var CoredumpSamplingRules = z20.object({ crashed: ArtifactSamplingRule });
|
|
391
406
|
|
|
392
407
|
// src/generated-definitions/FleetArtifactsSampleRules.ts
|
|
393
|
-
import { z as
|
|
394
|
-
var FleetArtifactsSampleRules =
|
|
408
|
+
import { z as z21 } from "zod";
|
|
409
|
+
var FleetArtifactsSampleRules = z21.object({ coredumps: CoredumpSamplingRules, logs: ArtifactTypeSamplingRules });
|
|
395
410
|
|
|
396
411
|
// src/generated-admin/endpoints/ArtifactsAdmin$.ts
|
|
397
412
|
import { Validate as Validate4 } from "@accelbyte/sdk";
|
|
398
|
-
import { z as
|
|
413
|
+
import { z as z22 } from "zod";
|
|
399
414
|
var ArtifactsAdmin$ = class {
|
|
400
415
|
// @ts-ignore
|
|
401
416
|
// prettier-ignore
|
|
@@ -411,13 +426,13 @@ var ArtifactsAdmin$ = class {
|
|
|
411
426
|
const params = { ...queryParams };
|
|
412
427
|
const url = "/ams/v1/admin/namespaces/{namespace}/artifacts".replace("{namespace}", this.namespace);
|
|
413
428
|
const resultPromise = this.axiosInstance.delete(url, { params });
|
|
414
|
-
return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
429
|
+
return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z22.unknown(), "z.unknown()");
|
|
415
430
|
}
|
|
416
431
|
/**
|
|
417
432
|
* Get all artifacts matching the provided search criteria. When criteria is not specified the data returned won't have been filtered on those parameters Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
418
433
|
*/
|
|
419
434
|
getArtifacts(queryParams) {
|
|
420
|
-
const params = { count: 100, ...queryParams };
|
|
435
|
+
const params = { count: 100, sortBy: "created_on", sortDirection: "desc", ...queryParams };
|
|
421
436
|
const url = "/ams/v1/admin/namespaces/{namespace}/artifacts".replace("{namespace}", this.namespace);
|
|
422
437
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
423
438
|
return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactListResponse, "ArtifactListResponse");
|
|
@@ -438,7 +453,7 @@ var ArtifactsAdmin$ = class {
|
|
|
438
453
|
const params = {};
|
|
439
454
|
const url = "/ams/v1/admin/namespaces/{namespace}/artifacts/{artifactID}".replace("{namespace}", this.namespace).replace("{artifactID}", artifactID);
|
|
440
455
|
const resultPromise = this.axiosInstance.delete(url, { params });
|
|
441
|
-
return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
456
|
+
return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z22.unknown(), "z.unknown()");
|
|
442
457
|
}
|
|
443
458
|
/**
|
|
444
459
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
@@ -579,27 +594,29 @@ function ArtifactsAdminApi(sdk, args) {
|
|
|
579
594
|
}
|
|
580
595
|
|
|
581
596
|
// src/generated-definitions/DevelopmentServerConfigurationCreateResponse.ts
|
|
582
|
-
import { z as
|
|
583
|
-
var DevelopmentServerConfigurationCreateResponse =
|
|
597
|
+
import { z as z23 } from "zod";
|
|
598
|
+
var DevelopmentServerConfigurationCreateResponse = z23.object({ name: z23.string() });
|
|
584
599
|
|
|
585
600
|
// src/generated-definitions/DevelopmentServerConfigurationGetResponse.ts
|
|
586
|
-
import { z as
|
|
587
|
-
var DevelopmentServerConfigurationGetResponse =
|
|
588
|
-
commandLineArguments:
|
|
589
|
-
|
|
590
|
-
|
|
601
|
+
import { z as z24 } from "zod";
|
|
602
|
+
var DevelopmentServerConfigurationGetResponse = z24.object({
|
|
603
|
+
commandLineArguments: z24.string(),
|
|
604
|
+
createdAt: z24.string().nullish(),
|
|
605
|
+
expiresAt: z24.string().nullish(),
|
|
606
|
+
imageId: z24.string(),
|
|
607
|
+
name: z24.string()
|
|
591
608
|
});
|
|
592
609
|
|
|
593
610
|
// src/generated-definitions/DevelopmentServerConfigurationListResponse.ts
|
|
594
|
-
import { z as
|
|
595
|
-
var DevelopmentServerConfigurationListResponse =
|
|
596
|
-
data:
|
|
597
|
-
totalData:
|
|
611
|
+
import { z as z25 } from "zod";
|
|
612
|
+
var DevelopmentServerConfigurationListResponse = z25.object({
|
|
613
|
+
data: z25.array(DevelopmentServerConfigurationGetResponse),
|
|
614
|
+
totalData: z25.number().int()
|
|
598
615
|
});
|
|
599
616
|
|
|
600
617
|
// src/generated-admin/endpoints/DevelopmentAdmin$.ts
|
|
601
618
|
import { Validate as Validate5 } from "@accelbyte/sdk";
|
|
602
|
-
import { z as
|
|
619
|
+
import { z as z26 } from "zod";
|
|
603
620
|
var DevelopmentAdmin$ = class {
|
|
604
621
|
// @ts-ignore
|
|
605
622
|
// prettier-ignore
|
|
@@ -643,7 +660,7 @@ var DevelopmentAdmin$ = class {
|
|
|
643
660
|
const params = {};
|
|
644
661
|
const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations/{developmentServerConfigID}".replace("{namespace}", this.namespace).replace("{developmentServerConfigID}", developmentServerConfigID);
|
|
645
662
|
const resultPromise = this.axiosInstance.delete(url, { params });
|
|
646
|
-
return Validate5.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
663
|
+
return Validate5.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z26.unknown(), "z.unknown()");
|
|
647
664
|
}
|
|
648
665
|
/**
|
|
649
666
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
@@ -731,131 +748,148 @@ function DevelopmentAdminApi(sdk, args) {
|
|
|
731
748
|
}
|
|
732
749
|
|
|
733
750
|
// src/generated-definitions/FleetCreateResponse.ts
|
|
734
|
-
import { z as z25 } from "zod";
|
|
735
|
-
var FleetCreateResponse = z25.object({ id: z25.string() });
|
|
736
|
-
|
|
737
|
-
// src/generated-definitions/DsHostConfiguration.ts
|
|
738
|
-
import { z as z26 } from "zod";
|
|
739
|
-
var DsHostConfiguration = z26.object({ instanceId: z26.string(), instanceType: z26.string(), serversPerVm: z26.number().int() });
|
|
740
|
-
|
|
741
|
-
// src/generated-definitions/PortConfiguration.ts
|
|
742
751
|
import { z as z27 } from "zod";
|
|
743
|
-
var
|
|
752
|
+
var FleetCreateResponse = z27.object({ id: z27.string() });
|
|
744
753
|
|
|
745
|
-
// src/generated-definitions/
|
|
754
|
+
// src/generated-definitions/DsHostConfiguration.ts
|
|
746
755
|
import { z as z28 } from "zod";
|
|
747
|
-
var
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
756
|
+
var DsHostConfiguration = z28.object({
|
|
757
|
+
instanceId: z28.string(),
|
|
758
|
+
instanceProvider: z28.string(),
|
|
759
|
+
instanceType: z28.string(),
|
|
760
|
+
serversPerVm: z28.number().int()
|
|
752
761
|
});
|
|
753
762
|
|
|
754
|
-
// src/generated-definitions/
|
|
763
|
+
// src/generated-definitions/PortConfiguration.ts
|
|
755
764
|
import { z as z29 } from "zod";
|
|
756
|
-
var
|
|
757
|
-
commandLine: z29.string(),
|
|
758
|
-
imageId: z29.string(),
|
|
759
|
-
portConfigurations: z29.array(PortConfiguration),
|
|
760
|
-
timeout: Timeout
|
|
761
|
-
});
|
|
765
|
+
var PortConfiguration = z29.object({ name: z29.string(), protocol: z29.string() });
|
|
762
766
|
|
|
763
|
-
// src/generated-definitions/
|
|
767
|
+
// src/generated-definitions/Timeout.ts
|
|
764
768
|
import { z as z30 } from "zod";
|
|
765
|
-
var
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
769
|
+
var Timeout = z30.object({
|
|
770
|
+
claim: z30.number().int().nullish(),
|
|
771
|
+
creation: z30.number().int().nullish(),
|
|
772
|
+
drain: z30.number().int().nullish(),
|
|
773
|
+
session: z30.number().int().nullish(),
|
|
774
|
+
unresponsive: z30.number().int().nullish()
|
|
771
775
|
});
|
|
772
776
|
|
|
773
|
-
// src/generated-definitions/
|
|
777
|
+
// src/generated-definitions/ImageDeploymentProfile.ts
|
|
774
778
|
import { z as z31 } from "zod";
|
|
775
|
-
var
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
imageDeploymentProfile: ImageDeploymentProfile,
|
|
781
|
-
isLocal: z31.boolean(),
|
|
782
|
-
name: z31.string(),
|
|
783
|
-
onDemand: z31.boolean(),
|
|
784
|
-
regions: z31.array(RegionConfig),
|
|
785
|
-
samplingRules: FleetArtifactsSampleRules
|
|
779
|
+
var ImageDeploymentProfile = z31.object({
|
|
780
|
+
commandLine: z31.string(),
|
|
781
|
+
imageId: z31.string(),
|
|
782
|
+
portConfigurations: z31.array(PortConfiguration),
|
|
783
|
+
timeout: Timeout.nullish()
|
|
786
784
|
});
|
|
787
785
|
|
|
788
|
-
// src/generated-definitions/
|
|
786
|
+
// src/generated-definitions/RegionConfig.ts
|
|
789
787
|
import { z as z32 } from "zod";
|
|
790
|
-
var
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
targetVmCount: z32.number().int()
|
|
788
|
+
var RegionConfig = z32.object({
|
|
789
|
+
bufferSize: z32.number().int(),
|
|
790
|
+
dynamicBuffer: z32.boolean(),
|
|
791
|
+
maxServerCount: z32.number().int(),
|
|
792
|
+
minServerCount: z32.number().int(),
|
|
793
|
+
region: z32.string()
|
|
797
794
|
});
|
|
798
795
|
|
|
799
|
-
// src/generated-definitions/
|
|
796
|
+
// src/generated-definitions/FleetGetResponse.ts
|
|
800
797
|
import { z as z33 } from "zod";
|
|
801
|
-
var
|
|
798
|
+
var FleetGetResponse = z33.object({
|
|
802
799
|
active: z33.boolean(),
|
|
803
|
-
|
|
800
|
+
claimKeys: z33.array(z33.string()),
|
|
801
|
+
dsHostConfiguration: DsHostConfiguration,
|
|
804
802
|
id: z33.string(),
|
|
805
|
-
|
|
803
|
+
imageDeploymentProfile: ImageDeploymentProfile,
|
|
806
804
|
isLocal: z33.boolean(),
|
|
807
805
|
name: z33.string(),
|
|
808
806
|
onDemand: z33.boolean(),
|
|
809
|
-
regions: z33.array(
|
|
807
|
+
regions: z33.array(RegionConfig),
|
|
808
|
+
samplingRules: FleetArtifactsSampleRules
|
|
810
809
|
});
|
|
811
810
|
|
|
812
|
-
// src/generated-definitions/
|
|
811
|
+
// src/generated-definitions/FleetRegionalServerCounts.ts
|
|
813
812
|
import { z as z34 } from "zod";
|
|
814
|
-
var
|
|
813
|
+
var FleetRegionalServerCounts = z34.object({
|
|
814
|
+
claimedServerCount: z34.number().int(),
|
|
815
|
+
readyServerCount: z34.number().int(),
|
|
816
|
+
region: z34.string(),
|
|
817
|
+
runningVmCount: z34.number().int(),
|
|
818
|
+
targetDsCount: z34.number().int(),
|
|
819
|
+
targetVmCount: z34.number().int()
|
|
820
|
+
});
|
|
815
821
|
|
|
816
|
-
// src/generated-definitions/
|
|
822
|
+
// src/generated-definitions/FleetListItemResponse.ts
|
|
817
823
|
import { z as z35 } from "zod";
|
|
818
|
-
var
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
region: z35.string(),
|
|
829
|
-
serverConfiguration: z35.string(),
|
|
830
|
-
serverId: z35.string(),
|
|
831
|
-
sessionId: z35.string(),
|
|
832
|
-
status: z35.string()
|
|
824
|
+
var FleetListItemResponse = z35.object({
|
|
825
|
+
active: z35.boolean(),
|
|
826
|
+
counts: z35.array(FleetRegionalServerCounts),
|
|
827
|
+
id: z35.string(),
|
|
828
|
+
image: z35.string(),
|
|
829
|
+
instanceProvider: z35.string(),
|
|
830
|
+
isLocal: z35.boolean(),
|
|
831
|
+
name: z35.string(),
|
|
832
|
+
onDemand: z35.boolean(),
|
|
833
|
+
regions: z35.array(z35.string())
|
|
833
834
|
});
|
|
834
835
|
|
|
835
|
-
// src/generated-definitions/
|
|
836
|
+
// src/generated-definitions/PaginationInfo.ts
|
|
836
837
|
import { z as z36 } from "zod";
|
|
837
|
-
var
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
hasPages: z36.boolean(),
|
|
841
|
-
hasPrev: z36.boolean(),
|
|
838
|
+
var PaginationInfo = z36.object({
|
|
839
|
+
first: z36.string(),
|
|
840
|
+
last: z36.string(),
|
|
842
841
|
next: z36.string(),
|
|
843
|
-
pageNums: z36.array(z36.number().int()),
|
|
844
842
|
previous: z36.string(),
|
|
845
843
|
total: z36.number().int()
|
|
846
844
|
});
|
|
847
845
|
|
|
848
|
-
// src/generated-definitions/
|
|
846
|
+
// src/generated-definitions/FleetListResponse.ts
|
|
849
847
|
import { z as z37 } from "zod";
|
|
850
|
-
var
|
|
848
|
+
var FleetListResponse = z37.object({ fleets: z37.array(FleetListItemResponse), paging: PaginationInfo });
|
|
849
|
+
|
|
850
|
+
// src/generated-definitions/FleetServerInfoResponse.ts
|
|
851
|
+
import { z as z38 } from "zod";
|
|
852
|
+
var FleetServerInfoResponse = z38.object({
|
|
853
|
+
createdAt: z38.string(),
|
|
854
|
+
fleetId: z38.string(),
|
|
855
|
+
fleetName: z38.string(),
|
|
856
|
+
imageCmd: z38.string(),
|
|
857
|
+
imageId: z38.string(),
|
|
858
|
+
instanceType: z38.string(),
|
|
859
|
+
ipAddress: z38.string(),
|
|
860
|
+
portConfiguration: z38.array(PortConfiguration),
|
|
861
|
+
ports: z38.record(z38.number().int()),
|
|
862
|
+
region: z38.string(),
|
|
863
|
+
serverConfiguration: z38.string(),
|
|
864
|
+
serverId: z38.string(),
|
|
865
|
+
sessionId: z38.string(),
|
|
866
|
+
status: z38.string()
|
|
867
|
+
});
|
|
868
|
+
|
|
869
|
+
// src/generated-definitions/PagingInfo.ts
|
|
870
|
+
import { z as z39 } from "zod";
|
|
871
|
+
var PagingInfo = z39.object({
|
|
872
|
+
currentPage: z39.number().int(),
|
|
873
|
+
hasNext: z39.boolean(),
|
|
874
|
+
hasPages: z39.boolean(),
|
|
875
|
+
hasPrev: z39.boolean(),
|
|
876
|
+
next: z39.string(),
|
|
877
|
+
pageNums: z39.array(z39.number().int()),
|
|
878
|
+
previous: z39.string(),
|
|
879
|
+
total: z39.number().int()
|
|
880
|
+
});
|
|
881
|
+
|
|
882
|
+
// src/generated-definitions/FleetServersResponse.ts
|
|
883
|
+
import { z as z40 } from "zod";
|
|
884
|
+
var FleetServersResponse = z40.object({
|
|
851
885
|
paging: PagingInfo,
|
|
852
|
-
regions:
|
|
853
|
-
servers:
|
|
886
|
+
regions: z40.array(FleetRegionalServerCounts),
|
|
887
|
+
servers: z40.array(FleetServerInfoResponse)
|
|
854
888
|
});
|
|
855
889
|
|
|
856
890
|
// src/generated-admin/endpoints/FleetsAdmin$.ts
|
|
857
891
|
import { Validate as Validate6 } from "@accelbyte/sdk";
|
|
858
|
-
import { z as
|
|
892
|
+
import { z as z41 } from "zod";
|
|
859
893
|
var FleetsAdmin$ = class {
|
|
860
894
|
// @ts-ignore
|
|
861
895
|
// prettier-ignore
|
|
@@ -867,8 +901,8 @@ var FleetsAdmin$ = class {
|
|
|
867
901
|
/**
|
|
868
902
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
869
903
|
*/
|
|
870
|
-
getFleets() {
|
|
871
|
-
const params = {};
|
|
904
|
+
getFleets(queryParams) {
|
|
905
|
+
const params = { count: 100, ...queryParams };
|
|
872
906
|
const url = "/ams/v1/admin/namespaces/{namespace}/fleets".replace("{namespace}", this.namespace);
|
|
873
907
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
874
908
|
return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetListResponse, "FleetListResponse");
|
|
@@ -889,7 +923,7 @@ var FleetsAdmin$ = class {
|
|
|
889
923
|
const params = {};
|
|
890
924
|
const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
|
|
891
925
|
const resultPromise = this.axiosInstance.delete(url, { params });
|
|
892
|
-
return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
926
|
+
return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z41.unknown(), "z.unknown()");
|
|
893
927
|
}
|
|
894
928
|
/**
|
|
895
929
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
@@ -907,7 +941,7 @@ var FleetsAdmin$ = class {
|
|
|
907
941
|
const params = {};
|
|
908
942
|
const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
|
|
909
943
|
const resultPromise = this.axiosInstance.put(url, data, { params });
|
|
910
|
-
return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
944
|
+
return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z41.unknown(), "z.unknown()");
|
|
911
945
|
}
|
|
912
946
|
/**
|
|
913
947
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
@@ -945,9 +979,9 @@ function FleetsAdminApi(sdk, args) {
|
|
|
945
979
|
}
|
|
946
980
|
}
|
|
947
981
|
}
|
|
948
|
-
async function getFleets() {
|
|
982
|
+
async function getFleets(queryParams) {
|
|
949
983
|
const $ = new FleetsAdmin$(axiosInstance, namespace, useSchemaValidation);
|
|
950
|
-
const resp = await $.getFleets();
|
|
984
|
+
const resp = await $.getFleets(queryParams);
|
|
951
985
|
if (resp.error) throw resp.error;
|
|
952
986
|
return resp.response;
|
|
953
987
|
}
|
|
@@ -1010,58 +1044,59 @@ function FleetsAdminApi(sdk, args) {
|
|
|
1010
1044
|
}
|
|
1011
1045
|
|
|
1012
1046
|
// src/generated-definitions/ReferencingFleet.ts
|
|
1013
|
-
import { z as
|
|
1014
|
-
var ReferencingFleet =
|
|
1047
|
+
import { z as z42 } from "zod";
|
|
1048
|
+
var ReferencingFleet = z42.object({ environment: z42.string(), fleetId: z42.string(), namespace: z42.string() });
|
|
1015
1049
|
|
|
1016
1050
|
// src/generated-definitions/ImageDetails.ts
|
|
1017
|
-
import { z as
|
|
1018
|
-
var ImageDetails =
|
|
1051
|
+
import { z as z43 } from "zod";
|
|
1052
|
+
var ImageDetails = z43.object({
|
|
1019
1053
|
createdAt: Time,
|
|
1020
1054
|
deleteAt: Time,
|
|
1021
|
-
executable:
|
|
1022
|
-
id:
|
|
1023
|
-
isProtected:
|
|
1024
|
-
name:
|
|
1025
|
-
referencingFleets:
|
|
1026
|
-
sizeInByte:
|
|
1027
|
-
status:
|
|
1028
|
-
tags:
|
|
1055
|
+
executable: z43.string(),
|
|
1056
|
+
id: z43.string(),
|
|
1057
|
+
isProtected: z43.boolean(),
|
|
1058
|
+
name: z43.string(),
|
|
1059
|
+
referencingFleets: z43.array(ReferencingFleet),
|
|
1060
|
+
sizeInByte: z43.number().int(),
|
|
1061
|
+
status: z43.string(),
|
|
1062
|
+
tags: z43.array(z43.string()),
|
|
1029
1063
|
uploadedAt: Time,
|
|
1030
|
-
uploadedBy:
|
|
1064
|
+
uploadedBy: z43.string()
|
|
1031
1065
|
});
|
|
1032
1066
|
|
|
1033
1067
|
// src/generated-definitions/ImageListItem.ts
|
|
1034
|
-
import { z as
|
|
1035
|
-
var ImageListItem =
|
|
1068
|
+
import { z as z44 } from "zod";
|
|
1069
|
+
var ImageListItem = z44.object({
|
|
1036
1070
|
createdAt: Time,
|
|
1037
1071
|
deleteAt: Time,
|
|
1038
|
-
executable:
|
|
1039
|
-
id:
|
|
1040
|
-
isProtected:
|
|
1041
|
-
name:
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1072
|
+
executable: z44.string(),
|
|
1073
|
+
id: z44.string(),
|
|
1074
|
+
isProtected: z44.boolean(),
|
|
1075
|
+
name: z44.string(),
|
|
1076
|
+
referencingConfigs: z44.number().int(),
|
|
1077
|
+
referencingFleets: z44.number().int(),
|
|
1078
|
+
sizeInByte: z44.number().int(),
|
|
1079
|
+
status: z44.string(),
|
|
1080
|
+
tags: z44.array(z44.string()),
|
|
1046
1081
|
uploadedAt: Time,
|
|
1047
|
-
uploadedBy:
|
|
1082
|
+
uploadedBy: z44.string()
|
|
1048
1083
|
});
|
|
1049
1084
|
|
|
1050
1085
|
// src/generated-definitions/ImageList.ts
|
|
1051
|
-
import { z as
|
|
1052
|
-
var ImageList =
|
|
1086
|
+
import { z as z45 } from "zod";
|
|
1087
|
+
var ImageList = z45.object({ images: z45.array(ImageListItem), paging: PagingInfo });
|
|
1053
1088
|
|
|
1054
1089
|
// src/generated-definitions/ImageStorage.ts
|
|
1055
|
-
import { z as
|
|
1056
|
-
var ImageStorage =
|
|
1057
|
-
currentMarkedForDeletionBytes:
|
|
1058
|
-
currentUsageBytes:
|
|
1059
|
-
quotaBytes:
|
|
1090
|
+
import { z as z46 } from "zod";
|
|
1091
|
+
var ImageStorage = z46.object({
|
|
1092
|
+
currentMarkedForDeletionBytes: z46.number().int(),
|
|
1093
|
+
currentUsageBytes: z46.number().int(),
|
|
1094
|
+
quotaBytes: z46.number().int()
|
|
1060
1095
|
});
|
|
1061
1096
|
|
|
1062
1097
|
// src/generated-admin/endpoints/ImagesAdmin$.ts
|
|
1063
1098
|
import { Validate as Validate7 } from "@accelbyte/sdk";
|
|
1064
|
-
import { z as
|
|
1099
|
+
import { z as z47 } from "zod";
|
|
1065
1100
|
var ImagesAdmin$ = class {
|
|
1066
1101
|
// @ts-ignore
|
|
1067
1102
|
// prettier-ignore
|
|
@@ -1073,8 +1108,8 @@ var ImagesAdmin$ = class {
|
|
|
1073
1108
|
/**
|
|
1074
1109
|
* Returns images which exist (uploaded, uploading, or building) in the linked account. This route fails if no account is linked Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
1075
1110
|
*/
|
|
1076
|
-
getImages() {
|
|
1077
|
-
const params = {};
|
|
1111
|
+
getImages(queryParams) {
|
|
1112
|
+
const params = { count: 100, sortBy: "uploadedAt", sortDirection: "desc", ...queryParams };
|
|
1078
1113
|
const url = "/ams/v1/admin/namespaces/{namespace}/images".replace("{namespace}", this.namespace);
|
|
1079
1114
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1080
1115
|
return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageList, "ImageList");
|
|
@@ -1095,7 +1130,7 @@ var ImagesAdmin$ = class {
|
|
|
1095
1130
|
const params = {};
|
|
1096
1131
|
const url = "/ams/v1/admin/namespaces/{namespace}/images/{imageID}".replace("{namespace}", this.namespace).replace("{imageID}", imageID);
|
|
1097
1132
|
const resultPromise = this.axiosInstance.delete(url, { params });
|
|
1098
|
-
return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
1133
|
+
return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z47.unknown(), "z.unknown()");
|
|
1099
1134
|
}
|
|
1100
1135
|
/**
|
|
1101
1136
|
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
@@ -1122,7 +1157,7 @@ var ImagesAdmin$ = class {
|
|
|
1122
1157
|
const params = {};
|
|
1123
1158
|
const url = "/ams/v1/admin/namespaces/{namespace}/images/{imageID}/restore".replace("{namespace}", this.namespace).replace("{imageID}", imageID);
|
|
1124
1159
|
const resultPromise = this.axiosInstance.post(url, null, { params });
|
|
1125
|
-
return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
1160
|
+
return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z47.unknown(), "z.unknown()");
|
|
1126
1161
|
}
|
|
1127
1162
|
};
|
|
1128
1163
|
|
|
@@ -1151,9 +1186,9 @@ function ImagesAdminApi(sdk, args) {
|
|
|
1151
1186
|
}
|
|
1152
1187
|
}
|
|
1153
1188
|
}
|
|
1154
|
-
async function getImages() {
|
|
1189
|
+
async function getImages(queryParams) {
|
|
1155
1190
|
const $ = new ImagesAdmin$(axiosInstance, namespace, useSchemaValidation);
|
|
1156
|
-
const resp = await $.getImages();
|
|
1191
|
+
const resp = await $.getImages(queryParams);
|
|
1157
1192
|
if (resp.error) throw resp.error;
|
|
1158
1193
|
return resp.response;
|
|
1159
1194
|
}
|
|
@@ -1216,46 +1251,46 @@ function ImagesAdminApi(sdk, args) {
|
|
|
1216
1251
|
}
|
|
1217
1252
|
|
|
1218
1253
|
// src/generated-definitions/DsHistoryEvent.ts
|
|
1219
|
-
import { z as
|
|
1220
|
-
var DsHistoryEvent =
|
|
1254
|
+
import { z as z48 } from "zod";
|
|
1255
|
+
var DsHistoryEvent = z48.object({
|
|
1221
1256
|
createdAt: Time,
|
|
1222
|
-
exitCode:
|
|
1223
|
-
ipAddress:
|
|
1224
|
-
reason:
|
|
1225
|
-
region:
|
|
1226
|
-
serverId:
|
|
1227
|
-
sessionId:
|
|
1228
|
-
status:
|
|
1257
|
+
exitCode: z48.number().int(),
|
|
1258
|
+
ipAddress: z48.string(),
|
|
1259
|
+
reason: z48.string(),
|
|
1260
|
+
region: z48.string(),
|
|
1261
|
+
serverId: z48.string(),
|
|
1262
|
+
sessionId: z48.string(),
|
|
1263
|
+
status: z48.string()
|
|
1229
1264
|
});
|
|
1230
1265
|
|
|
1231
1266
|
// src/generated-definitions/DsHistoryList.ts
|
|
1232
|
-
import { z as
|
|
1233
|
-
var DsHistoryList =
|
|
1267
|
+
import { z as z49 } from "zod";
|
|
1268
|
+
var DsHistoryList = z49.object({ events: z49.array(DsHistoryEvent), paging: PagingInfo });
|
|
1234
1269
|
|
|
1235
1270
|
// src/generated-definitions/FleetServerConnectionInfoResponse.ts
|
|
1236
|
-
import { z as
|
|
1237
|
-
var FleetServerConnectionInfoResponse =
|
|
1271
|
+
import { z as z50 } from "zod";
|
|
1272
|
+
var FleetServerConnectionInfoResponse = z50.object({
|
|
1238
1273
|
expiresAt: Time,
|
|
1239
|
-
host:
|
|
1240
|
-
logstreamPort:
|
|
1241
|
-
secret:
|
|
1274
|
+
host: z50.string(),
|
|
1275
|
+
logstreamPort: z50.number().int(),
|
|
1276
|
+
secret: z50.string()
|
|
1242
1277
|
});
|
|
1243
1278
|
|
|
1244
1279
|
// src/generated-definitions/FleetServerHistoryEventResponse.ts
|
|
1245
|
-
import { z as
|
|
1246
|
-
var FleetServerHistoryEventResponse =
|
|
1280
|
+
import { z as z51 } from "zod";
|
|
1281
|
+
var FleetServerHistoryEventResponse = z51.object({
|
|
1247
1282
|
createdAt: Time,
|
|
1248
|
-
exitCode:
|
|
1249
|
-
fleetId:
|
|
1250
|
-
newState:
|
|
1251
|
-
oldState:
|
|
1252
|
-
reason:
|
|
1253
|
-
serverId:
|
|
1283
|
+
exitCode: z51.number().int(),
|
|
1284
|
+
fleetId: z51.string(),
|
|
1285
|
+
newState: z51.string(),
|
|
1286
|
+
oldState: z51.string(),
|
|
1287
|
+
reason: z51.string(),
|
|
1288
|
+
serverId: z51.string()
|
|
1254
1289
|
});
|
|
1255
1290
|
|
|
1256
1291
|
// src/generated-definitions/FleetServerHistoryResponse.ts
|
|
1257
|
-
import { z as
|
|
1258
|
-
var FleetServerHistoryResponse =
|
|
1292
|
+
import { z as z52 } from "zod";
|
|
1293
|
+
var FleetServerHistoryResponse = z52.object({ events: z52.array(FleetServerHistoryEventResponse) });
|
|
1259
1294
|
|
|
1260
1295
|
// src/generated-admin/endpoints/ServersAdmin$.ts
|
|
1261
1296
|
import { Validate as Validate8 } from "@accelbyte/sdk";
|
|
@@ -1451,7 +1486,7 @@ function AccountApi(sdk, args) {
|
|
|
1451
1486
|
|
|
1452
1487
|
// src/generated-public/endpoints/AmsInfo$.ts
|
|
1453
1488
|
import { Validate as Validate10 } from "@accelbyte/sdk";
|
|
1454
|
-
import { z as
|
|
1489
|
+
import { z as z53 } from "zod";
|
|
1455
1490
|
var AmsInfo$ = class {
|
|
1456
1491
|
// @ts-ignore
|
|
1457
1492
|
// prettier-ignore
|
|
@@ -1464,7 +1499,7 @@ var AmsInfo$ = class {
|
|
|
1464
1499
|
const params = {};
|
|
1465
1500
|
const url = "/ams/v1/upload-url";
|
|
1466
1501
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1467
|
-
return Validate10.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
1502
|
+
return Validate10.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z53.unknown(), "z.unknown()");
|
|
1468
1503
|
}
|
|
1469
1504
|
};
|
|
1470
1505
|
|
|
@@ -1506,7 +1541,7 @@ function AmsInfoApi(sdk, args) {
|
|
|
1506
1541
|
|
|
1507
1542
|
// src/generated-public/endpoints/Auth$.ts
|
|
1508
1543
|
import { Validate as Validate11 } from "@accelbyte/sdk";
|
|
1509
|
-
import { z as
|
|
1544
|
+
import { z as z54 } from "zod";
|
|
1510
1545
|
var Auth$ = class {
|
|
1511
1546
|
// @ts-ignore
|
|
1512
1547
|
// prettier-ignore
|
|
@@ -1522,7 +1557,7 @@ var Auth$ = class {
|
|
|
1522
1557
|
const params = {};
|
|
1523
1558
|
const url = "/ams/auth";
|
|
1524
1559
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1525
|
-
return Validate11.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
1560
|
+
return Validate11.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z54.unknown(), "z.unknown()");
|
|
1526
1561
|
}
|
|
1527
1562
|
};
|
|
1528
1563
|
|
|
@@ -1567,7 +1602,7 @@ function AuthApi(sdk, args) {
|
|
|
1567
1602
|
|
|
1568
1603
|
// src/generated-public/endpoints/FleetCommander$.ts
|
|
1569
1604
|
import { Validate as Validate12 } from "@accelbyte/sdk";
|
|
1570
|
-
import { z as
|
|
1605
|
+
import { z as z55 } from "zod";
|
|
1571
1606
|
var FleetCommander$ = class {
|
|
1572
1607
|
// @ts-ignore
|
|
1573
1608
|
// prettier-ignore
|
|
@@ -1580,7 +1615,7 @@ var FleetCommander$ = class {
|
|
|
1580
1615
|
const params = {};
|
|
1581
1616
|
const url = "/ams/version";
|
|
1582
1617
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1583
|
-
return Validate12.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
1618
|
+
return Validate12.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z55.unknown(), "z.unknown()");
|
|
1584
1619
|
}
|
|
1585
1620
|
};
|
|
1586
1621
|
|
|
@@ -1621,8 +1656,8 @@ function FleetCommanderApi(sdk, args) {
|
|
|
1621
1656
|
}
|
|
1622
1657
|
|
|
1623
1658
|
// src/generated-definitions/FleetClaimResponse.ts
|
|
1624
|
-
import { z as
|
|
1625
|
-
var FleetClaimResponse =
|
|
1659
|
+
import { z as z56 } from "zod";
|
|
1660
|
+
var FleetClaimResponse = z56.object({ ip: z56.string(), ports: z56.record(z56.number().int()), region: z56.string(), serverId: z56.string() });
|
|
1626
1661
|
|
|
1627
1662
|
// src/generated-public/endpoints/Fleets$.ts
|
|
1628
1663
|
import { Validate as Validate13 } from "@accelbyte/sdk";
|
|
@@ -1705,7 +1740,7 @@ function FleetsApi(sdk, args) {
|
|
|
1705
1740
|
|
|
1706
1741
|
// src/generated-public/endpoints/Watchdogs$.ts
|
|
1707
1742
|
import { Validate as Validate14 } from "@accelbyte/sdk";
|
|
1708
|
-
import { z as
|
|
1743
|
+
import { z as z57 } from "zod";
|
|
1709
1744
|
var Watchdogs$ = class {
|
|
1710
1745
|
// @ts-ignore
|
|
1711
1746
|
// prettier-ignore
|
|
@@ -1721,7 +1756,7 @@ var Watchdogs$ = class {
|
|
|
1721
1756
|
const params = {};
|
|
1722
1757
|
const url = "/ams/v1/namespaces/{namespace}/local/{watchdogID}/connect".replace("{namespace}", this.namespace).replace("{watchdogID}", watchdogID);
|
|
1723
1758
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1724
|
-
return Validate14.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
1759
|
+
return Validate14.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z57.unknown(), "z.unknown()");
|
|
1725
1760
|
}
|
|
1726
1761
|
/**
|
|
1727
1762
|
* Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
|
|
@@ -1730,7 +1765,7 @@ var Watchdogs$ = class {
|
|
|
1730
1765
|
const params = {};
|
|
1731
1766
|
const url = "/ams/v1/namespaces/{namespace}/watchdogs/{watchdogID}/connect".replace("{namespace}", this.namespace).replace("{watchdogID}", watchdogID);
|
|
1732
1767
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1733
|
-
return Validate14.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise,
|
|
1768
|
+
return Validate14.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z57.unknown(), "z.unknown()");
|
|
1734
1769
|
}
|
|
1735
1770
|
};
|
|
1736
1771
|
|
|
@@ -1792,8 +1827,9 @@ export {
|
|
|
1792
1827
|
AccountAdmin$,
|
|
1793
1828
|
AccountAdminApi,
|
|
1794
1829
|
AmsRegionsResponse,
|
|
1795
|
-
|
|
1796
|
-
|
|
1830
|
+
Capacity,
|
|
1831
|
+
InstanceTypeForNamespaceResponse,
|
|
1832
|
+
InstanceTypesForNamespaceResponse,
|
|
1797
1833
|
AmsInfoAdmin$,
|
|
1798
1834
|
AmsInfoAdminApi,
|
|
1799
1835
|
Time,
|
|
@@ -1807,6 +1843,7 @@ export {
|
|
|
1807
1843
|
ArtifactUsageResponse,
|
|
1808
1844
|
ArtifactSamplingRule,
|
|
1809
1845
|
ArtifactTypeSamplingRules,
|
|
1846
|
+
CoredumpSamplingRules,
|
|
1810
1847
|
FleetArtifactsSampleRules,
|
|
1811
1848
|
ArtifactsAdmin$,
|
|
1812
1849
|
ArtifactsAdminApi,
|
|
@@ -1824,6 +1861,7 @@ export {
|
|
|
1824
1861
|
FleetGetResponse,
|
|
1825
1862
|
FleetRegionalServerCounts,
|
|
1826
1863
|
FleetListItemResponse,
|
|
1864
|
+
PaginationInfo,
|
|
1827
1865
|
FleetListResponse,
|
|
1828
1866
|
FleetServerInfoResponse,
|
|
1829
1867
|
PagingInfo,
|