yellowgrid-api-ts 3.2.135-dev.0 → 3.2.136-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/dist/api.d.ts CHANGED
@@ -8110,6 +8110,14 @@ export interface XeroLogEntity {
8110
8110
  * AccountsApi - axios parameter creator
8111
8111
  */
8112
8112
  export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
8113
+ /**
8114
+ * Delete Account Contact
8115
+ * @param {string} id Account Xero ID
8116
+ * @param {number} contactId Contact ID
8117
+ * @param {*} [options] Override http request option.
8118
+ * @throws {RequiredError}
8119
+ */
8120
+ deleteAdminUpdateAccountContact: (id: string, contactId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8113
8121
  /**
8114
8122
  * Delete client credentials
8115
8123
  * @summary Delete client credentials
@@ -8126,14 +8134,6 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8126
8134
  * @throws {RequiredError}
8127
8135
  */
8128
8136
  deleteUpdateAccountContact: (email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8129
- /**
8130
- * Delete Account Contact
8131
- * @param {string} id Account Xero ID
8132
- * @param {number} contactId Contact ID
8133
- * @param {*} [options] Override http request option.
8134
- * @throws {RequiredError}
8135
- */
8136
- deleteUpdateContact: (id: string, contactId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8137
8137
  /**
8138
8138
  * Get Account
8139
8139
  * @summary Get Account
@@ -8268,7 +8268,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8268
8268
  * @param {*} [options] Override http request option.
8269
8269
  * @throws {RequiredError}
8270
8270
  */
8271
- postCreateContact: (id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8271
+ postAdminCreateAccountContact: (id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8272
8272
  /**
8273
8273
  * Add Account Contacts
8274
8274
  * @summary Add Account Contact
@@ -8334,6 +8334,15 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8334
8334
  * @throws {RequiredError}
8335
8335
  */
8336
8336
  postSubmitResellerApplication: (creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8337
+ /**
8338
+ * Update Account Contact
8339
+ * @param {string} id Account Xero ID
8340
+ * @param {number} contactId Contact ID
8341
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8342
+ * @param {*} [options] Override http request option.
8343
+ * @throws {RequiredError}
8344
+ */
8345
+ putAdminUpdateAccountContact: (id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8337
8346
  /**
8338
8347
  * Update Account Contacts
8339
8348
  * @summary Update Account Contact
@@ -8351,15 +8360,6 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8351
8360
  * @throws {RequiredError}
8352
8361
  */
8353
8362
  putUpdateBillingAddress: (id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8354
- /**
8355
- * Update Account Contact
8356
- * @param {string} id Account Xero ID
8357
- * @param {number} contactId Contact ID
8358
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8359
- * @param {*} [options] Override http request option.
8360
- * @throws {RequiredError}
8361
- */
8362
- putUpdateContact: (id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8363
8363
  /**
8364
8364
  * Update Account Shipping Address
8365
8365
  * @param {string} id Xero ID
@@ -8373,6 +8373,14 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8373
8373
  * AccountsApi - functional programming interface
8374
8374
  */
8375
8375
  export declare const AccountsApiFp: (configuration?: Configuration) => {
8376
+ /**
8377
+ * Delete Account Contact
8378
+ * @param {string} id Account Xero ID
8379
+ * @param {number} contactId Contact ID
8380
+ * @param {*} [options] Override http request option.
8381
+ * @throws {RequiredError}
8382
+ */
8383
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8376
8384
  /**
8377
8385
  * Delete client credentials
8378
8386
  * @summary Delete client credentials
@@ -8389,14 +8397,6 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8389
8397
  * @throws {RequiredError}
8390
8398
  */
8391
8399
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8392
- /**
8393
- * Delete Account Contact
8394
- * @param {string} id Account Xero ID
8395
- * @param {number} contactId Contact ID
8396
- * @param {*} [options] Override http request option.
8397
- * @throws {RequiredError}
8398
- */
8399
- deleteUpdateContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8400
8400
  /**
8401
8401
  * Get Account
8402
8402
  * @summary Get Account
@@ -8531,7 +8531,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8531
8531
  * @param {*} [options] Override http request option.
8532
8532
  * @throws {RequiredError}
8533
8533
  */
8534
- postCreateContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8534
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8535
8535
  /**
8536
8536
  * Add Account Contacts
8537
8537
  * @summary Add Account Contact
@@ -8597,6 +8597,15 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8597
8597
  * @throws {RequiredError}
8598
8598
  */
8599
8599
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8600
+ /**
8601
+ * Update Account Contact
8602
+ * @param {string} id Account Xero ID
8603
+ * @param {number} contactId Contact ID
8604
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8605
+ * @param {*} [options] Override http request option.
8606
+ * @throws {RequiredError}
8607
+ */
8608
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8600
8609
  /**
8601
8610
  * Update Account Contacts
8602
8611
  * @summary Update Account Contact
@@ -8614,15 +8623,6 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8614
8623
  * @throws {RequiredError}
8615
8624
  */
8616
8625
  putUpdateBillingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8617
- /**
8618
- * Update Account Contact
8619
- * @param {string} id Account Xero ID
8620
- * @param {number} contactId Contact ID
8621
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8622
- * @param {*} [options] Override http request option.
8623
- * @throws {RequiredError}
8624
- */
8625
- putUpdateContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8626
8626
  /**
8627
8627
  * Update Account Shipping Address
8628
8628
  * @param {string} id Xero ID
@@ -8636,6 +8636,14 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8636
8636
  * AccountsApi - factory interface
8637
8637
  */
8638
8638
  export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8639
+ /**
8640
+ * Delete Account Contact
8641
+ * @param {string} id Account Xero ID
8642
+ * @param {number} contactId Contact ID
8643
+ * @param {*} [options] Override http request option.
8644
+ * @throws {RequiredError}
8645
+ */
8646
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8639
8647
  /**
8640
8648
  * Delete client credentials
8641
8649
  * @summary Delete client credentials
@@ -8652,14 +8660,6 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8652
8660
  * @throws {RequiredError}
8653
8661
  */
8654
8662
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8655
- /**
8656
- * Delete Account Contact
8657
- * @param {string} id Account Xero ID
8658
- * @param {number} contactId Contact ID
8659
- * @param {*} [options] Override http request option.
8660
- * @throws {RequiredError}
8661
- */
8662
- deleteUpdateContact(id: string, contactId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8663
8663
  /**
8664
8664
  * Get Account
8665
8665
  * @summary Get Account
@@ -8794,7 +8794,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8794
8794
  * @param {*} [options] Override http request option.
8795
8795
  * @throws {RequiredError}
8796
8796
  */
8797
- postCreateContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8797
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8798
8798
  /**
8799
8799
  * Add Account Contacts
8800
8800
  * @summary Add Account Contact
@@ -8860,6 +8860,15 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8860
8860
  * @throws {RequiredError}
8861
8861
  */
8862
8862
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8863
+ /**
8864
+ * Update Account Contact
8865
+ * @param {string} id Account Xero ID
8866
+ * @param {number} contactId Contact ID
8867
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8868
+ * @param {*} [options] Override http request option.
8869
+ * @throws {RequiredError}
8870
+ */
8871
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8863
8872
  /**
8864
8873
  * Update Account Contacts
8865
8874
  * @summary Update Account Contact
@@ -8877,15 +8886,6 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8877
8886
  * @throws {RequiredError}
8878
8887
  */
8879
8888
  putUpdateBillingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8880
- /**
8881
- * Update Account Contact
8882
- * @param {string} id Account Xero ID
8883
- * @param {number} contactId Contact ID
8884
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8885
- * @param {*} [options] Override http request option.
8886
- * @throws {RequiredError}
8887
- */
8888
- putUpdateContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8889
8889
  /**
8890
8890
  * Update Account Shipping Address
8891
8891
  * @param {string} id Xero ID
@@ -8899,6 +8899,14 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8899
8899
  * AccountsApi - object-oriented interface
8900
8900
  */
8901
8901
  export declare class AccountsApi extends BaseAPI {
8902
+ /**
8903
+ * Delete Account Contact
8904
+ * @param {string} id Account Xero ID
8905
+ * @param {number} contactId Contact ID
8906
+ * @param {*} [options] Override http request option.
8907
+ * @throws {RequiredError}
8908
+ */
8909
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8902
8910
  /**
8903
8911
  * Delete client credentials
8904
8912
  * @summary Delete client credentials
@@ -8915,14 +8923,6 @@ export declare class AccountsApi extends BaseAPI {
8915
8923
  * @throws {RequiredError}
8916
8924
  */
8917
8925
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8918
- /**
8919
- * Delete Account Contact
8920
- * @param {string} id Account Xero ID
8921
- * @param {number} contactId Contact ID
8922
- * @param {*} [options] Override http request option.
8923
- * @throws {RequiredError}
8924
- */
8925
- deleteUpdateContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8926
8926
  /**
8927
8927
  * Get Account
8928
8928
  * @summary Get Account
@@ -9057,7 +9057,7 @@ export declare class AccountsApi extends BaseAPI {
9057
9057
  * @param {*} [options] Override http request option.
9058
9058
  * @throws {RequiredError}
9059
9059
  */
9060
- postCreateContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9060
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9061
9061
  /**
9062
9062
  * Add Account Contacts
9063
9063
  * @summary Add Account Contact
@@ -9123,6 +9123,15 @@ export declare class AccountsApi extends BaseAPI {
9123
9123
  * @throws {RequiredError}
9124
9124
  */
9125
9125
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9126
+ /**
9127
+ * Update Account Contact
9128
+ * @param {string} id Account Xero ID
9129
+ * @param {number} contactId Contact ID
9130
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
9131
+ * @param {*} [options] Override http request option.
9132
+ * @throws {RequiredError}
9133
+ */
9134
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9126
9135
  /**
9127
9136
  * Update Account Contacts
9128
9137
  * @summary Update Account Contact
@@ -9140,15 +9149,6 @@ export declare class AccountsApi extends BaseAPI {
9140
9149
  * @throws {RequiredError}
9141
9150
  */
9142
9151
  putUpdateBillingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9143
- /**
9144
- * Update Account Contact
9145
- * @param {string} id Account Xero ID
9146
- * @param {number} contactId Contact ID
9147
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
9148
- * @param {*} [options] Override http request option.
9149
- * @throws {RequiredError}
9150
- */
9151
- putUpdateContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9152
9152
  /**
9153
9153
  * Update Account Shipping Address
9154
9154
  * @param {string} id Xero ID