@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.
package/dist/index.cjs CHANGED
@@ -199,9 +199,12 @@ var AccountAdmin$ = class {
199
199
  function AccountAdminApi(sdk, args) {
200
200
  const sdkAssembly = sdk.assembly();
201
201
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
202
- const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
202
+ const requestConfig = import_sdk2.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
203
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
204
+ ...args?.axiosConfig?.request
205
+ });
203
206
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
204
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
207
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
205
208
  const axiosInstance = import_sdk2.Network.create(requestConfig);
206
209
  for (const interceptor of interceptors) {
207
210
  if (interceptor.type === "request") {
@@ -236,9 +239,21 @@ function AccountAdminApi(sdk, args) {
236
239
  return resp.response;
237
240
  }
238
241
  return {
242
+ /**
243
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
244
+ */
239
245
  getAccount,
246
+ /**
247
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
248
+ */
240
249
  createAccount,
250
+ /**
251
+ * 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]
252
+ */
241
253
  getAccountLink,
254
+ /**
255
+ * 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]
256
+ */
242
257
  createAccountLink
243
258
  };
244
259
  }
@@ -308,9 +323,12 @@ var AmsInfoAdmin$ = class {
308
323
  function AmsInfoAdminApi(sdk, args) {
309
324
  const sdkAssembly = sdk.assembly();
310
325
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
311
- const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
326
+ const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
327
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
328
+ ...args?.axiosConfig?.request
329
+ });
312
330
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
313
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
331
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
314
332
  const axiosInstance = import_sdk4.Network.create(requestConfig);
315
333
  for (const interceptor of interceptors) {
316
334
  if (interceptor.type === "request") {
@@ -333,7 +351,13 @@ function AmsInfoAdminApi(sdk, args) {
333
351
  return resp.response;
334
352
  }
335
353
  return {
354
+ /**
355
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
356
+ */
336
357
  getRegions,
358
+ /**
359
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
360
+ */
337
361
  getSupportedInstances
338
362
  };
339
363
  }
@@ -401,9 +425,12 @@ var AmsQoSAdmin$ = class {
401
425
  function AmsQoSAdminApi(sdk, args) {
402
426
  const sdkAssembly = sdk.assembly();
403
427
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
404
- const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
428
+ const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
429
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
430
+ ...args?.axiosConfig?.request
431
+ });
405
432
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
406
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
433
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
407
434
  const axiosInstance = import_sdk6.Network.create(requestConfig);
408
435
  for (const interceptor of interceptors) {
409
436
  if (interceptor.type === "request") {
@@ -426,7 +453,13 @@ function AmsQoSAdminApi(sdk, args) {
426
453
  return resp.response;
427
454
  }
428
455
  return {
456
+ /**
457
+ * ``` 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
458
+ */
429
459
  getQos,
460
+ /**
461
+ * ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
462
+ */
430
463
  patchQo_ByRegion
431
464
  };
432
465
  }
@@ -577,9 +610,12 @@ var ArtifactsAdmin$ = class {
577
610
  function ArtifactsAdminApi(sdk, args) {
578
611
  const sdkAssembly = sdk.assembly();
579
612
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
580
- const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
613
+ const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
614
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
615
+ ...args?.axiosConfig?.request
616
+ });
581
617
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
582
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
618
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
583
619
  const axiosInstance = import_sdk8.Network.create(requestConfig);
584
620
  for (const interceptor of interceptors) {
585
621
  if (interceptor.type === "request") {
@@ -632,12 +668,33 @@ function ArtifactsAdminApi(sdk, args) {
632
668
  return resp.response;
633
669
  }
634
670
  return {
671
+ /**
672
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
673
+ */
635
674
  deleteArtifact,
675
+ /**
676
+ * 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]
677
+ */
636
678
  getArtifacts,
679
+ /**
680
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
681
+ */
637
682
  getArtifactsUsage,
683
+ /**
684
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
685
+ */
638
686
  deleteArtifact_ByArtifactId,
687
+ /**
688
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
689
+ */
639
690
  getUrl_ByArtifactId,
691
+ /**
692
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
693
+ */
640
694
  getArtifactsSamplingRules_ByFleetId,
695
+ /**
696
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
697
+ */
641
698
  updateArtifactsSamplingRule_ByFleetId
642
699
  };
643
700
  }
@@ -734,9 +791,12 @@ var DevelopmentAdmin$ = class {
734
791
  function DevelopmentAdminApi(sdk, args) {
735
792
  const sdkAssembly = sdk.assembly();
736
793
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
737
- const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
794
+ const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
795
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
796
+ ...args?.axiosConfig?.request
797
+ });
738
798
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
739
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
799
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
740
800
  const axiosInstance = import_sdk10.Network.create(requestConfig);
741
801
  for (const interceptor of interceptors) {
742
802
  if (interceptor.type === "request") {
@@ -771,9 +831,21 @@ function DevelopmentAdminApi(sdk, args) {
771
831
  return resp.response;
772
832
  }
773
833
  return {
834
+ /**
835
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
836
+ */
774
837
  getDevelopmentServerConfigurations,
838
+ /**
839
+ * Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
840
+ */
775
841
  createDevelopmentServerConfiguration,
842
+ /**
843
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
844
+ */
776
845
  deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId,
846
+ /**
847
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
848
+ */
777
849
  getDevelopmentServerConfiguration_ByDevelopmentServerConfigId
778
850
  };
779
851
  }
@@ -987,9 +1059,12 @@ var FleetsAdmin$ = class {
987
1059
  function FleetsAdminApi(sdk, args) {
988
1060
  const sdkAssembly = sdk.assembly();
989
1061
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
990
- const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1062
+ const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1063
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1064
+ ...args?.axiosConfig?.request
1065
+ });
991
1066
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
992
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1067
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
993
1068
  const axiosInstance = import_sdk12.Network.create(requestConfig);
994
1069
  for (const interceptor of interceptors) {
995
1070
  if (interceptor.type === "request") {
@@ -1036,11 +1111,29 @@ function FleetsAdminApi(sdk, args) {
1036
1111
  return resp.response;
1037
1112
  }
1038
1113
  return {
1114
+ /**
1115
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1116
+ */
1039
1117
  getFleets,
1118
+ /**
1119
+ * Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
1120
+ */
1040
1121
  createFleet,
1122
+ /**
1123
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
1124
+ */
1041
1125
  deleteFleet_ByFleetId,
1126
+ /**
1127
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1128
+ */
1042
1129
  getFleet_ByFleetId,
1130
+ /**
1131
+ * Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
1132
+ */
1043
1133
  updateFleet_ByFleetId,
1134
+ /**
1135
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1136
+ */
1044
1137
  getServers_ByFleetId
1045
1138
  };
1046
1139
  }
@@ -1175,9 +1268,12 @@ var ImagesAdmin$ = class {
1175
1268
  function ImagesAdminApi(sdk, args) {
1176
1269
  const sdkAssembly = sdk.assembly();
1177
1270
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1178
- const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1271
+ const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1272
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1273
+ ...args?.axiosConfig?.request
1274
+ });
1179
1275
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1180
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1276
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1181
1277
  const axiosInstance = import_sdk14.Network.create(requestConfig);
1182
1278
  for (const interceptor of interceptors) {
1183
1279
  if (interceptor.type === "request") {
@@ -1224,11 +1320,29 @@ function ImagesAdminApi(sdk, args) {
1224
1320
  return resp.response;
1225
1321
  }
1226
1322
  return {
1323
+ /**
1324
+ * 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]
1325
+ */
1227
1326
  getImages,
1327
+ /**
1328
+ * Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1329
+ */
1228
1330
  getImagesStorage,
1331
+ /**
1332
+ * 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]
1333
+ */
1229
1334
  deleteImage_ByImageId,
1335
+ /**
1336
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
1337
+ */
1230
1338
  getImage_ByImageId,
1339
+ /**
1340
+ * This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
1341
+ */
1231
1342
  patchImage_ByImageId,
1343
+ /**
1344
+ * Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
1345
+ */
1232
1346
  createRestore_ByImageId
1233
1347
  };
1234
1348
  }
@@ -1251,6 +1365,7 @@ var DsHistoryEvent = import_zod45.z.object({
1251
1365
  reason: import_zod45.z.string(),
1252
1366
  region: import_zod45.z.string(),
1253
1367
  serverId: import_zod45.z.string(),
1368
+ sessionId: import_zod45.z.string(),
1254
1369
  status: import_zod45.z.string()
1255
1370
  });
1256
1371
 
@@ -1350,9 +1465,12 @@ var ServersAdmin$ = class {
1350
1465
  function ServersAdminApi(sdk, args) {
1351
1466
  const sdkAssembly = sdk.assembly();
1352
1467
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1353
- const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1468
+ const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1469
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1470
+ ...args?.axiosConfig?.request
1471
+ });
1354
1472
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1355
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1473
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1356
1474
  const axiosInstance = import_sdk16.Network.create(requestConfig);
1357
1475
  for (const interceptor of interceptors) {
1358
1476
  if (interceptor.type === "request") {
@@ -1387,9 +1505,21 @@ function ServersAdminApi(sdk, args) {
1387
1505
  return resp.response;
1388
1506
  }
1389
1507
  return {
1508
+ /**
1509
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1510
+ */
1390
1511
  getServer_ByServerId,
1512
+ /**
1513
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1514
+ */
1391
1515
  getHistory_ByServerId,
1516
+ /**
1517
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
1518
+ */
1392
1519
  getServersHistory_ByFleetId,
1520
+ /**
1521
+ * Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
1522
+ */
1393
1523
  getConnectioninfo_ByServerId
1394
1524
  };
1395
1525
  }
@@ -1422,9 +1552,12 @@ var Account$ = class {
1422
1552
  function AccountApi(sdk, args) {
1423
1553
  const sdkAssembly = sdk.assembly();
1424
1554
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1425
- const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1555
+ const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1556
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1557
+ ...args?.axiosConfig?.request
1558
+ });
1426
1559
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1427
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1560
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1428
1561
  const axiosInstance = import_sdk18.Network.create(requestConfig);
1429
1562
  for (const interceptor of interceptors) {
1430
1563
  if (interceptor.type === "request") {
@@ -1441,6 +1574,9 @@ function AccountApi(sdk, args) {
1441
1574
  return resp.response;
1442
1575
  }
1443
1576
  return {
1577
+ /**
1578
+ * Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
1579
+ */
1444
1580
  getAccount
1445
1581
  };
1446
1582
  }
@@ -1471,9 +1607,12 @@ var AmsInfo$ = class {
1471
1607
  function AmsInfoApi(sdk, args) {
1472
1608
  const sdkAssembly = sdk.assembly();
1473
1609
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1474
- const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1610
+ const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1611
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1612
+ ...args?.axiosConfig?.request
1613
+ });
1475
1614
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1476
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1615
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1477
1616
  const axiosInstance = import_sdk20.Network.create(requestConfig);
1478
1617
  for (const interceptor of interceptors) {
1479
1618
  if (interceptor.type === "request") {
@@ -1523,9 +1662,12 @@ var Auth$ = class {
1523
1662
  function AuthApi(sdk, args) {
1524
1663
  const sdkAssembly = sdk.assembly();
1525
1664
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1526
- const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1665
+ const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1666
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1667
+ ...args?.axiosConfig?.request
1668
+ });
1527
1669
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1528
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1670
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1529
1671
  const axiosInstance = import_sdk22.Network.create(requestConfig);
1530
1672
  for (const interceptor of interceptors) {
1531
1673
  if (interceptor.type === "request") {
@@ -1542,6 +1684,9 @@ function AuthApi(sdk, args) {
1542
1684
  return resp.response;
1543
1685
  }
1544
1686
  return {
1687
+ /**
1688
+ * Check if fleet commander is authorized to talk to AMS with this IAM
1689
+ */
1545
1690
  getAuth
1546
1691
  };
1547
1692
  }
@@ -1572,9 +1717,12 @@ var FleetCommander$ = class {
1572
1717
  function FleetCommanderApi(sdk, args) {
1573
1718
  const sdkAssembly = sdk.assembly();
1574
1719
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1575
- const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1720
+ const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1721
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1722
+ ...args?.axiosConfig?.request
1723
+ });
1576
1724
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1577
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1725
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1578
1726
  const axiosInstance = import_sdk24.Network.create(requestConfig);
1579
1727
  for (const interceptor of interceptors) {
1580
1728
  if (interceptor.type === "request") {
@@ -1638,9 +1786,12 @@ var Fleets$ = class {
1638
1786
  function FleetsApi(sdk, args) {
1639
1787
  const sdkAssembly = sdk.assembly();
1640
1788
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1641
- const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1789
+ const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1790
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1791
+ ...args?.axiosConfig?.request
1792
+ });
1642
1793
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1643
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1794
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1644
1795
  const axiosInstance = import_sdk26.Network.create(requestConfig);
1645
1796
  for (const interceptor of interceptors) {
1646
1797
  if (interceptor.type === "request") {
@@ -1663,7 +1814,13 @@ function FleetsApi(sdk, args) {
1663
1814
  return resp.response;
1664
1815
  }
1665
1816
  return {
1817
+ /**
1818
+ * 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]
1819
+ */
1666
1820
  updateServerClaim,
1821
+ /**
1822
+ * Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
1823
+ */
1667
1824
  updateClaim_ByFleetId
1668
1825
  };
1669
1826
  }
@@ -1706,9 +1863,12 @@ var Watchdogs$ = class {
1706
1863
  function WatchdogsApi(sdk, args) {
1707
1864
  const sdkAssembly = sdk.assembly();
1708
1865
  const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
1709
- const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, args?.axiosConfig?.request);
1866
+ const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
1867
+ ...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
1868
+ ...args?.axiosConfig?.request
1869
+ });
1710
1870
  const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
1711
- const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
1871
+ const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
1712
1872
  const axiosInstance = import_sdk28.Network.create(requestConfig);
1713
1873
  for (const interceptor of interceptors) {
1714
1874
  if (interceptor.type === "request") {
@@ -1731,7 +1891,13 @@ function WatchdogsApi(sdk, args) {
1731
1891
  return resp.response;
1732
1892
  }
1733
1893
  return {
1894
+ /**
1895
+ * This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
1896
+ */
1734
1897
  getConnect_ByWatchdogId,
1898
+ /**
1899
+ * Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
1900
+ */
1735
1901
  getConnect_ByWatchdogId_ByNS
1736
1902
  };
1737
1903
  }