yellowgrid-api-ts 3.2.26 → 3.2.27

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/README.md CHANGED
@@ -105,6 +105,7 @@ Class | Method | HTTP request | Description
105
105
  *Class3CXInstallationWizardApi* | [**postGetDdisTcxWizard**](docs/Class3CXInstallationWizardApi.md#postgetddistcxwizard) | **POST** /tcx/wizards/sip/trunks/{id}/ddis | Add SIP Trunk DDIs
106
106
  *Class3CXInstallationWizardApi* | [**postGetRequestedDdisTcxWizard**](docs/Class3CXInstallationWizardApi.md#postgetrequestedddistcxwizard) | **POST** /tcx/wizards/sip/trunks/changes/ddis | Get Requested DDIs
107
107
  *Class3CXInstallationWizardApi* | [**postGetSipTrunksTcxWizard**](docs/Class3CXInstallationWizardApi.md#postgetsiptrunkstcxwizard) | **POST** /tcx/wizards/sip/trunks | Create New SIP Trunk
108
+ *Class3CXInstallationWizardApi* | [**postTrackChangeTcxWizard**](docs/Class3CXInstallationWizardApi.md#posttrackchangetcxwizard) | **POST** /tcx/wizards/sip/trunks/changes/track | Track SIP Trunk Change Request
108
109
  *Class3CXInstallationWizardApi* | [**postUploadBackup**](docs/Class3CXInstallationWizardApi.md#postuploadbackup) | **POST** /tcx/wizards/backup |
109
110
  *Class3CXInstallationsApi* | [**getGetDetails**](docs/Class3CXInstallationsApi.md#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details
110
111
  *Class3CXInstallationsApi* | [**getGetInstallations**](docs/Class3CXInstallationsApi.md#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations
package/api.ts CHANGED
@@ -12476,6 +12476,40 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
12476
12476
  options: localVarRequestOptions,
12477
12477
  };
12478
12478
  },
12479
+ /**
12480
+ * Track SIP Trunk Change Request
12481
+ * @summary Track SIP Trunk Change Request
12482
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
12483
+ * @param {*} [options] Override http request option.
12484
+ * @throws {RequiredError}
12485
+ */
12486
+ postTrackChangeTcxWizard: async (sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12487
+ const localVarPath = `/tcx/wizards/sip/trunks/changes/track`;
12488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12489
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12490
+ let baseOptions;
12491
+ if (configuration) {
12492
+ baseOptions = configuration.baseOptions;
12493
+ }
12494
+
12495
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12496
+ const localVarHeaderParameter = {} as any;
12497
+ const localVarQueryParameter = {} as any;
12498
+
12499
+
12500
+
12501
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12502
+
12503
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12504
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12505
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12506
+ localVarRequestOptions.data = serializeDataIfNeeded(sipTrunkChangeResponseModel, localVarRequestOptions, configuration)
12507
+
12508
+ return {
12509
+ url: toPathString(localVarUrlObj),
12510
+ options: localVarRequestOptions,
12511
+ };
12512
+ },
12479
12513
  /**
12480
12514
  * Upload 3CX Backup File
12481
12515
  * @param {File} backup 3CX Backup ZIP File
@@ -12947,6 +12981,19 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
12947
12981
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.postGetSipTrunksTcxWizard']?.[localVarOperationServerIndex]?.url;
12948
12982
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12949
12983
  },
12984
+ /**
12985
+ * Track SIP Trunk Change Request
12986
+ * @summary Track SIP Trunk Change Request
12987
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
12988
+ * @param {*} [options] Override http request option.
12989
+ * @throws {RequiredError}
12990
+ */
12991
+ async postTrackChangeTcxWizard(sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SipTrunkChangeResponseModel>> {
12992
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options);
12993
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12994
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.postTrackChangeTcxWizard']?.[localVarOperationServerIndex]?.url;
12995
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12996
+ },
12950
12997
  /**
12951
12998
  * Upload 3CX Backup File
12952
12999
  * @param {File} backup 3CX Backup ZIP File
@@ -13294,6 +13341,16 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
13294
13341
  postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel?: SipTrunkCreationRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<SipTrunkChangeResponseModel> {
13295
13342
  return localVarFp.postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then((request) => request(axios, basePath));
13296
13343
  },
13344
+ /**
13345
+ * Track SIP Trunk Change Request
13346
+ * @summary Track SIP Trunk Change Request
13347
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
13348
+ * @param {*} [options] Override http request option.
13349
+ * @throws {RequiredError}
13350
+ */
13351
+ postTrackChangeTcxWizard(sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options?: RawAxiosRequestConfig): AxiosPromise<SipTrunkChangeResponseModel> {
13352
+ return localVarFp.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then((request) => request(axios, basePath));
13353
+ },
13297
13354
  /**
13298
13355
  * Upload 3CX Backup File
13299
13356
  * @param {File} backup 3CX Backup ZIP File
@@ -13702,6 +13759,18 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
13702
13759
  return Class3CXInstallationWizardApiFp(this.configuration).postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then((request) => request(this.axios, this.basePath));
13703
13760
  }
13704
13761
 
13762
+ /**
13763
+ * Track SIP Trunk Change Request
13764
+ * @summary Track SIP Trunk Change Request
13765
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
13766
+ * @param {*} [options] Override http request option.
13767
+ * @throws {RequiredError}
13768
+ * @memberof Class3CXInstallationWizardApi
13769
+ */
13770
+ public postTrackChangeTcxWizard(sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options?: RawAxiosRequestConfig) {
13771
+ return Class3CXInstallationWizardApiFp(this.configuration).postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then((request) => request(this.axios, this.basePath));
13772
+ }
13773
+
13705
13774
  /**
13706
13775
  * Upload 3CX Backup File
13707
13776
  * @param {File} backup 3CX Backup ZIP File
package/dist/api.d.ts CHANGED
@@ -10671,6 +10671,14 @@ export declare const Class3CXInstallationWizardApiAxiosParamCreator: (configurat
10671
10671
  * @throws {RequiredError}
10672
10672
  */
10673
10673
  postGetSipTrunksTcxWizard: (sipTrunkCreationRequestModel?: SipTrunkCreationRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10674
+ /**
10675
+ * Track SIP Trunk Change Request
10676
+ * @summary Track SIP Trunk Change Request
10677
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
10678
+ * @param {*} [options] Override http request option.
10679
+ * @throws {RequiredError}
10680
+ */
10681
+ postTrackChangeTcxWizard: (sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10674
10682
  /**
10675
10683
  * Upload 3CX Backup File
10676
10684
  * @param {File} backup 3CX Backup ZIP File
@@ -10945,6 +10953,14 @@ export declare const Class3CXInstallationWizardApiFp: (configuration?: Configura
10945
10953
  * @throws {RequiredError}
10946
10954
  */
10947
10955
  postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel?: SipTrunkCreationRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SipTrunkChangeResponseModel>>;
10956
+ /**
10957
+ * Track SIP Trunk Change Request
10958
+ * @summary Track SIP Trunk Change Request
10959
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
10960
+ * @param {*} [options] Override http request option.
10961
+ * @throws {RequiredError}
10962
+ */
10963
+ postTrackChangeTcxWizard(sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SipTrunkChangeResponseModel>>;
10948
10964
  /**
10949
10965
  * Upload 3CX Backup File
10950
10966
  * @param {File} backup 3CX Backup ZIP File
@@ -11219,6 +11235,14 @@ export declare const Class3CXInstallationWizardApiFactory: (configuration?: Conf
11219
11235
  * @throws {RequiredError}
11220
11236
  */
11221
11237
  postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel?: SipTrunkCreationRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<SipTrunkChangeResponseModel>;
11238
+ /**
11239
+ * Track SIP Trunk Change Request
11240
+ * @summary Track SIP Trunk Change Request
11241
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
11242
+ * @param {*} [options] Override http request option.
11243
+ * @throws {RequiredError}
11244
+ */
11245
+ postTrackChangeTcxWizard(sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options?: RawAxiosRequestConfig): AxiosPromise<SipTrunkChangeResponseModel>;
11222
11246
  /**
11223
11247
  * Upload 3CX Backup File
11224
11248
  * @param {File} backup 3CX Backup ZIP File
@@ -11527,6 +11551,15 @@ export declare class Class3CXInstallationWizardApi extends BaseAPI {
11527
11551
  * @memberof Class3CXInstallationWizardApi
11528
11552
  */
11529
11553
  postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel?: SipTrunkCreationRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SipTrunkChangeResponseModel, any, {}>>;
11554
+ /**
11555
+ * Track SIP Trunk Change Request
11556
+ * @summary Track SIP Trunk Change Request
11557
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
11558
+ * @param {*} [options] Override http request option.
11559
+ * @throws {RequiredError}
11560
+ * @memberof Class3CXInstallationWizardApi
11561
+ */
11562
+ postTrackChangeTcxWizard(sipTrunkChangeResponseModel?: SipTrunkChangeResponseModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SipTrunkChangeResponseModel, any, {}>>;
11530
11563
  /**
11531
11564
  * Upload 3CX Backup File
11532
11565
  * @param {File} backup 3CX Backup ZIP File
package/dist/api.js CHANGED
@@ -3433,6 +3433,42 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
3433
3433
  });
3434
3434
  });
3435
3435
  },
3436
+ /**
3437
+ * Track SIP Trunk Change Request
3438
+ * @summary Track SIP Trunk Change Request
3439
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
3440
+ * @param {*} [options] Override http request option.
3441
+ * @throws {RequiredError}
3442
+ */
3443
+ postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel_1) {
3444
+ var args_1 = [];
3445
+ for (var _i = 1; _i < arguments.length; _i++) {
3446
+ args_1[_i - 1] = arguments[_i];
3447
+ }
3448
+ return __awaiter(_this, __spreadArray([sipTrunkChangeResponseModel_1], args_1, true), void 0, function (sipTrunkChangeResponseModel, options) {
3449
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3450
+ if (options === void 0) { options = {}; }
3451
+ return __generator(this, function (_a) {
3452
+ localVarPath = "/tcx/wizards/sip/trunks/changes/track";
3453
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3454
+ if (configuration) {
3455
+ baseOptions = configuration.baseOptions;
3456
+ }
3457
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
3458
+ localVarHeaderParameter = {};
3459
+ localVarQueryParameter = {};
3460
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3461
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3462
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3463
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3464
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sipTrunkChangeResponseModel, localVarRequestOptions, configuration);
3465
+ return [2 /*return*/, {
3466
+ url: (0, common_1.toPathString)(localVarUrlObj),
3467
+ options: localVarRequestOptions,
3468
+ }];
3469
+ });
3470
+ });
3471
+ },
3436
3472
  /**
3437
3473
  * Upload 3CX Backup File
3438
3474
  * @param {File} backup 3CX Backup ZIP File
@@ -4225,6 +4261,29 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
4225
4261
  });
4226
4262
  });
4227
4263
  },
4264
+ /**
4265
+ * Track SIP Trunk Change Request
4266
+ * @summary Track SIP Trunk Change Request
4267
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
4268
+ * @param {*} [options] Override http request option.
4269
+ * @throws {RequiredError}
4270
+ */
4271
+ postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel, options) {
4272
+ return __awaiter(this, void 0, void 0, function () {
4273
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4274
+ var _a, _b, _c;
4275
+ return __generator(this, function (_d) {
4276
+ switch (_d.label) {
4277
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options)];
4278
+ case 1:
4279
+ localVarAxiosArgs = _d.sent();
4280
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4281
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.postTrackChangeTcxWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4282
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4283
+ }
4284
+ });
4285
+ });
4286
+ },
4228
4287
  /**
4229
4288
  * Upload 3CX Backup File
4230
4289
  * @param {File} backup 3CX Backup ZIP File
@@ -4582,6 +4641,16 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
4582
4641
  postGetSipTrunksTcxWizard: function (sipTrunkCreationRequestModel, options) {
4583
4642
  return localVarFp.postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then(function (request) { return request(axios, basePath); });
4584
4643
  },
4644
+ /**
4645
+ * Track SIP Trunk Change Request
4646
+ * @summary Track SIP Trunk Change Request
4647
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
4648
+ * @param {*} [options] Override http request option.
4649
+ * @throws {RequiredError}
4650
+ */
4651
+ postTrackChangeTcxWizard: function (sipTrunkChangeResponseModel, options) {
4652
+ return localVarFp.postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
4653
+ },
4585
4654
  /**
4586
4655
  * Upload 3CX Backup File
4587
4656
  * @param {File} backup 3CX Backup ZIP File
@@ -4994,6 +5063,18 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4994
5063
  var _this = this;
4995
5064
  return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postGetSipTrunksTcxWizard(sipTrunkCreationRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
4996
5065
  };
5066
+ /**
5067
+ * Track SIP Trunk Change Request
5068
+ * @summary Track SIP Trunk Change Request
5069
+ * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
5070
+ * @param {*} [options] Override http request option.
5071
+ * @throws {RequiredError}
5072
+ * @memberof Class3CXInstallationWizardApi
5073
+ */
5074
+ Class3CXInstallationWizardApi.prototype.postTrackChangeTcxWizard = function (sipTrunkChangeResponseModel, options) {
5075
+ var _this = this;
5076
+ return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postTrackChangeTcxWizard(sipTrunkChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
5077
+ };
4997
5078
  /**
4998
5079
  * Upload 3CX Backup File
4999
5080
  * @param {File} backup 3CX Backup ZIP File
@@ -36,6 +36,7 @@ All URIs are relative to *http://api.yellowgrid.local*
36
36
  |[**postGetDdisTcxWizard**](#postgetddistcxwizard) | **POST** /tcx/wizards/sip/trunks/{id}/ddis | Add SIP Trunk DDIs|
37
37
  |[**postGetRequestedDdisTcxWizard**](#postgetrequestedddistcxwizard) | **POST** /tcx/wizards/sip/trunks/changes/ddis | Get Requested DDIs|
38
38
  |[**postGetSipTrunksTcxWizard**](#postgetsiptrunkstcxwizard) | **POST** /tcx/wizards/sip/trunks | Create New SIP Trunk|
39
+ |[**postTrackChangeTcxWizard**](#posttrackchangetcxwizard) | **POST** /tcx/wizards/sip/trunks/changes/track | Track SIP Trunk Change Request|
39
40
  |[**postUploadBackup**](#postuploadbackup) | **POST** /tcx/wizards/backup | |
40
41
 
41
42
  # **deleteAddExtensions**
@@ -1713,6 +1714,61 @@ const { status, data } = await apiInstance.postGetSipTrunksTcxWizard(
1713
1714
  | **sipTrunkCreationRequestModel** | **SipTrunkCreationRequestModel**| New SIP Trunk Request | |
1714
1715
 
1715
1716
 
1717
+ ### Return type
1718
+
1719
+ **SipTrunkChangeResponseModel**
1720
+
1721
+ ### Authorization
1722
+
1723
+ No authorization required
1724
+
1725
+ ### HTTP request headers
1726
+
1727
+ - **Content-Type**: application/json
1728
+ - **Accept**: application/json
1729
+
1730
+
1731
+ ### HTTP response details
1732
+ | Status code | Description | Response headers |
1733
+ |-------------|-------------|------------------|
1734
+ |**200** | Change Response | - |
1735
+ |**400** | Bad Request | - |
1736
+ |**401** | Unauthorised | - |
1737
+ |**403** | Access Denied | - |
1738
+
1739
+ [[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)
1740
+
1741
+ # **postTrackChangeTcxWizard**
1742
+ > SipTrunkChangeResponseModel postTrackChangeTcxWizard()
1743
+
1744
+ Track SIP Trunk Change Request
1745
+
1746
+ ### Example
1747
+
1748
+ ```typescript
1749
+ import {
1750
+ Class3CXInstallationWizardApi,
1751
+ Configuration,
1752
+ SipTrunkChangeResponseModel
1753
+ } from 'yellowgrid-api-ts';
1754
+
1755
+ const configuration = new Configuration();
1756
+ const apiInstance = new Class3CXInstallationWizardApi(configuration);
1757
+
1758
+ let sipTrunkChangeResponseModel: SipTrunkChangeResponseModel; //Change Request (optional)
1759
+
1760
+ const { status, data } = await apiInstance.postTrackChangeTcxWizard(
1761
+ sipTrunkChangeResponseModel
1762
+ );
1763
+ ```
1764
+
1765
+ ### Parameters
1766
+
1767
+ |Name | Type | Description | Notes|
1768
+ |------------- | ------------- | ------------- | -------------|
1769
+ | **sipTrunkChangeResponseModel** | **SipTrunkChangeResponseModel**| Change Request | |
1770
+
1771
+
1716
1772
  ### Return type
1717
1773
 
1718
1774
  **SipTrunkChangeResponseModel**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.26",
3
+ "version": "3.2.27",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {