@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.
@@ -35,7 +35,7 @@ var AccountAdmin$ = class {
35
35
  this.useSchemaValidation = useSchemaValidation;
36
36
  }
37
37
  /**
38
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
38
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
39
39
  */
40
40
  getAccount() {
41
41
  const params = {};
@@ -44,7 +44,7 @@ var AccountAdmin$ = class {
44
44
  return Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountResponse, "AccountResponse");
45
45
  }
46
46
  /**
47
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
47
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
48
48
  */
49
49
  createAccount(data) {
50
50
  const params = {};
@@ -53,16 +53,21 @@ var AccountAdmin$ = class {
53
53
  return Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountCreateResponse, "AccountCreateResponse");
54
54
  }
55
55
  /**
56
- * 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]
56
+ * 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]
57
57
  */
58
58
  getAccountLink() {
59
59
  const params = {};
60
60
  const url = "/ams/v1/admin/namespaces/{namespace}/account/link".replace("{namespace}", this.namespace);
61
61
  const resultPromise = this.axiosInstance.get(url, { params });
62
- return Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountLinkTokenResponse, "AccountLinkTokenResponse");
62
+ return Validate.validateOrReturnResponse(
63
+ this.useSchemaValidation,
64
+ () => resultPromise,
65
+ AccountLinkTokenResponse,
66
+ "AccountLinkTokenResponse"
67
+ );
63
68
  }
64
69
  /**
65
- * 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]
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 AdminAccountLink Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
66
71
  */
67
72
  createAccountLink(data) {
68
73
  const params = {};
@@ -77,7 +82,7 @@ import { ApiUtils, Network } from "@accelbyte/sdk";
77
82
  function AccountAdminApi(sdk, args) {
78
83
  const sdkAssembly = sdk.assembly();
79
84
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
80
- const requestConfig = ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
85
+ const requestConfig = ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
81
86
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
82
87
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
83
88
  const axiosInstance = Network.create(requestConfig);
@@ -151,7 +156,7 @@ var AmsInfoAdmin$ = class {
151
156
  this.useSchemaValidation = useSchemaValidation;
152
157
  }
153
158
  /**
154
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
159
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
155
160
  */
156
161
  getRegions() {
157
162
  const params = {};
@@ -160,13 +165,18 @@ var AmsInfoAdmin$ = class {
160
165
  return Validate2.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AmsRegionsResponse, "AmsRegionsResponse");
161
166
  }
162
167
  /**
163
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
168
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
164
169
  */
165
170
  getSupportedInstances() {
166
171
  const params = {};
167
172
  const url = "/ams/v1/admin/namespaces/{namespace}/supported-instances".replace("{namespace}", this.namespace);
168
173
  const resultPromise = this.axiosInstance.get(url, { params });
169
- return Validate2.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AvailableInstanceTypesResponse, "AvailableInstanceTypesResponse");
174
+ return Validate2.validateOrReturnResponse(
175
+ this.useSchemaValidation,
176
+ () => resultPromise,
177
+ AvailableInstanceTypesResponse,
178
+ "AvailableInstanceTypesResponse"
179
+ );
170
180
  }
171
181
  };
172
182
 
@@ -175,7 +185,7 @@ import { ApiUtils as ApiUtils2, Network as Network2 } from "@accelbyte/sdk";
175
185
  function AmsInfoAdminApi(sdk, args) {
176
186
  const sdkAssembly = sdk.assembly();
177
187
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
178
- const requestConfig = ApiUtils2.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
188
+ const requestConfig = ApiUtils2.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
179
189
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
180
190
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
181
191
  const axiosInstance = Network2.create(requestConfig);
@@ -236,7 +246,7 @@ var AmsQoSAdmin$ = class {
236
246
  this.useSchemaValidation = useSchemaValidation;
237
247
  }
238
248
  /**
239
- * ``` 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
249
+ * ``` 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
240
250
  */
241
251
  getQos(queryParams) {
242
252
  const params = { ...queryParams };
@@ -245,7 +255,7 @@ var AmsQoSAdmin$ = class {
245
255
  return Validate3.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, QoSEndpointResponse, "QoSEndpointResponse");
246
256
  }
247
257
  /**
248
- * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
258
+ * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
249
259
  */
250
260
  patchQo_ByRegion(region, data) {
251
261
  const params = {};
@@ -260,7 +270,7 @@ import { ApiUtils as ApiUtils3, Network as Network3 } from "@accelbyte/sdk";
260
270
  function AmsQoSAdminApi(sdk, args) {
261
271
  const sdkAssembly = sdk.assembly();
262
272
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
263
- const requestConfig = ApiUtils3.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
273
+ const requestConfig = ApiUtils3.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
264
274
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
265
275
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
266
276
  const axiosInstance = Network3.create(requestConfig);
@@ -347,7 +357,7 @@ var ArtifactsAdmin$ = class {
347
357
  this.useSchemaValidation = useSchemaValidation;
348
358
  }
349
359
  /**
350
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
360
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
351
361
  */
352
362
  deleteArtifact(queryParams) {
353
363
  const params = { ...queryParams };
@@ -356,7 +366,7 @@ var ArtifactsAdmin$ = class {
356
366
  return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z20.unknown(), "z.unknown()");
357
367
  }
358
368
  /**
359
- * 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]
369
+ * 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]
360
370
  */
361
371
  getArtifacts(queryParams) {
362
372
  const params = { count: 100, ...queryParams };
@@ -365,7 +375,7 @@ var ArtifactsAdmin$ = class {
365
375
  return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactListResponse, "ArtifactListResponse");
366
376
  }
367
377
  /**
368
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
378
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
369
379
  */
370
380
  getArtifactsUsage() {
371
381
  const params = {};
@@ -374,7 +384,7 @@ var ArtifactsAdmin$ = class {
374
384
  return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactUsageResponse, "ArtifactUsageResponse");
375
385
  }
376
386
  /**
377
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
387
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
378
388
  */
379
389
  deleteArtifact_ByArtifactId(artifactID) {
380
390
  const params = {};
@@ -383,7 +393,7 @@ var ArtifactsAdmin$ = class {
383
393
  return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z20.unknown(), "z.unknown()");
384
394
  }
385
395
  /**
386
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
396
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
387
397
  */
388
398
  getUrl_ByArtifactId(artifactID) {
389
399
  const params = {};
@@ -392,22 +402,32 @@ var ArtifactsAdmin$ = class {
392
402
  return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactUrlResponse, "ArtifactUrlResponse");
393
403
  }
394
404
  /**
395
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
405
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
396
406
  */
397
407
  getArtifactsSamplingRules_ByFleetId(fleetID) {
398
408
  const params = {};
399
409
  const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/artifacts-sampling-rules".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
400
410
  const resultPromise = this.axiosInstance.get(url, { params });
401
- return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetArtifactsSampleRules, "FleetArtifactsSampleRules");
411
+ return Validate4.validateOrReturnResponse(
412
+ this.useSchemaValidation,
413
+ () => resultPromise,
414
+ FleetArtifactsSampleRules,
415
+ "FleetArtifactsSampleRules"
416
+ );
402
417
  }
403
418
  /**
404
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
419
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
405
420
  */
406
421
  updateArtifactsSamplingRule_ByFleetId(fleetID, data) {
407
422
  const params = {};
408
423
  const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/artifacts-sampling-rules".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
409
424
  const resultPromise = this.axiosInstance.put(url, data, { params });
410
- return Validate4.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetArtifactsSampleRules, "FleetArtifactsSampleRules");
425
+ return Validate4.validateOrReturnResponse(
426
+ this.useSchemaValidation,
427
+ () => resultPromise,
428
+ FleetArtifactsSampleRules,
429
+ "FleetArtifactsSampleRules"
430
+ );
411
431
  }
412
432
  };
413
433
 
@@ -416,7 +436,7 @@ import { ApiUtils as ApiUtils4, Network as Network4 } from "@accelbyte/sdk";
416
436
  function ArtifactsAdminApi(sdk, args) {
417
437
  const sdkAssembly = sdk.assembly();
418
438
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
419
- const requestConfig = ApiUtils4.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
439
+ const requestConfig = ApiUtils4.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
420
440
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
421
441
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
422
442
  const axiosInstance = Network4.create(requestConfig);
@@ -512,25 +532,35 @@ var DevelopmentAdmin$ = class {
512
532
  this.useSchemaValidation = useSchemaValidation;
513
533
  }
514
534
  /**
515
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
535
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
516
536
  */
517
537
  getDevelopmentServerConfigurations(queryParams) {
518
538
  const params = { count: 100, ...queryParams };
519
539
  const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations".replace("{namespace}", this.namespace);
520
540
  const resultPromise = this.axiosInstance.get(url, { params });
521
- return Validate5.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DevelopmentServerConfigurationListResponse, "DevelopmentServerConfigurationListResponse");
541
+ return Validate5.validateOrReturnResponse(
542
+ this.useSchemaValidation,
543
+ () => resultPromise,
544
+ DevelopmentServerConfigurationListResponse,
545
+ "DevelopmentServerConfigurationListResponse"
546
+ );
522
547
  }
523
548
  /**
524
- * Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
549
+ * Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
525
550
  */
526
551
  createDevelopmentServerConfiguration(data) {
527
552
  const params = {};
528
553
  const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations".replace("{namespace}", this.namespace);
529
554
  const resultPromise = this.axiosInstance.post(url, data, { params });
530
- return Validate5.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DevelopmentServerConfigurationCreateResponse, "DevelopmentServerConfigurationCreateResponse");
555
+ return Validate5.validateOrReturnResponse(
556
+ this.useSchemaValidation,
557
+ () => resultPromise,
558
+ DevelopmentServerConfigurationCreateResponse,
559
+ "DevelopmentServerConfigurationCreateResponse"
560
+ );
531
561
  }
532
562
  /**
533
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
563
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
534
564
  */
535
565
  deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID) {
536
566
  const params = {};
@@ -539,13 +569,18 @@ var DevelopmentAdmin$ = class {
539
569
  return Validate5.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z24.unknown(), "z.unknown()");
540
570
  }
541
571
  /**
542
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
572
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
543
573
  */
544
574
  getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID) {
545
575
  const params = {};
546
576
  const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations/{developmentServerConfigID}".replace("{namespace}", this.namespace).replace("{developmentServerConfigID}", developmentServerConfigID);
547
577
  const resultPromise = this.axiosInstance.get(url, { params });
548
- return Validate5.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DevelopmentServerConfigurationGetResponse, "DevelopmentServerConfigurationGetResponse");
578
+ return Validate5.validateOrReturnResponse(
579
+ this.useSchemaValidation,
580
+ () => resultPromise,
581
+ DevelopmentServerConfigurationGetResponse,
582
+ "DevelopmentServerConfigurationGetResponse"
583
+ );
549
584
  }
550
585
  };
551
586
 
@@ -554,7 +589,7 @@ import { ApiUtils as ApiUtils5, Network as Network5 } from "@accelbyte/sdk";
554
589
  function DevelopmentAdminApi(sdk, args) {
555
590
  const sdkAssembly = sdk.assembly();
556
591
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
557
- const requestConfig = ApiUtils5.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
592
+ const requestConfig = ApiUtils5.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
558
593
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
559
594
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
560
595
  const axiosInstance = Network5.create(requestConfig);
@@ -733,7 +768,7 @@ var FleetsAdmin$ = class {
733
768
  this.useSchemaValidation = useSchemaValidation;
734
769
  }
735
770
  /**
736
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
771
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
737
772
  */
738
773
  getFleets() {
739
774
  const params = {};
@@ -742,7 +777,7 @@ var FleetsAdmin$ = class {
742
777
  return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetListResponse, "FleetListResponse");
743
778
  }
744
779
  /**
745
- * Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
780
+ * Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
746
781
  */
747
782
  createFleet(data) {
748
783
  const params = {};
@@ -751,7 +786,7 @@ var FleetsAdmin$ = class {
751
786
  return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetCreateResponse, "FleetCreateResponse");
752
787
  }
753
788
  /**
754
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
789
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
755
790
  */
756
791
  deleteFleet_ByFleetId(fleetID) {
757
792
  const params = {};
@@ -760,7 +795,7 @@ var FleetsAdmin$ = class {
760
795
  return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z38.unknown(), "z.unknown()");
761
796
  }
762
797
  /**
763
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
798
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
764
799
  */
765
800
  getFleet_ByFleetId(fleetID) {
766
801
  const params = {};
@@ -769,7 +804,7 @@ var FleetsAdmin$ = class {
769
804
  return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetGetResponse, "FleetGetResponse");
770
805
  }
771
806
  /**
772
- * Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
807
+ * Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
773
808
  */
774
809
  updateFleet_ByFleetId(fleetID, data) {
775
810
  const params = {};
@@ -778,10 +813,10 @@ var FleetsAdmin$ = class {
778
813
  return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z38.unknown(), "z.unknown()");
779
814
  }
780
815
  /**
781
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
816
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
782
817
  */
783
818
  getServers_ByFleetId(fleetID, queryParams) {
784
- const params = { ...queryParams };
819
+ const params = { count: 1e4, sortBy: "created_at", sortDirection: "desc", ...queryParams };
785
820
  const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/servers".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
786
821
  const resultPromise = this.axiosInstance.get(url, { params });
787
822
  return Validate6.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServersResponse, "FleetServersResponse");
@@ -793,7 +828,7 @@ import { ApiUtils as ApiUtils6, Network as Network6 } from "@accelbyte/sdk";
793
828
  function FleetsAdminApi(sdk, args) {
794
829
  const sdkAssembly = sdk.assembly();
795
830
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
796
- const requestConfig = ApiUtils6.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
831
+ const requestConfig = ApiUtils6.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
797
832
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
798
833
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
799
834
  const axiosInstance = Network6.create(requestConfig);
@@ -913,7 +948,7 @@ var ImagesAdmin$ = class {
913
948
  this.useSchemaValidation = useSchemaValidation;
914
949
  }
915
950
  /**
916
- * 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]
951
+ * 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]
917
952
  */
918
953
  getImages() {
919
954
  const params = {};
@@ -922,7 +957,7 @@ var ImagesAdmin$ = class {
922
957
  return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageList, "ImageList");
923
958
  }
924
959
  /**
925
- * Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
960
+ * Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
926
961
  */
927
962
  getImagesStorage() {
928
963
  const params = {};
@@ -931,7 +966,7 @@ var ImagesAdmin$ = class {
931
966
  return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageStorage, "ImageStorage");
932
967
  }
933
968
  /**
934
- * 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]
969
+ * 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]
935
970
  */
936
971
  deleteImage_ByImageId(imageID) {
937
972
  const params = {};
@@ -940,7 +975,7 @@ var ImagesAdmin$ = class {
940
975
  return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z44.unknown(), "z.unknown()");
941
976
  }
942
977
  /**
943
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
978
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
944
979
  */
945
980
  getImage_ByImageId(imageID) {
946
981
  const params = {};
@@ -949,7 +984,7 @@ var ImagesAdmin$ = class {
949
984
  return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageDetails, "ImageDetails");
950
985
  }
951
986
  /**
952
- * This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
987
+ * This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
953
988
  */
954
989
  patchImage_ByImageId(imageID, data) {
955
990
  const params = {};
@@ -958,7 +993,7 @@ var ImagesAdmin$ = class {
958
993
  return Validate7.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageDetails, "ImageDetails");
959
994
  }
960
995
  /**
961
- * Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
996
+ * Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
962
997
  */
963
998
  createRestore_ByImageId(imageID) {
964
999
  const params = {};
@@ -973,7 +1008,7 @@ import { ApiUtils as ApiUtils7, Network as Network7 } from "@accelbyte/sdk";
973
1008
  function ImagesAdminApi(sdk, args) {
974
1009
  const sdkAssembly = sdk.assembly();
975
1010
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
976
- const requestConfig = ApiUtils7.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1011
+ const requestConfig = ApiUtils7.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
977
1012
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
978
1013
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
979
1014
  const axiosInstance = Network7.create(requestConfig);
@@ -1083,25 +1118,35 @@ var ServersAdmin$ = class {
1083
1118
  this.useSchemaValidation = useSchemaValidation;
1084
1119
  }
1085
1120
  /**
1086
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1121
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1087
1122
  */
1088
1123
  getServer_ByServerId(serverID) {
1089
1124
  const params = {};
1090
1125
  const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
1091
1126
  const resultPromise = this.axiosInstance.get(url, { params });
1092
- return Validate8.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServerInfoResponse, "FleetServerInfoResponse");
1127
+ return Validate8.validateOrReturnResponse(
1128
+ this.useSchemaValidation,
1129
+ () => resultPromise,
1130
+ FleetServerInfoResponse,
1131
+ "FleetServerInfoResponse"
1132
+ );
1093
1133
  }
1094
1134
  /**
1095
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1135
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1096
1136
  */
1097
1137
  getHistory_ByServerId(serverID) {
1098
1138
  const params = {};
1099
1139
  const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/history".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
1100
1140
  const resultPromise = this.axiosInstance.get(url, { params });
1101
- return Validate8.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServerHistoryResponse, "FleetServerHistoryResponse");
1141
+ return Validate8.validateOrReturnResponse(
1142
+ this.useSchemaValidation,
1143
+ () => resultPromise,
1144
+ FleetServerHistoryResponse,
1145
+ "FleetServerHistoryResponse"
1146
+ );
1102
1147
  }
1103
1148
  /**
1104
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1149
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1105
1150
  */
1106
1151
  getServersHistory_ByFleetId(fleetID, queryParams) {
1107
1152
  const params = { ...queryParams };
@@ -1110,13 +1155,18 @@ var ServersAdmin$ = class {
1110
1155
  return Validate8.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DsHistoryList, "DsHistoryList");
1111
1156
  }
1112
1157
  /**
1113
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
1158
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
1114
1159
  */
1115
1160
  getConnectioninfo_ByServerId(serverID) {
1116
1161
  const params = {};
1117
1162
  const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/connectioninfo".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
1118
1163
  const resultPromise = this.axiosInstance.get(url, { params });
1119
- return Validate8.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServerConnectionInfoResponse, "FleetServerConnectionInfoResponse");
1164
+ return Validate8.validateOrReturnResponse(
1165
+ this.useSchemaValidation,
1166
+ () => resultPromise,
1167
+ FleetServerConnectionInfoResponse,
1168
+ "FleetServerConnectionInfoResponse"
1169
+ );
1120
1170
  }
1121
1171
  };
1122
1172
 
@@ -1125,7 +1175,7 @@ import { ApiUtils as ApiUtils8, Network as Network8 } from "@accelbyte/sdk";
1125
1175
  function ServersAdminApi(sdk, args) {
1126
1176
  const sdkAssembly = sdk.assembly();
1127
1177
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1128
- const requestConfig = ApiUtils8.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1178
+ const requestConfig = ApiUtils8.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1129
1179
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1130
1180
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1131
1181
  const axiosInstance = Network8.create(requestConfig);
@@ -1180,7 +1230,7 @@ var Account$ = class {
1180
1230
  this.useSchemaValidation = useSchemaValidation;
1181
1231
  }
1182
1232
  /**
1183
- * Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
1233
+ * Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
1184
1234
  */
1185
1235
  getAccount() {
1186
1236
  const params = {};
@@ -1195,7 +1245,7 @@ import { ApiUtils as ApiUtils9, Network as Network9 } from "@accelbyte/sdk";
1195
1245
  function AccountApi(sdk, args) {
1196
1246
  const sdkAssembly = sdk.assembly();
1197
1247
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1198
- const requestConfig = ApiUtils9.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1248
+ const requestConfig = ApiUtils9.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1199
1249
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1200
1250
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1201
1251
  const axiosInstance = Network9.create(requestConfig);
@@ -1242,7 +1292,7 @@ import { ApiUtils as ApiUtils10, Network as Network10 } from "@accelbyte/sdk";
1242
1292
  function AmsInfoApi(sdk, args) {
1243
1293
  const sdkAssembly = sdk.assembly();
1244
1294
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1245
- const requestConfig = ApiUtils10.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1295
+ const requestConfig = ApiUtils10.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1246
1296
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1247
1297
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1248
1298
  const axiosInstance = Network10.create(requestConfig);
@@ -1277,7 +1327,7 @@ var Auth$ = class {
1277
1327
  this.useSchemaValidation = useSchemaValidation;
1278
1328
  }
1279
1329
  /**
1280
- * Check if fleet commander is authorized to talk to AMS with this IAM
1330
+ * Check if fleet commander is authorized to talk to AMS with this IAM
1281
1331
  */
1282
1332
  getAuth() {
1283
1333
  const params = {};
@@ -1292,7 +1342,7 @@ import { ApiUtils as ApiUtils11, Network as Network11 } from "@accelbyte/sdk";
1292
1342
  function AuthApi(sdk, args) {
1293
1343
  const sdkAssembly = sdk.assembly();
1294
1344
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1295
- const requestConfig = ApiUtils11.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1345
+ const requestConfig = ApiUtils11.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1296
1346
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1297
1347
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1298
1348
  const axiosInstance = Network11.create(requestConfig);
@@ -1339,7 +1389,7 @@ import { ApiUtils as ApiUtils12, Network as Network12 } from "@accelbyte/sdk";
1339
1389
  function FleetCommanderApi(sdk, args) {
1340
1390
  const sdkAssembly = sdk.assembly();
1341
1391
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1342
- const requestConfig = ApiUtils12.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1392
+ const requestConfig = ApiUtils12.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1343
1393
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1344
1394
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1345
1395
  const axiosInstance = Network12.create(requestConfig);
@@ -1377,7 +1427,7 @@ var Fleets$ = class {
1377
1427
  this.useSchemaValidation = useSchemaValidation;
1378
1428
  }
1379
1429
  /**
1380
- * Claim a dedicated server from fleets with matching claim keys Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1430
+ * 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]
1381
1431
  */
1382
1432
  updateServerClaim(data) {
1383
1433
  const params = {};
@@ -1386,7 +1436,7 @@ var Fleets$ = class {
1386
1436
  return Validate13.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetClaimResponse, "FleetClaimResponse");
1387
1437
  }
1388
1438
  /**
1389
- * Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1439
+ * Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1390
1440
  */
1391
1441
  updateClaim_ByFleetId(fleetID, data) {
1392
1442
  const params = {};
@@ -1401,7 +1451,7 @@ import { ApiUtils as ApiUtils13, Network as Network13 } from "@accelbyte/sdk";
1401
1451
  function FleetsApi(sdk, args) {
1402
1452
  const sdkAssembly = sdk.assembly();
1403
1453
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1404
- const requestConfig = ApiUtils13.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1454
+ const requestConfig = ApiUtils13.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1405
1455
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1406
1456
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1407
1457
  const axiosInstance = Network13.create(requestConfig);
@@ -1443,7 +1493,7 @@ var Watchdogs$ = class {
1443
1493
  this.useSchemaValidation = useSchemaValidation;
1444
1494
  }
1445
1495
  /**
1446
- * This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
1496
+ * This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
1447
1497
  */
1448
1498
  getConnect_ByWatchdogId(watchdogID) {
1449
1499
  const params = {};
@@ -1452,7 +1502,7 @@ var Watchdogs$ = class {
1452
1502
  return Validate14.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, z54.unknown(), "z.unknown()");
1453
1503
  }
1454
1504
  /**
1455
- * Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
1505
+ * Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
1456
1506
  */
1457
1507
  getConnect_ByWatchdogId_ByNS(watchdogID) {
1458
1508
  const params = {};
@@ -1467,7 +1517,7 @@ import { ApiUtils as ApiUtils14, Network as Network14 } from "@accelbyte/sdk";
1467
1517
  function WatchdogsApi(sdk, args) {
1468
1518
  const sdkAssembly = sdk.assembly();
1469
1519
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1470
- const requestConfig = ApiUtils14.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1520
+ const requestConfig = ApiUtils14.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1471
1521
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1472
1522
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1473
1523
  const axiosInstance = Network14.create(requestConfig);