yellowgrid-api-ts 3.2.132 → 3.2.133

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.
Files changed (37) hide show
  1. package/.openapi-generator/FILES +21 -2
  2. package/README.md +45 -2
  3. package/api.ts +2184 -128
  4. package/dist/api.d.ts +1175 -28
  5. package/dist/api.js +2244 -219
  6. package/dist/models/HostingPriceListEnum.d.ts +28 -0
  7. package/dist/models/HostingPriceListEnum.js +30 -0
  8. package/docs/AccountAddressesDTO.md +25 -0
  9. package/docs/AccountFinanceDTO.md +37 -0
  10. package/docs/AccountsApi.md +1331 -53
  11. package/docs/AddressDTO.md +31 -0
  12. package/docs/AdminUserModel.md +2 -0
  13. package/docs/CRMApi.md +120 -0
  14. package/docs/{PostAddAdminNoteRequest.md → CreateCrmNoteBody.md} +3 -3
  15. package/docs/CreditAccountEntity.md +4 -0
  16. package/docs/CrmActivitiesResponseDTO.md +23 -0
  17. package/docs/CrmActivityDTO.md +33 -0
  18. package/docs/CrmDateActivitiesDTO.md +23 -0
  19. package/docs/CrmNoteEntity.md +39 -0
  20. package/docs/CrmNoteModel.md +39 -0
  21. package/docs/NumberPortAdminNoteBody.md +20 -0
  22. package/docs/NumberPortingApi.md +5 -5
  23. package/docs/PartnerDTO.md +39 -0
  24. package/docs/{PatchSetTcxWizardCnameRequest.md → PatchUpdateAccountCnameRequest.md} +3 -3
  25. package/docs/PatchUpdateAccountCompanyNumberRequest.md +20 -0
  26. package/docs/PatchUpdateAccountPhoneRequest.md +20 -0
  27. package/docs/PatchUpdateAccountVatNumberRequest.md +20 -0
  28. package/docs/PatchUpdateCreditLimitRequest.md +20 -0
  29. package/docs/PatchUpdatePriceListRequest.md +20 -0
  30. package/docs/PatchUpdateSipChannelCostRequest.md +20 -0
  31. package/docs/PatchUpdateTcxHostingPriceListRequest.md +20 -0
  32. package/docs/PatchUpdateTcxPartnerIdRequest.md +20 -0
  33. package/docs/PortalAccountModel.md +4 -2
  34. package/docs/PostSendWelcomeEmailRequest.md +20 -0
  35. package/docs/ProspectDTO.md +2 -0
  36. package/models/HostingPriceListEnum.ts +29 -0
  37. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -43,6 +43,17 @@ export interface AbstractOrderRequestDTO {
43
43
  */
44
44
  'quote'?: boolean;
45
45
  }
46
+ /**
47
+ * Account Addresses
48
+ */
49
+ export interface AccountAddressesDTO {
50
+ 'billingAddress'?: AddressDTO;
51
+ 'shippingAddress'?: AddressDTO;
52
+ /**
53
+ * Addresses
54
+ */
55
+ 'previousShippingAddreses'?: Array<AddressDTO>;
56
+ }
46
57
  /**
47
58
  * AccountContactsEntity
48
59
  */
@@ -240,6 +251,44 @@ export interface AccountDetailedSummaryDTO {
240
251
  */
241
252
  'balance'?: number | null;
242
253
  }
254
+ /**
255
+ * Account Finance DTO
256
+ */
257
+ export interface AccountFinanceDTO {
258
+ /**
259
+ * Account ID
260
+ */
261
+ 'id'?: number;
262
+ /**
263
+ * Account Xero ID
264
+ */
265
+ 'xeroId'?: string;
266
+ /**
267
+ * Account Number
268
+ */
269
+ 'accountNumber'?: string;
270
+ /**
271
+ * Credit Limit
272
+ */
273
+ 'creditLimit'?: number;
274
+ /**
275
+ * Balance Used
276
+ */
277
+ 'balance'?: number;
278
+ /**
279
+ * Overdue Amount
280
+ */
281
+ 'overdue'?: number;
282
+ 'priceList'?: CustomerPriceListEnum;
283
+ /**
284
+ * SIP Trunk Channel Cost
285
+ */
286
+ 'sipChannelCost'?: number;
287
+ /**
288
+ * Xero Contact URL
289
+ */
290
+ 'xeroUrl'?: string;
291
+ }
243
292
  /**
244
293
  * New Account Request
245
294
  */
@@ -351,6 +400,35 @@ export interface AccountsResponseModel {
351
400
  */
352
401
  'totalResults'?: number;
353
402
  }
403
+ /**
404
+ * Address
405
+ */
406
+ export interface AddressDTO {
407
+ /**
408
+ * Address Line 1
409
+ */
410
+ 'addressLine1'?: string;
411
+ /**
412
+ * Address Line 2
413
+ */
414
+ 'addressLine2'?: string;
415
+ /**
416
+ * City
417
+ */
418
+ 'city'?: string;
419
+ /**
420
+ * Region
421
+ */
422
+ 'region'?: string;
423
+ /**
424
+ * Postal Code
425
+ */
426
+ 'postalCode'?: string;
427
+ /**
428
+ * Country
429
+ */
430
+ 'iso'?: string;
431
+ }
354
432
  /**
355
433
  * Order Address
356
434
  */
@@ -593,6 +671,10 @@ export type AdminOrderRequestDTOPaymentMethodEnum = typeof AdminOrderRequestDTOP
593
671
  * Admin User
594
672
  */
