yellowgrid-api-ts 3.2.135-dev.0 → 3.2.137-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
@@ -8127,13 +8135,12 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8127
8135
  */
8128
8136
  deleteUpdateAccountContact: (email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8129
8137
  /**
8130
- * Delete Account Contact
8138
+ * Get Account Contacts
8131
8139
  * @param {string} id Account Xero ID
8132
- * @param {number} contactId Contact ID
8133
8140
  * @param {*} [options] Override http request option.
8134
8141
  * @throws {RequiredError}
8135
8142
  */
8136
- deleteUpdateContact: (id: string, contactId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8143
+ getAdminCreateAccountContact: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8137
8144
  /**
8138
8145
  * Get Account
8139
8146
  * @summary Get Account
@@ -8268,7 +8275,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8268
8275
  * @param {*} [options] Override http request option.
8269
8276
  * @throws {RequiredError}
8270
8277
  */
8271
- postCreateContact: (id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8278
+ postAdminCreateAccountContact: (id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8272
8279
  /**
8273
8280
  * Add Account Contacts
8274
8281
  * @summary Add Account Contact
@@ -8334,6 +8341,15 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8334
8341
  * @throws {RequiredError}
8335
8342
  */
8336
8343
  postSubmitResellerApplication: (creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8344
+ /**
8345
+ * Update Account Contact
8346
+ * @param {string} id Account Xero ID
8347
+ * @param {number} contactId Contact ID
8348
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8349
+ * @param {*} [options] Override http request option.
8350
+ * @throws {RequiredError}
8351
+ */
8352
+ putAdminUpdateAccountContact: (id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8337
8353
  /**
8338
8354
  * Update Account Contacts
8339
8355
  * @summary Update Account Contact
@@ -8351,15 +8367,6 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8351
8367
  * @throws {RequiredError}
8352
8368
  */
8353
8369
  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
8370
  /**
8364
8371
  * Update Account Shipping Address
8365
8372
  * @param {string} id Xero ID
@@ -8373,6 +8380,14 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8373
8380
  * AccountsApi - functional programming interface
8374
8381
  */
8375
8382
  export declare const AccountsApiFp: (configuration?: Configuration) => {
8383
+ /**
8384
+ * Delete Account Contact
8385
+ * @param {string} id Account Xero ID
8386
+ * @param {number} contactId Contact ID
8387
+ * @param {*} [options] Override http request option.
8388
+ * @throws {RequiredError}
8389
+ */
8390
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8376
8391
  /**
8377
8392
  * Delete client credentials
8378
8393
  * @summary Delete client credentials
@@ -8390,13 +8405,12 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8390
8405
  */
8391
8406
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8392
8407
  /**
8393
- * Delete Account Contact
8408
+ * Get Account Contacts
8394
8409
  * @param {string} id Account Xero ID
8395
- * @param {number} contactId Contact ID
8396
8410
  * @param {*} [options] Override http request option.
8397
8411
  * @throws {RequiredError}
8398
8412
  */
8399
- deleteUpdateContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8413
+ getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountContactModel>>>;
8400
8414
  /**
8401
8415
  * Get Account
8402
8416
  * @summary Get Account
@@ -8531,7 +8545,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8531
8545
  * @param {*} [options] Override http request option.
8532
8546
  * @throws {RequiredError}
8533
8547
  */
8534
- postCreateContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8548
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8535
8549
  /**
8536
8550
  * Add Account Contacts
8537
8551
  * @summary Add Account Contact
@@ -8597,6 +8611,15 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8597
8611
  * @throws {RequiredError}
8598
8612
  */
8599
8613
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8614
+ /**
8615
+ * Update Account Contact
8616
+ * @param {string} id Account Xero ID
8617
+ * @param {number} contactId Contact ID
8618
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8619
+ * @param {*} [options] Override http request option.
8620
+ * @throws {RequiredError}
8621
+ */
8622
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8600
8623
  /**
8601
8624
  * Update Account Contacts
8602
8625
  * @summary Update Account Contact
@@ -8614,15 +8637,6 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8614
8637
  * @throws {RequiredError}
8615
8638
  */
8616
8639
  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
8640
  /**
8627
8641
  * Update Account Shipping Address
8628
8642
  * @param {string} id Xero ID
@@ -8636,6 +8650,14 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8636
8650
  * AccountsApi - factory interface
8637
8651
  */
8638
8652
  export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8653
+ /**
8654
+ * Delete Account Contact
8655
+ * @param {string} id Account Xero ID
8656
+ * @param {number} contactId Contact ID
8657
+ * @param {*} [options] Override http request option.
8658
+ * @throws {RequiredError}
8659
+ */
8660
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8639
8661
  /**
8640
8662
  * Delete client credentials
8641
8663
  * @summary Delete client credentials
@@ -8653,13 +8675,12 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8653
8675
  */
8654
8676
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8655
8677
  /**
8656
- * Delete Account Contact
8678
+ * Get Account Contacts
8657
8679
  * @param {string} id Account Xero ID
8658
- * @param {number} contactId Contact ID
8659
8680
  * @param {*} [options] Override http request option.
8660
8681
  * @throws {RequiredError}
8661
8682
  */
8662
- deleteUpdateContact(id: string, contactId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8683
+ getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>>;
8663
8684
  /**
8664
8685
  * Get Account
8665
8686
  * @summary Get Account
@@ -8794,7 +8815,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8794
8815
  * @param {*} [options] Override http request option.
8795
8816
  * @throws {RequiredError}
8796
8817
  */
8797
- postCreateContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8818
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8798
8819
  /**
8799
8820
  * Add Account Contacts
8800
8821
  * @summary Add Account Contact
@@ -8860,6 +8881,15 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8860
8881
  * @throws {RequiredError}
8861
8882
  */
8862
8883
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8884
+ /**
8885
+ * Update Account Contact
8886
+ * @param {string} id Account Xero ID
8887
+ * @param {number} contactId Contact ID
8888
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8889
+ * @param {*} [options] Override http request option.
8890
+ * @throws {RequiredError}
8891
+ */
8892
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8863
8893
  /**
8864
8894
  * Update Account Contacts
8865
8895
  * @summary Update Account Contact
@@ -8877,15 +8907,6 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8877
8907
  * @throws {RequiredError}
8878
8908
  */
8879
8909
  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
8910
  /**
8890
8911
  * Update Account Shipping Address
8891
8912
  * @param {string} id Xero ID
@@ -8899,6 +8920,14 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8899
8920
  * AccountsApi - object-oriented interface
8900
8921
  */
8901
8922
  export declare class AccountsApi extends BaseAPI {
8923
+ /**
8924
+ * Delete Account Contact
8925
+ * @param {string} id Account Xero ID
8926
+ * @param {number} contactId Contact ID
8927
+ * @param {*} [options] Override http request option.
8928
+ * @throws {RequiredError}
8929
+ */
8930
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8902
8931
  /**
8903
8932
  * Delete client credentials
8904
8933
  * @summary Delete client credentials
@@ -8916,13 +8945,12 @@ export declare class AccountsApi extends BaseAPI {
8916
8945
  */
8917
8946
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8918
8947
  /**
8919
- * Delete Account Contact
8948
+ * Get Account Contacts
8920
8949
  * @param {string} id Account Xero ID
8921
- * @param {number} contactId Contact ID
8922
8950
  * @param {*} [options] Override http request option.
8923
8951
  * @throws {RequiredError}
8924
8952
  */
8925
- deleteUpdateContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8953
+ getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountContactModel[], any, {}>>;
8926
8954
  /**
8927
8955
  * Get Account
8928
8956
  * @summary Get Account
@@ -9057,7 +9085,7 @@ export declare class AccountsApi extends BaseAPI {
9057
9085
  * @param {*} [options] Override http request option.
9058
9086
  * @throws {RequiredError}
9059
9087
  */
9060
- postCreateContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9088
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9061
9089
  /**
9062
9090
  * Add Account Contacts
9063
9091
  * @summary Add Account Contact
@@ -9123,6 +9151,15 @@ export declare class AccountsApi extends BaseAPI {
9123
9151
  * @throws {RequiredError}
9124
9152
  */
9125
9153
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9154
+ /**
9155
+ * Update Account Contact
9156
+ * @param {string} id Account Xero ID
9157
+ * @param {number} contactId Contact ID
9158
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
9159
+ * @param {*} [options] Override http request option.
9160
+ * @throws {RequiredError}
9161
+ */
9162
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9126
9163
  /**
9127
9164
  * Update Account Contacts
9128
9165
  * @summary Update Account Contact
@@ -9140,15 +9177,6 @@ export declare class AccountsApi extends BaseAPI {
9140
9177
  * @throws {RequiredError}
9141
9178
  */
9142
9179
  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
9180
  /**
9153
9181
  * Update Account Shipping Address
9154
9182
  * @param {string} id Xero ID