@accelbyte/sdk-ams 0.0.0-dev-20240904033042 → 0.0.0-dev-20240910111050

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.
@@ -1740,12 +1740,14 @@ declare const DsHistoryList: z.ZodObject<{
1740
1740
  reason: z.ZodString;
1741
1741
  region: z.ZodString;
1742
1742
  serverId: z.ZodString;
1743
+ sessionId: z.ZodString;
1743
1744
  status: z.ZodString;
1744
1745
  }, "strip", z.ZodTypeAny, {
1745
1746
  status: string;
1746
1747
  region: string;
1747
1748
  ipAddress: string;
1748
1749
  serverId: string;
1750
+ sessionId: string;
1749
1751
  exitCode: number;
1750
1752
  reason: string;
1751
1753
  createdAt?: any;
@@ -1754,6 +1756,7 @@ declare const DsHistoryList: z.ZodObject<{
1754
1756
  region: string;
1755
1757
  ipAddress: string;
1756
1758
  serverId: string;
1759
+ sessionId: string;
1757
1760
  exitCode: number;
1758
1761
  reason: string;
1759
1762
  createdAt?: any;
@@ -1802,6 +1805,7 @@ declare const DsHistoryList: z.ZodObject<{
1802
1805
  region: string;
1803
1806
  ipAddress: string;
1804
1807
  serverId: string;
1808
+ sessionId: string;
1805
1809
  exitCode: number;
1806
1810
  reason: string;
1807
1811
  createdAt?: any;
@@ -1822,6 +1826,7 @@ declare const DsHistoryList: z.ZodObject<{
1822
1826
  region: string;
1823
1827
  ipAddress: string;
1824
1828
  serverId: string;
1829
+ sessionId: string;
1825
1830
  exitCode: number;
1826
1831
  reason: string;
1827
1832
  createdAt?: any;
@@ -1740,12 +1740,14 @@ declare const DsHistoryList: z.ZodObject<{
1740
1740
  reason: z.ZodString;
1741
1741
  region: z.ZodString;
1742
1742
  serverId: z.ZodString;
1743
+ sessionId: z.ZodString;
1743
1744
  status: z.ZodString;
1744
1745
  }, "strip", z.ZodTypeAny, {
1745
1746
  status: string;
1746
1747
  region: string;
1747
1748
  ipAddress: string;
1748
1749
  serverId: string;
1750
+ sessionId: string;
1749
1751
  exitCode: number;
1750
1752
  reason: string;
1751
1753
  createdAt?: any;
@@ -1754,6 +1756,7 @@ declare const DsHistoryList: z.ZodObject<{
1754
1756
  region: string;
1755
1757
  ipAddress: string;
1756
1758
  serverId: string;
1759
+ sessionId: string;
1757
1760
  exitCode: number;
1758
1761
  reason: string;
1759
1762
  createdAt?: any;
@@ -1802,6 +1805,7 @@ declare const DsHistoryList: z.ZodObject<{
1802
1805
  region: string;
1803
1806
  ipAddress: string;
1804
1807
  serverId: string;
1808
+ sessionId: string;
1805
1809
  exitCode: number;
1806
1810
  reason: string;
1807
1811
  createdAt?: any;
@@ -1822,6 +1826,7 @@ declare const DsHistoryList: z.ZodObject<{
1822
1826
  region: string;
1823
1827
  ipAddress: string;
1824
1828
  serverId: string;
1829
+ sessionId: string;
1825
1830
  exitCode: number;
1826
1831
  reason: string;
1827
1832
  createdAt?: any;
@@ -173,9 +173,12 @@ var AccountAdmin$ = class {
173
173
  function AccountAdminApi(sdk, args) {
174
174
  const sdkAssembly = sdk.assembly();
175
175
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
176
- const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
176
+ const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
177
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
178
+ ...args?.axiosConfig?.request
179
+ });
177
180
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
178
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
181
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
179
182
  const axiosInstance = import_sdk2.Network.create(requestConfig);
180
183
  for (const interceptor of interceptors) {
181
184
  if (interceptor.type === "request") {
@@ -210,9 +213,21 @@ function AccountAdminApi(sdk, args) {
210
213
  return resp.response;
211
214
  }
212
215
  return {
216
+ /**
217
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
218
+ */
213
219
  getAccount,
220
+ /**
221
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
222
+ */
214
223
  createAccount,
224
+ /**
225
+ * 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]
226
+ */
215
227
  getAccountLink,
228
+ /**
229
+ * 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]
230
+ */
216
231
  createAccountLink
217
232
  };
218
233
  }
@@ -342,9 +357,12 @@ var AmsInfoAdmin$ = class {
342
357
  function AmsInfoAdminApi(sdk, args) {
343
358
  const sdkAssembly = sdk.assembly();
344
359
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
345
- const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
360
+ const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
361
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
362
+ ...args?.axiosConfig?.request
363
+ });
346
364
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
347
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
365
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
348
366
  const axiosInstance = import_sdk4.Network.create(requestConfig);
349
367
  for (const interceptor of interceptors) {
350
368
  if (interceptor.type === "request") {
@@ -367,7 +385,13 @@ function AmsInfoAdminApi(sdk, args) {
367
385
  return resp.response;
368
386
  }
369
387
  return {
388
+ /**
389
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
390
+ */
370
391
  getRegions,
392
+ /**
393
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
394
+ */
371
395
  getSupportedInstances
372
396
  };
373
397
  }
@@ -469,9 +493,12 @@ var AmsQoSAdmin$ = class {
469
493
  function AmsQoSAdminApi(sdk, args) {
470
494
  const sdkAssembly = sdk.assembly();
471
495
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
472
- const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
496
+ const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
497
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
498
+ ...args?.axiosConfig?.request
499
+ });
473
500
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
474
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
501
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
475
502
  const axiosInstance = import_sdk6.Network.create(requestConfig);
476
503
  for (const interceptor of interceptors) {
477
504
  if (interceptor.type === "request") {
@@ -494,7 +521,13 @@ function AmsQoSAdminApi(sdk, args) {
494
521
  return resp.response;
495
522
  }
496
523
  return {
524
+ /**
525
+ * ``` 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&#39;s IP:Port 2. Send string &#34;PING&#34; after connection established 3. Wait for string &#34;PONG&#34; 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
526
+ */
497
527
  getQos,
528
+ /**
529
+ * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service&#39;s configurable configuration.
530
+ */
498
531
  patchQo_ByRegion
499
532
  };
500
533
  }
@@ -682,9 +715,12 @@ var ArtifactsAdmin$ = class {
682
715
  function ArtifactsAdminApi(sdk, args) {
683
716
  const sdkAssembly = sdk.assembly();
684
717
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
685
- const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
718
+ const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
719
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
720
+ ...args?.axiosConfig?.request
721
+ });
686
722
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
687
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
723
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
688
724
  const axiosInstance = import_sdk8.Network.create(requestConfig);
689
725
  for (const interceptor of interceptors) {
690
726
  if (interceptor.type === "request") {
@@ -737,12 +773,33 @@ function ArtifactsAdminApi(sdk, args) {
737
773
  return resp.response;
738
774
  }
739
775
  return {
776
+ /**
777
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
778
+ */
740
779
  deleteArtifact,
780
+ /**
781
+ * Get all artifacts matching the provided search criteria. When criteria is not specified the data returned won&#39;t have been filtered on those parameters Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
782
+ */
741
783
  getArtifacts,
784
+ /**
785
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
786
+ */
742
787
  getArtifactsUsage,
788
+ /**
789
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
790
+ */
743
791
  deleteArtifact_ByArtifactId,
792
+ /**
793
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
794
+ */
744
795
  getUrl_ByArtifactId,
796
+ /**
797
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
798
+ */
745
799
  getArtifactsSamplingRules_ByFleetId,
800
+ /**
801
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
802
+ */
746
803
  updateArtifactsSamplingRule_ByFleetId
747
804
  };
748
805
  }
@@ -953,9 +1010,12 @@ var DevelopmentAdmin$ = class {
953
1010
  function DevelopmentAdminApi(sdk, args) {
954
1011
  const sdkAssembly = sdk.assembly();
955
1012
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
956
- const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1013
+ const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1014
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1015
+ ...args?.axiosConfig?.request
1016
+ });
957
1017
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
958
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1018
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
959
1019
  const axiosInstance = import_sdk10.Network.create(requestConfig);
960
1020
  for (const interceptor of interceptors) {
961
1021
  if (interceptor.type === "request") {
@@ -990,9 +1050,21 @@ function DevelopmentAdminApi(sdk, args) {
990
1050
  return resp.response;
991
1051
  }
992
1052
  return {
1053
+ /**
1054
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1055
+ */
993
1056
  getDevelopmentServerConfigurations,
1057
+ /**
1058
+ * Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
1059
+ */
994
1060
  createDevelopmentServerConfiguration,
1061
+ /**
1062
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
1063
+ */
995
1064
  deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId,
1065
+ /**
1066
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1067
+ */
996
1068
  getDevelopmentServerConfiguration_ByDevelopmentServerConfigId
997
1069
  };
998
1070
  }
@@ -1277,9 +1349,12 @@ var FleetsAdmin$ = class {
1277
1349
  function FleetsAdminApi(sdk, args) {
1278
1350
  const sdkAssembly = sdk.assembly();
1279
1351
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1280
- const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1352
+ const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1353
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1354
+ ...args?.axiosConfig?.request
1355
+ });
1281
1356
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1282
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1357
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1283
1358
  const axiosInstance = import_sdk12.Network.create(requestConfig);
1284
1359
  for (const interceptor of interceptors) {
1285
1360
  if (interceptor.type === "request") {
@@ -1326,11 +1401,29 @@ function FleetsAdminApi(sdk, args) {
1326
1401
  return resp.response;
1327
1402
  }
1328
1403
  return {
1404
+ /**
1405
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1406
+ */
1329
1407
  getFleets,
1408
+ /**
1409
+ * Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
1410
+ */
1330
1411
  createFleet,
1412
+ /**
1413
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
1414
+ */
1331
1415
  deleteFleet_ByFleetId,
1416
+ /**
1417
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1418
+ */
1332
1419
  getFleet_ByFleetId,
1420
+ /**
1421
+ * Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
1422
+ */
1333
1423
  updateFleet_ByFleetId,
1424
+ /**
1425
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1426
+ */
1334
1427
  getServers_ByFleetId
1335
1428
  };
1336
1429
  }
@@ -1559,9 +1652,12 @@ var ImagesAdmin$ = class {
1559
1652
  function ImagesAdminApi(sdk, args) {
1560
1653
  const sdkAssembly = sdk.assembly();
1561
1654
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1562
- const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1655
+ const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1656
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1657
+ ...args?.axiosConfig?.request
1658
+ });
1563
1659
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1564
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1660
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1565
1661
  const axiosInstance = import_sdk14.Network.create(requestConfig);
1566
1662
  for (const interceptor of interceptors) {
1567
1663
  if (interceptor.type === "request") {
@@ -1608,11 +1704,29 @@ function ImagesAdminApi(sdk, args) {
1608
1704
  return resp.response;
1609
1705
  }
1610
1706
  return {
1707
+ /**
1708
+ * 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]
1709
+ */
1611
1710
  getImages,
1711
+ /**
1712
+ * Returns information regarding the account&#39;s usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1713
+ */
1612
1714
  getImagesStorage,
1715
+ /**
1716
+ * 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]
1717
+ */
1613
1718
  deleteImage_ByImageId,
1719
+ /**
1720
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1721
+ */
1614
1722
  getImage_ByImageId,
1723
+ /**
1724
+ * This allows editing of the image name, toggling `IsProtected`, or adding &amp; removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
1725
+ */
1615
1726
  patchImage_ByImageId,
1727
+ /**
1728
+ * Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
1729
+ */
1616
1730
  createRestore_ByImageId
1617
1731
  };
1618
1732
  }
@@ -1728,6 +1842,7 @@ var DsHistoryEvent = import_zod45.z.object({
1728
1842
  reason: import_zod45.z.string(),
1729
1843
  region: import_zod45.z.string(),
1730
1844
  serverId: import_zod45.z.string(),
1845
+ sessionId: import_zod45.z.string(),
1731
1846
  status: import_zod45.z.string()
1732
1847
  });
1733
1848
 
@@ -1827,9 +1942,12 @@ var ServersAdmin$ = class {
1827
1942
  function ServersAdminApi(sdk, args) {
1828
1943
  const sdkAssembly = sdk.assembly();
1829
1944
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1830
- const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1945
+ const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1946
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1947
+ ...args?.axiosConfig?.request
1948
+ });
1831
1949
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1832
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1950
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1833
1951
  const axiosInstance = import_sdk16.Network.create(requestConfig);
1834
1952
  for (const interceptor of interceptors) {
1835
1953
  if (interceptor.type === "request") {
@@ -1864,9 +1982,21 @@ function ServersAdminApi(sdk, args) {
1864
1982
  return resp.response;
1865
1983
  }
1866
1984
  return {
1985
+ /**
1986
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1987
+ */
1867
1988
  getServer_ByServerId,
1989
+ /**
1990
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1991
+ */
1868
1992
  getHistory_ByServerId,
1993
+ /**
1994
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1995
+ */
1869
1996
  getServersHistory_ByFleetId,
1997
+ /**
1998
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
1999
+ */
1870
2000
  getConnectioninfo_ByServerId
1871
2001
  };
1872
2002
  }
@@ -1969,9 +2099,12 @@ var Account$ = class {
1969
2099
  function AccountApi(sdk, args) {
1970
2100
  const sdkAssembly = sdk.assembly();
1971
2101
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1972
- const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2102
+ const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
2103
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
2104
+ ...args?.axiosConfig?.request
2105
+ });
1973
2106
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1974
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2107
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1975
2108
  const axiosInstance = import_sdk18.Network.create(requestConfig);
1976
2109
  for (const interceptor of interceptors) {
1977
2110
  if (interceptor.type === "request") {
@@ -1988,6 +2121,9 @@ function AccountApi(sdk, args) {
1988
2121
  return resp.response;
1989
2122
  }
1990
2123
  return {
2124
+ /**
2125
+ * Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
2126
+ */
1991
2127
  getAccount
1992
2128
  };
1993
2129
  }
@@ -2039,9 +2175,12 @@ var AmsInfo$ = class {
2039
2175
  function AmsInfoApi(sdk, args) {
2040
2176
  const sdkAssembly = sdk.assembly();
2041
2177
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2042
- const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2178
+ const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
2179
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
2180
+ ...args?.axiosConfig?.request
2181
+ });
2043
2182
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2044
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2183
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
2045
2184
  const axiosInstance = import_sdk20.Network.create(requestConfig);
2046
2185
  for (const interceptor of interceptors) {
2047
2186
  if (interceptor.type === "request") {
@@ -2112,9 +2251,12 @@ var Auth$ = class {
2112
2251
  function AuthApi(sdk, args) {
2113
2252
  const sdkAssembly = sdk.assembly();
2114
2253
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2115
- const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2254
+ const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
2255
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
2256
+ ...args?.axiosConfig?.request
2257
+ });
2116
2258
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2117
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2259
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
2118
2260
  const axiosInstance = import_sdk22.Network.create(requestConfig);
2119
2261
  for (const interceptor of interceptors) {
2120
2262
  if (interceptor.type === "request") {
@@ -2131,6 +2273,9 @@ function AuthApi(sdk, args) {
2131
2273
  return resp.response;
2132
2274
  }
2133
2275
  return {
2276
+ /**
2277
+ * Check if fleet commander is authorized to talk to AMS with this IAM
2278
+ */
2134
2279
  getAuth
2135
2280
  };
2136
2281
  }
@@ -2182,9 +2327,12 @@ var FleetCommander$ = class {
2182
2327
  function FleetCommanderApi(sdk, args) {
2183
2328
  const sdkAssembly = sdk.assembly();
2184
2329
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2185
- const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2330
+ const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
2331
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
2332
+ ...args?.axiosConfig?.request
2333
+ });
2186
2334
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2187
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2335
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
2188
2336
  const axiosInstance = import_sdk24.Network.create(requestConfig);
2189
2337
  for (const interceptor of interceptors) {
2190
2338
  if (interceptor.type === "request") {
@@ -2269,9 +2417,12 @@ var Fleets$ = class {
2269
2417
  function FleetsApi(sdk, args) {
2270
2418
  const sdkAssembly = sdk.assembly();
2271
2419
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2272
- const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2420
+ const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
2421
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
2422
+ ...args?.axiosConfig?.request
2423
+ });
2273
2424
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2274
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2425
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
2275
2426
  const axiosInstance = import_sdk26.Network.create(requestConfig);
2276
2427
  for (const interceptor of interceptors) {
2277
2428
  if (interceptor.type === "request") {
@@ -2294,7 +2445,13 @@ function FleetsApi(sdk, args) {
2294
2445
  return resp.response;
2295
2446
  }
2296
2447
  return {
2448
+ /**
2449
+ * 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&#39;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]
2450
+ */
2297
2451
  updateServerClaim,
2452
+ /**
2453
+ * Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
2454
+ */
2298
2455
  updateClaim_ByFleetId
2299
2456
  };
2300
2457
  }
@@ -2374,9 +2531,12 @@ var Watchdogs$ = class {
2374
2531
  function WatchdogsApi(sdk, args) {
2375
2532
  const sdkAssembly = sdk.assembly();
2376
2533
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
2377
- const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
2534
+ const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
2535
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
2536
+ ...args?.axiosConfig?.request
2537
+ });
2378
2538
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
2379
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
2539
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
2380
2540
  const axiosInstance = import_sdk28.Network.create(requestConfig);
2381
2541
  for (const interceptor of interceptors) {
2382
2542
  if (interceptor.type === "request") {
@@ -2399,7 +2559,13 @@ function WatchdogsApi(sdk, args) {
2399
2559
  return resp.response;
2400
2560
  }
2401
2561
  return {
2562
+ /**
2563
+ * This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
2564
+ */
2402
2565
  getConnect_ByWatchdogId,
2566
+ /**
2567
+ * Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
2568
+ */
2403
2569
  getConnect_ByWatchdogId_ByNS
2404
2570
  };
2405
2571
  }
@@ -1,7 +1,7 @@
1
1
  import { AccelByteSDK, SdkSetConfigParam, ApiError } from '@accelbyte/sdk';
2
2
  import { AxiosError, AxiosResponse } from 'axios';
3
3
  import { UseQueryOptions, UseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
4
- import { A as AccountResponse, b as AccountCreateResponse, a as AccountCreateRequest, c as AccountLinkTokenResponse, e as AccountLinkResponse, d as AccountLinkRequest, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, l as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, p as FleetCreateResponse, o as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, B as FleetClaimResponse, z as FleetClaimByKeysReq, C as FleetClaimReq } from './FleetClaimResponse-CS_GmAA_.cjs';
4
+ import { A as AccountResponse, b as AccountCreateResponse, a as AccountCreateRequest, c as AccountLinkTokenResponse, e as AccountLinkResponse, d as AccountLinkRequest, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, l as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, p as FleetCreateResponse, o as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, B as FleetClaimResponse, z as FleetClaimByKeysReq, C as FleetClaimReq } from './FleetClaimResponse-D9jxThLx.cjs';
5
5
  import 'zod';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { AccelByteSDK, SdkSetConfigParam, ApiError } from '@accelbyte/sdk';
2
2
  import { AxiosError, AxiosResponse } from 'axios';
3
3
  import { UseQueryOptions, UseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
4
- import { A as AccountResponse, b as AccountCreateResponse, a as AccountCreateRequest, c as AccountLinkTokenResponse, e as AccountLinkResponse, d as AccountLinkRequest, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, l as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, p as FleetCreateResponse, o as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, B as FleetClaimResponse, z as FleetClaimByKeysReq, C as FleetClaimReq } from './FleetClaimResponse-CS_GmAA_.js';
4
+ import { A as AccountResponse, b as AccountCreateResponse, a as AccountCreateRequest, c as AccountLinkTokenResponse, e as AccountLinkResponse, d as AccountLinkRequest, f as AmsRegionsResponse, g as AvailableInstanceTypesResponse, Q as QoSEndpointResponse, U as UpdateServerRequest, h as ArtifactListResponse, i as ArtifactUsageResponse, j as ArtifactUrlResponse, F as FleetArtifactsSampleRules, D as DevelopmentServerConfigurationListResponse, l as DevelopmentServerConfigurationCreateResponse, k as DevelopmentServerConfigurationCreateRequest, m as DevelopmentServerConfigurationGetResponse, n as FleetListResponse, p as FleetCreateResponse, o as FleetParameters, q as FleetGetResponse, r as FleetServersResponse, I as ImageList, s as ImageStorage, t as ImageDetails, u as ImageUpdate, v as FleetServerInfoResponse, w as FleetServerHistoryResponse, x as DsHistoryList, y as FleetServerConnectionInfoResponse, B as FleetClaimResponse, z as FleetClaimByKeysReq, C as FleetClaimReq } from './FleetClaimResponse-D9jxThLx.js';
5
5
  import 'zod';
6
6
 
7
7
  /**
@@ -13,7 +13,7 @@ import {
13
13
  ImagesAdminApi,
14
14
  ServersAdminApi,
15
15
  WatchdogsApi
16
- } from "./chunk-TMBQO77A.js";
16
+ } from "./chunk-M6F62AGQ.js";
17
17
 
18
18
  // src/generated-admin/queries/AccountAdmin.query.ts
19
19
  import { useMutation, useQuery } from "@tanstack/react-query";