@accelbyte/sdk-ams 0.0.0-dev-20240904015634 → 0.0.0-dev-20240906023252
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/all-query-imports.cjs +70 -28
- package/dist/all-query-imports.js +1 -1
- package/dist/{chunk-TMBQO77A.js → chunk-5DT3PMPA.js} +70 -28
- package/dist/index.cjs +70 -28
- package/dist/index.js +1 -1
- package/package.json +3 -3
|
@@ -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,
|
|
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") {
|
|
@@ -342,9 +345,12 @@ var AmsInfoAdmin$ = class {
|
|
|
342
345
|
function AmsInfoAdminApi(sdk, args) {
|
|
343
346
|
const sdkAssembly = sdk.assembly();
|
|
344
347
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
345
|
-
const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
348
|
+
const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
349
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
350
|
+
...args?.axiosConfig?.request
|
|
351
|
+
});
|
|
346
352
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
347
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
353
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
348
354
|
const axiosInstance = import_sdk4.Network.create(requestConfig);
|
|
349
355
|
for (const interceptor of interceptors) {
|
|
350
356
|
if (interceptor.type === "request") {
|
|
@@ -469,9 +475,12 @@ var AmsQoSAdmin$ = class {
|
|
|
469
475
|
function AmsQoSAdminApi(sdk, args) {
|
|
470
476
|
const sdkAssembly = sdk.assembly();
|
|
471
477
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
472
|
-
const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
478
|
+
const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
479
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
480
|
+
...args?.axiosConfig?.request
|
|
481
|
+
});
|
|
473
482
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
474
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
483
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
475
484
|
const axiosInstance = import_sdk6.Network.create(requestConfig);
|
|
476
485
|
for (const interceptor of interceptors) {
|
|
477
486
|
if (interceptor.type === "request") {
|
|
@@ -682,9 +691,12 @@ var ArtifactsAdmin$ = class {
|
|
|
682
691
|
function ArtifactsAdminApi(sdk, args) {
|
|
683
692
|
const sdkAssembly = sdk.assembly();
|
|
684
693
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
685
|
-
const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
694
|
+
const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
695
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
696
|
+
...args?.axiosConfig?.request
|
|
697
|
+
});
|
|
686
698
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
687
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
699
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
688
700
|
const axiosInstance = import_sdk8.Network.create(requestConfig);
|
|
689
701
|
for (const interceptor of interceptors) {
|
|
690
702
|
if (interceptor.type === "request") {
|
|
@@ -953,9 +965,12 @@ var DevelopmentAdmin$ = class {
|
|
|
953
965
|
function DevelopmentAdminApi(sdk, args) {
|
|
954
966
|
const sdkAssembly = sdk.assembly();
|
|
955
967
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
956
|
-
const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
968
|
+
const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
969
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
970
|
+
...args?.axiosConfig?.request
|
|
971
|
+
});
|
|
957
972
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
958
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
973
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
959
974
|
const axiosInstance = import_sdk10.Network.create(requestConfig);
|
|
960
975
|
for (const interceptor of interceptors) {
|
|
961
976
|
if (interceptor.type === "request") {
|
|
@@ -1277,9 +1292,12 @@ var FleetsAdmin$ = class {
|
|
|
1277
1292
|
function FleetsAdminApi(sdk, args) {
|
|
1278
1293
|
const sdkAssembly = sdk.assembly();
|
|
1279
1294
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1280
|
-
const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1295
|
+
const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1296
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1297
|
+
...args?.axiosConfig?.request
|
|
1298
|
+
});
|
|
1281
1299
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1282
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1300
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1283
1301
|
const axiosInstance = import_sdk12.Network.create(requestConfig);
|
|
1284
1302
|
for (const interceptor of interceptors) {
|
|
1285
1303
|
if (interceptor.type === "request") {
|
|
@@ -1559,9 +1577,12 @@ var ImagesAdmin$ = class {
|
|
|
1559
1577
|
function ImagesAdminApi(sdk, args) {
|
|
1560
1578
|
const sdkAssembly = sdk.assembly();
|
|
1561
1579
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1562
|
-
const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1580
|
+
const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1581
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1582
|
+
...args?.axiosConfig?.request
|
|
1583
|
+
});
|
|
1563
1584
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1564
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1585
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1565
1586
|
const axiosInstance = import_sdk14.Network.create(requestConfig);
|
|
1566
1587
|
for (const interceptor of interceptors) {
|
|
1567
1588
|
if (interceptor.type === "request") {
|
|
@@ -1827,9 +1848,12 @@ var ServersAdmin$ = class {
|
|
|
1827
1848
|
function ServersAdminApi(sdk, args) {
|
|
1828
1849
|
const sdkAssembly = sdk.assembly();
|
|
1829
1850
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1830
|
-
const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1851
|
+
const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1852
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1853
|
+
...args?.axiosConfig?.request
|
|
1854
|
+
});
|
|
1831
1855
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1832
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1856
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1833
1857
|
const axiosInstance = import_sdk16.Network.create(requestConfig);
|
|
1834
1858
|
for (const interceptor of interceptors) {
|
|
1835
1859
|
if (interceptor.type === "request") {
|
|
@@ -1969,9 +1993,12 @@ var Account$ = class {
|
|
|
1969
1993
|
function AccountApi(sdk, args) {
|
|
1970
1994
|
const sdkAssembly = sdk.assembly();
|
|
1971
1995
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1972
|
-
const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1996
|
+
const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1997
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1998
|
+
...args?.axiosConfig?.request
|
|
1999
|
+
});
|
|
1973
2000
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1974
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
2001
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1975
2002
|
const axiosInstance = import_sdk18.Network.create(requestConfig);
|
|
1976
2003
|
for (const interceptor of interceptors) {
|
|
1977
2004
|
if (interceptor.type === "request") {
|
|
@@ -2039,9 +2066,12 @@ var AmsInfo$ = class {
|
|
|
2039
2066
|
function AmsInfoApi(sdk, args) {
|
|
2040
2067
|
const sdkAssembly = sdk.assembly();
|
|
2041
2068
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
2042
|
-
const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
2069
|
+
const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
2070
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
2071
|
+
...args?.axiosConfig?.request
|
|
2072
|
+
});
|
|
2043
2073
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
2044
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
2074
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
2045
2075
|
const axiosInstance = import_sdk20.Network.create(requestConfig);
|
|
2046
2076
|
for (const interceptor of interceptors) {
|
|
2047
2077
|
if (interceptor.type === "request") {
|
|
@@ -2112,9 +2142,12 @@ var Auth$ = class {
|
|
|
2112
2142
|
function AuthApi(sdk, args) {
|
|
2113
2143
|
const sdkAssembly = sdk.assembly();
|
|
2114
2144
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
2115
|
-
const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
2145
|
+
const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
2146
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
2147
|
+
...args?.axiosConfig?.request
|
|
2148
|
+
});
|
|
2116
2149
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
2117
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
2150
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
2118
2151
|
const axiosInstance = import_sdk22.Network.create(requestConfig);
|
|
2119
2152
|
for (const interceptor of interceptors) {
|
|
2120
2153
|
if (interceptor.type === "request") {
|
|
@@ -2182,9 +2215,12 @@ var FleetCommander$ = class {
|
|
|
2182
2215
|
function FleetCommanderApi(sdk, args) {
|
|
2183
2216
|
const sdkAssembly = sdk.assembly();
|
|
2184
2217
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
2185
|
-
const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
2218
|
+
const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
2219
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
2220
|
+
...args?.axiosConfig?.request
|
|
2221
|
+
});
|
|
2186
2222
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
2187
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
2223
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
2188
2224
|
const axiosInstance = import_sdk24.Network.create(requestConfig);
|
|
2189
2225
|
for (const interceptor of interceptors) {
|
|
2190
2226
|
if (interceptor.type === "request") {
|
|
@@ -2269,9 +2305,12 @@ var Fleets$ = class {
|
|
|
2269
2305
|
function FleetsApi(sdk, args) {
|
|
2270
2306
|
const sdkAssembly = sdk.assembly();
|
|
2271
2307
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
2272
|
-
const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
2308
|
+
const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
2309
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
2310
|
+
...args?.axiosConfig?.request
|
|
2311
|
+
});
|
|
2273
2312
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
2274
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
2313
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
2275
2314
|
const axiosInstance = import_sdk26.Network.create(requestConfig);
|
|
2276
2315
|
for (const interceptor of interceptors) {
|
|
2277
2316
|
if (interceptor.type === "request") {
|
|
@@ -2374,9 +2413,12 @@ var Watchdogs$ = class {
|
|
|
2374
2413
|
function WatchdogsApi(sdk, args) {
|
|
2375
2414
|
const sdkAssembly = sdk.assembly();
|
|
2376
2415
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
2377
|
-
const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
2416
|
+
const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
2417
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
2418
|
+
...args?.axiosConfig?.request
|
|
2419
|
+
});
|
|
2378
2420
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
2379
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
2421
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
2380
2422
|
const axiosInstance = import_sdk28.Network.create(requestConfig);
|
|
2381
2423
|
for (const interceptor of interceptors) {
|
|
2382
2424
|
if (interceptor.type === "request") {
|
|
@@ -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") {
|
|
@@ -185,9 +188,12 @@ import { ApiUtils as ApiUtils2, Network as Network2 } from "@accelbyte/sdk";
|
|
|
185
188
|
function AmsInfoAdminApi(sdk, args) {
|
|
186
189
|
const sdkAssembly = sdk.assembly();
|
|
187
190
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
188
|
-
const requestConfig = ApiUtils2.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
191
|
+
const requestConfig = ApiUtils2.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
192
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
193
|
+
...args?.axiosConfig?.request
|
|
194
|
+
});
|
|
189
195
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
190
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
196
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
191
197
|
const axiosInstance = Network2.create(requestConfig);
|
|
192
198
|
for (const interceptor of interceptors) {
|
|
193
199
|
if (interceptor.type === "request") {
|
|
@@ -270,9 +276,12 @@ import { ApiUtils as ApiUtils3, Network as Network3 } from "@accelbyte/sdk";
|
|
|
270
276
|
function AmsQoSAdminApi(sdk, args) {
|
|
271
277
|
const sdkAssembly = sdk.assembly();
|
|
272
278
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
273
|
-
const requestConfig = ApiUtils3.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
279
|
+
const requestConfig = ApiUtils3.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
280
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
281
|
+
...args?.axiosConfig?.request
|
|
282
|
+
});
|
|
274
283
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
275
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
284
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
276
285
|
const axiosInstance = Network3.create(requestConfig);
|
|
277
286
|
for (const interceptor of interceptors) {
|
|
278
287
|
if (interceptor.type === "request") {
|
|
@@ -436,9 +445,12 @@ import { ApiUtils as ApiUtils4, Network as Network4 } from "@accelbyte/sdk";
|
|
|
436
445
|
function ArtifactsAdminApi(sdk, args) {
|
|
437
446
|
const sdkAssembly = sdk.assembly();
|
|
438
447
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
439
|
-
const requestConfig = ApiUtils4.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
448
|
+
const requestConfig = ApiUtils4.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
449
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
450
|
+
...args?.axiosConfig?.request
|
|
451
|
+
});
|
|
440
452
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
441
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
453
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
442
454
|
const axiosInstance = Network4.create(requestConfig);
|
|
443
455
|
for (const interceptor of interceptors) {
|
|
444
456
|
if (interceptor.type === "request") {
|
|
@@ -589,9 +601,12 @@ import { ApiUtils as ApiUtils5, Network as Network5 } from "@accelbyte/sdk";
|
|
|
589
601
|
function DevelopmentAdminApi(sdk, args) {
|
|
590
602
|
const sdkAssembly = sdk.assembly();
|
|
591
603
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
592
|
-
const requestConfig = ApiUtils5.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
604
|
+
const requestConfig = ApiUtils5.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
605
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
606
|
+
...args?.axiosConfig?.request
|
|
607
|
+
});
|
|
593
608
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
594
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
609
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
595
610
|
const axiosInstance = Network5.create(requestConfig);
|
|
596
611
|
for (const interceptor of interceptors) {
|
|
597
612
|
if (interceptor.type === "request") {
|
|
@@ -828,9 +843,12 @@ import { ApiUtils as ApiUtils6, Network as Network6 } from "@accelbyte/sdk";
|
|
|
828
843
|
function FleetsAdminApi(sdk, args) {
|
|
829
844
|
const sdkAssembly = sdk.assembly();
|
|
830
845
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
831
|
-
const requestConfig = ApiUtils6.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
846
|
+
const requestConfig = ApiUtils6.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
847
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
848
|
+
...args?.axiosConfig?.request
|
|
849
|
+
});
|
|
832
850
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
833
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
851
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
834
852
|
const axiosInstance = Network6.create(requestConfig);
|
|
835
853
|
for (const interceptor of interceptors) {
|
|
836
854
|
if (interceptor.type === "request") {
|
|
@@ -1008,9 +1026,12 @@ import { ApiUtils as ApiUtils7, Network as Network7 } from "@accelbyte/sdk";
|
|
|
1008
1026
|
function ImagesAdminApi(sdk, args) {
|
|
1009
1027
|
const sdkAssembly = sdk.assembly();
|
|
1010
1028
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1011
|
-
const requestConfig = ApiUtils7.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1029
|
+
const requestConfig = ApiUtils7.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1030
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1031
|
+
...args?.axiosConfig?.request
|
|
1032
|
+
});
|
|
1012
1033
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1013
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1034
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1014
1035
|
const axiosInstance = Network7.create(requestConfig);
|
|
1015
1036
|
for (const interceptor of interceptors) {
|
|
1016
1037
|
if (interceptor.type === "request") {
|
|
@@ -1175,9 +1196,12 @@ import { ApiUtils as ApiUtils8, Network as Network8 } from "@accelbyte/sdk";
|
|
|
1175
1196
|
function ServersAdminApi(sdk, args) {
|
|
1176
1197
|
const sdkAssembly = sdk.assembly();
|
|
1177
1198
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1178
|
-
const requestConfig = ApiUtils8.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1199
|
+
const requestConfig = ApiUtils8.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1200
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1201
|
+
...args?.axiosConfig?.request
|
|
1202
|
+
});
|
|
1179
1203
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1180
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1204
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1181
1205
|
const axiosInstance = Network8.create(requestConfig);
|
|
1182
1206
|
for (const interceptor of interceptors) {
|
|
1183
1207
|
if (interceptor.type === "request") {
|
|
@@ -1245,9 +1269,12 @@ import { ApiUtils as ApiUtils9, Network as Network9 } from "@accelbyte/sdk";
|
|
|
1245
1269
|
function AccountApi(sdk, args) {
|
|
1246
1270
|
const sdkAssembly = sdk.assembly();
|
|
1247
1271
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1248
|
-
const requestConfig = ApiUtils9.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1272
|
+
const requestConfig = ApiUtils9.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1273
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1274
|
+
...args?.axiosConfig?.request
|
|
1275
|
+
});
|
|
1249
1276
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1250
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1277
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1251
1278
|
const axiosInstance = Network9.create(requestConfig);
|
|
1252
1279
|
for (const interceptor of interceptors) {
|
|
1253
1280
|
if (interceptor.type === "request") {
|
|
@@ -1292,9 +1319,12 @@ import { ApiUtils as ApiUtils10, Network as Network10 } from "@accelbyte/sdk";
|
|
|
1292
1319
|
function AmsInfoApi(sdk, args) {
|
|
1293
1320
|
const sdkAssembly = sdk.assembly();
|
|
1294
1321
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1295
|
-
const requestConfig = ApiUtils10.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1322
|
+
const requestConfig = ApiUtils10.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1323
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1324
|
+
...args?.axiosConfig?.request
|
|
1325
|
+
});
|
|
1296
1326
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1297
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1327
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1298
1328
|
const axiosInstance = Network10.create(requestConfig);
|
|
1299
1329
|
for (const interceptor of interceptors) {
|
|
1300
1330
|
if (interceptor.type === "request") {
|
|
@@ -1342,9 +1372,12 @@ import { ApiUtils as ApiUtils11, Network as Network11 } from "@accelbyte/sdk";
|
|
|
1342
1372
|
function AuthApi(sdk, args) {
|
|
1343
1373
|
const sdkAssembly = sdk.assembly();
|
|
1344
1374
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1345
|
-
const requestConfig = ApiUtils11.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1375
|
+
const requestConfig = ApiUtils11.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1376
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1377
|
+
...args?.axiosConfig?.request
|
|
1378
|
+
});
|
|
1346
1379
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1347
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1380
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1348
1381
|
const axiosInstance = Network11.create(requestConfig);
|
|
1349
1382
|
for (const interceptor of interceptors) {
|
|
1350
1383
|
if (interceptor.type === "request") {
|
|
@@ -1389,9 +1422,12 @@ import { ApiUtils as ApiUtils12, Network as Network12 } from "@accelbyte/sdk";
|
|
|
1389
1422
|
function FleetCommanderApi(sdk, args) {
|
|
1390
1423
|
const sdkAssembly = sdk.assembly();
|
|
1391
1424
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1392
|
-
const requestConfig = ApiUtils12.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1425
|
+
const requestConfig = ApiUtils12.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1426
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1427
|
+
...args?.axiosConfig?.request
|
|
1428
|
+
});
|
|
1393
1429
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1394
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1430
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1395
1431
|
const axiosInstance = Network12.create(requestConfig);
|
|
1396
1432
|
for (const interceptor of interceptors) {
|
|
1397
1433
|
if (interceptor.type === "request") {
|
|
@@ -1451,9 +1487,12 @@ import { ApiUtils as ApiUtils13, Network as Network13 } from "@accelbyte/sdk";
|
|
|
1451
1487
|
function FleetsApi(sdk, args) {
|
|
1452
1488
|
const sdkAssembly = sdk.assembly();
|
|
1453
1489
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1454
|
-
const requestConfig = ApiUtils13.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1490
|
+
const requestConfig = ApiUtils13.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1491
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1492
|
+
...args?.axiosConfig?.request
|
|
1493
|
+
});
|
|
1455
1494
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1456
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1495
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1457
1496
|
const axiosInstance = Network13.create(requestConfig);
|
|
1458
1497
|
for (const interceptor of interceptors) {
|
|
1459
1498
|
if (interceptor.type === "request") {
|
|
@@ -1517,9 +1556,12 @@ import { ApiUtils as ApiUtils14, Network as Network14 } from "@accelbyte/sdk";
|
|
|
1517
1556
|
function WatchdogsApi(sdk, args) {
|
|
1518
1557
|
const sdkAssembly = sdk.assembly();
|
|
1519
1558
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1520
|
-
const requestConfig = ApiUtils14.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1559
|
+
const requestConfig = ApiUtils14.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1560
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1561
|
+
...args?.axiosConfig?.request
|
|
1562
|
+
});
|
|
1521
1563
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1522
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1564
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1523
1565
|
const axiosInstance = Network14.create(requestConfig);
|
|
1524
1566
|
for (const interceptor of interceptors) {
|
|
1525
1567
|
if (interceptor.type === "request") {
|
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,
|
|
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") {
|
|
@@ -308,9 +311,12 @@ var AmsInfoAdmin$ = class {
|
|
|
308
311
|
function AmsInfoAdminApi(sdk, args) {
|
|
309
312
|
const sdkAssembly = sdk.assembly();
|
|
310
313
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
311
|
-
const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
314
|
+
const requestConfig = import_sdk4.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
315
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
316
|
+
...args?.axiosConfig?.request
|
|
317
|
+
});
|
|
312
318
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
313
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
319
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
314
320
|
const axiosInstance = import_sdk4.Network.create(requestConfig);
|
|
315
321
|
for (const interceptor of interceptors) {
|
|
316
322
|
if (interceptor.type === "request") {
|
|
@@ -401,9 +407,12 @@ var AmsQoSAdmin$ = class {
|
|
|
401
407
|
function AmsQoSAdminApi(sdk, args) {
|
|
402
408
|
const sdkAssembly = sdk.assembly();
|
|
403
409
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
404
|
-
const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
410
|
+
const requestConfig = import_sdk6.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
411
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
412
|
+
...args?.axiosConfig?.request
|
|
413
|
+
});
|
|
405
414
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
406
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
415
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
407
416
|
const axiosInstance = import_sdk6.Network.create(requestConfig);
|
|
408
417
|
for (const interceptor of interceptors) {
|
|
409
418
|
if (interceptor.type === "request") {
|
|
@@ -577,9 +586,12 @@ var ArtifactsAdmin$ = class {
|
|
|
577
586
|
function ArtifactsAdminApi(sdk, args) {
|
|
578
587
|
const sdkAssembly = sdk.assembly();
|
|
579
588
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
580
|
-
const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
589
|
+
const requestConfig = import_sdk8.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
590
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
591
|
+
...args?.axiosConfig?.request
|
|
592
|
+
});
|
|
581
593
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
582
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
594
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
583
595
|
const axiosInstance = import_sdk8.Network.create(requestConfig);
|
|
584
596
|
for (const interceptor of interceptors) {
|
|
585
597
|
if (interceptor.type === "request") {
|
|
@@ -734,9 +746,12 @@ var DevelopmentAdmin$ = class {
|
|
|
734
746
|
function DevelopmentAdminApi(sdk, args) {
|
|
735
747
|
const sdkAssembly = sdk.assembly();
|
|
736
748
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
737
|
-
const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
749
|
+
const requestConfig = import_sdk10.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
750
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
751
|
+
...args?.axiosConfig?.request
|
|
752
|
+
});
|
|
738
753
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
739
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
754
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
740
755
|
const axiosInstance = import_sdk10.Network.create(requestConfig);
|
|
741
756
|
for (const interceptor of interceptors) {
|
|
742
757
|
if (interceptor.type === "request") {
|
|
@@ -987,9 +1002,12 @@ var FleetsAdmin$ = class {
|
|
|
987
1002
|
function FleetsAdminApi(sdk, args) {
|
|
988
1003
|
const sdkAssembly = sdk.assembly();
|
|
989
1004
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
990
|
-
const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1005
|
+
const requestConfig = import_sdk12.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1006
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1007
|
+
...args?.axiosConfig?.request
|
|
1008
|
+
});
|
|
991
1009
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
992
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1010
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
993
1011
|
const axiosInstance = import_sdk12.Network.create(requestConfig);
|
|
994
1012
|
for (const interceptor of interceptors) {
|
|
995
1013
|
if (interceptor.type === "request") {
|
|
@@ -1175,9 +1193,12 @@ var ImagesAdmin$ = class {
|
|
|
1175
1193
|
function ImagesAdminApi(sdk, args) {
|
|
1176
1194
|
const sdkAssembly = sdk.assembly();
|
|
1177
1195
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1178
|
-
const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1196
|
+
const requestConfig = import_sdk14.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1197
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1198
|
+
...args?.axiosConfig?.request
|
|
1199
|
+
});
|
|
1179
1200
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1180
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1201
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1181
1202
|
const axiosInstance = import_sdk14.Network.create(requestConfig);
|
|
1182
1203
|
for (const interceptor of interceptors) {
|
|
1183
1204
|
if (interceptor.type === "request") {
|
|
@@ -1350,9 +1371,12 @@ var ServersAdmin$ = class {
|
|
|
1350
1371
|
function ServersAdminApi(sdk, args) {
|
|
1351
1372
|
const sdkAssembly = sdk.assembly();
|
|
1352
1373
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1353
|
-
const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1374
|
+
const requestConfig = import_sdk16.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1375
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1376
|
+
...args?.axiosConfig?.request
|
|
1377
|
+
});
|
|
1354
1378
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1355
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1379
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1356
1380
|
const axiosInstance = import_sdk16.Network.create(requestConfig);
|
|
1357
1381
|
for (const interceptor of interceptors) {
|
|
1358
1382
|
if (interceptor.type === "request") {
|
|
@@ -1422,9 +1446,12 @@ var Account$ = class {
|
|
|
1422
1446
|
function AccountApi(sdk, args) {
|
|
1423
1447
|
const sdkAssembly = sdk.assembly();
|
|
1424
1448
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1425
|
-
const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1449
|
+
const requestConfig = import_sdk18.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1450
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1451
|
+
...args?.axiosConfig?.request
|
|
1452
|
+
});
|
|
1426
1453
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1427
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1454
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1428
1455
|
const axiosInstance = import_sdk18.Network.create(requestConfig);
|
|
1429
1456
|
for (const interceptor of interceptors) {
|
|
1430
1457
|
if (interceptor.type === "request") {
|
|
@@ -1471,9 +1498,12 @@ var AmsInfo$ = class {
|
|
|
1471
1498
|
function AmsInfoApi(sdk, args) {
|
|
1472
1499
|
const sdkAssembly = sdk.assembly();
|
|
1473
1500
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1474
|
-
const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1501
|
+
const requestConfig = import_sdk20.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1502
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1503
|
+
...args?.axiosConfig?.request
|
|
1504
|
+
});
|
|
1475
1505
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1476
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1506
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1477
1507
|
const axiosInstance = import_sdk20.Network.create(requestConfig);
|
|
1478
1508
|
for (const interceptor of interceptors) {
|
|
1479
1509
|
if (interceptor.type === "request") {
|
|
@@ -1523,9 +1553,12 @@ var Auth$ = class {
|
|
|
1523
1553
|
function AuthApi(sdk, args) {
|
|
1524
1554
|
const sdkAssembly = sdk.assembly();
|
|
1525
1555
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1526
|
-
const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1556
|
+
const requestConfig = import_sdk22.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1557
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1558
|
+
...args?.axiosConfig?.request
|
|
1559
|
+
});
|
|
1527
1560
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1528
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1561
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1529
1562
|
const axiosInstance = import_sdk22.Network.create(requestConfig);
|
|
1530
1563
|
for (const interceptor of interceptors) {
|
|
1531
1564
|
if (interceptor.type === "request") {
|
|
@@ -1572,9 +1605,12 @@ var FleetCommander$ = class {
|
|
|
1572
1605
|
function FleetCommanderApi(sdk, args) {
|
|
1573
1606
|
const sdkAssembly = sdk.assembly();
|
|
1574
1607
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1575
|
-
const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1608
|
+
const requestConfig = import_sdk24.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1609
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1610
|
+
...args?.axiosConfig?.request
|
|
1611
|
+
});
|
|
1576
1612
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1577
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1613
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1578
1614
|
const axiosInstance = import_sdk24.Network.create(requestConfig);
|
|
1579
1615
|
for (const interceptor of interceptors) {
|
|
1580
1616
|
if (interceptor.type === "request") {
|
|
@@ -1638,9 +1674,12 @@ var Fleets$ = class {
|
|
|
1638
1674
|
function FleetsApi(sdk, args) {
|
|
1639
1675
|
const sdkAssembly = sdk.assembly();
|
|
1640
1676
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1641
|
-
const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1677
|
+
const requestConfig = import_sdk26.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1678
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1679
|
+
...args?.axiosConfig?.request
|
|
1680
|
+
});
|
|
1642
1681
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1643
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1682
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1644
1683
|
const axiosInstance = import_sdk26.Network.create(requestConfig);
|
|
1645
1684
|
for (const interceptor of interceptors) {
|
|
1646
1685
|
if (interceptor.type === "request") {
|
|
@@ -1706,9 +1745,12 @@ var Watchdogs$ = class {
|
|
|
1706
1745
|
function WatchdogsApi(sdk, args) {
|
|
1707
1746
|
const sdkAssembly = sdk.assembly();
|
|
1708
1747
|
const namespace = args?.coreConfig?.namespace ?? sdkAssembly.coreConfig.namespace;
|
|
1709
|
-
const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults,
|
|
1748
|
+
const requestConfig = import_sdk28.ApiUtils.mergeAxiosConfigs(sdkAssembly.axiosInstance.defaults, {
|
|
1749
|
+
...args?.coreConfig?.baseURL ? { baseURL: args?.coreConfig?.baseURL } : {},
|
|
1750
|
+
...args?.axiosConfig?.request
|
|
1751
|
+
});
|
|
1710
1752
|
const interceptors = args?.axiosConfig?.interceptors ?? sdkAssembly.axiosConfig.interceptors ?? [];
|
|
1711
|
-
const useSchemaValidation = sdkAssembly.coreConfig.useSchemaValidation;
|
|
1753
|
+
const useSchemaValidation = args?.coreConfig?.useSchemaValidation ?? sdkAssembly.coreConfig.useSchemaValidation;
|
|
1712
1754
|
const axiosInstance = import_sdk28.Network.create(requestConfig);
|
|
1713
1755
|
for (const interceptor of interceptors) {
|
|
1714
1756
|
if (interceptor.type === "request") {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@accelbyte/sdk-ams",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240906023252",
|
|
4
4
|
"author": "AccelByte Inc",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typescript": "5.5.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@accelbyte/validator": "0.0.0-dev-
|
|
36
|
+
"@accelbyte/validator": "0.0.0-dev-20240906023252",
|
|
37
37
|
"axios": "1.3.6",
|
|
38
38
|
"buffer": "6.0.3",
|
|
39
39
|
"crypto-js": "4.1.1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"zod": "3.23.8"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@accelbyte/sdk": "0.0.0-dev-
|
|
46
|
+
"@accelbyte/sdk": "0.0.0-dev-20240906023252",
|
|
47
47
|
"@tanstack/react-query": "^4.36.1"
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|