@accelbyte/sdk-ams 0.0.0-dev-20240828055251 → 0.0.0-dev-20240904033042
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FleetClaimResponse-DIDPJOnU.d.cts → FleetClaimResponse-CS_GmAA_.d.cts} +77 -77
- package/dist/{FleetClaimResponse-DIDPJOnU.d.ts → FleetClaimResponse-CS_GmAA_.d.ts} +77 -77
- package/dist/all-query-imports.cjs +211 -93
- package/dist/all-query-imports.d.cts +458 -2
- package/dist/all-query-imports.d.ts +458 -2
- package/dist/all-query-imports.js +102 -34
- package/dist/{chunk-DMVQYRRS.js → chunk-TMBQO77A.js} +116 -66
- package/dist/index.cjs +116 -66
- package/dist/index.d.cts +32 -22
- package/dist/index.d.ts +32 -22
- package/dist/index.js +1 -1
- package/package.json +32 -8
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
ImagesAdminApi,
|
|
14
14
|
ServersAdminApi,
|
|
15
15
|
WatchdogsApi
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TMBQO77A.js";
|
|
17
17
|
|
|
18
18
|
// src/generated-admin/queries/AccountAdmin.query.ts
|
|
19
|
-
import {
|
|
19
|
+
import { useMutation, useQuery } from "@tanstack/react-query";
|
|
20
20
|
var Key_AccountAdmin = /* @__PURE__ */ ((Key_AccountAdmin2) => {
|
|
21
21
|
Key_AccountAdmin2["Account"] = "Ams.AccountAdmin.Account";
|
|
22
22
|
Key_AccountAdmin2["AccountLink"] = "Ams.AccountAdmin.AccountLink";
|
|
@@ -60,7 +60,9 @@ var useAccountAdminApi_GetAccountLink = (sdk, input, options, callback) => {
|
|
|
60
60
|
};
|
|
61
61
|
var useAccountAdminApi_CreateAccountLink = (sdk, options, callback) => {
|
|
62
62
|
const mutationFn = async (input) => {
|
|
63
|
-
const response = await AccountAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createAccountLink(
|
|
63
|
+
const response = await AccountAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createAccountLink(
|
|
64
|
+
input.data
|
|
65
|
+
);
|
|
64
66
|
callback && callback(response.data);
|
|
65
67
|
return response.data;
|
|
66
68
|
};
|
|
@@ -104,7 +106,7 @@ var useAmsInfoAdminApi_GetSupportedInstances = (sdk, input, options, callback) =
|
|
|
104
106
|
};
|
|
105
107
|
|
|
106
108
|
// src/generated-admin/queries/AmsQoSAdmin.query.ts
|
|
107
|
-
import {
|
|
109
|
+
import { useMutation as useMutation2, useQuery as useQuery3 } from "@tanstack/react-query";
|
|
108
110
|
var Key_AmsQoSAdmin = /* @__PURE__ */ ((Key_AmsQoSAdmin2) => {
|
|
109
111
|
Key_AmsQoSAdmin2["Qos"] = "Ams.AmsQoSAdmin.Qos";
|
|
110
112
|
Key_AmsQoSAdmin2["Qo_ByRegion"] = "Ams.AmsQoSAdmin.Qo_ByRegion";
|
|
@@ -124,7 +126,10 @@ var useAmsQoSAdminApi_GetQos = (sdk, input, options, callback) => {
|
|
|
124
126
|
};
|
|
125
127
|
var useAmsQoSAdminApi_PatchQo_ByRegion = (sdk, options, callback) => {
|
|
126
128
|
const mutationFn = async (input) => {
|
|
127
|
-
const response = await AmsQoSAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchQo_ByRegion(
|
|
129
|
+
const response = await AmsQoSAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchQo_ByRegion(
|
|
130
|
+
input.region,
|
|
131
|
+
input.data
|
|
132
|
+
);
|
|
128
133
|
callback && callback(response.data);
|
|
129
134
|
return response.data;
|
|
130
135
|
};
|
|
@@ -136,7 +141,7 @@ var useAmsQoSAdminApi_PatchQo_ByRegion = (sdk, options, callback) => {
|
|
|
136
141
|
};
|
|
137
142
|
|
|
138
143
|
// src/generated-admin/queries/ArtifactsAdmin.query.ts
|
|
139
|
-
import {
|
|
144
|
+
import { useMutation as useMutation3, useQuery as useQuery4 } from "@tanstack/react-query";
|
|
140
145
|
var Key_ArtifactsAdmin = /* @__PURE__ */ ((Key_ArtifactsAdmin2) => {
|
|
141
146
|
Key_ArtifactsAdmin2["Artifact"] = "Ams.ArtifactsAdmin.Artifact";
|
|
142
147
|
Key_ArtifactsAdmin2["Artifacts"] = "Ams.ArtifactsAdmin.Artifacts";
|
|
@@ -149,7 +154,9 @@ var Key_ArtifactsAdmin = /* @__PURE__ */ ((Key_ArtifactsAdmin2) => {
|
|
|
149
154
|
})(Key_ArtifactsAdmin || {});
|
|
150
155
|
var useArtifactsAdminApi_DeleteArtifact = (sdk, options, callback) => {
|
|
151
156
|
const mutationFn = async (input) => {
|
|
152
|
-
const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteArtifact(
|
|
157
|
+
const response = await ArtifactsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteArtifact(
|
|
158
|
+
input.queryParams
|
|
159
|
+
);
|
|
153
160
|
callback && callback(response.data);
|
|
154
161
|
return response.data;
|
|
155
162
|
};
|
|
@@ -161,7 +168,9 @@ var useArtifactsAdminApi_DeleteArtifact = (sdk, options, callback) => {
|
|
|
161
168
|
};
|
|
162
169
|
var useArtifactsAdminApi_GetArtifacts = (sdk, input, options, callback) => {
|
|
163
170
|
const queryFn = (sdk2, input2) => async () => {
|
|
164
|
-
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifacts(
|
|
171
|
+
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getArtifacts(
|
|
172
|
+
input2.queryParams
|
|
173
|
+
);
|
|
165
174
|
callback && callback(response);
|
|
166
175
|
return response.data;
|
|
167
176
|
};
|
|
@@ -185,7 +194,10 @@ var useArtifactsAdminApi_GetArtifactsUsage = (sdk, input, options, callback) =>
|
|
|
185
194
|
};
|
|
186
195
|
var useArtifactsAdminApi_DeleteArtifact_ByArtifactId = (sdk, options, callback) => {
|
|
187
196
|
const mutationFn = async (input) => {
|
|
188
|
-
const response = await ArtifactsAdminApi(sdk, {
|
|
197
|
+
const response = await ArtifactsAdminApi(sdk, {
|
|
198
|
+
coreConfig: input.coreConfig,
|
|
199
|
+
axiosConfig: input.axiosConfig
|
|
200
|
+
}).deleteArtifact_ByArtifactId(input.artifactID);
|
|
189
201
|
callback && callback(response.data);
|
|
190
202
|
return response.data;
|
|
191
203
|
};
|
|
@@ -197,7 +209,9 @@ var useArtifactsAdminApi_DeleteArtifact_ByArtifactId = (sdk, options, callback)
|
|
|
197
209
|
};
|
|
198
210
|
var useArtifactsAdminApi_GetUrl_ByArtifactId = (sdk, input, options, callback) => {
|
|
199
211
|
const queryFn = (sdk2, input2) => async () => {
|
|
200
|
-
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getUrl_ByArtifactId(
|
|
212
|
+
const response = await ArtifactsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getUrl_ByArtifactId(
|
|
213
|
+
input2.artifactID
|
|
214
|
+
);
|
|
201
215
|
callback && callback(response);
|
|
202
216
|
return response.data;
|
|
203
217
|
};
|
|
@@ -209,7 +223,10 @@ var useArtifactsAdminApi_GetUrl_ByArtifactId = (sdk, input, options, callback) =
|
|
|
209
223
|
};
|
|
210
224
|
var useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId = (sdk, input, options, callback) => {
|
|
211
225
|
const queryFn = (sdk2, input2) => async () => {
|
|
212
|
-
const response = await ArtifactsAdminApi(sdk2, {
|
|
226
|
+
const response = await ArtifactsAdminApi(sdk2, {
|
|
227
|
+
coreConfig: input2.coreConfig,
|
|
228
|
+
axiosConfig: input2.axiosConfig
|
|
229
|
+
}).getArtifactsSamplingRules_ByFleetId(input2.fleetID);
|
|
213
230
|
callback && callback(response);
|
|
214
231
|
return response.data;
|
|
215
232
|
};
|
|
@@ -221,7 +238,10 @@ var useArtifactsAdminApi_GetArtifactsSamplingRules_ByFleetId = (sdk, input, opti
|
|
|
221
238
|
};
|
|
222
239
|
var useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetId = (sdk, options, callback) => {
|
|
223
240
|
const mutationFn = async (input) => {
|
|
224
|
-
const response = await ArtifactsAdminApi(sdk, {
|
|
241
|
+
const response = await ArtifactsAdminApi(sdk, {
|
|
242
|
+
coreConfig: input.coreConfig,
|
|
243
|
+
axiosConfig: input.axiosConfig
|
|
244
|
+
}).updateArtifactsSamplingRule_ByFleetId(input.fleetID, input.data);
|
|
225
245
|
callback && callback(response.data);
|
|
226
246
|
return response.data;
|
|
227
247
|
};
|
|
@@ -233,7 +253,7 @@ var useArtifactsAdminApi_UpdateArtifactsSamplingRule_ByFleetId = (sdk, options,
|
|
|
233
253
|
};
|
|
234
254
|
|
|
235
255
|
// src/generated-admin/queries/DevelopmentAdmin.query.ts
|
|
236
|
-
import {
|
|
256
|
+
import { useMutation as useMutation4, useQuery as useQuery5 } from "@tanstack/react-query";
|
|
237
257
|
var Key_DevelopmentAdmin = /* @__PURE__ */ ((Key_DevelopmentAdmin2) => {
|
|
238
258
|
Key_DevelopmentAdmin2["DevelopmentServerConfigurations"] = "Ams.DevelopmentAdmin.DevelopmentServerConfigurations";
|
|
239
259
|
Key_DevelopmentAdmin2["DevelopmentServerConfiguration"] = "Ams.DevelopmentAdmin.DevelopmentServerConfiguration";
|
|
@@ -242,7 +262,10 @@ var Key_DevelopmentAdmin = /* @__PURE__ */ ((Key_DevelopmentAdmin2) => {
|
|
|
242
262
|
})(Key_DevelopmentAdmin || {});
|
|
243
263
|
var useDevelopmentAdminApi_GetDevelopmentServerConfigurations = (sdk, input, options, callback) => {
|
|
244
264
|
const queryFn = (sdk2, input2) => async () => {
|
|
245
|
-
const response = await DevelopmentAdminApi(sdk2, {
|
|
265
|
+
const response = await DevelopmentAdminApi(sdk2, {
|
|
266
|
+
coreConfig: input2.coreConfig,
|
|
267
|
+
axiosConfig: input2.axiosConfig
|
|
268
|
+
}).getDevelopmentServerConfigurations(input2.queryParams);
|
|
246
269
|
callback && callback(response);
|
|
247
270
|
return response.data;
|
|
248
271
|
};
|
|
@@ -254,7 +277,10 @@ var useDevelopmentAdminApi_GetDevelopmentServerConfigurations = (sdk, input, opt
|
|
|
254
277
|
};
|
|
255
278
|
var useDevelopmentAdminApi_CreateDevelopmentServerConfiguration = (sdk, options, callback) => {
|
|
256
279
|
const mutationFn = async (input) => {
|
|
257
|
-
const response = await DevelopmentAdminApi(sdk, {
|
|
280
|
+
const response = await DevelopmentAdminApi(sdk, {
|
|
281
|
+
coreConfig: input.coreConfig,
|
|
282
|
+
axiosConfig: input.axiosConfig
|
|
283
|
+
}).createDevelopmentServerConfiguration(input.data);
|
|
258
284
|
callback && callback(response.data);
|
|
259
285
|
return response.data;
|
|
260
286
|
};
|
|
@@ -266,7 +292,10 @@ var useDevelopmentAdminApi_CreateDevelopmentServerConfiguration = (sdk, options,
|
|
|
266
292
|
};
|
|
267
293
|
var useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId = (sdk, options, callback) => {
|
|
268
294
|
const mutationFn = async (input) => {
|
|
269
|
-
const response = await DevelopmentAdminApi(sdk, {
|
|
295
|
+
const response = await DevelopmentAdminApi(sdk, {
|
|
296
|
+
coreConfig: input.coreConfig,
|
|
297
|
+
axiosConfig: input.axiosConfig
|
|
298
|
+
}).deleteDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input.developmentServerConfigID);
|
|
270
299
|
callback && callback(response.data);
|
|
271
300
|
return response.data;
|
|
272
301
|
};
|
|
@@ -278,7 +307,10 @@ var useDevelopmentAdminApi_DeleteDevelopmentServerConfiguration_ByDevelopmentSer
|
|
|
278
307
|
};
|
|
279
308
|
var useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServerConfigId = (sdk, input, options, callback) => {
|
|
280
309
|
const queryFn = (sdk2, input2) => async () => {
|
|
281
|
-
const response = await DevelopmentAdminApi(sdk2, {
|
|
310
|
+
const response = await DevelopmentAdminApi(sdk2, {
|
|
311
|
+
coreConfig: input2.coreConfig,
|
|
312
|
+
axiosConfig: input2.axiosConfig
|
|
313
|
+
}).getDevelopmentServerConfiguration_ByDevelopmentServerConfigId(input2.developmentServerConfigID);
|
|
282
314
|
callback && callback(response);
|
|
283
315
|
return response.data;
|
|
284
316
|
};
|
|
@@ -290,7 +322,7 @@ var useDevelopmentAdminApi_GetDevelopmentServerConfiguration_ByDevelopmentServer
|
|
|
290
322
|
};
|
|
291
323
|
|
|
292
324
|
// src/generated-admin/queries/FleetsAdmin.query.ts
|
|
293
|
-
import {
|
|
325
|
+
import { useMutation as useMutation5, useQuery as useQuery6 } from "@tanstack/react-query";
|
|
294
326
|
var Key_FleetsAdmin = /* @__PURE__ */ ((Key_FleetsAdmin2) => {
|
|
295
327
|
Key_FleetsAdmin2["Fleets"] = "Ams.FleetsAdmin.Fleets";
|
|
296
328
|
Key_FleetsAdmin2["Fleet"] = "Ams.FleetsAdmin.Fleet";
|
|
@@ -324,7 +356,9 @@ var useFleetsAdminApi_CreateFleet = (sdk, options, callback) => {
|
|
|
324
356
|
};
|
|
325
357
|
var useFleetsAdminApi_DeleteFleet_ByFleetId = (sdk, options, callback) => {
|
|
326
358
|
const mutationFn = async (input) => {
|
|
327
|
-
const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteFleet_ByFleetId(
|
|
359
|
+
const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteFleet_ByFleetId(
|
|
360
|
+
input.fleetID
|
|
361
|
+
);
|
|
328
362
|
callback && callback(response.data);
|
|
329
363
|
return response.data;
|
|
330
364
|
};
|
|
@@ -336,7 +370,9 @@ var useFleetsAdminApi_DeleteFleet_ByFleetId = (sdk, options, callback) => {
|
|
|
336
370
|
};
|
|
337
371
|
var useFleetsAdminApi_GetFleet_ByFleetId = (sdk, input, options, callback) => {
|
|
338
372
|
const queryFn = (sdk2, input2) => async () => {
|
|
339
|
-
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleet_ByFleetId(
|
|
373
|
+
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getFleet_ByFleetId(
|
|
374
|
+
input2.fleetID
|
|
375
|
+
);
|
|
340
376
|
callback && callback(response);
|
|
341
377
|
return response.data;
|
|
342
378
|
};
|
|
@@ -348,7 +384,10 @@ var useFleetsAdminApi_GetFleet_ByFleetId = (sdk, input, options, callback) => {
|
|
|
348
384
|
};
|
|
349
385
|
var useFleetsAdminApi_UpdateFleet_ByFleetId = (sdk, options, callback) => {
|
|
350
386
|
const mutationFn = async (input) => {
|
|
351
|
-
const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateFleet_ByFleetId(
|
|
387
|
+
const response = await FleetsAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateFleet_ByFleetId(
|
|
388
|
+
input.fleetID,
|
|
389
|
+
input.data
|
|
390
|
+
);
|
|
352
391
|
callback && callback(response.data);
|
|
353
392
|
return response.data;
|
|
354
393
|
};
|
|
@@ -360,7 +399,10 @@ var useFleetsAdminApi_UpdateFleet_ByFleetId = (sdk, options, callback) => {
|
|
|
360
399
|
};
|
|
361
400
|
var useFleetsAdminApi_GetServers_ByFleetId = (sdk, input, options, callback) => {
|
|
362
401
|
const queryFn = (sdk2, input2) => async () => {
|
|
363
|
-
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServers_ByFleetId(
|
|
402
|
+
const response = await FleetsAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServers_ByFleetId(
|
|
403
|
+
input2.fleetID,
|
|
404
|
+
input2.queryParams
|
|
405
|
+
);
|
|
364
406
|
callback && callback(response);
|
|
365
407
|
return response.data;
|
|
366
408
|
};
|
|
@@ -372,7 +414,7 @@ var useFleetsAdminApi_GetServers_ByFleetId = (sdk, input, options, callback) =>
|
|
|
372
414
|
};
|
|
373
415
|
|
|
374
416
|
// src/generated-admin/queries/ImagesAdmin.query.ts
|
|
375
|
-
import {
|
|
417
|
+
import { useMutation as useMutation6, useQuery as useQuery7 } from "@tanstack/react-query";
|
|
376
418
|
var Key_ImagesAdmin = /* @__PURE__ */ ((Key_ImagesAdmin2) => {
|
|
377
419
|
Key_ImagesAdmin2["Images"] = "Ams.ImagesAdmin.Images";
|
|
378
420
|
Key_ImagesAdmin2["ImagesStorage"] = "Ams.ImagesAdmin.ImagesStorage";
|
|
@@ -406,7 +448,9 @@ var useImagesAdminApi_GetImagesStorage = (sdk, input, options, callback) => {
|
|
|
406
448
|
};
|
|
407
449
|
var useImagesAdminApi_DeleteImage_ByImageId = (sdk, options, callback) => {
|
|
408
450
|
const mutationFn = async (input) => {
|
|
409
|
-
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteImage_ByImageId(
|
|
451
|
+
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).deleteImage_ByImageId(
|
|
452
|
+
input.imageID
|
|
453
|
+
);
|
|
410
454
|
callback && callback(response.data);
|
|
411
455
|
return response.data;
|
|
412
456
|
};
|
|
@@ -418,7 +462,9 @@ var useImagesAdminApi_DeleteImage_ByImageId = (sdk, options, callback) => {
|
|
|
418
462
|
};
|
|
419
463
|
var useImagesAdminApi_GetImage_ByImageId = (sdk, input, options, callback) => {
|
|
420
464
|
const queryFn = (sdk2, input2) => async () => {
|
|
421
|
-
const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImage_ByImageId(
|
|
465
|
+
const response = await ImagesAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getImage_ByImageId(
|
|
466
|
+
input2.imageID
|
|
467
|
+
);
|
|
422
468
|
callback && callback(response);
|
|
423
469
|
return response.data;
|
|
424
470
|
};
|
|
@@ -430,7 +476,10 @@ var useImagesAdminApi_GetImage_ByImageId = (sdk, input, options, callback) => {
|
|
|
430
476
|
};
|
|
431
477
|
var useImagesAdminApi_PatchImage_ByImageId = (sdk, options, callback) => {
|
|
432
478
|
const mutationFn = async (input) => {
|
|
433
|
-
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchImage_ByImageId(
|
|
479
|
+
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).patchImage_ByImageId(
|
|
480
|
+
input.imageID,
|
|
481
|
+
input.data
|
|
482
|
+
);
|
|
434
483
|
callback && callback(response.data);
|
|
435
484
|
return response.data;
|
|
436
485
|
};
|
|
@@ -442,7 +491,9 @@ var useImagesAdminApi_PatchImage_ByImageId = (sdk, options, callback) => {
|
|
|
442
491
|
};
|
|
443
492
|
var useImagesAdminApi_CreateRestore_ByImageId = (sdk, options, callback) => {
|
|
444
493
|
const mutationFn = async (input) => {
|
|
445
|
-
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createRestore_ByImageId(
|
|
494
|
+
const response = await ImagesAdminApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).createRestore_ByImageId(
|
|
495
|
+
input.imageID
|
|
496
|
+
);
|
|
446
497
|
callback && callback(response.data);
|
|
447
498
|
return response.data;
|
|
448
499
|
};
|
|
@@ -464,7 +515,9 @@ var Key_ServersAdmin = /* @__PURE__ */ ((Key_ServersAdmin2) => {
|
|
|
464
515
|
})(Key_ServersAdmin || {});
|
|
465
516
|
var useServersAdminApi_GetServer_ByServerId = (sdk, input, options, callback) => {
|
|
466
517
|
const queryFn = (sdk2, input2) => async () => {
|
|
467
|
-
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServer_ByServerId(
|
|
518
|
+
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getServer_ByServerId(
|
|
519
|
+
input2.serverID
|
|
520
|
+
);
|
|
468
521
|
callback && callback(response);
|
|
469
522
|
return response.data;
|
|
470
523
|
};
|
|
@@ -476,7 +529,9 @@ var useServersAdminApi_GetServer_ByServerId = (sdk, input, options, callback) =>
|
|
|
476
529
|
};
|
|
477
530
|
var useServersAdminApi_GetHistory_ByServerId = (sdk, input, options, callback) => {
|
|
478
531
|
const queryFn = (sdk2, input2) => async () => {
|
|
479
|
-
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getHistory_ByServerId(
|
|
532
|
+
const response = await ServersAdminApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getHistory_ByServerId(
|
|
533
|
+
input2.serverID
|
|
534
|
+
);
|
|
480
535
|
callback && callback(response);
|
|
481
536
|
return response.data;
|
|
482
537
|
};
|
|
@@ -488,7 +543,10 @@ var useServersAdminApi_GetHistory_ByServerId = (sdk, input, options, callback) =
|
|
|
488
543
|
};
|
|
489
544
|
var useServersAdminApi_GetServersHistory_ByFleetId = (sdk, input, options, callback) => {
|
|
490
545
|
const queryFn = (sdk2, input2) => async () => {
|
|
491
|
-
const response = await ServersAdminApi(sdk2, {
|
|
546
|
+
const response = await ServersAdminApi(sdk2, {
|
|
547
|
+
coreConfig: input2.coreConfig,
|
|
548
|
+
axiosConfig: input2.axiosConfig
|
|
549
|
+
}).getServersHistory_ByFleetId(input2.fleetID, input2.queryParams);
|
|
492
550
|
callback && callback(response);
|
|
493
551
|
return response.data;
|
|
494
552
|
};
|
|
@@ -500,7 +558,10 @@ var useServersAdminApi_GetServersHistory_ByFleetId = (sdk, input, options, callb
|
|
|
500
558
|
};
|
|
501
559
|
var useServersAdminApi_GetConnectioninfo_ByServerId = (sdk, input, options, callback) => {
|
|
502
560
|
const queryFn = (sdk2, input2) => async () => {
|
|
503
|
-
const response = await ServersAdminApi(sdk2, {
|
|
561
|
+
const response = await ServersAdminApi(sdk2, {
|
|
562
|
+
coreConfig: input2.coreConfig,
|
|
563
|
+
axiosConfig: input2.axiosConfig
|
|
564
|
+
}).getConnectioninfo_ByServerId(input2.serverID);
|
|
504
565
|
callback && callback(response);
|
|
505
566
|
return response.data;
|
|
506
567
|
};
|
|
@@ -608,7 +669,10 @@ var useFleetsApi_UpdateServerClaim = (sdk, options, callback) => {
|
|
|
608
669
|
};
|
|
609
670
|
var useFleetsApi_UpdateClaim_ByFleetId = (sdk, options, callback) => {
|
|
610
671
|
const mutationFn = async (input) => {
|
|
611
|
-
const response = await FleetsApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateClaim_ByFleetId(
|
|
672
|
+
const response = await FleetsApi(sdk, { coreConfig: input.coreConfig, axiosConfig: input.axiosConfig }).updateClaim_ByFleetId(
|
|
673
|
+
input.fleetID,
|
|
674
|
+
input.data
|
|
675
|
+
);
|
|
612
676
|
callback && callback(response.data);
|
|
613
677
|
return response.data;
|
|
614
678
|
};
|
|
@@ -628,7 +692,9 @@ var Key_Watchdogs = /* @__PURE__ */ ((Key_Watchdogs2) => {
|
|
|
628
692
|
})(Key_Watchdogs || {});
|
|
629
693
|
var useWatchdogsApi_GetConnect_ByWatchdogId = (sdk, input, options, callback) => {
|
|
630
694
|
const queryFn = (sdk2, input2) => async () => {
|
|
631
|
-
const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId(
|
|
695
|
+
const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId(
|
|
696
|
+
input2.watchdogID
|
|
697
|
+
);
|
|
632
698
|
callback && callback(response);
|
|
633
699
|
return response.data;
|
|
634
700
|
};
|
|
@@ -640,7 +706,9 @@ var useWatchdogsApi_GetConnect_ByWatchdogId = (sdk, input, options, callback) =>
|
|
|
640
706
|
};
|
|
641
707
|
var useWatchdogsApi_GetConnect_ByWatchdogId_ByNS = (sdk, input, options, callback) => {
|
|
642
708
|
const queryFn = (sdk2, input2) => async () => {
|
|
643
|
-
const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId_ByNS(
|
|
709
|
+
const response = await WatchdogsApi(sdk2, { coreConfig: input2.coreConfig, axiosConfig: input2.axiosConfig }).getConnect_ByWatchdogId_ByNS(
|
|
710
|
+
input2.watchdogID
|
|
711
|
+
);
|
|
644
712
|
callback && callback(response);
|
|
645
713
|
return response.data;
|
|
646
714
|
};
|