yellowgrid-api-ts 3.2.90 → 3.2.91
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/.openapi-generator/FILES +1 -1
- package/README.md +4 -1
- package/api.ts +248 -63
- package/dist/api.d.ts +136 -62
- package/dist/api.js +261 -6
- package/docs/Class3CXInstallationsApi.md +175 -4
- package/docs/RemoteStorageDTO.md +27 -0
- package/package.json +1 -1
- package/docs/TcxInstallationDetailsModel.md +0 -45
package/.openapi-generator/FILES
CHANGED
|
@@ -148,6 +148,7 @@ docs/PutAllocateItemsRequest.md
|
|
|
148
148
|
docs/PutAllocateItemsRequestItemsInner.md
|
|
149
149
|
docs/RecordingBackupAzureModel.md
|
|
150
150
|
docs/RecordingsBackupInfoDTO.md
|
|
151
|
+
docs/RemoteStorageDTO.md
|
|
151
152
|
docs/ResourceNotReadyException.md
|
|
152
153
|
docs/RootAccessModel.md
|
|
153
154
|
docs/S3BucketEntity.md
|
|
@@ -220,7 +221,6 @@ docs/TcxBulkLicenceDetailsModel.md
|
|
|
220
221
|
docs/TcxDeadLicenceEntity.md
|
|
221
222
|
docs/TcxExtsEntity.md
|
|
222
223
|
docs/TcxHostingPricingEntity.md
|
|
223
|
-
docs/TcxInstallationDetailsModel.md
|
|
224
224
|
docs/TcxInstallationModel.md
|
|
225
225
|
docs/TcxInstallationsModel.md
|
|
226
226
|
docs/TcxKeySummaryDTO.md
|
package/README.md
CHANGED
|
@@ -119,7 +119,10 @@ Class | Method | HTTP request | Description
|
|
|
119
119
|
*Class3CXInstallationsApi* | [**postInstallTcxSbc**](docs/Class3CXInstallationsApi.md#postinstalltcxsbc) | **POST** /tcx/installations/sbcs/{sbc_id}/install | Install 3CX SBC
|
|
120
120
|
*Class3CXInstallationsApi* | [**postRebootInstance**](docs/Class3CXInstallationsApi.md#postrebootinstance) | **POST** /tcx/installations/{instance_id}/reboot | Reboot 3CX Instance
|
|
121
121
|
*Class3CXInstallationsApi* | [**postResizeInstance**](docs/Class3CXInstallationsApi.md#postresizeinstance) | **POST** /tcx/installations/{instance_id}/resize | Resize 3CX Instance
|
|
122
|
+
*Class3CXInstallationsApi* | [**postRestartServices**](docs/Class3CXInstallationsApi.md#postrestartservices) | **POST** /tcx/installations/{instance_id}/services/restart | Restart 3CX Services
|
|
123
|
+
*Class3CXInstallationsApi* | [**postScheduledReboot**](docs/Class3CXInstallationsApi.md#postscheduledreboot) | **POST** /tcx/installations/{instance_id}/reboot/scheduled | Reboot Instance
|
|
122
124
|
*Class3CXInstallationsApi* | [**postSuspendInstance**](docs/Class3CXInstallationsApi.md#postsuspendinstance) | **POST** /tcx/installations/{instance_id}/suspend | Suspend 3CX Instance
|
|
125
|
+
*Class3CXInstallationsApi* | [**postTestLoginCredentials**](docs/Class3CXInstallationsApi.md#posttestlogincredentials) | **POST** /tcx/installations/{instance_id}/tests/login | Test 3CX Login Credentials
|
|
123
126
|
*Class3CXInstallationsApi* | [**postUnsuspendInstance**](docs/Class3CXInstallationsApi.md#postunsuspendinstance) | **POST** /tcx/installations/{instance_id}/unsuspend | Unsuspend 3CX Instance
|
|
124
127
|
*Class3CXInstallationsApi* | [**postUpgradeDebian**](docs/Class3CXInstallationsApi.md#postupgradedebian) | **POST** /tcx/installations/{instance_id}/debian/upgrade | Install OS update on 3CX Instance
|
|
125
128
|
*Class3CXIntegrationsApi* | [**getGetPrice**](docs/Class3CXIntegrationsApi.md#getgetprice) | **GET** /tcx/integrations/edtechpro/prices |
|
|
@@ -402,6 +405,7 @@ Class | Method | HTTP request | Description
|
|
|
402
405
|
- [PutAllocateItemsRequestItemsInner](docs/PutAllocateItemsRequestItemsInner.md)
|
|
403
406
|
- [RecordingBackupAzureModel](docs/RecordingBackupAzureModel.md)
|
|
404
407
|
- [RecordingsBackupInfoDTO](docs/RecordingsBackupInfoDTO.md)
|
|
408
|
+
- [RemoteStorageDTO](docs/RemoteStorageDTO.md)
|
|
405
409
|
- [ResourceNotReadyException](docs/ResourceNotReadyException.md)
|
|
406
410
|
- [RootAccessModel](docs/RootAccessModel.md)
|
|
407
411
|
- [S3BucketEntity](docs/S3BucketEntity.md)
|
|
@@ -468,7 +472,6 @@ Class | Method | HTTP request | Description
|
|
|
468
472
|
- [TcxDeadLicenceEntity](docs/TcxDeadLicenceEntity.md)
|
|
469
473
|
- [TcxExtsEntity](docs/TcxExtsEntity.md)
|
|
470
474
|
- [TcxHostingPricingEntity](docs/TcxHostingPricingEntity.md)
|
|
471
|
-
- [TcxInstallationDetailsModel](docs/TcxInstallationDetailsModel.md)
|
|
472
475
|
- [TcxInstallationModel](docs/TcxInstallationModel.md)
|
|
473
476
|
- [TcxInstallationsModel](docs/TcxInstallationsModel.md)
|
|
474
477
|
- [TcxKeySummaryDTO](docs/TcxKeySummaryDTO.md)
|
package/api.ts
CHANGED
|
@@ -4429,6 +4429,27 @@ export interface RecordingsBackupInfoDTO {
|
|
|
4429
4429
|
'backup'?: RecordingBackupAzureModel | null;
|
|
4430
4430
|
'storage'?: TcxRemoteStorageModel | null;
|
|
4431
4431
|
}
|
|
4432
|
+
/**
|
|
4433
|
+
* Remote Storage
|
|
4434
|
+
*/
|
|
4435
|
+
export interface RemoteStorageDTO {
|
|
4436
|
+
/**
|
|
4437
|
+
* AWS ID
|
|
4438
|
+
*/
|
|
4439
|
+
'id'?: string;
|
|
4440
|
+
/**
|
|
4441
|
+
* AWS Secret
|
|
4442
|
+
*/
|
|
4443
|
+
'secret'?: string;
|
|
4444
|
+
/**
|
|
4445
|
+
* AWS Bucket Name
|
|
4446
|
+
*/
|
|
4447
|
+
'name'?: string;
|
|
4448
|
+
/**
|
|
4449
|
+
* AWS Region
|
|
4450
|
+
*/
|
|
4451
|
+
'region'?: string;
|
|
4452
|
+
}
|
|
4432
4453
|
/**
|
|
4433
4454
|
* Resource Not Ready
|
|
4434
4455
|
*/
|
|
@@ -6477,57 +6498,6 @@ export interface TcxHostingPricingEntity {
|
|
|
6477
6498
|
*/
|
|
6478
6499
|
'highScDiscount'?: number;
|
|
6479
6500
|
}
|
|
6480
|
-
/**
|
|
6481
|
-
* 3CX Installation Details
|
|
6482
|
-
*/
|
|
6483
|
-
export interface TcxInstallationDetailsModel {
|
|
6484
|
-
/**
|
|
6485
|
-
* PBX IP Address
|
|
6486
|
-
*/
|
|
6487
|
-
'ipAddress'?: string | null;
|
|
6488
|
-
/**
|
|
6489
|
-
* Instance ID
|
|
6490
|
-
*/
|
|
6491
|
-
'instanceId'?: string | null;
|
|
6492
|
-
/**
|
|
6493
|
-
* Project ID
|
|
6494
|
-
*/
|
|
6495
|
-
'project'?: string | null;
|
|
6496
|
-
'privateKey'?: GenericFileModel | null;
|
|
6497
|
-
/**
|
|
6498
|
-
* Root Password
|
|
6499
|
-
*/
|
|
6500
|
-
'rootPassword'?: string | null;
|
|
6501
|
-
'ownerExtension'?: TcxUsersEntity | null;
|
|
6502
|
-
/**
|
|
6503
|
-
* Admin Email
|
|
6504
|
-
*/
|
|
6505
|
-
'adminEmail'?: string | null;
|
|
6506
|
-
/**
|
|
6507
|
-
* Console URL
|
|
6508
|
-
*/
|
|
6509
|
-
'url'?: string | null;
|
|
6510
|
-
/**
|
|
6511
|
-
* Admin Username
|
|
6512
|
-
*/
|
|
6513
|
-
'adminUsername'?: string | null;
|
|
6514
|
-
/**
|
|
6515
|
-
* Admin Password
|
|
6516
|
-
*/
|
|
6517
|
-
'adminPassword'?: string | null;
|
|
6518
|
-
/**
|
|
6519
|
-
* Config Backup FTP Host
|
|
6520
|
-
*/
|
|
6521
|
-
'ftpHost'?: string | null;
|
|
6522
|
-
/**
|
|
6523
|
-
* Config Backup FTP Username
|
|
6524
|
-
*/
|
|
6525
|
-
'ftpUsername'?: string | null;
|
|
6526
|
-
/**
|
|
6527
|
-
* Config Backup FTP Password
|
|
6528
|
-
*/
|
|
6529
|
-
'ftpPassword'?: string | null;
|
|
6530
|
-
}
|
|
6531
6501
|
/**
|
|
6532
6502
|
* 3CX Installation
|
|
6533
6503
|
*/
|
|
@@ -12150,17 +12120,15 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
|
|
|
12150
12120
|
* @summary Extend additional disk on 3CX Instance
|
|
12151
12121
|
* @param {string} instanceId Instance ID
|
|
12152
12122
|
* @param {number} gigabytes Disk Space (GB)
|
|
12153
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
12123
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12154
12124
|
* @param {*} [options] Override http request option.
|
|
12155
12125
|
* @throws {RequiredError}
|
|
12156
12126
|
*/
|
|
12157
|
-
postExtendDisk: async (instanceId: string, gigabytes: number, schedule
|
|
12127
|
+
postExtendDisk: async (instanceId: string, gigabytes: number, schedule?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12158
12128
|
// verify required parameter 'instanceId' is not null or undefined
|
|
12159
12129
|
assertParamExists('postExtendDisk', 'instanceId', instanceId)
|
|
12160
12130
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
12161
12131
|
assertParamExists('postExtendDisk', 'gigabytes', gigabytes)
|
|
12162
|
-
// verify required parameter 'schedule' is not null or undefined
|
|
12163
|
-
assertParamExists('postExtendDisk', 'schedule', schedule)
|
|
12164
12132
|
const localVarPath = `/tcx/installations/{instance_id}/disk/extend`
|
|
12165
12133
|
.replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
|
|
12166
12134
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -12335,6 +12303,82 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
|
|
|
12335
12303
|
}
|
|
12336
12304
|
|
|
12337
12305
|
|
|
12306
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12308
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12309
|
+
|
|
12310
|
+
return {
|
|
12311
|
+
url: toPathString(localVarUrlObj),
|
|
12312
|
+
options: localVarRequestOptions,
|
|
12313
|
+
};
|
|
12314
|
+
},
|
|
12315
|
+
/**
|
|
12316
|
+
* Restart 3CX Services
|
|
12317
|
+
* @summary Restart 3CX Services
|
|
12318
|
+
* @param {string} instanceId Instance ID
|
|
12319
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12320
|
+
* @param {*} [options] Override http request option.
|
|
12321
|
+
* @throws {RequiredError}
|
|
12322
|
+
*/
|
|
12323
|
+
postRestartServices: async (instanceId: string, schedule?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12324
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
12325
|
+
assertParamExists('postRestartServices', 'instanceId', instanceId)
|
|
12326
|
+
const localVarPath = `/tcx/installations/{instance_id}/services/restart`
|
|
12327
|
+
.replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
|
|
12328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12329
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12330
|
+
let baseOptions;
|
|
12331
|
+
if (configuration) {
|
|
12332
|
+
baseOptions = configuration.baseOptions;
|
|
12333
|
+
}
|
|
12334
|
+
|
|
12335
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12336
|
+
const localVarHeaderParameter = {} as any;
|
|
12337
|
+
const localVarQueryParameter = {} as any;
|
|
12338
|
+
|
|
12339
|
+
if (schedule !== undefined) {
|
|
12340
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
12341
|
+
}
|
|
12342
|
+
|
|
12343
|
+
|
|
12344
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12346
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12347
|
+
|
|
12348
|
+
return {
|
|
12349
|
+
url: toPathString(localVarUrlObj),
|
|
12350
|
+
options: localVarRequestOptions,
|
|
12351
|
+
};
|
|
12352
|
+
},
|
|
12353
|
+
/**
|
|
12354
|
+
* Reboot Instance
|
|
12355
|
+
* @summary Reboot Instance
|
|
12356
|
+
* @param {string} instanceId Instance ID
|
|
12357
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12358
|
+
* @param {*} [options] Override http request option.
|
|
12359
|
+
* @throws {RequiredError}
|
|
12360
|
+
*/
|
|
12361
|
+
postScheduledReboot: async (instanceId: string, schedule?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12362
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
12363
|
+
assertParamExists('postScheduledReboot', 'instanceId', instanceId)
|
|
12364
|
+
const localVarPath = `/tcx/installations/{instance_id}/reboot/scheduled`
|
|
12365
|
+
.replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
|
|
12366
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12367
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12368
|
+
let baseOptions;
|
|
12369
|
+
if (configuration) {
|
|
12370
|
+
baseOptions = configuration.baseOptions;
|
|
12371
|
+
}
|
|
12372
|
+
|
|
12373
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12374
|
+
const localVarHeaderParameter = {} as any;
|
|
12375
|
+
const localVarQueryParameter = {} as any;
|
|
12376
|
+
|
|
12377
|
+
if (schedule !== undefined) {
|
|
12378
|
+
localVarQueryParameter['schedule'] = schedule;
|
|
12379
|
+
}
|
|
12380
|
+
|
|
12381
|
+
|
|
12338
12382
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12339
12383
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12340
12384
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12373,6 +12417,39 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
|
|
|
12373
12417
|
}
|
|
12374
12418
|
|
|
12375
12419
|
|
|
12420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12422
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12423
|
+
|
|
12424
|
+
return {
|
|
12425
|
+
url: toPathString(localVarUrlObj),
|
|
12426
|
+
options: localVarRequestOptions,
|
|
12427
|
+
};
|
|
12428
|
+
},
|
|
12429
|
+
/**
|
|
12430
|
+
* Test 3CX Login Credentials
|
|
12431
|
+
* @summary Test 3CX Login Credentials
|
|
12432
|
+
* @param {string} instanceId Instance ID
|
|
12433
|
+
* @param {*} [options] Override http request option.
|
|
12434
|
+
* @throws {RequiredError}
|
|
12435
|
+
*/
|
|
12436
|
+
postTestLoginCredentials: async (instanceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12437
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
12438
|
+
assertParamExists('postTestLoginCredentials', 'instanceId', instanceId)
|
|
12439
|
+
const localVarPath = `/tcx/installations/{instance_id}/tests/login`
|
|
12440
|
+
.replace(`{${"instance_id"}}`, encodeURIComponent(String(instanceId)));
|
|
12441
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12442
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12443
|
+
let baseOptions;
|
|
12444
|
+
if (configuration) {
|
|
12445
|
+
baseOptions = configuration.baseOptions;
|
|
12446
|
+
}
|
|
12447
|
+
|
|
12448
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12449
|
+
const localVarHeaderParameter = {} as any;
|
|
12450
|
+
const localVarQueryParameter = {} as any;
|
|
12451
|
+
|
|
12452
|
+
|
|
12376
12453
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12377
12454
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12378
12455
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12471,7 +12548,7 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
|
|
|
12471
12548
|
* @param {*} [options] Override http request option.
|
|
12472
12549
|
* @throws {RequiredError}
|
|
12473
12550
|
*/
|
|
12474
|
-
async getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
12551
|
+
async getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
12475
12552
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetDetails(wizardId, options);
|
|
12476
12553
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12477
12554
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.getGetDetails']?.[localVarOperationServerIndex]?.url;
|
|
@@ -12571,11 +12648,11 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
|
|
|
12571
12648
|
* @summary Extend additional disk on 3CX Instance
|
|
12572
12649
|
* @param {string} instanceId Instance ID
|
|
12573
12650
|
* @param {number} gigabytes Disk Space (GB)
|
|
12574
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
12651
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12575
12652
|
* @param {*} [options] Override http request option.
|
|
12576
12653
|
* @throws {RequiredError}
|
|
12577
12654
|
*/
|
|
12578
|
-
async postExtendDisk(instanceId: string, gigabytes: number, schedule
|
|
12655
|
+
async postExtendDisk(instanceId: string, gigabytes: number, schedule?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
12579
12656
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postExtendDisk(instanceId, gigabytes, schedule, options);
|
|
12580
12657
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12581
12658
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postExtendDisk']?.[localVarOperationServerIndex]?.url;
|
|
@@ -12636,6 +12713,34 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
|
|
|
12636
12713
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postResizeInstance']?.[localVarOperationServerIndex]?.url;
|
|
12637
12714
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12638
12715
|
},
|
|
12716
|
+
/**
|
|
12717
|
+
* Restart 3CX Services
|
|
12718
|
+
* @summary Restart 3CX Services
|
|
12719
|
+
* @param {string} instanceId Instance ID
|
|
12720
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12721
|
+
* @param {*} [options] Override http request option.
|
|
12722
|
+
* @throws {RequiredError}
|
|
12723
|
+
*/
|
|
12724
|
+
async postRestartServices(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
12725
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postRestartServices(instanceId, schedule, options);
|
|
12726
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12727
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postRestartServices']?.[localVarOperationServerIndex]?.url;
|
|
12728
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12729
|
+
},
|
|
12730
|
+
/**
|
|
12731
|
+
* Reboot Instance
|
|
12732
|
+
* @summary Reboot Instance
|
|
12733
|
+
* @param {string} instanceId Instance ID
|
|
12734
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12735
|
+
* @param {*} [options] Override http request option.
|
|
12736
|
+
* @throws {RequiredError}
|
|
12737
|
+
*/
|
|
12738
|
+
async postScheduledReboot(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
12739
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postScheduledReboot(instanceId, schedule, options);
|
|
12740
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12741
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postScheduledReboot']?.[localVarOperationServerIndex]?.url;
|
|
12742
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12743
|
+
},
|
|
12639
12744
|
/**
|
|
12640
12745
|
* Suspend 3CX Instance
|
|
12641
12746
|
* @summary Suspend 3CX Instance
|
|
@@ -12650,6 +12755,19 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
|
|
|
12650
12755
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postSuspendInstance']?.[localVarOperationServerIndex]?.url;
|
|
12651
12756
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12652
12757
|
},
|
|
12758
|
+
/**
|
|
12759
|
+
* Test 3CX Login Credentials
|
|
12760
|
+
* @summary Test 3CX Login Credentials
|
|
12761
|
+
* @param {string} instanceId Instance ID
|
|
12762
|
+
* @param {*} [options] Override http request option.
|
|
12763
|
+
* @throws {RequiredError}
|
|
12764
|
+
*/
|
|
12765
|
+
async postTestLoginCredentials(instanceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
12766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postTestLoginCredentials(instanceId, options);
|
|
12767
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12768
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.postTestLoginCredentials']?.[localVarOperationServerIndex]?.url;
|
|
12769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12770
|
+
},
|
|
12653
12771
|
/**
|
|
12654
12772
|
* Unsuspend 3CX Instance
|
|
12655
12773
|
* @summary Unsuspend 3CX Instance
|
|
@@ -12693,7 +12811,7 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
|
|
|
12693
12811
|
* @param {*} [options] Override http request option.
|
|
12694
12812
|
* @throws {RequiredError}
|
|
12695
12813
|
*/
|
|
12696
|
-
getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12814
|
+
getGetDetails(wizardId: number, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
12697
12815
|
return localVarFp.getGetDetails(wizardId, options).then((request) => request(axios, basePath));
|
|
12698
12816
|
},
|
|
12699
12817
|
/**
|
|
@@ -12772,11 +12890,11 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
|
|
|
12772
12890
|
* @summary Extend additional disk on 3CX Instance
|
|
12773
12891
|
* @param {string} instanceId Instance ID
|
|
12774
12892
|
* @param {number} gigabytes Disk Space (GB)
|
|
12775
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
12893
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12776
12894
|
* @param {*} [options] Override http request option.
|
|
12777
12895
|
* @throws {RequiredError}
|
|
12778
12896
|
*/
|
|
12779
|
-
postExtendDisk(instanceId: string, gigabytes: number, schedule
|
|
12897
|
+
postExtendDisk(instanceId: string, gigabytes: number, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
12780
12898
|
return localVarFp.postExtendDisk(instanceId, gigabytes, schedule, options).then((request) => request(axios, basePath));
|
|
12781
12899
|
},
|
|
12782
12900
|
/**
|
|
@@ -12822,6 +12940,28 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
|
|
|
12822
12940
|
postResizeInstance(instanceId: string, size: PostResizeInstanceSizeEnum, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
12823
12941
|
return localVarFp.postResizeInstance(instanceId, size, schedule, options).then((request) => request(axios, basePath));
|
|
12824
12942
|
},
|
|
12943
|
+
/**
|
|
12944
|
+
* Restart 3CX Services
|
|
12945
|
+
* @summary Restart 3CX Services
|
|
12946
|
+
* @param {string} instanceId Instance ID
|
|
12947
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12948
|
+
* @param {*} [options] Override http request option.
|
|
12949
|
+
* @throws {RequiredError}
|
|
12950
|
+
*/
|
|
12951
|
+
postRestartServices(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
12952
|
+
return localVarFp.postRestartServices(instanceId, schedule, options).then((request) => request(axios, basePath));
|
|
12953
|
+
},
|
|
12954
|
+
/**
|
|
12955
|
+
* Reboot Instance
|
|
12956
|
+
* @summary Reboot Instance
|
|
12957
|
+
* @param {string} instanceId Instance ID
|
|
12958
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12959
|
+
* @param {*} [options] Override http request option.
|
|
12960
|
+
* @throws {RequiredError}
|
|
12961
|
+
*/
|
|
12962
|
+
postScheduledReboot(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
12963
|
+
return localVarFp.postScheduledReboot(instanceId, schedule, options).then((request) => request(axios, basePath));
|
|
12964
|
+
},
|
|
12825
12965
|
/**
|
|
12826
12966
|
* Suspend 3CX Instance
|
|
12827
12967
|
* @summary Suspend 3CX Instance
|
|
@@ -12833,6 +12973,16 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
|
|
|
12833
12973
|
postSuspendInstance(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
12834
12974
|
return localVarFp.postSuspendInstance(instanceId, schedule, options).then((request) => request(axios, basePath));
|
|
12835
12975
|
},
|
|
12976
|
+
/**
|
|
12977
|
+
* Test 3CX Login Credentials
|
|
12978
|
+
* @summary Test 3CX Login Credentials
|
|
12979
|
+
* @param {string} instanceId Instance ID
|
|
12980
|
+
* @param {*} [options] Override http request option.
|
|
12981
|
+
* @throws {RequiredError}
|
|
12982
|
+
*/
|
|
12983
|
+
postTestLoginCredentials(instanceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
12984
|
+
return localVarFp.postTestLoginCredentials(instanceId, options).then((request) => request(axios, basePath));
|
|
12985
|
+
},
|
|
12836
12986
|
/**
|
|
12837
12987
|
* Unsuspend 3CX Instance
|
|
12838
12988
|
* @summary Unsuspend 3CX Instance
|
|
@@ -12954,11 +13104,11 @@ export class Class3CXInstallationsApi extends BaseAPI {
|
|
|
12954
13104
|
* @summary Extend additional disk on 3CX Instance
|
|
12955
13105
|
* @param {string} instanceId Instance ID
|
|
12956
13106
|
* @param {number} gigabytes Disk Space (GB)
|
|
12957
|
-
* @param {string} schedule Scheduled Task (Date & Time)
|
|
13107
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
12958
13108
|
* @param {*} [options] Override http request option.
|
|
12959
13109
|
* @throws {RequiredError}
|
|
12960
13110
|
*/
|
|
12961
|
-
public postExtendDisk(instanceId: string, gigabytes: number, schedule
|
|
13111
|
+
public postExtendDisk(instanceId: string, gigabytes: number, schedule?: string, options?: RawAxiosRequestConfig) {
|
|
12962
13112
|
return Class3CXInstallationsApiFp(this.configuration).postExtendDisk(instanceId, gigabytes, schedule, options).then((request) => request(this.axios, this.basePath));
|
|
12963
13113
|
}
|
|
12964
13114
|
|
|
@@ -13009,6 +13159,30 @@ export class Class3CXInstallationsApi extends BaseAPI {
|
|
|
13009
13159
|
return Class3CXInstallationsApiFp(this.configuration).postResizeInstance(instanceId, size, schedule, options).then((request) => request(this.axios, this.basePath));
|
|
13010
13160
|
}
|
|
13011
13161
|
|
|
13162
|
+
/**
|
|
13163
|
+
* Restart 3CX Services
|
|
13164
|
+
* @summary Restart 3CX Services
|
|
13165
|
+
* @param {string} instanceId Instance ID
|
|
13166
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
13167
|
+
* @param {*} [options] Override http request option.
|
|
13168
|
+
* @throws {RequiredError}
|
|
13169
|
+
*/
|
|
13170
|
+
public postRestartServices(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig) {
|
|
13171
|
+
return Class3CXInstallationsApiFp(this.configuration).postRestartServices(instanceId, schedule, options).then((request) => request(this.axios, this.basePath));
|
|
13172
|
+
}
|
|
13173
|
+
|
|
13174
|
+
/**
|
|
13175
|
+
* Reboot Instance
|
|
13176
|
+
* @summary Reboot Instance
|
|
13177
|
+
* @param {string} instanceId Instance ID
|
|
13178
|
+
* @param {string} [schedule] Scheduled Task (Date & Time)
|
|
13179
|
+
* @param {*} [options] Override http request option.
|
|
13180
|
+
* @throws {RequiredError}
|
|
13181
|
+
*/
|
|
13182
|
+
public postScheduledReboot(instanceId: string, schedule?: string, options?: RawAxiosRequestConfig) {
|
|
13183
|
+
return Class3CXInstallationsApiFp(this.configuration).postScheduledReboot(instanceId, schedule, options).then((request) => request(this.axios, this.basePath));
|
|
13184
|
+
}
|
|
13185
|
+
|
|
13012
13186
|
/**
|
|
13013
13187
|
* Suspend 3CX Instance
|
|
13014
13188
|
* @summary Suspend 3CX Instance
|
|
@@ -13021,6 +13195,17 @@ export class Class3CXInstallationsApi extends BaseAPI {
|
|
|
13021
13195
|
return Class3CXInstallationsApiFp(this.configuration).postSuspendInstance(instanceId, schedule, options).then((request) => request(this.axios, this.basePath));
|
|
13022
13196
|
}
|
|
13023
13197
|
|
|
13198
|
+
/**
|
|
13199
|
+
* Test 3CX Login Credentials
|
|
13200
|
+
* @summary Test 3CX Login Credentials
|
|
13201
|
+
* @param {string} instanceId Instance ID
|
|
13202
|
+
* @param {*} [options] Override http request option.
|
|
13203
|
+
* @throws {RequiredError}
|
|
13204
|
+
*/
|
|
13205
|
+
public postTestLoginCredentials(instanceId: string, options?: RawAxiosRequestConfig) {
|
|
13206
|
+
return Class3CXInstallationsApiFp(this.configuration).postTestLoginCredentials(instanceId, options).then((request) => request(this.axios, this.basePath));
|
|
13207
|
+
}
|
|
13208
|
+
|
|
13024
13209
|
/**
|
|
13025
13210
|
* Unsuspend 3CX Instance
|
|
13026
13211
|
* @summary Unsuspend 3CX Instance
|