595
673
  export interface AdminUserModel {
674
+ /**
675
+ * ID
676
+ */
677
+ 'id'?: number;
596
678
  /**
597
679
  * First Name
598
680
  */
@@ -839,6 +921,7 @@ export declare const AuditLogEntityTypeEnum: {
839
921
  readonly ApiLog: "api_log";
840
922
  readonly PopsBatches: "pops_batches";
841
923
  readonly PopsCourierPrices: "pops_courier_prices";
924
+ readonly PopsCrmNotes: "pops_crm_notes";
842
925
  readonly PopsCreditAccounts: "pops_credit_accounts";
843
926
  readonly PopsCreditNotes: "pops_credit_notes";
844
927
  readonly PopsCreditNotesItems: "pops_credit_notes_items";
@@ -1321,6 +1404,12 @@ export interface CourierPriceEntity {
1321
1404
  */
1322
1405
  'maxKg'?: number;
1323
1406
  }
1407
+ export interface CreateCrmNoteBody {
1408
+ /**
1409
+ * Note
1410
+ */
1411
+ 'note'?: string;
1412
+ }
1324
1413
  /**
1325
1414
  * Credit Account
1326
1415
  */
@@ -1409,6 +1498,14 @@ export interface CreditAccountEntity {
1409
1498
  * Prize Promo Enabled
1410
1499
  */
1411
1500
  'prizePromo'?: boolean;
1501
+ /**
1502
+ * Portal Access
1503
+ */
1504
+ 'portalAccess'?: boolean;
1505
+ /**
1506
+ * CNAME
1507
+ */
1508
+ 'cname'?: string;
1412
1509
  }
1413
1510
  /**
1414
1511
  * Credit Note
@@ -1540,6 +1637,52 @@ export interface CreditNoteModel {
1540
1637
  */
1541
1638
  'items'?: Array<CreditNoteItemModel>;
1542
1639
  }
1640
+ /**
1641
+ * CRM Activities Response
1642
+ */
1643
+ export interface CrmActivitiesResponseDTO {
1644
+ /**
1645
+ * Dates
1646
+ */
1647
+ 'dates'?: Array<CrmDateActivitiesDTO>;
1648
+ /**
1649
+ * Agents
1650
+ */
1651
+ 'agents'?: Array<AdminUserModel>;
1652
+ }
1653
+ /**
1654
+ * CRM Activity
1655
+ */
1656
+ export interface CrmActivityDTO {
1657
+ /**
1658
+ * Activity Type
1659
+ */
1660
+ 'type'?: string;
1661
+ /**
1662
+ * Activity Timestamp
1663
+ */
1664
+ 'timestamp'?: string | null;
1665
+ /**
1666
+ * Activity Title
1667
+ */
1668
+ 'title'?: string;
1669
+ /**
1670
+ * Activity Description
1671
+ */
1672
+ 'description'?: string;
1673
+ /**
1674
+ * Activity URL
1675
+ */
1676
+ 'url'?: string | null;
1677
+ /**
1678
+ * Activity User Name
1679
+ */
1680
+ 'user'?: string | null;
1681
+ /**
1682
+ * Activity Contact Name
1683
+ */
1684
+ 'contact'?: string | null;
1685
+ }
1543
1686
  /**
1544
1687
  * CRM Contact
1545
1688
  */
@@ -1573,6 +1716,109 @@ export interface CrmContactDTO {
1573
1716
  */
1574
1717
  'url'?: string;
1575
1718
  }
1719
+ /**
1720
+ * CRM Date Activities
1721
+ */
1722
+ export interface CrmDateActivitiesDTO {
1723
+ /**
1724
+ * Date
1725
+ */
1726
+ 'date'?: string | null;
1727
+ /**
1728
+ * Activities
1729
+ */
1730
+ 'activities'?: Array<CrmActivityDTO>;
1731
+ }
1732
+ /**
1733
+ * CrmNotesEntity
1734
+ */
1735
+ export interface CrmNoteEntity {
1736
+ /**
1737
+ * id
1738
+ */
1739
+ 'id'?: number;
1740
+ /**
1741
+ * customerId
1742
+ */
1743
+ 'customerId'?: string;
1744
+ /**
1745
+ * userId
1746
+ */
1747
+ 'userId'?: number;
1748
+ /**
1749
+ * type
1750
+ */
1751
+ 'type'?: string;
1752
+ /**
1753
+ * note
1754
+ */
1755
+ 'note'?: string;
1756
+ /**
1757
+ * timestamp
1758
+ */
1759
+ 'timestamp'?: string;
1760
+ /**
1761
+ * journalTime
1762
+ */
1763
+ 'journalTime'?: string;
1764
+ /**
1765
+ * duration
1766
+ */
1767
+ 'duration'?: string;
1768
+ /**
1769
+ * callType
1770
+ */
1771
+ 'callType'?: string;
1772
+ /**
1773
+ * callId
1774
+ */
1775
+ 'callId'?: number;
1776
+ }
1777
+ /**
1778
+ * CrmNotesEntity
1779
+ */
1780
+ export interface CrmNoteModel {
1781
+ /**
1782
+ * id
1783
+ */
1784
+ 'id'?: number;
1785
+ /**
1786
+ * customerId
1787
+ */
1788
+ 'customerId'?: string;
1789
+ /**
1790
+ * userId
1791
+ */
1792
+ 'userId'?: number;
1793
+ /**
1794
+ * type
1795
+ */
1796
+ 'type'?: string;
1797
+ /**
1798
+ * note
1799
+ */
1800
+ 'note'?: string;
1801
+ /**
1802
+ * timestamp
1803
+ */
1804
+ 'timestamp'?: string;
1805
+ /**
1806
+ * journalTime
1807
+ */
1808
+ 'journalTime'?: string;
1809
+ /**
1810
+ * duration
1811
+ */
1812
+ 'duration'?: string;
1813
+ /**
1814
+ * callType
1815
+ */
1816
+ 'callType'?: string;
1817
+ /**
1818
+ * callId
1819
+ */
1820
+ 'callId'?: number;
1821
+ }
1576
1822
  /**
1577
1823
  * SIP Trunk Customer
1578
1824
  */
@@ -2970,6 +3216,12 @@ export interface NavigationModel {
2970
3216
  */
2971
3217
  'openNewPage'?: boolean;
2972
3218
  }
3219
+ export interface NumberPortAdminNoteBody {
3220
+ /**
3221
+ * Note
3222
+ */
3223
+ 'note'?: string;
3224
+ }
2973
3225
  /**
2974
3226
  * Number Port Response
2975
3227
  */
@@ -3944,18 +4196,129 @@ export interface OrderedItemModel {
3944
4196
  */
3945
4197
  'returnedStock'?: number;
3946
4198
  }
3947
- export interface PatchSetTcxWizardCnameRequest {
4199
+ /**
4200
+ * 3CX Partner Details
4201
+ */
4202
+ export interface PartnerDTO {
4203
+ /**
4204
+ * 3CX Partner ID
4205
+ */
4206
+ 'partnerId'?: string;
4207
+ /**
4208
+ * 3CX Partner Company Name
4209
+ */
4210
+ 'companyName'?: string;
4211
+ /**
4212
+ * 3CX Partner Contact Name
4213
+ */
4214
+ 'contactName'?: string;
4215
+ /**
4216
+ * 3CX Partner Contact Phone
4217
+ */
4218
+ 'contactPhone'?: string;
4219
+ /**
4220
+ * 3CX Partner Contact Email
4221
+ */
4222
+ 'contactEmail'?: string;
4223
+ /**
4224
+ * 3CX Partner Level
4225
+ */
4226
+ 'partnerLevel'?: string;
4227
+ /**
4228
+ * 3CX Partner Licence Discount Percent
4229
+ */
4230
+ 'licenceDiscountPercent'?: number;
4231
+ /**
4232
+ * 3CX Partner Hosting Discount Percent
4233
+ */
4234
+ 'hostingDisountPercent'?: number;
4235
+ /**
4236
+ * 3CX Hosting Price List ID
4237
+ */
4238
+ 'hostingPriceListId'?: number;
4239
+ /**
4240
+ * 3CX Installation URL
4241
+ */
4242
+ 'installationUrl'?: string;
4243
+ }
4244
+ export interface PatchUpdateAccountCnameRequest {
3948
4245
  /**
3949
4246
  * CNAME
3950
4247
  */
3951
4248
  'cname'?: string;
3952
4249
  }
4250
+ export interface PatchUpdateAccountCompanyNumberRequest {
4251
+ /**
4252
+ * Company Number
4253
+ */
4254
+ 'companyNumber'?: string;
4255
+ }
3953
4256
  export interface PatchUpdateAccountContactPasswordRequest {
3954
4257
  /**
3955
4258
  * Password
3956
4259
  */
3957
4260
  'password'?: string;
3958
4261
  }
4262
+ export interface PatchUpdateAccountPhoneRequest {
4263
+ /**
4264
+ * Phone
4265
+ */
4266
+ 'phone'?: string;
4267
+ }
4268
+ export interface PatchUpdateAccountVatNumberRequest {
4269
+ /**
4270
+ * VAT Number
4271
+ */
4272
+ 'vatNumber'?: string;
4273
+ }
4274
+ export interface PatchUpdateCreditLimitRequest {
4275
+ /**
4276
+ * Credit Limit
4277
+ */
4278
+ 'creditLimit'?: number;
4279
+ }
4280
+ export interface PatchUpdatePriceListRequest {
4281
+ /**
4282
+ * Price List
4283
+ */
4284
+ 'priceList'?: PatchUpdatePriceListRequestPriceListEnum;
4285
+ }
4286
+ export declare const PatchUpdatePriceListRequestPriceListEnum: {
4287
+ readonly Rrp: "RRP";
4288
+ readonly Trade: "Trade";
4289
+ readonly Wholesale: "Wholesale";
4290
+ readonly Itsp: "ITSP";
4291
+ readonly SubDisti: "Sub Disti";
4292
+ readonly Distributor: "Distributor";
4293
+ readonly HotelDisti: "Hotel Disti";
4294
+ };
4295
+ export type PatchUpdatePriceListRequestPriceListEnum = typeof PatchUpdatePriceListRequestPriceListEnum[keyof typeof PatchUpdatePriceListRequestPriceListEnum];
4296
+ export interface PatchUpdateSipChannelCostRequest {
4297
+ /**
4298
+ * SIP Channel Cost
4299
+ */
4300
+ 'channelCost'?: number;
4301
+ }
4302
+ export interface PatchUpdateTcxHostingPriceListRequest {
4303
+ /**
4304
+ * Price List
4305
+ */
4306
+ 'priceList'?: PatchUpdateTcxHostingPriceListRequestPriceListEnum;
4307
+ }
4308
+ export declare const PatchUpdateTcxHostingPriceListRequestPriceListEnum: {
4309
+ readonly _1: "1";
4310
+ readonly _2: "2";
4311
+ readonly _3: "3";
4312
+ readonly _4: "4";
4313
+ readonly _5: "5";
4314
+ };
4315
+ export type PatchUpdateTcxHostingPriceListRequestPriceListEnum = typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum[keyof typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum];
4316
+ export interface PatchUpdateTcxPartnerIdRequest {
4317
+ /**
4318
+ * Set Account 3CX Partner ID
4319
+ */
4320
+ 'partnerId'?: string;
4321
+ }
3959
4322
  /**
3960
4323
  * Customer Account
3961
4324
  */
@@ -4044,6 +4407,14 @@ export interface PortalAccountModel {
4044
4407
  * Prize Promo Enabled
4045
4408
  */
4046
4409
  'prizePromo'?: boolean;
4410
+ /**
4411
+ * Portal Access
4412
+ */
4413
+ 'portalAccess'?: boolean;
4414
+ /**
4415
+ * Wizard CNAME
4416
+ */
4417
+ 'cname'?: string;
4047
4418
  /**
4048
4419
  * Active Direct Debit Mandate
4049
4420
  */
@@ -4052,10 +4423,6 @@ export interface PortalAccountModel {
4052
4423
  * Portal Navigation
4053
4424
  */
4054
4425
  'navigation'?: Array<NavigationModel>;
4055
- /**
4056
- * Wizard CNAME
4057
- */
4058
- 'cname'?: string;
4059
4426
  }
4060
4427
  /**
4061
4428
  * Portal Login
@@ -4090,12 +4457,6 @@ export interface PortalLoginModel {
4090
4457
  */
4091
4458
  'redirect_uri'?: string;
4092
4459
  }
4093
- export interface PostAddAdminNoteRequest {
4094
- /**
4095
- * Note
4096
- */
4097
- 'note'?: string;
4098
- }
4099
4460
  export interface PostAddOrderNoteRequest {
4100
4461
  /**
4101
4462
  * Order Note
@@ -4133,7 +4494,13 @@ export interface PostGetProductForCustomerRequest {
4133
4494
  */
4134
4495
  'renewalYears'?: number | null;
4135
4496
  }
4136
- export interface PostSplitOrderRequest {
4497
+ export interface PostSendWelcomeEmailRequest {
4498
+ /**
4499
+ * email
4500
+ */
4501
+ 'email'?: string;
4502
+ }
4503
+ export interface PostSplitOrderRequest {
4137
4504
  /**
4138
4505
  * Item Ids
4139
4506
  */
@@ -4444,6 +4811,10 @@ export interface ProspectDTO {
4444
4811
  * Status
4445
4812
  */
4446
4813
  'status'?: ProspectDTOStatusEnum;
4814
+ /**
4815
+ * Order Count
4816
+ */
4817
+ 'orderCount'?: number;
4447
4818
  }
4448
4819
  export declare const ProspectDTOStatusEnum: {
4449
4820
  readonly NoCallBackSet: "No Call Back Set";
@@ -4451,6 +4822,7 @@ export declare const ProspectDTOStatusEnum: {
4451
4822
  readonly NoOrdersPlaced: "No Orders Placed";
4452
4823
  readonly NoOrdersInTheLast4Months: "No Orders In The Last 4 Months";
4453
4824
  readonly NoActionRequired: "No Action Required";
4825
+ readonly DoNotCall: "Do Not Call";
4454
4826
  };
4455
4827
  export type ProspectDTOStatusEnum = typeof ProspectDTOStatusEnum[keyof typeof ProspectDTOStatusEnum];
4456
4828
  /**
@@ -8007,6 +8379,21 @@ export interface XeroLogEntity {
8007
8379
  * AccountsApi - axios parameter creator
8008
8380
  */
8009
8381
  export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
8382
+ /**
8383
+ * Delete Account Contact
8384
+ * @param {string} id Account Xero ID
8385
+ * @param {number} contactId Contact ID
8386
+ * @param {*} [options] Override http request option.
8387
+ * @throws {RequiredError}
8388
+ */
8389
+ deleteAdminUpdateAccountContact: (id: string, contactId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8390
+ /**
8391
+ * Delete Account
8392
+ * @param {string} id Account Xero ID
8393
+ * @param {*} [options] Override http request option.
8394
+ * @throws {RequiredError}
8395
+ */
8396
+ deleteArchiveAccount: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8010
8397
  /**
8011
8398
  * Delete client credentials
8012
8399
  * @summary Delete client credentials
@@ -8023,6 +8410,13 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8023
8410
  * @throws {RequiredError}
8024
8411
  */
8025
8412
  deleteUpdateAccountContact: (email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8413
+ /**
8414
+ * Get Account Contacts
8415
+ * @param {string} id Account Xero ID
8416
+ * @param {*} [options] Override http request option.
8417
+ * @throws {RequiredError}
8418
+ */
8419
+ getAdminCreateAccountContact: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8026
8420
  /**
8027
8421
  * Get Account
8028
8422
  * @summary Get Account
@@ -8030,6 +8424,13 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8030
8424
  * @throws {RequiredError}
8031
8425
  */
8032
8426
  getGetAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8427
+ /**
8428
+ * Get Account Addresses
8429
+ * @param {string} id Xero ID
8430
+ * @param {*} [options] Override http request option.
8431
+ * @throws {RequiredError}
8432
+ */
8433
+ getGetAccountAddresses: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8033
8434
  /**
8034
8435
  * Get Account Contacts
8035
8436
  * @summary Get Account Contacts
@@ -8071,6 +8472,20 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8071
8472
  * @throws {RequiredError}
8072
8473
  */
8073
8474
  getGetCustomerKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8475
+ /**
8476
+ * Get Account Finance
8477
+ * @param {string} id Account Xero ID
8478
+ * @param {*} [options] Override http request option.
8479
+ * @throws {RequiredError}
8480
+ */
8481
+ getGetFinanceSettings: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8482
+ /**
8483
+ * Get Account 3CX Details
8484
+ * @param {string} id Xero ID
8485
+ * @param {*} [options] Override http request option.
8486
+ * @throws {RequiredError}
8487
+ */
8488
+ getGetTcxPartnerDetails: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8074
8489
  /**
8075
8490
  * Verify account email address
8076
8491
  * @summary Verify account email address
@@ -8079,13 +8494,45 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8079
8494
  * @throws {RequiredError}
8080
8495
  */
8081
8496
  getVerifyEmailAddress: (token: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8497
+ /**
8498
+ * Set Account Portal Access
8499
+ * @param {string} id Xero ID
8500
+ * @param {PatchSetPortalAccessStateEnum} state Portal Access State
8501
+ * @param {*} [options] Override http request option.
8502
+ * @throws {RequiredError}
8503
+ */
8504
+ patchSetPortalAccess: (id: string, state: PatchSetPortalAccessStateEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8505
+ /**
8506
+ * Set Account Prize Promo
8507
+ * @param {string} id Xero ID
8508
+ * @param {PatchSetPrizePromoStateEnum} state Prize Promo State
8509
+ * @param {*} [options] Override http request option.
8510
+ * @throws {RequiredError}
8511
+ */
8512
+ patchSetPrizePromo: (id: string, state: PatchSetPrizePromoStateEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8082
8513
  /**
8083
8514
  * Set 3CX Wizard CNAME
8084
- * @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
8515
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
8516
+ * @param {*} [options] Override http request option.
8517
+ * @throws {RequiredError}
8518
+ */
8519
+ patchSetTcxWizardCname: (patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8520
+ /**
8521
+ * Set Account CNAME
8522
+ * @param {string} id Xero ID
8523
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
8524
+ * @param {*} [options] Override http request option.
8525
+ * @throws {RequiredError}
8526
+ */
8527
+ patchUpdateAccountCname: (id: string, patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8528
+ /**
8529
+ * Set Account Company Number
8530
+ * @param {string} id Xero ID
8531
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
8085
8532
  * @param {*} [options] Override http request option.
8086
8533
  * @throws {RequiredError}
8087
8534
  */
8088
- patchSetTcxWizardCname: (patchSetTcxWizardCnameRequest?: PatchSetTcxWizardCnameRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8535
+ patchUpdateAccountCompanyNumber: (id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8089
8536
  /**
8090
8537
  * Update Account Password
8091
8538
  * @summary Update Account Password
@@ -8095,6 +8542,70 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8095
8542
  * @throws {RequiredError}
8096
8543
  */
8097
8544
  patchUpdateAccountContactPassword: (token: string, patchUpdateAccountContactPasswordRequest?: PatchUpdateAccountContactPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8545
+ /**
8546
+ * Set Account Phone
8547
+ * @param {string} id Xero ID
8548
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
8549
+ * @param {*} [options] Override http request option.
8550
+ * @throws {RequiredError}
8551
+ */
8552
+ patchUpdateAccountPhone: (id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8553
+ /**
8554
+ * Set Account VAT Number
8555
+ * @param {string} id Xero ID
8556
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
8557
+ * @param {*} [options] Override http request option.
8558
+ * @throws {RequiredError}
8559
+ */
8560
+ patchUpdateAccountVatNumber: (id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8561
+ /**
8562
+ * Set Account Credit Limit
8563
+ * @param {string} id Xero ID
8564
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
8565
+ * @param {*} [options] Override http request option.
8566
+ * @throws {RequiredError}
8567
+ */
8568
+ patchUpdateCreditLimit: (id: string, patchUpdateCreditLimitRequest?: PatchUpdateCreditLimitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8569
+ /**
8570
+ * Set Account Price List
8571
+ * @param {string} id Xero ID
8572
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
8573
+ * @param {*} [options] Override http request option.
8574
+ * @throws {RequiredError}
8575
+ */
8576
+ patchUpdatePriceList: (id: string, patchUpdatePriceListRequest?: PatchUpdatePriceListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8577
+ /**
8578
+ * Set Account SIP Channel Cost
8579
+ * @param {string} id Xero ID
8580
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
8581
+ * @param {*} [options] Override http request option.
8582
+ * @throws {RequiredError}
8583
+ */
8584
+ patchUpdateSipChannelCost: (id: string, patchUpdateSipChannelCostRequest?: PatchUpdateSipChannelCostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8585
+ /**
8586
+ * Set Account 3CX Hosting Price List
8587
+ * @param {string} id Xero ID
8588
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
8589
+ * @param {*} [options] Override http request option.
8590
+ * @throws {RequiredError}
8591
+ */
8592
+ patchUpdateTcxHostingPriceList: (id: string, patchUpdateTcxHostingPriceListRequest?: PatchUpdateTcxHostingPriceListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8593
+ /**
8594
+ * Set Account 3CX Partner ID
8595
+ * @param {string} id Xero ID
8596
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
8597
+ * @param {*} [options] Override http request option.
8598
+ * @throws {RequiredError}
8599
+ */
8600
+ patchUpdateTcxPartnerId: (id: string, patchUpdateTcxPartnerIdRequest?: PatchUpdateTcxPartnerIdRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8601
+ /**
8602
+ * Create Account Contact
8603
+ * @param {string} id Account Xero ID
8604
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
8605
+ * @param {*} [options] Override http request option.
8606
+ * @throws {RequiredError}
8607
+ */
8608
+ postAdminCreateAccountContact: (id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8098
8609
  /**
8099
8610
  * Add Account Contacts
8100
8611
  * @summary Add Account Contact
@@ -8142,6 +8653,14 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8142
8653
  * @throws {RequiredError}
8143
8654
  */
8144
8655
  postSendPasswordReset: (email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8656
+ /**
8657
+ * Send Account Welcome Email
8658
+ * @param {string} id Xero ID
8659
+ * @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
8660
+ * @param {*} [options] Override http request option.
8661
+ * @throws {RequiredError}
8662
+ */
8663
+ postSendWelcomeEmail: (id: string, postSendWelcomeEmailRequest?: PostSendWelcomeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8145
8664
  /**
8146
8665
  * Submit reseller application
8147
8666
  * @summary Submit reseller application
@@ -8152,6 +8671,15 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8152
8671
  * @throws {RequiredError}
8153
8672
  */
8154
8673
  postSubmitResellerApplication: (creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8674
+ /**
8675
+ * Update Account Contact
8676
+ * @param {string} id Account Xero ID
8677
+ * @param {number} contactId Contact ID
8678
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
8679
+ * @param {*} [options] Override http request option.
8680
+ * @throws {RequiredError}
8681
+ */
8682
+ putAdminUpdateAccountContact: (id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8155
8683
  /**
8156
8684
  * Update Account Contacts
8157
8685
  * @summary Update Account Contact
@@ -8161,11 +8689,42 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8161
8689
  * @throws {RequiredError}
8162
8690
  */
8163
8691
  putUpdateAccountContact: (email: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8692
+ /**
8693
+ * Update Account Billing Address
8694
+ * @param {string} id Xero ID
8695
+ * @param {AddressDTO} [addressDTO] Updated Billing Address
8696
+ * @param {*} [options] Override http request option.
8697
+ * @throws {RequiredError}
8698
+ */
8699
+ putUpdateBillingAddress: (id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8700
+ /**
8701
+ * Update Account Shipping Address
8702
+ * @param {string} id Xero ID
8703
+ * @param {AddressDTO} [addressDTO] Updated Shipping Address
8704
+ * @param {*} [options] Override http request option.
8705
+ * @throws {RequiredError}
8706
+ */
8707
+ putUpdateShippingAddress: (id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8164
8708
  };
8165
8709
  /**
8166
8710
  * AccountsApi - functional programming interface
8167
8711
  */
8168
8712
  export declare const AccountsApiFp: (configuration?: Configuration) => {
8713
+ /**
8714
+ * Delete Account Contact
8715
+ * @param {string} id Account Xero ID
8716
+ * @param {number} contactId Contact ID
8717
+ * @param {*} [options] Override http request option.
8718
+ * @throws {RequiredError}
8719
+ */
8720
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8721
+ /**
8722
+ * Delete Account
8723
+ * @param {string} id Account Xero ID
8724
+ * @param {*} [options] Override http request option.
8725
+ * @throws {RequiredError}
8726
+ */
8727
+ deleteArchiveAccount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8169
8728
  /**
8170
8729
  * Delete client credentials
8171
8730
  * @summary Delete client credentials
@@ -8182,6 +8741,13 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8182
8741
  * @throws {RequiredError}
8183
8742
  */
8184
8743
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8744
+ /**
8745
+ * Get Account Contacts
8746
+ * @param {string} id Account Xero ID
8747
+ * @param {*} [options] Override http request option.
8748
+ * @throws {RequiredError}
8749
+ */
8750
+ getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountContactModel>>>;
8185
8751
  /**
8186
8752
  * Get Account
8187
8753
  * @summary Get Account
@@ -8189,6 +8755,13 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8189
8755
  * @throws {RequiredError}
8190
8756
  */
8191
8757
  getGetAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortalAccountModel>>;
8758
+ /**
8759
+ * Get Account Addresses
8760
+ * @param {string} id Xero ID
8761
+ * @param {*} [options] Override http request option.
8762
+ * @throws {RequiredError}
8763
+ */
8764
+ getGetAccountAddresses(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountAddressesDTO>>;
8192
8765
  /**
8193
8766
  * Get Account Contacts
8194
8767
  * @summary Get Account Contacts
@@ -8230,6 +8803,20 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8230
8803
  * @throws {RequiredError}
8231
8804
  */
8232
8805
  getGetCustomerKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxKeySummaryDTO>>>;
8806
+ /**
8807
+ * Get Account Finance
8808
+ * @param {string} id Account Xero ID
8809
+ * @param {*} [options] Override http request option.
8810
+ * @throws {RequiredError}
8811
+ */
8812
+ getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>>;
8813
+ /**
8814
+ * Get Account 3CX Details
8815
+ * @param {string} id Xero ID
8816
+ * @param {*} [options] Override http request option.
8817
+ * @throws {RequiredError}
8818
+ */
8819
+ getGetTcxPartnerDetails(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerDTO>>;
8233
8820
  /**
8234
8821
  * Verify account email address
8235
8822
  * @summary Verify account email address
@@ -8238,13 +8825,45 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8238
8825
  * @throws {RequiredError}
8239
8826
  */
8240
8827
  getVerifyEmailAddress(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8828
+ /**
8829
+ * Set Account Portal Access
8830
+ * @param {string} id Xero ID
8831
+ * @param {PatchSetPortalAccessStateEnum} state Portal Access State
8832
+ * @param {*} [options] Override http request option.
8833
+ * @throws {RequiredError}
8834
+ */
8835
+ patchSetPortalAccess(id: string, state: PatchSetPortalAccessStateEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8836
+ /**
8837
+ * Set Account Prize Promo
8838
+ * @param {string} id Xero ID
8839
+ * @param {PatchSetPrizePromoStateEnum} state Prize Promo State
8840
+ * @param {*} [options] Override http request option.
8841
+ * @throws {RequiredError}
8842
+ */
8843
+ patchSetPrizePromo(id: string, state: PatchSetPrizePromoStateEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8241
8844
  /**
8242
8845
  * Set 3CX Wizard CNAME
8243
- * @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
8846
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
8847
+ * @param {*} [options] Override http request option.
8848
+ * @throws {RequiredError}
8849
+ */
8850
+ patchSetTcxWizardCname(patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8851
+ /**
8852
+ * Set Account CNAME
8853
+ * @param {string} id Xero ID
8854
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
8855
+ * @param {*} [options] Override http request option.
8856
+ * @throws {RequiredError}
8857
+ */
8858
+ patchUpdateAccountCname(id: string, patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8859
+ /**
8860
+ * Set Account Company Number
8861
+ * @param {string} id Xero ID
8862
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
8244
8863
  * @param {*} [options] Override http request option.
8245
8864
  * @throws {RequiredError}
8246
8865
  */
8247
- patchSetTcxWizardCname(patchSetTcxWizardCnameRequest?: PatchSetTcxWizardCnameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8866
+ patchUpdateAccountCompanyNumber(id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8248
8867
  /**
8249
8868
  * Update Account Password
8250
8869
  * @summary Update Account Password
@@ -8254,6 +8873,70 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8254
8873
  * @throws {RequiredError}
8255
8874
  */
8256
8875
  patchUpdateAccountContactPassword(token: string, patchUpdateAccountContactPasswordRequest?: PatchUpdateAccountContactPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8876
+ /**
8877
+ * Set Account Phone
8878
+ * @param {string} id Xero ID
8879
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
8880
+ * @param {*} [options] Override http request option.
8881
+ * @throws {RequiredError}
8882
+ */
8883
+ patchUpdateAccountPhone(id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8884
+ /**
8885
+ * Set Account VAT Number
8886
+ * @param {string} id Xero ID
8887
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
8888
+ * @param {*} [options] Override http request option.
8889
+ * @throws {RequiredError}
8890
+ */
8891
+ patchUpdateAccountVatNumber(id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8892
+ /**
8893
+ * Set Account Credit Limit
8894
+ * @param {string} id Xero ID
8895
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
8896
+ * @param {*} [options] Override http request option.
8897
+ * @throws {RequiredError}
8898
+ */
8899
+ patchUpdateCreditLimit(id: string, patchUpdateCreditLimitRequest?: PatchUpdateCreditLimitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>>;
8900
+ /**
8901
+ * Set Account Price List
8902
+ * @param {string} id Xero ID
8903
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
8904
+ * @param {*} [options] Override http request option.
8905
+ * @throws {RequiredError}
8906
+ */
8907
+ patchUpdatePriceList(id: string, patchUpdatePriceListRequest?: PatchUpdatePriceListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>>;
8908
+ /**
8909
+ * Set Account SIP Channel Cost
8910
+ * @param {string} id Xero ID
8911
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
8912
+ * @param {*} [options] Override http request option.
8913
+ * @throws {RequiredError}
8914
+ */
8915
+ patchUpdateSipChannelCost(id: string, patchUpdateSipChannelCostRequest?: PatchUpdateSipChannelCostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountFinanceDTO>>;
8916
+ /**
8917
+ * Set Account 3CX Hosting Price List
8918
+ * @param {string} id Xero ID
8919
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
8920
+ * @param {*} [options] Override http request option.
8921
+ * @throws {RequiredError}
8922
+ */
8923
+ patchUpdateTcxHostingPriceList(id: string, patchUpdateTcxHostingPriceListRequest?: PatchUpdateTcxHostingPriceListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerDTO>>;
8924
+ /**
8925
+ * Set Account 3CX Partner ID
8926
+ * @param {string} id Xero ID
8927
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
8928
+ * @param {*} [options] Override http request option.
8929
+ * @throws {RequiredError}
8930
+ */
8931
+ patchUpdateTcxPartnerId(id: string, patchUpdateTcxPartnerIdRequest?: PatchUpdateTcxPartnerIdRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerDTO>>;
8932
+ /**
8933
+ * Create Account Contact
8934
+ * @param {string} id Account Xero ID
8935
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
8936
+ * @param {*} [options] Override http request option.
8937
+ * @throws {RequiredError}
8938
+ */
8939
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8257
8940
  /**
8258
8941
  * Add Account Contacts
8259
8942
  * @summary Add Account Contact
@@ -8301,6 +8984,14 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8301
8984
  * @throws {RequiredError}
8302
8985
  */
8303
8986
  postSendPasswordReset(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8987
+ /**
8988
+ * Send Account Welcome Email
8989
+ * @param {string} id Xero ID
8990
+ * @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
8991
+ * @param {*} [options] Override http request option.
8992
+ * @throws {RequiredError}
8993
+ */
8994
+ postSendWelcomeEmail(id: string, postSendWelcomeEmailRequest?: PostSendWelcomeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8304
8995
  /**
8305
8996
  * Submit reseller application
8306
8997
  * @summary Submit reseller application
@@ -8311,6 +9002,15 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8311
9002
  * @throws {RequiredError}
8312
9003
  */
8313
9004
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9005
+ /**
9006
+ * Update Account Contact
9007
+ * @param {string} id Account Xero ID
9008
+ * @param {number} contactId Contact ID
9009
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
9010
+ * @param {*} [options] Override http request option.
9011
+ * @throws {RequiredError}
9012
+ */
9013
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8314
9014
  /**
8315
9015
  * Update Account Contacts
8316
9016
  * @summary Update Account Contact
@@ -8320,11 +9020,42 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8320
9020
  * @throws {RequiredError}
8321
9021
  */
8322
9022
  putUpdateAccountContact(email: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9023
+ /**
9024
+ * Update Account Billing Address
9025
+ * @param {string} id Xero ID
9026
+ * @param {AddressDTO} [addressDTO] Updated Billing Address
9027
+ * @param {*} [options] Override http request option.
9028
+ * @throws {RequiredError}
9029
+ */
9030
+ putUpdateBillingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9031
+ /**
9032
+ * Update Account Shipping Address
9033
+ * @param {string} id Xero ID
9034
+ * @param {AddressDTO} [addressDTO] Updated Shipping Address
9035
+ * @param {*} [options] Override http request option.
9036
+ * @throws {RequiredError}
9037
+ */
9038
+ putUpdateShippingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
8323
9039
  };
8324
9040
  /**
8325
9041
  * AccountsApi - factory interface
8326
9042
  */
8327
9043
  export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9044
+ /**
9045
+ * Delete Account Contact
9046
+ * @param {string} id Account Xero ID
9047
+ * @param {number} contactId Contact ID
9048
+ * @param {*} [options] Override http request option.
9049
+ * @throws {RequiredError}
9050
+ */
9051
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9052
+ /**
9053
+ * Delete Account
9054
+ * @param {string} id Account Xero ID
9055
+ * @param {*} [options] Override http request option.
9056
+ * @throws {RequiredError}
9057
+ */
9058
+ deleteArchiveAccount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8328
9059
  /**
8329
9060
  * Delete client credentials
8330
9061
  * @summary Delete client credentials
@@ -8341,6 +9072,13 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8341
9072
  * @throws {RequiredError}
8342
9073
  */
8343
9074
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9075
+ /**
9076
+ * Get Account Contacts
9077
+ * @param {string} id Account Xero ID
9078
+ * @param {*} [options] Override http request option.
9079
+ * @throws {RequiredError}
9080
+ */
9081
+ getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>>;
8344
9082
  /**
8345
9083
  * Get Account
8346
9084
  * @summary Get Account
@@ -8348,6 +9086,13 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8348
9086
  * @throws {RequiredError}
8349
9087
  */
8350
9088
  getGetAccount(options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel>;
9089
+ /**
9090
+ * Get Account Addresses
9091
+ * @param {string} id Xero ID
9092
+ * @param {*} [options] Override http request option.
9093
+ * @throws {RequiredError}
9094
+ */
9095
+ getGetAccountAddresses(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountAddressesDTO>;
8351
9096
  /**
8352
9097
  * Get Account Contacts
8353
9098
  * @summary Get Account Contacts
@@ -8389,6 +9134,20 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8389
9134
  * @throws {RequiredError}
8390
9135
  */
8391
9136
  getGetCustomerKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxKeySummaryDTO>>;
9137
+ /**
9138
+ * Get Account Finance
9139
+ * @param {string} id Account Xero ID
9140
+ * @param {*} [options] Override http request option.
9141
+ * @throws {RequiredError}
9142
+ */
9143
+ getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO>;
9144
+ /**
9145
+ * Get Account 3CX Details
9146
+ * @param {string} id Xero ID
9147
+ * @param {*} [options] Override http request option.
9148
+ * @throws {RequiredError}
9149
+ */
9150
+ getGetTcxPartnerDetails(id: string, options?: RawAxiosRequestConfig): AxiosPromise<PartnerDTO>;
8392
9151
  /**
8393
9152
  * Verify account email address
8394
9153
  * @summary Verify account email address
@@ -8397,13 +9156,45 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8397
9156
  * @throws {RequiredError}
8398
9157
  */
8399
9158
  getVerifyEmailAddress(token: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9159
+ /**
9160
+ * Set Account Portal Access
9161
+ * @param {string} id Xero ID
9162
+ * @param {PatchSetPortalAccessStateEnum} state Portal Access State
9163
+ * @param {*} [options] Override http request option.
9164
+ * @throws {RequiredError}
9165
+ */
9166
+ patchSetPortalAccess(id: string, state: PatchSetPortalAccessStateEnum, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9167
+ /**
9168
+ * Set Account Prize Promo
9169
+ * @param {string} id Xero ID
9170
+ * @param {PatchSetPrizePromoStateEnum} state Prize Promo State
9171
+ * @param {*} [options] Override http request option.
9172
+ * @throws {RequiredError}
9173
+ */
9174
+ patchSetPrizePromo(id: string, state: PatchSetPrizePromoStateEnum, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8400
9175
  /**
8401
9176
  * Set 3CX Wizard CNAME
8402
- * @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
9177
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
9178
+ * @param {*} [options] Override http request option.
9179
+ * @throws {RequiredError}
9180
+ */
9181
+ patchSetTcxWizardCname(patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9182
+ /**
9183
+ * Set Account CNAME
9184
+ * @param {string} id Xero ID
9185
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
9186
+ * @param {*} [options] Override http request option.
9187
+ * @throws {RequiredError}
9188
+ */
9189
+ patchUpdateAccountCname(id: string, patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9190
+ /**
9191
+ * Set Account Company Number
9192
+ * @param {string} id Xero ID
9193
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
8403
9194
  * @param {*} [options] Override http request option.
8404
9195
  * @throws {RequiredError}
8405
9196
  */
8406
- patchSetTcxWizardCname(patchSetTcxWizardCnameRequest?: PatchSetTcxWizardCnameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9197
+ patchUpdateAccountCompanyNumber(id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8407
9198
  /**
8408
9199
  * Update Account Password
8409
9200
  * @summary Update Account Password
@@ -8413,6 +9204,70 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8413
9204
  * @throws {RequiredError}
8414
9205
  */
8415
9206
  patchUpdateAccountContactPassword(token: string, patchUpdateAccountContactPasswordRequest?: PatchUpdateAccountContactPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9207
+ /**
9208
+ * Set Account Phone
9209
+ * @param {string} id Xero ID
9210
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
9211
+ * @param {*} [options] Override http request option.
9212
+ * @throws {RequiredError}
9213
+ */
9214
+ patchUpdateAccountPhone(id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9215
+ /**
9216
+ * Set Account VAT Number
9217
+ * @param {string} id Xero ID
9218
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
9219
+ * @param {*} [options] Override http request option.
9220
+ * @throws {RequiredError}
9221
+ */
9222
+ patchUpdateAccountVatNumber(id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9223
+ /**
9224
+ * Set Account Credit Limit
9225
+ * @param {string} id Xero ID
9226
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
9227
+ * @param {*} [options] Override http request option.
9228
+ * @throws {RequiredError}
9229
+ */
9230
+ patchUpdateCreditLimit(id: string, patchUpdateCreditLimitRequest?: PatchUpdateCreditLimitRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO>;
9231
+ /**
9232
+ * Set Account Price List
9233
+ * @param {string} id Xero ID
9234
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
9235
+ * @param {*} [options] Override http request option.
9236
+ * @throws {RequiredError}
9237
+ */
9238
+ patchUpdatePriceList(id: string, patchUpdatePriceListRequest?: PatchUpdatePriceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO>;
9239
+ /**
9240
+ * Set Account SIP Channel Cost
9241
+ * @param {string} id Xero ID
9242
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
9243
+ * @param {*} [options] Override http request option.
9244
+ * @throws {RequiredError}
9245
+ */
9246
+ patchUpdateSipChannelCost(id: string, patchUpdateSipChannelCostRequest?: PatchUpdateSipChannelCostRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountFinanceDTO>;
9247
+ /**
9248
+ * Set Account 3CX Hosting Price List
9249
+ * @param {string} id Xero ID
9250
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
9251
+ * @param {*} [options] Override http request option.
9252
+ * @throws {RequiredError}
9253
+ */
9254
+ patchUpdateTcxHostingPriceList(id: string, patchUpdateTcxHostingPriceListRequest?: PatchUpdateTcxHostingPriceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerDTO>;
9255
+ /**
9256
+ * Set Account 3CX Partner ID
9257
+ * @param {string} id Xero ID
9258
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
9259
+ * @param {*} [options] Override http request option.
9260
+ * @throws {RequiredError}
9261
+ */
9262
+ patchUpdateTcxPartnerId(id: string, patchUpdateTcxPartnerIdRequest?: PatchUpdateTcxPartnerIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerDTO>;
9263
+ /**
9264
+ * Create Account Contact
9265
+ * @param {string} id Account Xero ID
9266
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
9267
+ * @param {*} [options] Override http request option.
9268
+ * @throws {RequiredError}
9269
+ */
9270
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8416
9271
  /**
8417
9272
  * Add Account Contacts
8418
9273
  * @summary Add Account Contact
@@ -8460,6 +9315,14 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8460
9315
  * @throws {RequiredError}
8461
9316
  */
8462
9317
  postSendPasswordReset(email: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9318
+ /**
9319
+ * Send Account Welcome Email
9320
+ * @param {string} id Xero ID
9321
+ * @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
9322
+ * @param {*} [options] Override http request option.
9323
+ * @throws {RequiredError}
9324
+ */
9325
+ postSendWelcomeEmail(id: string, postSendWelcomeEmailRequest?: PostSendWelcomeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8463
9326
  /**
8464
9327
  * Submit reseller application
8465
9328
  * @summary Submit reseller application
@@ -8470,6 +9333,15 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8470
9333
  * @throws {RequiredError}
8471
9334
  */
8472
9335
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9336
+ /**
9337
+ * Update Account Contact
9338
+ * @param {string} id Account Xero ID
9339
+ * @param {number} contactId Contact ID
9340
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
9341
+ * @param {*} [options] Override http request option.
9342
+ * @throws {RequiredError}
9343
+ */
9344
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8473
9345
  /**
8474
9346
  * Update Account Contacts
8475
9347
  * @summary Update Account Contact
@@ -8479,11 +9351,42 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
8479
9351
  * @throws {RequiredError}
8480
9352
  */
8481
9353
  putUpdateAccountContact(email: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9354
+ /**
9355
+ * Update Account Billing Address
9356
+ * @param {string} id Xero ID
9357
+ * @param {AddressDTO} [addressDTO] Updated Billing Address
9358
+ * @param {*} [options] Override http request option.
9359
+ * @throws {RequiredError}
9360
+ */
9361
+ putUpdateBillingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9362
+ /**
9363
+ * Update Account Shipping Address
9364
+ * @param {string} id Xero ID
9365
+ * @param {AddressDTO} [addressDTO] Updated Shipping Address
9366
+ * @param {*} [options] Override http request option.
9367
+ * @throws {RequiredError}
9368
+ */
9369
+ putUpdateShippingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8482
9370
  };
8483
9371
  /**
8484
9372
  * AccountsApi - object-oriented interface
8485
9373
  */
8486
9374
  export declare class AccountsApi extends BaseAPI {
9375
+ /**
9376
+ * Delete Account Contact
9377
+ * @param {string} id Account Xero ID
9378
+ * @param {number} contactId Contact ID
9379
+ * @param {*} [options] Override http request option.
9380
+ * @throws {RequiredError}
9381
+ */
9382
+ deleteAdminUpdateAccountContact(id: string, contactId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9383
+ /**
9384
+ * Delete Account
9385
+ * @param {string} id Account Xero ID
9386
+ * @param {*} [options] Override http request option.
9387
+ * @throws {RequiredError}
9388
+ */
9389
+ deleteArchiveAccount(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8487
9390
  /**
8488
9391
  * Delete client credentials
8489
9392
  * @summary Delete client credentials
@@ -8500,6 +9403,13 @@ export declare class AccountsApi extends BaseAPI {
8500
9403
  * @throws {RequiredError}
8501
9404
  */
8502
9405
  deleteUpdateAccountContact(email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9406
+ /**
9407
+ * Get Account Contacts
9408
+ * @param {string} id Account Xero ID
9409
+ * @param {*} [options] Override http request option.
9410
+ * @throws {RequiredError}
9411
+ */
9412
+ getAdminCreateAccountContact(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountContactModel[], any, {}>>;
8503
9413
  /**
8504
9414
  * Get Account
8505
9415
  * @summary Get Account
@@ -8507,6 +9417,13 @@ export declare class AccountsApi extends BaseAPI {
8507
9417
  * @throws {RequiredError}
8508
9418
  */
8509
9419
  getGetAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortalAccountModel, any, {}>>;
9420
+ /**
9421
+ * Get Account Addresses
9422
+ * @param {string} id Xero ID
9423
+ * @param {*} [options] Override http request option.
9424
+ * @throws {RequiredError}
9425
+ */
9426
+ getGetAccountAddresses(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountAddressesDTO, any, {}>>;
8510
9427
  /**
8511
9428
  * Get Account Contacts
8512
9429
  * @summary Get Account Contacts
@@ -8548,6 +9465,20 @@ export declare class AccountsApi extends BaseAPI {
8548
9465
  * @throws {RequiredError}
8549
9466
  */
8550
9467
  getGetCustomerKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxKeySummaryDTO[], any, {}>>;
9468
+ /**
9469
+ * Get Account Finance
9470
+ * @param {string} id Account Xero ID
9471
+ * @param {*} [options] Override http request option.
9472
+ * @throws {RequiredError}
9473
+ */
9474
+ getGetFinanceSettings(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountFinanceDTO, any, {}>>;
9475
+ /**
9476
+ * Get Account 3CX Details
9477
+ * @param {string} id Xero ID
9478
+ * @param {*} [options] Override http request option.
9479
+ * @throws {RequiredError}
9480
+ */
9481
+ getGetTcxPartnerDetails(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerDTO, any, {}>>;
8551
9482
  /**
8552
9483
  * Verify account email address
8553
9484
  * @summary Verify account email address
@@ -8556,13 +9487,45 @@ export declare class AccountsApi extends BaseAPI {
8556
9487
  * @throws {RequiredError}
8557
9488
  */
8558
9489
  getVerifyEmailAddress(token: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9490
+ /**
9491
+ * Set Account Portal Access
9492
+ * @param {string} id Xero ID
9493
+ * @param {PatchSetPortalAccessStateEnum} state Portal Access State
9494
+ * @param {*} [options] Override http request option.
9495
+ * @throws {RequiredError}
9496
+ */
9497
+ patchSetPortalAccess(id: string, state: PatchSetPortalAccessStateEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9498
+ /**
9499
+ * Set Account Prize Promo
9500
+ * @param {string} id Xero ID
9501
+ * @param {PatchSetPrizePromoStateEnum} state Prize Promo State
9502
+ * @param {*} [options] Override http request option.
9503
+ * @throws {RequiredError}
9504
+ */
9505
+ patchSetPrizePromo(id: string, state: PatchSetPrizePromoStateEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8559
9506
  /**
8560
9507
  * Set 3CX Wizard CNAME
8561
- * @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
9508
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
9509
+ * @param {*} [options] Override http request option.
9510
+ * @throws {RequiredError}
9511
+ */
9512
+ patchSetTcxWizardCname(patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9513
+ /**
9514
+ * Set Account CNAME
9515
+ * @param {string} id Xero ID
9516
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
8562
9517
  * @param {*} [options] Override http request option.
8563
9518
  * @throws {RequiredError}
8564
9519
  */
8565
- patchSetTcxWizardCname(patchSetTcxWizardCnameRequest?: PatchSetTcxWizardCnameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9520
+ patchUpdateAccountCname(id: string, patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9521
+ /**
9522
+ * Set Account Company Number
9523
+ * @param {string} id Xero ID
9524
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
9525
+ * @param {*} [options] Override http request option.
9526
+ * @throws {RequiredError}
9527
+ */
9528
+ patchUpdateAccountCompanyNumber(id: string, patchUpdateAccountCompanyNumberRequest?: PatchUpdateAccountCompanyNumberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8566
9529
  /**
8567
9530
  * Update Account Password
8568
9531
  * @summary Update Account Password
@@ -8572,6 +9535,70 @@ export declare class AccountsApi extends BaseAPI {
8572
9535
  * @throws {RequiredError}
8573
9536
  */
8574
9537
  patchUpdateAccountContactPassword(token: string, patchUpdateAccountContactPasswordRequest?: PatchUpdateAccountContactPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9538
+ /**
9539
+ * Set Account Phone
9540
+ * @param {string} id Xero ID
9541
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
9542
+ * @param {*} [options] Override http request option.
9543
+ * @throws {RequiredError}
9544
+ */
9545
+ patchUpdateAccountPhone(id: string, patchUpdateAccountPhoneRequest?: PatchUpdateAccountPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9546
+ /**
9547
+ * Set Account VAT Number
9548
+ * @param {string} id Xero ID
9549
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
9550
+ * @param {*} [options] Override http request option.
9551
+ * @throws {RequiredError}
9552
+ */
9553
+ patchUpdateAccountVatNumber(id: string, patchUpdateAccountVatNumberRequest?: PatchUpdateAccountVatNumberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9554
+ /**
9555
+ * Set Account Credit Limit
9556
+ * @param {string} id Xero ID
9557
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
9558
+ * @param {*} [options] Override http request option.
9559
+ * @throws {RequiredError}
9560
+ */
9561
+ patchUpdateCreditLimit(id: string, patchUpdateCreditLimitRequest?: PatchUpdateCreditLimitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountFinanceDTO, any, {}>>;
9562
+ /**
9563
+ * Set Account Price List
9564
+ * @param {string} id Xero ID
9565
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
9566
+ * @param {*} [options] Override http request option.
9567
+ * @throws {RequiredError}
9568
+ */
9569
+ patchUpdatePriceList(id: string, patchUpdatePriceListRequest?: PatchUpdatePriceListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountFinanceDTO, any, {}>>;
9570
+ /**
9571
+ * Set Account SIP Channel Cost
9572
+ * @param {string} id Xero ID
9573
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
9574
+ * @param {*} [options] Override http request option.
9575
+ * @throws {RequiredError}
9576
+ */
9577
+ patchUpdateSipChannelCost(id: string, patchUpdateSipChannelCostRequest?: PatchUpdateSipChannelCostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountFinanceDTO, any, {}>>;
9578
+ /**
9579
+ * Set Account 3CX Hosting Price List
9580
+ * @param {string} id Xero ID
9581
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
9582
+ * @param {*} [options] Override http request option.
9583
+ * @throws {RequiredError}
9584
+ */
9585
+ patchUpdateTcxHostingPriceList(id: string, patchUpdateTcxHostingPriceListRequest?: PatchUpdateTcxHostingPriceListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerDTO, any, {}>>;
9586
+ /**
9587
+ * Set Account 3CX Partner ID
9588
+ * @param {string} id Xero ID
9589
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
9590
+ * @param {*} [options] Override http request option.
9591
+ * @throws {RequiredError}
9592
+ */
9593
+ patchUpdateTcxPartnerId(id: string, patchUpdateTcxPartnerIdRequest?: PatchUpdateTcxPartnerIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerDTO, any, {}>>;
9594
+ /**
9595
+ * Create Account Contact
9596
+ * @param {string} id Account Xero ID
9597
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
9598
+ * @param {*} [options] Override http request option.
9599
+ * @throws {RequiredError}
9600
+ */
9601
+ postAdminCreateAccountContact(id: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8575
9602
  /**
8576
9603
  * Add Account Contacts
8577
9604
  * @summary Add Account Contact
@@ -8619,6 +9646,14 @@ export declare class AccountsApi extends BaseAPI {
8619
9646
  * @throws {RequiredError}
8620
9647
  */
8621
9648
  postSendPasswordReset(email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9649
+ /**
9650
+ * Send Account Welcome Email
9651
+ * @param {string} id Xero ID
9652
+ * @param {PostSendWelcomeEmailRequest} [postSendWelcomeEmailRequest] Email Request
9653
+ * @param {*} [options] Override http request option.
9654
+ * @throws {RequiredError}
9655
+ */
9656
+ postSendWelcomeEmail(id: string, postSendWelcomeEmailRequest?: PostSendWelcomeEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8622
9657
  /**
8623
9658
  * Submit reseller application
8624
9659
  * @summary Submit reseller application
@@ -8629,6 +9664,15 @@ export declare class AccountsApi extends BaseAPI {
8629
9664
  * @throws {RequiredError}
8630
9665
  */
8631
9666
  postSubmitResellerApplication(creditRequired?: number, companyNumber?: string, vatNumber?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9667
+ /**
9668
+ * Update Account Contact
9669
+ * @param {string} id Account Xero ID
9670
+ * @param {number} contactId Contact ID
9671
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
9672
+ * @param {*} [options] Override http request option.
9673
+ * @throws {RequiredError}
9674
+ */
9675
+ putAdminUpdateAccountContact(id: string, contactId: number, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8632
9676
  /**
8633
9677
  * Update Account Contacts
8634
9678
  * @summary Update Account Contact
@@ -8638,7 +9682,33 @@ export declare class AccountsApi extends BaseAPI {
8638
9682
  * @throws {RequiredError}
8639
9683
  */
8640
9684
  putUpdateAccountContact(email: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9685
+ /**
9686
+ * Update Account Billing Address
9687
+ * @param {string} id Xero ID
9688
+ * @param {AddressDTO} [addressDTO] Updated Billing Address
9689
+ * @param {*} [options] Override http request option.
9690
+ * @throws {RequiredError}
9691
+ */
9692
+ putUpdateBillingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
9693
+ /**
9694
+ * Update Account Shipping Address
9695
+ * @param {string} id Xero ID
9696
+ * @param {AddressDTO} [addressDTO] Updated Shipping Address
9697
+ * @param {*} [options] Override http request option.
9698
+ * @throws {RequiredError}
9699
+ */
9700
+ putUpdateShippingAddress(id: string, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8641
9701
  }
9702
+ export declare const PatchSetPortalAccessStateEnum: {
9703
+ readonly Enable: "enable";
9704
+ readonly Disable: "disable";
9705
+ };
9706
+ export type PatchSetPortalAccessStateEnum = typeof PatchSetPortalAccessStateEnum[keyof typeof PatchSetPortalAccessStateEnum];
9707
+ export declare const PatchSetPrizePromoStateEnum: {
9708
+ readonly Enable: "enable";
9709
+ readonly Disable: "disable";
9710
+ };
9711
+ export type PatchSetPrizePromoStateEnum = typeof PatchSetPrizePromoStateEnum[keyof typeof PatchSetPrizePromoStateEnum];
8642
9712
  /**
8643
9713
  * BillingApi - axios parameter creator
8644
9714
  */
@@ -8703,46 +9773,123 @@ export declare class BillingApi extends BaseAPI {
8703
9773
  * CRMApi - axios parameter creator
8704
9774
  */
8705
9775
  export declare const CRMApiAxiosParamCreator: (configuration?: Configuration) => {
9776
+ /**
9777
+ * Get Customer CRM Activities
9778
+ * @param {number} id Account ID
9779
+ * @param {GetGetCrmActivitiesTypeEnum} [type] Activity Type
9780
+ * @param {number} [userId] Activity Created By
9781
+ * @param {*} [options] Override http request option.
9782
+ * @throws {RequiredError}
9783
+ */
9784
+ getGetCrmActivities: (id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8706
9785
  /**
8707
9786
  * Search for contacts by phone number
8708
9787
  * @param {*} [options] Override http request option.
8709
9788
  * @throws {RequiredError}
8710
9789
  */
8711
9790
  getSearchByPhone: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9791
+ /**
9792
+ * Create CRM Note
9793
+ * @param {number} id Account ID
9794
+ * @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
9795
+ * @param {*} [options] Override http request option.
9796
+ * @throws {RequiredError}
9797
+ */
9798
+ postCreateCrmNote: (id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8712
9799
  };
8713
9800
  /**
8714
9801
  * CRMApi - functional programming interface
8715
9802
  */
8716
9803
  export declare const CRMApiFp: (configuration?: Configuration) => {
9804
+ /**
9805
+ * Get Customer CRM Activities
9806
+ * @param {number} id Account ID
9807
+ * @param {GetGetCrmActivitiesTypeEnum} [type] Activity Type
9808
+ * @param {number} [userId] Activity Created By
9809
+ * @param {*} [options] Override http request option.
9810
+ * @throws {RequiredError}
9811
+ */
9812
+ getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CrmActivitiesResponseDTO>>;
8717
9813
  /**
8718
9814
  * Search for contacts by phone number
8719
9815
  * @param {*} [options] Override http request option.
8720
9816
  * @throws {RequiredError}
8721
9817
  */
8722
9818
  getSearchByPhone(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CrmContactDTO>>;
9819
+ /**
9820
+ * Create CRM Note
9821
+ * @param {number} id Account ID
9822
+ * @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
9823
+ * @param {*} [options] Override http request option.
9824
+ * @throws {RequiredError}
9825
+ */
9826
+ postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CrmActivityDTO>>;
8723
9827
  };
8724
9828
  /**
8725
9829
  * CRMApi - factory interface
8726
9830
  */
8727
9831
  export declare const CRMApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9832
+ /**
9833
+ * Get Customer CRM Activities
9834
+ * @param {number} id Account ID
9835
+ * @param {GetGetCrmActivitiesTypeEnum} [type] Activity Type
9836
+ * @param {number} [userId] Activity Created By
9837
+ * @param {*} [options] Override http request option.
9838
+ * @throws {RequiredError}
9839
+ */
9840
+ getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): AxiosPromise<CrmActivitiesResponseDTO>;
8728
9841
  /**
8729
9842
  * Search for contacts by phone number
8730
9843
  * @param {*} [options] Override http request option.
8731
9844
  * @throws {RequiredError}
8732
9845
  */
8733
9846
  getSearchByPhone(options?: RawAxiosRequestConfig): AxiosPromise<CrmContactDTO>;
9847
+ /**
9848
+ * Create CRM Note
9849
+ * @param {number} id Account ID
9850
+ * @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
9851
+ * @param {*} [options] Override http request option.
9852
+ * @throws {RequiredError}
9853
+ */
9854
+ postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): AxiosPromise<CrmActivityDTO>;
8734
9855
  };
8735
9856
  /**
8736
9857
  * CRMApi - object-oriented interface
8737
9858
  */
8738
9859
  export declare class CRMApi extends BaseAPI {
9860
+ /**
9861
+ * Get Customer CRM Activities
9862
+ * @param {number} id Account ID
9863
+ * @param {GetGetCrmActivitiesTypeEnum} [type] Activity Type
9864
+ * @param {number} [userId] Activity Created By
9865
+ * @param {*} [options] Override http request option.
9866
+ * @throws {RequiredError}
9867
+ */
9868
+ getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CrmActivitiesResponseDTO, any, {}>>;
8739
9869
  /**
8740
9870
  * Search for contacts by phone number
8741
9871
  * @param {*} [options] Override http request option.
8742
9872
  * @throws {RequiredError}
8743
9873
  */
8744
9874
  getSearchByPhone(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CrmContactDTO, any, {}>>;
9875
+ /**
9876
+ * Create CRM Note
9877
+ * @param {number} id Account ID
9878
+ * @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
9879
+ * @param {*} [options] Override http request option.
9880
+ * @throws {RequiredError}
9881
+ */
9882
+ postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CrmActivityDTO, any, {}>>;
8745
9883
  }
9884
+ export declare const GetGetCrmActivitiesTypeEnum: {
9885
+ readonly Alert: "alert";
9886
+ readonly Call: "call";
9887
+ readonly Note: "note";
9888
+ readonly Order: "order";
9889
+ readonly Quote: "quote";
9890
+ readonly TcxOrder: "tcx_order";
9891
+ };
9892
+ export type GetGetCrmActivitiesTypeEnum = typeof GetGetCrmActivitiesTypeEnum[keyof typeof GetGetCrmActivitiesTypeEnum];
8746
9893
  /**
8747
9894
  * Class3CXApi - axios parameter creator
8748
9895
  */
@@ -11322,11 +12469,11 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
11322
12469
  /**
11323
12470
  *
11324
12471
  * @param {number} id Number Port ID
11325
- * @param {PostAddAdminNoteRequest} postAddAdminNoteRequest
12472
+ * @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
11326
12473
  * @param {*} [options] Override http request option.
11327
12474
  * @throws {RequiredError}
11328
12475
  */
11329
- postAddAdminNote: (id: number, postAddAdminNoteRequest: PostAddAdminNoteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12476
+ postAddAdminNote: (id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11330
12477
  /**
11331
12478
  *
11332
12479
  * @param {string | null} [companyName] Company Name
@@ -11452,11 +12599,11 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
11452
12599
  /**
11453
12600
  *
11454
12601
  * @param {number} id Number Port ID
11455
- * @param {PostAddAdminNoteRequest} postAddAdminNoteRequest
12602
+ * @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
11456
12603
  * @param {*} [options] Override http request option.
11457
12604
  * @throws {RequiredError}
11458
12605
  */
11459
- postAddAdminNote(id: number, postAddAdminNoteRequest: PostAddAdminNoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminNumberPortDTO>>;
12606
+ postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminNumberPortDTO>>;
11460
12607
  /**
11461
12608
  *
11462
12609
  * @param {string | null} [companyName] Company Name
@@ -11582,11 +12729,11 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
11582
12729
  /**
11583
12730
  *
11584
12731
  * @param {number} id Number Port ID
11585
- * @param {PostAddAdminNoteRequest} postAddAdminNoteRequest
12732
+ * @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
11586
12733
  * @param {*} [options] Override http request option.
11587
12734
  * @throws {RequiredError}
11588
12735
  */
11589
- postAddAdminNote(id: number, postAddAdminNoteRequest: PostAddAdminNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminNumberPortDTO>;
12736
+ postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): AxiosPromise<AdminNumberPortDTO>;
11590
12737
  /**
11591
12738
  *
11592
12739
  * @param {string | null} [companyName] Company Name
@@ -11712,11 +12859,11 @@ export declare class NumberPortingApi extends BaseAPI {
11712
12859
  /**
11713
12860
  *
11714
12861
  * @param {number} id Number Port ID
11715
- * @param {PostAddAdminNoteRequest} postAddAdminNoteRequest
12862
+ * @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
11716
12863
  * @param {*} [options] Override http request option.
11717
12864
  * @throws {RequiredError}
11718
12865
  */
11719
- postAddAdminNote(id: number, postAddAdminNoteRequest: PostAddAdminNoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminNumberPortDTO, any, {}>>;
12866
+ postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminNumberPortDTO, any, {}>>;
11720
12867
  /**
11721
12868
  *
11722
12869
  * @param {string | null} [companyName] Company Name