yellowgrid-api-ts 3.0.95 → 3.0.97
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 +6 -0
- package/README.md +7 -0
- package/api.ts +325 -1
- package/dist/api.d.ts +242 -1
- package/dist/api.js +215 -3
- package/docs/Class3CXInstallationWizardApi.md +48 -0
- package/docs/Class3CXInstancesApi.md +55 -0
- package/docs/HostingRegionDTO.md +25 -0
- package/docs/RecordingBackupAzureModel.md +27 -0
- package/docs/RecordingsBackupInfoDTO.md +23 -0
- package/docs/S3BucketEntity.md +27 -0
- package/docs/TcxRemoteStorageModel.md +27 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -27,6 +27,7 @@ docs/CallBarringModel.md
|
|
|
27
27
|
docs/Class3CXApi.md
|
|
28
28
|
docs/Class3CXInstallationWizardApi.md
|
|
29
29
|
docs/Class3CXInstallationsApi.md
|
|
30
|
+
docs/Class3CXInstancesApi.md
|
|
30
31
|
docs/Class3CXIntegrationsApi.md
|
|
31
32
|
docs/Class3CXMultiTenantApi.md
|
|
32
33
|
docs/ClientDetailsModel.md
|
|
@@ -55,6 +56,7 @@ docs/GetGetPasswordHash200Response.md
|
|
|
55
56
|
docs/GetGetPrice200Response.md
|
|
56
57
|
docs/GetGetRecording200Response.md
|
|
57
58
|
docs/HostingChangeResponseModel.md
|
|
59
|
+
docs/HostingRegionDTO.md
|
|
58
60
|
docs/InstanceAutoFailoverEntity.md
|
|
59
61
|
docs/InstanceDeletionScheduleEntity.md
|
|
60
62
|
docs/InstanceEntity.md
|
|
@@ -98,8 +100,11 @@ docs/PromoItemsEntity.md
|
|
|
98
100
|
docs/ProvisioningApi.md
|
|
99
101
|
docs/ProvisioningEntity.md
|
|
100
102
|
docs/ProvisioningRequestEntity.md
|
|
103
|
+
docs/RecordingBackupAzureModel.md
|
|
104
|
+
docs/RecordingsBackupInfoDTO.md
|
|
101
105
|
docs/ResourceNotReadyException.md
|
|
102
106
|
docs/RootAccessModel.md
|
|
107
|
+
docs/S3BucketEntity.md
|
|
103
108
|
docs/SIPTrunksApi.md
|
|
104
109
|
docs/SMSApi.md
|
|
105
110
|
docs/ScannedItemModel.md
|
|
@@ -164,6 +169,7 @@ docs/TcxNumbersEntity.md
|
|
|
164
169
|
docs/TcxOfficeHoursEntity.md
|
|
165
170
|
docs/TcxPhoneModel.md
|
|
166
171
|
docs/TcxPhonesEntity.md
|
|
172
|
+
docs/TcxRemoteStorageModel.md
|
|
167
173
|
docs/TcxSbcEntity.md
|
|
168
174
|
docs/TcxSbcModel.md
|
|
169
175
|
docs/TcxSetupEntity.md
|
package/README.md
CHANGED
|
@@ -80,6 +80,7 @@ Class | Method | HTTP request | Description
|
|
|
80
80
|
*Class3CXInstallationWizardApi* | [**getGetAreaCodesTcxWizard**](docs/Class3CXInstallationWizardApi.md#getgetareacodestcxwizard) | **GET** /tcx/wizards/sip/trunks/area/codes | Get UK National Area Codes
|
|
81
81
|
*Class3CXInstallationWizardApi* | [**getGetDdisTcxWizard**](docs/Class3CXInstallationWizardApi.md#getgetddistcxwizard) | **GET** /tcx/wizards/sip/trunks/{id}/ddis | Get SIP Trunk DDIs
|
|
82
82
|
*Class3CXInstallationWizardApi* | [**getGetHostingPrice**](docs/Class3CXInstallationWizardApi.md#getgethostingprice) | **GET** /tcx/wizards/price | Get Hosting Price
|
|
83
|
+
*Class3CXInstallationWizardApi* | [**getGetHostingRegions**](docs/Class3CXInstallationWizardApi.md#getgethostingregions) | **GET** /tcx/wizards/regions | Get 3CX Hosting Regions
|
|
83
84
|
*Class3CXInstallationWizardApi* | [**getGetInstallStatus**](docs/Class3CXInstallationWizardApi.md#getgetinstallstatus) | **GET** /tcx/wizard/build/status | Get 3CX Instance Install Status
|
|
84
85
|
*Class3CXInstallationWizardApi* | [**getGetInstanceInstallStatus**](docs/Class3CXInstallationWizardApi.md#getgetinstanceinstallstatus) | **GET** /tcx/wizards/instances/build/status | Get 3CX Instance Install Status
|
|
85
86
|
*Class3CXInstallationWizardApi* | [**getGetPbxIpAddress**](docs/Class3CXInstallationWizardApi.md#getgetpbxipaddress) | **GET** /tcx/wizards/instances/ip | Get PBX IP Address
|
|
@@ -114,6 +115,7 @@ Class | Method | HTTP request | Description
|
|
|
114
115
|
*Class3CXInstallationsApi* | [**postSuspendInstance**](docs/Class3CXInstallationsApi.md#postsuspendinstance) | **POST** /tcx/installations/{instance_id}/suspend | Suspend 3CX Instance
|
|
115
116
|
*Class3CXInstallationsApi* | [**postUnsuspendInstance**](docs/Class3CXInstallationsApi.md#postunsuspendinstance) | **POST** /tcx/installations/{instance_id}/unsuspend | Unsuspend 3CX Instance
|
|
116
117
|
*Class3CXInstallationsApi* | [**postUpgradeDebian**](docs/Class3CXInstallationsApi.md#postupgradedebian) | **POST** /tcx/installations/{instance_id}/debian/upgrade | Install OS update on 3CX Instance
|
|
118
|
+
*Class3CXInstancesApi* | [**getGetRecordingsBackupInfo**](docs/Class3CXInstancesApi.md#getgetrecordingsbackupinfo) | **GET** /tcx/instances/me/backup/info |
|
|
117
119
|
*Class3CXIntegrationsApi* | [**getGetPrice**](docs/Class3CXIntegrationsApi.md#getgetprice) | **GET** /tcx/integrations/edtechpro/prices |
|
|
118
120
|
*Class3CXIntegrationsApi* | [**getGetSchools**](docs/Class3CXIntegrationsApi.md#getgetschools) | **GET** /tcx/integrations/edtechpro/schools |
|
|
119
121
|
*Class3CXIntegrationsApi* | [**getGetTrusts**](docs/Class3CXIntegrationsApi.md#getgettrusts) | **GET** /tcx/integrations/edtechpro/trusts |
|
|
@@ -253,6 +255,7 @@ Class | Method | HTTP request | Description
|
|
|
253
255
|
- [GetGetPrice200Response](docs/GetGetPrice200Response.md)
|
|
254
256
|
- [GetGetRecording200Response](docs/GetGetRecording200Response.md)
|
|
255
257
|
- [HostingChangeResponseModel](docs/HostingChangeResponseModel.md)
|
|
258
|
+
- [HostingRegionDTO](docs/HostingRegionDTO.md)
|
|
256
259
|
- [InstanceAutoFailoverEntity](docs/InstanceAutoFailoverEntity.md)
|
|
257
260
|
- [InstanceDeletionScheduleEntity](docs/InstanceDeletionScheduleEntity.md)
|
|
258
261
|
- [InstanceEntity](docs/InstanceEntity.md)
|
|
@@ -290,8 +293,11 @@ Class | Method | HTTP request | Description
|
|
|
290
293
|
- [PromoItemsEntity](docs/PromoItemsEntity.md)
|
|
291
294
|
- [ProvisioningEntity](docs/ProvisioningEntity.md)
|
|
292
295
|
- [ProvisioningRequestEntity](docs/ProvisioningRequestEntity.md)
|
|
296
|
+
- [RecordingBackupAzureModel](docs/RecordingBackupAzureModel.md)
|
|
297
|
+
- [RecordingsBackupInfoDTO](docs/RecordingsBackupInfoDTO.md)
|
|
293
298
|
- [ResourceNotReadyException](docs/ResourceNotReadyException.md)
|
|
294
299
|
- [RootAccessModel](docs/RootAccessModel.md)
|
|
300
|
+
- [S3BucketEntity](docs/S3BucketEntity.md)
|
|
295
301
|
- [ScannedItemModel](docs/ScannedItemModel.md)
|
|
296
302
|
- [ScopeModel](docs/ScopeModel.md)
|
|
297
303
|
- [ShipmentAddressEntity](docs/ShipmentAddressEntity.md)
|
|
@@ -352,6 +358,7 @@ Class | Method | HTTP request | Description
|
|
|
352
358
|
- [TcxOfficeHoursEntity](docs/TcxOfficeHoursEntity.md)
|
|
353
359
|
- [TcxPhoneModel](docs/TcxPhoneModel.md)
|
|
354
360
|
- [TcxPhonesEntity](docs/TcxPhonesEntity.md)
|
|
361
|
+
- [TcxRemoteStorageModel](docs/TcxRemoteStorageModel.md)
|
|
355
362
|
- [TcxSbcEntity](docs/TcxSbcEntity.md)
|
|
356
363
|
- [TcxSbcModel](docs/TcxSbcModel.md)
|
|
357
364
|
- [TcxSetupEntity](docs/TcxSetupEntity.md)
|
package/api.ts
CHANGED
|
@@ -1900,6 +1900,46 @@ export const HostingChangeResponseModelTypeEnum = {
|
|
|
1900
1900
|
|
|
1901
1901
|
export type HostingChangeResponseModelTypeEnum = typeof HostingChangeResponseModelTypeEnum[keyof typeof HostingChangeResponseModelTypeEnum];
|
|
1902
1902
|
|
|
1903
|
+
/**
|
|
1904
|
+
* Hosting Region
|
|
1905
|
+
* @export
|
|
1906
|
+
* @interface HostingRegionDTO
|
|
1907
|
+
*/
|
|
1908
|
+
export interface HostingRegionDTO {
|
|
1909
|
+
/**
|
|
1910
|
+
* Code
|
|
1911
|
+
* @type {string}
|
|
1912
|
+
* @memberof HostingRegionDTO
|
|
1913
|
+
*/
|
|
1914
|
+
'code'?: HostingRegionDTOCodeEnum;
|
|
1915
|
+
/**
|
|
1916
|
+
* Country
|
|
1917
|
+
* @type {string}
|
|
1918
|
+
* @memberof HostingRegionDTO
|
|
1919
|
+
*/
|
|
1920
|
+
'country'?: string;
|
|
1921
|
+
/**
|
|
1922
|
+
* Continent
|
|
1923
|
+
* @type {string}
|
|
1924
|
+
* @memberof HostingRegionDTO
|
|
1925
|
+
*/
|
|
1926
|
+
'continent'?: string;
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
export const HostingRegionDTOCodeEnum = {
|
|
1930
|
+
Uk1: 'UK1',
|
|
1931
|
+
Waw1: 'WAW1',
|
|
1932
|
+
Bhs5: 'BHS5',
|
|
1933
|
+
De1: 'DE1',
|
|
1934
|
+
Gra7: 'GRA7',
|
|
1935
|
+
Syd1: 'SYD1',
|
|
1936
|
+
Sgp1: 'SGP1',
|
|
1937
|
+
UsEastVa1: 'US-EAST-VA-1',
|
|
1938
|
+
UsWestOr1: 'US-WEST-OR-1'
|
|
1939
|
+
} as const;
|
|
1940
|
+
|
|
1941
|
+
export type HostingRegionDTOCodeEnum = typeof HostingRegionDTOCodeEnum[keyof typeof HostingRegionDTOCodeEnum];
|
|
1942
|
+
|
|
1903
1943
|
/**
|
|
1904
1944
|
* InstanceFailoverIpsEntity
|
|
1905
1945
|
* @export
|
|
@@ -4102,6 +4142,56 @@ export interface ProvisioningRequestEntity {
|
|
|
4102
4142
|
*/
|
|
4103
4143
|
'auth'?: string;
|
|
4104
4144
|
}
|
|
4145
|
+
/**
|
|
4146
|
+
* Azure Recordings Backup
|
|
4147
|
+
* @export
|
|
4148
|
+
* @interface RecordingBackupAzureModel
|
|
4149
|
+
*/
|
|
4150
|
+
export interface RecordingBackupAzureModel {
|
|
4151
|
+
/**
|
|
4152
|
+
* Storage Account Name
|
|
4153
|
+
* @type {string}
|
|
4154
|
+
* @memberof RecordingBackupAzureModel
|
|
4155
|
+
*/
|
|
4156
|
+
'name'?: string;
|
|
4157
|
+
/**
|
|
4158
|
+
* Storage Account Key
|
|
4159
|
+
* @type {string}
|
|
4160
|
+
* @memberof RecordingBackupAzureModel
|
|
4161
|
+
*/
|
|
4162
|
+
'key'?: string;
|
|
4163
|
+
/**
|
|
4164
|
+
* Storage Account Connection String
|
|
4165
|
+
* @type {string}
|
|
4166
|
+
* @memberof RecordingBackupAzureModel
|
|
4167
|
+
*/
|
|
4168
|
+
'connection_string'?: string;
|
|
4169
|
+
/**
|
|
4170
|
+
* Recordings Path
|
|
4171
|
+
* @type {string}
|
|
4172
|
+
* @memberof RecordingBackupAzureModel
|
|
4173
|
+
*/
|
|
4174
|
+
'recordings_path'?: string | null;
|
|
4175
|
+
}
|
|
4176
|
+
/**
|
|
4177
|
+
* Recordings Backup Info
|
|
4178
|
+
* @export
|
|
4179
|
+
* @interface RecordingsBackupInfoDTO
|
|
4180
|
+
*/
|
|
4181
|
+
export interface RecordingsBackupInfoDTO {
|
|
4182
|
+
/**
|
|
4183
|
+
*
|
|
4184
|
+
* @type {RecordingBackupAzureModel}
|
|
4185
|
+
* @memberof RecordingsBackupInfoDTO
|
|
4186
|
+
*/
|
|
4187
|
+
'backup'?: RecordingBackupAzureModel | null;
|
|
4188
|
+
/**
|
|
4189
|
+
*
|
|
4190
|
+
* @type {TcxRemoteStorageModel}
|
|
4191
|
+
* @memberof RecordingsBackupInfoDTO
|
|
4192
|
+
*/
|
|
4193
|
+
'storage'?: TcxRemoteStorageModel | null;
|
|
4194
|
+
}
|
|
4105
4195
|
/**
|
|
4106
4196
|
* Resource Not Ready
|
|
4107
4197
|
* @export
|
|
@@ -4152,6 +4242,37 @@ export interface RootAccessModel {
|
|
|
4152
4242
|
*/
|
|
4153
4243
|
'expiryDate'?: string;
|
|
4154
4244
|
}
|
|
4245
|
+
/**
|
|
4246
|
+
* S3 Bucket
|
|
4247
|
+
* @export
|
|
4248
|
+
* @interface S3BucketEntity
|
|
4249
|
+
*/
|
|
4250
|
+
export interface S3BucketEntity {
|
|
4251
|
+
/**
|
|
4252
|
+
* name
|
|
4253
|
+
* @type {string}
|
|
4254
|
+
* @memberof S3BucketEntity
|
|
4255
|
+
*/
|
|
4256
|
+
'name'?: string;
|
|
4257
|
+
/**
|
|
4258
|
+
* region
|
|
4259
|
+
* @type {string}
|
|
4260
|
+
* @memberof S3BucketEntity
|
|
4261
|
+
*/
|
|
4262
|
+
'region'?: string;
|
|
4263
|
+
/**
|
|
4264
|
+
* accessKeyId
|
|
4265
|
+
* @type {string}
|
|
4266
|
+
* @memberof S3BucketEntity
|
|
4267
|
+
*/
|
|
4268
|
+
'accessKeyId'?: string;
|
|
4269
|
+
/**
|
|
4270
|
+
* secretAccessKey
|
|
4271
|
+
* @type {string}
|
|
4272
|
+
* @memberof S3BucketEntity
|
|
4273
|
+
*/
|
|
4274
|
+
'secretAccessKey'?: string;
|
|
4275
|
+
}
|
|
4155
4276
|
/**
|
|
4156
4277
|
* Item MAC & Serial Details
|
|
4157
4278
|
* @export
|
|
@@ -7205,6 +7326,37 @@ export interface TcxPhonesEntity {
|
|
|
7205
7326
|
*/
|
|
7206
7327
|
'sbcId'?: string;
|
|
7207
7328
|
}
|
|
7329
|
+
/**
|
|
7330
|
+
* 3CX Remote Storage
|
|
7331
|
+
* @export
|
|
7332
|
+
* @interface TcxRemoteStorageModel
|
|
7333
|
+
*/
|
|
7334
|
+
export interface TcxRemoteStorageModel {
|
|
7335
|
+
/**
|
|
7336
|
+
* name
|
|
7337
|
+
* @type {string}
|
|
7338
|
+
* @memberof TcxRemoteStorageModel
|
|
7339
|
+
*/
|
|
7340
|
+
'name'?: string;
|
|
7341
|
+
/**
|
|
7342
|
+
* region
|
|
7343
|
+
* @type {string}
|
|
7344
|
+
* @memberof TcxRemoteStorageModel
|
|
7345
|
+
*/
|
|
7346
|
+
'region'?: string;
|
|
7347
|
+
/**
|
|
7348
|
+
* accessKeyId
|
|
7349
|
+
* @type {string}
|
|
7350
|
+
* @memberof TcxRemoteStorageModel
|
|
7351
|
+
*/
|
|
7352
|
+
'accessKeyId'?: string;
|
|
7353
|
+
/**
|
|
7354
|
+
* secretAccessKey
|
|
7355
|
+
* @type {string}
|
|
7356
|
+
* @memberof TcxRemoteStorageModel
|
|
7357
|
+
*/
|
|
7358
|
+
'secretAccessKey'?: string;
|
|
7359
|
+
}
|
|
7208
7360
|
/**
|
|
7209
7361
|
* 3CX Wizard SBC
|
|
7210
7362
|
* @export
|
|
@@ -7560,7 +7712,7 @@ export interface TcxSetupEntity {
|
|
|
7560
7712
|
* @type {string}
|
|
7561
7713
|
* @memberof TcxSetupEntity
|
|
7562
7714
|
*/
|
|
7563
|
-
'region'?:
|
|
7715
|
+
'region'?: TcxSetupEntityRegionEnum;
|
|
7564
7716
|
/**
|
|
7565
7717
|
* Status
|
|
7566
7718
|
* @type {number}
|
|
@@ -7583,6 +7735,19 @@ export const TcxSetupEntityInstallTypeEnum = {
|
|
|
7583
7735
|
} as const;
|
|
7584
7736
|
|
|
7585
7737
|
export type TcxSetupEntityInstallTypeEnum = typeof TcxSetupEntityInstallTypeEnum[keyof typeof TcxSetupEntityInstallTypeEnum];
|
|
7738
|
+
export const TcxSetupEntityRegionEnum = {
|
|
7739
|
+
Uk1: 'UK1',
|
|
7740
|
+
Waw1: 'WAW1',
|
|
7741
|
+
Bhs5: 'BHS5',
|
|
7742
|
+
De1: 'DE1',
|
|
7743
|
+
Gra7: 'GRA7',
|
|
7744
|
+
Syd1: 'SYD1',
|
|
7745
|
+
Sgp1: 'SGP1',
|
|
7746
|
+
UsEastVa1: 'US-EAST-VA-1',
|
|
7747
|
+
UsWestOr1: 'US-WEST-OR-1'
|
|
7748
|
+
} as const;
|
|
7749
|
+
|
|
7750
|
+
export type TcxSetupEntityRegionEnum = typeof TcxSetupEntityRegionEnum[keyof typeof TcxSetupEntityRegionEnum];
|
|
7586
7751
|
|
|
7587
7752
|
/**
|
|
7588
7753
|
* 3CX Setups
|
|
@@ -10143,6 +10308,36 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
|
|
|
10143
10308
|
|
|
10144
10309
|
|
|
10145
10310
|
|
|
10311
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10312
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10313
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10314
|
+
|
|
10315
|
+
return {
|
|
10316
|
+
url: toPathString(localVarUrlObj),
|
|
10317
|
+
options: localVarRequestOptions,
|
|
10318
|
+
};
|
|
10319
|
+
},
|
|
10320
|
+
/**
|
|
10321
|
+
* Get 3CX Hosting Regions
|
|
10322
|
+
* @summary Get 3CX Hosting Regions
|
|
10323
|
+
* @param {*} [options] Override http request option.
|
|
10324
|
+
* @throws {RequiredError}
|
|
10325
|
+
*/
|
|
10326
|
+
getGetHostingRegions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10327
|
+
const localVarPath = `/tcx/wizards/regions`;
|
|
10328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10329
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10330
|
+
let baseOptions;
|
|
10331
|
+
if (configuration) {
|
|
10332
|
+
baseOptions = configuration.baseOptions;
|
|
10333
|
+
}
|
|
10334
|
+
|
|
10335
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10336
|
+
const localVarHeaderParameter = {} as any;
|
|
10337
|
+
const localVarQueryParameter = {} as any;
|
|
10338
|
+
|
|
10339
|
+
|
|
10340
|
+
|
|
10146
10341
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10147
10342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10148
10343
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11129,6 +11324,18 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
|
|
|
11129
11324
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.getGetHostingPrice']?.[localVarOperationServerIndex]?.url;
|
|
11130
11325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11131
11326
|
},
|
|
11327
|
+
/**
|
|
11328
|
+
* Get 3CX Hosting Regions
|
|
11329
|
+
* @summary Get 3CX Hosting Regions
|
|
11330
|
+
* @param {*} [options] Override http request option.
|
|
11331
|
+
* @throws {RequiredError}
|
|
11332
|
+
*/
|
|
11333
|
+
async getGetHostingRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingRegionDTO>>> {
|
|
11334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetHostingRegions(options);
|
|
11335
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11336
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.getGetHostingRegions']?.[localVarOperationServerIndex]?.url;
|
|
11337
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11338
|
+
},
|
|
11132
11339
|
/**
|
|
11133
11340
|
* Get 3CX Instance Install Status
|
|
11134
11341
|
* @summary Get 3CX Instance Install Status
|
|
@@ -11533,6 +11740,15 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
|
|
|
11533
11740
|
getGetHostingPrice(options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
11534
11741
|
return localVarFp.getGetHostingPrice(options).then((request) => request(axios, basePath));
|
|
11535
11742
|
},
|
|
11743
|
+
/**
|
|
11744
|
+
* Get 3CX Hosting Regions
|
|
11745
|
+
* @summary Get 3CX Hosting Regions
|
|
11746
|
+
* @param {*} [options] Override http request option.
|
|
11747
|
+
* @throws {RequiredError}
|
|
11748
|
+
*/
|
|
11749
|
+
getGetHostingRegions(options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingRegionDTO>> {
|
|
11750
|
+
return localVarFp.getGetHostingRegions(options).then((request) => request(axios, basePath));
|
|
11751
|
+
},
|
|
11536
11752
|
/**
|
|
11537
11753
|
* Get 3CX Instance Install Status
|
|
11538
11754
|
* @summary Get 3CX Instance Install Status
|
|
@@ -11886,6 +12102,17 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
|
|
|
11886
12102
|
return Class3CXInstallationWizardApiFp(this.configuration).getGetHostingPrice(options).then((request) => request(this.axios, this.basePath));
|
|
11887
12103
|
}
|
|
11888
12104
|
|
|
12105
|
+
/**
|
|
12106
|
+
* Get 3CX Hosting Regions
|
|
12107
|
+
* @summary Get 3CX Hosting Regions
|
|
12108
|
+
* @param {*} [options] Override http request option.
|
|
12109
|
+
* @throws {RequiredError}
|
|
12110
|
+
* @memberof Class3CXInstallationWizardApi
|
|
12111
|
+
*/
|
|
12112
|
+
public getGetHostingRegions(options?: RawAxiosRequestConfig) {
|
|
12113
|
+
return Class3CXInstallationWizardApiFp(this.configuration).getGetHostingRegions(options).then((request) => request(this.axios, this.basePath));
|
|
12114
|
+
}
|
|
12115
|
+
|
|
11889
12116
|
/**
|
|
11890
12117
|
* Get 3CX Instance Install Status
|
|
11891
12118
|
* @summary Get 3CX Instance Install Status
|
|
@@ -13136,6 +13363,103 @@ export const PostResizeInstanceSizeEnum = {
|
|
|
13136
13363
|
export type PostResizeInstanceSizeEnum = typeof PostResizeInstanceSizeEnum[keyof typeof PostResizeInstanceSizeEnum];
|
|
13137
13364
|
|
|
13138
13365
|
|
|
13366
|
+
/**
|
|
13367
|
+
* Class3CXInstancesApi - axios parameter creator
|
|
13368
|
+
* @export
|
|
13369
|
+
*/
|
|
13370
|
+
export const Class3CXInstancesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13371
|
+
return {
|
|
13372
|
+
/**
|
|
13373
|
+
* Get Recordings Backup Info
|
|
13374
|
+
* @param {*} [options] Override http request option.
|
|
13375
|
+
* @throws {RequiredError}
|
|
13376
|
+
*/
|
|
13377
|
+
getGetRecordingsBackupInfo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13378
|
+
const localVarPath = `/tcx/instances/me/backup/info`;
|
|
13379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13380
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13381
|
+
let baseOptions;
|
|
13382
|
+
if (configuration) {
|
|
13383
|
+
baseOptions = configuration.baseOptions;
|
|
13384
|
+
}
|
|
13385
|
+
|
|
13386
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13387
|
+
const localVarHeaderParameter = {} as any;
|
|
13388
|
+
const localVarQueryParameter = {} as any;
|
|
13389
|
+
|
|
13390
|
+
|
|
13391
|
+
|
|
13392
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13393
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13394
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13395
|
+
|
|
13396
|
+
return {
|
|
13397
|
+
url: toPathString(localVarUrlObj),
|
|
13398
|
+
options: localVarRequestOptions,
|
|
13399
|
+
};
|
|
13400
|
+
},
|
|
13401
|
+
}
|
|
13402
|
+
};
|
|
13403
|
+
|
|
13404
|
+
/**
|
|
13405
|
+
* Class3CXInstancesApi - functional programming interface
|
|
13406
|
+
* @export
|
|
13407
|
+
*/
|
|
13408
|
+
export const Class3CXInstancesApiFp = function(configuration?: Configuration) {
|
|
13409
|
+
const localVarAxiosParamCreator = Class3CXInstancesApiAxiosParamCreator(configuration)
|
|
13410
|
+
return {
|
|
13411
|
+
/**
|
|
13412
|
+
* Get Recordings Backup Info
|
|
13413
|
+
* @param {*} [options] Override http request option.
|
|
13414
|
+
* @throws {RequiredError}
|
|
13415
|
+
*/
|
|
13416
|
+
async getGetRecordingsBackupInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordingsBackupInfoDTO>> {
|
|
13417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetRecordingsBackupInfo(options);
|
|
13418
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13419
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXInstancesApi.getGetRecordingsBackupInfo']?.[localVarOperationServerIndex]?.url;
|
|
13420
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13421
|
+
},
|
|
13422
|
+
}
|
|
13423
|
+
};
|
|
13424
|
+
|
|
13425
|
+
/**
|
|
13426
|
+
* Class3CXInstancesApi - factory interface
|
|
13427
|
+
* @export
|
|
13428
|
+
*/
|
|
13429
|
+
export const Class3CXInstancesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
13430
|
+
const localVarFp = Class3CXInstancesApiFp(configuration)
|
|
13431
|
+
return {
|
|
13432
|
+
/**
|
|
13433
|
+
* Get Recordings Backup Info
|
|
13434
|
+
* @param {*} [options] Override http request option.
|
|
13435
|
+
* @throws {RequiredError}
|
|
13436
|
+
*/
|
|
13437
|
+
getGetRecordingsBackupInfo(options?: RawAxiosRequestConfig): AxiosPromise<RecordingsBackupInfoDTO> {
|
|
13438
|
+
return localVarFp.getGetRecordingsBackupInfo(options).then((request) => request(axios, basePath));
|
|
13439
|
+
},
|
|
13440
|
+
};
|
|
13441
|
+
};
|
|
13442
|
+
|
|
13443
|
+
/**
|
|
13444
|
+
* Class3CXInstancesApi - object-oriented interface
|
|
13445
|
+
* @export
|
|
13446
|
+
* @class Class3CXInstancesApi
|
|
13447
|
+
* @extends {BaseAPI}
|
|
13448
|
+
*/
|
|
13449
|
+
export class Class3CXInstancesApi extends BaseAPI {
|
|
13450
|
+
/**
|
|
13451
|
+
* Get Recordings Backup Info
|
|
13452
|
+
* @param {*} [options] Override http request option.
|
|
13453
|
+
* @throws {RequiredError}
|
|
13454
|
+
* @memberof Class3CXInstancesApi
|
|
13455
|
+
*/
|
|
13456
|
+
public getGetRecordingsBackupInfo(options?: RawAxiosRequestConfig) {
|
|
13457
|
+
return Class3CXInstancesApiFp(this.configuration).getGetRecordingsBackupInfo(options).then((request) => request(this.axios, this.basePath));
|
|
13458
|
+
}
|
|
13459
|
+
}
|
|
13460
|
+
|
|
13461
|
+
|
|
13462
|
+
|
|
13139
13463
|
/**
|
|
13140
13464
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
13141
13465
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1884,6 +1884,43 @@ export declare const HostingChangeResponseModelTypeEnum: {
|
|
|
1884
1884
|
readonly BuildingInstance: "Building Instance";
|
|
1885
1885
|
};
|
|
1886
1886
|
export type HostingChangeResponseModelTypeEnum = typeof HostingChangeResponseModelTypeEnum[keyof typeof HostingChangeResponseModelTypeEnum];
|
|
1887
|
+
/**
|
|
1888
|
+
* Hosting Region
|
|
1889
|
+
* @export
|
|
1890
|
+
* @interface HostingRegionDTO
|
|
1891
|
+
*/
|
|
1892
|
+
export interface HostingRegionDTO {
|
|
1893
|
+
/**
|
|
1894
|
+
* Code
|
|
1895
|
+
* @type {string}
|
|
1896
|
+
* @memberof HostingRegionDTO
|
|
1897
|
+
*/
|
|
1898
|
+
'code'?: HostingRegionDTOCodeEnum;
|
|
1899
|
+
/**
|
|
1900
|
+
* Country
|
|
1901
|
+
* @type {string}
|
|
1902
|
+
* @memberof HostingRegionDTO
|
|
1903
|
+
*/
|
|
1904
|
+
'country'?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Continent
|
|
1907
|
+
* @type {string}
|
|
1908
|
+
* @memberof HostingRegionDTO
|
|
1909
|
+
*/
|
|
1910
|
+
'continent'?: string;
|
|
1911
|
+
}
|
|
1912
|
+
export declare const HostingRegionDTOCodeEnum: {
|
|
1913
|
+
readonly Uk1: "UK1";
|
|
1914
|
+
readonly Waw1: "WAW1";
|
|
1915
|
+
readonly Bhs5: "BHS5";
|
|
1916
|
+
readonly De1: "DE1";
|
|
1917
|
+
readonly Gra7: "GRA7";
|
|
1918
|
+
readonly Syd1: "SYD1";
|
|
1919
|
+
readonly Sgp1: "SGP1";
|
|
1920
|
+
readonly UsEastVa1: "US-EAST-VA-1";
|
|
1921
|
+
readonly UsWestOr1: "US-WEST-OR-1";
|
|
1922
|
+
};
|
|
1923
|
+
export type HostingRegionDTOCodeEnum = typeof HostingRegionDTOCodeEnum[keyof typeof HostingRegionDTOCodeEnum];
|
|
1887
1924
|
/**
|
|
1888
1925
|
* InstanceFailoverIpsEntity
|
|
1889
1926
|
* @export
|
|
@@ -4076,6 +4113,56 @@ export interface ProvisioningRequestEntity {
|
|
|
4076
4113
|
*/
|
|
4077
4114
|
'auth'?: string;
|
|
4078
4115
|
}
|
|
4116
|
+
/**
|
|
4117
|
+
* Azure Recordings Backup
|
|
4118
|
+
* @export
|
|
4119
|
+
* @interface RecordingBackupAzureModel
|
|
4120
|
+
*/
|
|
4121
|
+
export interface RecordingBackupAzureModel {
|
|
4122
|
+
/**
|
|
4123
|
+
* Storage Account Name
|
|
4124
|
+
* @type {string}
|
|
4125
|
+
* @memberof RecordingBackupAzureModel
|
|
4126
|
+
*/
|
|
4127
|
+
'name'?: string;
|
|
4128
|
+
/**
|
|
4129
|
+
* Storage Account Key
|
|
4130
|
+
* @type {string}
|
|
4131
|
+
* @memberof RecordingBackupAzureModel
|
|
4132
|
+
*/
|
|
4133
|
+
'key'?: string;
|
|
4134
|
+
/**
|
|
4135
|
+
* Storage Account Connection String
|
|
4136
|
+
* @type {string}
|
|
4137
|
+
* @memberof RecordingBackupAzureModel
|
|
4138
|
+
*/
|
|
4139
|
+
'connection_string'?: string;
|
|
4140
|
+
/**
|
|
4141
|
+
* Recordings Path
|
|
4142
|
+
* @type {string}
|
|
4143
|
+
* @memberof RecordingBackupAzureModel
|
|
4144
|
+
*/
|
|
4145
|
+
'recordings_path'?: string | null;
|
|
4146
|
+
}
|
|
4147
|
+
/**
|
|
4148
|
+
* Recordings Backup Info
|
|
4149
|
+
* @export
|
|
4150
|
+
* @interface RecordingsBackupInfoDTO
|
|
4151
|
+
*/
|
|
4152
|
+
export interface RecordingsBackupInfoDTO {
|
|
4153
|
+
/**
|
|
4154
|
+
*
|
|
4155
|
+
* @type {RecordingBackupAzureModel}
|
|
4156
|
+
* @memberof RecordingsBackupInfoDTO
|
|
4157
|
+
*/
|
|
4158
|
+
'backup'?: RecordingBackupAzureModel | null;
|
|
4159
|
+
/**
|
|
4160
|
+
*
|
|
4161
|
+
* @type {TcxRemoteStorageModel}
|
|
4162
|
+
* @memberof RecordingsBackupInfoDTO
|
|
4163
|
+
*/
|
|
4164
|
+
'storage'?: TcxRemoteStorageModel | null;
|
|
4165
|
+
}
|
|
4079
4166
|
/**
|
|
4080
4167
|
* Resource Not Ready
|
|
4081
4168
|
* @export
|
|
@@ -4126,6 +4213,37 @@ export interface RootAccessModel {
|
|
|
4126
4213
|
*/
|
|
4127
4214
|
'expiryDate'?: string;
|
|
4128
4215
|
}
|
|
4216
|
+
/**
|
|
4217
|
+
* S3 Bucket
|
|
4218
|
+
* @export
|
|
4219
|
+
* @interface S3BucketEntity
|
|
4220
|
+
*/
|
|
4221
|
+
export interface S3BucketEntity {
|
|
4222
|
+
/**
|
|
4223
|
+
* name
|
|
4224
|
+
* @type {string}
|
|
4225
|
+
* @memberof S3BucketEntity
|
|
4226
|
+
*/
|
|
4227
|
+
'name'?: string;
|
|
4228
|
+
/**
|
|
4229
|
+
* region
|
|
4230
|
+
* @type {string}
|
|
4231
|
+
* @memberof S3BucketEntity
|
|
4232
|
+
*/
|
|
4233
|
+
'region'?: string;
|
|
4234
|
+
/**
|
|
4235
|
+
* accessKeyId
|
|
4236
|
+
* @type {string}
|
|
4237
|
+
* @memberof S3BucketEntity
|
|
4238
|
+
*/
|
|
4239
|
+
'accessKeyId'?: string;
|
|
4240
|
+
/**
|
|
4241
|
+
* secretAccessKey
|
|
4242
|
+
* @type {string}
|
|
4243
|
+
* @memberof S3BucketEntity
|
|
4244
|
+
*/
|
|
4245
|
+
'secretAccessKey'?: string;
|
|
4246
|
+
}
|
|
4129
4247
|
/**
|
|
4130
4248
|
* Item MAC & Serial Details
|
|
4131
4249
|
* @export
|
|
@@ -7159,6 +7277,37 @@ export interface TcxPhonesEntity {
|
|
|
7159
7277
|
*/
|
|
7160
7278
|
'sbcId'?: string;
|
|
7161
7279
|
}
|
|
7280
|
+
/**
|
|
7281
|
+
* 3CX Remote Storage
|
|
7282
|
+
* @export
|
|
7283
|
+
* @interface TcxRemoteStorageModel
|
|
7284
|
+
*/
|
|
7285
|
+
export interface TcxRemoteStorageModel {
|
|
7286
|
+
/**
|
|
7287
|
+
* name
|
|
7288
|
+
* @type {string}
|
|
7289
|
+
* @memberof TcxRemoteStorageModel
|
|
7290
|
+
*/
|
|
7291
|
+
'name'?: string;
|
|
7292
|
+
/**
|
|
7293
|
+
* region
|
|
7294
|
+
* @type {string}
|
|
7295
|
+
* @memberof TcxRemoteStorageModel
|
|
7296
|
+
*/
|
|
7297
|
+
'region'?: string;
|
|
7298
|
+
/**
|
|
7299
|
+
* accessKeyId
|
|
7300
|
+
* @type {string}
|
|
7301
|
+
* @memberof TcxRemoteStorageModel
|
|
7302
|
+
*/
|
|
7303
|
+
'accessKeyId'?: string;
|
|
7304
|
+
/**
|
|
7305
|
+
* secretAccessKey
|
|
7306
|
+
* @type {string}
|
|
7307
|
+
* @memberof TcxRemoteStorageModel
|
|
7308
|
+
*/
|
|
7309
|
+
'secretAccessKey'?: string;
|
|
7310
|
+
}
|
|
7162
7311
|
/**
|
|
7163
7312
|
* 3CX Wizard SBC
|
|
7164
7313
|
* @export
|
|
@@ -7514,7 +7663,7 @@ export interface TcxSetupEntity {
|
|
|
7514
7663
|
* @type {string}
|
|
7515
7664
|
* @memberof TcxSetupEntity
|
|
7516
7665
|
*/
|
|
7517
|
-
'region'?:
|
|
7666
|
+
'region'?: TcxSetupEntityRegionEnum;
|
|
7518
7667
|
/**
|
|
7519
7668
|
* Status
|
|
7520
7669
|
* @type {number}
|
|
@@ -7535,6 +7684,18 @@ export declare const TcxSetupEntityInstallTypeEnum: {
|
|
|
7535
7684
|
readonly MultiTenant: "multi-tenant";
|
|
7536
7685
|
};
|
|
7537
7686
|
export type TcxSetupEntityInstallTypeEnum = typeof TcxSetupEntityInstallTypeEnum[keyof typeof TcxSetupEntityInstallTypeEnum];
|
|
7687
|
+
export declare const TcxSetupEntityRegionEnum: {
|
|
7688
|
+
readonly Uk1: "UK1";
|
|
7689
|
+
readonly Waw1: "WAW1";
|
|
7690
|
+
readonly Bhs5: "BHS5";
|
|
7691
|
+
readonly De1: "DE1";
|
|
7692
|
+
readonly Gra7: "GRA7";
|
|
7693
|
+
readonly Syd1: "SYD1";
|
|
7694
|
+
readonly Sgp1: "SGP1";
|
|
7695
|
+
readonly UsEastVa1: "US-EAST-VA-1";
|
|
7696
|
+
readonly UsWestOr1: "US-WEST-OR-1";
|
|
7697
|
+
};
|
|
7698
|
+
export type TcxSetupEntityRegionEnum = typeof TcxSetupEntityRegionEnum[keyof typeof TcxSetupEntityRegionEnum];
|
|
7538
7699
|
/**
|
|
7539
7700
|
* 3CX Setups
|
|
7540
7701
|
* @export
|
|
@@ -9090,6 +9251,13 @@ export declare const Class3CXInstallationWizardApiAxiosParamCreator: (configurat
|
|
|
9090
9251
|
* @throws {RequiredError}
|
|
9091
9252
|
*/
|
|
9092
9253
|
getGetHostingPrice: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9254
|
+
/**
|
|
9255
|
+
* Get 3CX Hosting Regions
|
|
9256
|
+
* @summary Get 3CX Hosting Regions
|
|
9257
|
+
* @param {*} [options] Override http request option.
|
|
9258
|
+
* @throws {RequiredError}
|
|
9259
|
+
*/
|
|
9260
|
+
getGetHostingRegions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9093
9261
|
/**
|
|
9094
9262
|
* Get 3CX Instance Install Status
|
|
9095
9263
|
* @summary Get 3CX Instance Install Status
|
|
@@ -9357,6 +9525,13 @@ export declare const Class3CXInstallationWizardApiFp: (configuration?: Configura
|
|
|
9357
9525
|
* @throws {RequiredError}
|
|
9358
9526
|
*/
|
|
9359
9527
|
getGetHostingPrice(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
|
|
9528
|
+
/**
|
|
9529
|
+
* Get 3CX Hosting Regions
|
|
9530
|
+
* @summary Get 3CX Hosting Regions
|
|
9531
|
+
* @param {*} [options] Override http request option.
|
|
9532
|
+
* @throws {RequiredError}
|
|
9533
|
+
*/
|
|
9534
|
+
getGetHostingRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingRegionDTO>>>;
|
|
9360
9535
|
/**
|
|
9361
9536
|
* Get 3CX Instance Install Status
|
|
9362
9537
|
* @summary Get 3CX Instance Install Status
|
|
@@ -9624,6 +9799,13 @@ export declare const Class3CXInstallationWizardApiFactory: (configuration?: Conf
|
|
|
9624
9799
|
* @throws {RequiredError}
|
|
9625
9800
|
*/
|
|
9626
9801
|
getGetHostingPrice(options?: RawAxiosRequestConfig): AxiosPromise<number>;
|
|
9802
|
+
/**
|
|
9803
|
+
* Get 3CX Hosting Regions
|
|
9804
|
+
* @summary Get 3CX Hosting Regions
|
|
9805
|
+
* @param {*} [options] Override http request option.
|
|
9806
|
+
* @throws {RequiredError}
|
|
9807
|
+
*/
|
|
9808
|
+
getGetHostingRegions(options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingRegionDTO>>;
|
|
9627
9809
|
/**
|
|
9628
9810
|
* Get 3CX Instance Install Status
|
|
9629
9811
|
* @summary Get 3CX Instance Install Status
|
|
@@ -9902,6 +10084,14 @@ export declare class Class3CXInstallationWizardApi extends BaseAPI {
|
|
|
9902
10084
|
* @memberof Class3CXInstallationWizardApi
|
|
9903
10085
|
*/
|
|
9904
10086
|
getGetHostingPrice(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
|
|
10087
|
+
/**
|
|
10088
|
+
* Get 3CX Hosting Regions
|
|
10089
|
+
* @summary Get 3CX Hosting Regions
|
|
10090
|
+
* @param {*} [options] Override http request option.
|
|
10091
|
+
* @throws {RequiredError}
|
|
10092
|
+
* @memberof Class3CXInstallationWizardApi
|
|
10093
|
+
*/
|
|
10094
|
+
getGetHostingRegions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingRegionDTO[], any, {}>>;
|
|
9905
10095
|
/**
|
|
9906
10096
|
* Get 3CX Instance Install Status
|
|
9907
10097
|
* @summary Get 3CX Instance Install Status
|
|
@@ -10601,6 +10791,57 @@ export declare const PostResizeInstanceSizeEnum: {
|
|
|
10601
10791
|
readonly B230: "b2-30";
|
|
10602
10792
|
};
|
|
10603
10793
|
export type PostResizeInstanceSizeEnum = typeof PostResizeInstanceSizeEnum[keyof typeof PostResizeInstanceSizeEnum];
|
|
10794
|
+
/**
|
|
10795
|
+
* Class3CXInstancesApi - axios parameter creator
|
|
10796
|
+
* @export
|
|
10797
|
+
*/
|
|
10798
|
+
export declare const Class3CXInstancesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10799
|
+
/**
|
|
10800
|
+
* Get Recordings Backup Info
|
|
10801
|
+
* @param {*} [options] Override http request option.
|
|
10802
|
+
* @throws {RequiredError}
|
|
10803
|
+
*/
|
|
10804
|
+
getGetRecordingsBackupInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10805
|
+
};
|
|
10806
|
+
/**
|
|
10807
|
+
* Class3CXInstancesApi - functional programming interface
|
|
10808
|
+
* @export
|
|
10809
|
+
*/
|
|
10810
|
+
export declare const Class3CXInstancesApiFp: (configuration?: Configuration) => {
|
|
10811
|
+
/**
|
|
10812
|
+
* Get Recordings Backup Info
|
|
10813
|
+
* @param {*} [options] Override http request option.
|
|
10814
|
+
* @throws {RequiredError}
|
|
10815
|
+
*/
|
|
10816
|
+
getGetRecordingsBackupInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecordingsBackupInfoDTO>>;
|
|
10817
|
+
};
|
|
10818
|
+
/**
|
|
10819
|
+
* Class3CXInstancesApi - factory interface
|
|
10820
|
+
* @export
|
|
10821
|
+
*/
|
|
10822
|
+
export declare const Class3CXInstancesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10823
|
+
/**
|
|
10824
|
+
* Get Recordings Backup Info
|
|
10825
|
+
* @param {*} [options] Override http request option.
|
|
10826
|
+
* @throws {RequiredError}
|
|
10827
|
+
*/
|
|
10828
|
+
getGetRecordingsBackupInfo(options?: RawAxiosRequestConfig): AxiosPromise<RecordingsBackupInfoDTO>;
|
|
10829
|
+
};
|
|
10830
|
+
/**
|
|
10831
|
+
* Class3CXInstancesApi - object-oriented interface
|
|
10832
|
+
* @export
|
|
10833
|
+
* @class Class3CXInstancesApi
|
|
10834
|
+
* @extends {BaseAPI}
|
|
10835
|
+
*/
|
|
10836
|
+
export declare class Class3CXInstancesApi extends BaseAPI {
|
|
10837
|
+
/**
|
|
10838
|
+
* Get Recordings Backup Info
|
|
10839
|
+
* @param {*} [options] Override http request option.
|
|
10840
|
+
* @throws {RequiredError}
|
|
10841
|
+
* @memberof Class3CXInstancesApi
|
|
10842
|
+
*/
|
|
10843
|
+
getGetRecordingsBackupInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordingsBackupInfoDTO, any, {}>>;
|
|
10844
|
+
}
|
|
10604
10845
|
/**
|
|
10605
10846
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
10606
10847
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -84,9 +84,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = void 0;
|
|
87
|
+
exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.Class3CXInstancesApi = exports.Class3CXInstancesApiFactory = exports.Class3CXInstancesApiFp = exports.Class3CXInstancesApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = void 0;
|
|
88
|
+
exports.StockManagementApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = void 0;
|
|
89
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
@@ -101,6 +101,17 @@ exports.HostingChangeResponseModelTypeEnum = {
|
|
|
101
101
|
NewInstance: 'New Instance',
|
|
102
102
|
BuildingInstance: 'Building Instance'
|
|
103
103
|
};
|
|
104
|
+
exports.HostingRegionDTOCodeEnum = {
|
|
105
|
+
Uk1: 'UK1',
|
|
106
|
+
Waw1: 'WAW1',
|
|
107
|
+
Bhs5: 'BHS5',
|
|
108
|
+
De1: 'DE1',
|
|
109
|
+
Gra7: 'GRA7',
|
|
110
|
+
Syd1: 'SYD1',
|
|
111
|
+
Sgp1: 'SGP1',
|
|
112
|
+
UsEastVa1: 'US-EAST-VA-1',
|
|
113
|
+
UsWestOr1: 'US-WEST-OR-1'
|
|
114
|
+
};
|
|
104
115
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
105
116
|
NewTrunk: 'New Trunk',
|
|
106
117
|
AvailableTrunk: 'Available Trunk',
|
|
@@ -209,6 +220,17 @@ exports.TcxSetupEntityInstallTypeEnum = {
|
|
|
209
220
|
Failover: 'failover',
|
|
210
221
|
MultiTenant: 'multi-tenant'
|
|
211
222
|
};
|
|
223
|
+
exports.TcxSetupEntityRegionEnum = {
|
|
224
|
+
Uk1: 'UK1',
|
|
225
|
+
Waw1: 'WAW1',
|
|
226
|
+
Bhs5: 'BHS5',
|
|
227
|
+
De1: 'DE1',
|
|
228
|
+
Gra7: 'GRA7',
|
|
229
|
+
Syd1: 'SYD1',
|
|
230
|
+
Sgp1: 'SGP1',
|
|
231
|
+
UsEastVa1: 'US-EAST-VA-1',
|
|
232
|
+
UsWestOr1: 'US-WEST-OR-1'
|
|
233
|
+
};
|
|
212
234
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
213
235
|
New: 'new',
|
|
214
236
|
Restore: 'restore',
|
|
@@ -2315,6 +2337,39 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
2315
2337
|
});
|
|
2316
2338
|
});
|
|
2317
2339
|
},
|
|
2340
|
+
/**
|
|
2341
|
+
* Get 3CX Hosting Regions
|
|
2342
|
+
* @summary Get 3CX Hosting Regions
|
|
2343
|
+
* @param {*} [options] Override http request option.
|
|
2344
|
+
* @throws {RequiredError}
|
|
2345
|
+
*/
|
|
2346
|
+
getGetHostingRegions: function () {
|
|
2347
|
+
var args_1 = [];
|
|
2348
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2349
|
+
args_1[_i] = arguments[_i];
|
|
2350
|
+
}
|
|
2351
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
2352
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2353
|
+
if (options === void 0) { options = {}; }
|
|
2354
|
+
return __generator(this, function (_a) {
|
|
2355
|
+
localVarPath = "/tcx/wizards/regions";
|
|
2356
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2357
|
+
if (configuration) {
|
|
2358
|
+
baseOptions = configuration.baseOptions;
|
|
2359
|
+
}
|
|
2360
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2361
|
+
localVarHeaderParameter = {};
|
|
2362
|
+
localVarQueryParameter = {};
|
|
2363
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2364
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2365
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2366
|
+
return [2 /*return*/, {
|
|
2367
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2368
|
+
options: localVarRequestOptions,
|
|
2369
|
+
}];
|
|
2370
|
+
});
|
|
2371
|
+
});
|
|
2372
|
+
},
|
|
2318
2373
|
/**
|
|
2319
2374
|
* Get 3CX Instance Install Status
|
|
2320
2375
|
* @summary Get 3CX Instance Install Status
|
|
@@ -3422,6 +3477,28 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
|
|
|
3422
3477
|
});
|
|
3423
3478
|
});
|
|
3424
3479
|
},
|
|
3480
|
+
/**
|
|
3481
|
+
* Get 3CX Hosting Regions
|
|
3482
|
+
* @summary Get 3CX Hosting Regions
|
|
3483
|
+
* @param {*} [options] Override http request option.
|
|
3484
|
+
* @throws {RequiredError}
|
|
3485
|
+
*/
|
|
3486
|
+
getGetHostingRegions: function (options) {
|
|
3487
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3488
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
3489
|
+
var _a, _b, _c;
|
|
3490
|
+
return __generator(this, function (_d) {
|
|
3491
|
+
switch (_d.label) {
|
|
3492
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetHostingRegions(options)];
|
|
3493
|
+
case 1:
|
|
3494
|
+
localVarAxiosArgs = _d.sent();
|
|
3495
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3496
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.getGetHostingRegions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3497
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
3498
|
+
}
|
|
3499
|
+
});
|
|
3500
|
+
});
|
|
3501
|
+
},
|
|
3425
3502
|
/**
|
|
3426
3503
|
* Get 3CX Instance Install Status
|
|
3427
3504
|
* @summary Get 3CX Instance Install Status
|
|
@@ -4056,6 +4133,15 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
|
|
|
4056
4133
|
getGetHostingPrice: function (options) {
|
|
4057
4134
|
return localVarFp.getGetHostingPrice(options).then(function (request) { return request(axios, basePath); });
|
|
4058
4135
|
},
|
|
4136
|
+
/**
|
|
4137
|
+
* Get 3CX Hosting Regions
|
|
4138
|
+
* @summary Get 3CX Hosting Regions
|
|
4139
|
+
* @param {*} [options] Override http request option.
|
|
4140
|
+
* @throws {RequiredError}
|
|
4141
|
+
*/
|
|
4142
|
+
getGetHostingRegions: function (options) {
|
|
4143
|
+
return localVarFp.getGetHostingRegions(options).then(function (request) { return request(axios, basePath); });
|
|
4144
|
+
},
|
|
4059
4145
|
/**
|
|
4060
4146
|
* Get 3CX Instance Install Status
|
|
4061
4147
|
* @summary Get 3CX Instance Install Status
|
|
@@ -4413,6 +4499,17 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
|
|
|
4413
4499
|
var _this = this;
|
|
4414
4500
|
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).getGetHostingPrice(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4415
4501
|
};
|
|
4502
|
+
/**
|
|
4503
|
+
* Get 3CX Hosting Regions
|
|
4504
|
+
* @summary Get 3CX Hosting Regions
|
|
4505
|
+
* @param {*} [options] Override http request option.
|
|
4506
|
+
* @throws {RequiredError}
|
|
4507
|
+
* @memberof Class3CXInstallationWizardApi
|
|
4508
|
+
*/
|
|
4509
|
+
Class3CXInstallationWizardApi.prototype.getGetHostingRegions = function (options) {
|
|
4510
|
+
var _this = this;
|
|
4511
|
+
return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).getGetHostingRegions(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4512
|
+
};
|
|
4416
4513
|
/**
|
|
4417
4514
|
* Get 3CX Instance Install Status
|
|
4418
4515
|
* @summary Get 3CX Instance Install Status
|
|
@@ -5792,6 +5889,121 @@ exports.PostResizeInstanceSizeEnum = {
|
|
|
5792
5889
|
D28: 'd2-8',
|
|
5793
5890
|
B230: 'b2-30'
|
|
5794
5891
|
};
|
|
5892
|
+
/**
|
|
5893
|
+
* Class3CXInstancesApi - axios parameter creator
|
|
5894
|
+
* @export
|
|
5895
|
+
*/
|
|
5896
|
+
var Class3CXInstancesApiAxiosParamCreator = function (configuration) {
|
|
5897
|
+
var _this = this;
|
|
5898
|
+
return {
|
|
5899
|
+
/**
|
|
5900
|
+
* Get Recordings Backup Info
|
|
5901
|
+
* @param {*} [options] Override http request option.
|
|
5902
|
+
* @throws {RequiredError}
|
|
5903
|
+
*/
|
|
5904
|
+
getGetRecordingsBackupInfo: function () {
|
|
5905
|
+
var args_1 = [];
|
|
5906
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
5907
|
+
args_1[_i] = arguments[_i];
|
|
5908
|
+
}
|
|
5909
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
5910
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5911
|
+
if (options === void 0) { options = {}; }
|
|
5912
|
+
return __generator(this, function (_a) {
|
|
5913
|
+
localVarPath = "/tcx/instances/me/backup/info";
|
|
5914
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5915
|
+
if (configuration) {
|
|
5916
|
+
baseOptions = configuration.baseOptions;
|
|
5917
|
+
}
|
|
5918
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5919
|
+
localVarHeaderParameter = {};
|
|
5920
|
+
localVarQueryParameter = {};
|
|
5921
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5922
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5923
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5924
|
+
return [2 /*return*/, {
|
|
5925
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5926
|
+
options: localVarRequestOptions,
|
|
5927
|
+
}];
|
|
5928
|
+
});
|
|
5929
|
+
});
|
|
5930
|
+
},
|
|
5931
|
+
};
|
|
5932
|
+
};
|
|
5933
|
+
exports.Class3CXInstancesApiAxiosParamCreator = Class3CXInstancesApiAxiosParamCreator;
|
|
5934
|
+
/**
|
|
5935
|
+
* Class3CXInstancesApi - functional programming interface
|
|
5936
|
+
* @export
|
|
5937
|
+
*/
|
|
5938
|
+
var Class3CXInstancesApiFp = function (configuration) {
|
|
5939
|
+
var localVarAxiosParamCreator = (0, exports.Class3CXInstancesApiAxiosParamCreator)(configuration);
|
|
5940
|
+
return {
|
|
5941
|
+
/**
|
|
5942
|
+
* Get Recordings Backup Info
|
|
5943
|
+
* @param {*} [options] Override http request option.
|
|
5944
|
+
* @throws {RequiredError}
|
|
5945
|
+
*/
|
|
5946
|
+
getGetRecordingsBackupInfo: function (options) {
|
|
5947
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5948
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5949
|
+
var _a, _b, _c;
|
|
5950
|
+
return __generator(this, function (_d) {
|
|
5951
|
+
switch (_d.label) {
|
|
5952
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingsBackupInfo(options)];
|
|
5953
|
+
case 1:
|
|
5954
|
+
localVarAxiosArgs = _d.sent();
|
|
5955
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5956
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstancesApi.getGetRecordingsBackupInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5957
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
5958
|
+
}
|
|
5959
|
+
});
|
|
5960
|
+
});
|
|
5961
|
+
},
|
|
5962
|
+
};
|
|
5963
|
+
};
|
|
5964
|
+
exports.Class3CXInstancesApiFp = Class3CXInstancesApiFp;
|
|
5965
|
+
/**
|
|
5966
|
+
* Class3CXInstancesApi - factory interface
|
|
5967
|
+
* @export
|
|
5968
|
+
*/
|
|
5969
|
+
var Class3CXInstancesApiFactory = function (configuration, basePath, axios) {
|
|
5970
|
+
var localVarFp = (0, exports.Class3CXInstancesApiFp)(configuration);
|
|
5971
|
+
return {
|
|
5972
|
+
/**
|
|
5973
|
+
* Get Recordings Backup Info
|
|
5974
|
+
* @param {*} [options] Override http request option.
|
|
5975
|
+
* @throws {RequiredError}
|
|
5976
|
+
*/
|
|
5977
|
+
getGetRecordingsBackupInfo: function (options) {
|
|
5978
|
+
return localVarFp.getGetRecordingsBackupInfo(options).then(function (request) { return request(axios, basePath); });
|
|
5979
|
+
},
|
|
5980
|
+
};
|
|
5981
|
+
};
|
|
5982
|
+
exports.Class3CXInstancesApiFactory = Class3CXInstancesApiFactory;
|
|
5983
|
+
/**
|
|
5984
|
+
* Class3CXInstancesApi - object-oriented interface
|
|
5985
|
+
* @export
|
|
5986
|
+
* @class Class3CXInstancesApi
|
|
5987
|
+
* @extends {BaseAPI}
|
|
5988
|
+
*/
|
|
5989
|
+
var Class3CXInstancesApi = /** @class */ (function (_super) {
|
|
5990
|
+
__extends(Class3CXInstancesApi, _super);
|
|
5991
|
+
function Class3CXInstancesApi() {
|
|
5992
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
5993
|
+
}
|
|
5994
|
+
/**
|
|
5995
|
+
* Get Recordings Backup Info
|
|
5996
|
+
* @param {*} [options] Override http request option.
|
|
5997
|
+
* @throws {RequiredError}
|
|
5998
|
+
* @memberof Class3CXInstancesApi
|
|
5999
|
+
*/
|
|
6000
|
+
Class3CXInstancesApi.prototype.getGetRecordingsBackupInfo = function (options) {
|
|
6001
|
+
var _this = this;
|
|
6002
|
+
return (0, exports.Class3CXInstancesApiFp)(this.configuration).getGetRecordingsBackupInfo(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6003
|
+
};
|
|
6004
|
+
return Class3CXInstancesApi;
|
|
6005
|
+
}(base_1.BaseAPI));
|
|
6006
|
+
exports.Class3CXInstancesApi = Class3CXInstancesApi;
|
|
5795
6007
|
/**
|
|
5796
6008
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
5797
6009
|
* @export
|
|
@@ -13,6 +13,7 @@ All URIs are relative to *http://api.yellowgrid.local*
|
|
|
13
13
|
|[**getGetAreaCodesTcxWizard**](#getgetareacodestcxwizard) | **GET** /tcx/wizards/sip/trunks/area/codes | Get UK National Area Codes|
|
|
14
14
|
|[**getGetDdisTcxWizard**](#getgetddistcxwizard) | **GET** /tcx/wizards/sip/trunks/{id}/ddis | Get SIP Trunk DDIs|
|
|
15
15
|
|[**getGetHostingPrice**](#getgethostingprice) | **GET** /tcx/wizards/price | Get Hosting Price|
|
|
16
|
+
|[**getGetHostingRegions**](#getgethostingregions) | **GET** /tcx/wizards/regions | Get 3CX Hosting Regions|
|
|
16
17
|
|[**getGetInstallStatus**](#getgetinstallstatus) | **GET** /tcx/wizard/build/status | Get 3CX Instance Install Status|
|
|
17
18
|
|[**getGetInstanceInstallStatus**](#getgetinstanceinstallstatus) | **GET** /tcx/wizards/instances/build/status | Get 3CX Instance Install Status|
|
|
18
19
|
|[**getGetPbxIpAddress**](#getgetpbxipaddress) | **GET** /tcx/wizards/instances/ip | Get PBX IP Address|
|
|
@@ -495,6 +496,53 @@ No authorization required
|
|
|
495
496
|
|
|
496
497
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
497
498
|
|
|
499
|
+
# **getGetHostingRegions**
|
|
500
|
+
> Array<HostingRegionDTO> getGetHostingRegions()
|
|
501
|
+
|
|
502
|
+
Get 3CX Hosting Regions
|
|
503
|
+
|
|
504
|
+
### Example
|
|
505
|
+
|
|
506
|
+
```typescript
|
|
507
|
+
import {
|
|
508
|
+
Class3CXInstallationWizardApi,
|
|
509
|
+
Configuration
|
|
510
|
+
} from 'yellowgrid-api-ts';
|
|
511
|
+
|
|
512
|
+
const configuration = new Configuration();
|
|
513
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
514
|
+
|
|
515
|
+
const { status, data } = await apiInstance.getGetHostingRegions();
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
### Parameters
|
|
519
|
+
This endpoint does not have any parameters.
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
### Return type
|
|
523
|
+
|
|
524
|
+
**Array<HostingRegionDTO>**
|
|
525
|
+
|
|
526
|
+
### Authorization
|
|
527
|
+
|
|
528
|
+
No authorization required
|
|
529
|
+
|
|
530
|
+
### HTTP request headers
|
|
531
|
+
|
|
532
|
+
- **Content-Type**: Not defined
|
|
533
|
+
- **Accept**: application/json
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
### HTTP response details
|
|
537
|
+
| Status code | Description | Response headers |
|
|
538
|
+
|-------------|-------------|------------------|
|
|
539
|
+
|**200** | 3CX Hosting Regions | - |
|
|
540
|
+
|**400** | Bad Request | - |
|
|
541
|
+
|**401** | Unauthorised | - |
|
|
542
|
+
|**403** | Access Denied | - |
|
|
543
|
+
|
|
544
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
545
|
+
|
|
498
546
|
# **getGetInstallStatus**
|
|
499
547
|
> HostingChangeResponseModel getGetInstallStatus()
|
|
500
548
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Class3CXInstancesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getGetRecordingsBackupInfo**](#getgetrecordingsbackupinfo) | **GET** /tcx/instances/me/backup/info | |
|
|
8
|
+
|
|
9
|
+
# **getGetRecordingsBackupInfo**
|
|
10
|
+
> RecordingsBackupInfoDTO getGetRecordingsBackupInfo()
|
|
11
|
+
|
|
12
|
+
Get Recordings Backup Info
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
Class3CXInstancesApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new Class3CXInstancesApi(configuration);
|
|
24
|
+
|
|
25
|
+
const { status, data } = await apiInstance.getGetRecordingsBackupInfo();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
This endpoint does not have any parameters.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Return type
|
|
33
|
+
|
|
34
|
+
**RecordingsBackupInfoDTO**
|
|
35
|
+
|
|
36
|
+
### Authorization
|
|
37
|
+
|
|
38
|
+
No authorization required
|
|
39
|
+
|
|
40
|
+
### HTTP request headers
|
|
41
|
+
|
|
42
|
+
- **Content-Type**: Not defined
|
|
43
|
+
- **Accept**: application/json
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### HTTP response details
|
|
47
|
+
| Status code | Description | Response headers |
|
|
48
|
+
|-------------|-------------|------------------|
|
|
49
|
+
|**200** | Recordings Backup Info | - |
|
|
50
|
+
|**400** | Bad Request | - |
|
|
51
|
+
|**401** | Unauthorised | - |
|
|
52
|
+
|**403** | Access Denied | - |
|
|
53
|
+
|
|
54
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
55
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# HostingRegionDTO
|
|
2
|
+
|
|
3
|
+
Hosting Region
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | Code | [optional] [default to undefined]
|
|
10
|
+
**country** | **string** | Country | [optional] [default to undefined]
|
|
11
|
+
**continent** | **string** | Continent | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { HostingRegionDTO } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: HostingRegionDTO = {
|
|
19
|
+
code,
|
|
20
|
+
country,
|
|
21
|
+
continent,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# RecordingBackupAzureModel
|
|
2
|
+
|
|
3
|
+
Azure Recordings Backup
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**name** | **string** | Storage Account Name | [optional] [default to undefined]
|
|
10
|
+
**key** | **string** | Storage Account Key | [optional] [default to undefined]
|
|
11
|
+
**connection_string** | **string** | Storage Account Connection String | [optional] [default to undefined]
|
|
12
|
+
**recordings_path** | **string** | Recordings Path | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { RecordingBackupAzureModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: RecordingBackupAzureModel = {
|
|
20
|
+
name,
|
|
21
|
+
key,
|
|
22
|
+
connection_string,
|
|
23
|
+
recordings_path,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# RecordingsBackupInfoDTO
|
|
2
|
+
|
|
3
|
+
Recordings Backup Info
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**backup** | [**RecordingBackupAzureModel**](RecordingBackupAzureModel.md) | | [optional] [default to undefined]
|
|
10
|
+
**storage** | [**TcxRemoteStorageModel**](TcxRemoteStorageModel.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { RecordingsBackupInfoDTO } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: RecordingsBackupInfoDTO = {
|
|
18
|
+
backup,
|
|
19
|
+
storage,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# S3BucketEntity
|
|
2
|
+
|
|
3
|
+
S3 Bucket
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**name** | **string** | name | [optional] [default to undefined]
|
|
10
|
+
**region** | **string** | region | [optional] [default to undefined]
|
|
11
|
+
**accessKeyId** | **string** | accessKeyId | [optional] [default to undefined]
|
|
12
|
+
**secretAccessKey** | **string** | secretAccessKey | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { S3BucketEntity } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: S3BucketEntity = {
|
|
20
|
+
name,
|
|
21
|
+
region,
|
|
22
|
+
accessKeyId,
|
|
23
|
+
secretAccessKey,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# TcxRemoteStorageModel
|
|
2
|
+
|
|
3
|
+
3CX Remote Storage
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**name** | **string** | name | [optional] [default to undefined]
|
|
10
|
+
**region** | **string** | region | [optional] [default to undefined]
|
|
11
|
+
**accessKeyId** | **string** | accessKeyId | [optional] [default to undefined]
|
|
12
|
+
**secretAccessKey** | **string** | secretAccessKey | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { TcxRemoteStorageModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: TcxRemoteStorageModel = {
|
|
20
|
+
name,
|
|
21
|
+
region,
|
|
22
|
+
accessKeyId,
|
|
23
|
+
secretAccessKey,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|