yellowgrid-api-ts 3.2.278 → 3.2.280

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.
@@ -122,6 +122,7 @@ docs/GenericFileModel.md
122
122
  docs/GetCheckMacExists200Response.md
123
123
  docs/GetGetPrice200Response.md
124
124
  docs/GetGetRecording200Response.md
125
+ docs/GetGetTcxHostingPriceList200Response.md
125
126
  docs/GraphDTO.md
126
127
  docs/HostingChangeResponseModel.md
127
128
  docs/HostingRegionDTO.md
package/README.md CHANGED
@@ -69,6 +69,7 @@ Class | Method | HTTP request | Description
69
69
  *AccountsApi* | [**getGetFinanceSettings**](docs/AccountsApi.md#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance |
70
70
  *AccountsApi* | [**getGetLastAccount**](docs/AccountsApi.md#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account
71
71
  *AccountsApi* | [**getGetNewPriceList**](docs/AccountsApi.md#getgetnewpricelist) | **GET** /admin/accounts/priceList/new | Download New Price List
72
+ *AccountsApi* | [**getGetTcxHostingPriceList**](docs/AccountsApi.md#getgettcxhostingpricelist) | **GET** /admin/accounts/{id}/tcx/hosting/pricelist |
72
73
  *AccountsApi* | [**getGetTcxPartnerDetails**](docs/AccountsApi.md#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner |
73
74
  *AccountsApi* | [**getVerifyEmailAddress**](docs/AccountsApi.md#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address
74
75
  *AccountsApi* | [**patchSetAccountStatus**](docs/AccountsApi.md#patchsetaccountstatus) | **PATCH** /admin/accounts/{id}/status/{state} |
@@ -548,6 +549,7 @@ Class | Method | HTTP request | Description
548
549
  - [GetCheckMacExists200Response](docs/GetCheckMacExists200Response.md)
549
550
  - [GetGetPrice200Response](docs/GetGetPrice200Response.md)
550
551
  - [GetGetRecording200Response](docs/GetGetRecording200Response.md)
552
+ - [GetGetTcxHostingPriceList200Response](docs/GetGetTcxHostingPriceList200Response.md)
551
553
  - [GraphDTO](docs/GraphDTO.md)
552
554
  - [HostingChangeResponseModel](docs/HostingChangeResponseModel.md)
553
555
  - [HostingRegionDTO](docs/HostingRegionDTO.md)
package/api.ts CHANGED
@@ -3400,6 +3400,9 @@ export interface GetGetPrice200Response {
3400
3400
  export interface GetGetRecording200Response {
3401
3401
  'recordingData'?: string;
3402
3402
  }
3403
+ export interface GetGetTcxHostingPriceList200Response {
3404
+ 'priceList'?: number;
3405
+ }
3403
3406
  /**
3404
3407
  * Graph
3405
3408
  */
@@ -11712,6 +11715,39 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
11712
11715
  options: localVarRequestOptions,
11713
11716
  };
11714
11717
  },
11718
+ /**
11719
+ * Get Account 3CX Details
11720
+ * @param {string} id Xero ID
11721
+ * @param {*} [options] Override http request option.
11722
+ * @throws {RequiredError}
11723
+ */
11724
+ getGetTcxHostingPriceList: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11725
+ // verify required parameter 'id' is not null or undefined
11726
+ assertParamExists('getGetTcxHostingPriceList', 'id', id)
11727
+ const localVarPath = `/admin/accounts/{id}/tcx/hosting/pricelist`
11728
+ .replace('{id}', encodeURIComponent(String(id)));
11729
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11730
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11731
+ let baseOptions;
11732
+ if (configuration) {
11733
+ baseOptions = configuration.baseOptions;
11734
+ }
11735
+
11736
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11737
+ const localVarHeaderParameter = {} as any;
11738
+ const localVarQueryParameter = {} as any;
11739
+
11740
+ localVarHeaderParameter['Accept'] = 'application/json';
11741
+
11742
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11743
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11744
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11745
+
11746
+ return {
11747
+ url: toPathString(localVarUrlObj),
11748
+ options: localVarRequestOptions,
11749
+ };
11750
+ },
11715
11751
  /**
11716
11752
  * Get Account 3CX Details
11717
11753
  * @param {string} id Xero ID
@@ -13039,6 +13075,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
13039
13075
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetNewPriceList']?.[localVarOperationServerIndex]?.url;
13040
13076
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13041
13077
  },
13078
+ /**
13079
+ * Get Account 3CX Details
13080
+ * @param {string} id Xero ID
13081
+ * @param {*} [options] Override http request option.
13082
+ * @throws {RequiredError}
13083
+ */
13084
+ async getGetTcxHostingPriceList(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetTcxHostingPriceList200Response>> {
13085
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxHostingPriceList(id, options);
13086
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13087
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetTcxHostingPriceList']?.[localVarOperationServerIndex]?.url;
13088
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13089
+ },
13042
13090
  /**
13043
13091
  * Get Account 3CX Details
13044
13092
  * @param {string} id Xero ID
@@ -13622,6 +13670,15 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
13622
13670
  getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
13623
13671
  return localVarFp.getGetNewPriceList(id, options).then((request) => request(axios, basePath));
13624
13672
  },
13673
+ /**
13674
+ * Get Account 3CX Details
13675
+ * @param {string} id Xero ID
13676
+ * @param {*} [options] Override http request option.
13677
+ * @throws {RequiredError}
13678
+ */
13679
+ getGetTcxHostingPriceList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetTcxHostingPriceList200Response> {
13680
+ return localVarFp.getGetTcxHostingPriceList(id, options).then((request) => request(axios, basePath));
13681
+ },
13625
13682
  /**
13626
13683
  * Get Account 3CX Details
13627
13684
  * @param {string} id Xero ID
@@ -14128,6 +14185,16 @@ export class AccountsApi extends BaseAPI {
14128
14185
  return AccountsApiFp(this.configuration).getGetNewPriceList(id, options).then((request) => request(this.axios, this.basePath));
14129
14186
  }
14130
14187
 
14188
+ /**
14189
+ * Get Account 3CX Details
14190
+ * @param {string} id Xero ID
14191
+ * @param {*} [options] Override http request option.
14192
+ * @throws {RequiredError}
14193
+ */
14194
+ public getGetTcxHostingPriceList(id: string, options?: RawAxiosRequestConfig) {
14195
+ return AccountsApiFp(this.configuration).getGetTcxHostingPriceList(id, options).then((request) => request(this.axios, this.basePath));
14196
+ }
14197
+
14131
14198
  /**
14132
14199
  * Get Account 3CX Details
14133
14200
  * @param {string} id Xero ID
package/dist/api.d.ts CHANGED
@@ -3346,6 +3346,9 @@ export interface GetGetPrice200Response {
3346
3346
  export interface GetGetRecording200Response {
3347
3347
  'recordingData'?: string;
3348
3348
  }
3349
+ export interface GetGetTcxHostingPriceList200Response {
3350
+ 'priceList'?: number;
3351
+ }
3349
3352
  /**
3350
3353
  * Graph
3351
3354
  */
@@ -11052,6 +11055,13 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
11052
11055
  * @throws {RequiredError}
11053
11056
  */
11054
11057
  getGetNewPriceList: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11058
+ /**
11059
+ * Get Account 3CX Details
11060
+ * @param {string} id Xero ID
11061
+ * @param {*} [options] Override http request option.
11062
+ * @throws {RequiredError}
11063
+ */
11064
+ getGetTcxHostingPriceList: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11055
11065
  /**
11056
11066
  * Get Account 3CX Details
11057
11067
  * @param {string} id Xero ID
@@ -11440,6 +11450,13 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
11440
11450
  * @throws {RequiredError}
11441
11451
  */
11442
11452
  getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
11453
+ /**
11454
+ * Get Account 3CX Details
11455
+ * @param {string} id Xero ID
11456
+ * @param {*} [options] Override http request option.
11457
+ * @throws {RequiredError}
11458
+ */
11459
+ getGetTcxHostingPriceList(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetTcxHostingPriceList200Response>>;
11443
11460
  /**
11444
11461
  * Get Account 3CX Details
11445
11462
  * @param {string} id Xero ID
@@ -11828,6 +11845,13 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
11828
11845
  * @throws {RequiredError}
11829
11846
  */
11830
11847
  getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
11848
+ /**
11849
+ * Get Account 3CX Details
11850
+ * @param {string} id Xero ID
11851
+ * @param {*} [options] Override http request option.
11852
+ * @throws {RequiredError}
11853
+ */
11854
+ getGetTcxHostingPriceList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetTcxHostingPriceList200Response>;
11831
11855
  /**
11832
11856
  * Get Account 3CX Details
11833
11857
  * @param {string} id Xero ID
@@ -12216,6 +12240,13 @@ export declare class AccountsApi extends BaseAPI {
12216
12240
  * @throws {RequiredError}
12217
12241
  */
12218
12242
  getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
12243
+ /**
12244
+ * Get Account 3CX Details
12245
+ * @param {string} id Xero ID
12246
+ * @param {*} [options] Override http request option.
12247
+ * @throws {RequiredError}
12248
+ */
12249
+ getGetTcxHostingPriceList(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGetTcxHostingPriceList200Response, any, {}>>;
12219
12250
  /**
12220
12251
  * Get Account 3CX Details
12221
12252
  * @param {string} id Xero ID
package/dist/api.js CHANGED
@@ -1377,6 +1377,43 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1377
1377
  });
1378
1378
  });
1379
1379
  },
1380
+ /**
1381
+ * Get Account 3CX Details
1382
+ * @param {string} id Xero ID
1383
+ * @param {*} [options] Override http request option.
1384
+ * @throws {RequiredError}
1385
+ */
1386
+ getGetTcxHostingPriceList: function (id_1) {
1387
+ var args_1 = [];
1388
+ for (var _i = 1; _i < arguments.length; _i++) {
1389
+ args_1[_i - 1] = arguments[_i];
1390
+ }
1391
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
1392
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1393
+ if (options === void 0) { options = {}; }
1394
+ return __generator(this, function (_a) {
1395
+ // verify required parameter 'id' is not null or undefined
1396
+ (0, common_1.assertParamExists)('getGetTcxHostingPriceList', 'id', id);
1397
+ localVarPath = "/admin/accounts/{id}/tcx/hosting/pricelist"
1398
+ .replace('{id}', encodeURIComponent(String(id)));
1399
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1400
+ if (configuration) {
1401
+ baseOptions = configuration.baseOptions;
1402
+ }
1403
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1404
+ localVarHeaderParameter = {};
1405
+ localVarQueryParameter = {};
1406
+ localVarHeaderParameter['Accept'] = 'application/json';
1407
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1408
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1409
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1410
+ return [2 /*return*/, {
1411
+ url: (0, common_1.toPathString)(localVarUrlObj),
1412
+ options: localVarRequestOptions,
1413
+ }];
1414
+ });
1415
+ });
1416
+ },
1380
1417
  /**
1381
1418
  * Get Account 3CX Details
1382
1419
  * @param {string} id Xero ID
@@ -3002,6 +3039,28 @@ var AccountsApiFp = function (configuration) {
3002
3039
  });
3003
3040
  });
3004
3041
  },
3042
+ /**
3043
+ * Get Account 3CX Details
3044
+ * @param {string} id Xero ID
3045
+ * @param {*} [options] Override http request option.
3046
+ * @throws {RequiredError}
3047
+ */
3048
+ getGetTcxHostingPriceList: function (id, options) {
3049
+ return __awaiter(this, void 0, void 0, function () {
3050
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3051
+ var _a, _b, _c;
3052
+ return __generator(this, function (_d) {
3053
+ switch (_d.label) {
3054
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxHostingPriceList(id, options)];
3055
+ case 1:
3056
+ localVarAxiosArgs = _d.sent();
3057
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3058
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetTcxHostingPriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3059
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
3060
+ }
3061
+ });
3062
+ });
3063
+ },
3005
3064
  /**
3006
3065
  * Get Account 3CX Details
3007
3066
  * @param {string} id Xero ID
@@ -3895,6 +3954,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
3895
3954
  getGetNewPriceList: function (id, options) {
3896
3955
  return localVarFp.getGetNewPriceList(id, options).then(function (request) { return request(axios, basePath); });
3897
3956
  },
3957
+ /**
3958
+ * Get Account 3CX Details
3959
+ * @param {string} id Xero ID
3960
+ * @param {*} [options] Override http request option.
3961
+ * @throws {RequiredError}
3962
+ */
3963
+ getGetTcxHostingPriceList: function (id, options) {
3964
+ return localVarFp.getGetTcxHostingPriceList(id, options).then(function (request) { return request(axios, basePath); });
3965
+ },
3898
3966
  /**
3899
3967
  * Get Account 3CX Details
3900
3968
  * @param {string} id Xero ID
@@ -4405,6 +4473,16 @@ var AccountsApi = /** @class */ (function (_super) {
4405
4473
  var _this = this;
4406
4474
  return (0, exports.AccountsApiFp)(this.configuration).getGetNewPriceList(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
4407
4475
  };
4476
+ /**
4477
+ * Get Account 3CX Details
4478
+ * @param {string} id Xero ID
4479
+ * @param {*} [options] Override http request option.
4480
+ * @throws {RequiredError}
4481
+ */
4482
+ AccountsApi.prototype.getGetTcxHostingPriceList = function (id, options) {
4483
+ var _this = this;
4484
+ return (0, exports.AccountsApiFp)(this.configuration).getGetTcxHostingPriceList(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
4485
+ };
4408
4486
  /**
4409
4487
  * Get Account 3CX Details
4410
4488
  * @param {string} id Xero ID
@@ -22,6 +22,7 @@ All URIs are relative to *https://bitbucket.org*
22
22
  |[**getGetFinanceSettings**](#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance | |
23
23
  |[**getGetLastAccount**](#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account|
24
24
  |[**getGetNewPriceList**](#getgetnewpricelist) | **GET** /admin/accounts/priceList/new | Download New Price List|
25
+ |[**getGetTcxHostingPriceList**](#getgettcxhostingpricelist) | **GET** /admin/accounts/{id}/tcx/hosting/pricelist | |
25
26
  |[**getGetTcxPartnerDetails**](#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner | |
26
27
  |[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
27
28
  |[**patchSetAccountStatus**](#patchsetaccountstatus) | **PATCH** /admin/accounts/{id}/status/{state} | |
@@ -989,6 +990,60 @@ No authorization required
989
990
 
990
991
  [[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)
991
992
 
993
+ # **getGetTcxHostingPriceList**
994
+ > GetGetTcxHostingPriceList200Response getGetTcxHostingPriceList()
995
+
996
+ Get Account 3CX Details
997
+
998
+ ### Example
999
+
1000
+ ```typescript
1001
+ import {
1002
+ AccountsApi,
1003
+ Configuration
1004
+ } from 'yellowgrid-api-ts';
1005
+
1006
+ const configuration = new Configuration();
1007
+ const apiInstance = new AccountsApi(configuration);
1008
+
1009
+ let id: string; //Xero ID (default to undefined)
1010
+
1011
+ const { status, data } = await apiInstance.getGetTcxHostingPriceList(
1012
+ id
1013
+ );
1014
+ ```
1015
+
1016
+ ### Parameters
1017
+
1018
+ |Name | Type | Description | Notes|
1019
+ |------------- | ------------- | ------------- | -------------|
1020
+ | **id** | [**string**] | Xero ID | defaults to undefined|
1021
+
1022
+
1023
+ ### Return type
1024
+
1025
+ **GetGetTcxHostingPriceList200Response**
1026
+
1027
+ ### Authorization
1028
+
1029
+ No authorization required
1030
+
1031
+ ### HTTP request headers
1032
+
1033
+ - **Content-Type**: Not defined
1034
+ - **Accept**: application/json
1035
+
1036
+
1037
+ ### HTTP response details
1038
+ | Status code | Description | Response headers |
1039
+ |-------------|-------------|------------------|
1040
+ |**200** | Account 3CX Hosting Price List | - |
1041
+ |**400** | Bad Request | - |
1042
+ |**401** | Unauthorised | - |
1043
+ |**403** | Access Denied | - |
1044
+
1045
+ [[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)
1046
+
992
1047
  # **getGetTcxPartnerDetails**
993
1048
  > PartnerDTO getGetTcxPartnerDetails()
994
1049
 
@@ -0,0 +1,20 @@
1
+ # GetGetTcxHostingPriceList200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **priceList** | **number** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetGetTcxHostingPriceList200Response } from 'yellowgrid-api-ts';
14
+
15
+ const instance: GetGetTcxHostingPriceList200Response = {
16
+ priceList,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.278",
3
+ "version": "3.2.280",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {