@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.
@@ -127,7 +127,7 @@ var AccountAdmin$ = class {
127
127
  this.useSchemaValidation = useSchemaValidation;
128
128
  }
129
129
  /**
130
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
130
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
131
131
  */
132
132
  getAccount() {
133
133
  const params = {};
@@ -136,7 +136,7 @@ var AccountAdmin$ = class {
136
136
  return import_sdk.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountResponse, "AccountResponse");
137
137
  }
138
138
  /**
139
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
139
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
140
140
  */
141
141
  createAccount(data) {
142
142
  const params = {};
@@ -145,16 +145,21 @@ var AccountAdmin$ = class {
145
145
  return import_sdk.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountCreateResponse, "AccountCreateResponse");
146
146
  }
147
147
  /**
148
- * 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]
148
+ * 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]
149
149
  */
150
150
  getAccountLink() {
151
151
  const params = {};
152
152
  const url = "/ams/v1/admin/namespaces/{namespace}/account/link".replace("{namespace}", this.namespace);
153
153
  const resultPromise = this.axiosInstance.get(url, { params });
154
- return import_sdk.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AccountLinkTokenResponse, "AccountLinkTokenResponse");
154
+ return import_sdk.Validate.validateOrReturnResponse(
155
+ this.useSchemaValidation,
156
+ () => resultPromise,
157
+ AccountLinkTokenResponse,
158
+ "AccountLinkTokenResponse"
159
+ );
155
160
  }
156
161
  /**
157
- * 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]
162
+ * 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]
158
163
  */
159
164
  createAccountLink(data) {
160
165
  const params = {};
@@ -168,7 +173,7 @@ var AccountAdmin$ = class {
168
173
  function AccountAdminApi(sdk, args) {
169
174
  const sdkAssembly = sdk.assembly();
170
175
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
171
- const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
176
+ const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
172
177
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
173
178
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
174
179
  const axiosInstance = import_sdk2.Network.create(requestConfig);
@@ -256,7 +261,9 @@ var useAccountAdminApi_GetAccountLink = (sdk, input, options, callback) => {
256
261
  };
257
262
  var useAccountAdminApi_CreateAccountLink = (sdk, options, callback) => {
258
263
  const mutationFn = async (input) => {
259
- const response = await AccountAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createAccountLink(input.data);
264
+ const response = await AccountAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createAccountLink(
265
+ input.data
266
+ );
260
267
  callback && callback(response.data);
261
268
  return response.data;
262
269
  };
@@ -307,7 +314,7 @@ var AmsInfoAdmin$ = class {
307
314
  this.useSchemaValidation = useSchemaValidation;
308
315
  }
309
316
  /**
310
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
317
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
311
318
  */
312
319
  getRegions() {
313
320
  const params = {};
@@ -316,13 +323,18 @@ var AmsInfoAdmin$ = class {
316
323
  return import_sdk3.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AmsRegionsResponse, "AmsRegionsResponse");
317
324
  }
318
325
  /**
319
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
326
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
320
327
  */
321
328
  getSupportedInstances() {
322
329
  const params = {};
323
330
  const url = "/ams/v1/admin/namespaces/{namespace}/supported-instances".replace("{namespace}", this.namespace);
324
331
  const resultPromise = this.axiosInstance.get(url, { params });
325
- return import_sdk3.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, AvailableInstanceTypesResponse, "AvailableInstanceTypesResponse");
332
+ return import_sdk3.Validate.validateOrReturnResponse(
333
+ this.useSchemaValidation,
334
+ () => resultPromise,
335
+ AvailableInstanceTypesResponse,
336
+ "AvailableInstanceTypesResponse"
337
+ );
326
338
  }
327
339
  };
328
340
 
@@ -330,7 +342,7 @@ var AmsInfoAdmin$ = class {
330
342
  function AmsInfoAdminApi(sdk, args) {
331
343
  const sdkAssembly = sdk.assembly();
332
344
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
333
- const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
345
+ const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
334
346
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
335
347
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
336
348
  const axiosInstance = import_sdk4.Network.create(requestConfig);
@@ -434,7 +446,7 @@ var AmsQoSAdmin$ = class {
434
446
  this.useSchemaValidation = useSchemaValidation;
435
447
  }
436
448
  /**
437
- * ``` 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
449
+ * ``` 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
438
450
  */
439
451
  getQos(queryParams) {
440
452
  const params = { ...queryParams };
@@ -443,7 +455,7 @@ var AmsQoSAdmin$ = class {
443
455
  return import_sdk5.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, QoSEndpointResponse, "QoSEndpointResponse");
444
456
  }
445
457
  /**
446
- * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
458
+ * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
447
459
  */
448
460
  patchQo_ByRegion(region, data) {
449
461
  const params = {};
@@ -457,7 +469,7 @@ var AmsQoSAdmin$ = class {
457
469
  function AmsQoSAdminApi(sdk, args) {
458
470
  const sdkAssembly = sdk.assembly();
459
471
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
460
- const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
472
+ const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
461
473
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
462
474
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
463
475
  const axiosInstance = import_sdk6.Network.create(requestConfig);
@@ -507,7 +519,10 @@ var useAmsQoSAdminApi_GetQos = (sdk, input, options, callback) => {
507
519
  };
508
520
  var useAmsQoSAdminApi_PatchQo_ByRegion = (sdk, options, callback) => {
509
521
  const mutationFn = async (input) => {
510
- const response = await AmsQoSAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchQo_ByRegion(input.region, input.data);
522
+ const response = await AmsQoSAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchQo_ByRegion(
523
+ input.region,
524
+ input.data
525
+ );
511
526
  callback && callback(response.data);
512
527
  return response.data;
513
528
  };
@@ -589,7 +604,7 @@ var ArtifactsAdmin$ = class {
589
604
  this.useSchemaValidation = useSchemaValidation;
590
605
  }
591
606
  /**
592
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
607
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
593
608
  */
594
609
  deleteArtifact(queryParams) {
595
610
  const params = { ...queryParams };
@@ -598,7 +613,7 @@ var ArtifactsAdmin$ = class {
598
613
  return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod20.z.unknown(), "z.unknown()");
599
614
  }
600
615
  /**
601
- * 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]
616
+ * 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]
602
617
  */
603
618
  getArtifacts(queryParams) {
604
619
  const params = { count: 100, ...queryParams };
@@ -607,7 +622,7 @@ var ArtifactsAdmin$ = class {
607
622
  return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactListResponse, "ArtifactListResponse");
608
623
  }
609
624
  /**
610
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
625
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
611
626
  */
612
627
  getArtifactsUsage() {
613
628
  const params = {};
@@ -616,7 +631,7 @@ var ArtifactsAdmin$ = class {
616
631
  return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactUsageResponse, "ArtifactUsageResponse");
617
632
  }
618
633
  /**
619
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
634
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
620
635
  */
621
636
  deleteArtifact_ByArtifactId(artifactID) {
622
637
  const params = {};
@@ -625,7 +640,7 @@ var ArtifactsAdmin$ = class {
625
640
  return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod20.z.unknown(), "z.unknown()");
626
641
  }
627
642
  /**
628
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
643
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
629
644
  */
630
645
  getUrl_ByArtifactId(artifactID) {
631
646
  const params = {};
@@ -634,22 +649,32 @@ var ArtifactsAdmin$ = class {
634
649
  return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ArtifactUrlResponse, "ArtifactUrlResponse");
635
650
  }
636
651
  /**
637
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
652
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
638
653
  */
639
654
  getArtifactsSamplingRules_ByFleetId(fleetID) {
640
655
  const params = {};
641
656
  const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/artifacts-sampling-rules".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
642
657
  const resultPromise = this.axiosInstance.get(url, { params });
643
- return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetArtifactsSampleRules, "FleetArtifactsSampleRules");
658
+ return import_sdk7.Validate.validateOrReturnResponse(
659
+ this.useSchemaValidation,
660
+ () => resultPromise,
661
+ FleetArtifactsSampleRules,
662
+ "FleetArtifactsSampleRules"
663
+ );
644
664
  }
645
665
  /**
646
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
666
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
647
667
  */
648
668
  updateArtifactsSamplingRule_ByFleetId(fleetID, data) {
649
669
  const params = {};
650
670
  const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/artifacts-sampling-rules".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
651
671
  const resultPromise = this.axiosInstance.put(url, data, { params });
652
- return import_sdk7.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetArtifactsSampleRules, "FleetArtifactsSampleRules");
672
+ return import_sdk7.Validate.validateOrReturnResponse(
673
+ this.useSchemaValidation,
674
+ () => resultPromise,
675
+ FleetArtifactsSampleRules,
676
+ "FleetArtifactsSampleRules"
677
+ );
653
678
  }
654
679
  };
655
680
 
@@ -657,7 +682,7 @@ var ArtifactsAdmin$ = class {
657
682
  function ArtifactsAdminApi(sdk, args) {
658
683
  const sdkAssembly = sdk.assembly();
659
684
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
660
- const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
685
+ const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
661
686
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
662
687
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
663
688
  const axiosInstance = import_sdk8.Network.create(requestConfig);
@@ -735,7 +760,9 @@ var Key_ArtifactsAdmin = /* @__PURE__ */ ((Key_ArtifactsAdmin2) => {
735
760
  })(Key_ArtifactsAdmin || {});
736
761
  var useArtifactsAdminApi_DeleteArtifact = (sdk, options, callback) => {
737
762
  const mutationFn = async (input) => {
738
- const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteArtifact(input.queryParams);
763
+ const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteArtifact(
764
+ input.queryParams
765
+ );
739
766
  callback && callback(response.data);
740
767
  return response.data;
741
768
  };
@@ -747,7 +774,9 @@ var useArtifactsAdminApi_DeleteArtifact = (sdk, options, callback) => {
747
774
  };
748
775
  var useArtifactsAdminApi_GetArtifacts = (sdk, input, options, callback) => {
749
776
  const queryFn = (sdk2, input2) => async () => {
750
- const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifacts(input2.queryParams);
777
+ const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifacts(
778
+ input2.queryParams
779
+ );
751
780
  callback && callback(response);
752
781
  return response.data;
753
782
  };
@@ -771,7 +800,10 @@ var useArtifactsAdminApi_GetArtifactsUsage = (sdk, input, options, callback) =>
771
800
  };
772
801
  var useArtifactsAdminApi_DeleteArtifact_ByArtifactId = (sdk, options, callback) => {
773
802
  const mutationFn = async (input) => {
774
- const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteArtifact_ByArtifactId(input.artifactID);
803
+ const response = await ArtifactsAdminApi(sdk, {
804
+ coreConfig: input.coreConfig,
805
+ axiosConfig: input.axiosConfig
806
+ }).deleteArtifact_ByArtifactId(input.artifactID);
775
807
  callback && callback(response.data);
776
808
  return response.data;
777
809
  };
@@ -783,7 +815,9 @@ var useArtifactsAdminApi_DeleteArtifact_ByArtifactId = (sdk, options, callback)
783
815
  };
784
816
  var useArtifactsAdminApi_GetUrl_ByArtifactId = (sdk, input, options, callback) => {
785
817
  const queryFn = (sdk2, input2) => async () => {
786
- const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getUrl_ByArtifactId(input2.artifactID);
818
+ const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getUrl_ByArtifactId(
819
+ input2.artifactID
820
+ );
787
821
  callback && callback(response);
788
822
  return response.data;
789
823
  };
@@ -795,7 +829,10 @@ var useArtifactsAdminApi_GetUrl_ByArtifactId = (sdk, input, options, callback) =
795
829
  };
796
830
  var useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId = (sdk, input, options, callback) => {
797
831
  const queryFn = (sdk2, input2) => async () => {
798
- const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifactsSamplingRules_ByFleetId(input2.fleetID);
832
+ const response = await ArtifactsAdminApi(sdk2, {
833
+ coreConfig: input2.coreConfig,
834
+ axiosConfig: input2.axiosConfig
835
+ }).getArtifactsSamplingRules_ByFleetId(input2.fleetID);
799
836
  callback && callback(response);
800
837
  return response.data;
801
838
  };
@@ -807,7 +844,10 @@ var useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId = (sdk, input, opti
807
844
  };
808
845
  var useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetId = (sdk, options, callback) => {
809
846
  const mutationFn = async (input) => {
810
- const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateArtifactsSamplingRule_ByFleetId(input.fleetID, input.data);
847
+ const response = await ArtifactsAdminApi(sdk, {
848
+ coreConfig: input.coreConfig,
849
+ axiosConfig: input.axiosConfig
850
+ }).updateArtifactsSamplingRule_ByFleetId(input.fleetID, input.data);
811
851
  callback && callback(response.data);
812
852
  return response.data;
813
853
  };
@@ -857,25 +897,35 @@ var DevelopmentAdmin$ = class {
857
897
  this.useSchemaValidation = useSchemaValidation;
858
898
  }
859
899
  /**
860
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
900
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
861
901
  */
862
902
  getDevelopmentServerConfigurations(queryParams) {
863
903
  const params = { count: 100, ...queryParams };
864
904
  const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations".replace("{namespace}", this.namespace);
865
905
  const resultPromise = this.axiosInstance.get(url, { params });
866
- return import_sdk9.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DevelopmentServerConfigurationListResponse, "DevelopmentServerConfigurationListResponse");
906
+ return import_sdk9.Validate.validateOrReturnResponse(
907
+ this.useSchemaValidation,
908
+ () => resultPromise,
909
+ DevelopmentServerConfigurationListResponse,
910
+ "DevelopmentServerConfigurationListResponse"
911
+ );
867
912
  }
868
913
  /**
869
- * Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
914
+ * Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
870
915
  */
871
916
  createDevelopmentServerConfiguration(data) {
872
917
  const params = {};
873
918
  const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations".replace("{namespace}", this.namespace);
874
919
  const resultPromise = this.axiosInstance.post(url, data, { params });
875
- return import_sdk9.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DevelopmentServerConfigurationCreateResponse, "DevelopmentServerConfigurationCreateResponse");
920
+ return import_sdk9.Validate.validateOrReturnResponse(
921
+ this.useSchemaValidation,
922
+ () => resultPromise,
923
+ DevelopmentServerConfigurationCreateResponse,
924
+ "DevelopmentServerConfigurationCreateResponse"
925
+ );
876
926
  }
877
927
  /**
878
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
928
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
879
929
  */
880
930
  deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID) {
881
931
  const params = {};
@@ -884,13 +934,18 @@ var DevelopmentAdmin$ = class {
884
934
  return import_sdk9.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod24.z.unknown(), "z.unknown()");
885
935
  }
886
936
  /**
887
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
937
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
888
938
  */
889
939
  getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(developmentServerConfigID) {
890
940
  const params = {};
891
941
  const url = "/ams/v1/admin/namespaces/{namespace}/development/server-configurations/{developmentServerConfigID}".replace("{namespace}", this.namespace).replace("{developmentServerConfigID}", developmentServerConfigID);
892
942
  const resultPromise = this.axiosInstance.get(url, { params });
893
- return import_sdk9.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DevelopmentServerConfigurationGetResponse, "DevelopmentServerConfigurationGetResponse");
943
+ return import_sdk9.Validate.validateOrReturnResponse(
944
+ this.useSchemaValidation,
945
+ () => resultPromise,
946
+ DevelopmentServerConfigurationGetResponse,
947
+ "DevelopmentServerConfigurationGetResponse"
948
+ );
894
949
  }
895
950
  };
896
951
 
@@ -898,7 +953,7 @@ var DevelopmentAdmin$ = class {
898
953
  function DevelopmentAdminApi(sdk, args) {
899
954
  const sdkAssembly = sdk.assembly();
900
955
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
901
- const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
956
+ const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
902
957
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
903
958
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
904
959
  const axiosInstance = import_sdk10.Network.create(requestConfig);
@@ -951,7 +1006,10 @@ var Key_DevelopmentAdmin = /* @__PURE__ */ ((Key_DevelopmentAdmin2) => {
951
1006
  })(Key_DevelopmentAdmin || {});
952
1007
  var useDevelopmentAdminApi_GetDevelopmentServerConfigurations = (sdk, input, options, callback) => {
953
1008
  const queryFn = (sdk2, input2) => async () => {
954
- const response = await DevelopmentAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getDevelopmentServerConfigurations(input2.queryParams);
1009
+ const response = await DevelopmentAdminApi(sdk2, {
1010
+ coreConfig: input2.coreConfig,
1011
+ axiosConfig: input2.axiosConfig
1012
+ }).getDevelopmentServerConfigurations(input2.queryParams);
955
1013
  callback && callback(response);
956
1014
  return response.data;
957
1015
  };
@@ -963,7 +1021,10 @@ var useDevelopmentAdminApi_GetDevelopmentServerConfigurations = (sdk, input, opt
963
1021
  };
964
1022
  var useDevelopmentAdminApi_CreateDevelopmentServerConfiguration = (sdk, options, callback) => {
965
1023
  const mutationFn = async (input) => {
966
- const response = await DevelopmentAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createDevelopmentServerConfiguration(input.data);
1024
+ const response = await DevelopmentAdminApi(sdk, {
1025
+ coreConfig: input.coreConfig,
1026
+ axiosConfig: input.axiosConfig
1027
+ }).createDevelopmentServerConfiguration(input.data);
967
1028
  callback && callback(response.data);
968
1029
  return response.data;
969
1030
  };
@@ -975,7 +1036,10 @@ var useDevelopmentAdminApi_CreateDevelopmentServerConfiguration = (sdk, options,
975
1036
  };
976
1037
  var useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId = (sdk, options, callback) => {
977
1038
  const mutationFn = async (input) => {
978
- const response = await DevelopmentAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input.developmentServerConfigID);
1039
+ const response = await DevelopmentAdminApi(sdk, {
1040
+ coreConfig: input.coreConfig,
1041
+ axiosConfig: input.axiosConfig
1042
+ }).deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input.developmentServerConfigID);
979
1043
  callback && callback(response.data);
980
1044
  return response.data;
981
1045
  };
@@ -987,7 +1051,10 @@ var useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentSer
987
1051
  };
988
1052
  var useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId = (sdk, input, options, callback) => {
989
1053
  const queryFn = (sdk2, input2) => async () => {
990
- const response = await DevelopmentAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input2.developmentServerConfigID);
1054
+ const response = await DevelopmentAdminApi(sdk2, {
1055
+ coreConfig: input2.coreConfig,
1056
+ axiosConfig: input2.axiosConfig
1057
+ }).getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input2.developmentServerConfigID);
991
1058
  callback && callback(response);
992
1059
  return response.data;
993
1060
  };
@@ -1151,7 +1218,7 @@ var FleetsAdmin$ = class {
1151
1218
  this.useSchemaValidation = useSchemaValidation;
1152
1219
  }
1153
1220
  /**
1154
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1221
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1155
1222
  */
1156
1223
  getFleets() {
1157
1224
  const params = {};
@@ -1160,7 +1227,7 @@ var FleetsAdmin$ = class {
1160
1227
  return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetListResponse, "FleetListResponse");
1161
1228
  }
1162
1229
  /**
1163
- * Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
1230
+ * Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
1164
1231
  */
1165
1232
  createFleet(data) {
1166
1233
  const params = {};
@@ -1169,7 +1236,7 @@ var FleetsAdmin$ = class {
1169
1236
  return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetCreateResponse, "FleetCreateResponse");
1170
1237
  }
1171
1238
  /**
1172
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
1239
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
1173
1240
  */
1174
1241
  deleteFleet_ByFleetId(fleetID) {
1175
1242
  const params = {};
@@ -1178,7 +1245,7 @@ var FleetsAdmin$ = class {
1178
1245
  return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod38.z.unknown(), "z.unknown()");
1179
1246
  }
1180
1247
  /**
1181
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1248
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1182
1249
  */
1183
1250
  getFleet_ByFleetId(fleetID) {
1184
1251
  const params = {};
@@ -1187,7 +1254,7 @@ var FleetsAdmin$ = class {
1187
1254
  return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetGetResponse, "FleetGetResponse");
1188
1255
  }
1189
1256
  /**
1190
- * Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
1257
+ * Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
1191
1258
  */
1192
1259
  updateFleet_ByFleetId(fleetID, data) {
1193
1260
  const params = {};
@@ -1196,10 +1263,10 @@ var FleetsAdmin$ = class {
1196
1263
  return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod38.z.unknown(), "z.unknown()");
1197
1264
  }
1198
1265
  /**
1199
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1266
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1200
1267
  */
1201
1268
  getServers_ByFleetId(fleetID, queryParams) {
1202
- const params = { ...queryParams };
1269
+ const params = { count: 1e4, sortBy: "created_at", sortDirection: "desc", ...queryParams };
1203
1270
  const url = "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/servers".replace("{namespace}", this.namespace).replace("{fleetID}", fleetID);
1204
1271
  const resultPromise = this.axiosInstance.get(url, { params });
1205
1272
  return import_sdk11.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServersResponse, "FleetServersResponse");
@@ -1210,7 +1277,7 @@ var FleetsAdmin$ = class {
1210
1277
  function FleetsAdminApi(sdk, args) {
1211
1278
  const sdkAssembly = sdk.assembly();
1212
1279
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1213
- const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1280
+ const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1214
1281
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1215
1282
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1216
1283
  const axiosInstance = import_sdk12.Network.create(requestConfig);
@@ -1302,7 +1369,9 @@ var useFleetsAdminApi_CreateFleet = (sdk, options, callback) => {
1302
1369
  };
1303
1370
  var useFleetsAdminApi_DeleteFleet_ByFleetId = (sdk, options, callback) => {
1304
1371
  const mutationFn = async (input) => {
1305
- const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteFleet_ByFleetId(input.fleetID);
1372
+ const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteFleet_ByFleetId(
1373
+ input.fleetID
1374
+ );
1306
1375
  callback && callback(response.data);
1307
1376
  return response.data;
1308
1377
  };
@@ -1314,7 +1383,9 @@ var useFleetsAdminApi_DeleteFleet_ByFleetId = (sdk, options, callback) => {
1314
1383
  };
1315
1384
  var useFleetsAdminApi_GetFleet_ByFleetId = (sdk, input, options, callback) => {
1316
1385
  const queryFn = (sdk2, input2) => async () => {
1317
- const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleet_ByFleetId(input2.fleetID);
1386
+ const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleet_ByFleetId(
1387
+ input2.fleetID
1388
+ );
1318
1389
  callback && callback(response);
1319
1390
  return response.data;
1320
1391
  };
@@ -1326,7 +1397,10 @@ var useFleetsAdminApi_GetFleet_ByFleetId = (sdk, input, options, callback) => {
1326
1397
  };
1327
1398
  var useFleetsAdminApi_UpdateFleet_ByFleetId = (sdk, options, callback) => {
1328
1399
  const mutationFn = async (input) => {
1329
- const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateFleet_ByFleetId(input.fleetID, input.data);
1400
+ const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateFleet_ByFleetId(
1401
+ input.fleetID,
1402
+ input.data
1403
+ );
1330
1404
  callback && callback(response.data);
1331
1405
  return response.data;
1332
1406
  };
@@ -1338,7 +1412,10 @@ var useFleetsAdminApi_UpdateFleet_ByFleetId = (sdk, options, callback) => {
1338
1412
  };
1339
1413
  var useFleetsAdminApi_GetServers_ByFleetId = (sdk, input, options, callback) => {
1340
1414
  const queryFn = (sdk2, input2) => async () => {
1341
- const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServers_ByFleetId(input2.fleetID, input2.queryParams);
1415
+ const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServers_ByFleetId(
1416
+ input2.fleetID,
1417
+ input2.queryParams
1418
+ );
1342
1419
  callback && callback(response);
1343
1420
  return response.data;
1344
1421
  };
@@ -1423,7 +1500,7 @@ var ImagesAdmin$ = class {
1423
1500
  this.useSchemaValidation = useSchemaValidation;
1424
1501
  }
1425
1502
  /**
1426
- * 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]
1503
+ * 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]
1427
1504
  */
1428
1505
  getImages() {
1429
1506
  const params = {};
@@ -1432,7 +1509,7 @@ var ImagesAdmin$ = class {
1432
1509
  return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageList, "ImageList");
1433
1510
  }
1434
1511
  /**
1435
- * Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1512
+ * Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1436
1513
  */
1437
1514
  getImagesStorage() {
1438
1515
  const params = {};
@@ -1441,7 +1518,7 @@ var ImagesAdmin$ = class {
1441
1518
  return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageStorage, "ImageStorage");
1442
1519
  }
1443
1520
  /**
1444
- * 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]
1521
+ * 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]
1445
1522
  */
1446
1523
  deleteImage_ByImageId(imageID) {
1447
1524
  const params = {};
@@ -1450,7 +1527,7 @@ var ImagesAdmin$ = class {
1450
1527
  return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod44.z.unknown(), "z.unknown()");
1451
1528
  }
1452
1529
  /**
1453
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1530
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1454
1531
  */
1455
1532
  getImage_ByImageId(imageID) {
1456
1533
  const params = {};
@@ -1459,7 +1536,7 @@ var ImagesAdmin$ = class {
1459
1536
  return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageDetails, "ImageDetails");
1460
1537
  }
1461
1538
  /**
1462
- * This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
1539
+ * This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
1463
1540
  */
1464
1541
  patchImage_ByImageId(imageID, data) {
1465
1542
  const params = {};
@@ -1468,7 +1545,7 @@ var ImagesAdmin$ = class {
1468
1545
  return import_sdk13.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, ImageDetails, "ImageDetails");
1469
1546
  }
1470
1547
  /**
1471
- * Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
1548
+ * Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
1472
1549
  */
1473
1550
  createRestore_ByImageId(imageID) {
1474
1551
  const params = {};
@@ -1482,7 +1559,7 @@ var ImagesAdmin$ = class {
1482
1559
  function ImagesAdminApi(sdk, args) {
1483
1560
  const sdkAssembly = sdk.assembly();
1484
1561
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1485
- const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1562
+ const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1486
1563
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1487
1564
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1488
1565
  const axiosInstance = import_sdk14.Network.create(requestConfig);
@@ -1574,7 +1651,9 @@ var useImagesAdminApi_GetImagesStorage = (sdk, input, options, callback) => {
1574
1651
  };
1575
1652
  var useImagesAdminApi_DeleteImage_ByImageId = (sdk, options, callback) => {
1576
1653
  const mutationFn = async (input) => {
1577
- const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteImage_ByImageId(input.imageID);
1654
+ const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteImage_ByImageId(
1655
+ input.imageID
1656
+ );
1578
1657
  callback && callback(response.data);
1579
1658
  return response.data;
1580
1659
  };
@@ -1586,7 +1665,9 @@ var useImagesAdminApi_DeleteImage_ByImageId = (sdk, options, callback) => {
1586
1665
  };
1587
1666
  var useImagesAdminApi_GetImage_ByImageId = (sdk, input, options, callback) => {
1588
1667
  const queryFn = (sdk2, input2) => async () => {
1589
- const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImage_ByImageId(input2.imageID);
1668
+ const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImage_ByImageId(
1669
+ input2.imageID
1670
+ );
1590
1671
  callback && callback(response);
1591
1672
  return response.data;
1592
1673
  };
@@ -1598,7 +1679,10 @@ var useImagesAdminApi_GetImage_ByImageId = (sdk, input, options, callback) => {
1598
1679
  };
1599
1680
  var useImagesAdminApi_PatchImage_ByImageId = (sdk, options, callback) => {
1600
1681
  const mutationFn = async (input) => {
1601
- const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchImage_ByImageId(input.imageID, input.data);
1682
+ const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchImage_ByImageId(
1683
+ input.imageID,
1684
+ input.data
1685
+ );
1602
1686
  callback && callback(response.data);
1603
1687
  return response.data;
1604
1688
  };
@@ -1610,7 +1694,9 @@ var useImagesAdminApi_PatchImage_ByImageId = (sdk, options, callback) => {
1610
1694
  };
1611
1695
  var useImagesAdminApi_CreateRestore_ByImageId = (sdk, options, callback) => {
1612
1696
  const mutationFn = async (input) => {
1613
- const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createRestore_ByImageId(input.imageID);
1697
+ const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createRestore_ByImageId(
1698
+ input.imageID
1699
+ );
1614
1700
  callback && callback(response.data);
1615
1701
  return response.data;
1616
1702
  };
@@ -1685,25 +1771,35 @@ var ServersAdmin$ = class {
1685
1771
  this.useSchemaValidation = useSchemaValidation;
1686
1772
  }
1687
1773
  /**
1688
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1774
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1689
1775
  */
1690
1776
  getServer_ByServerId(serverID) {
1691
1777
  const params = {};
1692
1778
  const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
1693
1779
  const resultPromise = this.axiosInstance.get(url, { params });
1694
- return import_sdk15.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServerInfoResponse, "FleetServerInfoResponse");
1780
+ return import_sdk15.Validate.validateOrReturnResponse(
1781
+ this.useSchemaValidation,
1782
+ () => resultPromise,
1783
+ FleetServerInfoResponse,
1784
+ "FleetServerInfoResponse"
1785
+ );
1695
1786
  }
1696
1787
  /**
1697
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1788
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1698
1789
  */
1699
1790
  getHistory_ByServerId(serverID) {
1700
1791
  const params = {};
1701
1792
  const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/history".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
1702
1793
  const resultPromise = this.axiosInstance.get(url, { params });
1703
- return import_sdk15.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServerHistoryResponse, "FleetServerHistoryResponse");
1794
+ return import_sdk15.Validate.validateOrReturnResponse(
1795
+ this.useSchemaValidation,
1796
+ () => resultPromise,
1797
+ FleetServerHistoryResponse,
1798
+ "FleetServerHistoryResponse"
1799
+ );
1704
1800
  }
1705
1801
  /**
1706
- * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1802
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1707
1803
  */
1708
1804
  getServersHistory_ByFleetId(fleetID, queryParams) {
1709
1805
  const params = { ...queryParams };
@@ -1712,13 +1808,18 @@ var ServersAdmin$ = class {
1712
1808
  return import_sdk15.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, DsHistoryList, "DsHistoryList");
1713
1809
  }
1714
1810
  /**
1715
- * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
1811
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
1716
1812
  */
1717
1813
  getConnectioninfo_ByServerId(serverID) {
1718
1814
  const params = {};
1719
1815
  const url = "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/connectioninfo".replace("{namespace}", this.namespace).replace("{serverID}", serverID);
1720
1816
  const resultPromise = this.axiosInstance.get(url, { params });
1721
- return import_sdk15.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetServerConnectionInfoResponse, "FleetServerConnectionInfoResponse");
1817
+ return import_sdk15.Validate.validateOrReturnResponse(
1818
+ this.useSchemaValidation,
1819
+ () => resultPromise,
1820
+ FleetServerConnectionInfoResponse,
1821
+ "FleetServerConnectionInfoResponse"
1822
+ );
1722
1823
  }
1723
1824
  };
1724
1825
 
@@ -1726,7 +1827,7 @@ var ServersAdmin$ = class {
1726
1827
  function ServersAdminApi(sdk, args) {
1727
1828
  const sdkAssembly = sdk.assembly();
1728
1829
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1729
- const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1830
+ const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1730
1831
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1731
1832
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1732
1833
  const axiosInstance = import_sdk16.Network.create(requestConfig);
@@ -1780,7 +1881,9 @@ var Key_ServersAdmin = /* @__PURE__ */ ((Key_ServersAdmin2) => {
1780
1881
  })(Key_ServersAdmin || {});
1781
1882
  var useServersAdminApi_GetServer_ByServerId = (sdk, input, options, callback) => {
1782
1883
  const queryFn = (sdk2, input2) => async () => {
1783
- const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServer_ByServerId(input2.serverID);
1884
+ const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServer_ByServerId(
1885
+ input2.serverID
1886
+ );
1784
1887
  callback && callback(response);
1785
1888
  return response.data;
1786
1889
  };
@@ -1792,7 +1895,9 @@ var useServersAdminApi_GetServer_ByServerId = (sdk, input, options, callback) =>
1792
1895
  };
1793
1896
  var useServersAdminApi_GetHistory_ByServerId = (sdk, input, options, callback) => {
1794
1897
  const queryFn = (sdk2, input2) => async () => {
1795
- const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getHistory_ByServerId(input2.serverID);
1898
+ const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getHistory_ByServerId(
1899
+ input2.serverID
1900
+ );
1796
1901
  callback && callback(response);
1797
1902
  return response.data;
1798
1903
  };
@@ -1804,7 +1909,10 @@ var useServersAdminApi_GetHistory_ByServerId = (sdk, input, options, callback) =
1804
1909
  };
1805
1910
  var useServersAdminApi_GetServersHistory_ByFleetId = (sdk, input, options, callback) => {
1806
1911
  const queryFn = (sdk2, input2) => async () => {
1807
- const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServersHistory_ByFleetId(input2.fleetID, input2.queryParams);
1912
+ const response = await ServersAdminApi(sdk2, {
1913
+ coreConfig: input2.coreConfig,
1914
+ axiosConfig: input2.axiosConfig
1915
+ }).getServersHistory_ByFleetId(input2.fleetID, input2.queryParams);
1808
1916
  callback && callback(response);
1809
1917
  return response.data;
1810
1918
  };
@@ -1816,7 +1924,10 @@ var useServersAdminApi_GetServersHistory_ByFleetId = (sdk, input, options, callb
1816
1924
  };
1817
1925
  var useServersAdminApi_GetConnectioninfo_ByServerId = (sdk, input, options, callback) => {
1818
1926
  const queryFn = (sdk2, input2) => async () => {
1819
- const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnectioninfo_ByServerId(input2.serverID);
1927
+ const response = await ServersAdminApi(sdk2, {
1928
+ coreConfig: input2.coreConfig,
1929
+ axiosConfig: input2.axiosConfig
1930
+ }).getConnectioninfo_ByServerId(input2.serverID);
1820
1931
  callback && callback(response);
1821
1932
  return response.data;
1822
1933
  };
@@ -1844,7 +1955,7 @@ var Account$ = class {
1844
1955
  this.useSchemaValidation = useSchemaValidation;
1845
1956
  }
1846
1957
  /**
1847
- * Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
1958
+ * Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
1848
1959
  */
1849
1960
  getAccount() {
1850
1961
  const params = {};
@@ -1858,7 +1969,7 @@ var Account$ = class {
1858
1969
  function AccountApi(sdk, args) {
1859
1970
  const sdkAssembly = sdk.assembly();
1860
1971
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1861
- const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
1972
+ const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1862
1973
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1863
1974
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1864
1975
  const axiosInstance = import_sdk18.Network.create(requestConfig);
@@ -1928,7 +2039,7 @@ var AmsInfo$ = class {
1928
2039
  function AmsInfoApi(sdk, args) {
1929
2040
  const sdkAssembly = sdk.assembly();
1930
2041
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1931
- const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
2042
+ const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1932
2043
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1933
2044
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1934
2045
  const axiosInstance = import_sdk20.Network.create(requestConfig);
@@ -1987,7 +2098,7 @@ var Auth$ = class {
1987
2098
  this.useSchemaValidation = useSchemaValidation;
1988
2099
  }
1989
2100
  /**
1990
- * Check if fleet commander is authorized to talk to AMS with this IAM
2101
+ * Check if fleet commander is authorized to talk to AMS with this IAM
1991
2102
  */
1992
2103
  getAuth() {
1993
2104
  const params = {};
@@ -2001,7 +2112,7 @@ var Auth$ = class {
2001
2112
  function AuthApi(sdk, args) {
2002
2113
  const sdkAssembly = sdk.assembly();
2003
2114
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2004
- const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
2115
+ const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2005
2116
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2006
2117
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2007
2118
  const axiosInstance = import_sdk22.Network.create(requestConfig);
@@ -2071,7 +2182,7 @@ var FleetCommander$ = class {
2071
2182
  function FleetCommanderApi(sdk, args) {
2072
2183
  const sdkAssembly = sdk.assembly();
2073
2184
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2074
- const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
2185
+ const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2075
2186
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2076
2187
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2077
2188
  const axiosInstance = import_sdk24.Network.create(requestConfig);
@@ -2135,7 +2246,7 @@ var Fleets$ = class {
2135
2246
  this.useSchemaValidation = useSchemaValidation;
2136
2247
  }
2137
2248
  /**
2138
- * Claim a dedicated server from fleets with matching claim keys Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
2249
+ * 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]
2139
2250
  */
2140
2251
  updateServerClaim(data) {
2141
2252
  const params = {};
@@ -2144,7 +2255,7 @@ var Fleets$ = class {
2144
2255
  return import_sdk25.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, FleetClaimResponse, "FleetClaimResponse");
2145
2256
  }
2146
2257
  /**
2147
- * Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
2258
+ * Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
2148
2259
  */
2149
2260
  updateClaim_ByFleetId(fleetID, data) {
2150
2261
  const params = {};
@@ -2158,7 +2269,7 @@ var Fleets$ = class {
2158
2269
  function FleetsApi(sdk, args) {
2159
2270
  const sdkAssembly = sdk.assembly();
2160
2271
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2161
- const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
2272
+ const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2162
2273
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2163
2274
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2164
2275
  const axiosInstance = import_sdk26.Network.create(requestConfig);
@@ -2208,7 +2319,10 @@ var useFleetsApi_UpdateServerClaim = (sdk, options, callback) => {
2208
2319
  };
2209
2320
  var useFleetsApi_UpdateClaim_ByFleetId = (sdk, options, callback) => {
2210
2321
  const mutationFn = async (input) => {
2211
- const response = await FleetsApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateClaim_ByFleetId(input.fleetID, input.data);
2322
+ const response = await FleetsApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateClaim_ByFleetId(
2323
+ input.fleetID,
2324
+ input.data
2325
+ );
2212
2326
  callback && callback(response.data);
2213
2327
  return response.data;
2214
2328
  };
@@ -2237,7 +2351,7 @@ var Watchdogs$ = class {
2237
2351
  this.useSchemaValidation = useSchemaValidation;
2238
2352
  }
2239
2353
  /**
2240
- * This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
2354
+ * This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
2241
2355
  */
2242
2356
  getConnect_ByWatchdogId(watchdogID) {
2243
2357
  const params = {};
@@ -2246,7 +2360,7 @@ var Watchdogs$ = class {
2246
2360
  return import_sdk27.Validate.validateOrReturnResponse(this.useSchemaValidation, () => resultPromise, import_zod54.z.unknown(), "z.unknown()");
2247
2361
  }
2248
2362
  /**
2249
- * Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
2363
+ * Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
2250
2364
  */
2251
2365
  getConnect_ByWatchdogId_ByNS(watchdogID) {
2252
2366
  const params = {};
@@ -2260,7 +2374,7 @@ var Watchdogs$ = class {
2260
2374
  function WatchdogsApi(sdk, args) {
2261
2375
  const sdkAssembly = sdk.assembly();
2262
2376
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2263
- const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosConfig.request, args?.axiosConfig?.request);
2377
+ const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2264
2378
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2265
2379
  const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2266
2380
  const axiosInstance = import_sdk28.Network.create(requestConfig);
@@ -2298,7 +2412,9 @@ var Key_Watchdogs = /* @__PURE__ */ ((Key_Watchdogs2) => {
2298
2412
  })(Key_Watchdogs || {});
2299
2413
  var useWatchdogsApi_GetConnect_ByWatchdogId = (sdk, input, options, callback) => {
2300
2414
  const queryFn = (sdk2, input2) => async () => {
2301
- const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId(input2.watchdogID);
2415
+ const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId(
2416
+ input2.watchdogID
2417
+ );
2302
2418
  callback && callback(response);
2303
2419
  return response.data;
2304
2420
  };
@@ -2310,7 +2426,9 @@ var useWatchdogsApi_GetConnect_ByWatchdogId = (sdk, input, options, callback) =>
2310
2426
  };
2311
2427
  var useWatchdogsApi_GetConnect_ByWatchdogId_ByNS = (sdk, input, options, callback) => {
2312
2428
  const queryFn = (sdk2, input2) => async () => {
2313
- const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId_ByNS(input2.watchdogID);
2429
+ const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId_ByNS(
2430
+ input2.watchdogID
2431
+ );
2314
2432
  callback && callback(response);
2315
2433
  return response.data;
2316
2434
  };