@accelbyte/sdk-ams 0.0.0-dev-20240828055251 → 0.0.0-dev-20240904033042
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-DIDPJOnU.d.cts → FleetClaimResponse-CS_GmAA_.d.cts} +77 -77
- package/dist/{FleetClaimResponse-DIDPJOnU.d.ts → FleetClaimResponse-CS_GmAA_.d.ts} +77 -77
- package/dist/all-query-imports.cjs +211 -93
- package/dist/all-query-imports.d.cts +458 -2
- package/dist/all-query-imports.d.ts +458 -2
- package/dist/all-query-imports.js +102 -34
- package/dist/{chunk-DMVQYRRS.js → chunk-TMBQO77A.js} +116 -66
- package/dist/index.cjs +116 -66
- package/dist/index.d.cts +32 -22
- package/dist/index.d.ts +32 -22
- package/dist/index.js +1 -1
- package/package.json +32 -8
package/dist/index.cjs
CHANGED
|
@@ -153,7 +153,7 @@ var AccountAdmin$ = class {
|
|
|
153
153
|
this.useSchemaValidation = useSchemaValidation;
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
|
|
156
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
|
|
157
157
|
*/
|
|
158
158
|
getAccount() {
|
|
159
159
|
const params = {};
|
|
@@ -162,7 +162,7 @@ var AccountAdmin$ = class {
|
|
|
162
162
|
return import_sdk.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountResponse, "AccountResponse");
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
165
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
166
166
|
*/
|
|
167
167
|
createAccount(data) {
|
|
168
168
|
const params = {};
|
|
@@ -171,16 +171,21 @@ var AccountAdmin$ = class {
|
|
|
171
171
|
return import_sdk.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountCreateResponse, "AccountCreateResponse");
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
174
|
-
* The link token returned can be used to connect another namespace to the account in which the provided namespace is linked. This route fails if there is no account linked to the specified namespace. Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
|
|
174
|
+
* The link token returned can be used to connect another namespace to the account in which the provided namespace is linked. This route fails if there is no account linked to the specified namespace. Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
|
|
175
175
|
*/
|
|
176
176
|
getAccountLink() {
|
|
177
177
|
const params = {};
|
|
178
178
|
const url = "/ams/v1/admin/namespaces/{namespace}/account/link".replace("{namespace}", this.namespace);
|
|
179
179
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
180
|
-
return import_sdk.Validate.validateOrReturnResponse(
|
|
180
|
+
return import_sdk.Validate.validateOrReturnResponse(
|
|
181
|
+
this.useSchemaValidation,
|
|
182
|
+
() => resultPromise,
|
|
183
|
+
AccountLinkTokenResponse,
|
|
184
|
+
"AccountLinkTokenResponse"
|
|
185
|
+
);
|
|
181
186
|
}
|
|
182
187
|
/**
|
|
183
|
-
* 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 AdminAccountLink Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
188
|
+
* 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 AdminAccountLink Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
184
189
|
*/
|
|
185
190
|
createAccountLink(data) {
|
|
186
191
|
const params = {};
|
|
@@ -194,7 +199,7 @@ var AccountAdmin$ = class {
|
|
|
194
199
|
function AccountAdminApi(sdk, args) {
|
|
195
200
|
const sdkAssembly = sdk.assembly();
|
|
196
201
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
197
|
-
const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
202
|
+
const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
198
203
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
199
204
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
200
205
|
const axiosInstance = import_sdk2.Network.create(requestConfig);
|
|
@@ -275,7 +280,7 @@ var AmsInfoAdmin$ = class {
|
|
|
275
280
|
this.useSchemaValidation = useSchemaValidation;
|
|
276
281
|
}
|
|
277
282
|
/**
|
|
278
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
283
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
279
284
|
*/
|
|
280
285
|
getRegions() {
|
|
281
286
|
const params = {};
|
|
@@ -284,13 +289,18 @@ var AmsInfoAdmin$ = class {
|
|
|
284
289
|
return import_sdk3.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AmsRegionsResponse, "AmsRegionsResponse");
|
|
285
290
|
}
|
|
286
291
|
/**
|
|
287
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
292
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
288
293
|
*/
|
|
289
294
|
getSupportedInstances() {
|
|
290
295
|
const params = {};
|
|
291
296
|
const url = "/ams/v1/admin/namespaces/{namespace}/supported-instances".replace("{namespace}", this.namespace);
|
|
292
297
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
293
|
-
return import_sdk3.Validate.validateOrReturnResponse(
|
|
298
|
+
return import_sdk3.Validate.validateOrReturnResponse(
|
|
299
|
+
this.useSchemaValidation,
|
|
300
|
+
() => resultPromise,
|
|
301
|
+
AvailableInstanceTypesResponse,
|
|
302
|
+
"AvailableInstanceTypesResponse"
|
|
303
|
+
);
|
|
294
304
|
}
|
|
295
305
|
};
|
|
296
306
|
|
|
@@ -298,7 +308,7 @@ var AmsInfoAdmin$ = class {
|
|
|
298
308
|
function AmsInfoAdminApi(sdk, args) {
|
|
299
309
|
const sdkAssembly = sdk.assembly();
|
|
300
310
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
301
|
-
const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
311
|
+
const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
302
312
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
303
313
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
304
314
|
const axiosInstance = import_sdk4.Network.create(requestConfig);
|
|
@@ -368,7 +378,7 @@ var AmsQoSAdmin$ = class {
|
|
|
368
378
|
this.useSchemaValidation = useSchemaValidation;
|
|
369
379
|
}
|
|
370
380
|
/**
|
|
371
|
-
* ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [READ] This endpoint lists all QoS services available in all regions. This endpoint is intended to be called by game client to find out all available regions. After getting a list of QoS on each region, game client is expected to ping each one with UDP connection as described below: 1. Make UDP connection to each QoS's IP:Port 2. Send string "PING" after connection established 3. Wait for string "PONG" response 4. Note the request-response latency for each QoS in each region The game then can use ping latency information to either: 1. Inform the player on these latencies and let player choose preferred region 2. Send the latency list to Matchmaking Service so that player can be matched with other players in nearby regions
|
|
381
|
+
* ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [READ] This endpoint lists all QoS services available in all regions. This endpoint is intended to be called by game client to find out all available regions. After getting a list of QoS on each region, game client is expected to ping each one with UDP connection as described below: 1. Make UDP connection to each QoS's IP:Port 2. Send string "PING" after connection established 3. Wait for string "PONG" response 4. Note the request-response latency for each QoS in each region The game then can use ping latency information to either: 1. Inform the player on these latencies and let player choose preferred region 2. Send the latency list to Matchmaking Service so that player can be matched with other players in nearby regions
|
|
372
382
|
*/
|
|
373
383
|
getQos(queryParams) {
|
|
374
384
|
const params = { ...queryParams };
|
|
@@ -377,7 +387,7 @@ var AmsQoSAdmin$ = class {
|
|
|
377
387
|
return import_sdk5.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, QoSEndpointResponse, "QoSEndpointResponse");
|
|
378
388
|
}
|
|
379
389
|
/**
|
|
380
|
-
* ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
|
|
390
|
+
* ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
|
|
381
391
|
*/
|
|
382
392
|
patchQo_ByRegion(region, data) {
|
|
383
393
|
const params = {};
|
|
@@ -391,7 +401,7 @@ var AmsQoSAdmin$ = class {
|
|
|
391
401
|
function AmsQoSAdminApi(sdk, args) {
|
|
392
402
|
const sdkAssembly = sdk.assembly();
|
|
393
403
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
394
|
-
const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
404
|
+
const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
395
405
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
396
406
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
397
407
|
const axiosInstance = import_sdk6.Network.create(requestConfig);
|
|
@@ -489,7 +499,7 @@ var ArtifactsAdmin$ = class {
|
|
|
489
499
|
this.useSchemaValidation = useSchemaValidation;
|
|
490
500
|
}
|
|
491
501
|
/**
|
|
492
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
|
|
502
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
|
|
493
503
|
*/
|
|
494
504
|
deleteArtifact(queryParams) {
|
|
495
505
|
const params = { ...queryParams };
|
|
@@ -498,7 +508,7 @@ var ArtifactsAdmin$ = class {
|
|
|
498
508
|
return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod20.z.unknown(), "z.unknown()");
|
|
499
509
|
}
|
|
500
510
|
/**
|
|
501
|
-
* 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]
|
|
511
|
+
* 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]
|
|
502
512
|
*/
|
|
503
513
|
getArtifacts(queryParams) {
|
|
504
514
|
const params = { count: 100, ...queryParams };
|
|
@@ -507,7 +517,7 @@ var ArtifactsAdmin$ = class {
|
|
|
507
517
|
return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactListResponse, "ArtifactListResponse");
|
|
508
518
|
}
|
|
509
519
|
/**
|
|
510
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
520
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
511
521
|
*/
|
|
512
522
|
getArtifactsUsage() {
|
|
513
523
|
const params = {};
|
|
@@ -516,7 +526,7 @@ var ArtifactsAdmin$ = class {
|
|
|
516
526
|
return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactUsageResponse, "ArtifactUsageResponse");
|
|
517
527
|
}
|
|
518
528
|
/**
|
|
519
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
|
|
529
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
|
|
520
530
|
*/
|
|
521
531
|
deleteArtifact_ByArtifactId(artifactID) {
|
|
522
532
|
const params = {};
|
|
@@ -525,7 +535,7 @@ var ArtifactsAdmin$ = class {
|
|
|
525
535
|
return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod20.z.unknown(), "z.unknown()");
|
|
526
536
|
}
|
|
527
537
|
/**
|
|
528
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
538
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
529
539
|
*/
|
|
530
540
|
getUrl_ByArtifactId(artifactID) {
|
|
531
541
|
const params = {};
|
|
@@ -534,22 +544,32 @@ var ArtifactsAdmin$ = class {
|
|
|
534
544
|
return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactUrlResponse, "ArtifactUrlResponse");
|
|
535
545
|
}
|
|
536
546
|
/**
|
|
537
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
547
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
538
548
|
*/
|
|
539
549
|
getArtifactsSamplingRules_ByFleetId(fleetID) {
|
|
540
550
|
const params = {};
|
|
541
551
|
const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/artifacts-sampling-rules".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
|
|
542
552
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
543
|
-
return import_sdk7.Validate.validateOrReturnResponse(
|
|
553
|
+
return import_sdk7.Validate.validateOrReturnResponse(
|
|
554
|
+
this.useSchemaValidation,
|
|
555
|
+
() => resultPromise,
|
|
556
|
+
FleetArtifactsSampleRules,
|
|
557
|
+
"FleetArtifactsSampleRules"
|
|
558
|
+
);
|
|
544
559
|
}
|
|
545
560
|
/**
|
|
546
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
|
|
561
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
|
|
547
562
|
*/
|
|
548
563
|
updateArtifactsSamplingRule_ByFleetId(fleetID, data) {
|
|
549
564
|
const params = {};
|
|
550
565
|
const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/artifacts-sampling-rules".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
|
|
551
566
|
const resultPromise = this.axiosInstance.put(url, data, { params });
|
|
552
|
-
return import_sdk7.Validate.validateOrReturnResponse(
|
|
567
|
+
return import_sdk7.Validate.validateOrReturnResponse(
|
|
568
|
+
this.useSchemaValidation,
|
|
569
|
+
() => resultPromise,
|
|
570
|
+
FleetArtifactsSampleRules,
|
|
571
|
+
"FleetArtifactsSampleRules"
|
|
572
|
+
);
|
|
553
573
|
}
|
|
554
574
|
};
|
|
555
575
|
|
|
@@ -557,7 +577,7 @@ var ArtifactsAdmin$ = class {
|
|
|
557
577
|
function ArtifactsAdminApi(sdk, args) {
|
|
558
578
|
const sdkAssembly = sdk.assembly();
|
|
559
579
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
560
|
-
const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
580
|
+
const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
561
581
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
562
582
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
563
583
|
const axiosInstance = import_sdk8.Network.create(requestConfig);
|
|
@@ -658,25 +678,35 @@ var DevelopmentAdmin$ = class {
|
|
|
658
678
|
this.useSchemaValidation = useSchemaValidation;
|
|
659
679
|
}
|
|
660
680
|
/**
|
|
661
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
681
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
662
682
|
*/
|
|
663
683
|
getDevelopmentServerConfigurations(queryParams) {
|
|
664
684
|
const params = { count: 100, ...queryParams };
|
|
665
685
|
const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations".replace("{namespace}", this.namespace);
|
|
666
686
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
667
|
-
return import_sdk9.Validate.validateOrReturnResponse(
|
|
687
|
+
return import_sdk9.Validate.validateOrReturnResponse(
|
|
688
|
+
this.useSchemaValidation,
|
|
689
|
+
() => resultPromise,
|
|
690
|
+
DevelopmentServerConfigurationListResponse,
|
|
691
|
+
"DevelopmentServerConfigurationListResponse"
|
|
692
|
+
);
|
|
668
693
|
}
|
|
669
694
|
/**
|
|
670
|
-
* Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
695
|
+
* Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
671
696
|
*/
|
|
672
697
|
createDevelopmentServerConfiguration(data) {
|
|
673
698
|
const params = {};
|
|
674
699
|
const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations".replace("{namespace}", this.namespace);
|
|
675
700
|
const resultPromise = this.axiosInstance.post(url, data, { params });
|
|
676
|
-
return import_sdk9.Validate.validateOrReturnResponse(
|
|
701
|
+
return import_sdk9.Validate.validateOrReturnResponse(
|
|
702
|
+
this.useSchemaValidation,
|
|
703
|
+
() => resultPromise,
|
|
704
|
+
DevelopmentServerConfigurationCreateResponse,
|
|
705
|
+
"DevelopmentServerConfigurationCreateResponse"
|
|
706
|
+
);
|
|
677
707
|
}
|
|
678
708
|
/**
|
|
679
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
|
|
709
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
|
|
680
710
|
*/
|
|
681
711
|
deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID) {
|
|
682
712
|
const params = {};
|
|
@@ -685,13 +715,18 @@ var DevelopmentAdmin$ = class {
|
|
|
685
715
|
return import_sdk9.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod24.z.unknown(), "z.unknown()");
|
|
686
716
|
}
|
|
687
717
|
/**
|
|
688
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
718
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
689
719
|
*/
|
|
690
720
|
getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID) {
|
|
691
721
|
const params = {};
|
|
692
722
|
const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations/{developmentServerConfigID}".replace("{namespace}", this.namespace).replace("{developmentServerConfigID}", developmentServerConfigID);
|
|
693
723
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
694
|
-
return import_sdk9.Validate.validateOrReturnResponse(
|
|
724
|
+
return import_sdk9.Validate.validateOrReturnResponse(
|
|
725
|
+
this.useSchemaValidation,
|
|
726
|
+
() => resultPromise,
|
|
727
|
+
DevelopmentServerConfigurationGetResponse,
|
|
728
|
+
"DevelopmentServerConfigurationGetResponse"
|
|
729
|
+
);
|
|
695
730
|
}
|
|
696
731
|
};
|
|
697
732
|
|
|
@@ -699,7 +734,7 @@ var DevelopmentAdmin$ = class {
|
|
|
699
734
|
function DevelopmentAdminApi(sdk, args) {
|
|
700
735
|
const sdkAssembly = sdk.assembly();
|
|
701
736
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
702
|
-
const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
737
|
+
const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
703
738
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
704
739
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
705
740
|
const axiosInstance = import_sdk10.Network.create(requestConfig);
|
|
@@ -893,7 +928,7 @@ var FleetsAdmin$ = class {
|
|
|
893
928
|
this.useSchemaValidation = useSchemaValidation;
|
|
894
929
|
}
|
|
895
930
|
/**
|
|
896
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
931
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
897
932
|
*/
|
|
898
933
|
getFleets() {
|
|
899
934
|
const params = {};
|
|
@@ -902,7 +937,7 @@ var FleetsAdmin$ = class {
|
|
|
902
937
|
return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetListResponse, "FleetListResponse");
|
|
903
938
|
}
|
|
904
939
|
/**
|
|
905
|
-
* Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
940
|
+
* Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
906
941
|
*/
|
|
907
942
|
createFleet(data) {
|
|
908
943
|
const params = {};
|
|
@@ -911,7 +946,7 @@ var FleetsAdmin$ = class {
|
|
|
911
946
|
return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetCreateResponse, "FleetCreateResponse");
|
|
912
947
|
}
|
|
913
948
|
/**
|
|
914
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
|
|
949
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
|
|
915
950
|
*/
|
|
916
951
|
deleteFleet_ByFleetId(fleetID) {
|
|
917
952
|
const params = {};
|
|
@@ -920,7 +955,7 @@ var FleetsAdmin$ = class {
|
|
|
920
955
|
return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod38.z.unknown(), "z.unknown()");
|
|
921
956
|
}
|
|
922
957
|
/**
|
|
923
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
958
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
924
959
|
*/
|
|
925
960
|
getFleet_ByFleetId(fleetID) {
|
|
926
961
|
const params = {};
|
|
@@ -929,7 +964,7 @@ var FleetsAdmin$ = class {
|
|
|
929
964
|
return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetGetResponse, "FleetGetResponse");
|
|
930
965
|
}
|
|
931
966
|
/**
|
|
932
|
-
* Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
|
|
967
|
+
* Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
|
|
933
968
|
*/
|
|
934
969
|
updateFleet_ByFleetId(fleetID, data) {
|
|
935
970
|
const params = {};
|
|
@@ -938,10 +973,10 @@ var FleetsAdmin$ = class {
|
|
|
938
973
|
return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod38.z.unknown(), "z.unknown()");
|
|
939
974
|
}
|
|
940
975
|
/**
|
|
941
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
976
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
942
977
|
*/
|
|
943
978
|
getServers_ByFleetId(fleetID, queryParams) {
|
|
944
|
-
const params = { ...queryParams };
|
|
979
|
+
const params = { count: 1e4, sortBy: "created_at", sortDirection: "desc", ...queryParams };
|
|
945
980
|
const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/servers".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
|
|
946
981
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
947
982
|
return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServersResponse, "FleetServersResponse");
|
|
@@ -952,7 +987,7 @@ var FleetsAdmin$ = class {
|
|
|
952
987
|
function FleetsAdminApi(sdk, args) {
|
|
953
988
|
const sdkAssembly = sdk.assembly();
|
|
954
989
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
955
|
-
const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
990
|
+
const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
956
991
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
957
992
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
958
993
|
const axiosInstance = import_sdk12.Network.create(requestConfig);
|
|
@@ -1081,7 +1116,7 @@ var ImagesAdmin$ = class {
|
|
|
1081
1116
|
this.useSchemaValidation = useSchemaValidation;
|
|
1082
1117
|
}
|
|
1083
1118
|
/**
|
|
1084
|
-
* 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]
|
|
1119
|
+
* 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]
|
|
1085
1120
|
*/
|
|
1086
1121
|
getImages() {
|
|
1087
1122
|
const params = {};
|
|
@@ -1090,7 +1125,7 @@ var ImagesAdmin$ = class {
|
|
|
1090
1125
|
return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageList, "ImageList");
|
|
1091
1126
|
}
|
|
1092
1127
|
/**
|
|
1093
|
-
* Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
1128
|
+
* Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
1094
1129
|
*/
|
|
1095
1130
|
getImagesStorage() {
|
|
1096
1131
|
const params = {};
|
|
@@ -1099,7 +1134,7 @@ var ImagesAdmin$ = class {
|
|
|
1099
1134
|
return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageStorage, "ImageStorage");
|
|
1100
1135
|
}
|
|
1101
1136
|
/**
|
|
1102
|
-
* Marks an image for deletion. The image will stop being available for fleets and will eventually be deleted. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
|
|
1137
|
+
* Marks an image for deletion. The image will stop being available for fleets and will eventually be deleted. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
|
|
1103
1138
|
*/
|
|
1104
1139
|
deleteImage_ByImageId(imageID) {
|
|
1105
1140
|
const params = {};
|
|
@@ -1108,7 +1143,7 @@ var ImagesAdmin$ = class {
|
|
|
1108
1143
|
return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod44.z.unknown(), "z.unknown()");
|
|
1109
1144
|
}
|
|
1110
1145
|
/**
|
|
1111
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
1146
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
1112
1147
|
*/
|
|
1113
1148
|
getImage_ByImageId(imageID) {
|
|
1114
1149
|
const params = {};
|
|
@@ -1117,7 +1152,7 @@ var ImagesAdmin$ = class {
|
|
|
1117
1152
|
return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageDetails, "ImageDetails");
|
|
1118
1153
|
}
|
|
1119
1154
|
/**
|
|
1120
|
-
* This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
|
|
1155
|
+
* This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
|
|
1121
1156
|
*/
|
|
1122
1157
|
patchImage_ByImageId(imageID, data) {
|
|
1123
1158
|
const params = {};
|
|
@@ -1126,7 +1161,7 @@ var ImagesAdmin$ = class {
|
|
|
1126
1161
|
return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageDetails, "ImageDetails");
|
|
1127
1162
|
}
|
|
1128
1163
|
/**
|
|
1129
|
-
* Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
|
|
1164
|
+
* Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
|
|
1130
1165
|
*/
|
|
1131
1166
|
createRestore_ByImageId(imageID) {
|
|
1132
1167
|
const params = {};
|
|
@@ -1140,7 +1175,7 @@ var ImagesAdmin$ = class {
|
|
|
1140
1175
|
function ImagesAdminApi(sdk, args) {
|
|
1141
1176
|
const sdkAssembly = sdk.assembly();
|
|
1142
1177
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1143
|
-
const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1178
|
+
const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1144
1179
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1145
1180
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1146
1181
|
const axiosInstance = import_sdk14.Network.create(requestConfig);
|
|
@@ -1259,25 +1294,35 @@ var ServersAdmin$ = class {
|
|
|
1259
1294
|
this.useSchemaValidation = useSchemaValidation;
|
|
1260
1295
|
}
|
|
1261
1296
|
/**
|
|
1262
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1297
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1263
1298
|
*/
|
|
1264
1299
|
getServer_ByServerId(serverID) {
|
|
1265
1300
|
const params = {};
|
|
1266
1301
|
const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
|
|
1267
1302
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1268
|
-
return import_sdk15.Validate.validateOrReturnResponse(
|
|
1303
|
+
return import_sdk15.Validate.validateOrReturnResponse(
|
|
1304
|
+
this.useSchemaValidation,
|
|
1305
|
+
() => resultPromise,
|
|
1306
|
+
FleetServerInfoResponse,
|
|
1307
|
+
"FleetServerInfoResponse"
|
|
1308
|
+
);
|
|
1269
1309
|
}
|
|
1270
1310
|
/**
|
|
1271
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1311
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1272
1312
|
*/
|
|
1273
1313
|
getHistory_ByServerId(serverID) {
|
|
1274
1314
|
const params = {};
|
|
1275
1315
|
const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/history".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
|
|
1276
1316
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1277
|
-
return import_sdk15.Validate.validateOrReturnResponse(
|
|
1317
|
+
return import_sdk15.Validate.validateOrReturnResponse(
|
|
1318
|
+
this.useSchemaValidation,
|
|
1319
|
+
() => resultPromise,
|
|
1320
|
+
FleetServerHistoryResponse,
|
|
1321
|
+
"FleetServerHistoryResponse"
|
|
1322
|
+
);
|
|
1278
1323
|
}
|
|
1279
1324
|
/**
|
|
1280
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1325
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1281
1326
|
*/
|
|
1282
1327
|
getServersHistory_ByFleetId(fleetID, queryParams) {
|
|
1283
1328
|
const params = { ...queryParams };
|
|
@@ -1286,13 +1331,18 @@ var ServersAdmin$ = class {
|
|
|
1286
1331
|
return import_sdk15.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DsHistoryList, "DsHistoryList");
|
|
1287
1332
|
}
|
|
1288
1333
|
/**
|
|
1289
|
-
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
|
|
1334
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
|
|
1290
1335
|
*/
|
|
1291
1336
|
getConnectioninfo_ByServerId(serverID) {
|
|
1292
1337
|
const params = {};
|
|
1293
1338
|
const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/connectioninfo".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
|
|
1294
1339
|
const resultPromise = this.axiosInstance.get(url, { params });
|
|
1295
|
-
return import_sdk15.Validate.validateOrReturnResponse(
|
|
1340
|
+
return import_sdk15.Validate.validateOrReturnResponse(
|
|
1341
|
+
this.useSchemaValidation,
|
|
1342
|
+
() => resultPromise,
|
|
1343
|
+
FleetServerConnectionInfoResponse,
|
|
1344
|
+
"FleetServerConnectionInfoResponse"
|
|
1345
|
+
);
|
|
1296
1346
|
}
|
|
1297
1347
|
};
|
|
1298
1348
|
|
|
@@ -1300,7 +1350,7 @@ var ServersAdmin$ = class {
|
|
|
1300
1350
|
function ServersAdminApi(sdk, args) {
|
|
1301
1351
|
const sdkAssembly = sdk.assembly();
|
|
1302
1352
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1303
|
-
const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1353
|
+
const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1304
1354
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1305
1355
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1306
1356
|
const axiosInstance = import_sdk16.Network.create(requestConfig);
|
|
@@ -1358,7 +1408,7 @@ var Account$ = class {
|
|
|
1358
1408
|
this.useSchemaValidation = useSchemaValidation;
|
|
1359
1409
|
}
|
|
1360
1410
|
/**
|
|
1361
|
-
* Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
|
|
1411
|
+
* Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
|
|
1362
1412
|
*/
|
|
1363
1413
|
getAccount() {
|
|
1364
1414
|
const params = {};
|
|
@@ -1372,7 +1422,7 @@ var Account$ = class {
|
|
|
1372
1422
|
function AccountApi(sdk, args) {
|
|
1373
1423
|
const sdkAssembly = sdk.assembly();
|
|
1374
1424
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1375
|
-
const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1425
|
+
const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1376
1426
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1377
1427
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1378
1428
|
const axiosInstance = import_sdk18.Network.create(requestConfig);
|
|
@@ -1421,7 +1471,7 @@ var AmsInfo$ = class {
|
|
|
1421
1471
|
function AmsInfoApi(sdk, args) {
|
|
1422
1472
|
const sdkAssembly = sdk.assembly();
|
|
1423
1473
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1424
|
-
const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1474
|
+
const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1425
1475
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1426
1476
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1427
1477
|
const axiosInstance = import_sdk20.Network.create(requestConfig);
|
|
@@ -1459,7 +1509,7 @@ var Auth$ = class {
|
|
|
1459
1509
|
this.useSchemaValidation = useSchemaValidation;
|
|
1460
1510
|
}
|
|
1461
1511
|
/**
|
|
1462
|
-
* Check if fleet commander is authorized to talk to AMS with this IAM
|
|
1512
|
+
* Check if fleet commander is authorized to talk to AMS with this IAM
|
|
1463
1513
|
*/
|
|
1464
1514
|
getAuth() {
|
|
1465
1515
|
const params = {};
|
|
@@ -1473,7 +1523,7 @@ var Auth$ = class {
|
|
|
1473
1523
|
function AuthApi(sdk, args) {
|
|
1474
1524
|
const sdkAssembly = sdk.assembly();
|
|
1475
1525
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1476
|
-
const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1526
|
+
const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1477
1527
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1478
1528
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1479
1529
|
const axiosInstance = import_sdk22.Network.create(requestConfig);
|
|
@@ -1522,7 +1572,7 @@ var FleetCommander$ = class {
|
|
|
1522
1572
|
function FleetCommanderApi(sdk, args) {
|
|
1523
1573
|
const sdkAssembly = sdk.assembly();
|
|
1524
1574
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1525
|
-
const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1575
|
+
const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1526
1576
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1527
1577
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1528
1578
|
const axiosInstance = import_sdk24.Network.create(requestConfig);
|
|
@@ -1565,7 +1615,7 @@ var Fleets$ = class {
|
|
|
1565
1615
|
this.useSchemaValidation = useSchemaValidation;
|
|
1566
1616
|
}
|
|
1567
1617
|
/**
|
|
1568
|
-
* Claim a dedicated server from fleets with matching claim keys Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
|
|
1618
|
+
* Claim a dedicated server from fleets with matching claim keys. If the claim key is for a regular fleet (non development), the request will instantly fail if there are no DS available (HTTP 404). If the claim key is for a development fleet and there are no DS available, a new DS will be launched and the request might take up to 8 seconds to return (depending on the environment configuration). If it's not ready after that duration the request will still return HTTP 404. In either case, the call to this endpoint may be retried at any time to check if a DS has become available. Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
|
|
1569
1619
|
*/
|
|
1570
1620
|
updateServerClaim(data) {
|
|
1571
1621
|
const params = {};
|
|
@@ -1574,7 +1624,7 @@ var Fleets$ = class {
|
|
|
1574
1624
|
return import_sdk25.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetClaimResponse, "FleetClaimResponse");
|
|
1575
1625
|
}
|
|
1576
1626
|
/**
|
|
1577
|
-
* Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
|
|
1627
|
+
* Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
|
|
1578
1628
|
*/
|
|
1579
1629
|
updateClaim_ByFleetId(fleetID, data) {
|
|
1580
1630
|
const params = {};
|
|
@@ -1588,7 +1638,7 @@ var Fleets$ = class {
|
|
|
1588
1638
|
function FleetsApi(sdk, args) {
|
|
1589
1639
|
const sdkAssembly = sdk.assembly();
|
|
1590
1640
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1591
|
-
const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1641
|
+
const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1592
1642
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1593
1643
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1594
1644
|
const axiosInstance = import_sdk26.Network.create(requestConfig);
|
|
@@ -1633,7 +1683,7 @@ var Watchdogs$ = class {
|
|
|
1633
1683
|
this.useSchemaValidation = useSchemaValidation;
|
|
1634
1684
|
}
|
|
1635
1685
|
/**
|
|
1636
|
-
* This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
|
|
1686
|
+
* This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
|
|
1637
1687
|
*/
|
|
1638
1688
|
getConnect_ByWatchdogId(watchdogID) {
|
|
1639
1689
|
const params = {};
|
|
@@ -1642,7 +1692,7 @@ var Watchdogs$ = class {
|
|
|
1642
1692
|
return import_sdk27.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod54.z.unknown(), "z.unknown()");
|
|
1643
1693
|
}
|
|
1644
1694
|
/**
|
|
1645
|
-
* Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
|
|
1695
|
+
* Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
|
|
1646
1696
|
*/
|
|
1647
1697
|
getConnect_ByWatchdogId_ByNS(watchdogID) {
|
|
1648
1698
|
const params = {};
|
|
@@ -1656,7 +1706,7 @@ var Watchdogs$ = class {
|
|
|
1656
1706
|
function WatchdogsApi(sdk, args) {
|
|
1657
1707
|
const sdkAssembly = sdk.assembly();
|
|
1658
1708
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1659
|
-
const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.
|
|
1709
|
+
const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
|
|
1660
1710
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1661
1711
|
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1662
1712
|
const axiosInstance = import_sdk28.Network.create(requestConfig);
|