@takaro/apiclient 0.0.0-dev.7ef2191 → 0.0.0-dev.8035edd
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/generated/api.d.ts +7068 -4062
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +2386 -520
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/baseClient.d.ts +14 -0
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +19 -1
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/api.ts +4696 -203
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/baseClient.ts +23 -1
- package/src/lib/client.ts +11 -0
package/dist/generated/api.js
CHANGED
|
@@ -148,6 +148,54 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
148
148
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
149
149
|
EventRateLimited: 'event-rate-limited',
|
|
150
150
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
151
|
+
InviteLinkCreated: 'invite-link-created',
|
|
152
|
+
PlayerConnected: 'player-connected',
|
|
153
|
+
PlayerDisconnected: 'player-disconnected',
|
|
154
|
+
ChatMessage: 'chat-message',
|
|
155
|
+
PlayerDeath: 'player-death',
|
|
156
|
+
EntityKilled: 'entity-killed',
|
|
157
|
+
};
|
|
158
|
+
export const EventExploreFiltersDTOEventNameEnum = {
|
|
159
|
+
RoleAssigned: 'role-assigned',
|
|
160
|
+
RoleRemoved: 'role-removed',
|
|
161
|
+
RoleCreated: 'role-created',
|
|
162
|
+
RoleUpdated: 'role-updated',
|
|
163
|
+
RoleDeleted: 'role-deleted',
|
|
164
|
+
CommandExecuted: 'command-executed',
|
|
165
|
+
CommandExecutionDenied: 'command-execution-denied',
|
|
166
|
+
HookExecuted: 'hook-executed',
|
|
167
|
+
CronjobExecuted: 'cronjob-executed',
|
|
168
|
+
CurrencyAdded: 'currency-added',
|
|
169
|
+
CurrencyDeducted: 'currency-deducted',
|
|
170
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
171
|
+
SettingsSet: 'settings-set',
|
|
172
|
+
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
173
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
174
|
+
ServerStatusChanged: 'server-status-changed',
|
|
175
|
+
ModuleCreated: 'module-created',
|
|
176
|
+
ModuleUpdated: 'module-updated',
|
|
177
|
+
ModuleDeleted: 'module-deleted',
|
|
178
|
+
ModuleInstalled: 'module-installed',
|
|
179
|
+
ModuleUninstalled: 'module-uninstalled',
|
|
180
|
+
PlayerCreated: 'player-created',
|
|
181
|
+
ShopListingCreated: 'shop-listing-created',
|
|
182
|
+
ShopListingUpdated: 'shop-listing-updated',
|
|
183
|
+
ShopListingDeleted: 'shop-listing-deleted',
|
|
184
|
+
ShopOrderCreated: 'shop-order-created',
|
|
185
|
+
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
186
|
+
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
187
|
+
PlayerLinked: 'player-linked',
|
|
188
|
+
GameserverCreated: 'gameserver-created',
|
|
189
|
+
GameserverUpdated: 'gameserver-updated',
|
|
190
|
+
GameserverDeleted: 'gameserver-deleted',
|
|
191
|
+
PlayerBanned: 'player-banned',
|
|
192
|
+
PlayerUnbanned: 'player-unbanned',
|
|
193
|
+
PlayerDeleted: 'player-deleted',
|
|
194
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
195
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
196
|
+
EventRateLimited: 'event-rate-limited',
|
|
197
|
+
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
198
|
+
InviteLinkCreated: 'invite-link-created',
|
|
151
199
|
PlayerConnected: 'player-connected',
|
|
152
200
|
PlayerDisconnected: 'player-disconnected',
|
|
153
201
|
ChatMessage: 'chat-message',
|
|
@@ -194,6 +242,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
194
242
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
195
243
|
EventRateLimited: 'event-rate-limited',
|
|
196
244
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
245
|
+
InviteLinkCreated: 'invite-link-created',
|
|
197
246
|
PlayerConnected: 'player-connected',
|
|
198
247
|
PlayerDisconnected: 'player-disconnected',
|
|
199
248
|
ChatMessage: 'chat-message',
|
|
@@ -240,6 +289,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
240
289
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
241
290
|
EventRateLimited: 'event-rate-limited',
|
|
242
291
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
292
|
+
InviteLinkCreated: 'invite-link-created',
|
|
243
293
|
PlayerConnected: 'player-connected',
|
|
244
294
|
PlayerDisconnected: 'player-disconnected',
|
|
245
295
|
ChatMessage: 'chat-message',
|
|
@@ -256,6 +306,10 @@ export const EventSearchInputDTOSortDirectionEnum = {
|
|
|
256
306
|
Asc: 'asc',
|
|
257
307
|
Desc: 'desc',
|
|
258
308
|
};
|
|
309
|
+
export const EventVolumeInputDTOGroupByEnum = {
|
|
310
|
+
EventName: 'eventName',
|
|
311
|
+
GameServerId: 'gameServerId',
|
|
312
|
+
};
|
|
259
313
|
export const FunctionSearchInputDTOExtendEnum = {
|
|
260
314
|
Version: 'version',
|
|
261
315
|
CronJob: 'cronJob',
|
|
@@ -388,6 +442,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
388
442
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
389
443
|
EventRateLimited: 'event-rate-limited',
|
|
390
444
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
445
|
+
InviteLinkCreated: 'invite-link-created',
|
|
391
446
|
};
|
|
392
447
|
export const HookOutputDTOEventTypeEnum = {
|
|
393
448
|
Log: 'log',
|
|
@@ -436,6 +491,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
436
491
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
437
492
|
EventRateLimited: 'event-rate-limited',
|
|
438
493
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
494
|
+
InviteLinkCreated: 'invite-link-created',
|
|
439
495
|
};
|
|
440
496
|
export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
441
497
|
Log: 'log',
|
|
@@ -484,6 +540,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
484
540
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
485
541
|
EventRateLimited: 'event-rate-limited',
|
|
486
542
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
543
|
+
InviteLinkCreated: 'invite-link-created',
|
|
487
544
|
};
|
|
488
545
|
export const HookSearchInputDTOExtendEnum = {
|
|
489
546
|
Module: 'module',
|
|
@@ -540,6 +597,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
540
597
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
541
598
|
EventRateLimited: 'event-rate-limited',
|
|
542
599
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
600
|
+
InviteLinkCreated: 'invite-link-created',
|
|
543
601
|
};
|
|
544
602
|
export const HookUpdateDTOEventTypeEnum = {
|
|
545
603
|
Log: 'log',
|
|
@@ -588,6 +646,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
588
646
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
589
647
|
EventRateLimited: 'event-rate-limited',
|
|
590
648
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
649
|
+
InviteLinkCreated: 'invite-link-created',
|
|
591
650
|
};
|
|
592
651
|
export const IEntityDTOTypeEnum = {
|
|
593
652
|
Hostile: 'hostile',
|
|
@@ -641,11 +700,34 @@ export const IHookEventTypeEnum = {
|
|
|
641
700
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
642
701
|
EventRateLimited: 'event-rate-limited',
|
|
643
702
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
703
|
+
InviteLinkCreated: 'invite-link-created',
|
|
644
704
|
};
|
|
645
705
|
export const ITakaroQuerySortDirectionEnum = {
|
|
646
706
|
Asc: 'asc',
|
|
647
707
|
Desc: 'desc',
|
|
648
708
|
};
|
|
709
|
+
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
710
|
+
Active: 'ACTIVE',
|
|
711
|
+
Revoked: 'REVOKED',
|
|
712
|
+
Expired: 'EXPIRED',
|
|
713
|
+
Depleted: 'DEPLETED',
|
|
714
|
+
};
|
|
715
|
+
export const InviteLinkOutputDTOStatusEnum = {
|
|
716
|
+
Active: 'ACTIVE',
|
|
717
|
+
Revoked: 'REVOKED',
|
|
718
|
+
Expired: 'EXPIRED',
|
|
719
|
+
Depleted: 'DEPLETED',
|
|
720
|
+
};
|
|
721
|
+
export const InviteLinkPreviewDTOStatusEnum = {
|
|
722
|
+
Active: 'ACTIVE',
|
|
723
|
+
Revoked: 'REVOKED',
|
|
724
|
+
Expired: 'EXPIRED',
|
|
725
|
+
Depleted: 'DEPLETED',
|
|
726
|
+
};
|
|
727
|
+
export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
728
|
+
Asc: 'asc',
|
|
729
|
+
Desc: 'desc',
|
|
730
|
+
};
|
|
649
731
|
export const ItemSearchInputDTOExtendEnum = {
|
|
650
732
|
Gameserver: 'gameserver',
|
|
651
733
|
};
|
|
@@ -663,6 +745,23 @@ export const JobStatusOutputDTOStatusEnum = {
|
|
|
663
745
|
Waiting: 'waiting',
|
|
664
746
|
WaitingChildren: 'waiting-children',
|
|
665
747
|
};
|
|
748
|
+
export const MetaFilterGroupOrLeafDTOLogicalOperatorEnum = {
|
|
749
|
+
And: 'AND',
|
|
750
|
+
Or: 'OR',
|
|
751
|
+
};
|
|
752
|
+
export const MetaFilterGroupOrLeafDTOOperatorEnum = {
|
|
753
|
+
Equal: '=',
|
|
754
|
+
NotEqual: '!=',
|
|
755
|
+
GreaterThan: '>',
|
|
756
|
+
LessThan: '<',
|
|
757
|
+
ArrayContains: 'array_contains',
|
|
758
|
+
};
|
|
759
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
760
|
+
_24h: '24h',
|
|
761
|
+
_7d: '7d',
|
|
762
|
+
_30d: '30d',
|
|
763
|
+
_90d: '90d',
|
|
764
|
+
};
|
|
666
765
|
export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
|
|
667
766
|
Asc: 'asc',
|
|
668
767
|
Desc: 'desc',
|
|
@@ -1346,7 +1445,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1346
1445
|
};
|
|
1347
1446
|
},
|
|
1348
1447
|
/**
|
|
1349
|
-
* Normalized 0-1 scores across
|
|
1448
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
1350
1449
|
* @summary Get module health scores
|
|
1351
1450
|
* @param {string} [startDate]
|
|
1352
1451
|
* @param {string} [endDate]
|
|
@@ -1387,6 +1486,56 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1387
1486
|
options: localVarRequestOptions,
|
|
1388
1487
|
};
|
|
1389
1488
|
},
|
|
1489
|
+
/**
|
|
1490
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
1491
|
+
* @summary Get per-installation module KPIs
|
|
1492
|
+
* @param {string} gameServerId
|
|
1493
|
+
* @param {string} moduleId
|
|
1494
|
+
* @param {string} [startDate]
|
|
1495
|
+
* @param {string} [endDate]
|
|
1496
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
1497
|
+
* @param {*} [options] Override http request option.
|
|
1498
|
+
* @throws {RequiredError}
|
|
1499
|
+
*/
|
|
1500
|
+
analyticsControllerGetModuleInstallationKpis: async (gameServerId, moduleId, startDate, endDate, period, options = {}) => {
|
|
1501
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
1502
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
1503
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
1504
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
1505
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
1506
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1507
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1508
|
+
let baseOptions;
|
|
1509
|
+
if (configuration) {
|
|
1510
|
+
baseOptions = configuration.baseOptions;
|
|
1511
|
+
}
|
|
1512
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1513
|
+
const localVarHeaderParameter = {};
|
|
1514
|
+
const localVarQueryParameter = {};
|
|
1515
|
+
// authentication domainAuth required
|
|
1516
|
+
if (startDate !== undefined) {
|
|
1517
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
1518
|
+
}
|
|
1519
|
+
if (endDate !== undefined) {
|
|
1520
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
1521
|
+
}
|
|
1522
|
+
if (gameServerId !== undefined) {
|
|
1523
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
1524
|
+
}
|
|
1525
|
+
if (moduleId !== undefined) {
|
|
1526
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
1527
|
+
}
|
|
1528
|
+
if (period !== undefined) {
|
|
1529
|
+
localVarQueryParameter['period'] = period;
|
|
1530
|
+
}
|
|
1531
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1532
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1533
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1534
|
+
return {
|
|
1535
|
+
url: toPathString(localVarUrlObj),
|
|
1536
|
+
options: localVarRequestOptions,
|
|
1537
|
+
};
|
|
1538
|
+
},
|
|
1390
1539
|
/**
|
|
1391
1540
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
1392
1541
|
* @summary Get module item failure aggregate
|
|
@@ -2187,7 +2336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2187
2336
|
},
|
|
2188
2337
|
/**
|
|
2189
2338
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2190
|
-
* @summary Get top modules by
|
|
2339
|
+
* @summary Get top modules by execution volume
|
|
2191
2340
|
* @param {string} [startDate]
|
|
2192
2341
|
* @param {string} [endDate]
|
|
2193
2342
|
* @param {string} [gameServerId]
|
|
@@ -2472,7 +2621,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2472
2621
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2473
2622
|
},
|
|
2474
2623
|
/**
|
|
2475
|
-
* Normalized 0-1 scores across
|
|
2624
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
2476
2625
|
* @summary Get module health scores
|
|
2477
2626
|
* @param {string} [startDate]
|
|
2478
2627
|
* @param {string} [endDate]
|
|
@@ -2487,6 +2636,24 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2487
2636
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleHealth']?.[localVarOperationServerIndex]?.url;
|
|
2488
2637
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2489
2638
|
},
|
|
2639
|
+
/**
|
|
2640
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
2641
|
+
* @summary Get per-installation module KPIs
|
|
2642
|
+
* @param {string} gameServerId
|
|
2643
|
+
* @param {string} moduleId
|
|
2644
|
+
* @param {string} [startDate]
|
|
2645
|
+
* @param {string} [endDate]
|
|
2646
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
2647
|
+
* @param {*} [options] Override http request option.
|
|
2648
|
+
* @throws {RequiredError}
|
|
2649
|
+
*/
|
|
2650
|
+
async analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
2651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options);
|
|
2652
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2653
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
2654
|
+
?.url;
|
|
2655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2656
|
+
},
|
|
2490
2657
|
/**
|
|
2491
2658
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
2492
2659
|
* @summary Get module item failure aggregate
|
|
@@ -2799,7 +2966,7 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
2799
2966
|
},
|
|
2800
2967
|
/**
|
|
2801
2968
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
2802
|
-
* @summary Get top modules by
|
|
2969
|
+
* @summary Get top modules by execution volume
|
|
2803
2970
|
* @param {string} [startDate]
|
|
2804
2971
|
* @param {string} [endDate]
|
|
2805
2972
|
* @param {string} [gameServerId]
|
|
@@ -3015,7 +3182,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3015
3182
|
.then((request) => request(axios, basePath));
|
|
3016
3183
|
},
|
|
3017
3184
|
/**
|
|
3018
|
-
* Normalized 0-1 scores across
|
|
3185
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3019
3186
|
* @summary Get module health scores
|
|
3020
3187
|
* @param {string} [startDate]
|
|
3021
3188
|
* @param {string} [endDate]
|
|
@@ -3029,6 +3196,22 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3029
3196
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3030
3197
|
.then((request) => request(axios, basePath));
|
|
3031
3198
|
},
|
|
3199
|
+
/**
|
|
3200
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
3201
|
+
* @summary Get per-installation module KPIs
|
|
3202
|
+
* @param {string} gameServerId
|
|
3203
|
+
* @param {string} moduleId
|
|
3204
|
+
* @param {string} [startDate]
|
|
3205
|
+
* @param {string} [endDate]
|
|
3206
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3207
|
+
* @param {*} [options] Override http request option.
|
|
3208
|
+
* @throws {RequiredError}
|
|
3209
|
+
*/
|
|
3210
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3211
|
+
return localVarFp
|
|
3212
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3213
|
+
.then((request) => request(axios, basePath));
|
|
3214
|
+
},
|
|
3032
3215
|
/**
|
|
3033
3216
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
3034
3217
|
* @summary Get module item failure aggregate
|
|
@@ -3316,7 +3499,7 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3316
3499
|
},
|
|
3317
3500
|
/**
|
|
3318
3501
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3319
|
-
* @summary Get top modules by
|
|
3502
|
+
* @summary Get top modules by execution volume
|
|
3320
3503
|
* @param {string} [startDate]
|
|
3321
3504
|
* @param {string} [endDate]
|
|
3322
3505
|
* @param {string} [gameServerId]
|
|
@@ -3543,7 +3726,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3543
3726
|
.then((request) => request(this.axios, this.basePath));
|
|
3544
3727
|
}
|
|
3545
3728
|
/**
|
|
3546
|
-
* Normalized 0-1 scores across
|
|
3729
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
3547
3730
|
* @summary Get module health scores
|
|
3548
3731
|
* @param {string} [startDate]
|
|
3549
3732
|
* @param {string} [endDate]
|
|
@@ -3558,6 +3741,23 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3558
3741
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
3559
3742
|
.then((request) => request(this.axios, this.basePath));
|
|
3560
3743
|
}
|
|
3744
|
+
/**
|
|
3745
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
3746
|
+
* @summary Get per-installation module KPIs
|
|
3747
|
+
* @param {string} gameServerId
|
|
3748
|
+
* @param {string} moduleId
|
|
3749
|
+
* @param {string} [startDate]
|
|
3750
|
+
* @param {string} [endDate]
|
|
3751
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
3752
|
+
* @param {*} [options] Override http request option.
|
|
3753
|
+
* @throws {RequiredError}
|
|
3754
|
+
* @memberof AnalyticsApi
|
|
3755
|
+
*/
|
|
3756
|
+
analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options) {
|
|
3757
|
+
return AnalyticsApiFp(this.configuration)
|
|
3758
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
3759
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3760
|
+
}
|
|
3561
3761
|
/**
|
|
3562
3762
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
3563
3763
|
* @summary Get module item failure aggregate
|
|
@@ -3864,7 +4064,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
3864
4064
|
}
|
|
3865
4065
|
/**
|
|
3866
4066
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
3867
|
-
* @summary Get top modules by
|
|
4067
|
+
* @summary Get top modules by execution volume
|
|
3868
4068
|
* @param {string} [startDate]
|
|
3869
4069
|
* @param {string} [endDate]
|
|
3870
4070
|
* @param {string} [gameServerId]
|
|
@@ -4003,6 +4203,15 @@ export const AnalyticsControllerGetModuleHealthPeriodEnum = {
|
|
|
4003
4203
|
_30d: '30d',
|
|
4004
4204
|
_90d: '90d',
|
|
4005
4205
|
};
|
|
4206
|
+
/**
|
|
4207
|
+
* @export
|
|
4208
|
+
*/
|
|
4209
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
4210
|
+
_24h: '24h',
|
|
4211
|
+
_7d: '7d',
|
|
4212
|
+
_30d: '30d',
|
|
4213
|
+
_90d: '90d',
|
|
4214
|
+
};
|
|
4006
4215
|
/**
|
|
4007
4216
|
* @export
|
|
4008
4217
|
*/
|
|
@@ -4193,118 +4402,99 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
4193
4402
|
_90d: '90d',
|
|
4194
4403
|
};
|
|
4195
4404
|
/**
|
|
4196
|
-
*
|
|
4405
|
+
* AuthApi - axios parameter creator
|
|
4197
4406
|
* @export
|
|
4198
4407
|
*/
|
|
4199
|
-
export const
|
|
4408
|
+
export const AuthApiAxiosParamCreator = function (configuration) {
|
|
4200
4409
|
return {
|
|
4201
4410
|
/**
|
|
4202
|
-
*
|
|
4203
|
-
* @summary
|
|
4204
|
-
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4411
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4412
|
+
* @summary Account
|
|
4205
4413
|
* @param {*} [options] Override http request option.
|
|
4206
4414
|
* @throws {RequiredError}
|
|
4207
4415
|
*/
|
|
4208
|
-
|
|
4209
|
-
const localVarPath = `/
|
|
4416
|
+
authControllerAccount: async (options = {}) => {
|
|
4417
|
+
const localVarPath = `/auth/account`;
|
|
4210
4418
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4211
4419
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4212
4420
|
let baseOptions;
|
|
4213
4421
|
if (configuration) {
|
|
4214
4422
|
baseOptions = configuration.baseOptions;
|
|
4215
4423
|
}
|
|
4216
|
-
const localVarRequestOptions = { method: '
|
|
4424
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4217
4425
|
const localVarHeaderParameter = {};
|
|
4218
4426
|
const localVarQueryParameter = {};
|
|
4219
|
-
// authentication domainAuth required
|
|
4220
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4221
4427
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4222
4428
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4223
4429
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4224
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4225
4430
|
return {
|
|
4226
4431
|
url: toPathString(localVarUrlObj),
|
|
4227
4432
|
options: localVarRequestOptions,
|
|
4228
4433
|
};
|
|
4229
4434
|
},
|
|
4230
4435
|
/**
|
|
4231
|
-
*
|
|
4232
|
-
* @summary
|
|
4233
|
-
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4436
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4437
|
+
* @summary Callback
|
|
4234
4438
|
* @param {*} [options] Override http request option.
|
|
4235
4439
|
* @throws {RequiredError}
|
|
4236
4440
|
*/
|
|
4237
|
-
|
|
4238
|
-
const localVarPath = `/
|
|
4441
|
+
authControllerCallback: async (options = {}) => {
|
|
4442
|
+
const localVarPath = `/auth/callback`;
|
|
4239
4443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4240
4444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4241
4445
|
let baseOptions;
|
|
4242
4446
|
if (configuration) {
|
|
4243
4447
|
baseOptions = configuration.baseOptions;
|
|
4244
4448
|
}
|
|
4245
|
-
const localVarRequestOptions = { method: '
|
|
4449
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4246
4450
|
const localVarHeaderParameter = {};
|
|
4247
4451
|
const localVarQueryParameter = {};
|
|
4248
|
-
// authentication domainAuth required
|
|
4249
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4250
4452
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4251
4453
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4252
4454
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4253
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4254
4455
|
return {
|
|
4255
4456
|
url: toPathString(localVarUrlObj),
|
|
4256
4457
|
options: localVarRequestOptions,
|
|
4257
4458
|
};
|
|
4258
4459
|
},
|
|
4259
4460
|
/**
|
|
4260
|
-
*
|
|
4261
|
-
* @summary
|
|
4262
|
-
* @param {string}
|
|
4263
|
-
* @param {any} [success]
|
|
4264
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4461
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4462
|
+
* @summary Login
|
|
4463
|
+
* @param {string} [redirect]
|
|
4265
4464
|
* @param {*} [options] Override http request option.
|
|
4266
4465
|
* @throws {RequiredError}
|
|
4267
4466
|
*/
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4271
|
-
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4467
|
+
authControllerLogin: async (redirect, options = {}) => {
|
|
4468
|
+
const localVarPath = `/auth/login`;
|
|
4272
4469
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4273
4470
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4274
4471
|
let baseOptions;
|
|
4275
4472
|
if (configuration) {
|
|
4276
4473
|
baseOptions = configuration.baseOptions;
|
|
4277
4474
|
}
|
|
4278
|
-
const localVarRequestOptions = { method: '
|
|
4475
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4279
4476
|
const localVarHeaderParameter = {};
|
|
4280
4477
|
const localVarQueryParameter = {};
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
for (const [key, value] of Object.entries(success)) {
|
|
4284
|
-
localVarQueryParameter[key] = value;
|
|
4285
|
-
}
|
|
4478
|
+
if (redirect !== undefined) {
|
|
4479
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4286
4480
|
}
|
|
4287
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4288
4481
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4289
4482
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4290
4483
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4291
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4292
4484
|
return {
|
|
4293
4485
|
url: toPathString(localVarUrlObj),
|
|
4294
4486
|
options: localVarRequestOptions,
|
|
4295
4487
|
};
|
|
4296
4488
|
},
|
|
4297
4489
|
/**
|
|
4298
|
-
*
|
|
4299
|
-
* @summary
|
|
4300
|
-
* @param {string}
|
|
4490
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4491
|
+
* @summary Logout
|
|
4492
|
+
* @param {string} [redirect]
|
|
4301
4493
|
* @param {*} [options] Override http request option.
|
|
4302
4494
|
* @throws {RequiredError}
|
|
4303
4495
|
*/
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4307
|
-
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4496
|
+
authControllerLogout: async (redirect, options = {}) => {
|
|
4497
|
+
const localVarPath = `/auth/logout`;
|
|
4308
4498
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4309
4499
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4310
4500
|
let baseOptions;
|
|
@@ -4314,7 +4504,9 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4314
4504
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4315
4505
|
const localVarHeaderParameter = {};
|
|
4316
4506
|
const localVarQueryParameter = {};
|
|
4317
|
-
|
|
4507
|
+
if (redirect !== undefined) {
|
|
4508
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
4509
|
+
}
|
|
4318
4510
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4319
4511
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4320
4512
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4323,73 +4515,216 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4323
4515
|
options: localVarRequestOptions,
|
|
4324
4516
|
};
|
|
4325
4517
|
},
|
|
4518
|
+
};
|
|
4519
|
+
};
|
|
4520
|
+
/**
|
|
4521
|
+
* AuthApi - functional programming interface
|
|
4522
|
+
* @export
|
|
4523
|
+
*/
|
|
4524
|
+
export const AuthApiFp = function (configuration) {
|
|
4525
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
4526
|
+
return {
|
|
4326
4527
|
/**
|
|
4327
|
-
*
|
|
4328
|
-
* @summary
|
|
4329
|
-
* @param {string} id
|
|
4528
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4529
|
+
* @summary Account
|
|
4330
4530
|
* @param {*} [options] Override http request option.
|
|
4331
4531
|
* @throws {RequiredError}
|
|
4332
4532
|
*/
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
const
|
|
4337
|
-
|
|
4338
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4339
|
-
let baseOptions;
|
|
4340
|
-
if (configuration) {
|
|
4341
|
-
baseOptions = configuration.baseOptions;
|
|
4342
|
-
}
|
|
4343
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4344
|
-
const localVarHeaderParameter = {};
|
|
4345
|
-
const localVarQueryParameter = {};
|
|
4346
|
-
// authentication domainAuth required
|
|
4347
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4348
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4349
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4350
|
-
return {
|
|
4351
|
-
url: toPathString(localVarUrlObj),
|
|
4352
|
-
options: localVarRequestOptions,
|
|
4353
|
-
};
|
|
4533
|
+
async authControllerAccount(options) {
|
|
4534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
4535
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4536
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
4537
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4354
4538
|
},
|
|
4355
4539
|
/**
|
|
4356
|
-
*
|
|
4357
|
-
* @summary
|
|
4358
|
-
* @param {string} id
|
|
4540
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4541
|
+
* @summary Callback
|
|
4359
4542
|
* @param {*} [options] Override http request option.
|
|
4360
4543
|
* @throws {RequiredError}
|
|
4361
4544
|
*/
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
const
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
return
|
|
4380
|
-
|
|
4381
|
-
|
|
4545
|
+
async authControllerCallback(options) {
|
|
4546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
4547
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4548
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
4549
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4550
|
+
},
|
|
4551
|
+
/**
|
|
4552
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4553
|
+
* @summary Login
|
|
4554
|
+
* @param {string} [redirect]
|
|
4555
|
+
* @param {*} [options] Override http request option.
|
|
4556
|
+
* @throws {RequiredError}
|
|
4557
|
+
*/
|
|
4558
|
+
async authControllerLogin(redirect, options) {
|
|
4559
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
4560
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4561
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
4562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4563
|
+
},
|
|
4564
|
+
/**
|
|
4565
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4566
|
+
* @summary Logout
|
|
4567
|
+
* @param {string} [redirect]
|
|
4568
|
+
* @param {*} [options] Override http request option.
|
|
4569
|
+
* @throws {RequiredError}
|
|
4570
|
+
*/
|
|
4571
|
+
async authControllerLogout(redirect, options) {
|
|
4572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
4573
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4574
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
4575
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4576
|
+
},
|
|
4577
|
+
};
|
|
4578
|
+
};
|
|
4579
|
+
/**
|
|
4580
|
+
* AuthApi - factory interface
|
|
4581
|
+
* @export
|
|
4582
|
+
*/
|
|
4583
|
+
export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
4584
|
+
const localVarFp = AuthApiFp(configuration);
|
|
4585
|
+
return {
|
|
4586
|
+
/**
|
|
4587
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4588
|
+
* @summary Account
|
|
4589
|
+
* @param {*} [options] Override http request option.
|
|
4590
|
+
* @throws {RequiredError}
|
|
4591
|
+
*/
|
|
4592
|
+
authControllerAccount(options) {
|
|
4593
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
4594
|
+
},
|
|
4595
|
+
/**
|
|
4596
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4597
|
+
* @summary Callback
|
|
4598
|
+
* @param {*} [options] Override http request option.
|
|
4599
|
+
* @throws {RequiredError}
|
|
4600
|
+
*/
|
|
4601
|
+
authControllerCallback(options) {
|
|
4602
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
4603
|
+
},
|
|
4604
|
+
/**
|
|
4605
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4606
|
+
* @summary Login
|
|
4607
|
+
* @param {string} [redirect]
|
|
4608
|
+
* @param {*} [options] Override http request option.
|
|
4609
|
+
* @throws {RequiredError}
|
|
4610
|
+
*/
|
|
4611
|
+
authControllerLogin(redirect, options) {
|
|
4612
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
4613
|
+
},
|
|
4614
|
+
/**
|
|
4615
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4616
|
+
* @summary Logout
|
|
4617
|
+
* @param {string} [redirect]
|
|
4618
|
+
* @param {*} [options] Override http request option.
|
|
4619
|
+
* @throws {RequiredError}
|
|
4620
|
+
*/
|
|
4621
|
+
authControllerLogout(redirect, options) {
|
|
4622
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
4623
|
+
},
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
/**
|
|
4627
|
+
* AuthApi - object-oriented interface
|
|
4628
|
+
* @export
|
|
4629
|
+
* @class AuthApi
|
|
4630
|
+
* @extends {BaseAPI}
|
|
4631
|
+
*/
|
|
4632
|
+
export class AuthApi extends BaseAPI {
|
|
4633
|
+
/**
|
|
4634
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
4635
|
+
* @summary Account
|
|
4636
|
+
* @param {*} [options] Override http request option.
|
|
4637
|
+
* @throws {RequiredError}
|
|
4638
|
+
* @memberof AuthApi
|
|
4639
|
+
*/
|
|
4640
|
+
authControllerAccount(options) {
|
|
4641
|
+
return AuthApiFp(this.configuration)
|
|
4642
|
+
.authControllerAccount(options)
|
|
4643
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4644
|
+
}
|
|
4645
|
+
/**
|
|
4646
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
4647
|
+
* @summary Callback
|
|
4648
|
+
* @param {*} [options] Override http request option.
|
|
4649
|
+
* @throws {RequiredError}
|
|
4650
|
+
* @memberof AuthApi
|
|
4651
|
+
*/
|
|
4652
|
+
authControllerCallback(options) {
|
|
4653
|
+
return AuthApiFp(this.configuration)
|
|
4654
|
+
.authControllerCallback(options)
|
|
4655
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4656
|
+
}
|
|
4657
|
+
/**
|
|
4658
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
4659
|
+
* @summary Login
|
|
4660
|
+
* @param {string} [redirect]
|
|
4661
|
+
* @param {*} [options] Override http request option.
|
|
4662
|
+
* @throws {RequiredError}
|
|
4663
|
+
* @memberof AuthApi
|
|
4664
|
+
*/
|
|
4665
|
+
authControllerLogin(redirect, options) {
|
|
4666
|
+
return AuthApiFp(this.configuration)
|
|
4667
|
+
.authControllerLogin(redirect, options)
|
|
4668
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4669
|
+
}
|
|
4670
|
+
/**
|
|
4671
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
4672
|
+
* @summary Logout
|
|
4673
|
+
* @param {string} [redirect]
|
|
4674
|
+
* @param {*} [options] Override http request option.
|
|
4675
|
+
* @throws {RequiredError}
|
|
4676
|
+
* @memberof AuthApi
|
|
4677
|
+
*/
|
|
4678
|
+
authControllerLogout(redirect, options) {
|
|
4679
|
+
return AuthApiFp(this.configuration)
|
|
4680
|
+
.authControllerLogout(redirect, options)
|
|
4681
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
/**
|
|
4685
|
+
* CommandApi - axios parameter creator
|
|
4686
|
+
* @export
|
|
4687
|
+
*/
|
|
4688
|
+
export const CommandApiAxiosParamCreator = function (configuration) {
|
|
4689
|
+
return {
|
|
4690
|
+
/**
|
|
4691
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
4692
|
+
* @summary Create
|
|
4693
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
4694
|
+
* @param {*} [options] Override http request option.
|
|
4695
|
+
* @throws {RequiredError}
|
|
4696
|
+
*/
|
|
4697
|
+
commandControllerCreate: async (commandCreateDTO, options = {}) => {
|
|
4698
|
+
const localVarPath = `/command`;
|
|
4699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4700
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4701
|
+
let baseOptions;
|
|
4702
|
+
if (configuration) {
|
|
4703
|
+
baseOptions = configuration.baseOptions;
|
|
4704
|
+
}
|
|
4705
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4706
|
+
const localVarHeaderParameter = {};
|
|
4707
|
+
const localVarQueryParameter = {};
|
|
4708
|
+
// authentication domainAuth required
|
|
4709
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4710
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4711
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4712
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4713
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
|
|
4714
|
+
return {
|
|
4715
|
+
url: toPathString(localVarUrlObj),
|
|
4716
|
+
options: localVarRequestOptions,
|
|
4382
4717
|
};
|
|
4383
4718
|
},
|
|
4384
4719
|
/**
|
|
4385
|
-
*
|
|
4386
|
-
* @summary
|
|
4387
|
-
* @param {
|
|
4720
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
4721
|
+
* @summary Create argument
|
|
4722
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
4388
4723
|
* @param {*} [options] Override http request option.
|
|
4389
4724
|
* @throws {RequiredError}
|
|
4390
4725
|
*/
|
|
4391
|
-
|
|
4392
|
-
const localVarPath = `/command/
|
|
4726
|
+
commandControllerCreateArgument: async (commandArgumentCreateDTO, options = {}) => {
|
|
4727
|
+
const localVarPath = `/command/argument`;
|
|
4393
4728
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4394
4729
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4395
4730
|
let baseOptions;
|
|
@@ -4404,24 +4739,25 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4404
4739
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4405
4740
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4406
4741
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4407
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4742
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentCreateDTO, localVarRequestOptions, configuration);
|
|
4408
4743
|
return {
|
|
4409
4744
|
url: toPathString(localVarUrlObj),
|
|
4410
4745
|
options: localVarRequestOptions,
|
|
4411
4746
|
};
|
|
4412
4747
|
},
|
|
4413
4748
|
/**
|
|
4414
|
-
* Required permissions: `
|
|
4415
|
-
* @summary
|
|
4749
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
4750
|
+
* @summary Get executions
|
|
4416
4751
|
* @param {string} id
|
|
4417
|
-
* @param {
|
|
4752
|
+
* @param {any} [success]
|
|
4753
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4418
4754
|
* @param {*} [options] Override http request option.
|
|
4419
4755
|
* @throws {RequiredError}
|
|
4420
4756
|
*/
|
|
4421
|
-
|
|
4757
|
+
commandControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
4422
4758
|
// verify required parameter 'id' is not null or undefined
|
|
4423
|
-
assertParamExists('
|
|
4424
|
-
const localVarPath = `/command/{id}/
|
|
4759
|
+
assertParamExists('commandControllerGetExecutions', 'id', id);
|
|
4760
|
+
const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4425
4761
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4426
4762
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4427
4763
|
let baseOptions;
|
|
@@ -4432,27 +4768,31 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4432
4768
|
const localVarHeaderParameter = {};
|
|
4433
4769
|
const localVarQueryParameter = {};
|
|
4434
4770
|
// authentication domainAuth required
|
|
4771
|
+
if (success !== undefined) {
|
|
4772
|
+
for (const [key, value] of Object.entries(success)) {
|
|
4773
|
+
localVarQueryParameter[key] = value;
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4435
4776
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4436
4777
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4437
4778
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4438
4779
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4439
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4780
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
4440
4781
|
return {
|
|
4441
4782
|
url: toPathString(localVarUrlObj),
|
|
4442
4783
|
options: localVarRequestOptions,
|
|
4443
4784
|
};
|
|
4444
4785
|
},
|
|
4445
4786
|
/**
|
|
4446
|
-
* Required permissions: `
|
|
4447
|
-
* @summary
|
|
4787
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
4788
|
+
* @summary Get one
|
|
4448
4789
|
* @param {string} id
|
|
4449
|
-
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4450
4790
|
* @param {*} [options] Override http request option.
|
|
4451
4791
|
* @throws {RequiredError}
|
|
4452
4792
|
*/
|
|
4453
|
-
|
|
4793
|
+
commandControllerGetOne: async (id, options = {}) => {
|
|
4454
4794
|
// verify required parameter 'id' is not null or undefined
|
|
4455
|
-
assertParamExists('
|
|
4795
|
+
assertParamExists('commandControllerGetOne', 'id', id);
|
|
4456
4796
|
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4457
4797
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4458
4798
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4460,99 +4800,248 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
4460
4800
|
if (configuration) {
|
|
4461
4801
|
baseOptions = configuration.baseOptions;
|
|
4462
4802
|
}
|
|
4463
|
-
const localVarRequestOptions = { method: '
|
|
4803
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4464
4804
|
const localVarHeaderParameter = {};
|
|
4465
4805
|
const localVarQueryParameter = {};
|
|
4466
4806
|
// authentication domainAuth required
|
|
4467
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4468
4807
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4469
4808
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4470
4809
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4471
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
|
|
4472
4810
|
return {
|
|
4473
4811
|
url: toPathString(localVarUrlObj),
|
|
4474
4812
|
options: localVarRequestOptions,
|
|
4475
4813
|
};
|
|
4476
4814
|
},
|
|
4477
4815
|
/**
|
|
4478
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `
|
|
4479
|
-
* @summary
|
|
4816
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
4817
|
+
* @summary Remove
|
|
4480
4818
|
* @param {string} id
|
|
4481
|
-
* @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
|
|
4482
4819
|
* @param {*} [options] Override http request option.
|
|
4483
4820
|
* @throws {RequiredError}
|
|
4484
4821
|
*/
|
|
4485
|
-
|
|
4822
|
+
commandControllerRemove: async (id, options = {}) => {
|
|
4486
4823
|
// verify required parameter 'id' is not null or undefined
|
|
4487
|
-
assertParamExists('
|
|
4488
|
-
const localVarPath = `/command/
|
|
4824
|
+
assertParamExists('commandControllerRemove', 'id', id);
|
|
4825
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4489
4826
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4490
4827
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4491
4828
|
let baseOptions;
|
|
4492
4829
|
if (configuration) {
|
|
4493
4830
|
baseOptions = configuration.baseOptions;
|
|
4494
4831
|
}
|
|
4495
|
-
const localVarRequestOptions = { method: '
|
|
4832
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4496
4833
|
const localVarHeaderParameter = {};
|
|
4497
4834
|
const localVarQueryParameter = {};
|
|
4498
4835
|
// authentication domainAuth required
|
|
4499
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4500
4836
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4501
4837
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4502
4838
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4503
|
-
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
|
|
4504
4839
|
return {
|
|
4505
4840
|
url: toPathString(localVarUrlObj),
|
|
4506
4841
|
options: localVarRequestOptions,
|
|
4507
4842
|
};
|
|
4508
4843
|
},
|
|
4509
|
-
};
|
|
4510
|
-
};
|
|
4511
|
-
/**
|
|
4512
|
-
* CommandApi - functional programming interface
|
|
4513
|
-
* @export
|
|
4514
|
-
*/
|
|
4515
|
-
export const CommandApiFp = function (configuration) {
|
|
4516
|
-
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
4517
|
-
return {
|
|
4518
4844
|
/**
|
|
4519
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `
|
|
4520
|
-
* @summary
|
|
4521
|
-
* @param {
|
|
4845
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
4846
|
+
* @summary Remove argument
|
|
4847
|
+
* @param {string} id
|
|
4522
4848
|
* @param {*} [options] Override http request option.
|
|
4523
4849
|
* @throws {RequiredError}
|
|
4524
4850
|
*/
|
|
4525
|
-
async
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
const
|
|
4529
|
-
|
|
4851
|
+
commandControllerRemoveArgument: async (id, options = {}) => {
|
|
4852
|
+
// verify required parameter 'id' is not null or undefined
|
|
4853
|
+
assertParamExists('commandControllerRemoveArgument', 'id', id);
|
|
4854
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4855
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4856
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4857
|
+
let baseOptions;
|
|
4858
|
+
if (configuration) {
|
|
4859
|
+
baseOptions = configuration.baseOptions;
|
|
4860
|
+
}
|
|
4861
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4862
|
+
const localVarHeaderParameter = {};
|
|
4863
|
+
const localVarQueryParameter = {};
|
|
4864
|
+
// authentication domainAuth required
|
|
4865
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4866
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4867
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4868
|
+
return {
|
|
4869
|
+
url: toPathString(localVarUrlObj),
|
|
4870
|
+
options: localVarRequestOptions,
|
|
4871
|
+
};
|
|
4530
4872
|
},
|
|
4531
4873
|
/**
|
|
4532
|
-
*
|
|
4533
|
-
* @summary
|
|
4534
|
-
* @param {
|
|
4874
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
4875
|
+
* @summary Search
|
|
4876
|
+
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
4535
4877
|
* @param {*} [options] Override http request option.
|
|
4536
4878
|
* @throws {RequiredError}
|
|
4537
4879
|
*/
|
|
4538
|
-
async
|
|
4539
|
-
const
|
|
4540
|
-
|
|
4541
|
-
const
|
|
4542
|
-
|
|
4880
|
+
commandControllerSearch: async (commandSearchInputDTO, options = {}) => {
|
|
4881
|
+
const localVarPath = `/command/search`;
|
|
4882
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4883
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4884
|
+
let baseOptions;
|
|
4885
|
+
if (configuration) {
|
|
4886
|
+
baseOptions = configuration.baseOptions;
|
|
4887
|
+
}
|
|
4888
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4889
|
+
const localVarHeaderParameter = {};
|
|
4890
|
+
const localVarQueryParameter = {};
|
|
4891
|
+
// authentication domainAuth required
|
|
4892
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4893
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4894
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4895
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4896
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
|
|
4897
|
+
return {
|
|
4898
|
+
url: toPathString(localVarUrlObj),
|
|
4899
|
+
options: localVarRequestOptions,
|
|
4900
|
+
};
|
|
4543
4901
|
},
|
|
4544
4902
|
/**
|
|
4545
|
-
* Required permissions: `
|
|
4546
|
-
* @summary
|
|
4903
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
4904
|
+
* @summary Trigger
|
|
4547
4905
|
* @param {string} id
|
|
4548
|
-
* @param {
|
|
4549
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
4906
|
+
* @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
|
|
4550
4907
|
* @param {*} [options] Override http request option.
|
|
4551
4908
|
* @throws {RequiredError}
|
|
4552
4909
|
*/
|
|
4553
|
-
async
|
|
4554
|
-
|
|
4555
|
-
|
|
4910
|
+
commandControllerTrigger: async (id, commandTriggerDTO, options = {}) => {
|
|
4911
|
+
// verify required parameter 'id' is not null or undefined
|
|
4912
|
+
assertParamExists('commandControllerTrigger', 'id', id);
|
|
4913
|
+
const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4914
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4915
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4916
|
+
let baseOptions;
|
|
4917
|
+
if (configuration) {
|
|
4918
|
+
baseOptions = configuration.baseOptions;
|
|
4919
|
+
}
|
|
4920
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4921
|
+
const localVarHeaderParameter = {};
|
|
4922
|
+
const localVarQueryParameter = {};
|
|
4923
|
+
// authentication domainAuth required
|
|
4924
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4925
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4926
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4927
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4928
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
|
|
4929
|
+
return {
|
|
4930
|
+
url: toPathString(localVarUrlObj),
|
|
4931
|
+
options: localVarRequestOptions,
|
|
4932
|
+
};
|
|
4933
|
+
},
|
|
4934
|
+
/**
|
|
4935
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
4936
|
+
* @summary Update
|
|
4937
|
+
* @param {string} id
|
|
4938
|
+
* @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
|
|
4939
|
+
* @param {*} [options] Override http request option.
|
|
4940
|
+
* @throws {RequiredError}
|
|
4941
|
+
*/
|
|
4942
|
+
commandControllerUpdate: async (id, commandUpdateDTO, options = {}) => {
|
|
4943
|
+
// verify required parameter 'id' is not null or undefined
|
|
4944
|
+
assertParamExists('commandControllerUpdate', 'id', id);
|
|
4945
|
+
const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4946
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4947
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4948
|
+
let baseOptions;
|
|
4949
|
+
if (configuration) {
|
|
4950
|
+
baseOptions = configuration.baseOptions;
|
|
4951
|
+
}
|
|
4952
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4953
|
+
const localVarHeaderParameter = {};
|
|
4954
|
+
const localVarQueryParameter = {};
|
|
4955
|
+
// authentication domainAuth required
|
|
4956
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4957
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4958
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4959
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4960
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
|
|
4961
|
+
return {
|
|
4962
|
+
url: toPathString(localVarUrlObj),
|
|
4963
|
+
options: localVarRequestOptions,
|
|
4964
|
+
};
|
|
4965
|
+
},
|
|
4966
|
+
/**
|
|
4967
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
4968
|
+
* @summary Update argument
|
|
4969
|
+
* @param {string} id
|
|
4970
|
+
* @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
|
|
4971
|
+
* @param {*} [options] Override http request option.
|
|
4972
|
+
* @throws {RequiredError}
|
|
4973
|
+
*/
|
|
4974
|
+
commandControllerUpdateArgument: async (id, commandArgumentUpdateDTO, options = {}) => {
|
|
4975
|
+
// verify required parameter 'id' is not null or undefined
|
|
4976
|
+
assertParamExists('commandControllerUpdateArgument', 'id', id);
|
|
4977
|
+
const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
4978
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4979
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4980
|
+
let baseOptions;
|
|
4981
|
+
if (configuration) {
|
|
4982
|
+
baseOptions = configuration.baseOptions;
|
|
4983
|
+
}
|
|
4984
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
4985
|
+
const localVarHeaderParameter = {};
|
|
4986
|
+
const localVarQueryParameter = {};
|
|
4987
|
+
// authentication domainAuth required
|
|
4988
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4989
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4990
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4991
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4992
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commandArgumentUpdateDTO, localVarRequestOptions, configuration);
|
|
4993
|
+
return {
|
|
4994
|
+
url: toPathString(localVarUrlObj),
|
|
4995
|
+
options: localVarRequestOptions,
|
|
4996
|
+
};
|
|
4997
|
+
},
|
|
4998
|
+
};
|
|
4999
|
+
};
|
|
5000
|
+
/**
|
|
5001
|
+
* CommandApi - functional programming interface
|
|
5002
|
+
* @export
|
|
5003
|
+
*/
|
|
5004
|
+
export const CommandApiFp = function (configuration) {
|
|
5005
|
+
const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
|
|
5006
|
+
return {
|
|
5007
|
+
/**
|
|
5008
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
|
|
5009
|
+
* @summary Create
|
|
5010
|
+
* @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
|
|
5011
|
+
* @param {*} [options] Override http request option.
|
|
5012
|
+
* @throws {RequiredError}
|
|
5013
|
+
*/
|
|
5014
|
+
async commandControllerCreate(commandCreateDTO, options) {
|
|
5015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
5016
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5017
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
5018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5019
|
+
},
|
|
5020
|
+
/**
|
|
5021
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
5022
|
+
* @summary Create argument
|
|
5023
|
+
* @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
|
|
5024
|
+
* @param {*} [options] Override http request option.
|
|
5025
|
+
* @throws {RequiredError}
|
|
5026
|
+
*/
|
|
5027
|
+
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
5028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
5029
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5030
|
+
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[localVarOperationServerIndex]?.url;
|
|
5031
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5032
|
+
},
|
|
5033
|
+
/**
|
|
5034
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
5035
|
+
* @summary Get executions
|
|
5036
|
+
* @param {string} id
|
|
5037
|
+
* @param {any} [success]
|
|
5038
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
5039
|
+
* @param {*} [options] Override http request option.
|
|
5040
|
+
* @throws {RequiredError}
|
|
5041
|
+
*/
|
|
5042
|
+
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
5043
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
5044
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4556
5045
|
const localVarOperationServerBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
4557
5046
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4558
5047
|
},
|
|
@@ -6059,6 +6548,39 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
6059
6548
|
options: localVarRequestOptions,
|
|
6060
6549
|
};
|
|
6061
6550
|
},
|
|
6551
|
+
/**
|
|
6552
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6553
|
+
* @summary Create admin invite link for a domain
|
|
6554
|
+
* @param {string} id
|
|
6555
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6556
|
+
* @param {*} [options] Override http request option.
|
|
6557
|
+
* @throws {RequiredError}
|
|
6558
|
+
*/
|
|
6559
|
+
domainControllerCreateInviteLink: async (id, inviteLinkCreateInputDTO, options = {}) => {
|
|
6560
|
+
// verify required parameter 'id' is not null or undefined
|
|
6561
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
6562
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
6563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6565
|
+
let baseOptions;
|
|
6566
|
+
if (configuration) {
|
|
6567
|
+
baseOptions = configuration.baseOptions;
|
|
6568
|
+
}
|
|
6569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6570
|
+
const localVarHeaderParameter = {};
|
|
6571
|
+
const localVarQueryParameter = {};
|
|
6572
|
+
// authentication adminAuth required
|
|
6573
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
6574
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6575
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6577
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6578
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
6579
|
+
return {
|
|
6580
|
+
url: toPathString(localVarUrlObj),
|
|
6581
|
+
options: localVarRequestOptions,
|
|
6582
|
+
};
|
|
6583
|
+
},
|
|
6062
6584
|
/**
|
|
6063
6585
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6064
6586
|
* @summary Get one
|
|
@@ -6270,6 +6792,20 @@ export const DomainApiFp = function (configuration) {
|
|
|
6270
6792
|
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6271
6793
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6272
6794
|
},
|
|
6795
|
+
/**
|
|
6796
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6797
|
+
* @summary Create admin invite link for a domain
|
|
6798
|
+
* @param {string} id
|
|
6799
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6800
|
+
* @param {*} [options] Override http request option.
|
|
6801
|
+
* @throws {RequiredError}
|
|
6802
|
+
*/
|
|
6803
|
+
async domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options);
|
|
6805
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6806
|
+
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
6807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6808
|
+
},
|
|
6273
6809
|
/**
|
|
6274
6810
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6275
6811
|
* @summary Get one
|
|
@@ -6371,6 +6907,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
6371
6907
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6372
6908
|
.then((request) => request(axios, basePath));
|
|
6373
6909
|
},
|
|
6910
|
+
/**
|
|
6911
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6912
|
+
* @summary Create admin invite link for a domain
|
|
6913
|
+
* @param {string} id
|
|
6914
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6915
|
+
* @param {*} [options] Override http request option.
|
|
6916
|
+
* @throws {RequiredError}
|
|
6917
|
+
*/
|
|
6918
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
6919
|
+
return localVarFp
|
|
6920
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
6921
|
+
.then((request) => request(axios, basePath));
|
|
6922
|
+
},
|
|
6374
6923
|
/**
|
|
6375
6924
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6376
6925
|
* @summary Get one
|
|
@@ -6461,6 +7010,20 @@ export class DomainApi extends BaseAPI {
|
|
|
6461
7010
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
6462
7011
|
.then((request) => request(this.axios, this.basePath));
|
|
6463
7012
|
}
|
|
7013
|
+
/**
|
|
7014
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
7015
|
+
* @summary Create admin invite link for a domain
|
|
7016
|
+
* @param {string} id
|
|
7017
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
7018
|
+
* @param {*} [options] Override http request option.
|
|
7019
|
+
* @throws {RequiredError}
|
|
7020
|
+
* @memberof DomainApi
|
|
7021
|
+
*/
|
|
7022
|
+
domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options) {
|
|
7023
|
+
return DomainApiFp(this.configuration)
|
|
7024
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
7025
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7026
|
+
}
|
|
6464
7027
|
/**
|
|
6465
7028
|
* <br> OperationId: `DomainControllerGetOne`
|
|
6466
7029
|
* @summary Get one
|
|
@@ -6743,6 +7306,64 @@ export const EventApiAxiosParamCreator = function (configuration) {
|
|
|
6743
7306
|
options: localVarRequestOptions,
|
|
6744
7307
|
};
|
|
6745
7308
|
},
|
|
7309
|
+
/**
|
|
7310
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7311
|
+
* @summary Explore events
|
|
7312
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7313
|
+
* @param {*} [options] Override http request option.
|
|
7314
|
+
* @throws {RequiredError}
|
|
7315
|
+
*/
|
|
7316
|
+
eventControllerExplore: async (eventExploreInputDTO, options = {}) => {
|
|
7317
|
+
const localVarPath = `/event/explore`;
|
|
7318
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7319
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7320
|
+
let baseOptions;
|
|
7321
|
+
if (configuration) {
|
|
7322
|
+
baseOptions = configuration.baseOptions;
|
|
7323
|
+
}
|
|
7324
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7325
|
+
const localVarHeaderParameter = {};
|
|
7326
|
+
const localVarQueryParameter = {};
|
|
7327
|
+
// authentication domainAuth required
|
|
7328
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7331
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7332
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventExploreInputDTO, localVarRequestOptions, configuration);
|
|
7333
|
+
return {
|
|
7334
|
+
url: toPathString(localVarUrlObj),
|
|
7335
|
+
options: localVarRequestOptions,
|
|
7336
|
+
};
|
|
7337
|
+
},
|
|
7338
|
+
/**
|
|
7339
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7340
|
+
* @summary Get event volume time-series with optional grouping
|
|
7341
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7342
|
+
* @param {*} [options] Override http request option.
|
|
7343
|
+
* @throws {RequiredError}
|
|
7344
|
+
*/
|
|
7345
|
+
eventControllerExploreVolume: async (eventVolumeInputDTO, options = {}) => {
|
|
7346
|
+
const localVarPath = `/event/explore/volume`;
|
|
7347
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7348
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7349
|
+
let baseOptions;
|
|
7350
|
+
if (configuration) {
|
|
7351
|
+
baseOptions = configuration.baseOptions;
|
|
7352
|
+
}
|
|
7353
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7354
|
+
const localVarHeaderParameter = {};
|
|
7355
|
+
const localVarQueryParameter = {};
|
|
7356
|
+
// authentication domainAuth required
|
|
7357
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7358
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7359
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7360
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7361
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventVolumeInputDTO, localVarRequestOptions, configuration);
|
|
7362
|
+
return {
|
|
7363
|
+
url: toPathString(localVarUrlObj),
|
|
7364
|
+
options: localVarRequestOptions,
|
|
7365
|
+
};
|
|
7366
|
+
},
|
|
6746
7367
|
/**
|
|
6747
7368
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
6748
7369
|
* @summary Export events to CSV
|
|
@@ -6881,6 +7502,32 @@ export const EventApiFp = function (configuration) {
|
|
|
6881
7502
|
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6882
7503
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6883
7504
|
},
|
|
7505
|
+
/**
|
|
7506
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7507
|
+
* @summary Explore events
|
|
7508
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7509
|
+
* @param {*} [options] Override http request option.
|
|
7510
|
+
* @throws {RequiredError}
|
|
7511
|
+
*/
|
|
7512
|
+
async eventControllerExplore(eventExploreInputDTO, options) {
|
|
7513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExplore(eventExploreInputDTO, options);
|
|
7514
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7515
|
+
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExplore']?.[localVarOperationServerIndex]?.url;
|
|
7516
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7517
|
+
},
|
|
7518
|
+
/**
|
|
7519
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7520
|
+
* @summary Get event volume time-series with optional grouping
|
|
7521
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7522
|
+
* @param {*} [options] Override http request option.
|
|
7523
|
+
* @throws {RequiredError}
|
|
7524
|
+
*/
|
|
7525
|
+
async eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7526
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExploreVolume(eventVolumeInputDTO, options);
|
|
7527
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7528
|
+
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExploreVolume']?.[localVarOperationServerIndex]?.url;
|
|
7529
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7530
|
+
},
|
|
6884
7531
|
/**
|
|
6885
7532
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
6886
7533
|
* @summary Export events to CSV
|
|
@@ -6953,19 +7600,43 @@ export const EventApiFactory = function (configuration, basePath, axios) {
|
|
|
6953
7600
|
return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
|
|
6954
7601
|
},
|
|
6955
7602
|
/**
|
|
6956
|
-
*
|
|
6957
|
-
* @summary
|
|
6958
|
-
* @param {
|
|
7603
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7604
|
+
* @summary Explore events
|
|
7605
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
6959
7606
|
* @param {*} [options] Override http request option.
|
|
6960
7607
|
* @throws {RequiredError}
|
|
6961
7608
|
*/
|
|
6962
|
-
|
|
6963
|
-
return localVarFp
|
|
7609
|
+
eventControllerExplore(eventExploreInputDTO, options) {
|
|
7610
|
+
return localVarFp
|
|
7611
|
+
.eventControllerExplore(eventExploreInputDTO, options)
|
|
7612
|
+
.then((request) => request(axios, basePath));
|
|
6964
7613
|
},
|
|
6965
7614
|
/**
|
|
6966
|
-
*
|
|
6967
|
-
* @summary Get
|
|
6968
|
-
* @param {
|
|
7615
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7616
|
+
* @summary Get event volume time-series with optional grouping
|
|
7617
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7618
|
+
* @param {*} [options] Override http request option.
|
|
7619
|
+
* @throws {RequiredError}
|
|
7620
|
+
*/
|
|
7621
|
+
eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7622
|
+
return localVarFp
|
|
7623
|
+
.eventControllerExploreVolume(eventVolumeInputDTO, options)
|
|
7624
|
+
.then((request) => request(axios, basePath));
|
|
7625
|
+
},
|
|
7626
|
+
/**
|
|
7627
|
+
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
7628
|
+
* @summary Export events to CSV
|
|
7629
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
7630
|
+
* @param {*} [options] Override http request option.
|
|
7631
|
+
* @throws {RequiredError}
|
|
7632
|
+
*/
|
|
7633
|
+
eventControllerExport(eventSearchInputDTO, options) {
|
|
7634
|
+
return localVarFp.eventControllerExport(eventSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
7635
|
+
},
|
|
7636
|
+
/**
|
|
7637
|
+
* Fetches events where cronjob, hook and command failed. Supports all the common query parameters Required permissions: `READ_MODULES`, `READ_EVENTS`<br> OperationId: `EventControllerGetFailedFunctions`
|
|
7638
|
+
* @summary Get failed functions
|
|
7639
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
6969
7640
|
* @param {*} [options] Override http request option.
|
|
6970
7641
|
* @throws {RequiredError}
|
|
6971
7642
|
*/
|
|
@@ -7016,6 +7687,32 @@ export class EventApi extends BaseAPI {
|
|
|
7016
7687
|
.eventControllerCreate(eventCreateDTO, options)
|
|
7017
7688
|
.then((request) => request(this.axios, this.basePath));
|
|
7018
7689
|
}
|
|
7690
|
+
/**
|
|
7691
|
+
* Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
|
|
7692
|
+
* @summary Explore events
|
|
7693
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7694
|
+
* @param {*} [options] Override http request option.
|
|
7695
|
+
* @throws {RequiredError}
|
|
7696
|
+
* @memberof EventApi
|
|
7697
|
+
*/
|
|
7698
|
+
eventControllerExplore(eventExploreInputDTO, options) {
|
|
7699
|
+
return EventApiFp(this.configuration)
|
|
7700
|
+
.eventControllerExplore(eventExploreInputDTO, options)
|
|
7701
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7702
|
+
}
|
|
7703
|
+
/**
|
|
7704
|
+
* Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
|
|
7705
|
+
* @summary Get event volume time-series with optional grouping
|
|
7706
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7707
|
+
* @param {*} [options] Override http request option.
|
|
7708
|
+
* @throws {RequiredError}
|
|
7709
|
+
* @memberof EventApi
|
|
7710
|
+
*/
|
|
7711
|
+
eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7712
|
+
return EventApiFp(this.configuration)
|
|
7713
|
+
.eventControllerExploreVolume(eventVolumeInputDTO, options)
|
|
7714
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7715
|
+
}
|
|
7019
7716
|
/**
|
|
7020
7717
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
7021
7718
|
* @summary Export events to CSV
|
|
@@ -9990,29 +10687,116 @@ export class HookApi extends BaseAPI {
|
|
|
9990
10687
|
}
|
|
9991
10688
|
}
|
|
9992
10689
|
/**
|
|
9993
|
-
*
|
|
10690
|
+
* InviteLinkApi - axios parameter creator
|
|
9994
10691
|
* @export
|
|
9995
10692
|
*/
|
|
9996
|
-
export const
|
|
10693
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration) {
|
|
9997
10694
|
return {
|
|
9998
10695
|
/**
|
|
9999
|
-
*
|
|
10000
|
-
* @summary
|
|
10696
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10697
|
+
* @summary Create invite link
|
|
10698
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10699
|
+
* @param {*} [options] Override http request option.
|
|
10700
|
+
* @throws {RequiredError}
|
|
10701
|
+
*/
|
|
10702
|
+
inviteLinkControllerCreate: async (inviteLinkCreateInputDTO, options = {}) => {
|
|
10703
|
+
const localVarPath = `/invite-link`;
|
|
10704
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10705
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10706
|
+
let baseOptions;
|
|
10707
|
+
if (configuration) {
|
|
10708
|
+
baseOptions = configuration.baseOptions;
|
|
10709
|
+
}
|
|
10710
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10711
|
+
const localVarHeaderParameter = {};
|
|
10712
|
+
const localVarQueryParameter = {};
|
|
10713
|
+
// authentication domainAuth required
|
|
10714
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10715
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10716
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10717
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10718
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkCreateInputDTO, localVarRequestOptions, configuration);
|
|
10719
|
+
return {
|
|
10720
|
+
url: toPathString(localVarUrlObj),
|
|
10721
|
+
options: localVarRequestOptions,
|
|
10722
|
+
};
|
|
10723
|
+
},
|
|
10724
|
+
/**
|
|
10725
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10726
|
+
* @summary Preview
|
|
10727
|
+
* @param {string} token
|
|
10728
|
+
* @param {*} [options] Override http request option.
|
|
10729
|
+
* @throws {RequiredError}
|
|
10730
|
+
*/
|
|
10731
|
+
inviteLinkControllerPreview: async (token, options = {}) => {
|
|
10732
|
+
// verify required parameter 'token' is not null or undefined
|
|
10733
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
10734
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
10735
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10736
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10737
|
+
let baseOptions;
|
|
10738
|
+
if (configuration) {
|
|
10739
|
+
baseOptions = configuration.baseOptions;
|
|
10740
|
+
}
|
|
10741
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10742
|
+
const localVarHeaderParameter = {};
|
|
10743
|
+
const localVarQueryParameter = {};
|
|
10744
|
+
// authentication domainAuth required
|
|
10745
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10746
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10747
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10748
|
+
return {
|
|
10749
|
+
url: toPathString(localVarUrlObj),
|
|
10750
|
+
options: localVarRequestOptions,
|
|
10751
|
+
};
|
|
10752
|
+
},
|
|
10753
|
+
/**
|
|
10754
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10755
|
+
* @summary Redeem
|
|
10756
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10757
|
+
* @param {*} [options] Override http request option.
|
|
10758
|
+
* @throws {RequiredError}
|
|
10759
|
+
*/
|
|
10760
|
+
inviteLinkControllerRedeem: async (redeemInputDTO, options = {}) => {
|
|
10761
|
+
const localVarPath = `/invite-link/redeem`;
|
|
10762
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10763
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10764
|
+
let baseOptions;
|
|
10765
|
+
if (configuration) {
|
|
10766
|
+
baseOptions = configuration.baseOptions;
|
|
10767
|
+
}
|
|
10768
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10769
|
+
const localVarHeaderParameter = {};
|
|
10770
|
+
const localVarQueryParameter = {};
|
|
10771
|
+
// authentication domainAuth required
|
|
10772
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10773
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10774
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10775
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10776
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
10777
|
+
return {
|
|
10778
|
+
url: toPathString(localVarUrlObj),
|
|
10779
|
+
options: localVarRequestOptions,
|
|
10780
|
+
};
|
|
10781
|
+
},
|
|
10782
|
+
/**
|
|
10783
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10784
|
+
* @summary Revoke
|
|
10001
10785
|
* @param {string} id
|
|
10002
10786
|
* @param {*} [options] Override http request option.
|
|
10003
10787
|
* @throws {RequiredError}
|
|
10004
10788
|
*/
|
|
10005
|
-
|
|
10789
|
+
inviteLinkControllerRevoke: async (id, options = {}) => {
|
|
10006
10790
|
// verify required parameter 'id' is not null or undefined
|
|
10007
|
-
assertParamExists('
|
|
10008
|
-
const localVarPath = `/
|
|
10791
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
10792
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10009
10793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10010
10794
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10011
10795
|
let baseOptions;
|
|
10012
10796
|
if (configuration) {
|
|
10013
10797
|
baseOptions = configuration.baseOptions;
|
|
10014
10798
|
}
|
|
10015
|
-
const localVarRequestOptions = { method: '
|
|
10799
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10016
10800
|
const localVarHeaderParameter = {};
|
|
10017
10801
|
const localVarQueryParameter = {};
|
|
10018
10802
|
// authentication domainAuth required
|
|
@@ -10025,14 +10809,14 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10025
10809
|
};
|
|
10026
10810
|
},
|
|
10027
10811
|
/**
|
|
10028
|
-
*
|
|
10812
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10029
10813
|
* @summary Search
|
|
10030
|
-
* @param {
|
|
10814
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10031
10815
|
* @param {*} [options] Override http request option.
|
|
10032
10816
|
* @throws {RequiredError}
|
|
10033
10817
|
*/
|
|
10034
|
-
|
|
10035
|
-
const localVarPath = `/
|
|
10818
|
+
inviteLinkControllerSearch: async (inviteLinkSearchInputDTO, options = {}) => {
|
|
10819
|
+
const localVarPath = `/invite-link/search`;
|
|
10036
10820
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10037
10821
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10038
10822
|
let baseOptions;
|
|
@@ -10047,7 +10831,7 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10047
10831
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10048
10832
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10049
10833
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10050
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10834
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteLinkSearchInputDTO, localVarRequestOptions, configuration);
|
|
10051
10835
|
return {
|
|
10052
10836
|
url: toPathString(localVarUrlObj),
|
|
10053
10837
|
options: localVarRequestOptions,
|
|
@@ -10056,117 +10840,232 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
10056
10840
|
};
|
|
10057
10841
|
};
|
|
10058
10842
|
/**
|
|
10059
|
-
*
|
|
10843
|
+
* InviteLinkApi - functional programming interface
|
|
10060
10844
|
* @export
|
|
10061
10845
|
*/
|
|
10062
|
-
export const
|
|
10063
|
-
const localVarAxiosParamCreator =
|
|
10846
|
+
export const InviteLinkApiFp = function (configuration) {
|
|
10847
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
10064
10848
|
return {
|
|
10065
10849
|
/**
|
|
10066
|
-
*
|
|
10067
|
-
* @summary
|
|
10850
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10851
|
+
* @summary Create invite link
|
|
10852
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10853
|
+
* @param {*} [options] Override http request option.
|
|
10854
|
+
* @throws {RequiredError}
|
|
10855
|
+
*/
|
|
10856
|
+
async inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options);
|
|
10858
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10859
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
10860
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10861
|
+
},
|
|
10862
|
+
/**
|
|
10863
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10864
|
+
* @summary Preview
|
|
10865
|
+
* @param {string} token
|
|
10866
|
+
* @param {*} [options] Override http request option.
|
|
10867
|
+
* @throws {RequiredError}
|
|
10868
|
+
*/
|
|
10869
|
+
async inviteLinkControllerPreview(token, options) {
|
|
10870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
10871
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10872
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
10873
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10874
|
+
},
|
|
10875
|
+
/**
|
|
10876
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10877
|
+
* @summary Redeem
|
|
10878
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10879
|
+
* @param {*} [options] Override http request option.
|
|
10880
|
+
* @throws {RequiredError}
|
|
10881
|
+
*/
|
|
10882
|
+
async inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
10884
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10885
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
10886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10887
|
+
},
|
|
10888
|
+
/**
|
|
10889
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10890
|
+
* @summary Revoke
|
|
10068
10891
|
* @param {string} id
|
|
10069
10892
|
* @param {*} [options] Override http request option.
|
|
10070
10893
|
* @throws {RequiredError}
|
|
10071
10894
|
*/
|
|
10072
|
-
async
|
|
10073
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10895
|
+
async inviteLinkControllerRevoke(id, options) {
|
|
10896
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
10074
10897
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10075
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10898
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
10076
10899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10077
10900
|
},
|
|
10078
10901
|
/**
|
|
10079
|
-
*
|
|
10902
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10080
10903
|
* @summary Search
|
|
10081
|
-
* @param {
|
|
10904
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10082
10905
|
* @param {*} [options] Override http request option.
|
|
10083
10906
|
* @throws {RequiredError}
|
|
10084
10907
|
*/
|
|
10085
|
-
async
|
|
10086
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
10908
|
+
async inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options);
|
|
10087
10910
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10088
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
10911
|
+
const localVarOperationServerBasePath = operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10089
10912
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10090
10913
|
},
|
|
10091
10914
|
};
|
|
10092
10915
|
};
|
|
10093
10916
|
/**
|
|
10094
|
-
*
|
|
10917
|
+
* InviteLinkApi - factory interface
|
|
10095
10918
|
* @export
|
|
10096
10919
|
*/
|
|
10097
|
-
export const
|
|
10098
|
-
const localVarFp =
|
|
10920
|
+
export const InviteLinkApiFactory = function (configuration, basePath, axios) {
|
|
10921
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
10099
10922
|
return {
|
|
10100
10923
|
/**
|
|
10101
|
-
*
|
|
10102
|
-
* @summary
|
|
10924
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10925
|
+
* @summary Create invite link
|
|
10926
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10927
|
+
* @param {*} [options] Override http request option.
|
|
10928
|
+
* @throws {RequiredError}
|
|
10929
|
+
*/
|
|
10930
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10931
|
+
return localVarFp
|
|
10932
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10933
|
+
.then((request) => request(axios, basePath));
|
|
10934
|
+
},
|
|
10935
|
+
/**
|
|
10936
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
10937
|
+
* @summary Preview
|
|
10938
|
+
* @param {string} token
|
|
10939
|
+
* @param {*} [options] Override http request option.
|
|
10940
|
+
* @throws {RequiredError}
|
|
10941
|
+
*/
|
|
10942
|
+
inviteLinkControllerPreview(token, options) {
|
|
10943
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
10944
|
+
},
|
|
10945
|
+
/**
|
|
10946
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
10947
|
+
* @summary Redeem
|
|
10948
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
10949
|
+
* @param {*} [options] Override http request option.
|
|
10950
|
+
* @throws {RequiredError}
|
|
10951
|
+
*/
|
|
10952
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
10953
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
10954
|
+
},
|
|
10955
|
+
/**
|
|
10956
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
10957
|
+
* @summary Revoke
|
|
10103
10958
|
* @param {string} id
|
|
10104
10959
|
* @param {*} [options] Override http request option.
|
|
10105
10960
|
* @throws {RequiredError}
|
|
10106
10961
|
*/
|
|
10107
|
-
|
|
10108
|
-
return localVarFp.
|
|
10962
|
+
inviteLinkControllerRevoke(id, options) {
|
|
10963
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
10109
10964
|
},
|
|
10110
10965
|
/**
|
|
10111
|
-
*
|
|
10966
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10112
10967
|
* @summary Search
|
|
10113
|
-
* @param {
|
|
10968
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10114
10969
|
* @param {*} [options] Override http request option.
|
|
10115
10970
|
* @throws {RequiredError}
|
|
10116
10971
|
*/
|
|
10117
|
-
|
|
10118
|
-
return localVarFp
|
|
10972
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
10973
|
+
return localVarFp
|
|
10974
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10975
|
+
.then((request) => request(axios, basePath));
|
|
10119
10976
|
},
|
|
10120
10977
|
};
|
|
10121
10978
|
};
|
|
10122
10979
|
/**
|
|
10123
|
-
*
|
|
10980
|
+
* InviteLinkApi - object-oriented interface
|
|
10124
10981
|
* @export
|
|
10125
|
-
* @class
|
|
10982
|
+
* @class InviteLinkApi
|
|
10126
10983
|
* @extends {BaseAPI}
|
|
10127
10984
|
*/
|
|
10128
|
-
export class
|
|
10985
|
+
export class InviteLinkApi extends BaseAPI {
|
|
10129
10986
|
/**
|
|
10130
|
-
*
|
|
10131
|
-
* @summary
|
|
10987
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
10988
|
+
* @summary Create invite link
|
|
10989
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
10990
|
+
* @param {*} [options] Override http request option.
|
|
10991
|
+
* @throws {RequiredError}
|
|
10992
|
+
* @memberof InviteLinkApi
|
|
10993
|
+
*/
|
|
10994
|
+
inviteLinkControllerCreate(inviteLinkCreateInputDTO, options) {
|
|
10995
|
+
return InviteLinkApiFp(this.configuration)
|
|
10996
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
10997
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10998
|
+
}
|
|
10999
|
+
/**
|
|
11000
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
11001
|
+
* @summary Preview
|
|
11002
|
+
* @param {string} token
|
|
11003
|
+
* @param {*} [options] Override http request option.
|
|
11004
|
+
* @throws {RequiredError}
|
|
11005
|
+
* @memberof InviteLinkApi
|
|
11006
|
+
*/
|
|
11007
|
+
inviteLinkControllerPreview(token, options) {
|
|
11008
|
+
return InviteLinkApiFp(this.configuration)
|
|
11009
|
+
.inviteLinkControllerPreview(token, options)
|
|
11010
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11011
|
+
}
|
|
11012
|
+
/**
|
|
11013
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
11014
|
+
* @summary Redeem
|
|
11015
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
11016
|
+
* @param {*} [options] Override http request option.
|
|
11017
|
+
* @throws {RequiredError}
|
|
11018
|
+
* @memberof InviteLinkApi
|
|
11019
|
+
*/
|
|
11020
|
+
inviteLinkControllerRedeem(redeemInputDTO, options) {
|
|
11021
|
+
return InviteLinkApiFp(this.configuration)
|
|
11022
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
11023
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11024
|
+
}
|
|
11025
|
+
/**
|
|
11026
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
11027
|
+
* @summary Revoke
|
|
10132
11028
|
* @param {string} id
|
|
10133
11029
|
* @param {*} [options] Override http request option.
|
|
10134
11030
|
* @throws {RequiredError}
|
|
10135
|
-
* @memberof
|
|
11031
|
+
* @memberof InviteLinkApi
|
|
10136
11032
|
*/
|
|
10137
|
-
|
|
10138
|
-
return
|
|
10139
|
-
.
|
|
11033
|
+
inviteLinkControllerRevoke(id, options) {
|
|
11034
|
+
return InviteLinkApiFp(this.configuration)
|
|
11035
|
+
.inviteLinkControllerRevoke(id, options)
|
|
10140
11036
|
.then((request) => request(this.axios, this.basePath));
|
|
10141
11037
|
}
|
|
10142
11038
|
/**
|
|
10143
|
-
*
|
|
11039
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
10144
11040
|
* @summary Search
|
|
10145
|
-
* @param {
|
|
11041
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
10146
11042
|
* @param {*} [options] Override http request option.
|
|
10147
11043
|
* @throws {RequiredError}
|
|
10148
|
-
* @memberof
|
|
11044
|
+
* @memberof InviteLinkApi
|
|
10149
11045
|
*/
|
|
10150
|
-
|
|
10151
|
-
return
|
|
10152
|
-
.
|
|
11046
|
+
inviteLinkControllerSearch(inviteLinkSearchInputDTO, options) {
|
|
11047
|
+
return InviteLinkApiFp(this.configuration)
|
|
11048
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
10153
11049
|
.then((request) => request(this.axios, this.basePath));
|
|
10154
11050
|
}
|
|
10155
11051
|
}
|
|
10156
11052
|
/**
|
|
10157
|
-
*
|
|
11053
|
+
* ItemApi - axios parameter creator
|
|
10158
11054
|
* @export
|
|
10159
11055
|
*/
|
|
10160
|
-
export const
|
|
11056
|
+
export const ItemApiAxiosParamCreator = function (configuration) {
|
|
10161
11057
|
return {
|
|
10162
11058
|
/**
|
|
10163
|
-
*
|
|
10164
|
-
* @summary
|
|
11059
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11060
|
+
* @summary Find one
|
|
11061
|
+
* @param {string} id
|
|
10165
11062
|
* @param {*} [options] Override http request option.
|
|
10166
11063
|
* @throws {RequiredError}
|
|
10167
11064
|
*/
|
|
10168
|
-
|
|
10169
|
-
|
|
11065
|
+
itemControllerFindOne: async (id, options = {}) => {
|
|
11066
|
+
// verify required parameter 'id' is not null or undefined
|
|
11067
|
+
assertParamExists('itemControllerFindOne', 'id', id);
|
|
11068
|
+
const localVarPath = `/items/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10170
11069
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10171
11070
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10172
11071
|
let baseOptions;
|
|
@@ -10176,6 +11075,7 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
10176
11075
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10177
11076
|
const localVarHeaderParameter = {};
|
|
10178
11077
|
const localVarQueryParameter = {};
|
|
11078
|
+
// authentication domainAuth required
|
|
10179
11079
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10180
11080
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10181
11081
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -10185,33 +11085,193 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
10185
11085
|
};
|
|
10186
11086
|
},
|
|
10187
11087
|
/**
|
|
10188
|
-
*
|
|
10189
|
-
* @summary
|
|
11088
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11089
|
+
* @summary Search
|
|
11090
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
10190
11091
|
* @param {*} [options] Override http request option.
|
|
10191
11092
|
* @throws {RequiredError}
|
|
10192
11093
|
*/
|
|
10193
|
-
|
|
10194
|
-
const localVarPath = `/
|
|
11094
|
+
itemControllerSearch: async (itemSearchInputDTO, options = {}) => {
|
|
11095
|
+
const localVarPath = `/items/search`;
|
|
10195
11096
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10196
11097
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10197
11098
|
let baseOptions;
|
|
10198
11099
|
if (configuration) {
|
|
10199
11100
|
baseOptions = configuration.baseOptions;
|
|
10200
11101
|
}
|
|
10201
|
-
const localVarRequestOptions = { method: '
|
|
11102
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10202
11103
|
const localVarHeaderParameter = {};
|
|
10203
11104
|
const localVarQueryParameter = {};
|
|
11105
|
+
// authentication domainAuth required
|
|
11106
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10204
11107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10205
11108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10206
11109
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11110
|
+
localVarRequestOptions.data = serializeDataIfNeeded(itemSearchInputDTO, localVarRequestOptions, configuration);
|
|
10207
11111
|
return {
|
|
10208
11112
|
url: toPathString(localVarUrlObj),
|
|
10209
11113
|
options: localVarRequestOptions,
|
|
10210
11114
|
};
|
|
10211
11115
|
},
|
|
11116
|
+
};
|
|
11117
|
+
};
|
|
11118
|
+
/**
|
|
11119
|
+
* ItemApi - functional programming interface
|
|
11120
|
+
* @export
|
|
11121
|
+
*/
|
|
11122
|
+
export const ItemApiFp = function (configuration) {
|
|
11123
|
+
const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);
|
|
11124
|
+
return {
|
|
10212
11125
|
/**
|
|
10213
|
-
*
|
|
10214
|
-
* @summary
|
|
11126
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11127
|
+
* @summary Find one
|
|
11128
|
+
* @param {string} id
|
|
11129
|
+
* @param {*} [options] Override http request option.
|
|
11130
|
+
* @throws {RequiredError}
|
|
11131
|
+
*/
|
|
11132
|
+
async itemControllerFindOne(id, options) {
|
|
11133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
11134
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11135
|
+
const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[localVarOperationServerIndex]?.url;
|
|
11136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11137
|
+
},
|
|
11138
|
+
/**
|
|
11139
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11140
|
+
* @summary Search
|
|
11141
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11142
|
+
* @param {*} [options] Override http request option.
|
|
11143
|
+
* @throws {RequiredError}
|
|
11144
|
+
*/
|
|
11145
|
+
async itemControllerSearch(itemSearchInputDTO, options) {
|
|
11146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
11147
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11148
|
+
const localVarOperationServerBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
11149
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11150
|
+
},
|
|
11151
|
+
};
|
|
11152
|
+
};
|
|
11153
|
+
/**
|
|
11154
|
+
* ItemApi - factory interface
|
|
11155
|
+
* @export
|
|
11156
|
+
*/
|
|
11157
|
+
export const ItemApiFactory = function (configuration, basePath, axios) {
|
|
11158
|
+
const localVarFp = ItemApiFp(configuration);
|
|
11159
|
+
return {
|
|
11160
|
+
/**
|
|
11161
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11162
|
+
* @summary Find one
|
|
11163
|
+
* @param {string} id
|
|
11164
|
+
* @param {*} [options] Override http request option.
|
|
11165
|
+
* @throws {RequiredError}
|
|
11166
|
+
*/
|
|
11167
|
+
itemControllerFindOne(id, options) {
|
|
11168
|
+
return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
11169
|
+
},
|
|
11170
|
+
/**
|
|
11171
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11172
|
+
* @summary Search
|
|
11173
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11174
|
+
* @param {*} [options] Override http request option.
|
|
11175
|
+
* @throws {RequiredError}
|
|
11176
|
+
*/
|
|
11177
|
+
itemControllerSearch(itemSearchInputDTO, options) {
|
|
11178
|
+
return localVarFp.itemControllerSearch(itemSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
11179
|
+
},
|
|
11180
|
+
};
|
|
11181
|
+
};
|
|
11182
|
+
/**
|
|
11183
|
+
* ItemApi - object-oriented interface
|
|
11184
|
+
* @export
|
|
11185
|
+
* @class ItemApi
|
|
11186
|
+
* @extends {BaseAPI}
|
|
11187
|
+
*/
|
|
11188
|
+
export class ItemApi extends BaseAPI {
|
|
11189
|
+
/**
|
|
11190
|
+
* Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerFindOne`
|
|
11191
|
+
* @summary Find one
|
|
11192
|
+
* @param {string} id
|
|
11193
|
+
* @param {*} [options] Override http request option.
|
|
11194
|
+
* @throws {RequiredError}
|
|
11195
|
+
* @memberof ItemApi
|
|
11196
|
+
*/
|
|
11197
|
+
itemControllerFindOne(id, options) {
|
|
11198
|
+
return ItemApiFp(this.configuration)
|
|
11199
|
+
.itemControllerFindOne(id, options)
|
|
11200
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11201
|
+
}
|
|
11202
|
+
/**
|
|
11203
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
11204
|
+
* @summary Search
|
|
11205
|
+
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
11206
|
+
* @param {*} [options] Override http request option.
|
|
11207
|
+
* @throws {RequiredError}
|
|
11208
|
+
* @memberof ItemApi
|
|
11209
|
+
*/
|
|
11210
|
+
itemControllerSearch(itemSearchInputDTO, options) {
|
|
11211
|
+
return ItemApiFp(this.configuration)
|
|
11212
|
+
.itemControllerSearch(itemSearchInputDTO, options)
|
|
11213
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11214
|
+
}
|
|
11215
|
+
}
|
|
11216
|
+
/**
|
|
11217
|
+
* MetaApi - axios parameter creator
|
|
11218
|
+
* @export
|
|
11219
|
+
*/
|
|
11220
|
+
export const MetaApiAxiosParamCreator = function (configuration) {
|
|
11221
|
+
return {
|
|
11222
|
+
/**
|
|
11223
|
+
* <br> OperationId: `MetaGetHealth`
|
|
11224
|
+
* @summary Get health
|
|
11225
|
+
* @param {*} [options] Override http request option.
|
|
11226
|
+
* @throws {RequiredError}
|
|
11227
|
+
*/
|
|
11228
|
+
metaGetHealth: async (options = {}) => {
|
|
11229
|
+
const localVarPath = `/healthz`;
|
|
11230
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11232
|
+
let baseOptions;
|
|
11233
|
+
if (configuration) {
|
|
11234
|
+
baseOptions = configuration.baseOptions;
|
|
11235
|
+
}
|
|
11236
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11237
|
+
const localVarHeaderParameter = {};
|
|
11238
|
+
const localVarQueryParameter = {};
|
|
11239
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11241
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11242
|
+
return {
|
|
11243
|
+
url: toPathString(localVarUrlObj),
|
|
11244
|
+
options: localVarRequestOptions,
|
|
11245
|
+
};
|
|
11246
|
+
},
|
|
11247
|
+
/**
|
|
11248
|
+
* <br> OperationId: `MetaGetMetrics`
|
|
11249
|
+
* @summary Get metrics
|
|
11250
|
+
* @param {*} [options] Override http request option.
|
|
11251
|
+
* @throws {RequiredError}
|
|
11252
|
+
*/
|
|
11253
|
+
metaGetMetrics: async (options = {}) => {
|
|
11254
|
+
const localVarPath = `/metrics`;
|
|
11255
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11256
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11257
|
+
let baseOptions;
|
|
11258
|
+
if (configuration) {
|
|
11259
|
+
baseOptions = configuration.baseOptions;
|
|
11260
|
+
}
|
|
11261
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11262
|
+
const localVarHeaderParameter = {};
|
|
11263
|
+
const localVarQueryParameter = {};
|
|
11264
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11265
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11266
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11267
|
+
return {
|
|
11268
|
+
url: toPathString(localVarUrlObj),
|
|
11269
|
+
options: localVarRequestOptions,
|
|
11270
|
+
};
|
|
11271
|
+
},
|
|
11272
|
+
/**
|
|
11273
|
+
* <br> OperationId: `MetaGetOpenApi`
|
|
11274
|
+
* @summary Get open api
|
|
10215
11275
|
* @param {*} [options] Override http request option.
|
|
10216
11276
|
* @throws {RequiredError}
|
|
10217
11277
|
*/
|
|
@@ -11720,6 +12780,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
11720
12780
|
options: localVarRequestOptions,
|
|
11721
12781
|
};
|
|
11722
12782
|
},
|
|
12783
|
+
/**
|
|
12784
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12785
|
+
* @summary Bulk assign role
|
|
12786
|
+
* @param {string} roleId
|
|
12787
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12788
|
+
* @param {*} [options] Override http request option.
|
|
12789
|
+
* @throws {RequiredError}
|
|
12790
|
+
*/
|
|
12791
|
+
playerControllerBulkAssignRole: async (roleId, playerBulkAssignRoleInputDTO, options = {}) => {
|
|
12792
|
+
// verify required parameter 'roleId' is not null or undefined
|
|
12793
|
+
assertParamExists('playerControllerBulkAssignRole', 'roleId', roleId);
|
|
12794
|
+
const localVarPath = `/player/role/{roleId}`.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
12795
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12796
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12797
|
+
let baseOptions;
|
|
12798
|
+
if (configuration) {
|
|
12799
|
+
baseOptions = configuration.baseOptions;
|
|
12800
|
+
}
|
|
12801
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
12802
|
+
const localVarHeaderParameter = {};
|
|
12803
|
+
const localVarQueryParameter = {};
|
|
12804
|
+
// authentication domainAuth required
|
|
12805
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12806
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12807
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12808
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12809
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerBulkAssignRoleInputDTO, localVarRequestOptions, configuration);
|
|
12810
|
+
return {
|
|
12811
|
+
url: toPathString(localVarUrlObj),
|
|
12812
|
+
options: localVarRequestOptions,
|
|
12813
|
+
};
|
|
12814
|
+
},
|
|
11723
12815
|
/**
|
|
11724
12816
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
11725
12817
|
* @summary Bulk delete
|
|
@@ -11989,6 +13081,20 @@ export const PlayerApiFp = function (configuration) {
|
|
|
11989
13081
|
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
11990
13082
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11991
13083
|
},
|
|
13084
|
+
/**
|
|
13085
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13086
|
+
* @summary Bulk assign role
|
|
13087
|
+
* @param {string} roleId
|
|
13088
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
13089
|
+
* @param {*} [options] Override http request option.
|
|
13090
|
+
* @throws {RequiredError}
|
|
13091
|
+
*/
|
|
13092
|
+
async playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
13093
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options);
|
|
13094
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13095
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
13096
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13097
|
+
},
|
|
11992
13098
|
/**
|
|
11993
13099
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
11994
13100
|
* @summary Bulk delete
|
|
@@ -12142,6 +13248,19 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
12142
13248
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
12143
13249
|
.then((request) => request(axios, basePath));
|
|
12144
13250
|
},
|
|
13251
|
+
/**
|
|
13252
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13253
|
+
* @summary Bulk assign role
|
|
13254
|
+
* @param {string} roleId
|
|
13255
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
13256
|
+
* @param {*} [options] Override http request option.
|
|
13257
|
+
* @throws {RequiredError}
|
|
13258
|
+
*/
|
|
13259
|
+
playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
13260
|
+
return localVarFp
|
|
13261
|
+
.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
|
|
13262
|
+
.then((request) => request(axios, basePath));
|
|
13263
|
+
},
|
|
12145
13264
|
/**
|
|
12146
13265
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12147
13266
|
* @summary Bulk delete
|
|
@@ -12299,6 +13418,20 @@ export class PlayerApi extends BaseAPI {
|
|
|
12299
13418
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
12300
13419
|
.then((request) => request(this.axios, this.basePath));
|
|
12301
13420
|
}
|
|
13421
|
+
/**
|
|
13422
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13423
|
+
* @summary Bulk assign role
|
|
13424
|
+
* @param {string} roleId
|
|
13425
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
13426
|
+
* @param {*} [options] Override http request option.
|
|
13427
|
+
* @throws {RequiredError}
|
|
13428
|
+
* @memberof PlayerApi
|
|
13429
|
+
*/
|
|
13430
|
+
playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
13431
|
+
return PlayerApiFp(this.configuration)
|
|
13432
|
+
.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
|
|
13433
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13434
|
+
}
|
|
12302
13435
|
/**
|
|
12303
13436
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12304
13437
|
* @summary Bulk delete
|
|
@@ -12422,6 +13555,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
12422
13555
|
options: localVarRequestOptions,
|
|
12423
13556
|
};
|
|
12424
13557
|
},
|
|
13558
|
+
/**
|
|
13559
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13560
|
+
* @summary Bulk add currency
|
|
13561
|
+
* @param {string} gameServerId
|
|
13562
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13563
|
+
* @param {*} [options] Override http request option.
|
|
13564
|
+
* @throws {RequiredError}
|
|
13565
|
+
*/
|
|
13566
|
+
playerOnGameServerControllerBulkAddCurrency: async (gameServerId, pogBulkAddCurrencyInputDTO, options = {}) => {
|
|
13567
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
13568
|
+
assertParamExists('playerOnGameServerControllerBulkAddCurrency', 'gameServerId', gameServerId);
|
|
13569
|
+
const localVarPath = `/gameserver/{gameServerId}/addCurrency`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
13570
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13571
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13572
|
+
let baseOptions;
|
|
13573
|
+
if (configuration) {
|
|
13574
|
+
baseOptions = configuration.baseOptions;
|
|
13575
|
+
}
|
|
13576
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13577
|
+
const localVarHeaderParameter = {};
|
|
13578
|
+
const localVarQueryParameter = {};
|
|
13579
|
+
// authentication domainAuth required
|
|
13580
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13581
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13583
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13584
|
+
localVarRequestOptions.data = serializeDataIfNeeded(pogBulkAddCurrencyInputDTO, localVarRequestOptions, configuration);
|
|
13585
|
+
return {
|
|
13586
|
+
url: toPathString(localVarUrlObj),
|
|
13587
|
+
options: localVarRequestOptions,
|
|
13588
|
+
};
|
|
13589
|
+
},
|
|
12425
13590
|
/**
|
|
12426
13591
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12427
13592
|
* @summary Bulk delete
|
|
@@ -12619,48 +13784,611 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
12619
13784
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12620
13785
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12621
13786
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12622
|
-
localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
|
|
13787
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
|
|
13788
|
+
return {
|
|
13789
|
+
url: toPathString(localVarUrlObj),
|
|
13790
|
+
options: localVarRequestOptions,
|
|
13791
|
+
};
|
|
13792
|
+
},
|
|
13793
|
+
/**
|
|
13794
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
13795
|
+
* @summary Transact between players
|
|
13796
|
+
* @param {string} gameServerId
|
|
13797
|
+
* @param {string} sender
|
|
13798
|
+
* @param {string} receiver
|
|
13799
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13800
|
+
* @param {*} [options] Override http request option.
|
|
13801
|
+
* @throws {RequiredError}
|
|
13802
|
+
*/
|
|
13803
|
+
playerOnGameServerControllerTransactBetweenPlayers: async (gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options = {}) => {
|
|
13804
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
13805
|
+
assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'gameServerId', gameServerId);
|
|
13806
|
+
// verify required parameter 'sender' is not null or undefined
|
|
13807
|
+
assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'sender', sender);
|
|
13808
|
+
// verify required parameter 'receiver' is not null or undefined
|
|
13809
|
+
assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'receiver', receiver);
|
|
13810
|
+
const localVarPath = `/gameserver/{gameServerId}/player/{sender}/{receiver}/transfer`
|
|
13811
|
+
.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
|
|
13812
|
+
.replace(`{${'sender'}}`, encodeURIComponent(String(sender)))
|
|
13813
|
+
.replace(`{${'receiver'}}`, encodeURIComponent(String(receiver)));
|
|
13814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13816
|
+
let baseOptions;
|
|
13817
|
+
if (configuration) {
|
|
13818
|
+
baseOptions = configuration.baseOptions;
|
|
13819
|
+
}
|
|
13820
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13821
|
+
const localVarHeaderParameter = {};
|
|
13822
|
+
const localVarQueryParameter = {};
|
|
13823
|
+
// authentication domainAuth required
|
|
13824
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13825
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13826
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13827
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13828
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
|
|
13829
|
+
return {
|
|
13830
|
+
url: toPathString(localVarUrlObj),
|
|
13831
|
+
options: localVarRequestOptions,
|
|
13832
|
+
};
|
|
13833
|
+
},
|
|
13834
|
+
};
|
|
13835
|
+
};
|
|
13836
|
+
/**
|
|
13837
|
+
* PlayerOnGameServerApi - functional programming interface
|
|
13838
|
+
* @export
|
|
13839
|
+
*/
|
|
13840
|
+
export const PlayerOnGameServerApiFp = function (configuration) {
|
|
13841
|
+
const localVarAxiosParamCreator = PlayerOnGameServerApiAxiosParamCreator(configuration);
|
|
13842
|
+
return {
|
|
13843
|
+
/**
|
|
13844
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
13845
|
+
* @summary Add currency
|
|
13846
|
+
* @param {string} gameServerId
|
|
13847
|
+
* @param {string} playerId
|
|
13848
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13849
|
+
* @param {*} [options] Override http request option.
|
|
13850
|
+
* @throws {RequiredError}
|
|
13851
|
+
*/
|
|
13852
|
+
async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
13853
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
13854
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13855
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
13856
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13857
|
+
},
|
|
13858
|
+
/**
|
|
13859
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13860
|
+
* @summary Bulk add currency
|
|
13861
|
+
* @param {string} gameServerId
|
|
13862
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13863
|
+
* @param {*} [options] Override http request option.
|
|
13864
|
+
* @throws {RequiredError}
|
|
13865
|
+
*/
|
|
13866
|
+
async playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
13867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options);
|
|
13868
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13869
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
13870
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13871
|
+
},
|
|
13872
|
+
/**
|
|
13873
|
+
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
13874
|
+
* @summary Bulk delete
|
|
13875
|
+
* @param {string} gameServerId
|
|
13876
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
13877
|
+
* @param {*} [options] Override http request option.
|
|
13878
|
+
* @throws {RequiredError}
|
|
13879
|
+
*/
|
|
13880
|
+
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
13881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
13882
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13883
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
13884
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13885
|
+
},
|
|
13886
|
+
/**
|
|
13887
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
13888
|
+
* @summary Deduct currency
|
|
13889
|
+
* @param {string} gameServerId
|
|
13890
|
+
* @param {string} playerId
|
|
13891
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13892
|
+
* @param {*} [options] Override http request option.
|
|
13893
|
+
* @throws {RequiredError}
|
|
13894
|
+
*/
|
|
13895
|
+
async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
13896
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
13897
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13898
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[localVarOperationServerIndex]?.url;
|
|
13899
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13900
|
+
},
|
|
13901
|
+
/**
|
|
13902
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
13903
|
+
* @summary Delete
|
|
13904
|
+
* @param {string} gameServerId
|
|
13905
|
+
* @param {string} playerId
|
|
13906
|
+
* @param {*} [options] Override http request option.
|
|
13907
|
+
* @throws {RequiredError}
|
|
13908
|
+
*/
|
|
13909
|
+
async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
13910
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(gameServerId, playerId, options);
|
|
13911
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13912
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[localVarOperationServerIndex]
|
|
13913
|
+
?.url;
|
|
13914
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13915
|
+
},
|
|
13916
|
+
/**
|
|
13917
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
13918
|
+
* @summary Get one
|
|
13919
|
+
* @param {string} gameServerId
|
|
13920
|
+
* @param {string} playerId
|
|
13921
|
+
* @param {*} [options] Override http request option.
|
|
13922
|
+
* @throws {RequiredError}
|
|
13923
|
+
*/
|
|
13924
|
+
async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
13925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerGetOne(gameServerId, playerId, options);
|
|
13926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13927
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[localVarOperationServerIndex]
|
|
13928
|
+
?.url;
|
|
13929
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13930
|
+
},
|
|
13931
|
+
/**
|
|
13932
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
13933
|
+
* @summary Search
|
|
13934
|
+
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
13935
|
+
* @param {*} [options] Override http request option.
|
|
13936
|
+
* @throws {RequiredError}
|
|
13937
|
+
*/
|
|
13938
|
+
async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
13939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options);
|
|
13940
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13941
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[localVarOperationServerIndex]
|
|
13942
|
+
?.url;
|
|
13943
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13944
|
+
},
|
|
13945
|
+
/**
|
|
13946
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
13947
|
+
* @summary Set currency
|
|
13948
|
+
* @param {string} gameServerId
|
|
13949
|
+
* @param {string} playerId
|
|
13950
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13951
|
+
* @param {*} [options] Override http request option.
|
|
13952
|
+
* @throws {RequiredError}
|
|
13953
|
+
*/
|
|
13954
|
+
async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
13955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
13956
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13957
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[localVarOperationServerIndex]?.url;
|
|
13958
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13959
|
+
},
|
|
13960
|
+
/**
|
|
13961
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
13962
|
+
* @summary Transact between players
|
|
13963
|
+
* @param {string} gameServerId
|
|
13964
|
+
* @param {string} sender
|
|
13965
|
+
* @param {string} receiver
|
|
13966
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13967
|
+
* @param {*} [options] Override http request option.
|
|
13968
|
+
* @throws {RequiredError}
|
|
13969
|
+
*/
|
|
13970
|
+
async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
13971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options);
|
|
13972
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13973
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[localVarOperationServerIndex]?.url;
|
|
13974
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13975
|
+
},
|
|
13976
|
+
};
|
|
13977
|
+
};
|
|
13978
|
+
/**
|
|
13979
|
+
* PlayerOnGameServerApi - factory interface
|
|
13980
|
+
* @export
|
|
13981
|
+
*/
|
|
13982
|
+
export const PlayerOnGameServerApiFactory = function (configuration, basePath, axios) {
|
|
13983
|
+
const localVarFp = PlayerOnGameServerApiFp(configuration);
|
|
13984
|
+
return {
|
|
13985
|
+
/**
|
|
13986
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
13987
|
+
* @summary Add currency
|
|
13988
|
+
* @param {string} gameServerId
|
|
13989
|
+
* @param {string} playerId
|
|
13990
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
13991
|
+
* @param {*} [options] Override http request option.
|
|
13992
|
+
* @throws {RequiredError}
|
|
13993
|
+
*/
|
|
13994
|
+
playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
13995
|
+
return localVarFp
|
|
13996
|
+
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
13997
|
+
.then((request) => request(axios, basePath));
|
|
13998
|
+
},
|
|
13999
|
+
/**
|
|
14000
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
14001
|
+
* @summary Bulk add currency
|
|
14002
|
+
* @param {string} gameServerId
|
|
14003
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
14004
|
+
* @param {*} [options] Override http request option.
|
|
14005
|
+
* @throws {RequiredError}
|
|
14006
|
+
*/
|
|
14007
|
+
playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
14008
|
+
return localVarFp
|
|
14009
|
+
.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
|
|
14010
|
+
.then((request) => request(axios, basePath));
|
|
14011
|
+
},
|
|
14012
|
+
/**
|
|
14013
|
+
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
14014
|
+
* @summary Bulk delete
|
|
14015
|
+
* @param {string} gameServerId
|
|
14016
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
14017
|
+
* @param {*} [options] Override http request option.
|
|
14018
|
+
* @throws {RequiredError}
|
|
14019
|
+
*/
|
|
14020
|
+
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
14021
|
+
return localVarFp
|
|
14022
|
+
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
14023
|
+
.then((request) => request(axios, basePath));
|
|
14024
|
+
},
|
|
14025
|
+
/**
|
|
14026
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
14027
|
+
* @summary Deduct currency
|
|
14028
|
+
* @param {string} gameServerId
|
|
14029
|
+
* @param {string} playerId
|
|
14030
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14031
|
+
* @param {*} [options] Override http request option.
|
|
14032
|
+
* @throws {RequiredError}
|
|
14033
|
+
*/
|
|
14034
|
+
playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
14035
|
+
return localVarFp
|
|
14036
|
+
.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
14037
|
+
.then((request) => request(axios, basePath));
|
|
14038
|
+
},
|
|
14039
|
+
/**
|
|
14040
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
14041
|
+
* @summary Delete
|
|
14042
|
+
* @param {string} gameServerId
|
|
14043
|
+
* @param {string} playerId
|
|
14044
|
+
* @param {*} [options] Override http request option.
|
|
14045
|
+
* @throws {RequiredError}
|
|
14046
|
+
*/
|
|
14047
|
+
playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
14048
|
+
return localVarFp
|
|
14049
|
+
.playerOnGameServerControllerDelete(gameServerId, playerId, options)
|
|
14050
|
+
.then((request) => request(axios, basePath));
|
|
14051
|
+
},
|
|
14052
|
+
/**
|
|
14053
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
14054
|
+
* @summary Get one
|
|
14055
|
+
* @param {string} gameServerId
|
|
14056
|
+
* @param {string} playerId
|
|
14057
|
+
* @param {*} [options] Override http request option.
|
|
14058
|
+
* @throws {RequiredError}
|
|
14059
|
+
*/
|
|
14060
|
+
playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
14061
|
+
return localVarFp
|
|
14062
|
+
.playerOnGameServerControllerGetOne(gameServerId, playerId, options)
|
|
14063
|
+
.then((request) => request(axios, basePath));
|
|
14064
|
+
},
|
|
14065
|
+
/**
|
|
14066
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
14067
|
+
* @summary Search
|
|
14068
|
+
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
14069
|
+
* @param {*} [options] Override http request option.
|
|
14070
|
+
* @throws {RequiredError}
|
|
14071
|
+
*/
|
|
14072
|
+
playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
14073
|
+
return localVarFp
|
|
14074
|
+
.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
|
|
14075
|
+
.then((request) => request(axios, basePath));
|
|
14076
|
+
},
|
|
14077
|
+
/**
|
|
14078
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
14079
|
+
* @summary Set currency
|
|
14080
|
+
* @param {string} gameServerId
|
|
14081
|
+
* @param {string} playerId
|
|
14082
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14083
|
+
* @param {*} [options] Override http request option.
|
|
14084
|
+
* @throws {RequiredError}
|
|
14085
|
+
*/
|
|
14086
|
+
playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
14087
|
+
return localVarFp
|
|
14088
|
+
.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
14089
|
+
.then((request) => request(axios, basePath));
|
|
14090
|
+
},
|
|
14091
|
+
/**
|
|
14092
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
14093
|
+
* @summary Transact between players
|
|
14094
|
+
* @param {string} gameServerId
|
|
14095
|
+
* @param {string} sender
|
|
14096
|
+
* @param {string} receiver
|
|
14097
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14098
|
+
* @param {*} [options] Override http request option.
|
|
14099
|
+
* @throws {RequiredError}
|
|
14100
|
+
*/
|
|
14101
|
+
playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
14102
|
+
return localVarFp
|
|
14103
|
+
.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
|
|
14104
|
+
.then((request) => request(axios, basePath));
|
|
14105
|
+
},
|
|
14106
|
+
};
|
|
14107
|
+
};
|
|
14108
|
+
/**
|
|
14109
|
+
* PlayerOnGameServerApi - object-oriented interface
|
|
14110
|
+
* @export
|
|
14111
|
+
* @class PlayerOnGameServerApi
|
|
14112
|
+
* @extends {BaseAPI}
|
|
14113
|
+
*/
|
|
14114
|
+
export class PlayerOnGameServerApi extends BaseAPI {
|
|
14115
|
+
/**
|
|
14116
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
14117
|
+
* @summary Add currency
|
|
14118
|
+
* @param {string} gameServerId
|
|
14119
|
+
* @param {string} playerId
|
|
14120
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14121
|
+
* @param {*} [options] Override http request option.
|
|
14122
|
+
* @throws {RequiredError}
|
|
14123
|
+
* @memberof PlayerOnGameServerApi
|
|
14124
|
+
*/
|
|
14125
|
+
playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
14126
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14127
|
+
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
14128
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14129
|
+
}
|
|
14130
|
+
/**
|
|
14131
|
+
* Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
14132
|
+
* @summary Bulk add currency
|
|
14133
|
+
* @param {string} gameServerId
|
|
14134
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
14135
|
+
* @param {*} [options] Override http request option.
|
|
14136
|
+
* @throws {RequiredError}
|
|
14137
|
+
* @memberof PlayerOnGameServerApi
|
|
14138
|
+
*/
|
|
14139
|
+
playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
14140
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14141
|
+
.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
|
|
14142
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14143
|
+
}
|
|
14144
|
+
/**
|
|
14145
|
+
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
14146
|
+
* @summary Bulk delete
|
|
14147
|
+
* @param {string} gameServerId
|
|
14148
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
14149
|
+
* @param {*} [options] Override http request option.
|
|
14150
|
+
* @throws {RequiredError}
|
|
14151
|
+
* @memberof PlayerOnGameServerApi
|
|
14152
|
+
*/
|
|
14153
|
+
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
14154
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14155
|
+
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
14156
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14157
|
+
}
|
|
14158
|
+
/**
|
|
14159
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
14160
|
+
* @summary Deduct currency
|
|
14161
|
+
* @param {string} gameServerId
|
|
14162
|
+
* @param {string} playerId
|
|
14163
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14164
|
+
* @param {*} [options] Override http request option.
|
|
14165
|
+
* @throws {RequiredError}
|
|
14166
|
+
* @memberof PlayerOnGameServerApi
|
|
14167
|
+
*/
|
|
14168
|
+
playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
14169
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14170
|
+
.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
14171
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14172
|
+
}
|
|
14173
|
+
/**
|
|
14174
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
14175
|
+
* @summary Delete
|
|
14176
|
+
* @param {string} gameServerId
|
|
14177
|
+
* @param {string} playerId
|
|
14178
|
+
* @param {*} [options] Override http request option.
|
|
14179
|
+
* @throws {RequiredError}
|
|
14180
|
+
* @memberof PlayerOnGameServerApi
|
|
14181
|
+
*/
|
|
14182
|
+
playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
14183
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14184
|
+
.playerOnGameServerControllerDelete(gameServerId, playerId, options)
|
|
14185
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14186
|
+
}
|
|
14187
|
+
/**
|
|
14188
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
14189
|
+
* @summary Get one
|
|
14190
|
+
* @param {string} gameServerId
|
|
14191
|
+
* @param {string} playerId
|
|
14192
|
+
* @param {*} [options] Override http request option.
|
|
14193
|
+
* @throws {RequiredError}
|
|
14194
|
+
* @memberof PlayerOnGameServerApi
|
|
14195
|
+
*/
|
|
14196
|
+
playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
14197
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14198
|
+
.playerOnGameServerControllerGetOne(gameServerId, playerId, options)
|
|
14199
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14200
|
+
}
|
|
14201
|
+
/**
|
|
14202
|
+
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
14203
|
+
* @summary Search
|
|
14204
|
+
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
14205
|
+
* @param {*} [options] Override http request option.
|
|
14206
|
+
* @throws {RequiredError}
|
|
14207
|
+
* @memberof PlayerOnGameServerApi
|
|
14208
|
+
*/
|
|
14209
|
+
playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
14210
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14211
|
+
.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
|
|
14212
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14213
|
+
}
|
|
14214
|
+
/**
|
|
14215
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
14216
|
+
* @summary Set currency
|
|
14217
|
+
* @param {string} gameServerId
|
|
14218
|
+
* @param {string} playerId
|
|
14219
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14220
|
+
* @param {*} [options] Override http request option.
|
|
14221
|
+
* @throws {RequiredError}
|
|
14222
|
+
* @memberof PlayerOnGameServerApi
|
|
14223
|
+
*/
|
|
14224
|
+
playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
14225
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14226
|
+
.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
14227
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14228
|
+
}
|
|
14229
|
+
/**
|
|
14230
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
14231
|
+
* @summary Transact between players
|
|
14232
|
+
* @param {string} gameServerId
|
|
14233
|
+
* @param {string} sender
|
|
14234
|
+
* @param {string} receiver
|
|
14235
|
+
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14236
|
+
* @param {*} [options] Override http request option.
|
|
14237
|
+
* @throws {RequiredError}
|
|
14238
|
+
* @memberof PlayerOnGameServerApi
|
|
14239
|
+
*/
|
|
14240
|
+
playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
14241
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
14242
|
+
.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
|
|
14243
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14244
|
+
}
|
|
14245
|
+
}
|
|
14246
|
+
/**
|
|
14247
|
+
* RegistryApi - axios parameter creator
|
|
14248
|
+
* @export
|
|
14249
|
+
*/
|
|
14250
|
+
export const RegistryApiAxiosParamCreator = function (configuration) {
|
|
14251
|
+
return {
|
|
14252
|
+
/**
|
|
14253
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
14254
|
+
* @summary Install a module from a registry
|
|
14255
|
+
* @param {string} id
|
|
14256
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
14257
|
+
* @param {*} [options] Override http request option.
|
|
14258
|
+
* @throws {RequiredError}
|
|
14259
|
+
*/
|
|
14260
|
+
registryControllerInstall: async (id, registryInstallBody, options = {}) => {
|
|
14261
|
+
// verify required parameter 'id' is not null or undefined
|
|
14262
|
+
assertParamExists('registryControllerInstall', 'id', id);
|
|
14263
|
+
const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
14264
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14265
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14266
|
+
let baseOptions;
|
|
14267
|
+
if (configuration) {
|
|
14268
|
+
baseOptions = configuration.baseOptions;
|
|
14269
|
+
}
|
|
14270
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
14271
|
+
const localVarHeaderParameter = {};
|
|
14272
|
+
const localVarQueryParameter = {};
|
|
14273
|
+
// authentication domainAuth required
|
|
14274
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14277
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14278
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
14279
|
+
return {
|
|
14280
|
+
url: toPathString(localVarUrlObj),
|
|
14281
|
+
options: localVarRequestOptions,
|
|
14282
|
+
};
|
|
14283
|
+
},
|
|
14284
|
+
/**
|
|
14285
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
14286
|
+
* @summary List subscribed registries
|
|
14287
|
+
* @param {*} [options] Override http request option.
|
|
14288
|
+
* @throws {RequiredError}
|
|
14289
|
+
*/
|
|
14290
|
+
registryControllerList: async (options = {}) => {
|
|
14291
|
+
const localVarPath = `/registry`;
|
|
14292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14294
|
+
let baseOptions;
|
|
14295
|
+
if (configuration) {
|
|
14296
|
+
baseOptions = configuration.baseOptions;
|
|
14297
|
+
}
|
|
14298
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
14299
|
+
const localVarHeaderParameter = {};
|
|
14300
|
+
const localVarQueryParameter = {};
|
|
14301
|
+
// authentication domainAuth required
|
|
14302
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14303
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14304
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14305
|
+
return {
|
|
14306
|
+
url: toPathString(localVarUrlObj),
|
|
14307
|
+
options: localVarRequestOptions,
|
|
14308
|
+
};
|
|
14309
|
+
},
|
|
14310
|
+
/**
|
|
14311
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
14312
|
+
* @summary Refresh registry manifest
|
|
14313
|
+
* @param {string} id
|
|
14314
|
+
* @param {*} [options] Override http request option.
|
|
14315
|
+
* @throws {RequiredError}
|
|
14316
|
+
*/
|
|
14317
|
+
registryControllerRefresh: async (id, options = {}) => {
|
|
14318
|
+
// verify required parameter 'id' is not null or undefined
|
|
14319
|
+
assertParamExists('registryControllerRefresh', 'id', id);
|
|
14320
|
+
const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
14321
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14322
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14323
|
+
let baseOptions;
|
|
14324
|
+
if (configuration) {
|
|
14325
|
+
baseOptions = configuration.baseOptions;
|
|
14326
|
+
}
|
|
14327
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
14328
|
+
const localVarHeaderParameter = {};
|
|
14329
|
+
const localVarQueryParameter = {};
|
|
14330
|
+
// authentication domainAuth required
|
|
14331
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14332
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14333
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14334
|
+
return {
|
|
14335
|
+
url: toPathString(localVarUrlObj),
|
|
14336
|
+
options: localVarRequestOptions,
|
|
14337
|
+
};
|
|
14338
|
+
},
|
|
14339
|
+
/**
|
|
14340
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
14341
|
+
* @summary Subscribe to a registry
|
|
14342
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
14343
|
+
* @param {*} [options] Override http request option.
|
|
14344
|
+
* @throws {RequiredError}
|
|
14345
|
+
*/
|
|
14346
|
+
registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
|
|
14347
|
+
const localVarPath = `/registry`;
|
|
14348
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14349
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14350
|
+
let baseOptions;
|
|
14351
|
+
if (configuration) {
|
|
14352
|
+
baseOptions = configuration.baseOptions;
|
|
14353
|
+
}
|
|
14354
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
14355
|
+
const localVarHeaderParameter = {};
|
|
14356
|
+
const localVarQueryParameter = {};
|
|
14357
|
+
// authentication domainAuth required
|
|
14358
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14361
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14362
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
|
|
12623
14363
|
return {
|
|
12624
14364
|
url: toPathString(localVarUrlObj),
|
|
12625
14365
|
options: localVarRequestOptions,
|
|
12626
14366
|
};
|
|
12627
14367
|
},
|
|
12628
14368
|
/**
|
|
12629
|
-
*
|
|
12630
|
-
* @summary
|
|
12631
|
-
* @param {string}
|
|
12632
|
-
* @param {string} sender
|
|
12633
|
-
* @param {string} receiver
|
|
12634
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14369
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
14370
|
+
* @summary Unsubscribe from a registry
|
|
14371
|
+
* @param {string} id
|
|
12635
14372
|
* @param {*} [options] Override http request option.
|
|
12636
14373
|
* @throws {RequiredError}
|
|
12637
14374
|
*/
|
|
12638
|
-
|
|
12639
|
-
// verify required parameter '
|
|
12640
|
-
assertParamExists('
|
|
12641
|
-
|
|
12642
|
-
assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'sender', sender);
|
|
12643
|
-
// verify required parameter 'receiver' is not null or undefined
|
|
12644
|
-
assertParamExists('playerOnGameServerControllerTransactBetweenPlayers', 'receiver', receiver);
|
|
12645
|
-
const localVarPath = `/gameserver/{gameServerId}/player/{sender}/{receiver}/transfer`
|
|
12646
|
-
.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
|
|
12647
|
-
.replace(`{${'sender'}}`, encodeURIComponent(String(sender)))
|
|
12648
|
-
.replace(`{${'receiver'}}`, encodeURIComponent(String(receiver)));
|
|
14375
|
+
registryControllerUnsubscribe: async (id, options = {}) => {
|
|
14376
|
+
// verify required parameter 'id' is not null or undefined
|
|
14377
|
+
assertParamExists('registryControllerUnsubscribe', 'id', id);
|
|
14378
|
+
const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
12649
14379
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12650
14380
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12651
14381
|
let baseOptions;
|
|
12652
14382
|
if (configuration) {
|
|
12653
14383
|
baseOptions = configuration.baseOptions;
|
|
12654
14384
|
}
|
|
12655
|
-
const localVarRequestOptions = { method: '
|
|
14385
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
12656
14386
|
const localVarHeaderParameter = {};
|
|
12657
14387
|
const localVarQueryParameter = {};
|
|
12658
14388
|
// authentication domainAuth required
|
|
12659
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12660
14389
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12661
14390
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12662
14391
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12663
|
-
localVarRequestOptions.data = serializeDataIfNeeded(playerOnGameServerSetCurrencyInputDTO, localVarRequestOptions, configuration);
|
|
12664
14392
|
return {
|
|
12665
14393
|
url: toPathString(localVarUrlObj),
|
|
12666
14394
|
options: localVarRequestOptions,
|
|
@@ -12669,371 +14397,212 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
12669
14397
|
};
|
|
12670
14398
|
};
|
|
12671
14399
|
/**
|
|
12672
|
-
*
|
|
14400
|
+
* RegistryApi - functional programming interface
|
|
12673
14401
|
* @export
|
|
12674
14402
|
*/
|
|
12675
|
-
export const
|
|
12676
|
-
const localVarAxiosParamCreator =
|
|
14403
|
+
export const RegistryApiFp = function (configuration) {
|
|
14404
|
+
const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
|
|
12677
14405
|
return {
|
|
12678
14406
|
/**
|
|
12679
|
-
*
|
|
12680
|
-
* @summary
|
|
12681
|
-
* @param {string}
|
|
12682
|
-
* @param {
|
|
12683
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
12684
|
-
* @param {*} [options] Override http request option.
|
|
12685
|
-
* @throws {RequiredError}
|
|
12686
|
-
*/
|
|
12687
|
-
async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
12688
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
12689
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12690
|
-
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
12691
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12692
|
-
},
|
|
12693
|
-
/**
|
|
12694
|
-
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12695
|
-
* @summary Bulk delete
|
|
12696
|
-
* @param {string} gameServerId
|
|
12697
|
-
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
12698
|
-
* @param {*} [options] Override http request option.
|
|
12699
|
-
* @throws {RequiredError}
|
|
12700
|
-
*/
|
|
12701
|
-
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
12702
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
12703
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12704
|
-
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
12705
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12706
|
-
},
|
|
12707
|
-
/**
|
|
12708
|
-
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
12709
|
-
* @summary Deduct currency
|
|
12710
|
-
* @param {string} gameServerId
|
|
12711
|
-
* @param {string} playerId
|
|
12712
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
12713
|
-
* @param {*} [options] Override http request option.
|
|
12714
|
-
* @throws {RequiredError}
|
|
12715
|
-
*/
|
|
12716
|
-
async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
12717
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
12718
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12719
|
-
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[localVarOperationServerIndex]?.url;
|
|
12720
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12721
|
-
},
|
|
12722
|
-
/**
|
|
12723
|
-
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
12724
|
-
* @summary Delete
|
|
12725
|
-
* @param {string} gameServerId
|
|
12726
|
-
* @param {string} playerId
|
|
14407
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
14408
|
+
* @summary Install a module from a registry
|
|
14409
|
+
* @param {string} id
|
|
14410
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
12727
14411
|
* @param {*} [options] Override http request option.
|
|
12728
14412
|
* @throws {RequiredError}
|
|
12729
14413
|
*/
|
|
12730
|
-
async
|
|
12731
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14414
|
+
async registryControllerInstall(id, registryInstallBody, options) {
|
|
14415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
|
|
12732
14416
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12733
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
12734
|
-
?.url;
|
|
14417
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
|
|
12735
14418
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12736
14419
|
},
|
|
12737
14420
|
/**
|
|
12738
|
-
*
|
|
12739
|
-
* @summary
|
|
12740
|
-
* @param {string} gameServerId
|
|
12741
|
-
* @param {string} playerId
|
|
14421
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
14422
|
+
* @summary List subscribed registries
|
|
12742
14423
|
* @param {*} [options] Override http request option.
|
|
12743
14424
|
* @throws {RequiredError}
|
|
12744
14425
|
*/
|
|
12745
|
-
async
|
|
12746
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14426
|
+
async registryControllerList(options) {
|
|
14427
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
|
|
12747
14428
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12748
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
12749
|
-
?.url;
|
|
14429
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
|
|
12750
14430
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12751
14431
|
},
|
|
12752
14432
|
/**
|
|
12753
|
-
*
|
|
12754
|
-
* @summary
|
|
12755
|
-
* @param {
|
|
14433
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
14434
|
+
* @summary Refresh registry manifest
|
|
14435
|
+
* @param {string} id
|
|
12756
14436
|
* @param {*} [options] Override http request option.
|
|
12757
14437
|
* @throws {RequiredError}
|
|
12758
14438
|
*/
|
|
12759
|
-
async
|
|
12760
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14439
|
+
async registryControllerRefresh(id, options) {
|
|
14440
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
|
|
12761
14441
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12762
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
12763
|
-
?.url;
|
|
14442
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
|
|
12764
14443
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12765
14444
|
},
|
|
12766
14445
|
/**
|
|
12767
|
-
*
|
|
12768
|
-
* @summary
|
|
12769
|
-
* @param {
|
|
12770
|
-
* @param {string} playerId
|
|
12771
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14446
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
14447
|
+
* @summary Subscribe to a registry
|
|
14448
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
12772
14449
|
* @param {*} [options] Override http request option.
|
|
12773
14450
|
* @throws {RequiredError}
|
|
12774
14451
|
*/
|
|
12775
|
-
async
|
|
12776
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14452
|
+
async registryControllerSubscribe(registrySubscribeBody, options) {
|
|
14453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(registrySubscribeBody, options);
|
|
12777
14454
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12778
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
14455
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
|
|
12779
14456
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12780
14457
|
},
|
|
12781
14458
|
/**
|
|
12782
|
-
*
|
|
12783
|
-
* @summary
|
|
12784
|
-
* @param {string}
|
|
12785
|
-
* @param {string} sender
|
|
12786
|
-
* @param {string} receiver
|
|
12787
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14459
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
14460
|
+
* @summary Unsubscribe from a registry
|
|
14461
|
+
* @param {string} id
|
|
12788
14462
|
* @param {*} [options] Override http request option.
|
|
12789
14463
|
* @throws {RequiredError}
|
|
12790
14464
|
*/
|
|
12791
|
-
async
|
|
12792
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14465
|
+
async registryControllerUnsubscribe(id, options) {
|
|
14466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
|
|
12793
14467
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12794
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
14468
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
|
|
12795
14469
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12796
14470
|
},
|
|
12797
14471
|
};
|
|
12798
14472
|
};
|
|
12799
14473
|
/**
|
|
12800
|
-
*
|
|
14474
|
+
* RegistryApi - factory interface
|
|
12801
14475
|
* @export
|
|
12802
14476
|
*/
|
|
12803
|
-
export const
|
|
12804
|
-
const localVarFp =
|
|
14477
|
+
export const RegistryApiFactory = function (configuration, basePath, axios) {
|
|
14478
|
+
const localVarFp = RegistryApiFp(configuration);
|
|
12805
14479
|
return {
|
|
12806
14480
|
/**
|
|
12807
|
-
*
|
|
12808
|
-
* @summary
|
|
12809
|
-
* @param {string}
|
|
12810
|
-
* @param {
|
|
12811
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
12812
|
-
* @param {*} [options] Override http request option.
|
|
12813
|
-
* @throws {RequiredError}
|
|
12814
|
-
*/
|
|
12815
|
-
playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
12816
|
-
return localVarFp
|
|
12817
|
-
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12818
|
-
.then((request) => request(axios, basePath));
|
|
12819
|
-
},
|
|
12820
|
-
/**
|
|
12821
|
-
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12822
|
-
* @summary Bulk delete
|
|
12823
|
-
* @param {string} gameServerId
|
|
12824
|
-
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
12825
|
-
* @param {*} [options] Override http request option.
|
|
12826
|
-
* @throws {RequiredError}
|
|
12827
|
-
*/
|
|
12828
|
-
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
12829
|
-
return localVarFp
|
|
12830
|
-
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
12831
|
-
.then((request) => request(axios, basePath));
|
|
12832
|
-
},
|
|
12833
|
-
/**
|
|
12834
|
-
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
12835
|
-
* @summary Deduct currency
|
|
12836
|
-
* @param {string} gameServerId
|
|
12837
|
-
* @param {string} playerId
|
|
12838
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
12839
|
-
* @param {*} [options] Override http request option.
|
|
12840
|
-
* @throws {RequiredError}
|
|
12841
|
-
*/
|
|
12842
|
-
playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
12843
|
-
return localVarFp
|
|
12844
|
-
.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12845
|
-
.then((request) => request(axios, basePath));
|
|
12846
|
-
},
|
|
12847
|
-
/**
|
|
12848
|
-
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
12849
|
-
* @summary Delete
|
|
12850
|
-
* @param {string} gameServerId
|
|
12851
|
-
* @param {string} playerId
|
|
14481
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
14482
|
+
* @summary Install a module from a registry
|
|
14483
|
+
* @param {string} id
|
|
14484
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
12852
14485
|
* @param {*} [options] Override http request option.
|
|
12853
14486
|
* @throws {RequiredError}
|
|
12854
14487
|
*/
|
|
12855
|
-
|
|
14488
|
+
registryControllerInstall(id, registryInstallBody, options) {
|
|
12856
14489
|
return localVarFp
|
|
12857
|
-
.
|
|
14490
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
12858
14491
|
.then((request) => request(axios, basePath));
|
|
12859
14492
|
},
|
|
12860
14493
|
/**
|
|
12861
|
-
*
|
|
12862
|
-
* @summary
|
|
12863
|
-
* @param {string} gameServerId
|
|
12864
|
-
* @param {string} playerId
|
|
14494
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
14495
|
+
* @summary List subscribed registries
|
|
12865
14496
|
* @param {*} [options] Override http request option.
|
|
12866
14497
|
* @throws {RequiredError}
|
|
12867
14498
|
*/
|
|
12868
|
-
|
|
12869
|
-
return localVarFp
|
|
12870
|
-
.playerOnGameServerControllerGetOne(gameServerId, playerId, options)
|
|
12871
|
-
.then((request) => request(axios, basePath));
|
|
14499
|
+
registryControllerList(options) {
|
|
14500
|
+
return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
|
|
12872
14501
|
},
|
|
12873
14502
|
/**
|
|
12874
|
-
*
|
|
12875
|
-
* @summary
|
|
12876
|
-
* @param {
|
|
14503
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
14504
|
+
* @summary Refresh registry manifest
|
|
14505
|
+
* @param {string} id
|
|
12877
14506
|
* @param {*} [options] Override http request option.
|
|
12878
14507
|
* @throws {RequiredError}
|
|
12879
14508
|
*/
|
|
12880
|
-
|
|
12881
|
-
return localVarFp
|
|
12882
|
-
.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options)
|
|
12883
|
-
.then((request) => request(axios, basePath));
|
|
14509
|
+
registryControllerRefresh(id, options) {
|
|
14510
|
+
return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
|
|
12884
14511
|
},
|
|
12885
14512
|
/**
|
|
12886
|
-
*
|
|
12887
|
-
* @summary
|
|
12888
|
-
* @param {
|
|
12889
|
-
* @param {string} playerId
|
|
12890
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14513
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
14514
|
+
* @summary Subscribe to a registry
|
|
14515
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
12891
14516
|
* @param {*} [options] Override http request option.
|
|
12892
14517
|
* @throws {RequiredError}
|
|
12893
14518
|
*/
|
|
12894
|
-
|
|
14519
|
+
registryControllerSubscribe(registrySubscribeBody, options) {
|
|
12895
14520
|
return localVarFp
|
|
12896
|
-
.
|
|
14521
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
12897
14522
|
.then((request) => request(axios, basePath));
|
|
12898
14523
|
},
|
|
12899
14524
|
/**
|
|
12900
|
-
*
|
|
12901
|
-
* @summary
|
|
12902
|
-
* @param {string}
|
|
12903
|
-
* @param {string} sender
|
|
12904
|
-
* @param {string} receiver
|
|
12905
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14525
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
14526
|
+
* @summary Unsubscribe from a registry
|
|
14527
|
+
* @param {string} id
|
|
12906
14528
|
* @param {*} [options] Override http request option.
|
|
12907
14529
|
* @throws {RequiredError}
|
|
12908
14530
|
*/
|
|
12909
|
-
|
|
12910
|
-
return localVarFp
|
|
12911
|
-
.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12912
|
-
.then((request) => request(axios, basePath));
|
|
14531
|
+
registryControllerUnsubscribe(id, options) {
|
|
14532
|
+
return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
|
|
12913
14533
|
},
|
|
12914
|
-
};
|
|
12915
|
-
};
|
|
12916
|
-
/**
|
|
12917
|
-
*
|
|
12918
|
-
* @export
|
|
12919
|
-
* @class
|
|
12920
|
-
* @extends {BaseAPI}
|
|
12921
|
-
*/
|
|
12922
|
-
export class
|
|
12923
|
-
/**
|
|
12924
|
-
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
12925
|
-
* @summary Add currency
|
|
12926
|
-
* @param {string} gameServerId
|
|
12927
|
-
* @param {string} playerId
|
|
12928
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
12929
|
-
* @param {*} [options] Override http request option.
|
|
12930
|
-
* @throws {RequiredError}
|
|
12931
|
-
* @memberof PlayerOnGameServerApi
|
|
12932
|
-
*/
|
|
12933
|
-
playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
12934
|
-
return PlayerOnGameServerApiFp(this.configuration)
|
|
12935
|
-
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12936
|
-
.then((request) => request(this.axios, this.basePath));
|
|
12937
|
-
}
|
|
12938
|
-
/**
|
|
12939
|
-
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
12940
|
-
* @summary Bulk delete
|
|
12941
|
-
* @param {string} gameServerId
|
|
12942
|
-
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
12943
|
-
* @param {*} [options] Override http request option.
|
|
12944
|
-
* @throws {RequiredError}
|
|
12945
|
-
* @memberof PlayerOnGameServerApi
|
|
12946
|
-
*/
|
|
12947
|
-
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
12948
|
-
return PlayerOnGameServerApiFp(this.configuration)
|
|
12949
|
-
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
12950
|
-
.then((request) => request(this.axios, this.basePath));
|
|
12951
|
-
}
|
|
12952
|
-
/**
|
|
12953
|
-
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
12954
|
-
* @summary Deduct currency
|
|
12955
|
-
* @param {string} gameServerId
|
|
12956
|
-
* @param {string} playerId
|
|
12957
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
12958
|
-
* @param {*} [options] Override http request option.
|
|
12959
|
-
* @throws {RequiredError}
|
|
12960
|
-
* @memberof PlayerOnGameServerApi
|
|
12961
|
-
*/
|
|
12962
|
-
playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
12963
|
-
return PlayerOnGameServerApiFp(this.configuration)
|
|
12964
|
-
.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12965
|
-
.then((request) => request(this.axios, this.basePath));
|
|
12966
|
-
}
|
|
14534
|
+
};
|
|
14535
|
+
};
|
|
14536
|
+
/**
|
|
14537
|
+
* RegistryApi - object-oriented interface
|
|
14538
|
+
* @export
|
|
14539
|
+
* @class RegistryApi
|
|
14540
|
+
* @extends {BaseAPI}
|
|
14541
|
+
*/
|
|
14542
|
+
export class RegistryApi extends BaseAPI {
|
|
12967
14543
|
/**
|
|
12968
|
-
*
|
|
12969
|
-
* @summary
|
|
12970
|
-
* @param {string}
|
|
12971
|
-
* @param {
|
|
14544
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
14545
|
+
* @summary Install a module from a registry
|
|
14546
|
+
* @param {string} id
|
|
14547
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
12972
14548
|
* @param {*} [options] Override http request option.
|
|
12973
14549
|
* @throws {RequiredError}
|
|
12974
|
-
* @memberof
|
|
14550
|
+
* @memberof RegistryApi
|
|
12975
14551
|
*/
|
|
12976
|
-
|
|
12977
|
-
return
|
|
12978
|
-
.
|
|
14552
|
+
registryControllerInstall(id, registryInstallBody, options) {
|
|
14553
|
+
return RegistryApiFp(this.configuration)
|
|
14554
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
12979
14555
|
.then((request) => request(this.axios, this.basePath));
|
|
12980
14556
|
}
|
|
12981
14557
|
/**
|
|
12982
|
-
*
|
|
12983
|
-
* @summary
|
|
12984
|
-
* @param {string} gameServerId
|
|
12985
|
-
* @param {string} playerId
|
|
14558
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
14559
|
+
* @summary List subscribed registries
|
|
12986
14560
|
* @param {*} [options] Override http request option.
|
|
12987
14561
|
* @throws {RequiredError}
|
|
12988
|
-
* @memberof
|
|
14562
|
+
* @memberof RegistryApi
|
|
12989
14563
|
*/
|
|
12990
|
-
|
|
12991
|
-
return
|
|
12992
|
-
.
|
|
14564
|
+
registryControllerList(options) {
|
|
14565
|
+
return RegistryApiFp(this.configuration)
|
|
14566
|
+
.registryControllerList(options)
|
|
12993
14567
|
.then((request) => request(this.axios, this.basePath));
|
|
12994
14568
|
}
|
|
12995
14569
|
/**
|
|
12996
|
-
*
|
|
12997
|
-
* @summary
|
|
12998
|
-
* @param {
|
|
14570
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
14571
|
+
* @summary Refresh registry manifest
|
|
14572
|
+
* @param {string} id
|
|
12999
14573
|
* @param {*} [options] Override http request option.
|
|
13000
14574
|
* @throws {RequiredError}
|
|
13001
|
-
* @memberof
|
|
14575
|
+
* @memberof RegistryApi
|
|
13002
14576
|
*/
|
|
13003
|
-
|
|
13004
|
-
return
|
|
13005
|
-
.
|
|
14577
|
+
registryControllerRefresh(id, options) {
|
|
14578
|
+
return RegistryApiFp(this.configuration)
|
|
14579
|
+
.registryControllerRefresh(id, options)
|
|
13006
14580
|
.then((request) => request(this.axios, this.basePath));
|
|
13007
14581
|
}
|
|
13008
14582
|
/**
|
|
13009
|
-
*
|
|
13010
|
-
* @summary
|
|
13011
|
-
* @param {
|
|
13012
|
-
* @param {string} playerId
|
|
13013
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14583
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
14584
|
+
* @summary Subscribe to a registry
|
|
14585
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
13014
14586
|
* @param {*} [options] Override http request option.
|
|
13015
14587
|
* @throws {RequiredError}
|
|
13016
|
-
* @memberof
|
|
14588
|
+
* @memberof RegistryApi
|
|
13017
14589
|
*/
|
|
13018
|
-
|
|
13019
|
-
return
|
|
13020
|
-
.
|
|
14590
|
+
registryControllerSubscribe(registrySubscribeBody, options) {
|
|
14591
|
+
return RegistryApiFp(this.configuration)
|
|
14592
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
13021
14593
|
.then((request) => request(this.axios, this.basePath));
|
|
13022
14594
|
}
|
|
13023
14595
|
/**
|
|
13024
|
-
*
|
|
13025
|
-
* @summary
|
|
13026
|
-
* @param {string}
|
|
13027
|
-
* @param {string} sender
|
|
13028
|
-
* @param {string} receiver
|
|
13029
|
-
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
14596
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
14597
|
+
* @summary Unsubscribe from a registry
|
|
14598
|
+
* @param {string} id
|
|
13030
14599
|
* @param {*} [options] Override http request option.
|
|
13031
14600
|
* @throws {RequiredError}
|
|
13032
|
-
* @memberof
|
|
14601
|
+
* @memberof RegistryApi
|
|
13033
14602
|
*/
|
|
13034
|
-
|
|
13035
|
-
return
|
|
13036
|
-
.
|
|
14603
|
+
registryControllerUnsubscribe(id, options) {
|
|
14604
|
+
return RegistryApiFp(this.configuration)
|
|
14605
|
+
.registryControllerUnsubscribe(id, options)
|
|
13037
14606
|
.then((request) => request(this.axios, this.basePath));
|
|
13038
14607
|
}
|
|
13039
14608
|
}
|
|
@@ -15704,6 +17273,240 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
15704
17273
|
.then((request) => request(this.axios, this.basePath));
|
|
15705
17274
|
}
|
|
15706
17275
|
}
|
|
17276
|
+
/**
|
|
17277
|
+
* StorefrontConfigApi - axios parameter creator
|
|
17278
|
+
* @export
|
|
17279
|
+
*/
|
|
17280
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
|
|
17281
|
+
return {
|
|
17282
|
+
/**
|
|
17283
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17284
|
+
* @summary Get effective config
|
|
17285
|
+
* @param {string} gameServerId
|
|
17286
|
+
* @param {*} [options] Override http request option.
|
|
17287
|
+
* @throws {RequiredError}
|
|
17288
|
+
*/
|
|
17289
|
+
storefrontConfigControllerGetEffectiveConfig: async (gameServerId, options = {}) => {
|
|
17290
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17291
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
17292
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17293
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17294
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17295
|
+
let baseOptions;
|
|
17296
|
+
if (configuration) {
|
|
17297
|
+
baseOptions = configuration.baseOptions;
|
|
17298
|
+
}
|
|
17299
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17300
|
+
const localVarHeaderParameter = {};
|
|
17301
|
+
const localVarQueryParameter = {};
|
|
17302
|
+
// authentication domainAuth required
|
|
17303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17305
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17306
|
+
return {
|
|
17307
|
+
url: toPathString(localVarUrlObj),
|
|
17308
|
+
options: localVarRequestOptions,
|
|
17309
|
+
};
|
|
17310
|
+
},
|
|
17311
|
+
/**
|
|
17312
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17313
|
+
* @summary List templates
|
|
17314
|
+
* @param {*} [options] Override http request option.
|
|
17315
|
+
* @throws {RequiredError}
|
|
17316
|
+
*/
|
|
17317
|
+
storefrontConfigControllerListTemplates: async (options = {}) => {
|
|
17318
|
+
const localVarPath = `/storefront/templates`;
|
|
17319
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17320
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17321
|
+
let baseOptions;
|
|
17322
|
+
if (configuration) {
|
|
17323
|
+
baseOptions = configuration.baseOptions;
|
|
17324
|
+
}
|
|
17325
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17326
|
+
const localVarHeaderParameter = {};
|
|
17327
|
+
const localVarQueryParameter = {};
|
|
17328
|
+
// authentication domainAuth required
|
|
17329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17331
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17332
|
+
return {
|
|
17333
|
+
url: toPathString(localVarUrlObj),
|
|
17334
|
+
options: localVarRequestOptions,
|
|
17335
|
+
};
|
|
17336
|
+
},
|
|
17337
|
+
/**
|
|
17338
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17339
|
+
* @summary Set config
|
|
17340
|
+
* @param {string} gameServerId
|
|
17341
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17342
|
+
* @param {*} [options] Override http request option.
|
|
17343
|
+
* @throws {RequiredError}
|
|
17344
|
+
*/
|
|
17345
|
+
storefrontConfigControllerSetConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
|
|
17346
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17347
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
17348
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17349
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17350
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17351
|
+
let baseOptions;
|
|
17352
|
+
if (configuration) {
|
|
17353
|
+
baseOptions = configuration.baseOptions;
|
|
17354
|
+
}
|
|
17355
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
17356
|
+
const localVarHeaderParameter = {};
|
|
17357
|
+
const localVarQueryParameter = {};
|
|
17358
|
+
// authentication domainAuth required
|
|
17359
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17360
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17362
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17363
|
+
localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
|
|
17364
|
+
return {
|
|
17365
|
+
url: toPathString(localVarUrlObj),
|
|
17366
|
+
options: localVarRequestOptions,
|
|
17367
|
+
};
|
|
17368
|
+
},
|
|
17369
|
+
};
|
|
17370
|
+
};
|
|
17371
|
+
/**
|
|
17372
|
+
* StorefrontConfigApi - functional programming interface
|
|
17373
|
+
* @export
|
|
17374
|
+
*/
|
|
17375
|
+
export const StorefrontConfigApiFp = function (configuration) {
|
|
17376
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
17377
|
+
return {
|
|
17378
|
+
/**
|
|
17379
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17380
|
+
* @summary Get effective config
|
|
17381
|
+
* @param {string} gameServerId
|
|
17382
|
+
* @param {*} [options] Override http request option.
|
|
17383
|
+
* @throws {RequiredError}
|
|
17384
|
+
*/
|
|
17385
|
+
async storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(gameServerId, options);
|
|
17387
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17388
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[localVarOperationServerIndex]?.url;
|
|
17389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17390
|
+
},
|
|
17391
|
+
/**
|
|
17392
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17393
|
+
* @summary List templates
|
|
17394
|
+
* @param {*} [options] Override http request option.
|
|
17395
|
+
* @throws {RequiredError}
|
|
17396
|
+
*/
|
|
17397
|
+
async storefrontConfigControllerListTemplates(options) {
|
|
17398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
17399
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17400
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17402
|
+
},
|
|
17403
|
+
/**
|
|
17404
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17405
|
+
* @summary Set config
|
|
17406
|
+
* @param {string} gameServerId
|
|
17407
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17408
|
+
* @param {*} [options] Override http request option.
|
|
17409
|
+
* @throws {RequiredError}
|
|
17410
|
+
*/
|
|
17411
|
+
async storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17412
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options);
|
|
17413
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17414
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
17415
|
+
?.url;
|
|
17416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17417
|
+
},
|
|
17418
|
+
};
|
|
17419
|
+
};
|
|
17420
|
+
/**
|
|
17421
|
+
* StorefrontConfigApi - factory interface
|
|
17422
|
+
* @export
|
|
17423
|
+
*/
|
|
17424
|
+
export const StorefrontConfigApiFactory = function (configuration, basePath, axios) {
|
|
17425
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
17426
|
+
return {
|
|
17427
|
+
/**
|
|
17428
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17429
|
+
* @summary Get effective config
|
|
17430
|
+
* @param {string} gameServerId
|
|
17431
|
+
* @param {*} [options] Override http request option.
|
|
17432
|
+
* @throws {RequiredError}
|
|
17433
|
+
*/
|
|
17434
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17435
|
+
return localVarFp
|
|
17436
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17437
|
+
.then((request) => request(axios, basePath));
|
|
17438
|
+
},
|
|
17439
|
+
/**
|
|
17440
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17441
|
+
* @summary List templates
|
|
17442
|
+
* @param {*} [options] Override http request option.
|
|
17443
|
+
* @throws {RequiredError}
|
|
17444
|
+
*/
|
|
17445
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17446
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
17447
|
+
},
|
|
17448
|
+
/**
|
|
17449
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17450
|
+
* @summary Set config
|
|
17451
|
+
* @param {string} gameServerId
|
|
17452
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17453
|
+
* @param {*} [options] Override http request option.
|
|
17454
|
+
* @throws {RequiredError}
|
|
17455
|
+
*/
|
|
17456
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17457
|
+
return localVarFp
|
|
17458
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17459
|
+
.then((request) => request(axios, basePath));
|
|
17460
|
+
},
|
|
17461
|
+
};
|
|
17462
|
+
};
|
|
17463
|
+
/**
|
|
17464
|
+
* StorefrontConfigApi - object-oriented interface
|
|
17465
|
+
* @export
|
|
17466
|
+
* @class StorefrontConfigApi
|
|
17467
|
+
* @extends {BaseAPI}
|
|
17468
|
+
*/
|
|
17469
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
17470
|
+
/**
|
|
17471
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
17472
|
+
* @summary Get effective config
|
|
17473
|
+
* @param {string} gameServerId
|
|
17474
|
+
* @param {*} [options] Override http request option.
|
|
17475
|
+
* @throws {RequiredError}
|
|
17476
|
+
* @memberof StorefrontConfigApi
|
|
17477
|
+
*/
|
|
17478
|
+
storefrontConfigControllerGetEffectiveConfig(gameServerId, options) {
|
|
17479
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17480
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
17481
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17482
|
+
}
|
|
17483
|
+
/**
|
|
17484
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
17485
|
+
* @summary List templates
|
|
17486
|
+
* @param {*} [options] Override http request option.
|
|
17487
|
+
* @throws {RequiredError}
|
|
17488
|
+
* @memberof StorefrontConfigApi
|
|
17489
|
+
*/
|
|
17490
|
+
storefrontConfigControllerListTemplates(options) {
|
|
17491
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17492
|
+
.storefrontConfigControllerListTemplates(options)
|
|
17493
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17494
|
+
}
|
|
17495
|
+
/**
|
|
17496
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17497
|
+
* @summary Set config
|
|
17498
|
+
* @param {string} gameServerId
|
|
17499
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17500
|
+
* @param {*} [options] Override http request option.
|
|
17501
|
+
* @throws {RequiredError}
|
|
17502
|
+
* @memberof StorefrontConfigApi
|
|
17503
|
+
*/
|
|
17504
|
+
storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17505
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17506
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17507
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17508
|
+
}
|
|
17509
|
+
}
|
|
15707
17510
|
/**
|
|
15708
17511
|
* TrackingApi - axios parameter creator
|
|
15709
17512
|
* @export
|
|
@@ -16118,6 +17921,32 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
16118
17921
|
options: localVarRequestOptions,
|
|
16119
17922
|
};
|
|
16120
17923
|
},
|
|
17924
|
+
/**
|
|
17925
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
17926
|
+
* @summary Count billable dashboard users
|
|
17927
|
+
* @param {*} [options] Override http request option.
|
|
17928
|
+
* @throws {RequiredError}
|
|
17929
|
+
*/
|
|
17930
|
+
userControllerCountBillableDashboardUsers: async (options = {}) => {
|
|
17931
|
+
const localVarPath = `/user/count`;
|
|
17932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17934
|
+
let baseOptions;
|
|
17935
|
+
if (configuration) {
|
|
17936
|
+
baseOptions = configuration.baseOptions;
|
|
17937
|
+
}
|
|
17938
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17939
|
+
const localVarHeaderParameter = {};
|
|
17940
|
+
const localVarQueryParameter = {};
|
|
17941
|
+
// authentication domainAuth required
|
|
17942
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17943
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17944
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17945
|
+
return {
|
|
17946
|
+
url: toPathString(localVarUrlObj),
|
|
17947
|
+
options: localVarRequestOptions,
|
|
17948
|
+
};
|
|
17949
|
+
},
|
|
16121
17950
|
/**
|
|
16122
17951
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16123
17952
|
* @summary Create
|
|
@@ -16207,6 +18036,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
16207
18036
|
* @summary Invite
|
|
16208
18037
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
16209
18038
|
* @param {*} [options] Override http request option.
|
|
18039
|
+
* @deprecated
|
|
16210
18040
|
* @throws {RequiredError}
|
|
16211
18041
|
*/
|
|
16212
18042
|
userControllerInvite: async (inviteCreateDTO, options = {}) => {
|
|
@@ -16518,6 +18348,18 @@ export const UserApiFp = function (configuration) {
|
|
|
16518
18348
|
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
16519
18349
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16520
18350
|
},
|
|
18351
|
+
/**
|
|
18352
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18353
|
+
* @summary Count billable dashboard users
|
|
18354
|
+
* @param {*} [options] Override http request option.
|
|
18355
|
+
* @throws {RequiredError}
|
|
18356
|
+
*/
|
|
18357
|
+
async userControllerCountBillableDashboardUsers(options) {
|
|
18358
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
18359
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18360
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
18361
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18362
|
+
},
|
|
16521
18363
|
/**
|
|
16522
18364
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16523
18365
|
* @summary Create
|
|
@@ -16561,6 +18403,7 @@ export const UserApiFp = function (configuration) {
|
|
|
16561
18403
|
* @summary Invite
|
|
16562
18404
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
16563
18405
|
* @param {*} [options] Override http request option.
|
|
18406
|
+
* @deprecated
|
|
16564
18407
|
* @throws {RequiredError}
|
|
16565
18408
|
*/
|
|
16566
18409
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -16709,6 +18552,15 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
16709
18552
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
16710
18553
|
.then((request) => request(axios, basePath));
|
|
16711
18554
|
},
|
|
18555
|
+
/**
|
|
18556
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18557
|
+
* @summary Count billable dashboard users
|
|
18558
|
+
* @param {*} [options] Override http request option.
|
|
18559
|
+
* @throws {RequiredError}
|
|
18560
|
+
*/
|
|
18561
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18562
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
18563
|
+
},
|
|
16712
18564
|
/**
|
|
16713
18565
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16714
18566
|
* @summary Create
|
|
@@ -16743,6 +18595,7 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
16743
18595
|
* @summary Invite
|
|
16744
18596
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
16745
18597
|
* @param {*} [options] Override http request option.
|
|
18598
|
+
* @deprecated
|
|
16746
18599
|
* @throws {RequiredError}
|
|
16747
18600
|
*/
|
|
16748
18601
|
userControllerInvite(inviteCreateDTO, options) {
|
|
@@ -16864,6 +18717,18 @@ export class UserApi extends BaseAPI {
|
|
|
16864
18717
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
16865
18718
|
.then((request) => request(this.axios, this.basePath));
|
|
16866
18719
|
}
|
|
18720
|
+
/**
|
|
18721
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
18722
|
+
* @summary Count billable dashboard users
|
|
18723
|
+
* @param {*} [options] Override http request option.
|
|
18724
|
+
* @throws {RequiredError}
|
|
18725
|
+
* @memberof UserApi
|
|
18726
|
+
*/
|
|
18727
|
+
userControllerCountBillableDashboardUsers(options) {
|
|
18728
|
+
return UserApiFp(this.configuration)
|
|
18729
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
18730
|
+
.then((request) => request(this.axios, this.basePath));
|
|
18731
|
+
}
|
|
16867
18732
|
/**
|
|
16868
18733
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
16869
18734
|
* @summary Create
|
|
@@ -16907,6 +18772,7 @@ export class UserApi extends BaseAPI {
|
|
|
16907
18772
|
* @summary Invite
|
|
16908
18773
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
16909
18774
|
* @param {*} [options] Override http request option.
|
|
18775
|
+
* @deprecated
|
|
16910
18776
|
* @throws {RequiredError}
|
|
16911
18777
|
* @memberof UserApi
|
|
16912
18778
|
*/
|