@takaro/apiclient 0.0.0-dev.cd89c68 → 0.0.0-dev.d05e266
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 +1497 -69
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +704 -0
- package/dist/generated/api.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +5631 -3643
package/dist/generated/api.js
CHANGED
|
@@ -154,6 +154,52 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
154
154
|
PlayerDeath: 'player-death',
|
|
155
155
|
EntityKilled: 'entity-killed',
|
|
156
156
|
};
|
|
157
|
+
export const EventExploreFiltersDTOEventNameEnum = {
|
|
158
|
+
RoleAssigned: 'role-assigned',
|
|
159
|
+
RoleRemoved: 'role-removed',
|
|
160
|
+
RoleCreated: 'role-created',
|
|
161
|
+
RoleUpdated: 'role-updated',
|
|
162
|
+
RoleDeleted: 'role-deleted',
|
|
163
|
+
CommandExecuted: 'command-executed',
|
|
164
|
+
CommandExecutionDenied: 'command-execution-denied',
|
|
165
|
+
HookExecuted: 'hook-executed',
|
|
166
|
+
CronjobExecuted: 'cronjob-executed',
|
|
167
|
+
CurrencyAdded: 'currency-added',
|
|
168
|
+
CurrencyDeducted: 'currency-deducted',
|
|
169
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
170
|
+
SettingsSet: 'settings-set',
|
|
171
|
+
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
172
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
173
|
+
ServerStatusChanged: 'server-status-changed',
|
|
174
|
+
ModuleCreated: 'module-created',
|
|
175
|
+
ModuleUpdated: 'module-updated',
|
|
176
|
+
ModuleDeleted: 'module-deleted',
|
|
177
|
+
ModuleInstalled: 'module-installed',
|
|
178
|
+
ModuleUninstalled: 'module-uninstalled',
|
|
179
|
+
PlayerCreated: 'player-created',
|
|
180
|
+
ShopListingCreated: 'shop-listing-created',
|
|
181
|
+
ShopListingUpdated: 'shop-listing-updated',
|
|
182
|
+
ShopListingDeleted: 'shop-listing-deleted',
|
|
183
|
+
ShopOrderCreated: 'shop-order-created',
|
|
184
|
+
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
185
|
+
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
186
|
+
PlayerLinked: 'player-linked',
|
|
187
|
+
GameserverCreated: 'gameserver-created',
|
|
188
|
+
GameserverUpdated: 'gameserver-updated',
|
|
189
|
+
GameserverDeleted: 'gameserver-deleted',
|
|
190
|
+
PlayerBanned: 'player-banned',
|
|
191
|
+
PlayerUnbanned: 'player-unbanned',
|
|
192
|
+
PlayerDeleted: 'player-deleted',
|
|
193
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
194
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
195
|
+
EventRateLimited: 'event-rate-limited',
|
|
196
|
+
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
197
|
+
PlayerConnected: 'player-connected',
|
|
198
|
+
PlayerDisconnected: 'player-disconnected',
|
|
199
|
+
ChatMessage: 'chat-message',
|
|
200
|
+
PlayerDeath: 'player-death',
|
|
201
|
+
EntityKilled: 'entity-killed',
|
|
202
|
+
};
|
|
157
203
|
export const EventOutputDTOEventNameEnum = {
|
|
158
204
|
RoleAssigned: 'role-assigned',
|
|
159
205
|
RoleRemoved: 'role-removed',
|
|
@@ -256,6 +302,10 @@ export const EventSearchInputDTOSortDirectionEnum = {
|
|
|
256
302
|
Asc: 'asc',
|
|
257
303
|
Desc: 'desc',
|
|
258
304
|
};
|
|
305
|
+
export const EventVolumeInputDTOGroupByEnum = {
|
|
306
|
+
EventName: 'eventName',
|
|
307
|
+
GameServerId: 'gameServerId',
|
|
308
|
+
};
|
|
259
309
|
export const FunctionSearchInputDTOExtendEnum = {
|
|
260
310
|
Version: 'version',
|
|
261
311
|
CronJob: 'cronJob',
|
|
@@ -663,6 +713,17 @@ export const JobStatusOutputDTOStatusEnum = {
|
|
|
663
713
|
Waiting: 'waiting',
|
|
664
714
|
WaitingChildren: 'waiting-children',
|
|
665
715
|
};
|
|
716
|
+
export const MetaFilterGroupOrLeafDTOLogicalOperatorEnum = {
|
|
717
|
+
And: 'AND',
|
|
718
|
+
Or: 'OR',
|
|
719
|
+
};
|
|
720
|
+
export const MetaFilterGroupOrLeafDTOOperatorEnum = {
|
|
721
|
+
Equal: '=',
|
|
722
|
+
NotEqual: '!=',
|
|
723
|
+
GreaterThan: '>',
|
|
724
|
+
LessThan: '<',
|
|
725
|
+
ArrayContains: 'array_contains',
|
|
726
|
+
};
|
|
666
727
|
export const ModuleInstallationSearchInputDTOSortDirectionEnum = {
|
|
667
728
|
Asc: 'asc',
|
|
668
729
|
Desc: 'desc',
|
|
@@ -6743,6 +6804,64 @@ export const EventApiAxiosParamCreator = function (configuration) {
|
|
|
6743
6804
|
options: localVarRequestOptions,
|
|
6744
6805
|
};
|
|
6745
6806
|
},
|
|
6807
|
+
/**
|
|
6808
|
+
* 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`
|
|
6809
|
+
* @summary Explore events
|
|
6810
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
6811
|
+
* @param {*} [options] Override http request option.
|
|
6812
|
+
* @throws {RequiredError}
|
|
6813
|
+
*/
|
|
6814
|
+
eventControllerExplore: async (eventExploreInputDTO, options = {}) => {
|
|
6815
|
+
const localVarPath = `/event/explore`;
|
|
6816
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6817
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6818
|
+
let baseOptions;
|
|
6819
|
+
if (configuration) {
|
|
6820
|
+
baseOptions = configuration.baseOptions;
|
|
6821
|
+
}
|
|
6822
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6823
|
+
const localVarHeaderParameter = {};
|
|
6824
|
+
const localVarQueryParameter = {};
|
|
6825
|
+
// authentication domainAuth required
|
|
6826
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6829
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6830
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventExploreInputDTO, localVarRequestOptions, configuration);
|
|
6831
|
+
return {
|
|
6832
|
+
url: toPathString(localVarUrlObj),
|
|
6833
|
+
options: localVarRequestOptions,
|
|
6834
|
+
};
|
|
6835
|
+
},
|
|
6836
|
+
/**
|
|
6837
|
+
* 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`
|
|
6838
|
+
* @summary Get event volume time-series with optional grouping
|
|
6839
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
6840
|
+
* @param {*} [options] Override http request option.
|
|
6841
|
+
* @throws {RequiredError}
|
|
6842
|
+
*/
|
|
6843
|
+
eventControllerExploreVolume: async (eventVolumeInputDTO, options = {}) => {
|
|
6844
|
+
const localVarPath = `/event/explore/volume`;
|
|
6845
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6847
|
+
let baseOptions;
|
|
6848
|
+
if (configuration) {
|
|
6849
|
+
baseOptions = configuration.baseOptions;
|
|
6850
|
+
}
|
|
6851
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6852
|
+
const localVarHeaderParameter = {};
|
|
6853
|
+
const localVarQueryParameter = {};
|
|
6854
|
+
// authentication domainAuth required
|
|
6855
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6856
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6857
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6858
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6859
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventVolumeInputDTO, localVarRequestOptions, configuration);
|
|
6860
|
+
return {
|
|
6861
|
+
url: toPathString(localVarUrlObj),
|
|
6862
|
+
options: localVarRequestOptions,
|
|
6863
|
+
};
|
|
6864
|
+
},
|
|
6746
6865
|
/**
|
|
6747
6866
|
* 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
6867
|
* @summary Export events to CSV
|
|
@@ -6881,6 +7000,32 @@ export const EventApiFp = function (configuration) {
|
|
|
6881
7000
|
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
6882
7001
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6883
7002
|
},
|
|
7003
|
+
/**
|
|
7004
|
+
* 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`
|
|
7005
|
+
* @summary Explore events
|
|
7006
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7007
|
+
* @param {*} [options] Override http request option.
|
|
7008
|
+
* @throws {RequiredError}
|
|
7009
|
+
*/
|
|
7010
|
+
async eventControllerExplore(eventExploreInputDTO, options) {
|
|
7011
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExplore(eventExploreInputDTO, options);
|
|
7012
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7013
|
+
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExplore']?.[localVarOperationServerIndex]?.url;
|
|
7014
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7015
|
+
},
|
|
7016
|
+
/**
|
|
7017
|
+
* 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`
|
|
7018
|
+
* @summary Get event volume time-series with optional grouping
|
|
7019
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7020
|
+
* @param {*} [options] Override http request option.
|
|
7021
|
+
* @throws {RequiredError}
|
|
7022
|
+
*/
|
|
7023
|
+
async eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExploreVolume(eventVolumeInputDTO, options);
|
|
7025
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7026
|
+
const localVarOperationServerBasePath = operationServerMap['EventApi.eventControllerExploreVolume']?.[localVarOperationServerIndex]?.url;
|
|
7027
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7028
|
+
},
|
|
6884
7029
|
/**
|
|
6885
7030
|
* 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
7031
|
* @summary Export events to CSV
|
|
@@ -6952,6 +7097,30 @@ export const EventApiFactory = function (configuration, basePath, axios) {
|
|
|
6952
7097
|
eventControllerCreate(eventCreateDTO, options) {
|
|
6953
7098
|
return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
|
|
6954
7099
|
},
|
|
7100
|
+
/**
|
|
7101
|
+
* 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`
|
|
7102
|
+
* @summary Explore events
|
|
7103
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7104
|
+
* @param {*} [options] Override http request option.
|
|
7105
|
+
* @throws {RequiredError}
|
|
7106
|
+
*/
|
|
7107
|
+
eventControllerExplore(eventExploreInputDTO, options) {
|
|
7108
|
+
return localVarFp
|
|
7109
|
+
.eventControllerExplore(eventExploreInputDTO, options)
|
|
7110
|
+
.then((request) => request(axios, basePath));
|
|
7111
|
+
},
|
|
7112
|
+
/**
|
|
7113
|
+
* 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`
|
|
7114
|
+
* @summary Get event volume time-series with optional grouping
|
|
7115
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7116
|
+
* @param {*} [options] Override http request option.
|
|
7117
|
+
* @throws {RequiredError}
|
|
7118
|
+
*/
|
|
7119
|
+
eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7120
|
+
return localVarFp
|
|
7121
|
+
.eventControllerExploreVolume(eventVolumeInputDTO, options)
|
|
7122
|
+
.then((request) => request(axios, basePath));
|
|
7123
|
+
},
|
|
6955
7124
|
/**
|
|
6956
7125
|
* 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`
|
|
6957
7126
|
* @summary Export events to CSV
|
|
@@ -7016,6 +7185,32 @@ export class EventApi extends BaseAPI {
|
|
|
7016
7185
|
.eventControllerCreate(eventCreateDTO, options)
|
|
7017
7186
|
.then((request) => request(this.axios, this.basePath));
|
|
7018
7187
|
}
|
|
7188
|
+
/**
|
|
7189
|
+
* 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`
|
|
7190
|
+
* @summary Explore events
|
|
7191
|
+
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
7192
|
+
* @param {*} [options] Override http request option.
|
|
7193
|
+
* @throws {RequiredError}
|
|
7194
|
+
* @memberof EventApi
|
|
7195
|
+
*/
|
|
7196
|
+
eventControllerExplore(eventExploreInputDTO, options) {
|
|
7197
|
+
return EventApiFp(this.configuration)
|
|
7198
|
+
.eventControllerExplore(eventExploreInputDTO, options)
|
|
7199
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7200
|
+
}
|
|
7201
|
+
/**
|
|
7202
|
+
* 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`
|
|
7203
|
+
* @summary Get event volume time-series with optional grouping
|
|
7204
|
+
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
7205
|
+
* @param {*} [options] Override http request option.
|
|
7206
|
+
* @throws {RequiredError}
|
|
7207
|
+
* @memberof EventApi
|
|
7208
|
+
*/
|
|
7209
|
+
eventControllerExploreVolume(eventVolumeInputDTO, options) {
|
|
7210
|
+
return EventApiFp(this.configuration)
|
|
7211
|
+
.eventControllerExploreVolume(eventVolumeInputDTO, options)
|
|
7212
|
+
.then((request) => request(this.axios, this.basePath));
|
|
7213
|
+
}
|
|
7019
7214
|
/**
|
|
7020
7215
|
* 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
7216
|
* @summary Export events to CSV
|
|
@@ -11720,6 +11915,38 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
11720
11915
|
options: localVarRequestOptions,
|
|
11721
11916
|
};
|
|
11722
11917
|
},
|
|
11918
|
+
/**
|
|
11919
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
11920
|
+
* @summary Bulk assign role
|
|
11921
|
+
* @param {string} roleId
|
|
11922
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
11923
|
+
* @param {*} [options] Override http request option.
|
|
11924
|
+
* @throws {RequiredError}
|
|
11925
|
+
*/
|
|
11926
|
+
playerControllerBulkAssignRole: async (roleId, playerBulkAssignRoleInputDTO, options = {}) => {
|
|
11927
|
+
// verify required parameter 'roleId' is not null or undefined
|
|
11928
|
+
assertParamExists('playerControllerBulkAssignRole', 'roleId', roleId);
|
|
11929
|
+
const localVarPath = `/player/role/{roleId}`.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
11930
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11931
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11932
|
+
let baseOptions;
|
|
11933
|
+
if (configuration) {
|
|
11934
|
+
baseOptions = configuration.baseOptions;
|
|
11935
|
+
}
|
|
11936
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
11937
|
+
const localVarHeaderParameter = {};
|
|
11938
|
+
const localVarQueryParameter = {};
|
|
11939
|
+
// authentication domainAuth required
|
|
11940
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11941
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11942
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11943
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11944
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerBulkAssignRoleInputDTO, localVarRequestOptions, configuration);
|
|
11945
|
+
return {
|
|
11946
|
+
url: toPathString(localVarUrlObj),
|
|
11947
|
+
options: localVarRequestOptions,
|
|
11948
|
+
};
|
|
11949
|
+
},
|
|
11723
11950
|
/**
|
|
11724
11951
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
11725
11952
|
* @summary Bulk delete
|
|
@@ -11989,6 +12216,20 @@ export const PlayerApiFp = function (configuration) {
|
|
|
11989
12216
|
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
11990
12217
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11991
12218
|
},
|
|
12219
|
+
/**
|
|
12220
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12221
|
+
* @summary Bulk assign role
|
|
12222
|
+
* @param {string} roleId
|
|
12223
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12224
|
+
* @param {*} [options] Override http request option.
|
|
12225
|
+
* @throws {RequiredError}
|
|
12226
|
+
*/
|
|
12227
|
+
async playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
12228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options);
|
|
12229
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12230
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
12231
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12232
|
+
},
|
|
11992
12233
|
/**
|
|
11993
12234
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
11994
12235
|
* @summary Bulk delete
|
|
@@ -12142,6 +12383,19 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
12142
12383
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
12143
12384
|
.then((request) => request(axios, basePath));
|
|
12144
12385
|
},
|
|
12386
|
+
/**
|
|
12387
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12388
|
+
* @summary Bulk assign role
|
|
12389
|
+
* @param {string} roleId
|
|
12390
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12391
|
+
* @param {*} [options] Override http request option.
|
|
12392
|
+
* @throws {RequiredError}
|
|
12393
|
+
*/
|
|
12394
|
+
playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
12395
|
+
return localVarFp
|
|
12396
|
+
.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
|
|
12397
|
+
.then((request) => request(axios, basePath));
|
|
12398
|
+
},
|
|
12145
12399
|
/**
|
|
12146
12400
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12147
12401
|
* @summary Bulk delete
|
|
@@ -12299,6 +12553,20 @@ export class PlayerApi extends BaseAPI {
|
|
|
12299
12553
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
12300
12554
|
.then((request) => request(this.axios, this.basePath));
|
|
12301
12555
|
}
|
|
12556
|
+
/**
|
|
12557
|
+
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12558
|
+
* @summary Bulk assign role
|
|
12559
|
+
* @param {string} roleId
|
|
12560
|
+
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12561
|
+
* @param {*} [options] Override http request option.
|
|
12562
|
+
* @throws {RequiredError}
|
|
12563
|
+
* @memberof PlayerApi
|
|
12564
|
+
*/
|
|
12565
|
+
playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options) {
|
|
12566
|
+
return PlayerApiFp(this.configuration)
|
|
12567
|
+
.playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
|
|
12568
|
+
.then((request) => request(this.axios, this.basePath));
|
|
12569
|
+
}
|
|
12302
12570
|
/**
|
|
12303
12571
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12304
12572
|
* @summary Bulk delete
|
|
@@ -12422,6 +12690,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
12422
12690
|
options: localVarRequestOptions,
|
|
12423
12691
|
};
|
|
12424
12692
|
},
|
|
12693
|
+
/**
|
|
12694
|
+
* 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`
|
|
12695
|
+
* @summary Bulk add currency
|
|
12696
|
+
* @param {string} gameServerId
|
|
12697
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
12698
|
+
* @param {*} [options] Override http request option.
|
|
12699
|
+
* @throws {RequiredError}
|
|
12700
|
+
*/
|
|
12701
|
+
playerOnGameServerControllerBulkAddCurrency: async (gameServerId, pogBulkAddCurrencyInputDTO, options = {}) => {
|
|
12702
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
12703
|
+
assertParamExists('playerOnGameServerControllerBulkAddCurrency', 'gameServerId', gameServerId);
|
|
12704
|
+
const localVarPath = `/gameserver/{gameServerId}/addCurrency`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
12705
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12706
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12707
|
+
let baseOptions;
|
|
12708
|
+
if (configuration) {
|
|
12709
|
+
baseOptions = configuration.baseOptions;
|
|
12710
|
+
}
|
|
12711
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
12712
|
+
const localVarHeaderParameter = {};
|
|
12713
|
+
const localVarQueryParameter = {};
|
|
12714
|
+
// authentication domainAuth required
|
|
12715
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12716
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12717
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12718
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
12719
|
+
localVarRequestOptions.data = serializeDataIfNeeded(pogBulkAddCurrencyInputDTO, localVarRequestOptions, configuration);
|
|
12720
|
+
return {
|
|
12721
|
+
url: toPathString(localVarUrlObj),
|
|
12722
|
+
options: localVarRequestOptions,
|
|
12723
|
+
};
|
|
12724
|
+
},
|
|
12425
12725
|
/**
|
|
12426
12726
|
* 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
12727
|
* @summary Bulk delete
|
|
@@ -12690,6 +12990,20 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
12690
12990
|
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
12691
12991
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12692
12992
|
},
|
|
12993
|
+
/**
|
|
12994
|
+
* 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`
|
|
12995
|
+
* @summary Bulk add currency
|
|
12996
|
+
* @param {string} gameServerId
|
|
12997
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
12998
|
+
* @param {*} [options] Override http request option.
|
|
12999
|
+
* @throws {RequiredError}
|
|
13000
|
+
*/
|
|
13001
|
+
async playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
13002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options);
|
|
13003
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13004
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
13005
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13006
|
+
},
|
|
12693
13007
|
/**
|
|
12694
13008
|
* 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
13009
|
* @summary Bulk delete
|
|
@@ -12817,6 +13131,19 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
12817
13131
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12818
13132
|
.then((request) => request(axios, basePath));
|
|
12819
13133
|
},
|
|
13134
|
+
/**
|
|
13135
|
+
* 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`
|
|
13136
|
+
* @summary Bulk add currency
|
|
13137
|
+
* @param {string} gameServerId
|
|
13138
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13139
|
+
* @param {*} [options] Override http request option.
|
|
13140
|
+
* @throws {RequiredError}
|
|
13141
|
+
*/
|
|
13142
|
+
playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
13143
|
+
return localVarFp
|
|
13144
|
+
.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
|
|
13145
|
+
.then((request) => request(axios, basePath));
|
|
13146
|
+
},
|
|
12820
13147
|
/**
|
|
12821
13148
|
* 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
13149
|
* @summary Bulk delete
|
|
@@ -12935,6 +13262,20 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
12935
13262
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
12936
13263
|
.then((request) => request(this.axios, this.basePath));
|
|
12937
13264
|
}
|
|
13265
|
+
/**
|
|
13266
|
+
* 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`
|
|
13267
|
+
* @summary Bulk add currency
|
|
13268
|
+
* @param {string} gameServerId
|
|
13269
|
+
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13270
|
+
* @param {*} [options] Override http request option.
|
|
13271
|
+
* @throws {RequiredError}
|
|
13272
|
+
* @memberof PlayerOnGameServerApi
|
|
13273
|
+
*/
|
|
13274
|
+
playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options) {
|
|
13275
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
13276
|
+
.playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
|
|
13277
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13278
|
+
}
|
|
12938
13279
|
/**
|
|
12939
13280
|
* 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
13281
|
* @summary Bulk delete
|
|
@@ -13037,6 +13378,369 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
13037
13378
|
.then((request) => request(this.axios, this.basePath));
|
|
13038
13379
|
}
|
|
13039
13380
|
}
|
|
13381
|
+
/**
|
|
13382
|
+
* RegistryApi - axios parameter creator
|
|
13383
|
+
* @export
|
|
13384
|
+
*/
|
|
13385
|
+
export const RegistryApiAxiosParamCreator = function (configuration) {
|
|
13386
|
+
return {
|
|
13387
|
+
/**
|
|
13388
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
13389
|
+
* @summary Install a module from a registry
|
|
13390
|
+
* @param {string} id
|
|
13391
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
13392
|
+
* @param {*} [options] Override http request option.
|
|
13393
|
+
* @throws {RequiredError}
|
|
13394
|
+
*/
|
|
13395
|
+
registryControllerInstall: async (id, registryInstallBody, options = {}) => {
|
|
13396
|
+
// verify required parameter 'id' is not null or undefined
|
|
13397
|
+
assertParamExists('registryControllerInstall', 'id', id);
|
|
13398
|
+
const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
13399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13401
|
+
let baseOptions;
|
|
13402
|
+
if (configuration) {
|
|
13403
|
+
baseOptions = configuration.baseOptions;
|
|
13404
|
+
}
|
|
13405
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13406
|
+
const localVarHeaderParameter = {};
|
|
13407
|
+
const localVarQueryParameter = {};
|
|
13408
|
+
// authentication domainAuth required
|
|
13409
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13410
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13412
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13413
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
13414
|
+
return {
|
|
13415
|
+
url: toPathString(localVarUrlObj),
|
|
13416
|
+
options: localVarRequestOptions,
|
|
13417
|
+
};
|
|
13418
|
+
},
|
|
13419
|
+
/**
|
|
13420
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
13421
|
+
* @summary List subscribed registries
|
|
13422
|
+
* @param {*} [options] Override http request option.
|
|
13423
|
+
* @throws {RequiredError}
|
|
13424
|
+
*/
|
|
13425
|
+
registryControllerList: async (options = {}) => {
|
|
13426
|
+
const localVarPath = `/registry`;
|
|
13427
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13428
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13429
|
+
let baseOptions;
|
|
13430
|
+
if (configuration) {
|
|
13431
|
+
baseOptions = configuration.baseOptions;
|
|
13432
|
+
}
|
|
13433
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
13434
|
+
const localVarHeaderParameter = {};
|
|
13435
|
+
const localVarQueryParameter = {};
|
|
13436
|
+
// authentication domainAuth required
|
|
13437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13439
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13440
|
+
return {
|
|
13441
|
+
url: toPathString(localVarUrlObj),
|
|
13442
|
+
options: localVarRequestOptions,
|
|
13443
|
+
};
|
|
13444
|
+
},
|
|
13445
|
+
/**
|
|
13446
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
13447
|
+
* @summary Refresh registry manifest
|
|
13448
|
+
* @param {string} id
|
|
13449
|
+
* @param {*} [options] Override http request option.
|
|
13450
|
+
* @throws {RequiredError}
|
|
13451
|
+
*/
|
|
13452
|
+
registryControllerRefresh: async (id, options = {}) => {
|
|
13453
|
+
// verify required parameter 'id' is not null or undefined
|
|
13454
|
+
assertParamExists('registryControllerRefresh', 'id', id);
|
|
13455
|
+
const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
13456
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13457
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13458
|
+
let baseOptions;
|
|
13459
|
+
if (configuration) {
|
|
13460
|
+
baseOptions = configuration.baseOptions;
|
|
13461
|
+
}
|
|
13462
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13463
|
+
const localVarHeaderParameter = {};
|
|
13464
|
+
const localVarQueryParameter = {};
|
|
13465
|
+
// authentication domainAuth required
|
|
13466
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13467
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13468
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13469
|
+
return {
|
|
13470
|
+
url: toPathString(localVarUrlObj),
|
|
13471
|
+
options: localVarRequestOptions,
|
|
13472
|
+
};
|
|
13473
|
+
},
|
|
13474
|
+
/**
|
|
13475
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
13476
|
+
* @summary Subscribe to a registry
|
|
13477
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
13478
|
+
* @param {*} [options] Override http request option.
|
|
13479
|
+
* @throws {RequiredError}
|
|
13480
|
+
*/
|
|
13481
|
+
registryControllerSubscribe: async (registrySubscribeBody, options = {}) => {
|
|
13482
|
+
const localVarPath = `/registry`;
|
|
13483
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13484
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13485
|
+
let baseOptions;
|
|
13486
|
+
if (configuration) {
|
|
13487
|
+
baseOptions = configuration.baseOptions;
|
|
13488
|
+
}
|
|
13489
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
13490
|
+
const localVarHeaderParameter = {};
|
|
13491
|
+
const localVarQueryParameter = {};
|
|
13492
|
+
// authentication domainAuth required
|
|
13493
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13494
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13495
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13496
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13497
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
|
|
13498
|
+
return {
|
|
13499
|
+
url: toPathString(localVarUrlObj),
|
|
13500
|
+
options: localVarRequestOptions,
|
|
13501
|
+
};
|
|
13502
|
+
},
|
|
13503
|
+
/**
|
|
13504
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
13505
|
+
* @summary Unsubscribe from a registry
|
|
13506
|
+
* @param {string} id
|
|
13507
|
+
* @param {*} [options] Override http request option.
|
|
13508
|
+
* @throws {RequiredError}
|
|
13509
|
+
*/
|
|
13510
|
+
registryControllerUnsubscribe: async (id, options = {}) => {
|
|
13511
|
+
// verify required parameter 'id' is not null or undefined
|
|
13512
|
+
assertParamExists('registryControllerUnsubscribe', 'id', id);
|
|
13513
|
+
const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
13514
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13515
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13516
|
+
let baseOptions;
|
|
13517
|
+
if (configuration) {
|
|
13518
|
+
baseOptions = configuration.baseOptions;
|
|
13519
|
+
}
|
|
13520
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
13521
|
+
const localVarHeaderParameter = {};
|
|
13522
|
+
const localVarQueryParameter = {};
|
|
13523
|
+
// authentication domainAuth required
|
|
13524
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13525
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13526
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
13527
|
+
return {
|
|
13528
|
+
url: toPathString(localVarUrlObj),
|
|
13529
|
+
options: localVarRequestOptions,
|
|
13530
|
+
};
|
|
13531
|
+
},
|
|
13532
|
+
};
|
|
13533
|
+
};
|
|
13534
|
+
/**
|
|
13535
|
+
* RegistryApi - functional programming interface
|
|
13536
|
+
* @export
|
|
13537
|
+
*/
|
|
13538
|
+
export const RegistryApiFp = function (configuration) {
|
|
13539
|
+
const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
|
|
13540
|
+
return {
|
|
13541
|
+
/**
|
|
13542
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
13543
|
+
* @summary Install a module from a registry
|
|
13544
|
+
* @param {string} id
|
|
13545
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
13546
|
+
* @param {*} [options] Override http request option.
|
|
13547
|
+
* @throws {RequiredError}
|
|
13548
|
+
*/
|
|
13549
|
+
async registryControllerInstall(id, registryInstallBody, options) {
|
|
13550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(id, registryInstallBody, options);
|
|
13551
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13552
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
|
|
13553
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13554
|
+
},
|
|
13555
|
+
/**
|
|
13556
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
13557
|
+
* @summary List subscribed registries
|
|
13558
|
+
* @param {*} [options] Override http request option.
|
|
13559
|
+
* @throws {RequiredError}
|
|
13560
|
+
*/
|
|
13561
|
+
async registryControllerList(options) {
|
|
13562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
|
|
13563
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13564
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
|
|
13565
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13566
|
+
},
|
|
13567
|
+
/**
|
|
13568
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
13569
|
+
* @summary Refresh registry manifest
|
|
13570
|
+
* @param {string} id
|
|
13571
|
+
* @param {*} [options] Override http request option.
|
|
13572
|
+
* @throws {RequiredError}
|
|
13573
|
+
*/
|
|
13574
|
+
async registryControllerRefresh(id, options) {
|
|
13575
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
|
|
13576
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13577
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
|
|
13578
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13579
|
+
},
|
|
13580
|
+
/**
|
|
13581
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
13582
|
+
* @summary Subscribe to a registry
|
|
13583
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
13584
|
+
* @param {*} [options] Override http request option.
|
|
13585
|
+
* @throws {RequiredError}
|
|
13586
|
+
*/
|
|
13587
|
+
async registryControllerSubscribe(registrySubscribeBody, options) {
|
|
13588
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(registrySubscribeBody, options);
|
|
13589
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13590
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
|
|
13591
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13592
|
+
},
|
|
13593
|
+
/**
|
|
13594
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
13595
|
+
* @summary Unsubscribe from a registry
|
|
13596
|
+
* @param {string} id
|
|
13597
|
+
* @param {*} [options] Override http request option.
|
|
13598
|
+
* @throws {RequiredError}
|
|
13599
|
+
*/
|
|
13600
|
+
async registryControllerUnsubscribe(id, options) {
|
|
13601
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
|
|
13602
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13603
|
+
const localVarOperationServerBasePath = operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
|
|
13604
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13605
|
+
},
|
|
13606
|
+
};
|
|
13607
|
+
};
|
|
13608
|
+
/**
|
|
13609
|
+
* RegistryApi - factory interface
|
|
13610
|
+
* @export
|
|
13611
|
+
*/
|
|
13612
|
+
export const RegistryApiFactory = function (configuration, basePath, axios) {
|
|
13613
|
+
const localVarFp = RegistryApiFp(configuration);
|
|
13614
|
+
return {
|
|
13615
|
+
/**
|
|
13616
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
13617
|
+
* @summary Install a module from a registry
|
|
13618
|
+
* @param {string} id
|
|
13619
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
13620
|
+
* @param {*} [options] Override http request option.
|
|
13621
|
+
* @throws {RequiredError}
|
|
13622
|
+
*/
|
|
13623
|
+
registryControllerInstall(id, registryInstallBody, options) {
|
|
13624
|
+
return localVarFp
|
|
13625
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
13626
|
+
.then((request) => request(axios, basePath));
|
|
13627
|
+
},
|
|
13628
|
+
/**
|
|
13629
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
13630
|
+
* @summary List subscribed registries
|
|
13631
|
+
* @param {*} [options] Override http request option.
|
|
13632
|
+
* @throws {RequiredError}
|
|
13633
|
+
*/
|
|
13634
|
+
registryControllerList(options) {
|
|
13635
|
+
return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
|
|
13636
|
+
},
|
|
13637
|
+
/**
|
|
13638
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
13639
|
+
* @summary Refresh registry manifest
|
|
13640
|
+
* @param {string} id
|
|
13641
|
+
* @param {*} [options] Override http request option.
|
|
13642
|
+
* @throws {RequiredError}
|
|
13643
|
+
*/
|
|
13644
|
+
registryControllerRefresh(id, options) {
|
|
13645
|
+
return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
|
|
13646
|
+
},
|
|
13647
|
+
/**
|
|
13648
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
13649
|
+
* @summary Subscribe to a registry
|
|
13650
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
13651
|
+
* @param {*} [options] Override http request option.
|
|
13652
|
+
* @throws {RequiredError}
|
|
13653
|
+
*/
|
|
13654
|
+
registryControllerSubscribe(registrySubscribeBody, options) {
|
|
13655
|
+
return localVarFp
|
|
13656
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
13657
|
+
.then((request) => request(axios, basePath));
|
|
13658
|
+
},
|
|
13659
|
+
/**
|
|
13660
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
13661
|
+
* @summary Unsubscribe from a registry
|
|
13662
|
+
* @param {string} id
|
|
13663
|
+
* @param {*} [options] Override http request option.
|
|
13664
|
+
* @throws {RequiredError}
|
|
13665
|
+
*/
|
|
13666
|
+
registryControllerUnsubscribe(id, options) {
|
|
13667
|
+
return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
|
|
13668
|
+
},
|
|
13669
|
+
};
|
|
13670
|
+
};
|
|
13671
|
+
/**
|
|
13672
|
+
* RegistryApi - object-oriented interface
|
|
13673
|
+
* @export
|
|
13674
|
+
* @class RegistryApi
|
|
13675
|
+
* @extends {BaseAPI}
|
|
13676
|
+
*/
|
|
13677
|
+
export class RegistryApi extends BaseAPI {
|
|
13678
|
+
/**
|
|
13679
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
13680
|
+
* @summary Install a module from a registry
|
|
13681
|
+
* @param {string} id
|
|
13682
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
13683
|
+
* @param {*} [options] Override http request option.
|
|
13684
|
+
* @throws {RequiredError}
|
|
13685
|
+
* @memberof RegistryApi
|
|
13686
|
+
*/
|
|
13687
|
+
registryControllerInstall(id, registryInstallBody, options) {
|
|
13688
|
+
return RegistryApiFp(this.configuration)
|
|
13689
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
13690
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13691
|
+
}
|
|
13692
|
+
/**
|
|
13693
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
13694
|
+
* @summary List subscribed registries
|
|
13695
|
+
* @param {*} [options] Override http request option.
|
|
13696
|
+
* @throws {RequiredError}
|
|
13697
|
+
* @memberof RegistryApi
|
|
13698
|
+
*/
|
|
13699
|
+
registryControllerList(options) {
|
|
13700
|
+
return RegistryApiFp(this.configuration)
|
|
13701
|
+
.registryControllerList(options)
|
|
13702
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13703
|
+
}
|
|
13704
|
+
/**
|
|
13705
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
13706
|
+
* @summary Refresh registry manifest
|
|
13707
|
+
* @param {string} id
|
|
13708
|
+
* @param {*} [options] Override http request option.
|
|
13709
|
+
* @throws {RequiredError}
|
|
13710
|
+
* @memberof RegistryApi
|
|
13711
|
+
*/
|
|
13712
|
+
registryControllerRefresh(id, options) {
|
|
13713
|
+
return RegistryApiFp(this.configuration)
|
|
13714
|
+
.registryControllerRefresh(id, options)
|
|
13715
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13716
|
+
}
|
|
13717
|
+
/**
|
|
13718
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
13719
|
+
* @summary Subscribe to a registry
|
|
13720
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
13721
|
+
* @param {*} [options] Override http request option.
|
|
13722
|
+
* @throws {RequiredError}
|
|
13723
|
+
* @memberof RegistryApi
|
|
13724
|
+
*/
|
|
13725
|
+
registryControllerSubscribe(registrySubscribeBody, options) {
|
|
13726
|
+
return RegistryApiFp(this.configuration)
|
|
13727
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
13728
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13729
|
+
}
|
|
13730
|
+
/**
|
|
13731
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
13732
|
+
* @summary Unsubscribe from a registry
|
|
13733
|
+
* @param {string} id
|
|
13734
|
+
* @param {*} [options] Override http request option.
|
|
13735
|
+
* @throws {RequiredError}
|
|
13736
|
+
* @memberof RegistryApi
|
|
13737
|
+
*/
|
|
13738
|
+
registryControllerUnsubscribe(id, options) {
|
|
13739
|
+
return RegistryApiFp(this.configuration)
|
|
13740
|
+
.registryControllerUnsubscribe(id, options)
|
|
13741
|
+
.then((request) => request(this.axios, this.basePath));
|
|
13742
|
+
}
|
|
13743
|
+
}
|
|
13040
13744
|
/**
|
|
13041
13745
|
* RoleApi - axios parameter creator
|
|
13042
13746
|
* @export
|