@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/{FleetClaimResponse-CS_GmAA_.d.cts → FleetClaimResponse-D9jxThLx.d.cts} +5 -0
- package/dist/{FleetClaimResponse-CS_GmAA_.d.ts → FleetClaimResponse-D9jxThLx.d.ts} +5 -0
- package/dist/all-query-imports.cjs +194 -28
- package/dist/all-query-imports.d.cts +1 -1
- package/dist/all-query-imports.d.ts +1 -1
- package/dist/all-query-imports.js +1 -1
- package/dist/{chunk-TMBQO77A.js → chunk-M6F62AGQ.js} +194 -28
- package/dist/index.cjs +194 -28
- package/dist/index.d.cts +127 -1
- package/dist/index.d.ts +127 -1
- package/dist/index.js +1 -1
- package/package.json +5 -4
|
@@ -82,9 +82,12 @@ import { ApiUtils, Network } from "@accelbyte/sdk";
|
|
|
82
82
|
function AccountAdminApi(sdk, args) {
|
|
83
83
|
const sdkAssembly = sdk.assembly();
|
|
84
84
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
85
|
-
const requestConfig = ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
85
|
+
const requestConfig = ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
86
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
87
|
+
...args?.axiosConfig?.request
|
|
88
|
+
});
|
|
86
89
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
87
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
90
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
88
91
|
const axiosInstance = Network.create(requestConfig);
|
|
89
92
|
for (const interceptor of interceptors) {
|
|
90
93
|
if (interceptor.type === "request") {
|
|
@@ -119,9 +122,21 @@ function AccountAdminApi(sdk, args) {
|
|
|
119
122
|
return resp.response;
|
|
120
123
|
}
|
|
121
124
|
return {
|
|
125
|
+
/**
|
|
126
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
|
|
127
|
+
*/
|
|
122
128
|
getAccount,
|
|
129
|
+
/**
|
|
130
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
|
|
131
|
+
*/
|
|
123
132
|
createAccount,
|
|
133
|
+
/**
|
|
134
|
+
* 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]
|
|
135
|
+
*/
|
|
124
136
|
getAccountLink,
|
|
137
|
+
/**
|
|
138
|
+
* 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]
|
|
139
|
+
*/
|
|
125
140
|
createAccountLink
|
|
126
141
|
};
|
|
127
142
|
}
|
|
@@ -185,9 +200,12 @@ import { ApiUtils as ApiUtils2, Network as Network2 } from "@accelbyte/sdk";
|
|
|
185
200
|
function AmsInfoAdminApi(sdk, args) {
|
|
186
201
|
const sdkAssembly = sdk.assembly();
|
|
187
202
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
188
|
-
const requestConfig = ApiUtils2.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
203
|
+
const requestConfig = ApiUtils2.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
204
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
205
|
+
...args?.axiosConfig?.request
|
|
206
|
+
});
|
|
189
207
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
190
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
208
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
191
209
|
const axiosInstance = Network2.create(requestConfig);
|
|
192
210
|
for (const interceptor of interceptors) {
|
|
193
211
|
if (interceptor.type === "request") {
|
|
@@ -210,7 +228,13 @@ function AmsInfoAdminApi(sdk, args) {
|
|
|
210
228
|
return resp.response;
|
|
211
229
|
}
|
|
212
230
|
return {
|
|
231
|
+
/**
|
|
232
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
233
|
+
*/
|
|
213
234
|
getRegions,
|
|
235
|
+
/**
|
|
236
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]
|
|
237
|
+
*/
|
|
214
238
|
getSupportedInstances
|
|
215
239
|
};
|
|
216
240
|
}
|
|
@@ -270,9 +294,12 @@ import { ApiUtils as ApiUtils3, Network as Network3 } from "@accelbyte/sdk";
|
|
|
270
294
|
function AmsQoSAdminApi(sdk, args) {
|
|
271
295
|
const sdkAssembly = sdk.assembly();
|
|
272
296
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
273
|
-
const requestConfig = ApiUtils3.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
297
|
+
const requestConfig = ApiUtils3.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
298
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
299
|
+
...args?.axiosConfig?.request
|
|
300
|
+
});
|
|
274
301
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
275
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
302
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
276
303
|
const axiosInstance = Network3.create(requestConfig);
|
|
277
304
|
for (const interceptor of interceptors) {
|
|
278
305
|
if (interceptor.type === "request") {
|
|
@@ -295,7 +322,13 @@ function AmsQoSAdminApi(sdk, args) {
|
|
|
295
322
|
return resp.response;
|
|
296
323
|
}
|
|
297
324
|
return {
|
|
325
|
+
/**
|
|
326
|
+
* ``` 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
|
|
327
|
+
*/
|
|
298
328
|
getQos,
|
|
329
|
+
/**
|
|
330
|
+
* ``` Required Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] This endpoint updates the registered QoS service's configurable configuration.
|
|
331
|
+
*/
|
|
299
332
|
patchQo_ByRegion
|
|
300
333
|
};
|
|
301
334
|
}
|
|
@@ -436,9 +469,12 @@ import { ApiUtils as ApiUtils4, Network as Network4 } from "@accelbyte/sdk";
|
|
|
436
469
|
function ArtifactsAdminApi(sdk, args) {
|
|
437
470
|
const sdkAssembly = sdk.assembly();
|
|
438
471
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
439
|
-
const requestConfig = ApiUtils4.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
472
|
+
const requestConfig = ApiUtils4.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
473
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
474
|
+
...args?.axiosConfig?.request
|
|
475
|
+
});
|
|
440
476
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
441
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
477
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
442
478
|
const axiosInstance = Network4.create(requestConfig);
|
|
443
479
|
for (const interceptor of interceptors) {
|
|
444
480
|
if (interceptor.type === "request") {
|
|
@@ -491,12 +527,33 @@ function ArtifactsAdminApi(sdk, args) {
|
|
|
491
527
|
return resp.response;
|
|
492
528
|
}
|
|
493
529
|
return {
|
|
530
|
+
/**
|
|
531
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]
|
|
532
|
+
*/
|
|
494
533
|
deleteArtifact,
|
|
534
|
+
/**
|
|
535
|
+
* 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]
|
|
536
|
+
*/
|
|
495
537
|
getArtifacts,
|
|
538
|
+
/**
|
|
539
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
540
|
+
*/
|
|
496
541
|
getArtifactsUsage,
|
|
542
|
+
/**
|
|
543
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]
|
|
544
|
+
*/
|
|
497
545
|
deleteArtifact_ByArtifactId,
|
|
546
|
+
/**
|
|
547
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
548
|
+
*/
|
|
498
549
|
getUrl_ByArtifactId,
|
|
550
|
+
/**
|
|
551
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]
|
|
552
|
+
*/
|
|
499
553
|
getArtifactsSamplingRules_ByFleetId,
|
|
554
|
+
/**
|
|
555
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]
|
|
556
|
+
*/
|
|
500
557
|
updateArtifactsSamplingRule_ByFleetId
|
|
501
558
|
};
|
|
502
559
|
}
|
|
@@ -589,9 +646,12 @@ import { ApiUtils as ApiUtils5, Network as Network5 } from "@accelbyte/sdk";
|
|
|
589
646
|
function DevelopmentAdminApi(sdk, args) {
|
|
590
647
|
const sdkAssembly = sdk.assembly();
|
|
591
648
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
592
|
-
const requestConfig = ApiUtils5.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
649
|
+
const requestConfig = ApiUtils5.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
650
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
651
|
+
...args?.axiosConfig?.request
|
|
652
|
+
});
|
|
593
653
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
594
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
654
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
595
655
|
const axiosInstance = Network5.create(requestConfig);
|
|
596
656
|
for (const interceptor of interceptors) {
|
|
597
657
|
if (interceptor.type === "request") {
|
|
@@ -626,9 +686,21 @@ function DevelopmentAdminApi(sdk, args) {
|
|
|
626
686
|
return resp.response;
|
|
627
687
|
}
|
|
628
688
|
return {
|
|
689
|
+
/**
|
|
690
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
691
|
+
*/
|
|
629
692
|
getDevelopmentServerConfigurations,
|
|
693
|
+
/**
|
|
694
|
+
* Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$ Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
695
|
+
*/
|
|
630
696
|
createDevelopmentServerConfiguration,
|
|
697
|
+
/**
|
|
698
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
|
|
699
|
+
*/
|
|
631
700
|
deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId,
|
|
701
|
+
/**
|
|
702
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
703
|
+
*/
|
|
632
704
|
getDevelopmentServerConfiguration_ByDevelopmentServerConfigId
|
|
633
705
|
};
|
|
634
706
|
}
|
|
@@ -828,9 +900,12 @@ import { ApiUtils as ApiUtils6, Network as Network6 } from "@accelbyte/sdk";
|
|
|
828
900
|
function FleetsAdminApi(sdk, args) {
|
|
829
901
|
const sdkAssembly = sdk.assembly();
|
|
830
902
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
831
|
-
const requestConfig = ApiUtils6.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
903
|
+
const requestConfig = ApiUtils6.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
904
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
905
|
+
...args?.axiosConfig?.request
|
|
906
|
+
});
|
|
832
907
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
833
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
908
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
834
909
|
const axiosInstance = Network6.create(requestConfig);
|
|
835
910
|
for (const interceptor of interceptors) {
|
|
836
911
|
if (interceptor.type === "request") {
|
|
@@ -877,11 +952,29 @@ function FleetsAdminApi(sdk, args) {
|
|
|
877
952
|
return resp.response;
|
|
878
953
|
}
|
|
879
954
|
return {
|
|
955
|
+
/**
|
|
956
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
957
|
+
*/
|
|
880
958
|
getFleets,
|
|
959
|
+
/**
|
|
960
|
+
* Optionally, sampling rules for the fleet can also be specified Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
|
|
961
|
+
*/
|
|
881
962
|
createFleet,
|
|
963
|
+
/**
|
|
964
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
|
|
965
|
+
*/
|
|
882
966
|
deleteFleet_ByFleetId,
|
|
967
|
+
/**
|
|
968
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
969
|
+
*/
|
|
883
970
|
getFleet_ByFleetId,
|
|
971
|
+
/**
|
|
972
|
+
* Optionally, sampling rules for the fleet can also be updated Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
|
|
973
|
+
*/
|
|
884
974
|
updateFleet_ByFleetId,
|
|
975
|
+
/**
|
|
976
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
977
|
+
*/
|
|
885
978
|
getServers_ByFleetId
|
|
886
979
|
};
|
|
887
980
|
}
|
|
@@ -1008,9 +1101,12 @@ import { ApiUtils as ApiUtils7, Network as Network7 } from "@accelbyte/sdk";
|
|
|
1008
1101
|
function ImagesAdminApi(sdk, args) {
|
|
1009
1102
|
const sdkAssembly = sdk.assembly();
|
|
1010
1103
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1011
|
-
const requestConfig = ApiUtils7.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1104
|
+
const requestConfig = ApiUtils7.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1105
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1106
|
+
...args?.axiosConfig?.request
|
|
1107
|
+
});
|
|
1012
1108
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1013
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1109
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1014
1110
|
const axiosInstance = Network7.create(requestConfig);
|
|
1015
1111
|
for (const interceptor of interceptors) {
|
|
1016
1112
|
if (interceptor.type === "request") {
|
|
@@ -1057,11 +1153,29 @@ function ImagesAdminApi(sdk, args) {
|
|
|
1057
1153
|
return resp.response;
|
|
1058
1154
|
}
|
|
1059
1155
|
return {
|
|
1156
|
+
/**
|
|
1157
|
+
* 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]
|
|
1158
|
+
*/
|
|
1060
1159
|
getImages,
|
|
1160
|
+
/**
|
|
1161
|
+
* Returns information regarding the account's usage for images storage including the free tier quota Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
1162
|
+
*/
|
|
1061
1163
|
getImagesStorage,
|
|
1164
|
+
/**
|
|
1165
|
+
* 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]
|
|
1166
|
+
*/
|
|
1062
1167
|
deleteImage_ByImageId,
|
|
1168
|
+
/**
|
|
1169
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]
|
|
1170
|
+
*/
|
|
1063
1171
|
getImage_ByImageId,
|
|
1172
|
+
/**
|
|
1173
|
+
* This allows editing of the image name, toggling `IsProtected`, or adding & removal of tags Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]
|
|
1174
|
+
*/
|
|
1064
1175
|
patchImage_ByImageId,
|
|
1176
|
+
/**
|
|
1177
|
+
* Unmarks an image for deletion. The image will be available for fleets. Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]
|
|
1178
|
+
*/
|
|
1065
1179
|
createRestore_ByImageId
|
|
1066
1180
|
};
|
|
1067
1181
|
}
|
|
@@ -1075,6 +1189,7 @@ var DsHistoryEvent = z45.object({
|
|
|
1075
1189
|
reason: z45.string(),
|
|
1076
1190
|
region: z45.string(),
|
|
1077
1191
|
serverId: z45.string(),
|
|
1192
|
+
sessionId: z45.string(),
|
|
1078
1193
|
status: z45.string()
|
|
1079
1194
|
});
|
|
1080
1195
|
|
|
@@ -1175,9 +1290,12 @@ import { ApiUtils as ApiUtils8, Network as Network8 } from "@accelbyte/sdk";
|
|
|
1175
1290
|
function ServersAdminApi(sdk, args) {
|
|
1176
1291
|
const sdkAssembly = sdk.assembly();
|
|
1177
1292
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1178
|
-
const requestConfig = ApiUtils8.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1293
|
+
const requestConfig = ApiUtils8.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1294
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1295
|
+
...args?.axiosConfig?.request
|
|
1296
|
+
});
|
|
1179
1297
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1180
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1298
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1181
1299
|
const axiosInstance = Network8.create(requestConfig);
|
|
1182
1300
|
for (const interceptor of interceptors) {
|
|
1183
1301
|
if (interceptor.type === "request") {
|
|
@@ -1212,9 +1330,21 @@ function ServersAdminApi(sdk, args) {
|
|
|
1212
1330
|
return resp.response;
|
|
1213
1331
|
}
|
|
1214
1332
|
return {
|
|
1333
|
+
/**
|
|
1334
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1335
|
+
*/
|
|
1215
1336
|
getServer_ByServerId,
|
|
1337
|
+
/**
|
|
1338
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1339
|
+
*/
|
|
1216
1340
|
getHistory_ByServerId,
|
|
1341
|
+
/**
|
|
1342
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
|
|
1343
|
+
*/
|
|
1217
1344
|
getServersHistory_ByFleetId,
|
|
1345
|
+
/**
|
|
1346
|
+
* Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]
|
|
1347
|
+
*/
|
|
1218
1348
|
getConnectioninfo_ByServerId
|
|
1219
1349
|
};
|
|
1220
1350
|
}
|
|
@@ -1245,9 +1375,12 @@ import { ApiUtils as ApiUtils9, Network as Network9 } from "@accelbyte/sdk";
|
|
|
1245
1375
|
function AccountApi(sdk, args) {
|
|
1246
1376
|
const sdkAssembly = sdk.assembly();
|
|
1247
1377
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1248
|
-
const requestConfig = ApiUtils9.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1378
|
+
const requestConfig = ApiUtils9.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1379
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1380
|
+
...args?.axiosConfig?.request
|
|
1381
|
+
});
|
|
1249
1382
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1250
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1383
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1251
1384
|
const axiosInstance = Network9.create(requestConfig);
|
|
1252
1385
|
for (const interceptor of interceptors) {
|
|
1253
1386
|
if (interceptor.type === "request") {
|
|
@@ -1264,6 +1397,9 @@ function AccountApi(sdk, args) {
|
|
|
1264
1397
|
return resp.response;
|
|
1265
1398
|
}
|
|
1266
1399
|
return {
|
|
1400
|
+
/**
|
|
1401
|
+
* Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
|
|
1402
|
+
*/
|
|
1267
1403
|
getAccount
|
|
1268
1404
|
};
|
|
1269
1405
|
}
|
|
@@ -1292,9 +1428,12 @@ import { ApiUtils as ApiUtils10, Network as Network10 } from "@accelbyte/sdk";
|
|
|
1292
1428
|
function AmsInfoApi(sdk, args) {
|
|
1293
1429
|
const sdkAssembly = sdk.assembly();
|
|
1294
1430
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1295
|
-
const requestConfig = ApiUtils10.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1431
|
+
const requestConfig = ApiUtils10.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1432
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1433
|
+
...args?.axiosConfig?.request
|
|
1434
|
+
});
|
|
1296
1435
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1297
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1436
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1298
1437
|
const axiosInstance = Network10.create(requestConfig);
|
|
1299
1438
|
for (const interceptor of interceptors) {
|
|
1300
1439
|
if (interceptor.type === "request") {
|
|
@@ -1342,9 +1481,12 @@ import { ApiUtils as ApiUtils11, Network as Network11 } from "@accelbyte/sdk";
|
|
|
1342
1481
|
function AuthApi(sdk, args) {
|
|
1343
1482
|
const sdkAssembly = sdk.assembly();
|
|
1344
1483
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1345
|
-
const requestConfig = ApiUtils11.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1484
|
+
const requestConfig = ApiUtils11.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1485
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1486
|
+
...args?.axiosConfig?.request
|
|
1487
|
+
});
|
|
1346
1488
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1347
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1489
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1348
1490
|
const axiosInstance = Network11.create(requestConfig);
|
|
1349
1491
|
for (const interceptor of interceptors) {
|
|
1350
1492
|
if (interceptor.type === "request") {
|
|
@@ -1361,6 +1503,9 @@ function AuthApi(sdk, args) {
|
|
|
1361
1503
|
return resp.response;
|
|
1362
1504
|
}
|
|
1363
1505
|
return {
|
|
1506
|
+
/**
|
|
1507
|
+
* Check if fleet commander is authorized to talk to AMS with this IAM
|
|
1508
|
+
*/
|
|
1364
1509
|
getAuth
|
|
1365
1510
|
};
|
|
1366
1511
|
}
|
|
@@ -1389,9 +1534,12 @@ import { ApiUtils as ApiUtils12, Network as Network12 } from "@accelbyte/sdk";
|
|
|
1389
1534
|
function FleetCommanderApi(sdk, args) {
|
|
1390
1535
|
const sdkAssembly = sdk.assembly();
|
|
1391
1536
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1392
|
-
const requestConfig = ApiUtils12.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1537
|
+
const requestConfig = ApiUtils12.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1538
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1539
|
+
...args?.axiosConfig?.request
|
|
1540
|
+
});
|
|
1393
1541
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1394
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1542
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1395
1543
|
const axiosInstance = Network12.create(requestConfig);
|
|
1396
1544
|
for (const interceptor of interceptors) {
|
|
1397
1545
|
if (interceptor.type === "request") {
|
|
@@ -1451,9 +1599,12 @@ import { ApiUtils as ApiUtils13, Network as Network13 } from "@accelbyte/sdk";
|
|
|
1451
1599
|
function FleetsApi(sdk, args) {
|
|
1452
1600
|
const sdkAssembly = sdk.assembly();
|
|
1453
1601
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1454
|
-
const requestConfig = ApiUtils13.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1602
|
+
const requestConfig = ApiUtils13.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1603
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1604
|
+
...args?.axiosConfig?.request
|
|
1605
|
+
});
|
|
1455
1606
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1456
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1607
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1457
1608
|
const axiosInstance = Network13.create(requestConfig);
|
|
1458
1609
|
for (const interceptor of interceptors) {
|
|
1459
1610
|
if (interceptor.type === "request") {
|
|
@@ -1476,7 +1627,13 @@ function FleetsApi(sdk, args) {
|
|
|
1476
1627
|
return resp.response;
|
|
1477
1628
|
}
|
|
1478
1629
|
return {
|
|
1630
|
+
/**
|
|
1631
|
+
* 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]
|
|
1632
|
+
*/
|
|
1479
1633
|
updateServerClaim,
|
|
1634
|
+
/**
|
|
1635
|
+
* Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]
|
|
1636
|
+
*/
|
|
1480
1637
|
updateClaim_ByFleetId
|
|
1481
1638
|
};
|
|
1482
1639
|
}
|
|
@@ -1517,9 +1674,12 @@ import { ApiUtils as ApiUtils14, Network as Network14 } from "@accelbyte/sdk";
|
|
|
1517
1674
|
function WatchdogsApi(sdk, args) {
|
|
1518
1675
|
const sdkAssembly = sdk.assembly();
|
|
1519
1676
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1520
|
-
const requestConfig = ApiUtils14.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1677
|
+
const requestConfig = ApiUtils14.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1678
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1679
|
+
...args?.axiosConfig?.request
|
|
1680
|
+
});
|
|
1521
1681
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1522
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1682
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1523
1683
|
const axiosInstance = Network14.create(requestConfig);
|
|
1524
1684
|
for (const interceptor of interceptors) {
|
|
1525
1685
|
if (interceptor.type === "request") {
|
|
@@ -1542,7 +1702,13 @@ function WatchdogsApi(sdk, args) {
|
|
|
1542
1702
|
return resp.response;
|
|
1543
1703
|
}
|
|
1544
1704
|
return {
|
|
1705
|
+
/**
|
|
1706
|
+
* This is to support local ds development scenarios Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
|
|
1707
|
+
*/
|
|
1545
1708
|
getConnect_ByWatchdogId,
|
|
1709
|
+
/**
|
|
1710
|
+
* Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
|
|
1711
|
+
*/
|
|
1546
1712
|
getConnect_ByWatchdogId_ByNS
|
|
1547
1713
|
};
|
|
1548
1714
|
}
|