yellowgrid-api-ts 3.2.141-dev.0 → 3.2.142-dev.0

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
@@ -54,7 +54,6 @@ Class | Method | HTTP request | Description
54
54
  *AccountsApi* | [**deleteAdminUpdateAccountContact**](docs/AccountsApi.md#deleteadminupdateaccountcontact) | **DELETE** /admin/accounts/{id}/contacts/{contact_id} |
55
55
  *AccountsApi* | [**deleteArchiveAccount**](docs/AccountsApi.md#deletearchiveaccount) | **DELETE** /admin/accounts/{id}/archive |
56
56
  *AccountsApi* | [**deleteDeleteClientCredentials**](docs/AccountsApi.md#deletedeleteclientcredentials) | **DELETE** /accounts/me/contacts/credentials/{id} | Delete client credentials
57
- *AccountsApi* | [**deleteGetFinanceSettings**](docs/AccountsApi.md#deletegetfinancesettings) | **DELETE** /admin/accounts/{id}/finance |
58
57
  *AccountsApi* | [**deleteUpdateAccountContact**](docs/AccountsApi.md#deleteupdateaccountcontact) | **DELETE** /accounts/me/contacts/{email} | Delete Account Contact
59
58
  *AccountsApi* | [**getAdminCreateAccountContact**](docs/AccountsApi.md#getadmincreateaccountcontact) | **GET** /admin/accounts/{id}/contacts |
60
59
  *AccountsApi* | [**getGetAccount**](docs/AccountsApi.md#getgetaccount) | **GET** /accounts/me | Get Account
@@ -64,6 +63,7 @@ Class | Method | HTTP request | Description
64
63
  *AccountsApi* | [**getGetAccounts**](docs/AccountsApi.md#getgetaccounts) | **GET** /accounts | Get Accounts
65
64
  *AccountsApi* | [**getGetClientCredentials**](docs/AccountsApi.md#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials
66
65
  *AccountsApi* | [**getGetCustomerKeys**](docs/AccountsApi.md#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys
66
+ *AccountsApi* | [**getGetFinanceSettings**](docs/AccountsApi.md#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance |
67
67
  *AccountsApi* | [**getVerifyEmailAddress**](docs/AccountsApi.md#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address
68
68
  *AccountsApi* | [**patchSetPortalAccess**](docs/AccountsApi.md#patchsetportalaccess) | **PATCH** /admin/accounts/{id}/portal/access/{state} |
69
69
  *AccountsApi* | [**patchSetPrizePromo**](docs/AccountsApi.md#patchsetprizepromo) | **PATCH** /admin/accounts/{id}/prizes/{state} |
package/api.ts CHANGED
@@ -8390,39 +8390,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8390
8390
  const localVarQueryParameter = {} as any;
8391
8391
 
8392
8392
 
8393
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8394
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8395
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8396
-
8397
- return {
8398
- url: toPathString(localVarUrlObj),
8399
- options: localVarRequestOptions,
8400
- };
8401
- },
8402
- /**
8403
- * Get Account Finance
8404
- * @param {string} id Account Xero ID
8405
- * @param {*} [options] Override http request option.
8406
- * @throws {RequiredError}
8407
- */
8408
- deleteGetFinanceSettings: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8409
- // verify required parameter 'id' is not null or undefined
8410
- assertParamExists('deleteGetFinanceSettings', 'id', id)
8411
- const localVarPath = `/admin/accounts/{id}/finance`
8412
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8413
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8414
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8415
- let baseOptions;
8416
- if (configuration) {
8417
- baseOptions = configuration.baseOptions;
8418
- }
8419
-
8420
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
8421
- const localVarHeaderParameter = {} as any;
8422
- const localVarQueryParameter = {} as any;
8423
-
8424
- localVarHeaderParameter['Accept'] = 'application/json';
8425
-
8426
8393
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8427
8394
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8428
8395
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -8740,6 +8707,39 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8740
8707
  options: localVarRequestOptions,
8741
8708
  };
8742
8709
  },
8710
+ /**
8711
+ * Get Account Finance
8712
+ * @param {string} id Account Xero ID
8713
+ * @param {*} [options] Override http request option.
8714
+ * @throws {RequiredError}
8715
+ */
8716
+ getGetFinanceSettings: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8717
+ // verify required parameter 'id' is not null or undefined
8718
+ assertParamExists('getGetFinanceSettings', 'id', id)
8719
+ const localVarPath = `/admin/accounts/{id}/finance`
8720
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8721
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8722
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8723
+ let baseOptions;
8724
+ if (configuration) {
8725
+ baseOptions = configuration.baseOptions;
8726
+ }
8727
+
8728
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8729
+ const localVarHeaderParameter = {} as any;
8730
+ const localVarQueryParameter = {} as any;
8731
+
8732
+ localVarHeaderParameter['Accept'] = 'application/json';
8733
+
8734
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8735
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8736
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8737
+
8738
+ return {
8739
+ url: toPathString(localVarUrlObj),
8740
+ options: localVarRequestOptions,
8741
+ };
8742
+ },
8743
8743
  /**
8744
8744
  * Verify account email address
8745
8745
  * @summary Verify account email address
@@ -9669,18 +9669,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9669
9669
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.deleteDeleteClientCredentials']?.[localVarOperationServerIndex]?.url;
9670
9670
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9671
9671
  },
9672
- /**
9673
- * Get Account Finance
9674
- * @param {string} id Account Xero ID
9675
- * @param {*} [options] Override http request option.
9676
- * @throws {RequiredError}
9677
- */
9678
- async deleteGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>> {
9679
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGetFinanceSettings(id, options);
9680
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9681
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.deleteGetFinanceSettings']?.[localVarOperationServerIndex]?.url;
9682
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9683
- },
9684
9672
  /**
9685
9673
  * Delete Account Contacts
9686
9674
  * @summary Delete Account Contact
@@ -9796,6 +9784,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9796
9784
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetCustomerKeys']?.[localVarOperationServerIndex]?.url;
9797
9785
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9798
9786
  },
9787
+ /**
9788
+ * Get Account Finance
9789
+ * @param {string} id Account Xero ID
9790
+ * @param {*} [options] Override http request option.
9791
+ * @throws {RequiredError}
9792
+ */
9793
+ async getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>> {
9794
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetFinanceSettings(id, options);
9795
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9796
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetFinanceSettings']?.[localVarOperationServerIndex]?.url;
9797
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9798
+ },
9799
9799
  /**
9800
9800
  * Verify account email address
9801
9801
  * @summary Verify account email address
@@ -10162,15 +10162,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10162
10162
  deleteDeleteClientCredentials(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10163
10163
  return localVarFp.deleteDeleteClientCredentials(id, options).then((request) => request(axios, basePath));
10164
10164
  },
10165
- /**
10166
- * Get Account Finance
10167
- * @param {string} id Account Xero ID
10168
- * @param {*} [options] Override http request option.
10169
- * @throws {RequiredError}
10170
- */
10171
- deleteGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO> {
10172
- return localVarFp.deleteGetFinanceSettings(id, options).then((request) => request(axios, basePath));
10173
- },
10174
10165
  /**
10175
10166
  * Delete Account Contacts
10176
10167
  * @summary Delete Account Contact
@@ -10259,6 +10250,15 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
10259
10250
  getGetCustomerKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxKeySummaryDTO>> {
10260
10251
  return localVarFp.getGetCustomerKeys(options).then((request) => request(axios, basePath));
10261
10252
  },
10253
+ /**
10254
+ * Get Account Finance
10255
+ * @param {string} id Account Xero ID
10256
+ * @param {*} [options] Override http request option.
10257
+ * @throws {RequiredError}
10258
+ */
10259
+ getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO> {
10260
+ return localVarFp.getGetFinanceSettings(id, options).then((request) => request(axios, basePath));
10261
+ },
10262
10262
  /**
10263
10263
  * Verify account email address
10264
10264
  * @summary Verify account email address
@@ -10551,16 +10551,6 @@ export class AccountsApi extends BaseAPI {
10551
10551
  return AccountsApiFp(this.configuration).deleteDeleteClientCredentials(id, options).then((request) => request(this.axios, this.basePath));
10552
10552
  }
10553
10553
 
10554
- /**
10555
- * Get Account Finance
10556
- * @param {string} id Account Xero ID
10557
- * @param {*} [options] Override http request option.
10558
- * @throws {RequiredError}
10559
- */
10560
- public deleteGetFinanceSettings(id: string, options?: RawAxiosRequestConfig) {
10561
- return AccountsApiFp(this.configuration).deleteGetFinanceSettings(id, options).then((request) => request(this.axios, this.basePath));
10562
- }
10563
-
10564
10554
  /**
10565
10555
  * Delete Account Contacts
10566
10556
  * @summary Delete Account Contact
@@ -10658,6 +10648,16 @@ export class AccountsApi extends BaseAPI {
10658
10648
  return AccountsApiFp(this.configuration).getGetCustomerKeys(options).then((request) => request(this.axios, this.basePath));
10659
10649
  }
10660
10650
 
10651
+ /**
10652
+ * Get Account Finance
10653
+ * @param {string} id Account Xero ID
10654
+ * @param {*} [options] Override http request option.
10655
+ * @throws {RequiredError}
10656
+ */
10657
+ public getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig) {
10658
+ return AccountsApiFp(this.configuration).getGetFinanceSettings(id, options).then((request) => request(this.axios, this.basePath));
10659
+ }
10660
+
10661
10661
  /**
10662
10662
  * Verify account email address
10663
10663
  * @summary Verify account email address
package/dist/api.d.ts CHANGED
@@ -8211,13 +8211,6 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8211
8211
  * @throws {RequiredError}
8212
8212
  */
8213
8213
  deleteDeleteClientCredentials: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8214
- /**
8215
- * Get Account Finance
8216
- * @param {string} id Account Xero ID
8217
- * @param {*} [options] Override http request option.
8218
- * @throws {RequiredError}
8219
- */
8220
- deleteGetFinanceSettings: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8221
8214
  /**
8222
8215
  * Delete Account Contacts
8223
8216
  * @summary Delete Account Contact
@@ -8288,6 +8281,13 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8288
8281
  * @throws {RequiredError}
8289
8282
  */
8290
8283
  getGetCustomerKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8284
+ /**
8285
+ * Get Account Finance
8286
+ * @param {string} id Account Xero ID
8287
+ * @param {*} [options] Override http request option.
8288
+ * @throws {RequiredError}
8289
+ */
8290
+ getGetFinanceSettings: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8291
8291
  /**
8292
8292
  * Verify account email address
8293
8293
  * @summary Verify account email address
@@ -8519,13 +8519,6 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8519
8519
  * @throws {RequiredError}
8520
8520
  */
8521
8521
  deleteDeleteClientCredentials(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8522
- /**
8523
- * Get Account Finance
8524
- * @param {string} id Account Xero ID
8525
- * @param {*} [options] Override http request option.
8526
- * @throws {RequiredError}
8527
- */
8528
- deleteGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>>;
8529
8522
  /**
8530
8523
  * Delete Account Contacts
8531
8524
  * @summary Delete Account Contact
@@ -8596,6 +8589,13 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8596
8589
  * @throws {RequiredError}
8597
8590
  */
8598
8591
  getGetCustomerKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxKeySummaryDTO>>>;
8592
+ /**
8593
+ * Get Account Finance
8594
+ * @param {string} id Account Xero ID
8595
+ * @param {*} [options] Override http request option.
8596
+ * @throws {RequiredError}
8597
+ */
8598
+ getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>>;
8599
8599
  /**
8600
8600
  * Verify account email address
8601
8601
  * @summary Verify account email address
@@ -8827,13 +8827,6 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8827
8827
  * @throws {RequiredError}
8828
8828
  */
8829
8829
  deleteDeleteClientCredentials(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8830
- /**
8831
- * Get Account Finance
8832
- * @param {string} id Account Xero ID
8833
- * @param {*} [options] Override http request option.
8834
- * @throws {RequiredError}
8835
- */
8836
- deleteGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO>;
8837
8830
  /**
8838
8831
  * Delete Account Contacts
8839
8832
  * @summary Delete Account Contact
@@ -8904,6 +8897,13 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8904
8897
  * @throws {RequiredError}
8905
8898
  */
8906
8899
  getGetCustomerKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxKeySummaryDTO>>;
8900
+ /**
8901
+ * Get Account Finance
8902
+ * @param {string} id Account Xero ID
8903
+ * @param {*} [options] Override http request option.
8904
+ * @throws {RequiredError}
8905
+ */
8906
+ getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO>;
8907
8907
  /**
8908
8908
  * Verify account email address
8909
8909
  * @summary Verify account email address
@@ -9135,13 +9135,6 @@ export declare class AccountsApi extends BaseAPI {
9135
9135
  * @throws {RequiredError}
9136
9136
  */
9137
9137
  deleteDeleteClientCredentials(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9138
- /**
9139
- * Get Account Finance
9140
- * @param {string} id Account Xero ID
9141
- * @param {*} [options] Override http request option.
9142
- * @throws {RequiredError}
9143
- */
9144
- deleteGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountFinanceDTO, any, {}>>;
9145
9138
  /**
9146
9139
  * Delete Account Contacts
9147
9140
  * @summary Delete Account Contact
@@ -9212,6 +9205,13 @@ export declare class AccountsApi extends BaseAPI {
9212
9205
  * @throws {RequiredError}
9213
9206
  */
9214
9207
  getGetCustomerKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxKeySummaryDTO[], any, {}>>;
9208
+ /**
9209
+ * Get Account Finance
9210
+ * @param {string} id Account Xero ID
9211
+ * @param {*} [options] Override http request option.
9212
+ * @throws {RequiredError}
9213
+ */
9214
+ getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountFinanceDTO, any, {}>>;
9215
9215
  /**
9216
9216
  * Verify account email address
9217
9217
  * @summary Verify account email address
package/dist/api.js CHANGED
@@ -551,43 +551,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
551
551
  });
552
552
  });
553
553
  },
554
- /**
555
- * Get Account Finance
556
- * @param {string} id Account Xero ID
557
- * @param {*} [options] Override http request option.
558
- * @throws {RequiredError}
559
- */
560
- deleteGetFinanceSettings: function (id_1) {
561
- var args_1 = [];
562
- for (var _i = 1; _i < arguments.length; _i++) {
563
- args_1[_i - 1] = arguments[_i];
564
- }
565
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
566
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
567
- if (options === void 0) { options = {}; }
568
- return __generator(this, function (_a) {
569
- // verify required parameter 'id' is not null or undefined
570
- (0, common_1.assertParamExists)('deleteGetFinanceSettings', 'id', id);
571
- localVarPath = "/admin/accounts/{id}/finance"
572
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
573
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
574
- if (configuration) {
575
- baseOptions = configuration.baseOptions;
576
- }
577
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
578
- localVarHeaderParameter = {};
579
- localVarQueryParameter = {};
580
- localVarHeaderParameter['Accept'] = 'application/json';
581
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
582
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
583
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
584
- return [2 /*return*/, {
585
- url: (0, common_1.toPathString)(localVarUrlObj),
586
- options: localVarRequestOptions,
587
- }];
588
- });
589
- });
590
- },
591
554
  /**
592
555
  * Delete Account Contacts
593
556
  * @summary Delete Account Contact
@@ -927,6 +890,43 @@ var AccountsApiAxiosParamCreator = function (configuration) {
927
890
  });
928
891
  });
929
892
  },
893
+ /**
894
+ * Get Account Finance
895
+ * @param {string} id Account Xero ID
896
+ * @param {*} [options] Override http request option.
897
+ * @throws {RequiredError}
898
+ */
899
+ getGetFinanceSettings: function (id_1) {
900
+ var args_1 = [];
901
+ for (var _i = 1; _i < arguments.length; _i++) {
902
+ args_1[_i - 1] = arguments[_i];
903
+ }
904
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
905
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
906
+ if (options === void 0) { options = {}; }
907
+ return __generator(this, function (_a) {
908
+ // verify required parameter 'id' is not null or undefined
909
+ (0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
910
+ localVarPath = "/admin/accounts/{id}/finance"
911
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
912
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
913
+ if (configuration) {
914
+ baseOptions = configuration.baseOptions;
915
+ }
916
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
917
+ localVarHeaderParameter = {};
918
+ localVarQueryParameter = {};
919
+ localVarHeaderParameter['Accept'] = 'application/json';
920
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
921
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
922
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
923
+ return [2 /*return*/, {
924
+ url: (0, common_1.toPathString)(localVarUrlObj),
925
+ options: localVarRequestOptions,
926
+ }];
927
+ });
928
+ });
929
+ },
930
930
  /**
931
931
  * Verify account email address
932
932
  * @summary Verify account email address
@@ -1980,28 +1980,6 @@ var AccountsApiFp = function (configuration) {
1980
1980
  });
1981
1981
  });
1982
1982
  },
1983
- /**
1984
- * Get Account Finance
1985
- * @param {string} id Account Xero ID
1986
- * @param {*} [options] Override http request option.
1987
- * @throws {RequiredError}
1988
- */
1989
- deleteGetFinanceSettings: function (id, options) {
1990
- return __awaiter(this, void 0, void 0, function () {
1991
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1992
- var _a, _b, _c;
1993
- return __generator(this, function (_d) {
1994
- switch (_d.label) {
1995
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteGetFinanceSettings(id, options)];
1996
- case 1:
1997
- localVarAxiosArgs = _d.sent();
1998
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1999
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteGetFinanceSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2000
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2001
- }
2002
- });
2003
- });
2004
- },
2005
1983
  /**
2006
1984
  * Delete Account Contacts
2007
1985
  * @summary Delete Account Contact
@@ -2207,6 +2185,28 @@ var AccountsApiFp = function (configuration) {
2207
2185
  });
2208
2186
  });
2209
2187
  },
2188
+ /**
2189
+ * Get Account Finance
2190
+ * @param {string} id Account Xero ID
2191
+ * @param {*} [options] Override http request option.
2192
+ * @throws {RequiredError}
2193
+ */
2194
+ getGetFinanceSettings: function (id, options) {
2195
+ return __awaiter(this, void 0, void 0, function () {
2196
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2197
+ var _a, _b, _c;
2198
+ return __generator(this, function (_d) {
2199
+ switch (_d.label) {
2200
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetFinanceSettings(id, options)];
2201
+ case 1:
2202
+ localVarAxiosArgs = _d.sent();
2203
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2204
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetFinanceSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2205
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2206
+ }
2207
+ });
2208
+ });
2209
+ },
2210
2210
  /**
2211
2211
  * Verify account email address
2212
2212
  * @summary Verify account email address
@@ -2823,15 +2823,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2823
2823
  deleteDeleteClientCredentials: function (id, options) {
2824
2824
  return localVarFp.deleteDeleteClientCredentials(id, options).then(function (request) { return request(axios, basePath); });
2825
2825
  },
2826
- /**
2827
- * Get Account Finance
2828
- * @param {string} id Account Xero ID
2829
- * @param {*} [options] Override http request option.
2830
- * @throws {RequiredError}
2831
- */
2832
- deleteGetFinanceSettings: function (id, options) {
2833
- return localVarFp.deleteGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
2834
- },
2835
2826
  /**
2836
2827
  * Delete Account Contacts
2837
2828
  * @summary Delete Account Contact
@@ -2920,6 +2911,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2920
2911
  getGetCustomerKeys: function (options) {
2921
2912
  return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
2922
2913
  },
2914
+ /**
2915
+ * Get Account Finance
2916
+ * @param {string} id Account Xero ID
2917
+ * @param {*} [options] Override http request option.
2918
+ * @throws {RequiredError}
2919
+ */
2920
+ getGetFinanceSettings: function (id, options) {
2921
+ return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
2922
+ },
2923
2923
  /**
2924
2924
  * Verify account email address
2925
2925
  * @summary Verify account email address
@@ -3216,16 +3216,6 @@ var AccountsApi = /** @class */ (function (_super) {
3216
3216
  var _this = this;
3217
3217
  return (0, exports.AccountsApiFp)(this.configuration).deleteDeleteClientCredentials(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3218
3218
  };
3219
- /**
3220
- * Get Account Finance
3221
- * @param {string} id Account Xero ID
3222
- * @param {*} [options] Override http request option.
3223
- * @throws {RequiredError}
3224
- */
3225
- AccountsApi.prototype.deleteGetFinanceSettings = function (id, options) {
3226
- var _this = this;
3227
- return (0, exports.AccountsApiFp)(this.configuration).deleteGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3228
- };
3229
3219
  /**
3230
3220
  * Delete Account Contacts
3231
3221
  * @summary Delete Account Contact
@@ -3323,6 +3313,16 @@ var AccountsApi = /** @class */ (function (_super) {
3323
3313
  var _this = this;
3324
3314
  return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
3325
3315
  };
3316
+ /**
3317
+ * Get Account Finance
3318
+ * @param {string} id Account Xero ID
3319
+ * @param {*} [options] Override http request option.
3320
+ * @throws {RequiredError}
3321
+ */
3322
+ AccountsApi.prototype.getGetFinanceSettings = function (id, options) {
3323
+ var _this = this;
3324
+ return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3325
+ };
3326
3326
  /**
3327
3327
  * Verify account email address
3328
3328
  * @summary Verify account email address
@@ -7,7 +7,6 @@ All URIs are relative to *https://localhost*
7
7
  |[**deleteAdminUpdateAccountContact**](#deleteadminupdateaccountcontact) | **DELETE** /admin/accounts/{id}/contacts/{contact_id} | |
8
8
  |[**deleteArchiveAccount**](#deletearchiveaccount) | **DELETE** /admin/accounts/{id}/archive | |
9
9
  |[**deleteDeleteClientCredentials**](#deletedeleteclientcredentials) | **DELETE** /accounts/me/contacts/credentials/{id} | Delete client credentials|
10
- |[**deleteGetFinanceSettings**](#deletegetfinancesettings) | **DELETE** /admin/accounts/{id}/finance | |
11
10
  |[**deleteUpdateAccountContact**](#deleteupdateaccountcontact) | **DELETE** /accounts/me/contacts/{email} | Delete Account Contact|
12
11
  |[**getAdminCreateAccountContact**](#getadmincreateaccountcontact) | **GET** /admin/accounts/{id}/contacts | |
13
12
  |[**getGetAccount**](#getgetaccount) | **GET** /accounts/me | Get Account|
@@ -17,6 +16,7 @@ All URIs are relative to *https://localhost*
17
16
  |[**getGetAccounts**](#getgetaccounts) | **GET** /accounts | Get Accounts|
18
17
  |[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\&#39;s client credentials|
19
18
  |[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
19
+ |[**getGetFinanceSettings**](#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance | |
20
20
  |[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
21
21
  |[**patchSetPortalAccess**](#patchsetportalaccess) | **PATCH** /admin/accounts/{id}/portal/access/{state} | |
22
22
  |[**patchSetPrizePromo**](#patchsetprizepromo) | **PATCH** /admin/accounts/{id}/prizes/{state} | |
@@ -208,60 +208,6 @@ No authorization required
208
208
 
209
209
  [[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)
210
210
 
211
- # **deleteGetFinanceSettings**
212
- > AccountFinanceDTO deleteGetFinanceSettings()
213
-
214
- Get Account Finance
215
-
216
- ### Example
217
-
218
- ```typescript
219
- import {
220
- AccountsApi,
221
- Configuration
222
- } from 'yellowgrid-api-ts';
223
-
224
- const configuration = new Configuration();
225
- const apiInstance = new AccountsApi(configuration);
226
-
227
- let id: string; //Account Xero ID (default to undefined)
228
-
229
- const { status, data } = await apiInstance.deleteGetFinanceSettings(
230
- id
231
- );
232
- ```
233
-
234
- ### Parameters
235
-
236
- |Name | Type | Description | Notes|
237
- |------------- | ------------- | ------------- | -------------|
238
- | **id** | [**string**] | Account Xero ID | defaults to undefined|
239
-
240
-
241
- ### Return type
242
-
243
- **AccountFinanceDTO**
244
-
245
- ### Authorization
246
-
247
- No authorization required
248
-
249
- ### HTTP request headers
250
-
251
- - **Content-Type**: Not defined
252
- - **Accept**: application/json
253
-
254
-
255
- ### HTTP response details
256
- | Status code | Description | Response headers |
257
- |-------------|-------------|------------------|
258
- |**200** | Accounts Finance Details | - |
259
- |**400** | Bad Request | - |
260
- |**401** | Unauthorised | - |
261
- |**403** | Access Denied | - |
262
-
263
- [[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)
264
-
265
211
  # **deleteUpdateAccountContact**
266
212
  > deleteUpdateAccountContact()
267
213
 
@@ -736,6 +682,60 @@ No authorization required
736
682
 
737
683
  [[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)
738
684
 
685
+ # **getGetFinanceSettings**
686
+ > AccountFinanceDTO getGetFinanceSettings()
687
+
688
+ Get Account Finance
689
+
690
+ ### Example
691
+
692
+ ```typescript
693
+ import {
694
+ AccountsApi,
695
+ Configuration
696
+ } from 'yellowgrid-api-ts';
697
+
698
+ const configuration = new Configuration();
699
+ const apiInstance = new AccountsApi(configuration);
700
+
701
+ let id: string; //Account Xero ID (default to undefined)
702
+
703
+ const { status, data } = await apiInstance.getGetFinanceSettings(
704
+ id
705
+ );
706
+ ```
707
+
708
+ ### Parameters
709
+
710
+ |Name | Type | Description | Notes|
711
+ |------------- | ------------- | ------------- | -------------|
712
+ | **id** | [**string**] | Account Xero ID | defaults to undefined|
713
+
714
+
715
+ ### Return type
716
+
717
+ **AccountFinanceDTO**
718
+
719
+ ### Authorization
720
+
721
+ No authorization required
722
+
723
+ ### HTTP request headers
724
+
725
+ - **Content-Type**: Not defined
726
+ - **Accept**: application/json
727
+
728
+
729
+ ### HTTP response details
730
+ | Status code | Description | Response headers |
731
+ |-------------|-------------|------------------|
732
+ |**200** | Accounts Finance Details | - |
733
+ |**400** | Bad Request | - |
734
+ |**401** | Unauthorised | - |
735
+ |**403** | Access Denied | - |
736
+
737
+ [[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)
738
+
739
739
  # **getVerifyEmailAddress**
740
740
  > getVerifyEmailAddress()
741
741
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.141-dev.0",
3
+ "version": "3.2.142-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {