yellowgrid-api-ts 3.2.283 → 3.2.285

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
@@ -196,6 +196,7 @@ Class | Method | HTTP request | Description
196
196
  *Class3CXInstallationWizardApi* | [**getGetHostingRegions**](docs/Class3CXInstallationWizardApi.md#getgethostingregions) | **GET** /tcx/wizards/regions | Get 3CX Hosting Regions
197
197
  *Class3CXInstallationWizardApi* | [**getGetInstallStatus**](docs/Class3CXInstallationWizardApi.md#getgetinstallstatus) | **GET** /tcx/wizard/build/status | Get 3CX Instance Install Status
198
198
  *Class3CXInstallationWizardApi* | [**getGetInstanceInstallStatus**](docs/Class3CXInstallationWizardApi.md#getgetinstanceinstallstatus) | **GET** /tcx/wizards/instances/build/status | Get 3CX Instance Install Status
199
+ *Class3CXInstallationWizardApi* | [**getGetOrderItems**](docs/Class3CXInstallationWizardApi.md#getgetorderitems) | **GET** /tcx/wizards/order/items | Get all items on the order linked to this wizard\'s licence key
199
200
  *Class3CXInstallationWizardApi* | [**getGetPbxIpAddress**](docs/Class3CXInstallationWizardApi.md#getgetpbxipaddress) | **GET** /tcx/wizards/instances/ip | Get PBX IP Address
200
201
  *Class3CXInstallationWizardApi* | [**getGetSipTrunkTcxWizard**](docs/Class3CXInstallationWizardApi.md#getgetsiptrunktcxwizard) | **GET** /tcx/wizards/sip/trunks/{id} | Get SIP Trunk
201
202
  *Class3CXInstallationWizardApi* | [**getGetSipTrunksTcxWizard**](docs/Class3CXInstallationWizardApi.md#getgetsiptrunkstcxwizard) | **GET** /tcx/wizards/sip/trunks | Get SIP Trunks
package/api.ts CHANGED
@@ -20835,6 +20835,36 @@ export const Class3CXInstallationWizardApiAxiosParamCreator = function (configur
20835
20835
  options: localVarRequestOptions,
20836
20836
  };
20837
20837
  },
20838
+ /**
20839
+ * Get all items on the order linked to the wizard licence key
20840
+ * @summary Get all items on the order linked to this wizard\'s licence key
20841
+ * @param {*} [options] Override http request option.
20842
+ * @throws {RequiredError}
20843
+ */
20844
+ getGetOrderItems: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20845
+ const localVarPath = `/tcx/wizards/order/items`;
20846
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20847
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20848
+ let baseOptions;
20849
+ if (configuration) {
20850
+ baseOptions = configuration.baseOptions;
20851
+ }
20852
+
20853
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20854
+ const localVarHeaderParameter = {} as any;
20855
+ const localVarQueryParameter = {} as any;
20856
+
20857
+ localVarHeaderParameter['Accept'] = 'application/json';
20858
+
20859
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20860
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20861
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20862
+
20863
+ return {
20864
+ url: toPathString(localVarUrlObj),
20865
+ options: localVarRequestOptions,
20866
+ };
20867
+ },
20838
20868
  /**
20839
20869
  * Get PBX IP Address
20840
20870
  * @summary Get PBX IP Address
@@ -21787,6 +21817,18 @@ export const Class3CXInstallationWizardApiFp = function(configuration?: Configur
21787
21817
  const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.getGetInstanceInstallStatus']?.[localVarOperationServerIndex]?.url;
21788
21818
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21789
21819
  },
21820
+ /**
21821
+ * Get all items on the order linked to the wizard licence key
21822
+ * @summary Get all items on the order linked to this wizard\'s licence key
21823
+ * @param {*} [options] Override http request option.
21824
+ * @throws {RequiredError}
21825
+ */
21826
+ async getGetOrderItems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ItemEntity>>> {
21827
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetOrderItems(options);
21828
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21829
+ const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationWizardApi.getGetOrderItems']?.[localVarOperationServerIndex]?.url;
21830
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21831
+ },
21790
21832
  /**
21791
21833
  * Get PBX IP Address
21792
21834
  * @summary Get PBX IP Address
@@ -22206,6 +22248,15 @@ export const Class3CXInstallationWizardApiFactory = function (configuration?: Co
22206
22248
  getGetInstanceInstallStatus(options?: RawAxiosRequestConfig): AxiosPromise<HostingChangeResponseModel> {
22207
22249
  return localVarFp.getGetInstanceInstallStatus(options).then((request) => request(axios, basePath));
22208
22250
  },
22251
+ /**
22252
+ * Get all items on the order linked to the wizard licence key
22253
+ * @summary Get all items on the order linked to this wizard\'s licence key
22254
+ * @param {*} [options] Override http request option.
22255
+ * @throws {RequiredError}
22256
+ */
22257
+ getGetOrderItems(options?: RawAxiosRequestConfig): AxiosPromise<Array<ItemEntity>> {
22258
+ return localVarFp.getGetOrderItems(options).then((request) => request(axios, basePath));
22259
+ },
22209
22260
  /**
22210
22261
  * Get PBX IP Address
22211
22262
  * @summary Get PBX IP Address
@@ -22569,6 +22620,16 @@ export class Class3CXInstallationWizardApi extends BaseAPI {
22569
22620
  return Class3CXInstallationWizardApiFp(this.configuration).getGetInstanceInstallStatus(options).then((request) => request(this.axios, this.basePath));
22570
22621
  }
22571
22622
 
22623
+ /**
22624
+ * Get all items on the order linked to the wizard licence key
22625
+ * @summary Get all items on the order linked to this wizard\'s licence key
22626
+ * @param {*} [options] Override http request option.
22627
+ * @throws {RequiredError}
22628
+ */
22629
+ public getGetOrderItems(options?: RawAxiosRequestConfig) {
22630
+ return Class3CXInstallationWizardApiFp(this.configuration).getGetOrderItems(options).then((request) => request(this.axios, this.basePath));
22631
+ }
22632
+
22572
22633
  /**
22573
22634
  * Get PBX IP Address
22574
22635
  * @summary Get PBX IP Address
package/dist/api.d.ts CHANGED
@@ -15226,6 +15226,13 @@ export declare const Class3CXInstallationWizardApiAxiosParamCreator: (configurat
15226
15226
  * @throws {RequiredError}
15227
15227
  */
15228
15228
  getGetInstanceInstallStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15229
+ /**
15230
+ * Get all items on the order linked to the wizard licence key
15231
+ * @summary Get all items on the order linked to this wizard\'s licence key
15232
+ * @param {*} [options] Override http request option.
15233
+ * @throws {RequiredError}
15234
+ */
15235
+ getGetOrderItems: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15229
15236
  /**
15230
15237
  * Get PBX IP Address
15231
15238
  * @summary Get PBX IP Address
@@ -15507,6 +15514,13 @@ export declare const Class3CXInstallationWizardApiFp: (configuration?: Configura
15507
15514
  * @throws {RequiredError}
15508
15515
  */
15509
15516
  getGetInstanceInstallStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingChangeResponseModel>>;
15517
+ /**
15518
+ * Get all items on the order linked to the wizard licence key
15519
+ * @summary Get all items on the order linked to this wizard\'s licence key
15520
+ * @param {*} [options] Override http request option.
15521
+ * @throws {RequiredError}
15522
+ */
15523
+ getGetOrderItems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ItemEntity>>>;
15510
15524
  /**
15511
15525
  * Get PBX IP Address
15512
15526
  * @summary Get PBX IP Address
@@ -15788,6 +15802,13 @@ export declare const Class3CXInstallationWizardApiFactory: (configuration?: Conf
15788
15802
  * @throws {RequiredError}
15789
15803
  */
15790
15804
  getGetInstanceInstallStatus(options?: RawAxiosRequestConfig): AxiosPromise<HostingChangeResponseModel>;
15805
+ /**
15806
+ * Get all items on the order linked to the wizard licence key
15807
+ * @summary Get all items on the order linked to this wizard\'s licence key
15808
+ * @param {*} [options] Override http request option.
15809
+ * @throws {RequiredError}
15810
+ */
15811
+ getGetOrderItems(options?: RawAxiosRequestConfig): AxiosPromise<Array<ItemEntity>>;
15791
15812
  /**
15792
15813
  * Get PBX IP Address
15793
15814
  * @summary Get PBX IP Address
@@ -16069,6 +16090,13 @@ export declare class Class3CXInstallationWizardApi extends BaseAPI {
16069
16090
  * @throws {RequiredError}
16070
16091
  */
16071
16092
  getGetInstanceInstallStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingChangeResponseModel, any, {}>>;
16093
+ /**
16094
+ * Get all items on the order linked to the wizard licence key
16095
+ * @summary Get all items on the order linked to this wizard\'s licence key
16096
+ * @param {*} [options] Override http request option.
16097
+ * @throws {RequiredError}
16098
+ */
16099
+ getGetOrderItems(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ItemEntity[], any, {}>>;
16072
16100
  /**
16073
16101
  * Get PBX IP Address
16074
16102
  * @summary Get PBX IP Address
package/dist/api.js CHANGED
@@ -12263,6 +12263,40 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
12263
12263
  });
12264
12264
  });
12265
12265
  },
12266
+ /**
12267
+ * Get all items on the order linked to the wizard licence key
12268
+ * @summary Get all items on the order linked to this wizard\'s licence key
12269
+ * @param {*} [options] Override http request option.
12270
+ * @throws {RequiredError}
12271
+ */
12272
+ getGetOrderItems: function () {
12273
+ var args_1 = [];
12274
+ for (var _i = 0; _i < arguments.length; _i++) {
12275
+ args_1[_i] = arguments[_i];
12276
+ }
12277
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
12278
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12279
+ if (options === void 0) { options = {}; }
12280
+ return __generator(this, function (_a) {
12281
+ localVarPath = "/tcx/wizards/order/items";
12282
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12283
+ if (configuration) {
12284
+ baseOptions = configuration.baseOptions;
12285
+ }
12286
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12287
+ localVarHeaderParameter = {};
12288
+ localVarQueryParameter = {};
12289
+ localVarHeaderParameter['Accept'] = 'application/json';
12290
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12291
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12292
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12293
+ return [2 /*return*/, {
12294
+ url: (0, common_1.toPathString)(localVarUrlObj),
12295
+ options: localVarRequestOptions,
12296
+ }];
12297
+ });
12298
+ });
12299
+ },
12266
12300
  /**
12267
12301
  * Get PBX IP Address
12268
12302
  * @summary Get PBX IP Address
@@ -13411,6 +13445,28 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
13411
13445
  });
13412
13446
  });
13413
13447
  },
13448
+ /**
13449
+ * Get all items on the order linked to the wizard licence key
13450
+ * @summary Get all items on the order linked to this wizard\'s licence key
13451
+ * @param {*} [options] Override http request option.
13452
+ * @throws {RequiredError}
13453
+ */
13454
+ getGetOrderItems: function (options) {
13455
+ return __awaiter(this, void 0, void 0, function () {
13456
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
13457
+ var _a, _b, _c;
13458
+ return __generator(this, function (_d) {
13459
+ switch (_d.label) {
13460
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetOrderItems(options)];
13461
+ case 1:
13462
+ localVarAxiosArgs = _d.sent();
13463
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13464
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationWizardApi.getGetOrderItems']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13465
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
13466
+ }
13467
+ });
13468
+ });
13469
+ },
13414
13470
  /**
13415
13471
  * Get PBX IP Address
13416
13472
  * @summary Get PBX IP Address
@@ -14050,6 +14106,15 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
14050
14106
  getGetInstanceInstallStatus: function (options) {
14051
14107
  return localVarFp.getGetInstanceInstallStatus(options).then(function (request) { return request(axios, basePath); });
14052
14108
  },
14109
+ /**
14110
+ * Get all items on the order linked to the wizard licence key
14111
+ * @summary Get all items on the order linked to this wizard\'s licence key
14112
+ * @param {*} [options] Override http request option.
14113
+ * @throws {RequiredError}
14114
+ */
14115
+ getGetOrderItems: function (options) {
14116
+ return localVarFp.getGetOrderItems(options).then(function (request) { return request(axios, basePath); });
14117
+ },
14053
14118
  /**
14054
14119
  * Get PBX IP Address
14055
14120
  * @summary Get PBX IP Address
@@ -14417,6 +14482,16 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
14417
14482
  var _this = this;
14418
14483
  return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).getGetInstanceInstallStatus(options).then(function (request) { return request(_this.axios, _this.basePath); });
14419
14484
  };
14485
+ /**
14486
+ * Get all items on the order linked to the wizard licence key
14487
+ * @summary Get all items on the order linked to this wizard\'s licence key
14488
+ * @param {*} [options] Override http request option.
14489
+ * @throws {RequiredError}
14490
+ */
14491
+ Class3CXInstallationWizardApi.prototype.getGetOrderItems = function (options) {
14492
+ var _this = this;
14493
+ return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).getGetOrderItems(options).then(function (request) { return request(_this.axios, _this.basePath); });
14494
+ };
14420
14495
  /**
14421
14496
  * Get PBX IP Address
14422
14497
  * @summary Get PBX IP Address
@@ -16,6 +16,7 @@ All URIs are relative to *https://bitbucket.org*
16
16
  |[**getGetHostingRegions**](#getgethostingregions) | **GET** /tcx/wizards/regions | Get 3CX Hosting Regions|
17
17
  |[**getGetInstallStatus**](#getgetinstallstatus) | **GET** /tcx/wizard/build/status | Get 3CX Instance Install Status|
18
18
  |[**getGetInstanceInstallStatus**](#getgetinstanceinstallstatus) | **GET** /tcx/wizards/instances/build/status | Get 3CX Instance Install Status|
19
+ |[**getGetOrderItems**](#getgetorderitems) | **GET** /tcx/wizards/order/items | Get all items on the order linked to this wizard\&#39;s licence key|
19
20
  |[**getGetPbxIpAddress**](#getgetpbxipaddress) | **GET** /tcx/wizards/instances/ip | Get PBX IP Address|
20
21
  |[**getGetSipTrunkTcxWizard**](#getgetsiptrunktcxwizard) | **GET** /tcx/wizards/sip/trunks/{id} | Get SIP Trunk|
21
22
  |[**getGetSipTrunksTcxWizard**](#getgetsiptrunkstcxwizard) | **GET** /tcx/wizards/sip/trunks | Get SIP Trunks|
@@ -654,6 +655,53 @@ No authorization required
654
655
 
655
656
  [[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)
656
657
 
658
+ # **getGetOrderItems**
659
+ > Array<ItemEntity> getGetOrderItems()
660
+
661
+ Get all items on the order linked to the wizard licence key
662
+
663
+ ### Example
664
+
665
+ ```typescript
666
+ import {
667
+ Class3CXInstallationWizardApi,
668
+ Configuration
669
+ } from 'yellowgrid-api-ts';
670
+
671
+ const configuration = new Configuration();
672
+ const apiInstance = new Class3CXInstallationWizardApi(configuration);
673
+
674
+ const { status, data } = await apiInstance.getGetOrderItems();
675
+ ```
676
+
677
+ ### Parameters
678
+ This endpoint does not have any parameters.
679
+
680
+
681
+ ### Return type
682
+
683
+ **Array<ItemEntity>**
684
+
685
+ ### Authorization
686
+
687
+ No authorization required
688
+
689
+ ### HTTP request headers
690
+
691
+ - **Content-Type**: Not defined
692
+ - **Accept**: application/json
693
+
694
+
695
+ ### HTTP response details
696
+ | Status code | Description | Response headers |
697
+ |-------------|-------------|------------------|
698
+ |**200** | Order Items | - |
699
+ |**400** | Bad Request | - |
700
+ |**401** | Unauthorised | - |
701
+ |**403** | Access Denied | - |
702
+
703
+ [[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)
704
+
657
705
  # **getGetPbxIpAddress**
658
706
  > string getGetPbxIpAddress()
659
707
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.283",
3
+ "version": "3.2.285",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {