@takaro/apiclient 0.0.0-dev.8168003 → 0.0.0-dev.86f61e7
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 +595 -0
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +363 -0
- package/dist/generated/api.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +1319 -444
package/dist/generated/api.js
CHANGED
|
@@ -13378,6 +13378,369 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
13378
13378
|
.then((request) => request(this.axios, this.basePath));
|
|
13379
13379
|
}
|
|
13380
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
|
+
}
|
|
13381
13744
|
/**
|
|
13382
13745
|
* RoleApi - axios parameter creator
|
|
13383
13746
|
* @export
|