yellowgrid-api-ts 3.2.137-dev.0 → 3.2.138-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,7 @@ Class | Method | HTTP request | Description
54
54
  *AccountsApi* | [**deleteAdminUpdateAccountContact**](docs/AccountsApi.md#deleteadminupdateaccountcontact) | **DELETE** /admin/accounts/{id}/contacts/{contact_id} |
55
55
  *AccountsApi* | [**deleteDeleteClientCredentials**](docs/AccountsApi.md#deletedeleteclientcredentials) | **DELETE** /accounts/me/contacts/credentials/{id} | Delete client credentials
56
56
  *AccountsApi* | [**deleteUpdateAccountContact**](docs/AccountsApi.md#deleteupdateaccountcontact) | **DELETE** /accounts/me/contacts/{email} | Delete Account Contact
57
- *AccountsApi* | [**getAdminCreateAccountContact**](docs/AccountsApi.md#getadmincreateaccountcontact) | **GET** /admin/accounts/{id}/contacts/ |
57
+ *AccountsApi* | [**getAdminGetAccountContacts**](docs/AccountsApi.md#getadmingetaccountcontacts) | **GET** /admin/accounts/{id}/contacts |
58
58
  *AccountsApi* | [**getGetAccount**](docs/AccountsApi.md#getgetaccount) | **GET** /accounts/me | Get Account
59
59
  *AccountsApi* | [**getGetAccountContacts**](docs/AccountsApi.md#getgetaccountcontacts) | **GET** /accounts/me/contacts | Get Account Contacts
60
60
  *AccountsApi* | [**getGetAccountDetailedSummary**](docs/AccountsApi.md#getgetaccountdetailedsummary) | **GET** /accounts/{id}/summary | Get Account Detailed Summary
package/api.ts CHANGED
@@ -8323,10 +8323,10 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
8323
8323
  * @param {*} [options] Override http request option.
8324
8324
  * @throws {RequiredError}
8325
8325
  */
8326
- getAdminCreateAccountContact: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8326
+ getAdminGetAccountContacts: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8327
8327
  // verify required parameter 'id' is not null or undefined
8328
- assertParamExists('getAdminCreateAccountContact', 'id', id)
8329
- const localVarPath = `/admin/accounts/{id}/contacts/`
8328
+ assertParamExists('getAdminGetAccountContacts', 'id', id)
8329
+ const localVarPath = `/admin/accounts/{id}/contacts`
8330
8330
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8331
8331
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8332
8332
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9420,10 +9420,10 @@ export const AccountsApiFp = function(configuration?: Configuration) {
9420
9420
  * @param {*} [options] Override http request option.
9421
9421
  * @throws {RequiredError}
9422
9422
  */
9423
- async getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountContactModel>>> {
9424
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAdminCreateAccountContact(id, options);
9423
+ async getAdminGetAccountContacts(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountContactModel>>> {
9424
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAdminGetAccountContacts(id, options);
9425
9425
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9426
- const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAdminCreateAccountContact']?.[localVarOperationServerIndex]?.url;
9426
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAdminGetAccountContacts']?.[localVarOperationServerIndex]?.url;
9427
9427
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9428
9428
  },
9429
9429
  /**
@@ -9850,8 +9850,8 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
9850
9850
  * @param {*} [options] Override http request option.
9851
9851
  * @throws {RequiredError}
9852
9852
  */
9853
- getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
9854
- return localVarFp.getAdminCreateAccountContact(id, options).then((request) => request(axios, basePath));
9853
+ getAdminGetAccountContacts(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
9854
+ return localVarFp.getAdminGetAccountContacts(id, options).then((request) => request(axios, basePath));
9855
9855
  },
9856
9856
  /**
9857
9857
  * Get Account
@@ -10191,8 +10191,8 @@ export class AccountsApi extends BaseAPI {
10191
10191
  * @param {*} [options] Override http request option.
10192
10192
  * @throws {RequiredError}
10193
10193
  */
10194
- public getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig) {
10195
- return AccountsApiFp(this.configuration).getAdminCreateAccountContact(id, options).then((request) => request(this.axios, this.basePath));
10194
+ public getAdminGetAccountContacts(id: string, options?: RawAxiosRequestConfig) {
10195
+ return AccountsApiFp(this.configuration).getAdminGetAccountContacts(id, options).then((request) => request(this.axios, this.basePath));
10196
10196
  }
10197
10197
 
10198
10198
  /**
package/dist/api.d.ts CHANGED
@@ -8140,7 +8140,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8140
8140
  * @param {*} [options] Override http request option.
8141
8141
  * @throws {RequiredError}
8142
8142
  */
8143
- getAdminCreateAccountContact: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8143
+ getAdminGetAccountContacts: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8144
8144
  /**
8145
8145
  * Get Account
8146
8146
  * @summary Get Account
@@ -8410,7 +8410,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8410
8410
  * @param {*} [options] Override http request option.
8411
8411
  * @throws {RequiredError}
8412
8412
  */
8413
- getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountContactModel>>>;
8413
+ getAdminGetAccountContacts(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountContactModel>>>;
8414
8414
  /**
8415
8415
  * Get Account
8416
8416
  * @summary Get Account
@@ -8680,7 +8680,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8680
8680
  * @param {*} [options] Override http request option.
8681
8681
  * @throws {RequiredError}
8682
8682
  */
8683
- getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>>;
8683
+ getAdminGetAccountContacts(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>>;
8684
8684
  /**
8685
8685
  * Get Account
8686
8686
  * @summary Get Account
@@ -8950,7 +8950,7 @@ export declare class AccountsApi extends BaseAPI {
8950
8950
  * @param {*} [options] Override http request option.
8951
8951
  * @throws {RequiredError}
8952
8952
  */
8953
- getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountContactModel[], any, {}>>;
8953
+ getAdminGetAccountContacts(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountContactModel[], any, {}>>;
8954
8954
  /**
8955
8955
  * Get Account
8956
8956
  * @summary Get Account
package/dist/api.js CHANGED
@@ -549,7 +549,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
549
549
  * @param {*} [options] Override http request option.
550
550
  * @throws {RequiredError}
551
551
  */
552
- getAdminCreateAccountContact: function (id_1) {
552
+ getAdminGetAccountContacts: function (id_1) {
553
553
  var args_1 = [];
554
554
  for (var _i = 1; _i < arguments.length; _i++) {
555
555
  args_1[_i - 1] = arguments[_i];
@@ -559,8 +559,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
559
559
  if (options === void 0) { options = {}; }
560
560
  return __generator(this, function (_a) {
561
561
  // verify required parameter 'id' is not null or undefined
562
- (0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
563
- localVarPath = "/admin/accounts/{id}/contacts/"
562
+ (0, common_1.assertParamExists)('getAdminGetAccountContacts', 'id', id);
563
+ localVarPath = "/admin/accounts/{id}/contacts"
564
564
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
565
565
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
566
566
  if (configuration) {
@@ -1785,17 +1785,17 @@ var AccountsApiFp = function (configuration) {
1785
1785
  * @param {*} [options] Override http request option.
1786
1786
  * @throws {RequiredError}
1787
1787
  */
1788
- getAdminCreateAccountContact: function (id, options) {
1788
+ getAdminGetAccountContacts: function (id, options) {
1789
1789
  return __awaiter(this, void 0, void 0, function () {
1790
1790
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1791
1791
  var _a, _b, _c;
1792
1792
  return __generator(this, function (_d) {
1793
1793
  switch (_d.label) {
1794
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAdminCreateAccountContact(id, options)];
1794
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAdminGetAccountContacts(id, options)];
1795
1795
  case 1:
1796
1796
  localVarAxiosArgs = _d.sent();
1797
1797
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1798
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAdminCreateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1798
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAdminGetAccountContacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1799
1799
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1800
1800
  }
1801
1801
  });
@@ -2515,8 +2515,8 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2515
2515
  * @param {*} [options] Override http request option.
2516
2516
  * @throws {RequiredError}
2517
2517
  */
2518
- getAdminCreateAccountContact: function (id, options) {
2519
- return localVarFp.getAdminCreateAccountContact(id, options).then(function (request) { return request(axios, basePath); });
2518
+ getAdminGetAccountContacts: function (id, options) {
2519
+ return localVarFp.getAdminGetAccountContacts(id, options).then(function (request) { return request(axios, basePath); });
2520
2520
  },
2521
2521
  /**
2522
2522
  * Get Account
@@ -2860,9 +2860,9 @@ var AccountsApi = /** @class */ (function (_super) {
2860
2860
  * @param {*} [options] Override http request option.
2861
2861
  * @throws {RequiredError}
2862
2862
  */
2863
- AccountsApi.prototype.getAdminCreateAccountContact = function (id, options) {
2863
+ AccountsApi.prototype.getAdminGetAccountContacts = function (id, options) {
2864
2864
  var _this = this;
2865
- return (0, exports.AccountsApiFp)(this.configuration).getAdminCreateAccountContact(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2865
+ return (0, exports.AccountsApiFp)(this.configuration).getAdminGetAccountContacts(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2866
2866
  };
2867
2867
  /**
2868
2868
  * Get Account
@@ -7,7 +7,7 @@ All URIs are relative to *https://localhost*
7
7
  |[**deleteAdminUpdateAccountContact**](#deleteadminupdateaccountcontact) | **DELETE** /admin/accounts/{id}/contacts/{contact_id} | |
8
8
  |[**deleteDeleteClientCredentials**](#deletedeleteclientcredentials) | **DELETE** /accounts/me/contacts/credentials/{id} | Delete client credentials|
9
9
  |[**deleteUpdateAccountContact**](#deleteupdateaccountcontact) | **DELETE** /accounts/me/contacts/{email} | Delete Account Contact|
10
- |[**getAdminCreateAccountContact**](#getadmincreateaccountcontact) | **GET** /admin/accounts/{id}/contacts/ | |
10
+ |[**getAdminGetAccountContacts**](#getadmingetaccountcontacts) | **GET** /admin/accounts/{id}/contacts | |
11
11
  |[**getGetAccount**](#getgetaccount) | **GET** /accounts/me | Get Account|
12
12
  |[**getGetAccountContacts**](#getgetaccountcontacts) | **GET** /accounts/me/contacts | Get Account Contacts|
13
13
  |[**getGetAccountDetailedSummary**](#getgetaccountdetailedsummary) | **GET** /accounts/{id}/summary | Get Account Detailed Summary|
@@ -203,8 +203,8 @@ No authorization required
203
203
 
204
204
  [[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)
205
205
 
206
- # **getAdminCreateAccountContact**
207
- > Array<AccountContactModel> getAdminCreateAccountContact()
206
+ # **getAdminGetAccountContacts**
207
+ > Array<AccountContactModel> getAdminGetAccountContacts()
208
208
 
209
209
  Get Account Contacts
210
210
 
@@ -221,7 +221,7 @@ const apiInstance = new AccountsApi(configuration);
221
221
 
222
222
  let id: string; //Account Xero ID (default to undefined)
223
223
 
224
- const { status, data } = await apiInstance.getAdminCreateAccountContact(
224
+ const { status, data } = await apiInstance.getAdminGetAccountContacts(
225
225
  id
226
226
  );
227
227
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.137-dev.0",
3
+ "version": "3.2.138-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {