yellowgrid-api-ts 3.2.135-dev.0 → 3.2.135

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 (800) hide show
  1. package/.openapi-generator/FILES +15 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +0 -0
  4. package/README.md +31 -7
  5. package/api.ts +1634 -432
  6. package/base.ts +2 -2
  7. package/common.ts +1 -1
  8. package/config.json +3 -3
  9. package/configuration.ts +3 -3
  10. package/dist/api.d.ts +862 -139
  11. package/dist/api.js +1580 -481
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +2 -2
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +3 -3
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/models/CourierEnum.d.ts +0 -0
  21. package/dist/models/CourierEnum.js +0 -0
  22. package/dist/models/EventStatusEnum.d.ts +0 -0
  23. package/dist/models/EventStatusEnum.js +0 -0
  24. package/dist/models/EventTypeEnum.d.ts +0 -0
  25. package/dist/models/EventTypeEnum.js +0 -0
  26. package/dist/models/HostingPriceListEnum.d.ts +28 -0
  27. package/dist/models/HostingPriceListEnum.js +30 -0
  28. package/dist/models/PaymentMethodEnum.d.ts +13 -0
  29. package/dist/models/PaymentMethodEnum.js +15 -0
  30. package/dist/models/PortStatusEnum.d.ts +0 -0
  31. package/dist/models/PortStatusEnum.js +0 -0
  32. package/dist/models/PrinterEnum.d.ts +0 -0
  33. package/dist/models/PrinterEnum.js +0 -0
  34. package/dist/models/ScheduledTaskEnum.d.ts +0 -0
  35. package/dist/models/ScheduledTaskEnum.js +0 -0
  36. package/dist/models/ServiceEnum.d.ts +0 -0
  37. package/dist/models/ServiceEnum.js +0 -0
  38. package/dist/models/ServiceHealthEnum.d.ts +0 -0
  39. package/dist/models/ServiceHealthEnum.js +0 -0
  40. package/dist/models/ServiceStatusEnum.d.ts +0 -0
  41. package/dist/models/ServiceStatusEnum.js +0 -0
  42. package/dist/models/UpdateTypeEnum.d.ts +0 -0
  43. package/dist/models/UpdateTypeEnum.js +0 -0
  44. package/dist/models/UserGroupEnum.d.ts +28 -0
  45. package/dist/models/UserGroupEnum.js +30 -0
  46. package/docs/AbstractOrderRequestDTO.md +1 -1
  47. package/docs/AccountAddressesDTO.md +25 -0
  48. package/docs/AccountContactEntity.md +0 -0
  49. package/docs/AccountContactModel.md +0 -0
  50. package/docs/AccountContactRequestModel.md +0 -0
  51. package/docs/AccountDetailedSummaryDTO.md +0 -0
  52. package/docs/AccountFinanceDTO.md +37 -0
  53. package/docs/AccountRequestModel.md +0 -0
  54. package/docs/AccountSummaryDTO.md +0 -0
  55. package/docs/AccountsApi.md +753 -190
  56. package/docs/AccountsResponseModel.md +0 -0
  57. package/docs/AddressDTO.md +0 -0
  58. package/docs/AddressModel.md +0 -0
  59. package/docs/AddressRequestModel.md +0 -0
  60. package/docs/AdminNumberPortDTO.md +0 -0
  61. package/docs/AdminOrderRequestDTO.md +3 -1
  62. package/docs/AdminUserModel.md +4 -0
  63. package/docs/AgentHoursGraphModel.md +0 -0
  64. package/docs/AgentHoursGraphMonthModel.md +0 -0
  65. package/docs/ApiLogEntity.md +0 -0
  66. package/docs/AreaCodeModel.md +0 -0
  67. package/docs/AttachmentModel.md +0 -0
  68. package/docs/AttributeSetEnum.md +0 -0
  69. package/docs/AuditLogEntity.md +0 -0
  70. package/docs/AuthCodeResponseModel.md +0 -0
  71. package/docs/BasicItemDTO.md +0 -0
  72. package/docs/BasicProductDTO.md +0 -0
  73. package/docs/BatchDTO.md +0 -0
  74. package/docs/BatchEntity.md +0 -0
  75. package/docs/BillingApi.md +55 -0
  76. package/docs/CRMApi.md +1 -1
  77. package/docs/CallBarringModel.md +0 -0
  78. package/docs/Class3CXApi.md +1 -1
  79. package/docs/Class3CXInstallationWizardApi.md +1 -1
  80. package/docs/Class3CXInstallationsApi.md +1 -1
  81. package/docs/Class3CXIntegrationsApi.md +1 -1
  82. package/docs/Class3CXMultiTenantApi.md +1 -1
  83. package/docs/ClientDetailsModel.md +0 -0
  84. package/docs/ClientModel.md +0 -0
  85. package/docs/CompanyContractModel.md +0 -0
  86. package/docs/ContactInfoModel.md +0 -0
  87. package/docs/ConversationModel.md +0 -0
  88. package/docs/CourierPriceEntity.md +0 -0
  89. package/docs/CreateCrmNoteBody.md +0 -0
  90. package/docs/CreditAccountEntity.md +4 -0
  91. package/docs/CreditNoteDTO.md +0 -0
  92. package/docs/CreditNoteEntity.md +0 -0
  93. package/docs/CreditNoteItemDTO.md +0 -0
  94. package/docs/CreditNoteItemEntity.md +0 -0
  95. package/docs/CreditNoteItemModel.md +0 -0
  96. package/docs/CreditNoteModel.md +0 -0
  97. package/docs/{CrmActivitiesResponseDto.md → CrmActivitiesResponseDTO.md} +0 -0
  98. package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
  99. package/docs/CrmContactDTO.md +0 -0
  100. package/docs/CrmDateActivitiesDTO.md +1 -1
  101. package/docs/CrmNoteEntity.md +0 -0
  102. package/docs/CrmNoteModel.md +0 -0
  103. package/docs/CustomerInformationModel.md +0 -0
  104. package/docs/CustomerItemRequestDTO.md +2 -0
  105. package/docs/CustomerOrderRequestDTO.md +1 -1
  106. package/docs/CustomerPriceListEnum.md +0 -0
  107. package/docs/CustomerSummaryReportDTO.md +0 -0
  108. package/docs/DdiRangeRequestModel.md +0 -0
  109. package/docs/DdiRangesRequestModel.md +0 -0
  110. package/docs/DetailedItemRequestDTO.md +2 -0
  111. package/docs/DetailedOrderRequestDTO.md +1 -1
  112. package/docs/DivertRequestModel.md +0 -0
  113. package/docs/DivertResponseModel.md +0 -0
  114. package/docs/EdTechProClientEntity.md +0 -0
  115. package/docs/EdTechProSchoolModel.md +0 -0
  116. package/docs/EdTechProSchoolsModel.md +0 -0
  117. package/docs/EdTechProSetupModel.md +0 -0
  118. package/docs/EventDTO.md +0 -0
  119. package/docs/EventRequestDTO.md +0 -0
  120. package/docs/EventSubscriptionModel.md +0 -0
  121. package/docs/EventUpdateDTO.md +0 -0
  122. package/docs/EventUpdateEntity.md +0 -0
  123. package/docs/EventUpdateRequestDTO.md +0 -0
  124. package/docs/FraudManagementModel.md +0 -0
  125. package/docs/FreshdeskCompanyTicketsModel.md +0 -0
  126. package/docs/FreshdeskTicketEntity.md +0 -0
  127. package/docs/FtpAccountsEntity.md +0 -0
  128. package/docs/GenericFileModel.md +0 -0
  129. package/docs/GetGetPrice200Response.md +0 -0
  130. package/docs/GetGetRecording200Response.md +0 -0
  131. package/docs/HostingChangeResponseModel.md +0 -0
  132. package/docs/HostingRegionDTO.md +0 -0
  133. package/docs/InstallationDetailsDTO.md +0 -0
  134. package/docs/InstanceAutoFailoverEntity.md +0 -0
  135. package/docs/InstanceDeletionScheduleEntity.md +0 -0
  136. package/docs/InstanceEntity.md +0 -0
  137. package/docs/InstanceFailoverEntity.md +0 -0
  138. package/docs/InstanceMonitoringEntity.md +0 -0
  139. package/docs/InstanceMonitoringLogEntity.md +0 -0
  140. package/docs/InstanceScheduledTasksEntity.md +0 -0
  141. package/docs/InstanceTcxDetailsEntity.md +0 -0
  142. package/docs/InstanceUserCredentialsEntity.md +0 -0
  143. package/docs/ItemDTO.md +2 -0
  144. package/docs/ItemDiscountEntity.md +0 -0
  145. package/docs/ItemEntity.md +0 -0
  146. package/docs/LinkedOrderEntity.md +0 -0
  147. package/docs/MFARequiredModel.md +0 -0
  148. package/docs/MonthlyUsageModel.md +0 -0
  149. package/docs/MultiTenantChangeResponseModel.md +0 -0
  150. package/docs/MyPBXToolsApi.md +1 -1
  151. package/docs/NavigationModel.md +0 -0
  152. package/docs/NumberPortAdminNoteBody.md +0 -0
  153. package/docs/NumberPortDTO.md +0 -0
  154. package/docs/NumberPortNoteDTO.md +0 -0
  155. package/docs/NumberPortRangeDTO.md +0 -0
  156. package/docs/NumberPortRangeRequestDTO.md +0 -0
  157. package/docs/NumberPortingApi.md +1 -1
  158. package/docs/NumberPortsModel.md +0 -0
  159. package/docs/OAuth20Api.md +49 -1
  160. package/docs/OfflineInstancesEntity.md +0 -0
  161. package/docs/OrderDTO.md +25 -0
  162. package/docs/OrderDetailsDTO.md +0 -0
  163. package/docs/OrderEntity.md +0 -0
  164. package/docs/OrderItemDTO.md +2 -0
  165. package/docs/OrderRequestModel.md +0 -0
  166. package/docs/OrderResponseDTO.md +25 -0
  167. package/docs/OrderSummariesModel.md +0 -0
  168. package/docs/OrderSummaryDTO.md +0 -0
  169. package/docs/OrderTotalModel.md +0 -0
  170. package/docs/OrderedItemEntity.md +0 -0
  171. package/docs/OrderedItemModel.md +0 -0
  172. package/docs/OrdersApi.md +57 -1
  173. package/docs/PartnerDTO.md +39 -0
  174. package/docs/PatchUpdateAccountCnameRequest.md +0 -0
  175. package/docs/PatchUpdateAccountCompanyNumberRequest.md +0 -0
  176. package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
  177. package/docs/PatchUpdateAccountPhoneRequest.md +0 -0
  178. package/docs/PatchUpdateAccountVatNumberRequest.md +0 -0
  179. package/docs/{PatchSetTcxWizardCnameRequest.md → PatchUpdateCreditLimitRequest.md} +5 -5
  180. package/docs/{PostCreateCrmNoteRequest.md → PatchUpdatePriceListRequest.md} +5 -5
  181. package/docs/{PostAddAdminNoteRequest.md → PatchUpdateSipChannelCostRequest.md} +5 -5
  182. package/docs/PatchUpdateTcxHostingPriceListRequest.md +20 -0
  183. package/docs/{PatchSendWelcomeEmailRequest.md → PatchUpdateTcxPartnerIdRequest.md} +5 -5
  184. package/docs/PortalAccountModel.md +4 -2
  185. package/docs/PortalLoginModel.md +0 -0
  186. package/docs/PostAddOrderNoteRequest.md +0 -0
  187. package/docs/PostAddWebhook200Response.md +0 -0
  188. package/docs/PostGetClientCredentialsRequest.md +0 -0
  189. package/docs/PostGetProductForCustomerRequest.md +2 -0
  190. package/docs/PostSendWelcomeEmailRequest.md +0 -0
  191. package/docs/PostSplitOrderRequest.md +0 -0
  192. package/docs/PriceListItemModel.md +0 -0
  193. package/docs/PricingApi.md +1 -1
  194. package/docs/PrinterEntity.md +0 -0
  195. package/docs/PrizesEntity.md +0 -0
  196. package/docs/ProductPriceListItemModel.md +0 -0
  197. package/docs/ProductSearchResultsModel.md +0 -0
  198. package/docs/ProductSerialInfoModel.md +0 -0
  199. package/docs/ProductSummaryDTO.md +2 -2
  200. package/docs/ProductsApi.md +6 -6
  201. package/docs/PromoCodesEntity.md +0 -0
  202. package/docs/PromoItemsEntity.md +0 -0
  203. package/docs/ProspectDTO.md +2 -2
  204. package/docs/ProspectEntity.md +0 -0
  205. package/docs/ProspectsApi.md +1 -1
  206. package/docs/ProvisioningApi.md +1 -1
  207. package/docs/ProvisioningModel.md +0 -0
  208. package/docs/ProvisioningRequestEntity.md +0 -0
  209. package/docs/PutAllocateItemsRequest.md +0 -0
  210. package/docs/PutAllocateItemsRequestItemsInner.md +0 -0
  211. package/docs/RecordingBackupAzureModel.md +0 -0
  212. package/docs/RecordingsBackupInfoDTO.md +2 -2
  213. package/docs/RemoteStorageDTO.md +0 -0
  214. package/docs/ResourceNotReadyException.md +0 -0
  215. package/docs/RootAccessModel.md +0 -0
  216. package/docs/S3BucketEntity.md +0 -0
  217. package/docs/SIPTrunksApi.md +1 -1
  218. package/docs/SMSApi.md +1 -1
  219. package/docs/SbcDTO.md +35 -0
  220. package/docs/ScannedItemModel.md +0 -0
  221. package/docs/ScopeModel.md +0 -0
  222. package/docs/ServiceHealthDTO.md +0 -0
  223. package/docs/ServiceStatusDTO.md +0 -0
  224. package/docs/ServicesApi.md +1 -1
  225. package/docs/ShipmentAddressEntity.md +0 -0
  226. package/docs/ShipmentDTO.md +0 -0
  227. package/docs/ShipmentEntity.md +0 -0
  228. package/docs/ShipmentItemDTO.md +0 -0
  229. package/docs/ShipmentItemEntity.md +0 -0
  230. package/docs/ShipmentItemModel.md +0 -0
  231. package/docs/ShipmentModel.md +0 -0
  232. package/docs/ShipmentRequestDTO.md +2 -2
  233. package/docs/ShippingAddressDTO.md +35 -0
  234. package/docs/ShippingApi.md +1 -1
  235. package/docs/ShippingConsignmentModel.md +0 -0
  236. package/docs/ShippingInformationDTO.md +0 -0
  237. package/docs/ShippingRequestDTO.md +0 -0
  238. package/docs/ShippingServiceDTO.md +0 -0
  239. package/docs/ShippingServiceModel.md +0 -0
  240. package/docs/ShippingServicesModel.md +0 -0
  241. package/docs/SipTrunkChangeResponseModel.md +0 -0
  242. package/docs/SipTrunkCreationRequestModel.md +0 -0
  243. package/docs/SipTrunkEntity.md +0 -0
  244. package/docs/SipTrunksResponseModel.md +0 -0
  245. package/docs/SmsAccountDTO.md +0 -0
  246. package/docs/SmsAccountEntity.md +0 -0
  247. package/docs/SmsAccountRequestDTO.md +0 -0
  248. package/docs/SmsDataModel.md +0 -0
  249. package/docs/SmsMessageModel.md +0 -0
  250. package/docs/SmsNumbersEntity.md +0 -0
  251. package/docs/SmsPayloadModel.md +0 -0
  252. package/docs/SmsPhoneNumberModel.md +0 -0
  253. package/docs/SmsResponseModel.md +0 -0
  254. package/docs/SmsWhitelistEntity.md +0 -0
  255. package/docs/StockManagementApi.md +1 -1
  256. package/docs/StockOrderCourierEntity.md +0 -0
  257. package/docs/StockOrderDeductionModel.md +0 -0
  258. package/docs/StockOrderDeductionRequestModel.md +0 -0
  259. package/docs/StockOrderDeductionsEntity.md +0 -0
  260. package/docs/StockOrderEntity.md +0 -0
  261. package/docs/StockOrderItemEntity.md +0 -0
  262. package/docs/StockOrderItemModel.md +0 -0
  263. package/docs/StockOrderItemRequestModel.md +0 -0
  264. package/docs/StockOrderModel.md +0 -0
  265. package/docs/StockOrderProductEntity.md +0 -0
  266. package/docs/StockOrderRequestModel.md +0 -0
  267. package/docs/StockOrderSupplierEntity.md +0 -0
  268. package/docs/StockOrderSupplierModel.md +0 -0
  269. package/docs/StockOrdersModel.md +0 -0
  270. package/docs/StockProductModel.md +0 -0
  271. package/docs/StockProductPriceModel.md +0 -0
  272. package/docs/StockProductSummariesModel.md +0 -0
  273. package/docs/StockProductSummaryModel.md +0 -0
  274. package/docs/StockTransactionsEntity.md +0 -0
  275. package/docs/SupplierEntity.md +0 -0
  276. package/docs/SupplierItemEntity.md +0 -0
  277. package/docs/SupplierItemModel.md +0 -0
  278. package/docs/SupplierModel.md +0 -0
  279. package/docs/SupportTicketModel.md +0 -0
  280. package/docs/SystemApi.md +1 -1
  281. package/docs/TableHistoryEntity.md +35 -0
  282. package/docs/TcxBackupEntity.md +0 -0
  283. package/docs/TcxBackupModel.md +0 -0
  284. package/docs/TcxBillingEntity.md +0 -0
  285. package/docs/TcxBulkLicenceDetailsModel.md +0 -0
  286. package/docs/TcxDeadLicenceEntity.md +0 -0
  287. package/docs/TcxExtsEntity.md +0 -0
  288. package/docs/TcxHostingPricingEntity.md +0 -0
  289. package/docs/TcxInstallationModel.md +0 -0
  290. package/docs/TcxInstallationsModel.md +0 -0
  291. package/docs/TcxKeySummaryDTO.md +1 -1
  292. package/docs/TcxKeysEntity.md +0 -0
  293. package/docs/TcxLicenceDetailsErrorModel.md +0 -0
  294. package/docs/TcxLicenceDetailsModel.md +0 -0
  295. package/docs/TcxMacsEntity.md +0 -0
  296. package/docs/TcxMultiTenantModel.md +0 -0
  297. package/docs/TcxMultiTenantUserModel.md +0 -0
  298. package/docs/TcxMultiTenantsModel.md +0 -0
  299. package/docs/TcxNumbersEntity.md +0 -0
  300. package/docs/TcxOfficeHoursEntity.md +0 -0
  301. package/docs/TcxPhoneModel.md +0 -0
  302. package/docs/TcxPhonesEntity.md +0 -0
  303. package/docs/TcxRemoteStorageModel.md +0 -0
  304. package/docs/TcxSbcDTO.md +0 -0
  305. package/docs/TcxSbcEntity.md +0 -0
  306. package/docs/TcxSbcModel.md +0 -0
  307. package/docs/TcxSbcResponseDTO.md +0 -0
  308. package/docs/TcxSetupEntity.md +0 -0
  309. package/docs/TcxSetupsModel.md +0 -0
  310. package/docs/TcxSipTrunksEntity.md +0 -0
  311. package/docs/TcxTemplateXmlEnum.md +0 -0
  312. package/docs/TcxUsersEntity.md +0 -0
  313. package/docs/TcxWizardConfigModel.md +0 -0
  314. package/docs/TcxWizardModel.md +0 -0
  315. package/docs/TechSupportCompanySummaryDTO.md +0 -0
  316. package/docs/TicketSummaryModel.md +0 -0
  317. package/docs/TicketTimeDTO.md +0 -0
  318. package/docs/TicketsApi.md +1 -1
  319. package/docs/TokenResponseModel.md +0 -0
  320. package/docs/UpgradeOrderResponseModel.md +0 -0
  321. package/docs/UpgradeRequestModel.md +0 -0
  322. package/docs/UserEntity.md +0 -0
  323. package/docs/WebhooksApi.md +1 -1
  324. package/docs/XeroLogEntity.md +0 -0
  325. package/getEnums.php +31 -31
  326. package/git_push.sh +0 -0
  327. package/index.ts +1 -1
  328. package/models/CourierEnum.ts +0 -0
  329. package/models/EventStatusEnum.ts +0 -0
  330. package/models/EventTypeEnum.ts +0 -0
  331. package/models/HostingPriceListEnum.ts +29 -0
  332. package/models/PaymentMethodEnum.ts +14 -0
  333. package/models/PortStatusEnum.ts +0 -0
  334. package/models/PrinterEnum.ts +0 -0
  335. package/models/ScheduledTaskEnum.ts +0 -0
  336. package/models/ServiceEnum.ts +0 -0
  337. package/models/ServiceHealthEnum.ts +0 -0
  338. package/models/ServiceStatusEnum.ts +0 -0
  339. package/models/UpdateTypeEnum.ts +0 -0
  340. package/models/UserGroupEnum.ts +29 -0
  341. package/openapitools.json +1 -1
  342. package/package.json +2 -2
  343. package/tsconfig.json +0 -0
  344. package/dist/models/StatusEnum.d.ts +0 -18
  345. package/dist/models/StatusEnum.js +0 -20
  346. package/dist/src/apis/AccountsApi.d.ts +0 -258
  347. package/dist/src/apis/AccountsApi.js +0 -975
  348. package/dist/src/apis/CRMApi.d.ts +0 -26
  349. package/dist/src/apis/CRMApi.js +0 -122
  350. package/dist/src/apis/Class3CXApi.d.ts +0 -44
  351. package/dist/src/apis/Class3CXApi.js +0 -177
  352. package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +0 -446
  353. package/dist/src/apis/Class3CXInstallationWizardApi.js +0 -1740
  354. package/dist/src/apis/Class3CXInstallationsApi.d.ts +0 -253
  355. package/dist/src/apis/Class3CXInstallationsApi.js +0 -806
  356. package/dist/src/apis/Class3CXIntegrationsApi.d.ts +0 -102
  357. package/dist/src/apis/Class3CXIntegrationsApi.js +0 -386
  358. package/dist/src/apis/Class3CXMultiTenantApi.d.ts +0 -122
  359. package/dist/src/apis/Class3CXMultiTenantApi.js +0 -431
  360. package/dist/src/apis/MyPBXToolsApi.d.ts +0 -32
  361. package/dist/src/apis/MyPBXToolsApi.js +0 -136
  362. package/dist/src/apis/OAuth20Api.d.ts +0 -185
  363. package/dist/src/apis/OAuth20Api.js +0 -507
  364. package/dist/src/apis/OrdersApi.d.ts +0 -154
  365. package/dist/src/apis/OrdersApi.js +0 -512
  366. package/dist/src/apis/PricingApi.d.ts +0 -154
  367. package/dist/src/apis/PricingApi.js +0 -308
  368. package/dist/src/apis/ProductsApi.d.ts +0 -135
  369. package/dist/src/apis/ProductsApi.js +0 -531
  370. package/dist/src/apis/ProvisioningApi.d.ts +0 -112
  371. package/dist/src/apis/ProvisioningApi.js +0 -427
  372. package/dist/src/apis/SIPTrunksApi.d.ts +0 -315
  373. package/dist/src/apis/SIPTrunksApi.js +0 -1197
  374. package/dist/src/apis/SMSApi.d.ts +0 -30
  375. package/dist/src/apis/SMSApi.js +0 -130
  376. package/dist/src/apis/ServicesApi.d.ts +0 -81
  377. package/dist/src/apis/ServicesApi.js +0 -386
  378. package/dist/src/apis/ShippingApi.d.ts +0 -45
  379. package/dist/src/apis/ShippingApi.js +0 -179
  380. package/dist/src/apis/StockManagementApi.d.ts +0 -345
  381. package/dist/src/apis/StockManagementApi.js +0 -1293
  382. package/dist/src/apis/SystemApi.d.ts +0 -37
  383. package/dist/src/apis/SystemApi.js +0 -146
  384. package/dist/src/apis/TicketsApi.d.ts +0 -79
  385. package/dist/src/apis/TicketsApi.js +0 -360
  386. package/dist/src/apis/WebhooksApi.d.ts +0 -56
  387. package/dist/src/apis/WebhooksApi.js +0 -189
  388. package/dist/src/apis/index.d.ts +0 -21
  389. package/dist/src/apis/index.js +0 -39
  390. package/dist/src/index.d.ts +0 -3
  391. package/dist/src/index.js +0 -21
  392. package/dist/src/models/AbstractOrderRequestDTO.d.ts +0 -71
  393. package/dist/src/models/AbstractOrderRequestDTO.js +0 -64
  394. package/dist/src/models/AccountContactEntity.d.ts +0 -104
  395. package/dist/src/models/AccountContactEntity.js +0 -73
  396. package/dist/src/models/AccountContactModel.d.ts +0 -104
  397. package/dist/src/models/AccountContactModel.js +0 -73
  398. package/dist/src/models/AccountContactRequestModel.d.ts +0 -80
  399. package/dist/src/models/AccountContactRequestModel.js +0 -65
  400. package/dist/src/models/AccountDetailedSummaryDTO.d.ts +0 -89
  401. package/dist/src/models/AccountDetailedSummaryDTO.js +0 -70
  402. package/dist/src/models/AccountRequestModel.d.ts +0 -128
  403. package/dist/src/models/AccountRequestModel.js +0 -81
  404. package/dist/src/models/AccountSummaryDTO.d.ts +0 -44
  405. package/dist/src/models/AccountSummaryDTO.js +0 -53
  406. package/dist/src/models/AccountsResponseModel.d.ts +0 -51
  407. package/dist/src/models/AccountsResponseModel.js +0 -56
  408. package/dist/src/models/AddressModel.d.ts +0 -110
  409. package/dist/src/models/AddressModel.js +0 -75
  410. package/dist/src/models/AddressRequestModel.d.ts +0 -50
  411. package/dist/src/models/AddressRequestModel.js +0 -55
  412. package/dist/src/models/AdminOrderRequestDTO.d.ts +0 -113
  413. package/dist/src/models/AdminOrderRequestDTO.js +0 -78
  414. package/dist/src/models/AdminUserModel.d.ts +0 -79
  415. package/dist/src/models/AdminUserModel.js +0 -72
  416. package/dist/src/models/AgentHoursGraphModel.d.ts +0 -51
  417. package/dist/src/models/AgentHoursGraphModel.js +0 -56
  418. package/dist/src/models/AgentHoursGraphMonthModel.d.ts +0 -38
  419. package/dist/src/models/AgentHoursGraphMonthModel.js +0 -51
  420. package/dist/src/models/ApiLogEntity.d.ts +0 -98
  421. package/dist/src/models/ApiLogEntity.js +0 -71
  422. package/dist/src/models/AreaCodeModel.d.ts +0 -38
  423. package/dist/src/models/AreaCodeModel.js +0 -51
  424. package/dist/src/models/AttachmentModel.d.ts +0 -56
  425. package/dist/src/models/AttachmentModel.js +0 -57
  426. package/dist/src/models/AttributeSetEnum.d.ts +0 -38
  427. package/dist/src/models/AttributeSetEnum.js +0 -51
  428. package/dist/src/models/AuditLogEntity.d.ts +0 -80
  429. package/dist/src/models/AuditLogEntity.js +0 -65
  430. package/dist/src/models/AuthCodeResponseModel.d.ts +0 -44
  431. package/dist/src/models/AuthCodeResponseModel.js +0 -53
  432. package/dist/src/models/BasicItemDTO.d.ts +0 -38
  433. package/dist/src/models/BasicItemDTO.js +0 -51
  434. package/dist/src/models/BasicProductDTO.d.ts +0 -38
  435. package/dist/src/models/BasicProductDTO.js +0 -51
  436. package/dist/src/models/BatchEntity.d.ts +0 -128
  437. package/dist/src/models/BatchEntity.js +0 -81
  438. package/dist/src/models/CallBarringModel.d.ts +0 -56
  439. package/dist/src/models/CallBarringModel.js +0 -57
  440. package/dist/src/models/ClientDetailsModel.d.ts +0 -68
  441. package/dist/src/models/ClientDetailsModel.js +0 -61
  442. package/dist/src/models/ClientModel.d.ts +0 -50
  443. package/dist/src/models/ClientModel.js +0 -55
  444. package/dist/src/models/CompanyContractModel.d.ts +0 -56
  445. package/dist/src/models/CompanyContractModel.js +0 -57
  446. package/dist/src/models/ContactInfoModel.d.ts +0 -56
  447. package/dist/src/models/ContactInfoModel.js +0 -57
  448. package/dist/src/models/ConversationModel.d.ts +0 -75
  449. package/dist/src/models/ConversationModel.js +0 -64
  450. package/dist/src/models/CourierPriceEntity.d.ts +0 -86
  451. package/dist/src/models/CourierPriceEntity.js +0 -67
  452. package/dist/src/models/CreditAccountEntity.d.ts +0 -152
  453. package/dist/src/models/CreditAccountEntity.js +0 -89
  454. package/dist/src/models/CrmContactDTO.d.ts +0 -68
  455. package/dist/src/models/CrmContactDTO.js +0 -61
  456. package/dist/src/models/CustomerInformationModel.d.ts +0 -68
  457. package/dist/src/models/CustomerInformationModel.js +0 -61
  458. package/dist/src/models/CustomerItemRequestDTO.d.ts +0 -81
  459. package/dist/src/models/CustomerItemRequestDTO.js +0 -66
  460. package/dist/src/models/CustomerOrderRequestDTO.d.ts +0 -71
  461. package/dist/src/models/CustomerOrderRequestDTO.js +0 -64
  462. package/dist/src/models/CustomerPriceListEnum.d.ts +0 -38
  463. package/dist/src/models/CustomerPriceListEnum.js +0 -51
  464. package/dist/src/models/CustomerSummaryReportDTO.d.ts +0 -65
  465. package/dist/src/models/CustomerSummaryReportDTO.js +0 -62
  466. package/dist/src/models/DdiRangeRequestModel.d.ts +0 -44
  467. package/dist/src/models/DdiRangeRequestModel.js +0 -53
  468. package/dist/src/models/DdiRangesRequestModel.d.ts +0 -33
  469. package/dist/src/models/DdiRangesRequestModel.js +0 -50
  470. package/dist/src/models/DetailedItemRequestDTO.d.ts +0 -99
  471. package/dist/src/models/DetailedItemRequestDTO.js +0 -72
  472. package/dist/src/models/DetailedOrderRequestDTO.d.ts +0 -71
  473. package/dist/src/models/DetailedOrderRequestDTO.js +0 -64
  474. package/dist/src/models/DivertRequestModel.d.ts +0 -38
  475. package/dist/src/models/DivertRequestModel.js +0 -51
  476. package/dist/src/models/DivertResponseModel.d.ts +0 -52
  477. package/dist/src/models/DivertResponseModel.js +0 -61
  478. package/dist/src/models/EdTechProClientEntity.d.ts +0 -56
  479. package/dist/src/models/EdTechProClientEntity.js +0 -57
  480. package/dist/src/models/EdTechProSchoolModel.d.ts +0 -104
  481. package/dist/src/models/EdTechProSchoolModel.js +0 -73
  482. package/dist/src/models/EdTechProSchoolsModel.d.ts +0 -51
  483. package/dist/src/models/EdTechProSchoolsModel.js +0 -56
  484. package/dist/src/models/EdTechProSetupModel.d.ts +0 -56
  485. package/dist/src/models/EdTechProSetupModel.js +0 -57
  486. package/dist/src/models/EventDTO.d.ts +0 -84
  487. package/dist/src/models/EventDTO.js +0 -73
  488. package/dist/src/models/EventRequestDTO.d.ts +0 -44
  489. package/dist/src/models/EventRequestDTO.js +0 -53
  490. package/dist/src/models/EventSubscriptionModel.d.ts +0 -38
  491. package/dist/src/models/EventSubscriptionModel.js +0 -51
  492. package/dist/src/models/EventTypeEnum.d.ts +0 -19
  493. package/dist/src/models/EventTypeEnum.js +0 -24
  494. package/dist/src/models/EventUpdateDTO.d.ts +0 -50
  495. package/dist/src/models/EventUpdateDTO.js +0 -55
  496. package/dist/src/models/EventUpdateEntity.d.ts +0 -56
  497. package/dist/src/models/EventUpdateEntity.js +0 -57
  498. package/dist/src/models/EventUpdateRequestDTO.d.ts +0 -44
  499. package/dist/src/models/EventUpdateRequestDTO.js +0 -53
  500. package/dist/src/models/FraudManagementModel.d.ts +0 -38
  501. package/dist/src/models/FraudManagementModel.js +0 -51
  502. package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +0 -51
  503. package/dist/src/models/FreshdeskCompanyTicketsModel.js +0 -56
  504. package/dist/src/models/FreshdeskTicketEntity.d.ts +0 -68
  505. package/dist/src/models/FreshdeskTicketEntity.js +0 -61
  506. package/dist/src/models/FtpAccountsEntity.d.ts +0 -56
  507. package/dist/src/models/FtpAccountsEntity.js +0 -57
  508. package/dist/src/models/GenericFileModel.d.ts +0 -44
  509. package/dist/src/models/GenericFileModel.js +0 -53
  510. package/dist/src/models/GetGetPrice200Response.d.ts +0 -32
  511. package/dist/src/models/GetGetPrice200Response.js +0 -49
  512. package/dist/src/models/GetGetRecording200Response.d.ts +0 -32
  513. package/dist/src/models/GetGetRecording200Response.js +0 -49
  514. package/dist/src/models/HostingChangeResponseModel.d.ts +0 -64
  515. package/dist/src/models/HostingChangeResponseModel.js +0 -65
  516. package/dist/src/models/HostingRegionDTO.d.ts +0 -59
  517. package/dist/src/models/HostingRegionDTO.js +0 -68
  518. package/dist/src/models/InstanceAutoFailoverEntity.d.ts +0 -56
  519. package/dist/src/models/InstanceAutoFailoverEntity.js +0 -57
  520. package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +0 -50
  521. package/dist/src/models/InstanceDeletionScheduleEntity.js +0 -55
  522. package/dist/src/models/InstanceEntity.d.ts +0 -152
  523. package/dist/src/models/InstanceEntity.js +0 -89
  524. package/dist/src/models/InstanceFailoverEntity.d.ts +0 -92
  525. package/dist/src/models/InstanceFailoverEntity.js +0 -69
  526. package/dist/src/models/InstanceMonitoringEntity.d.ts +0 -44
  527. package/dist/src/models/InstanceMonitoringEntity.js +0 -53
  528. package/dist/src/models/InstanceMonitoringLogEntity.d.ts +0 -62
  529. package/dist/src/models/InstanceMonitoringLogEntity.js +0 -59
  530. package/dist/src/models/InstanceScheduledTasksEntity.d.ts +0 -62
  531. package/dist/src/models/InstanceScheduledTasksEntity.js +0 -59
  532. package/dist/src/models/InstanceTcxDetailsEntity.d.ts +0 -86
  533. package/dist/src/models/InstanceTcxDetailsEntity.js +0 -67
  534. package/dist/src/models/InstanceUserCredentialsEntity.d.ts +0 -56
  535. package/dist/src/models/InstanceUserCredentialsEntity.js +0 -57
  536. package/dist/src/models/ItemDTO.d.ts +0 -117
  537. package/dist/src/models/ItemDTO.js +0 -78
  538. package/dist/src/models/ItemDiscountEntity.d.ts +0 -77
  539. package/dist/src/models/ItemDiscountEntity.js +0 -70
  540. package/dist/src/models/ItemEntity.d.ts +0 -158
  541. package/dist/src/models/ItemEntity.js +0 -91
  542. package/dist/src/models/LinkedOrderEntity.d.ts +0 -38
  543. package/dist/src/models/LinkedOrderEntity.js +0 -51
  544. package/dist/src/models/MFARequiredModel.d.ts +0 -38
  545. package/dist/src/models/MFARequiredModel.js +0 -51
  546. package/dist/src/models/MonthlyUsageModel.d.ts +0 -38
  547. package/dist/src/models/MonthlyUsageModel.js +0 -51
  548. package/dist/src/models/MultiTenantChangeResponseModel.d.ts +0 -70
  549. package/dist/src/models/MultiTenantChangeResponseModel.js +0 -75
  550. package/dist/src/models/NavigationModel.d.ts +0 -50
  551. package/dist/src/models/NavigationModel.js +0 -55
  552. package/dist/src/models/OfflineInstancesEntity.d.ts +0 -56
  553. package/dist/src/models/OfflineInstancesEntity.js +0 -57
  554. package/dist/src/models/OrderEntity.d.ts +0 -374
  555. package/dist/src/models/OrderEntity.js +0 -163
  556. package/dist/src/models/OrderRequestModel.d.ts +0 -120
  557. package/dist/src/models/OrderRequestModel.js +0 -88
  558. package/dist/src/models/OrderSummariesModel.d.ts +0 -51
  559. package/dist/src/models/OrderSummariesModel.js +0 -56
  560. package/dist/src/models/OrderSummaryDTO.d.ts +0 -126
  561. package/dist/src/models/OrderSummaryDTO.js +0 -83
  562. package/dist/src/models/OrderTotalModel.d.ts +0 -111
  563. package/dist/src/models/OrderTotalModel.js +0 -100
  564. package/dist/src/models/OrderedItemEntity.d.ts +0 -110
  565. package/dist/src/models/OrderedItemEntity.js +0 -75
  566. package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +0 -32
  567. package/dist/src/models/PatchSetTcxWizardCnameRequest.js +0 -49
  568. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +0 -32
  569. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +0 -49
  570. package/dist/src/models/PortalAccountModel.d.ts +0 -171
  571. package/dist/src/models/PortalAccountModel.js +0 -96
  572. package/dist/src/models/PortalLoginModel.d.ts +0 -68
  573. package/dist/src/models/PortalLoginModel.js +0 -61
  574. package/dist/src/models/PostAddWebhook200Response.d.ts +0 -32
  575. package/dist/src/models/PostAddWebhook200Response.js +0 -49
  576. package/dist/src/models/PostGetClientCredentialsRequest.d.ts +0 -32
  577. package/dist/src/models/PostGetClientCredentialsRequest.js +0 -49
  578. package/dist/src/models/PostGetProductForCustomerRequest.d.ts +0 -50
  579. package/dist/src/models/PostGetProductForCustomerRequest.js +0 -55
  580. package/dist/src/models/PostGetProductRequest.d.ts +0 -44
  581. package/dist/src/models/PostGetProductRequest.js +0 -53
  582. package/dist/src/models/PriceListItemModel.d.ts +0 -56
  583. package/dist/src/models/PriceListItemModel.js +0 -57
  584. package/dist/src/models/PrizesEntity.d.ts +0 -62
  585. package/dist/src/models/PrizesEntity.js +0 -59
  586. package/dist/src/models/ProductPriceListItemModel.d.ts +0 -62
  587. package/dist/src/models/ProductPriceListItemModel.js +0 -59
  588. package/dist/src/models/ProductSearchResultsModel.d.ts +0 -33
  589. package/dist/src/models/ProductSearchResultsModel.js +0 -50
  590. package/dist/src/models/ProductSerialInfoModel.d.ts +0 -50
  591. package/dist/src/models/ProductSerialInfoModel.js +0 -55
  592. package/dist/src/models/ProductSummaryDTO.d.ts +0 -81
  593. package/dist/src/models/ProductSummaryDTO.js +0 -66
  594. package/dist/src/models/PromoCodesEntity.d.ts +0 -98
  595. package/dist/src/models/PromoCodesEntity.js +0 -71
  596. package/dist/src/models/PromoItemsEntity.d.ts +0 -74
  597. package/dist/src/models/PromoItemsEntity.js +0 -63
  598. package/dist/src/models/ProvisioningModel.d.ts +0 -56
  599. package/dist/src/models/ProvisioningModel.js +0 -57
  600. package/dist/src/models/ProvisioningRequestEntity.d.ts +0 -44
  601. package/dist/src/models/ProvisioningRequestEntity.js +0 -53
  602. package/dist/src/models/RecordingBackupAzureModel.d.ts +0 -50
  603. package/dist/src/models/RecordingBackupAzureModel.js +0 -55
  604. package/dist/src/models/RecordingsBackupInfoDTO.d.ts +0 -40
  605. package/dist/src/models/RecordingsBackupInfoDTO.js +0 -53
  606. package/dist/src/models/ResourceNotReadyException.d.ts +0 -44
  607. package/dist/src/models/ResourceNotReadyException.js +0 -53
  608. package/dist/src/models/RootAccessModel.d.ts +0 -44
  609. package/dist/src/models/RootAccessModel.js +0 -53
  610. package/dist/src/models/S3BucketEntity.d.ts +0 -50
  611. package/dist/src/models/S3BucketEntity.js +0 -55
  612. package/dist/src/models/ScannedItemModel.d.ts +0 -56
  613. package/dist/src/models/ScannedItemModel.js +0 -57
  614. package/dist/src/models/ScopeModel.d.ts +0 -38
  615. package/dist/src/models/ScopeModel.js +0 -51
  616. package/dist/src/models/ServiceEnum.d.ts +0 -14
  617. package/dist/src/models/ServiceEnum.js +0 -19
  618. package/dist/src/models/ServiceHealthDTO.d.ts +0 -48
  619. package/dist/src/models/ServiceHealthDTO.js +0 -61
  620. package/dist/src/models/ServiceHealthEnum.d.ts +0 -19
  621. package/dist/src/models/ServiceHealthEnum.js +0 -24
  622. package/dist/src/models/ServiceStatusDTO.d.ts +0 -60
  623. package/dist/src/models/ServiceStatusDTO.js +0 -65
  624. package/dist/src/models/ServiceStatusEnum.d.ts +0 -19
  625. package/dist/src/models/ServiceStatusEnum.js +0 -24
  626. package/dist/src/models/ShipmentAddressEntity.d.ts +0 -92
  627. package/dist/src/models/ShipmentAddressEntity.js +0 -69
  628. package/dist/src/models/ShipmentEntity.d.ts +0 -98
  629. package/dist/src/models/ShipmentEntity.js +0 -71
  630. package/dist/src/models/ShipmentItemEntity.d.ts +0 -56
  631. package/dist/src/models/ShipmentItemEntity.js +0 -57
  632. package/dist/src/models/ShippingConsignmentModel.d.ts +0 -51
  633. package/dist/src/models/ShippingConsignmentModel.js +0 -56
  634. package/dist/src/models/ShippingInformationDTO.d.ts +0 -45
  635. package/dist/src/models/ShippingInformationDTO.js +0 -54
  636. package/dist/src/models/ShippingServiceDTO.d.ts +0 -47
  637. package/dist/src/models/ShippingServiceDTO.js +0 -60
  638. package/dist/src/models/ShippingServiceModel.d.ts +0 -71
  639. package/dist/src/models/ShippingServiceModel.js +0 -68
  640. package/dist/src/models/ShippingServicesModel.d.ts +0 -33
  641. package/dist/src/models/ShippingServicesModel.js +0 -50
  642. package/dist/src/models/SipTrunkChangeResponseModel.d.ts +0 -77
  643. package/dist/src/models/SipTrunkChangeResponseModel.js +0 -78
  644. package/dist/src/models/SipTrunkCreationRequestModel.d.ts +0 -66
  645. package/dist/src/models/SipTrunkCreationRequestModel.js +0 -63
  646. package/dist/src/models/SipTrunkEntity.d.ts +0 -98
  647. package/dist/src/models/SipTrunkEntity.js +0 -71
  648. package/dist/src/models/SipTrunksResponseModel.d.ts +0 -51
  649. package/dist/src/models/SipTrunksResponseModel.js +0 -56
  650. package/dist/src/models/SmsAccountEntity.d.ts +0 -68
  651. package/dist/src/models/SmsAccountEntity.js +0 -61
  652. package/dist/src/models/SmsDataModel.d.ts +0 -33
  653. package/dist/src/models/SmsDataModel.js +0 -50
  654. package/dist/src/models/SmsMessageModel.d.ts +0 -44
  655. package/dist/src/models/SmsMessageModel.js +0 -53
  656. package/dist/src/models/SmsNumbersEntity.d.ts +0 -38
  657. package/dist/src/models/SmsNumbersEntity.js +0 -51
  658. package/dist/src/models/SmsPayloadModel.d.ts +0 -45
  659. package/dist/src/models/SmsPayloadModel.js +0 -54
  660. package/dist/src/models/SmsPhoneNumberModel.d.ts +0 -53
  661. package/dist/src/models/SmsPhoneNumberModel.js +0 -66
  662. package/dist/src/models/SmsResponseModel.d.ts +0 -67
  663. package/dist/src/models/SmsResponseModel.js +0 -68
  664. package/dist/src/models/SmsWhitelistEntity.d.ts +0 -38
  665. package/dist/src/models/SmsWhitelistEntity.js +0 -51
  666. package/dist/src/models/StockOrderCourierEntity.d.ts +0 -50
  667. package/dist/src/models/StockOrderCourierEntity.js +0 -55
  668. package/dist/src/models/StockOrderDeductionModel.d.ts +0 -50
  669. package/dist/src/models/StockOrderDeductionModel.js +0 -55
  670. package/dist/src/models/StockOrderDeductionRequestModel.d.ts +0 -38
  671. package/dist/src/models/StockOrderDeductionRequestModel.js +0 -51
  672. package/dist/src/models/StockOrderDeductionsEntity.d.ts +0 -50
  673. package/dist/src/models/StockOrderDeductionsEntity.js +0 -55
  674. package/dist/src/models/StockOrderEntity.d.ts +0 -158
  675. package/dist/src/models/StockOrderEntity.js +0 -91
  676. package/dist/src/models/StockOrderItemEntity.d.ts +0 -68
  677. package/dist/src/models/StockOrderItemEntity.js +0 -61
  678. package/dist/src/models/StockOrderItemModel.d.ts +0 -80
  679. package/dist/src/models/StockOrderItemModel.js +0 -65
  680. package/dist/src/models/StockOrderItemRequestModel.d.ts +0 -50
  681. package/dist/src/models/StockOrderItemRequestModel.js +0 -55
  682. package/dist/src/models/StockOrderModel.d.ts +0 -137
  683. package/dist/src/models/StockOrderModel.js +0 -97
  684. package/dist/src/models/StockOrderProductEntity.d.ts +0 -62
  685. package/dist/src/models/StockOrderProductEntity.js +0 -59
  686. package/dist/src/models/StockOrderRequestModel.d.ts +0 -46
  687. package/dist/src/models/StockOrderRequestModel.js +0 -55
  688. package/dist/src/models/StockOrderSupplierEntity.d.ts +0 -80
  689. package/dist/src/models/StockOrderSupplierEntity.js +0 -65
  690. package/dist/src/models/StockOrderSupplierModel.d.ts +0 -80
  691. package/dist/src/models/StockOrderSupplierModel.js +0 -65
  692. package/dist/src/models/StockOrdersModel.d.ts +0 -51
  693. package/dist/src/models/StockOrdersModel.js +0 -56
  694. package/dist/src/models/StockProductModel.d.ts +0 -120
  695. package/dist/src/models/StockProductModel.js +0 -81
  696. package/dist/src/models/StockProductPriceModel.d.ts +0 -39
  697. package/dist/src/models/StockProductPriceModel.js +0 -52
  698. package/dist/src/models/StockProductSummariesModel.d.ts +0 -51
  699. package/dist/src/models/StockProductSummariesModel.js +0 -56
  700. package/dist/src/models/StockProductSummaryModel.d.ts +0 -69
  701. package/dist/src/models/StockProductSummaryModel.js +0 -62
  702. package/dist/src/models/StockTransactionsEntity.d.ts +0 -74
  703. package/dist/src/models/StockTransactionsEntity.js +0 -63
  704. package/dist/src/models/SupplierEntity.d.ts +0 -80
  705. package/dist/src/models/SupplierEntity.js +0 -65
  706. package/dist/src/models/SupplierItemEntity.d.ts +0 -74
  707. package/dist/src/models/SupplierItemEntity.js +0 -63
  708. package/dist/src/models/TcxBackupEntity.d.ts +0 -80
  709. package/dist/src/models/TcxBackupEntity.js +0 -65
  710. package/dist/src/models/TcxBackupModel.d.ts +0 -140
  711. package/dist/src/models/TcxBackupModel.js +0 -85
  712. package/dist/src/models/TcxBillingEntity.d.ts +0 -86
  713. package/dist/src/models/TcxBillingEntity.js +0 -67
  714. package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +0 -40
  715. package/dist/src/models/TcxBulkLicenceDetailsModel.js +0 -53
  716. package/dist/src/models/TcxDeadLicenceEntity.d.ts +0 -44
  717. package/dist/src/models/TcxDeadLicenceEntity.js +0 -53
  718. package/dist/src/models/TcxExtsEntity.d.ts +0 -74
  719. package/dist/src/models/TcxExtsEntity.js +0 -63
  720. package/dist/src/models/TcxHostingPricingEntity.d.ts +0 -74
  721. package/dist/src/models/TcxHostingPricingEntity.js +0 -63
  722. package/dist/src/models/TcxInstallationDetailsModel.d.ts +0 -106
  723. package/dist/src/models/TcxInstallationDetailsModel.js +0 -75
  724. package/dist/src/models/TcxInstallationModel.d.ts +0 -200
  725. package/dist/src/models/TcxInstallationModel.js +0 -105
  726. package/dist/src/models/TcxInstallationsModel.d.ts +0 -51
  727. package/dist/src/models/TcxInstallationsModel.js +0 -56
  728. package/dist/src/models/TcxKeySummaryDTO.d.ts +0 -56
  729. package/dist/src/models/TcxKeySummaryDTO.js +0 -57
  730. package/dist/src/models/TcxKeysEntity.d.ts +0 -62
  731. package/dist/src/models/TcxKeysEntity.js +0 -59
  732. package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +0 -50
  733. package/dist/src/models/TcxLicenceDetailsErrorModel.js +0 -55
  734. package/dist/src/models/TcxLicenceDetailsModel.d.ts +0 -92
  735. package/dist/src/models/TcxLicenceDetailsModel.js +0 -69
  736. package/dist/src/models/TcxMacsEntity.d.ts +0 -44
  737. package/dist/src/models/TcxMacsEntity.js +0 -53
  738. package/dist/src/models/TcxMultiTenantModel.d.ts +0 -118
  739. package/dist/src/models/TcxMultiTenantModel.js +0 -83
  740. package/dist/src/models/TcxMultiTenantUserModel.d.ts +0 -44
  741. package/dist/src/models/TcxMultiTenantUserModel.js +0 -53
  742. package/dist/src/models/TcxMultiTenantsModel.d.ts +0 -51
  743. package/dist/src/models/TcxMultiTenantsModel.js +0 -56
  744. package/dist/src/models/TcxNumbersEntity.d.ts +0 -44
  745. package/dist/src/models/TcxNumbersEntity.js +0 -53
  746. package/dist/src/models/TcxOfficeHoursEntity.d.ts +0 -116
  747. package/dist/src/models/TcxOfficeHoursEntity.js +0 -77
  748. package/dist/src/models/TcxPhoneModel.d.ts +0 -68
  749. package/dist/src/models/TcxPhoneModel.js +0 -61
  750. package/dist/src/models/TcxPhonesEntity.d.ts +0 -62
  751. package/dist/src/models/TcxPhonesEntity.js +0 -59
  752. package/dist/src/models/TcxRemoteStorageModel.d.ts +0 -50
  753. package/dist/src/models/TcxRemoteStorageModel.js +0 -55
  754. package/dist/src/models/TcxSbcDTO.d.ts +0 -62
  755. package/dist/src/models/TcxSbcDTO.js +0 -59
  756. package/dist/src/models/TcxSbcEntity.d.ts +0 -122
  757. package/dist/src/models/TcxSbcEntity.js +0 -79
  758. package/dist/src/models/TcxSbcModel.d.ts +0 -122
  759. package/dist/src/models/TcxSbcModel.js +0 -79
  760. package/dist/src/models/TcxSetupEntity.d.ts +0 -207
  761. package/dist/src/models/TcxSetupEntity.js +0 -123
  762. package/dist/src/models/TcxSetupsModel.d.ts +0 -51
  763. package/dist/src/models/TcxSetupsModel.js +0 -56
  764. package/dist/src/models/TcxSipTrunksEntity.d.ts +0 -104
  765. package/dist/src/models/TcxSipTrunksEntity.js +0 -73
  766. package/dist/src/models/TcxTemplateXmlEnum.d.ts +0 -38
  767. package/dist/src/models/TcxTemplateXmlEnum.js +0 -51
  768. package/dist/src/models/TcxUsersEntity.d.ts +0 -62
  769. package/dist/src/models/TcxUsersEntity.js +0 -59
  770. package/dist/src/models/TcxWizardConfigModel.d.ts +0 -39
  771. package/dist/src/models/TcxWizardConfigModel.js +0 -52
  772. package/dist/src/models/TcxWizardModel.d.ts +0 -150
  773. package/dist/src/models/TcxWizardModel.js +0 -114
  774. package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +0 -57
  775. package/dist/src/models/TechSupportCompanySummaryDTO.js +0 -58
  776. package/dist/src/models/TelephonySupportTicketModel.d.ts +0 -94
  777. package/dist/src/models/TelephonySupportTicketModel.js +0 -71
  778. package/dist/src/models/TicketSummaryModel.d.ts +0 -74
  779. package/dist/src/models/TicketSummaryModel.js +0 -63
  780. package/dist/src/models/TicketTimeDTO.d.ts +0 -80
  781. package/dist/src/models/TicketTimeDTO.js +0 -65
  782. package/dist/src/models/TokenResponseModel.d.ts +0 -44
  783. package/dist/src/models/TokenResponseModel.js +0 -53
  784. package/dist/src/models/UpdateTypeEnum.d.ts +0 -19
  785. package/dist/src/models/UpdateTypeEnum.js +0 -24
  786. package/dist/src/models/UpgradeOrderResponseModel.d.ts +0 -38
  787. package/dist/src/models/UpgradeOrderResponseModel.js +0 -51
  788. package/dist/src/models/UpgradeRequestModel.d.ts +0 -66
  789. package/dist/src/models/UpgradeRequestModel.js +0 -70
  790. package/dist/src/models/UserEntity.d.ts +0 -98
  791. package/dist/src/models/UserEntity.js +0 -71
  792. package/dist/src/models/XeroLogEntity.d.ts +0 -86
  793. package/dist/src/models/XeroLogEntity.js +0 -67
  794. package/dist/src/models/index.d.ts +0 -196
  795. package/dist/src/models/index.js +0 -214
  796. package/dist/src/runtime.d.ts +0 -184
  797. package/dist/src/runtime.js +0 -564
  798. package/docs/AccountPageDetailsDTO.md +0 -41
  799. package/docs/PostGetProductRequest.md +0 -24
  800. package/docs/TcxInstallationDetailsModel.md +0 -45
package/dist/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Yellowgrid
6
- * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://localhost` For questions or technical support, please contact support@yellowgrid.co.uk.
6
+ * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
7
7
  *
8
8
  * The version of the OpenAPI document: 0
9
9
  *
@@ -84,28 +84,39 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.ProspectDTOStatusEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelRoleEnum = void 0;
88
- exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = void 0;
89
- exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = void 0;
90
- exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = void 0;
87
+ exports.CRMApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.ProspectDTOStatusEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
88
+ exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = void 0;
89
+ exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = void 0;
90
+ exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = void 0;
91
91
  var axios_1 = require("axios");
92
92
  // Some imports not used depending on template conditions
93
93
  // @ts-ignore
94
94
  var common_1 = require("./common");
95
95
  // @ts-ignore
96
96
  var base_1 = require("./base");
97
+ exports.AdminOrderRequestDTOPaymentMethodEnum = {
98
+ Card: 'card',
99
+ Bacs: 'bacs',
100
+ };
97
101
  exports.AdminUserModelRoleEnum = {
98
102
  NUMBER_0: 0,
99
103
  NUMBER_1: 1,
100
104
  NUMBER_2: 2,
101
105
  NUMBER_3: 3,
102
- NUMBER_4: 4
106
+ NUMBER_4: 4,
107
+ };
108
+ exports.AdminUserModelPermissionsEnum = {
109
+ All: 'All',
110
+ Standard: 'Standard',
111
+ Technical: 'Technical',
112
+ Privileged: 'Privileged',
113
+ Development: 'Development',
103
114
  };
104
115
  exports.AuditLogEntityActionEnum = {
105
116
  Create: 'CREATE',
106
117
  Read: 'READ',
107
118
  Update: 'UPDATE',
108
- Delete: 'DELETE'
119
+ Delete: 'DELETE',
109
120
  };
110
121
  exports.AuditLogEntityTypeEnum = {
111
122
  AuditLog: 'audit_log',
@@ -167,6 +178,7 @@ exports.AuditLogEntityTypeEnum = {
167
178
  PopsStockTransactions: 'pops_stock_transactions',
168
179
  PopsSuppliers: 'pops_suppliers',
169
180
  PopsSupplierItems: 'pops_supplier_items',
181
+ PopsTableAttribs: 'pops_table_attribs',
170
182
  Pops3cxBackup: 'pops_3cx_backup',
171
183
  Pops3cxBilling: 'pops_3cx_billing',
172
184
  PopsDeadLicences: 'pops_dead_licences',
@@ -185,20 +197,20 @@ exports.AuditLogEntityTypeEnum = {
185
197
  Webhook: 'webhook',
186
198
  PopsXeroLog: 'pops_xero_log',
187
199
  Oauth2Clients: 'oauth2_clients',
188
- Oauth2Tokens: 'oauth2_tokens'
200
+ Oauth2Tokens: 'oauth2_tokens',
189
201
  };
190
202
  exports.DivertResponseModelStatusEnum = {
191
203
  Enabled: 'enabled',
192
- Disabled: 'disabled'
204
+ Disabled: 'disabled',
193
205
  };
194
206
  exports.EventDTOStatusEnum = {
195
207
  NUMBER_0: 0,
196
208
  NUMBER_1: 1,
197
- NUMBER_2: 2
209
+ NUMBER_2: 2,
198
210
  };
199
211
  exports.HostingChangeResponseModelTypeEnum = {
200
212
  NewInstance: 'New Instance',
201
- BuildingInstance: 'Building Instance'
213
+ BuildingInstance: 'Building Instance',
202
214
  };
203
215
  exports.HostingRegionDTOCodeEnum = {
204
216
  Uk1: 'UK1',
@@ -209,12 +221,12 @@ exports.HostingRegionDTOCodeEnum = {
209
221
  Syd1: 'SYD1',
210
222
  Sgp1: 'SGP1',
211
223
  UsEastVa1: 'US-EAST-VA-1',
212
- UsWestOr1: 'US-WEST-OR-1'
224
+ UsWestOr1: 'US-WEST-OR-1',
213
225
  };
214
226
  exports.ItemDiscountEntityTypeEnum = {
215
227
  TcxPhones: 'TCX_PHONES',
216
228
  PhoneBulk: 'PHONE_BULK',
217
- Additional: 'ADDITIONAL'
229
+ Additional: 'ADDITIONAL',
218
230
  };
219
231
  exports.MultiTenantChangeResponseModelTypeEnum = {
220
232
  NewTrunk: 'New Trunk',
@@ -230,15 +242,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
230
242
  Address: 'Address',
231
243
  BulkEndpointDetails: 'Bulk Endpoint Details',
232
244
  Fraud: 'Fraud',
233
- CallBarring: 'Call Barring'
245
+ CallBarring: 'Call Barring',
234
246
  };
235
247
  exports.OrderRequestModelLicenceTypeEnum = {
236
248
  Lite: 'lite',
237
- Pro: 'pro'
249
+ Pro: 'pro',
238
250
  };
239
251
  exports.OrderRequestModelSchoolTypeEnum = {
240
252
  Primary: 'primary',
241
- Secondary: 'secondary'
253
+ Secondary: 'secondary',
242
254
  };
243
255
  exports.OrderTotalModelCurrencyEnum = {
244
256
  Eur: 'EUR',
@@ -271,54 +283,71 @@ exports.OrderTotalModelCurrencyEnum = {
271
283
  Php: 'PHP',
272
284
  Sgd: 'SGD',
273
285
  Thb: 'THB',
274
- Zar: 'ZAR'
286
+ Zar: 'ZAR',
287
+ };
288
+ exports.PatchUpdatePriceListRequestPriceListEnum = {
289
+ Rrp: 'RRP',
290
+ Trade: 'Trade',
291
+ Wholesale: 'Wholesale',
292
+ Itsp: 'ITSP',
293
+ SubDisti: 'Sub Disti',
294
+ Distributor: 'Distributor',
295
+ HotelDisti: 'Hotel Disti',
296
+ };
297
+ exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
298
+ _1: '1',
299
+ _2: '2',
300
+ _3: '3',
301
+ _4: '4',
302
+ _5: '5',
275
303
  };
276
304
  exports.ProspectDTOStatusEnum = {
277
305
  NoCallBackSet: 'No Call Back Set',
278
306
  CallBackDue: 'Call Back Due',
279
307
  NoOrdersPlaced: 'No Orders Placed',
280
308
  NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
281
- NoActionRequired: 'No Action Required'
309
+ NoActionRequired: 'No Action Required',
310
+ DoNotCall: 'Do Not Call',
282
311
  };
283
312
  exports.ServiceHealthDTOGlobalStatusEnum = {
284
313
  NUMBER_0: 0,
285
314
  NUMBER_1: 1,
286
- NUMBER_2: 2
315
+ NUMBER_2: 2,
287
316
  };
288
317
  exports.ServiceStatusDTOStatusEnum = {
289
318
  _0: '0',
290
319
  _1: '1',
291
- _2: '2'
320
+ _2: '2',
292
321
  };
293
322
  exports.ShipmentDTOCourierEnum = {
294
323
  Dpd: 'DPD',
295
324
  ChorltonPallet: 'Chorlton Pallet',
296
- Pops: 'POPS'
325
+ Pops: 'POPS',
297
326
  };
298
327
  exports.ShipmentRequestDTOCourierEnum = {
299
328
  Dpd: 'DPD',
300
329
  ChorltonPallet: 'Chorlton Pallet',
301
- Pops: 'POPS'
330
+ Pops: 'POPS',
302
331
  };
303
332
  exports.ShippingRequestDTOCourierEnum = {
304
333
  Dpd: 'DPD',
305
334
  ChorltonPallet: 'Chorlton Pallet',
306
- Pops: 'POPS'
335
+ Pops: 'POPS',
307
336
  };
308
337
  exports.ShippingRequestDTOPrinterEnum = {
309
338
  NUMBER_1: 1,
310
339
  NUMBER_2: 2,
311
- NUMBER_3: 3
340
+ NUMBER_3: 3,
312
341
  };
313
342
  exports.ShippingServiceDTOCourierEnum = {
314
343
  Dpd: 'DPD',
315
344
  ChorltonPallet: 'Chorlton Pallet',
316
- Pops: 'POPS'
345
+ Pops: 'POPS',
317
346
  };
318
347
  exports.ShippingServiceModelCourierEnum = {
319
348
  Dpd: 'DPD',
320
349
  ChorltonPallet: 'Chorlton Pallet',
321
- Pops: 'POPS'
350
+ Pops: 'POPS',
322
351
  };
323
352
  exports.SipTrunkChangeResponseModelTypeEnum = {
324
353
  NewTrunk: 'New Trunk',
@@ -334,17 +363,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
334
363
  Address: 'Address',
335
364
  BulkEndpointDetails: 'Bulk Endpoint Details',
336
365
  Fraud: 'Fraud',
337
- CallBarring: 'Call Barring'
366
+ CallBarring: 'Call Barring',
338
367
  };
339
368
  exports.SmsAccountRequestDTOProviderEnum = {
340
- NUMBER_1: 1
369
+ NUMBER_1: 1,
341
370
  };
342
371
  exports.SmsAccountRequestDTOTypeEnum = {
343
372
  Local: 'local',
344
373
  TollFree: 'toll_free',
345
374
  Mobile: 'mobile',
346
375
  National: 'national',
347
- SharedCost: 'shared_cost'
376
+ SharedCost: 'shared_cost',
348
377
  };
349
378
  exports.SmsPhoneNumberModelStatusEnum = {
350
379
  Queued: 'queued',
@@ -355,31 +384,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
355
384
  DeliveryUnconfirmed: 'delivery_unconfirmed',
356
385
  Delivered: 'delivered',
357
386
  DeliveryFailed: 'delivery_failed',
358
- WebhookDelivered: 'webhook_delivered'
387
+ WebhookDelivered: 'webhook_delivered',
359
388
  };
360
389
  exports.SmsResponseModelEventTypeEnum = {
361
390
  MessageSent: 'message.sent',
362
391
  MessageFinalized: 'message.finalized',
363
- MessageReceived: 'message.received'
392
+ MessageReceived: 'message.received',
364
393
  };
365
394
  exports.StockOrderModelDeliveryMethodEnum = {
366
395
  Sea: 'Sea',
367
396
  Air: 'Air',
368
- Road: 'Road'
397
+ Road: 'Road',
369
398
  };
370
399
  exports.StockOrderModelPaidEnum = {
371
400
  NUMBER_0: 0,
372
401
  NUMBER_1: 1,
373
- NUMBER_2: 2
402
+ NUMBER_2: 2,
374
403
  };
375
404
  exports.TcxMultiTenantModelPackageEnum = {
376
- _3CxStarterBundle: '3CX Starter Bundle'
405
+ _3CxStarterBundle: '3CX Starter Bundle',
377
406
  };
378
407
  exports.TcxSetupEntityInstallTypeEnum = {
379
408
  New: 'new',
380
409
  Restore: 'restore',
381
410
  Failover: 'failover',
382
- MultiTenant: 'multi-tenant'
411
+ MultiTenant: 'multi-tenant',
383
412
  };
384
413
  exports.TcxSetupEntityRegionEnum = {
385
414
  Uk1: 'UK1',
@@ -390,13 +419,13 @@ exports.TcxSetupEntityRegionEnum = {
390
419
  Syd1: 'SYD1',
391
420
  Sgp1: 'SGP1',
392
421
  UsEastVa1: 'US-EAST-VA-1',
393
- UsWestOr1: 'US-WEST-OR-1'
422
+ UsWestOr1: 'US-WEST-OR-1',
394
423
  };
395
424
  exports.TcxWizardModelInstallTypeEnum = {
396
425
  New: 'new',
397
426
  Restore: 'restore',
398
427
  Failover: 'failover',
399
- MultiTenant: 'multi-tenant'
428
+ MultiTenant: 'multi-tenant',
400
429
  };
401
430
  exports.TcxWizardModelInstallationStatusEnum = {
402
431
  Building: 'Building',
@@ -413,15 +442,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
413
442
  RecordingsBackupInstalled: 'Recordings Backup Installed',
414
443
  Complete: 'Complete',
415
444
  Deleted: 'Deleted',
416
- Failed: 'Failed'
445
+ Failed: 'Failed',
417
446
  };
418
447
  exports.UpgradeRequestModelLicenceTypeEnum = {
419
448
  Lite: 'lite',
420
- Pro: 'pro'
449
+ Pro: 'pro',
421
450
  };
422
451
  exports.UpgradeRequestModelSchoolTypeEnum = {
423
452
  Primary: 'primary',
424
- Secondary: 'secondary'
453
+ Secondary: 'secondary',
425
454
  };
426
455
  /**
427
456
  * AccountsApi - axios parameter creator
@@ -429,6 +458,82 @@ exports.UpgradeRequestModelSchoolTypeEnum = {
429
458
  var AccountsApiAxiosParamCreator = function (configuration) {
430
459
  var _this = this;
431
460
  return {
461
+ /**
462
+ * Delete Account Contact
463
+ * @param {string} id Account Xero ID
464
+ * @param {number} contactId Contact ID
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ */
468
+ deleteAdminUpdateAccountContact: function (id_1, contactId_1) {
469
+ var args_1 = [];
470
+ for (var _i = 2; _i < arguments.length; _i++) {
471
+ args_1[_i - 2] = arguments[_i];
472
+ }
473
+ return __awaiter(_this, __spreadArray([id_1, contactId_1], args_1, true), void 0, function (id, contactId, options) {
474
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
475
+ if (options === void 0) { options = {}; }
476
+ return __generator(this, function (_a) {
477
+ // verify required parameter 'id' is not null or undefined
478
+ (0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'id', id);
479
+ // verify required parameter 'contactId' is not null or undefined
480
+ (0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
481
+ localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
482
+ .replace('{id}', encodeURIComponent(String(id)))
483
+ .replace('{contact_id}', encodeURIComponent(String(contactId)));
484
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
485
+ if (configuration) {
486
+ baseOptions = configuration.baseOptions;
487
+ }
488
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
489
+ localVarHeaderParameter = {};
490
+ localVarQueryParameter = {};
491
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
492
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
493
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
494
+ return [2 /*return*/, {
495
+ url: (0, common_1.toPathString)(localVarUrlObj),
496
+ options: localVarRequestOptions,
497
+ }];
498
+ });
499
+ });
500
+ },
501
+ /**
502
+ * Delete Account
503
+ * @param {string} id Account Xero ID
504
+ * @param {*} [options] Override http request option.
505
+ * @throws {RequiredError}
506
+ */
507
+ deleteArchiveAccount: function (id_1) {
508
+ var args_1 = [];
509
+ for (var _i = 1; _i < arguments.length; _i++) {
510
+ args_1[_i - 1] = arguments[_i];
511
+ }
512
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
513
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
514
+ if (options === void 0) { options = {}; }
515
+ return __generator(this, function (_a) {
516
+ // verify required parameter 'id' is not null or undefined
517
+ (0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
518
+ localVarPath = "/admin/accounts/{id}/archive"
519
+ .replace('{id}', encodeURIComponent(String(id)));
520
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
521
+ if (configuration) {
522
+ baseOptions = configuration.baseOptions;
523
+ }
524
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
525
+ localVarHeaderParameter = {};
526
+ localVarQueryParameter = {};
527
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
528
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
529
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
530
+ return [2 /*return*/, {
531
+ url: (0, common_1.toPathString)(localVarUrlObj),
532
+ options: localVarRequestOptions,
533
+ }];
534
+ });
535
+ });
536
+ },
432
537
  /**
433
538
  * Delete client credentials
434
539
  * @summary Delete client credentials
@@ -448,7 +553,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
448
553
  // verify required parameter 'id' is not null or undefined
449
554
  (0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
450
555
  localVarPath = "/accounts/me/contacts/credentials/{id}"
451
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
556
+ .replace('{id}', encodeURIComponent(String(id)));
452
557
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
453
558
  if (configuration) {
454
559
  baseOptions = configuration.baseOptions;
@@ -485,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
485
590
  // verify required parameter 'email' is not null or undefined
486
591
  (0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
487
592
  localVarPath = "/accounts/me/contacts/{email}"
488
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
593
+ .replace('{email}', encodeURIComponent(String(email)));
489
594
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
490
595
  if (configuration) {
491
596
  baseOptions = configuration.baseOptions;
@@ -504,35 +609,32 @@ var AccountsApiAxiosParamCreator = function (configuration) {
504
609
  });
505
610
  },
506
611
  /**
507
- * Delete Account Contact
612
+ * Get Account Contacts
508
613
  * @param {string} id Account Xero ID
509
- * @param {number} contactId Contact ID
510
614
  * @param {*} [options] Override http request option.
511
615
  * @throws {RequiredError}
512
616
  */
513
- deleteUpdateContact: function (id_1, contactId_1) {
617
+ getAdminCreateAccountContact: function (id_1) {
514
618
  var args_1 = [];
515
- for (var _i = 2; _i < arguments.length; _i++) {
516
- args_1[_i - 2] = arguments[_i];
619
+ for (var _i = 1; _i < arguments.length; _i++) {
620
+ args_1[_i - 1] = arguments[_i];
517
621
  }
518
- return __awaiter(_this, __spreadArray([id_1, contactId_1], args_1, true), void 0, function (id, contactId, options) {
622
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
519
623
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
520
624
  if (options === void 0) { options = {}; }
521
625
  return __generator(this, function (_a) {
522
626
  // verify required parameter 'id' is not null or undefined
523
- (0, common_1.assertParamExists)('deleteUpdateContact', 'id', id);
524
- // verify required parameter 'contactId' is not null or undefined
525
- (0, common_1.assertParamExists)('deleteUpdateContact', 'contactId', contactId);
526
- localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
527
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
528
- .replace("{".concat("contact_id", "}"), encodeURIComponent(String(contactId)));
627
+ (0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
628
+ localVarPath = "/admin/accounts/{id}/contacts"
629
+ .replace('{id}', encodeURIComponent(String(id)));
529
630
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
530
631
  if (configuration) {
531
632
  baseOptions = configuration.baseOptions;
532
633
  }
533
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
634
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
534
635
  localVarHeaderParameter = {};
535
636
  localVarQueryParameter = {};
637
+ localVarHeaderParameter['Accept'] = 'application/json';
536
638
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
537
639
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
538
640
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -578,22 +680,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
578
680
  });
579
681
  },
580
682
  /**
581
- * Get Account Contacts
582
- * @summary Get Account Contacts
583
- * @param {string} [email] Contact Email Address
683
+ * Get Account Addresses
684
+ * @param {string} id Xero ID
584
685
  * @param {*} [options] Override http request option.
585
686
  * @throws {RequiredError}
586
687
  */
587
- getGetAccountContacts: function (email_1) {
688
+ getGetAccountAddresses: function (id_1) {
588
689
  var args_1 = [];
589
690
  for (var _i = 1; _i < arguments.length; _i++) {
590
691
  args_1[_i - 1] = arguments[_i];
591
692
  }
592
- return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
693
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
593
694
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
594
695
  if (options === void 0) { options = {}; }
595
696
  return __generator(this, function (_a) {
596
- localVarPath = "/accounts/me/contacts";
697
+ // verify required parameter 'id' is not null or undefined
698
+ (0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
699
+ localVarPath = "/admin/accounts/{id}/addresses"
700
+ .replace('{id}', encodeURIComponent(String(id)));
597
701
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
598
702
  if (configuration) {
599
703
  baseOptions = configuration.baseOptions;
@@ -601,9 +705,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
601
705
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
602
706
  localVarHeaderParameter = {};
603
707
  localVarQueryParameter = {};
604
- if (email !== undefined) {
605
- localVarQueryParameter['email'] = email;
606
- }
607
708
  localVarHeaderParameter['Accept'] = 'application/json';
608
709
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
609
710
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -616,25 +717,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
616
717
  });
617
718
  },
618
719
  /**
619
- * Get Account Detailed Summary
620
- * @summary Get Account Detailed Summary
621
- * @param {number} id Customer ID
720
+ * Get Account Contacts
721
+ * @summary Get Account Contacts
722
+ * @param {string} [email] Contact Email Address
622
723
  * @param {*} [options] Override http request option.
623
724
  * @throws {RequiredError}
624
725
  */
625
- getGetAccountDetailedSummary: function (id_1) {
726
+ getGetAccountContacts: function (email_1) {
626
727
  var args_1 = [];
627
728
  for (var _i = 1; _i < arguments.length; _i++) {
628
729
  args_1[_i - 1] = arguments[_i];
629
730
  }
630
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
731
+ return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
631
732
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
632
733
  if (options === void 0) { options = {}; }
633
734
  return __generator(this, function (_a) {
634
- // verify required parameter 'id' is not null or undefined
635
- (0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
636
- localVarPath = "/accounts/{id}/summary"
637
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
735
+ localVarPath = "/accounts/me/contacts";
638
736
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
639
737
  if (configuration) {
640
738
  baseOptions = configuration.baseOptions;
@@ -642,6 +740,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
642
740
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
643
741
  localVarHeaderParameter = {};
644
742
  localVarQueryParameter = {};
743
+ if (email !== undefined) {
744
+ localVarQueryParameter['email'] = email;
745
+ }
645
746
  localVarHeaderParameter['Accept'] = 'application/json';
646
747
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
647
748
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -654,12 +755,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
654
755
  });
655
756
  },
656
757
  /**
657
- * Get Account Page Details
658
- * @param {string} id Xero ID
758
+ * Get Account Detailed Summary
759
+ * @summary Get Account Detailed Summary
760
+ * @param {number} id Customer ID
659
761
  * @param {*} [options] Override http request option.
660
762
  * @throws {RequiredError}
661
763
  */
662
- getGetAccountPageInfo: function (id_1) {
764
+ getGetAccountDetailedSummary: function (id_1) {
663
765
  var args_1 = [];
664
766
  for (var _i = 1; _i < arguments.length; _i++) {
665
767
  args_1[_i - 1] = arguments[_i];
@@ -669,9 +771,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
669
771
  if (options === void 0) { options = {}; }
670
772
  return __generator(this, function (_a) {
671
773
  // verify required parameter 'id' is not null or undefined
672
- (0, common_1.assertParamExists)('getGetAccountPageInfo', 'id', id);
673
- localVarPath = "/admin/accounts/{id}"
674
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
774
+ (0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
775
+ localVarPath = "/accounts/{id}/summary"
776
+ .replace('{id}', encodeURIComponent(String(id)));
675
777
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
676
778
  if (configuration) {
677
779
  baseOptions = configuration.baseOptions;
@@ -808,6 +910,114 @@ var AccountsApiAxiosParamCreator = function (configuration) {
808
910
  });
809
911
  });
810
912
  },
913
+ /**
914
+ * Get Account Finance
915
+ * @param {string} id Account Xero ID
916
+ * @param {*} [options] Override http request option.
917
+ * @throws {RequiredError}
918
+ */
919
+ getGetFinanceSettings: function (id_1) {
920
+ var args_1 = [];
921
+ for (var _i = 1; _i < arguments.length; _i++) {
922
+ args_1[_i - 1] = arguments[_i];
923
+ }
924
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
925
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
926
+ if (options === void 0) { options = {}; }
927
+ return __generator(this, function (_a) {
928
+ // verify required parameter 'id' is not null or undefined
929
+ (0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
930
+ localVarPath = "/admin/accounts/{id}/finance"
931
+ .replace('{id}', encodeURIComponent(String(id)));
932
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
933
+ if (configuration) {
934
+ baseOptions = configuration.baseOptions;
935
+ }
936
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
937
+ localVarHeaderParameter = {};
938
+ localVarQueryParameter = {};
939
+ localVarHeaderParameter['Accept'] = 'application/json';
940
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
941
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
942
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
943
+ return [2 /*return*/, {
944
+ url: (0, common_1.toPathString)(localVarUrlObj),
945
+ options: localVarRequestOptions,
946
+ }];
947
+ });
948
+ });
949
+ },
950
+ /**
951
+ * Get Last Account
952
+ * @summary Get Last Account
953
+ * @param {*} [options] Override http request option.
954
+ * @throws {RequiredError}
955
+ */
956
+ getGetLastAccount: function () {
957
+ var args_1 = [];
958
+ for (var _i = 0; _i < arguments.length; _i++) {
959
+ args_1[_i] = arguments[_i];
960
+ }
961
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
962
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
963
+ if (options === void 0) { options = {}; }
964
+ return __generator(this, function (_a) {
965
+ localVarPath = "/admin/accounts/last";
966
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
967
+ if (configuration) {
968
+ baseOptions = configuration.baseOptions;
969
+ }
970
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
971
+ localVarHeaderParameter = {};
972
+ localVarQueryParameter = {};
973
+ localVarHeaderParameter['Accept'] = 'application/json';
974
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
975
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
976
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
977
+ return [2 /*return*/, {
978
+ url: (0, common_1.toPathString)(localVarUrlObj),
979
+ options: localVarRequestOptions,
980
+ }];
981
+ });
982
+ });
983
+ },
984
+ /**
985
+ * Get Account 3CX Details
986
+ * @param {string} id Xero ID
987
+ * @param {*} [options] Override http request option.
988
+ * @throws {RequiredError}
989
+ */
990
+ getGetTcxPartnerDetails: function (id_1) {
991
+ var args_1 = [];
992
+ for (var _i = 1; _i < arguments.length; _i++) {
993
+ args_1[_i - 1] = arguments[_i];
994
+ }
995
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
996
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
997
+ if (options === void 0) { options = {}; }
998
+ return __generator(this, function (_a) {
999
+ // verify required parameter 'id' is not null or undefined
1000
+ (0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
1001
+ localVarPath = "/admin/accounts/{id}/tcx/partner"
1002
+ .replace('{id}', encodeURIComponent(String(id)));
1003
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1004
+ if (configuration) {
1005
+ baseOptions = configuration.baseOptions;
1006
+ }
1007
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1008
+ localVarHeaderParameter = {};
1009
+ localVarQueryParameter = {};
1010
+ localVarHeaderParameter['Accept'] = 'application/json';
1011
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1012
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1013
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1014
+ return [2 /*return*/, {
1015
+ url: (0, common_1.toPathString)(localVarUrlObj),
1016
+ options: localVarRequestOptions,
1017
+ }];
1018
+ });
1019
+ });
1020
+ },
811
1021
  /**
812
1022
  * Verify account email address
813
1023
  * @summary Verify account email address
@@ -868,8 +1078,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
868
1078
  // verify required parameter 'state' is not null or undefined
869
1079
  (0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
870
1080
  localVarPath = "/admin/accounts/{id}/portal/access/{state}"
871
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
872
- .replace("{".concat("state", "}"), encodeURIComponent(String(state)));
1081
+ .replace('{id}', encodeURIComponent(String(id)))
1082
+ .replace('{state}', encodeURIComponent(String(state)));
873
1083
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
874
1084
  if (configuration) {
875
1085
  baseOptions = configuration.baseOptions;
@@ -908,8 +1118,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
908
1118
  // verify required parameter 'state' is not null or undefined
909
1119
  (0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
910
1120
  localVarPath = "/admin/accounts/{id}/prizes/{state}"
911
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
912
- .replace("{".concat("state", "}"), encodeURIComponent(String(state)));
1121
+ .replace('{id}', encodeURIComponent(String(id)))
1122
+ .replace('{state}', encodeURIComponent(String(state)));
913
1123
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
914
1124
  if (configuration) {
915
1125
  baseOptions = configuration.baseOptions;
@@ -981,7 +1191,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
981
1191
  // verify required parameter 'id' is not null or undefined
982
1192
  (0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
983
1193
  localVarPath = "/admin/accounts/{id}/cname"
984
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1194
+ .replace('{id}', encodeURIComponent(String(id)));
985
1195
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
986
1196
  if (configuration) {
987
1197
  baseOptions = configuration.baseOptions;
@@ -1020,7 +1230,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1020
1230
  // verify required parameter 'id' is not null or undefined
1021
1231
  (0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
1022
1232
  localVarPath = "/admin/accounts/{id}/companyNumber"
1023
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1233
+ .replace('{id}', encodeURIComponent(String(id)));
1024
1234
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1025
1235
  if (configuration) {
1026
1236
  baseOptions = configuration.baseOptions;
@@ -1101,7 +1311,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1101
1311
  // verify required parameter 'id' is not null or undefined
1102
1312
  (0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
1103
1313
  localVarPath = "/admin/accounts/{id}/phone"
1104
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1314
+ .replace('{id}', encodeURIComponent(String(id)));
1105
1315
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1106
1316
  if (configuration) {
1107
1317
  baseOptions = configuration.baseOptions;
@@ -1140,7 +1350,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1140
1350
  // verify required parameter 'id' is not null or undefined
1141
1351
  (0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
1142
1352
  localVarPath = "/admin/accounts/{id}/vatNumber"
1143
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1353
+ .replace('{id}', encodeURIComponent(String(id)));
1144
1354
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1145
1355
  if (configuration) {
1146
1356
  baseOptions = configuration.baseOptions;
@@ -1161,37 +1371,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1161
1371
  });
1162
1372
  },
1163
1373
  /**
1164
- * Create Account Contact
1165
- * @param {string} id Account Xero ID
1166
- * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
1374
+ * Set Account Credit Limit
1375
+ * @param {string} id Xero ID
1376
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
1167
1377
  * @param {*} [options] Override http request option.
1168
1378
  * @throws {RequiredError}
1169
1379
  */
1170
- postCreateContact: function (id_1, accountContactRequestModel_1) {
1380
+ patchUpdateCreditLimit: function (id_1, patchUpdateCreditLimitRequest_1) {
1171
1381
  var args_1 = [];
1172
1382
  for (var _i = 2; _i < arguments.length; _i++) {
1173
1383
  args_1[_i - 2] = arguments[_i];
1174
1384
  }
1175
- return __awaiter(_this, __spreadArray([id_1, accountContactRequestModel_1], args_1, true), void 0, function (id, accountContactRequestModel, options) {
1385
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateCreditLimitRequest_1], args_1, true), void 0, function (id, patchUpdateCreditLimitRequest, options) {
1176
1386
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1177
1387
  if (options === void 0) { options = {}; }
1178
1388
  return __generator(this, function (_a) {
1179
1389
  // verify required parameter 'id' is not null or undefined
1180
- (0, common_1.assertParamExists)('postCreateContact', 'id', id);
1181
- localVarPath = "/admin/accounts/{id}/contacts/"
1182
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1390
+ (0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
1391
+ localVarPath = "/admin/accounts/{id}/creditLimit"
1392
+ .replace('{id}', encodeURIComponent(String(id)));
1183
1393
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1184
1394
  if (configuration) {
1185
1395
  baseOptions = configuration.baseOptions;
1186
1396
  }
1187
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1397
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1188
1398
  localVarHeaderParameter = {};
1189
1399
  localVarQueryParameter = {};
1190
1400
  localVarHeaderParameter['Content-Type'] = 'application/json';
1401
+ localVarHeaderParameter['Accept'] = 'application/json';
1191
1402
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1192
1403
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1193
1404
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1194
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1405
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateCreditLimitRequest, localVarRequestOptions, configuration);
1195
1406
  return [2 /*return*/, {
1196
1407
  url: (0, common_1.toPathString)(localVarUrlObj),
1197
1408
  options: localVarRequestOptions,
@@ -1200,34 +1411,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1200
1411
  });
1201
1412
  },
1202
1413
  /**
1203
- * Add Account Contacts
1204
- * @summary Add Account Contact
1205
- * @param {AccountContactRequestModel} [accountContactRequestModel] New account request
1414
+ * Set Account Price List
1415
+ * @param {string} id Xero ID
1416
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
1206
1417
  * @param {*} [options] Override http request option.
1207
1418
  * @throws {RequiredError}
1208
1419
  */
1209
- postGetAccountContacts: function (accountContactRequestModel_1) {
1420
+ patchUpdatePriceList: function (id_1, patchUpdatePriceListRequest_1) {
1210
1421
  var args_1 = [];
1211
- for (var _i = 1; _i < arguments.length; _i++) {
1212
- args_1[_i - 1] = arguments[_i];
1422
+ for (var _i = 2; _i < arguments.length; _i++) {
1423
+ args_1[_i - 2] = arguments[_i];
1213
1424
  }
1214
- return __awaiter(_this, __spreadArray([accountContactRequestModel_1], args_1, true), void 0, function (accountContactRequestModel, options) {
1425
+ return __awaiter(_this, __spreadArray([id_1, patchUpdatePriceListRequest_1], args_1, true), void 0, function (id, patchUpdatePriceListRequest, options) {
1215
1426
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1216
1427
  if (options === void 0) { options = {}; }
1217
1428
  return __generator(this, function (_a) {
1218
- localVarPath = "/accounts/me/contacts";
1429
+ // verify required parameter 'id' is not null or undefined
1430
+ (0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
1431
+ localVarPath = "/admin/accounts/{id}/priceList"
1432
+ .replace('{id}', encodeURIComponent(String(id)));
1219
1433
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1220
1434
  if (configuration) {
1221
1435
  baseOptions = configuration.baseOptions;
1222
1436
  }
1223
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1437
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1224
1438
  localVarHeaderParameter = {};
1225
1439
  localVarQueryParameter = {};
1226
1440
  localVarHeaderParameter['Content-Type'] = 'application/json';
1441
+ localVarHeaderParameter['Accept'] = 'application/json';
1227
1442
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1228
1443
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1229
1444
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1230
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1445
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdatePriceListRequest, localVarRequestOptions, configuration);
1231
1446
  return [2 /*return*/, {
1232
1447
  url: (0, common_1.toPathString)(localVarUrlObj),
1233
1448
  options: localVarRequestOptions,
@@ -1236,17 +1451,212 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1236
1451
  });
1237
1452
  },
1238
1453
  /**
1239
- * Create new customer account
1240
- * @summary Create a new customer account
1241
- * @param {AccountRequestModel} [accountRequestModel] New account request
1454
+ * Set Account SIP Channel Cost
1455
+ * @param {string} id Xero ID
1456
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
1242
1457
  * @param {*} [options] Override http request option.
1243
1458
  * @throws {RequiredError}
1244
1459
  */
1245
- postGetAccounts: function (accountRequestModel_1) {
1460
+ patchUpdateSipChannelCost: function (id_1, patchUpdateSipChannelCostRequest_1) {
1246
1461
  var args_1 = [];
1247
- for (var _i = 1; _i < arguments.length; _i++) {
1248
- args_1[_i - 1] = arguments[_i];
1249
- }
1462
+ for (var _i = 2; _i < arguments.length; _i++) {
1463
+ args_1[_i - 2] = arguments[_i];
1464
+ }
1465
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateSipChannelCostRequest_1], args_1, true), void 0, function (id, patchUpdateSipChannelCostRequest, options) {
1466
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1467
+ if (options === void 0) { options = {}; }
1468
+ return __generator(this, function (_a) {
1469
+ // verify required parameter 'id' is not null or undefined
1470
+ (0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
1471
+ localVarPath = "/admin/accounts/{id}/channelCost"
1472
+ .replace('{id}', encodeURIComponent(String(id)));
1473
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1474
+ if (configuration) {
1475
+ baseOptions = configuration.baseOptions;
1476
+ }
1477
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1478
+ localVarHeaderParameter = {};
1479
+ localVarQueryParameter = {};
1480
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1481
+ localVarHeaderParameter['Accept'] = 'application/json';
1482
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1483
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1484
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1485
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateSipChannelCostRequest, localVarRequestOptions, configuration);
1486
+ return [2 /*return*/, {
1487
+ url: (0, common_1.toPathString)(localVarUrlObj),
1488
+ options: localVarRequestOptions,
1489
+ }];
1490
+ });
1491
+ });
1492
+ },
1493
+ /**
1494
+ * Set Account 3CX Hosting Price List
1495
+ * @param {string} id Xero ID
1496
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
1497
+ * @param {*} [options] Override http request option.
1498
+ * @throws {RequiredError}
1499
+ */
1500
+ patchUpdateTcxHostingPriceList: function (id_1, patchUpdateTcxHostingPriceListRequest_1) {
1501
+ var args_1 = [];
1502
+ for (var _i = 2; _i < arguments.length; _i++) {
1503
+ args_1[_i - 2] = arguments[_i];
1504
+ }
1505
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxHostingPriceListRequest_1], args_1, true), void 0, function (id, patchUpdateTcxHostingPriceListRequest, options) {
1506
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1507
+ if (options === void 0) { options = {}; }
1508
+ return __generator(this, function (_a) {
1509
+ // verify required parameter 'id' is not null or undefined
1510
+ (0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
1511
+ localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
1512
+ .replace('{id}', encodeURIComponent(String(id)));
1513
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1514
+ if (configuration) {
1515
+ baseOptions = configuration.baseOptions;
1516
+ }
1517
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1518
+ localVarHeaderParameter = {};
1519
+ localVarQueryParameter = {};
1520
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1521
+ localVarHeaderParameter['Accept'] = 'application/json';
1522
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1523
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1524
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1525
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxHostingPriceListRequest, localVarRequestOptions, configuration);
1526
+ return [2 /*return*/, {
1527
+ url: (0, common_1.toPathString)(localVarUrlObj),
1528
+ options: localVarRequestOptions,
1529
+ }];
1530
+ });
1531
+ });
1532
+ },
1533
+ /**
1534
+ * Set Account 3CX Partner ID
1535
+ * @param {string} id Xero ID
1536
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ */
1540
+ patchUpdateTcxPartnerId: function (id_1, patchUpdateTcxPartnerIdRequest_1) {
1541
+ var args_1 = [];
1542
+ for (var _i = 2; _i < arguments.length; _i++) {
1543
+ args_1[_i - 2] = arguments[_i];
1544
+ }
1545
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxPartnerIdRequest_1], args_1, true), void 0, function (id, patchUpdateTcxPartnerIdRequest, options) {
1546
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1547
+ if (options === void 0) { options = {}; }
1548
+ return __generator(this, function (_a) {
1549
+ // verify required parameter 'id' is not null or undefined
1550
+ (0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
1551
+ localVarPath = "/admin/accounts{id}/tcx/partner/id"
1552
+ .replace('{id}', encodeURIComponent(String(id)));
1553
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1554
+ if (configuration) {
1555
+ baseOptions = configuration.baseOptions;
1556
+ }
1557
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1558
+ localVarHeaderParameter = {};
1559
+ localVarQueryParameter = {};
1560
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1561
+ localVarHeaderParameter['Accept'] = 'application/json';
1562
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1563
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1564
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1565
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxPartnerIdRequest, localVarRequestOptions, configuration);
1566
+ return [2 /*return*/, {
1567
+ url: (0, common_1.toPathString)(localVarUrlObj),
1568
+ options: localVarRequestOptions,
1569
+ }];
1570
+ });
1571
+ });
1572
+ },
1573
+ /**
1574
+ * Create Account Contact
1575
+ * @param {string} id Account Xero ID
1576
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
1577
+ * @param {*} [options] Override http request option.
1578
+ * @throws {RequiredError}
1579
+ */
1580
+ postAdminCreateAccountContact: function (id_1, accountContactRequestModel_1) {
1581
+ var args_1 = [];
1582
+ for (var _i = 2; _i < arguments.length; _i++) {
1583
+ args_1[_i - 2] = arguments[_i];
1584
+ }
1585
+ return __awaiter(_this, __spreadArray([id_1, accountContactRequestModel_1], args_1, true), void 0, function (id, accountContactRequestModel, options) {
1586
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1587
+ if (options === void 0) { options = {}; }
1588
+ return __generator(this, function (_a) {
1589
+ // verify required parameter 'id' is not null or undefined
1590
+ (0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
1591
+ localVarPath = "/admin/accounts/{id}/contacts"
1592
+ .replace('{id}', encodeURIComponent(String(id)));
1593
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1594
+ if (configuration) {
1595
+ baseOptions = configuration.baseOptions;
1596
+ }
1597
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1598
+ localVarHeaderParameter = {};
1599
+ localVarQueryParameter = {};
1600
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1601
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1602
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1603
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1604
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1605
+ return [2 /*return*/, {
1606
+ url: (0, common_1.toPathString)(localVarUrlObj),
1607
+ options: localVarRequestOptions,
1608
+ }];
1609
+ });
1610
+ });
1611
+ },
1612
+ /**
1613
+ * Add Account Contacts
1614
+ * @summary Add Account Contact
1615
+ * @param {AccountContactRequestModel} [accountContactRequestModel] New account request
1616
+ * @param {*} [options] Override http request option.
1617
+ * @throws {RequiredError}
1618
+ */
1619
+ postGetAccountContacts: function (accountContactRequestModel_1) {
1620
+ var args_1 = [];
1621
+ for (var _i = 1; _i < arguments.length; _i++) {
1622
+ args_1[_i - 1] = arguments[_i];
1623
+ }
1624
+ return __awaiter(_this, __spreadArray([accountContactRequestModel_1], args_1, true), void 0, function (accountContactRequestModel, options) {
1625
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1626
+ if (options === void 0) { options = {}; }
1627
+ return __generator(this, function (_a) {
1628
+ localVarPath = "/accounts/me/contacts";
1629
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1630
+ if (configuration) {
1631
+ baseOptions = configuration.baseOptions;
1632
+ }
1633
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1634
+ localVarHeaderParameter = {};
1635
+ localVarQueryParameter = {};
1636
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1637
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1638
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1639
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1640
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1641
+ return [2 /*return*/, {
1642
+ url: (0, common_1.toPathString)(localVarUrlObj),
1643
+ options: localVarRequestOptions,
1644
+ }];
1645
+ });
1646
+ });
1647
+ },
1648
+ /**
1649
+ * Create new customer account
1650
+ * @summary Create a new customer account
1651
+ * @param {AccountRequestModel} [accountRequestModel] New account request
1652
+ * @param {*} [options] Override http request option.
1653
+ * @throws {RequiredError}
1654
+ */
1655
+ postGetAccounts: function (accountRequestModel_1) {
1656
+ var args_1 = [];
1657
+ for (var _i = 1; _i < arguments.length; _i++) {
1658
+ args_1[_i - 1] = arguments[_i];
1659
+ }
1250
1660
  return __awaiter(_this, __spreadArray([accountRequestModel_1], args_1, true), void 0, function (accountRequestModel, options) {
1251
1661
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1252
1662
  if (options === void 0) { options = {}; }
@@ -1362,7 +1772,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1362
1772
  // verify required parameter 'email' is not null or undefined
1363
1773
  (0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
1364
1774
  localVarPath = "/accounts/contacts/verify/{email}"
1365
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
1775
+ .replace('{email}', encodeURIComponent(String(email)));
1366
1776
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1367
1777
  if (configuration) {
1368
1778
  baseOptions = configuration.baseOptions;
@@ -1438,7 +1848,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1438
1848
  // verify required parameter 'id' is not null or undefined
1439
1849
  (0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
1440
1850
  localVarPath = "/admin/accounts/{id}/email/welcome"
1441
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1851
+ .replace('{id}', encodeURIComponent(String(id)));
1442
1852
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1443
1853
  if (configuration) {
1444
1854
  baseOptions = configuration.baseOptions;
@@ -1504,26 +1914,29 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1504
1914
  });
1505
1915
  },
1506
1916
  /**
1507
- * Update Account Contacts
1508
- * @summary Update Account Contact
1509
- * @param {string} email Contact Email Address
1510
- * @param {AccountContactRequestModel} [accountContactRequestModel] Account request
1917
+ * Update Account Contact
1918
+ * @param {string} id Account Xero ID
1919
+ * @param {number} contactId Contact ID
1920
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
1511
1921
  * @param {*} [options] Override http request option.
1512
1922
  * @throws {RequiredError}
1513
1923
  */
1514
- putUpdateAccountContact: function (email_1, accountContactRequestModel_1) {
1924
+ putAdminUpdateAccountContact: function (id_1, contactId_1, accountContactRequestModel_1) {
1515
1925
  var args_1 = [];
1516
- for (var _i = 2; _i < arguments.length; _i++) {
1517
- args_1[_i - 2] = arguments[_i];
1926
+ for (var _i = 3; _i < arguments.length; _i++) {
1927
+ args_1[_i - 3] = arguments[_i];
1518
1928
  }
1519
- return __awaiter(_this, __spreadArray([email_1, accountContactRequestModel_1], args_1, true), void 0, function (email, accountContactRequestModel, options) {
1929
+ return __awaiter(_this, __spreadArray([id_1, contactId_1, accountContactRequestModel_1], args_1, true), void 0, function (id, contactId, accountContactRequestModel, options) {
1520
1930
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1521
1931
  if (options === void 0) { options = {}; }
1522
1932
  return __generator(this, function (_a) {
1523
- // verify required parameter 'email' is not null or undefined
1524
- (0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
1525
- localVarPath = "/accounts/me/contacts/{email}"
1526
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
1933
+ // verify required parameter 'id' is not null or undefined
1934
+ (0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'id', id);
1935
+ // verify required parameter 'contactId' is not null or undefined
1936
+ (0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
1937
+ localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
1938
+ .replace('{id}', encodeURIComponent(String(id)))
1939
+ .replace('{contact_id}', encodeURIComponent(String(contactId)));
1527
1940
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1528
1941
  if (configuration) {
1529
1942
  baseOptions = configuration.baseOptions;
@@ -1544,25 +1957,26 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1544
1957
  });
1545
1958
  },
1546
1959
  /**
1547
- * Update Account Billing Address
1548
- * @param {string} id Xero ID
1549
- * @param {AddressDTO} [addressDTO] Updated Billing Address
1960
+ * Update Account Contacts
1961
+ * @summary Update Account Contact
1962
+ * @param {string} email Contact Email Address
1963
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Account request
1550
1964
  * @param {*} [options] Override http request option.
1551
1965
  * @throws {RequiredError}
1552
1966
  */
1553
- putUpdateBillingAddress: function (id_1, addressDTO_1) {
1967
+ putUpdateAccountContact: function (email_1, accountContactRequestModel_1) {
1554
1968
  var args_1 = [];
1555
1969
  for (var _i = 2; _i < arguments.length; _i++) {
1556
1970
  args_1[_i - 2] = arguments[_i];
1557
1971
  }
1558
- return __awaiter(_this, __spreadArray([id_1, addressDTO_1], args_1, true), void 0, function (id, addressDTO, options) {
1972
+ return __awaiter(_this, __spreadArray([email_1, accountContactRequestModel_1], args_1, true), void 0, function (email, accountContactRequestModel, options) {
1559
1973
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1560
1974
  if (options === void 0) { options = {}; }
1561
1975
  return __generator(this, function (_a) {
1562
- // verify required parameter 'id' is not null or undefined
1563
- (0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
1564
- localVarPath = "/admin/accounts/{id}/billing/address"
1565
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1976
+ // verify required parameter 'email' is not null or undefined
1977
+ (0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
1978
+ localVarPath = "/accounts/me/contacts/{email}"
1979
+ .replace('{email}', encodeURIComponent(String(email)));
1566
1980
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1567
1981
  if (configuration) {
1568
1982
  baseOptions = configuration.baseOptions;
@@ -1574,7 +1988,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1574
1988
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1575
1989
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1576
1990
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1577
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addressDTO, localVarRequestOptions, configuration);
1991
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1578
1992
  return [2 /*return*/, {
1579
1993
  url: (0, common_1.toPathString)(localVarUrlObj),
1580
1994
  options: localVarRequestOptions,
@@ -1583,29 +1997,25 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1583
1997
  });
1584
1998
  },
1585
1999
  /**
1586
- * Update Account Contact
1587
- * @param {string} id Account Xero ID
1588
- * @param {number} contactId Contact ID
1589
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
2000
+ * Update Account Billing Address
2001
+ * @param {string} id Xero ID
2002
+ * @param {AddressDTO} [addressDTO] Updated Billing Address
1590
2003
  * @param {*} [options] Override http request option.
1591
2004
  * @throws {RequiredError}
1592
2005
  */
1593
- putUpdateContact: function (id_1, contactId_1, accountContactRequestModel_1) {
2006
+ putUpdateBillingAddress: function (id_1, addressDTO_1) {
1594
2007
  var args_1 = [];
1595
- for (var _i = 3; _i < arguments.length; _i++) {
1596
- args_1[_i - 3] = arguments[_i];
2008
+ for (var _i = 2; _i < arguments.length; _i++) {
2009
+ args_1[_i - 2] = arguments[_i];
1597
2010
  }
1598
- return __awaiter(_this, __spreadArray([id_1, contactId_1, accountContactRequestModel_1], args_1, true), void 0, function (id, contactId, accountContactRequestModel, options) {
2011
+ return __awaiter(_this, __spreadArray([id_1, addressDTO_1], args_1, true), void 0, function (id, addressDTO, options) {
1599
2012
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1600
2013
  if (options === void 0) { options = {}; }
1601
2014
  return __generator(this, function (_a) {
1602
2015
  // verify required parameter 'id' is not null or undefined
1603
- (0, common_1.assertParamExists)('putUpdateContact', 'id', id);
1604
- // verify required parameter 'contactId' is not null or undefined
1605
- (0, common_1.assertParamExists)('putUpdateContact', 'contactId', contactId);
1606
- localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
1607
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
1608
- .replace("{".concat("contact_id", "}"), encodeURIComponent(String(contactId)));
2016
+ (0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
2017
+ localVarPath = "/admin/accounts/{id}/billing/address"
2018
+ .replace('{id}', encodeURIComponent(String(id)));
1609
2019
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1610
2020
  if (configuration) {
1611
2021
  baseOptions = configuration.baseOptions;
@@ -1617,7 +2027,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1617
2027
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1618
2028
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1619
2029
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1620
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
2030
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addressDTO, localVarRequestOptions, configuration);
1621
2031
  return [2 /*return*/, {
1622
2032
  url: (0, common_1.toPathString)(localVarUrlObj),
1623
2033
  options: localVarRequestOptions,
@@ -1644,7 +2054,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1644
2054
  // verify required parameter 'id' is not null or undefined
1645
2055
  (0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
1646
2056
  localVarPath = "/admin/accounts/{id}/shipping/address"
1647
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
2057
+ .replace('{id}', encodeURIComponent(String(id)));
1648
2058
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1649
2059
  if (configuration) {
1650
2060
  baseOptions = configuration.baseOptions;
@@ -1673,6 +2083,51 @@ exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
1673
2083
  var AccountsApiFp = function (configuration) {
1674
2084
  var localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
1675
2085
  return {
2086
+ /**
2087
+ * Delete Account Contact
2088
+ * @param {string} id Account Xero ID
2089
+ * @param {number} contactId Contact ID
2090
+ * @param {*} [options] Override http request option.
2091
+ * @throws {RequiredError}
2092
+ */
2093
+ deleteAdminUpdateAccountContact: function (id, contactId, options) {
2094
+ return __awaiter(this, void 0, void 0, function () {
2095
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2096
+ var _a, _b, _c;
2097
+ return __generator(this, function (_d) {
2098
+ switch (_d.label) {
2099
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAdminUpdateAccountContact(id, contactId, options)];
2100
+ case 1:
2101
+ localVarAxiosArgs = _d.sent();
2102
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2103
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteAdminUpdateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2104
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2105
+ }
2106
+ });
2107
+ });
2108
+ },
2109
+ /**
2110
+ * Delete Account
2111
+ * @param {string} id Account Xero ID
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ */
2115
+ deleteArchiveAccount: function (id, options) {
2116
+ return __awaiter(this, void 0, void 0, function () {
2117
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2118
+ var _a, _b, _c;
2119
+ return __generator(this, function (_d) {
2120
+ switch (_d.label) {
2121
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteArchiveAccount(id, options)];
2122
+ case 1:
2123
+ localVarAxiosArgs = _d.sent();
2124
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2125
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteArchiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2126
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2127
+ }
2128
+ });
2129
+ });
2130
+ },
1676
2131
  /**
1677
2132
  * Delete client credentials
1678
2133
  * @summary Delete client credentials
@@ -1720,23 +2175,22 @@ var AccountsApiFp = function (configuration) {
1720
2175
  });
1721
2176
  },
1722
2177
  /**
1723
- * Delete Account Contact
2178
+ * Get Account Contacts
1724
2179
  * @param {string} id Account Xero ID
1725
- * @param {number} contactId Contact ID
1726
2180
  * @param {*} [options] Override http request option.
1727
2181
  * @throws {RequiredError}
1728
2182
  */
1729
- deleteUpdateContact: function (id, contactId, options) {
2183
+ getAdminCreateAccountContact: function (id, options) {
1730
2184
  return __awaiter(this, void 0, void 0, function () {
1731
2185
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1732
2186
  var _a, _b, _c;
1733
2187
  return __generator(this, function (_d) {
1734
2188
  switch (_d.label) {
1735
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUpdateContact(id, contactId, options)];
2189
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAdminCreateAccountContact(id, options)];
1736
2190
  case 1:
1737
2191
  localVarAxiosArgs = _d.sent();
1738
2192
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1739
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteUpdateContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2193
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAdminCreateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1740
2194
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1741
2195
  }
1742
2196
  });
@@ -1765,68 +2219,68 @@ var AccountsApiFp = function (configuration) {
1765
2219
  });
1766
2220
  },
1767
2221
  /**
1768
- * Get Account Contacts
1769
- * @summary Get Account Contacts
1770
- * @param {string} [email] Contact Email Address
2222
+ * Get Account Addresses
2223
+ * @param {string} id Xero ID
1771
2224
  * @param {*} [options] Override http request option.
1772
2225
  * @throws {RequiredError}
1773
2226
  */
1774
- getGetAccountContacts: function (email, options) {
2227
+ getGetAccountAddresses: function (id, options) {
1775
2228
  return __awaiter(this, void 0, void 0, function () {
1776
2229
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1777
2230
  var _a, _b, _c;
1778
2231
  return __generator(this, function (_d) {
1779
2232
  switch (_d.label) {
1780
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
2233
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
1781
2234
  case 1:
1782
2235
  localVarAxiosArgs = _d.sent();
1783
2236
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1784
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountContacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2237
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountAddresses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1785
2238
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1786
2239
  }
1787
2240
  });
1788
2241
  });
1789
2242
  },
1790
2243
  /**
1791
- * Get Account Detailed Summary
1792
- * @summary Get Account Detailed Summary
1793
- * @param {number} id Customer ID
2244
+ * Get Account Contacts
2245
+ * @summary Get Account Contacts
2246
+ * @param {string} [email] Contact Email Address
1794
2247
  * @param {*} [options] Override http request option.
1795
2248
  * @throws {RequiredError}
1796
2249
  */
1797
- getGetAccountDetailedSummary: function (id, options) {
2250
+ getGetAccountContacts: function (email, options) {
1798
2251
  return __awaiter(this, void 0, void 0, function () {
1799
2252
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1800
2253
  var _a, _b, _c;
1801
2254
  return __generator(this, function (_d) {
1802
2255
  switch (_d.label) {
1803
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
2256
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountContacts(email, options)];
1804
2257
  case 1:
1805
2258
  localVarAxiosArgs = _d.sent();
1806
2259
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1807
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2260
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountContacts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1808
2261
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1809
2262
  }
1810
2263
  });
1811
2264
  });
1812
2265
  },
1813
2266
  /**
1814
- * Get Account Page Details
1815
- * @param {string} id Xero ID
2267
+ * Get Account Detailed Summary
2268
+ * @summary Get Account Detailed Summary
2269
+ * @param {number} id Customer ID
1816
2270
  * @param {*} [options] Override http request option.
1817
2271
  * @throws {RequiredError}
1818
2272
  */
1819
- getGetAccountPageInfo: function (id, options) {
2273
+ getGetAccountDetailedSummary: function (id, options) {
1820
2274
  return __awaiter(this, void 0, void 0, function () {
1821
2275
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1822
2276
  var _a, _b, _c;
1823
2277
  return __generator(this, function (_d) {
1824
2278
  switch (_d.label) {
1825
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountPageInfo(id, options)];
2279
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
1826
2280
  case 1:
1827
2281
  localVarAxiosArgs = _d.sent();
1828
2282
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1829
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2283
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1830
2284
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1831
2285
  }
1832
2286
  });
@@ -1902,6 +2356,72 @@ var AccountsApiFp = function (configuration) {
1902
2356
  });
1903
2357
  });
1904
2358
  },
2359
+ /**
2360
+ * Get Account Finance
2361
+ * @param {string} id Account Xero ID
2362
+ * @param {*} [options] Override http request option.
2363
+ * @throws {RequiredError}
2364
+ */
2365
+ getGetFinanceSettings: function (id, options) {
2366
+ return __awaiter(this, void 0, void 0, function () {
2367
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2368
+ var _a, _b, _c;
2369
+ return __generator(this, function (_d) {
2370
+ switch (_d.label) {
2371
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetFinanceSettings(id, options)];
2372
+ case 1:
2373
+ localVarAxiosArgs = _d.sent();
2374
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2375
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetFinanceSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2376
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2377
+ }
2378
+ });
2379
+ });
2380
+ },
2381
+ /**
2382
+ * Get Last Account
2383
+ * @summary Get Last Account
2384
+ * @param {*} [options] Override http request option.
2385
+ * @throws {RequiredError}
2386
+ */
2387
+ getGetLastAccount: function (options) {
2388
+ return __awaiter(this, void 0, void 0, function () {
2389
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2390
+ var _a, _b, _c;
2391
+ return __generator(this, function (_d) {
2392
+ switch (_d.label) {
2393
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
2394
+ case 1:
2395
+ localVarAxiosArgs = _d.sent();
2396
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2397
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2398
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2399
+ }
2400
+ });
2401
+ });
2402
+ },
2403
+ /**
2404
+ * Get Account 3CX Details
2405
+ * @param {string} id Xero ID
2406
+ * @param {*} [options] Override http request option.
2407
+ * @throws {RequiredError}
2408
+ */
2409
+ getGetTcxPartnerDetails: function (id, options) {
2410
+ return __awaiter(this, void 0, void 0, function () {
2411
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2412
+ var _a, _b, _c;
2413
+ return __generator(this, function (_d) {
2414
+ switch (_d.label) {
2415
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxPartnerDetails(id, options)];
2416
+ case 1:
2417
+ localVarAxiosArgs = _d.sent();
2418
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2419
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetTcxPartnerDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2420
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2421
+ }
2422
+ });
2423
+ });
2424
+ },
1905
2425
  /**
1906
2426
  * Verify account email address
1907
2427
  * @summary Verify account email address
@@ -2023,87 +2543,202 @@ var AccountsApiFp = function (configuration) {
2023
2543
  * @param {*} [options] Override http request option.
2024
2544
  * @throws {RequiredError}
2025
2545
  */
2026
- patchUpdateAccountCompanyNumber: function (id, patchUpdateAccountCompanyNumberRequest, options) {
2546
+ patchUpdateAccountCompanyNumber: function (id, patchUpdateAccountCompanyNumberRequest, options) {
2547
+ return __awaiter(this, void 0, void 0, function () {
2548
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2549
+ var _a, _b, _c;
2550
+ return __generator(this, function (_d) {
2551
+ switch (_d.label) {
2552
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options)];
2553
+ case 1:
2554
+ localVarAxiosArgs = _d.sent();
2555
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2556
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCompanyNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2557
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2558
+ }
2559
+ });
2560
+ });
2561
+ },
2562
+ /**
2563
+ * Update Account Password
2564
+ * @summary Update Account Password
2565
+ * @param {string} token Verification Token
2566
+ * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
2567
+ * @param {*} [options] Override http request option.
2568
+ * @throws {RequiredError}
2569
+ */
2570
+ patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
2571
+ return __awaiter(this, void 0, void 0, function () {
2572
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2573
+ var _a, _b, _c;
2574
+ return __generator(this, function (_d) {
2575
+ switch (_d.label) {
2576
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
2577
+ case 1:
2578
+ localVarAxiosArgs = _d.sent();
2579
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2580
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountContactPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2581
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2582
+ }
2583
+ });
2584
+ });
2585
+ },
2586
+ /**
2587
+ * Set Account Phone
2588
+ * @param {string} id Xero ID
2589
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
2590
+ * @param {*} [options] Override http request option.
2591
+ * @throws {RequiredError}
2592
+ */
2593
+ patchUpdateAccountPhone: function (id, patchUpdateAccountPhoneRequest, options) {
2594
+ return __awaiter(this, void 0, void 0, function () {
2595
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2596
+ var _a, _b, _c;
2597
+ return __generator(this, function (_d) {
2598
+ switch (_d.label) {
2599
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options)];
2600
+ case 1:
2601
+ localVarAxiosArgs = _d.sent();
2602
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2603
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountPhone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2604
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2605
+ }
2606
+ });
2607
+ });
2608
+ },
2609
+ /**
2610
+ * Set Account VAT Number
2611
+ * @param {string} id Xero ID
2612
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
2613
+ * @param {*} [options] Override http request option.
2614
+ * @throws {RequiredError}
2615
+ */
2616
+ patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
2617
+ return __awaiter(this, void 0, void 0, function () {
2618
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2619
+ var _a, _b, _c;
2620
+ return __generator(this, function (_d) {
2621
+ switch (_d.label) {
2622
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options)];
2623
+ case 1:
2624
+ localVarAxiosArgs = _d.sent();
2625
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2626
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountVatNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2627
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2628
+ }
2629
+ });
2630
+ });
2631
+ },
2632
+ /**
2633
+ * Set Account Credit Limit
2634
+ * @param {string} id Xero ID
2635
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
2636
+ * @param {*} [options] Override http request option.
2637
+ * @throws {RequiredError}
2638
+ */
2639
+ patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
2640
+ return __awaiter(this, void 0, void 0, function () {
2641
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2642
+ var _a, _b, _c;
2643
+ return __generator(this, function (_d) {
2644
+ switch (_d.label) {
2645
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options)];
2646
+ case 1:
2647
+ localVarAxiosArgs = _d.sent();
2648
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2649
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateCreditLimit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2650
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2651
+ }
2652
+ });
2653
+ });
2654
+ },
2655
+ /**
2656
+ * Set Account Price List
2657
+ * @param {string} id Xero ID
2658
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
2659
+ * @param {*} [options] Override http request option.
2660
+ * @throws {RequiredError}
2661
+ */
2662
+ patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
2027
2663
  return __awaiter(this, void 0, void 0, function () {
2028
2664
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2029
2665
  var _a, _b, _c;
2030
2666
  return __generator(this, function (_d) {
2031
2667
  switch (_d.label) {
2032
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options)];
2668
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdatePriceList(id, patchUpdatePriceListRequest, options)];
2033
2669
  case 1:
2034
2670
  localVarAxiosArgs = _d.sent();
2035
2671
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2036
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCompanyNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2672
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdatePriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2037
2673
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2038
2674
  }
2039
2675
  });
2040
2676
  });
2041
2677
  },
2042
2678
  /**
2043
- * Update Account Password
2044
- * @summary Update Account Password
2045
- * @param {string} token Verification Token
2046
- * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
2679
+ * Set Account SIP Channel Cost
2680
+ * @param {string} id Xero ID
2681
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
2047
2682
  * @param {*} [options] Override http request option.
2048
2683
  * @throws {RequiredError}
2049
2684
  */
2050
- patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
2685
+ patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
2051
2686
  return __awaiter(this, void 0, void 0, function () {
2052
2687
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2053
2688
  var _a, _b, _c;
2054
2689
  return __generator(this, function (_d) {
2055
2690
  switch (_d.label) {
2056
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
2691
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options)];
2057
2692
  case 1:
2058
2693
  localVarAxiosArgs = _d.sent();
2059
2694
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2060
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountContactPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2695
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateSipChannelCost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2061
2696
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2062
2697
  }
2063
2698
  });
2064
2699
  });
2065
2700
  },
2066
2701
  /**
2067
- * Set Account Phone
2702
+ * Set Account 3CX Hosting Price List
2068
2703
  * @param {string} id Xero ID
2069
- * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
2704
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
2070
2705
  * @param {*} [options] Override http request option.
2071
2706
  * @throws {RequiredError}
2072
2707
  */
2073
- patchUpdateAccountPhone: function (id, patchUpdateAccountPhoneRequest, options) {
2708
+ patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
2074
2709
  return __awaiter(this, void 0, void 0, function () {
2075
2710
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2076
2711
  var _a, _b, _c;
2077
2712
  return __generator(this, function (_d) {
2078
2713
  switch (_d.label) {
2079
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options)];
2714
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options)];
2080
2715
  case 1:
2081
2716
  localVarAxiosArgs = _d.sent();
2082
2717
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2083
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountPhone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2718
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxHostingPriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2084
2719
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2085
2720
  }
2086
2721
  });
2087
2722
  });
2088
2723
  },
2089
2724
  /**
2090
- * Set Account VAT Number
2725
+ * Set Account 3CX Partner ID
2091
2726
  * @param {string} id Xero ID
2092
- * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
2727
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
2093
2728
  * @param {*} [options] Override http request option.
2094
2729
  * @throws {RequiredError}
2095
2730
  */
2096
- patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
2731
+ patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
2097
2732
  return __awaiter(this, void 0, void 0, function () {
2098
2733
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2099
2734
  var _a, _b, _c;
2100
2735
  return __generator(this, function (_d) {
2101
2736
  switch (_d.label) {
2102
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options)];
2737
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options)];
2103
2738
  case 1:
2104
2739
  localVarAxiosArgs = _d.sent();
2105
2740
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2106
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountVatNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2741
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxPartnerId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2107
2742
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2108
2743
  }
2109
2744
  });
@@ -2116,17 +2751,17 @@ var AccountsApiFp = function (configuration) {
2116
2751
  * @param {*} [options] Override http request option.
2117
2752
  * @throws {RequiredError}
2118
2753
  */
2119
- postCreateContact: function (id, accountContactRequestModel, options) {
2754
+ postAdminCreateAccountContact: function (id, accountContactRequestModel, options) {
2120
2755
  return __awaiter(this, void 0, void 0, function () {
2121
2756
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2122
2757
  var _a, _b, _c;
2123
2758
  return __generator(this, function (_d) {
2124
2759
  switch (_d.label) {
2125
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateContact(id, accountContactRequestModel, options)];
2760
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAdminCreateAccountContact(id, accountContactRequestModel, options)];
2126
2761
  case 1:
2127
2762
  localVarAxiosArgs = _d.sent();
2128
2763
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2129
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.postCreateContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2764
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.postAdminCreateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2130
2765
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2131
2766
  }
2132
2767
  });
@@ -2318,71 +2953,71 @@ var AccountsApiFp = function (configuration) {
2318
2953
  });
2319
2954
  },
2320
2955
  /**
2321
- * Update Account Contacts
2322
- * @summary Update Account Contact
2323
- * @param {string} email Contact Email Address
2324
- * @param {AccountContactRequestModel} [accountContactRequestModel] Account request
2956
+ * Update Account Contact
2957
+ * @param {string} id Account Xero ID
2958
+ * @param {number} contactId Contact ID
2959
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
2325
2960
  * @param {*} [options] Override http request option.
2326
2961
  * @throws {RequiredError}
2327
2962
  */
2328
- putUpdateAccountContact: function (email, accountContactRequestModel, options) {
2963
+ putAdminUpdateAccountContact: function (id, contactId, accountContactRequestModel, options) {
2329
2964
  return __awaiter(this, void 0, void 0, function () {
2330
2965
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2331
2966
  var _a, _b, _c;
2332
2967
  return __generator(this, function (_d) {
2333
2968
  switch (_d.label) {
2334
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateAccountContact(email, accountContactRequestModel, options)];
2969
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options)];
2335
2970
  case 1:
2336
2971
  localVarAxiosArgs = _d.sent();
2337
2972
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2338
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2973
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putAdminUpdateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2339
2974
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2340
2975
  }
2341
2976
  });
2342
2977
  });
2343
2978
  },
2344
2979
  /**
2345
- * Update Account Billing Address
2346
- * @param {string} id Xero ID
2347
- * @param {AddressDTO} [addressDTO] Updated Billing Address
2980
+ * Update Account Contacts
2981
+ * @summary Update Account Contact
2982
+ * @param {string} email Contact Email Address
2983
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Account request
2348
2984
  * @param {*} [options] Override http request option.
2349
2985
  * @throws {RequiredError}
2350
2986
  */
2351
- putUpdateBillingAddress: function (id, addressDTO, options) {
2987
+ putUpdateAccountContact: function (email, accountContactRequestModel, options) {
2352
2988
  return __awaiter(this, void 0, void 0, function () {
2353
2989
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2354
2990
  var _a, _b, _c;
2355
2991
  return __generator(this, function (_d) {
2356
2992
  switch (_d.label) {
2357
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateBillingAddress(id, addressDTO, options)];
2993
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateAccountContact(email, accountContactRequestModel, options)];
2358
2994
  case 1:
2359
2995
  localVarAxiosArgs = _d.sent();
2360
2996
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2361
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateBillingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2997
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2362
2998
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2363
2999
  }
2364
3000
  });
2365
3001
  });
2366
3002
  },
2367
3003
  /**
2368
- * Update Account Contact
2369
- * @param {string} id Account Xero ID
2370
- * @param {number} contactId Contact ID
2371
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
3004
+ * Update Account Billing Address
3005
+ * @param {string} id Xero ID
3006
+ * @param {AddressDTO} [addressDTO] Updated Billing Address
2372
3007
  * @param {*} [options] Override http request option.
2373
3008
  * @throws {RequiredError}
2374
3009
  */
2375
- putUpdateContact: function (id, contactId, accountContactRequestModel, options) {
3010
+ putUpdateBillingAddress: function (id, addressDTO, options) {
2376
3011
  return __awaiter(this, void 0, void 0, function () {
2377
3012
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2378
3013
  var _a, _b, _c;
2379
3014
  return __generator(this, function (_d) {
2380
3015
  switch (_d.label) {
2381
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateContact(id, contactId, accountContactRequestModel, options)];
3016
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateBillingAddress(id, addressDTO, options)];
2382
3017
  case 1:
2383
3018
  localVarAxiosArgs = _d.sent();
2384
3019
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2385
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3020
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putUpdateBillingAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2386
3021
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2387
3022
  }
2388
3023
  });
@@ -2420,6 +3055,25 @@ exports.AccountsApiFp = AccountsApiFp;
2420
3055
  var AccountsApiFactory = function (configuration, basePath, axios) {
2421
3056
  var localVarFp = (0, exports.AccountsApiFp)(configuration);
2422
3057
  return {
3058
+ /**
3059
+ * Delete Account Contact
3060
+ * @param {string} id Account Xero ID
3061
+ * @param {number} contactId Contact ID
3062
+ * @param {*} [options] Override http request option.
3063
+ * @throws {RequiredError}
3064
+ */
3065
+ deleteAdminUpdateAccountContact: function (id, contactId, options) {
3066
+ return localVarFp.deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(axios, basePath); });
3067
+ },
3068
+ /**
3069
+ * Delete Account
3070
+ * @param {string} id Account Xero ID
3071
+ * @param {*} [options] Override http request option.
3072
+ * @throws {RequiredError}
3073
+ */
3074
+ deleteArchiveAccount: function (id, options) {
3075
+ return localVarFp.deleteArchiveAccount(id, options).then(function (request) { return request(axios, basePath); });
3076
+ },
2423
3077
  /**
2424
3078
  * Delete client credentials
2425
3079
  * @summary Delete client credentials
@@ -2441,14 +3095,13 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2441
3095
  return localVarFp.deleteUpdateAccountContact(email, options).then(function (request) { return request(axios, basePath); });
2442
3096
  },
2443
3097
  /**
2444
- * Delete Account Contact
3098
+ * Get Account Contacts
2445
3099
  * @param {string} id Account Xero ID
2446
- * @param {number} contactId Contact ID
2447
3100
  * @param {*} [options] Override http request option.
2448
3101
  * @throws {RequiredError}
2449
3102
  */
2450
- deleteUpdateContact: function (id, contactId, options) {
2451
- return localVarFp.deleteUpdateContact(id, contactId, options).then(function (request) { return request(axios, basePath); });
3103
+ getAdminCreateAccountContact: function (id, options) {
3104
+ return localVarFp.getAdminCreateAccountContact(id, options).then(function (request) { return request(axios, basePath); });
2452
3105
  },
2453
3106
  /**
2454
3107
  * Get Account
@@ -2459,6 +3112,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2459
3112
  getGetAccount: function (options) {
2460
3113
  return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
2461
3114
  },
3115
+ /**
3116
+ * Get Account Addresses
3117
+ * @param {string} id Xero ID
3118
+ * @param {*} [options] Override http request option.
3119
+ * @throws {RequiredError}
3120
+ */
3121
+ getGetAccountAddresses: function (id, options) {
3122
+ return localVarFp.getGetAccountAddresses(id, options).then(function (request) { return request(axios, basePath); });
3123
+ },
2462
3124
  /**
2463
3125
  * Get Account Contacts
2464
3126
  * @summary Get Account Contacts
@@ -2479,15 +3141,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2479
3141
  getGetAccountDetailedSummary: function (id, options) {
2480
3142
  return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
2481
3143
  },
2482
- /**
2483
- * Get Account Page Details
2484
- * @param {string} id Xero ID
2485
- * @param {*} [options] Override http request option.
2486
- * @throws {RequiredError}
2487
- */
2488
- getGetAccountPageInfo: function (id, options) {
2489
- return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
2490
- },
2491
3144
  /**
2492
3145
  * Get Accounts
2493
3146
  * @summary Get Accounts
@@ -2519,6 +3172,33 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2519
3172
  getGetCustomerKeys: function (options) {
2520
3173
  return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
2521
3174
  },
3175
+ /**
3176
+ * Get Account Finance
3177
+ * @param {string} id Account Xero ID
3178
+ * @param {*} [options] Override http request option.
3179
+ * @throws {RequiredError}
3180
+ */
3181
+ getGetFinanceSettings: function (id, options) {
3182
+ return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
3183
+ },
3184
+ /**
3185
+ * Get Last Account
3186
+ * @summary Get Last Account
3187
+ * @param {*} [options] Override http request option.
3188
+ * @throws {RequiredError}
3189
+ */
3190
+ getGetLastAccount: function (options) {
3191
+ return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
3192
+ },
3193
+ /**
3194
+ * Get Account 3CX Details
3195
+ * @param {string} id Xero ID
3196
+ * @param {*} [options] Override http request option.
3197
+ * @throws {RequiredError}
3198
+ */
3199
+ getGetTcxPartnerDetails: function (id, options) {
3200
+ return localVarFp.getGetTcxPartnerDetails(id, options).then(function (request) { return request(axios, basePath); });
3201
+ },
2522
3202
  /**
2523
3203
  * Verify account email address
2524
3204
  * @summary Verify account email address
@@ -2609,6 +3289,56 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2609
3289
  patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
2610
3290
  return localVarFp.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(axios, basePath); });
2611
3291
  },
3292
+ /**
3293
+ * Set Account Credit Limit
3294
+ * @param {string} id Xero ID
3295
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
3296
+ * @param {*} [options] Override http request option.
3297
+ * @throws {RequiredError}
3298
+ */
3299
+ patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
3300
+ return localVarFp.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(axios, basePath); });
3301
+ },
3302
+ /**
3303
+ * Set Account Price List
3304
+ * @param {string} id Xero ID
3305
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
3306
+ * @param {*} [options] Override http request option.
3307
+ * @throws {RequiredError}
3308
+ */
3309
+ patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
3310
+ return localVarFp.patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(axios, basePath); });
3311
+ },
3312
+ /**
3313
+ * Set Account SIP Channel Cost
3314
+ * @param {string} id Xero ID
3315
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
3316
+ * @param {*} [options] Override http request option.
3317
+ * @throws {RequiredError}
3318
+ */
3319
+ patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
3320
+ return localVarFp.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(axios, basePath); });
3321
+ },
3322
+ /**
3323
+ * Set Account 3CX Hosting Price List
3324
+ * @param {string} id Xero ID
3325
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
3326
+ * @param {*} [options] Override http request option.
3327
+ * @throws {RequiredError}
3328
+ */
3329
+ patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
3330
+ return localVarFp.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(axios, basePath); });
3331
+ },
3332
+ /**
3333
+ * Set Account 3CX Partner ID
3334
+ * @param {string} id Xero ID
3335
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
3336
+ * @param {*} [options] Override http request option.
3337
+ * @throws {RequiredError}
3338
+ */
3339
+ patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
3340
+ return localVarFp.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(axios, basePath); });
3341
+ },
2612
3342
  /**
2613
3343
  * Create Account Contact
2614
3344
  * @param {string} id Account Xero ID
@@ -2616,8 +3346,8 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2616
3346
  * @param {*} [options] Override http request option.
2617
3347
  * @throws {RequiredError}
2618
3348
  */
2619
- postCreateContact: function (id, accountContactRequestModel, options) {
2620
- return localVarFp.postCreateContact(id, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
3349
+ postAdminCreateAccountContact: function (id, accountContactRequestModel, options) {
3350
+ return localVarFp.postAdminCreateAccountContact(id, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
2621
3351
  },
2622
3352
  /**
2623
3353
  * Add Account Contacts
@@ -2700,6 +3430,17 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2700
3430
  postSubmitResellerApplication: function (creditRequired, companyNumber, vatNumber, options) {
2701
3431
  return localVarFp.postSubmitResellerApplication(creditRequired, companyNumber, vatNumber, options).then(function (request) { return request(axios, basePath); });
2702
3432
  },
3433
+ /**
3434
+ * Update Account Contact
3435
+ * @param {string} id Account Xero ID
3436
+ * @param {number} contactId Contact ID
3437
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
3438
+ * @param {*} [options] Override http request option.
3439
+ * @throws {RequiredError}
3440
+ */
3441
+ putAdminUpdateAccountContact: function (id, contactId, accountContactRequestModel, options) {
3442
+ return localVarFp.putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
3443
+ },
2703
3444
  /**
2704
3445
  * Update Account Contacts
2705
3446
  * @summary Update Account Contact
@@ -2721,17 +3462,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2721
3462
  putUpdateBillingAddress: function (id, addressDTO, options) {
2722
3463
  return localVarFp.putUpdateBillingAddress(id, addressDTO, options).then(function (request) { return request(axios, basePath); });
2723
3464
  },
2724
- /**
2725
- * Update Account Contact
2726
- * @param {string} id Account Xero ID
2727
- * @param {number} contactId Contact ID
2728
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
2729
- * @param {*} [options] Override http request option.
2730
- * @throws {RequiredError}
2731
- */
2732
- putUpdateContact: function (id, contactId, accountContactRequestModel, options) {
2733
- return localVarFp.putUpdateContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
2734
- },
2735
3465
  /**
2736
3466
  * Update Account Shipping Address
2737
3467
  * @param {string} id Xero ID
@@ -2753,6 +3483,27 @@ var AccountsApi = /** @class */ (function (_super) {
2753
3483
  function AccountsApi() {
2754
3484
  return _super !== null && _super.apply(this, arguments) || this;
2755
3485
  }
3486
+ /**
3487
+ * Delete Account Contact
3488
+ * @param {string} id Account Xero ID
3489
+ * @param {number} contactId Contact ID
3490
+ * @param {*} [options] Override http request option.
3491
+ * @throws {RequiredError}
3492
+ */
3493
+ AccountsApi.prototype.deleteAdminUpdateAccountContact = function (id, contactId, options) {
3494
+ var _this = this;
3495
+ return (0, exports.AccountsApiFp)(this.configuration).deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3496
+ };
3497
+ /**
3498
+ * Delete Account
3499
+ * @param {string} id Account Xero ID
3500
+ * @param {*} [options] Override http request option.
3501
+ * @throws {RequiredError}
3502
+ */
3503
+ AccountsApi.prototype.deleteArchiveAccount = function (id, options) {
3504
+ var _this = this;
3505
+ return (0, exports.AccountsApiFp)(this.configuration).deleteArchiveAccount(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3506
+ };
2756
3507
  /**
2757
3508
  * Delete client credentials
2758
3509
  * @summary Delete client credentials
@@ -2776,15 +3527,14 @@ var AccountsApi = /** @class */ (function (_super) {
2776
3527
  return (0, exports.AccountsApiFp)(this.configuration).deleteUpdateAccountContact(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
2777
3528
  };
2778
3529
  /**
2779
- * Delete Account Contact
3530
+ * Get Account Contacts
2780
3531
  * @param {string} id Account Xero ID
2781
- * @param {number} contactId Contact ID
2782
3532
  * @param {*} [options] Override http request option.
2783
3533
  * @throws {RequiredError}
2784
3534
  */
2785
- AccountsApi.prototype.deleteUpdateContact = function (id, contactId, options) {
3535
+ AccountsApi.prototype.getAdminCreateAccountContact = function (id, options) {
2786
3536
  var _this = this;
2787
- return (0, exports.AccountsApiFp)(this.configuration).deleteUpdateContact(id, contactId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3537
+ return (0, exports.AccountsApiFp)(this.configuration).getAdminCreateAccountContact(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2788
3538
  };
2789
3539
  /**
2790
3540
  * Get Account
@@ -2796,6 +3546,16 @@ var AccountsApi = /** @class */ (function (_super) {
2796
3546
  var _this = this;
2797
3547
  return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
2798
3548
  };
3549
+ /**
3550
+ * Get Account Addresses
3551
+ * @param {string} id Xero ID
3552
+ * @param {*} [options] Override http request option.
3553
+ * @throws {RequiredError}
3554
+ */
3555
+ AccountsApi.prototype.getGetAccountAddresses = function (id, options) {
3556
+ var _this = this;
3557
+ return (0, exports.AccountsApiFp)(this.configuration).getGetAccountAddresses(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3558
+ };
2799
3559
  /**
2800
3560
  * Get Account Contacts
2801
3561
  * @summary Get Account Contacts
@@ -2818,16 +3578,6 @@ var AccountsApi = /** @class */ (function (_super) {
2818
3578
  var _this = this;
2819
3579
  return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2820
3580
  };
2821
- /**
2822
- * Get Account Page Details
2823
- * @param {string} id Xero ID
2824
- * @param {*} [options] Override http request option.
2825
- * @throws {RequiredError}
2826
- */
2827
- AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
2828
- var _this = this;
2829
- return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2830
- };
2831
3581
  /**
2832
3582
  * Get Accounts
2833
3583
  * @summary Get Accounts
@@ -2862,6 +3612,36 @@ var AccountsApi = /** @class */ (function (_super) {
2862
3612
  var _this = this;
2863
3613
  return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
2864
3614
  };
3615
+ /**
3616
+ * Get Account Finance
3617
+ * @param {string} id Account Xero ID
3618
+ * @param {*} [options] Override http request option.
3619
+ * @throws {RequiredError}
3620
+ */
3621
+ AccountsApi.prototype.getGetFinanceSettings = function (id, options) {
3622
+ var _this = this;
3623
+ return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3624
+ };
3625
+ /**
3626
+ * Get Last Account
3627
+ * @summary Get Last Account
3628
+ * @param {*} [options] Override http request option.
3629
+ * @throws {RequiredError}
3630
+ */
3631
+ AccountsApi.prototype.getGetLastAccount = function (options) {
3632
+ var _this = this;
3633
+ return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
3634
+ };
3635
+ /**
3636
+ * Get Account 3CX Details
3637
+ * @param {string} id Xero ID
3638
+ * @param {*} [options] Override http request option.
3639
+ * @throws {RequiredError}
3640
+ */
3641
+ AccountsApi.prototype.getGetTcxPartnerDetails = function (id, options) {
3642
+ var _this = this;
3643
+ return (0, exports.AccountsApiFp)(this.configuration).getGetTcxPartnerDetails(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3644
+ };
2865
3645
  /**
2866
3646
  * Verify account email address
2867
3647
  * @summary Verify account email address
@@ -2896,70 +3676,125 @@ var AccountsApi = /** @class */ (function (_super) {
2896
3676
  return (0, exports.AccountsApiFp)(this.configuration).patchSetPrizePromo(id, state, options).then(function (request) { return request(_this.axios, _this.basePath); });
2897
3677
  };
2898
3678
  /**
2899
- * Set 3CX Wizard CNAME
2900
- * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
3679
+ * Set 3CX Wizard CNAME
3680
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
3681
+ * @param {*} [options] Override http request option.
3682
+ * @throws {RequiredError}
3683
+ */
3684
+ AccountsApi.prototype.patchSetTcxWizardCname = function (patchUpdateAccountCnameRequest, options) {
3685
+ var _this = this;
3686
+ return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3687
+ };
3688
+ /**
3689
+ * Set Account CNAME
3690
+ * @param {string} id Xero ID
3691
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
3692
+ * @param {*} [options] Override http request option.
3693
+ * @throws {RequiredError}
3694
+ */
3695
+ AccountsApi.prototype.patchUpdateAccountCname = function (id, patchUpdateAccountCnameRequest, options) {
3696
+ var _this = this;
3697
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3698
+ };
3699
+ /**
3700
+ * Set Account Company Number
3701
+ * @param {string} id Xero ID
3702
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
3703
+ * @param {*} [options] Override http request option.
3704
+ * @throws {RequiredError}
3705
+ */
3706
+ AccountsApi.prototype.patchUpdateAccountCompanyNumber = function (id, patchUpdateAccountCompanyNumberRequest, options) {
3707
+ var _this = this;
3708
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3709
+ };
3710
+ /**
3711
+ * Update Account Password
3712
+ * @summary Update Account Password
3713
+ * @param {string} token Verification Token
3714
+ * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
3715
+ * @param {*} [options] Override http request option.
3716
+ * @throws {RequiredError}
3717
+ */
3718
+ AccountsApi.prototype.patchUpdateAccountContactPassword = function (token, patchUpdateAccountContactPasswordRequest, options) {
3719
+ var _this = this;
3720
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3721
+ };
3722
+ /**
3723
+ * Set Account Phone
3724
+ * @param {string} id Xero ID
3725
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
3726
+ * @param {*} [options] Override http request option.
3727
+ * @throws {RequiredError}
3728
+ */
3729
+ AccountsApi.prototype.patchUpdateAccountPhone = function (id, patchUpdateAccountPhoneRequest, options) {
3730
+ var _this = this;
3731
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3732
+ };
3733
+ /**
3734
+ * Set Account VAT Number
3735
+ * @param {string} id Xero ID
3736
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
2901
3737
  * @param {*} [options] Override http request option.
2902
3738
  * @throws {RequiredError}
2903
3739
  */
2904
- AccountsApi.prototype.patchSetTcxWizardCname = function (patchUpdateAccountCnameRequest, options) {
3740
+ AccountsApi.prototype.patchUpdateAccountVatNumber = function (id, patchUpdateAccountVatNumberRequest, options) {
2905
3741
  var _this = this;
2906
- return (0, exports.AccountsApiFp)(this.configuration).patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3742
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2907
3743
  };
2908
3744
  /**
2909
- * Set Account CNAME
3745
+ * Set Account Credit Limit
2910
3746
  * @param {string} id Xero ID
2911
- * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
3747
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
2912
3748
  * @param {*} [options] Override http request option.
2913
3749
  * @throws {RequiredError}
2914
3750
  */
2915
- AccountsApi.prototype.patchUpdateAccountCname = function (id, patchUpdateAccountCnameRequest, options) {
3751
+ AccountsApi.prototype.patchUpdateCreditLimit = function (id, patchUpdateCreditLimitRequest, options) {
2916
3752
  var _this = this;
2917
- return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3753
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2918
3754
  };
2919
3755
  /**
2920
- * Set Account Company Number
3756
+ * Set Account Price List
2921
3757
  * @param {string} id Xero ID
2922
- * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
3758
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
2923
3759
  * @param {*} [options] Override http request option.
2924
3760
  * @throws {RequiredError}
2925
3761
  */
2926
- AccountsApi.prototype.patchUpdateAccountCompanyNumber = function (id, patchUpdateAccountCompanyNumberRequest, options) {
3762
+ AccountsApi.prototype.patchUpdatePriceList = function (id, patchUpdatePriceListRequest, options) {
2927
3763
  var _this = this;
2928
- return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3764
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2929
3765
  };
2930
3766
  /**
2931
- * Update Account Password
2932
- * @summary Update Account Password
2933
- * @param {string} token Verification Token
2934
- * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
3767
+ * Set Account SIP Channel Cost
3768
+ * @param {string} id Xero ID
3769
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
2935
3770
  * @param {*} [options] Override http request option.
2936
3771
  * @throws {RequiredError}
2937
3772
  */
2938
- AccountsApi.prototype.patchUpdateAccountContactPassword = function (token, patchUpdateAccountContactPasswordRequest, options) {
3773
+ AccountsApi.prototype.patchUpdateSipChannelCost = function (id, patchUpdateSipChannelCostRequest, options) {
2939
3774
  var _this = this;
2940
- return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3775
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2941
3776
  };
2942
3777
  /**
2943
- * Set Account Phone
3778
+ * Set Account 3CX Hosting Price List
2944
3779
  * @param {string} id Xero ID
2945
- * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
3780
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
2946
3781
  * @param {*} [options] Override http request option.
2947
3782
  * @throws {RequiredError}
2948
3783
  */
2949
- AccountsApi.prototype.patchUpdateAccountPhone = function (id, patchUpdateAccountPhoneRequest, options) {
3784
+ AccountsApi.prototype.patchUpdateTcxHostingPriceList = function (id, patchUpdateTcxHostingPriceListRequest, options) {
2950
3785
  var _this = this;
2951
- return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3786
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2952
3787
  };
2953
3788
  /**
2954
- * Set Account VAT Number
3789
+ * Set Account 3CX Partner ID
2955
3790
  * @param {string} id Xero ID
2956
- * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
3791
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
2957
3792
  * @param {*} [options] Override http request option.
2958
3793
  * @throws {RequiredError}
2959
3794
  */
2960
- AccountsApi.prototype.patchUpdateAccountVatNumber = function (id, patchUpdateAccountVatNumberRequest, options) {
3795
+ AccountsApi.prototype.patchUpdateTcxPartnerId = function (id, patchUpdateTcxPartnerIdRequest, options) {
2961
3796
  var _this = this;
2962
- return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3797
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2963
3798
  };
2964
3799
  /**
2965
3800
  * Create Account Contact
@@ -2968,9 +3803,9 @@ var AccountsApi = /** @class */ (function (_super) {
2968
3803
  * @param {*} [options] Override http request option.
2969
3804
  * @throws {RequiredError}
2970
3805
  */
2971
- AccountsApi.prototype.postCreateContact = function (id, accountContactRequestModel, options) {
3806
+ AccountsApi.prototype.postAdminCreateAccountContact = function (id, accountContactRequestModel, options) {
2972
3807
  var _this = this;
2973
- return (0, exports.AccountsApiFp)(this.configuration).postCreateContact(id, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
3808
+ return (0, exports.AccountsApiFp)(this.configuration).postAdminCreateAccountContact(id, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
2974
3809
  };
2975
3810
  /**
2976
3811
  * Add Account Contacts
@@ -3061,6 +3896,18 @@ var AccountsApi = /** @class */ (function (_super) {
3061
3896
  var _this = this;
3062
3897
  return (0, exports.AccountsApiFp)(this.configuration).postSubmitResellerApplication(creditRequired, companyNumber, vatNumber, options).then(function (request) { return request(_this.axios, _this.basePath); });
3063
3898
  };
3899
+ /**
3900
+ * Update Account Contact
3901
+ * @param {string} id Account Xero ID
3902
+ * @param {number} contactId Contact ID
3903
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
3904
+ * @param {*} [options] Override http request option.
3905
+ * @throws {RequiredError}
3906
+ */
3907
+ AccountsApi.prototype.putAdminUpdateAccountContact = function (id, contactId, accountContactRequestModel, options) {
3908
+ var _this = this;
3909
+ return (0, exports.AccountsApiFp)(this.configuration).putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
3910
+ };
3064
3911
  /**
3065
3912
  * Update Account Contacts
3066
3913
  * @summary Update Account Contact
@@ -3084,18 +3931,6 @@ var AccountsApi = /** @class */ (function (_super) {
3084
3931
  var _this = this;
3085
3932
  return (0, exports.AccountsApiFp)(this.configuration).putUpdateBillingAddress(id, addressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
3086
3933
  };
3087
- /**
3088
- * Update Account Contact
3089
- * @param {string} id Account Xero ID
3090
- * @param {number} contactId Contact ID
3091
- * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
3092
- * @param {*} [options] Override http request option.
3093
- * @throws {RequiredError}
3094
- */
3095
- AccountsApi.prototype.putUpdateContact = function (id, contactId, accountContactRequestModel, options) {
3096
- var _this = this;
3097
- return (0, exports.AccountsApiFp)(this.configuration).putUpdateContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
3098
- };
3099
3934
  /**
3100
3935
  * Update Account Shipping Address
3101
3936
  * @param {string} id Xero ID
@@ -3112,12 +3947,125 @@ var AccountsApi = /** @class */ (function (_super) {
3112
3947
  exports.AccountsApi = AccountsApi;
3113
3948
  exports.PatchSetPortalAccessStateEnum = {
3114
3949
  Enable: 'enable',
3115
- Disable: 'disable'
3950
+ Disable: 'disable',
3116
3951
  };
3117
3952
  exports.PatchSetPrizePromoStateEnum = {
3118
3953
  Enable: 'enable',
3119
- Disable: 'disable'
3954
+ Disable: 'disable',
3955
+ };
3956
+ /**
3957
+ * BillingApi - axios parameter creator
3958
+ */
3959
+ var BillingApiAxiosParamCreator = function (configuration) {
3960
+ var _this = this;
3961
+ return {
3962
+ /**
3963
+ * Get Billing Customers
3964
+ * @summary Get Billing Customers
3965
+ * @param {*} [options] Override http request option.
3966
+ * @throws {RequiredError}
3967
+ */
3968
+ getGetAllCustomer: function () {
3969
+ var args_1 = [];
3970
+ for (var _i = 0; _i < arguments.length; _i++) {
3971
+ args_1[_i] = arguments[_i];
3972
+ }
3973
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
3974
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3975
+ if (options === void 0) { options = {}; }
3976
+ return __generator(this, function (_a) {
3977
+ localVarPath = "/billing/admin/customerList";
3978
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3979
+ if (configuration) {
3980
+ baseOptions = configuration.baseOptions;
3981
+ }
3982
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3983
+ localVarHeaderParameter = {};
3984
+ localVarQueryParameter = {};
3985
+ localVarHeaderParameter['Accept'] = 'application/json';
3986
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3987
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3988
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3989
+ return [2 /*return*/, {
3990
+ url: (0, common_1.toPathString)(localVarUrlObj),
3991
+ options: localVarRequestOptions,
3992
+ }];
3993
+ });
3994
+ });
3995
+ },
3996
+ };
3997
+ };
3998
+ exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
3999
+ /**
4000
+ * BillingApi - functional programming interface
4001
+ */
4002
+ var BillingApiFp = function (configuration) {
4003
+ var localVarAxiosParamCreator = (0, exports.BillingApiAxiosParamCreator)(configuration);
4004
+ return {
4005
+ /**
4006
+ * Get Billing Customers
4007
+ * @summary Get Billing Customers
4008
+ * @param {*} [options] Override http request option.
4009
+ * @throws {RequiredError}
4010
+ */
4011
+ getGetAllCustomer: function (options) {
4012
+ return __awaiter(this, void 0, void 0, function () {
4013
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4014
+ var _a, _b, _c;
4015
+ return __generator(this, function (_d) {
4016
+ switch (_d.label) {
4017
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAllCustomer(options)];
4018
+ case 1:
4019
+ localVarAxiosArgs = _d.sent();
4020
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4021
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetAllCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4022
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4023
+ }
4024
+ });
4025
+ });
4026
+ },
4027
+ };
4028
+ };
4029
+ exports.BillingApiFp = BillingApiFp;
4030
+ /**
4031
+ * BillingApi - factory interface
4032
+ */
4033
+ var BillingApiFactory = function (configuration, basePath, axios) {
4034
+ var localVarFp = (0, exports.BillingApiFp)(configuration);
4035
+ return {
4036
+ /**
4037
+ * Get Billing Customers
4038
+ * @summary Get Billing Customers
4039
+ * @param {*} [options] Override http request option.
4040
+ * @throws {RequiredError}
4041
+ */
4042
+ getGetAllCustomer: function (options) {
4043
+ return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
4044
+ },
4045
+ };
3120
4046
  };
4047
+ exports.BillingApiFactory = BillingApiFactory;
4048
+ /**
4049
+ * BillingApi - object-oriented interface
4050
+ */
4051
+ var BillingApi = /** @class */ (function (_super) {
4052
+ __extends(BillingApi, _super);
4053
+ function BillingApi() {
4054
+ return _super !== null && _super.apply(this, arguments) || this;
4055
+ }
4056
+ /**
4057
+ * Get Billing Customers
4058
+ * @summary Get Billing Customers
4059
+ * @param {*} [options] Override http request option.
4060
+ * @throws {RequiredError}
4061
+ */
4062
+ BillingApi.prototype.getGetAllCustomer = function (options) {
4063
+ var _this = this;
4064
+ return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
4065
+ };
4066
+ return BillingApi;
4067
+ }(base_1.BaseAPI));
4068
+ exports.BillingApi = BillingApi;
3121
4069
  /**
3122
4070
  * CRMApi - axios parameter creator
3123
4071
  */
@@ -3144,7 +4092,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
3144
4092
  // verify required parameter 'id' is not null or undefined
3145
4093
  (0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
3146
4094
  localVarPath = "/admin/crm/{id}/activities"
3147
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4095
+ .replace('{id}', encodeURIComponent(String(id)));
3148
4096
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3149
4097
  if (configuration) {
3150
4098
  baseOptions = configuration.baseOptions;
@@ -3221,7 +4169,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
3221
4169
  // verify required parameter 'id' is not null or undefined
3222
4170
  (0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
3223
4171
  localVarPath = "/admin/crm/{id}/activities/note"
3224
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4172
+ .replace('{id}', encodeURIComponent(String(id)));
3225
4173
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3226
4174
  if (configuration) {
3227
4175
  baseOptions = configuration.baseOptions;
@@ -3409,7 +4357,7 @@ exports.GetGetCrmActivitiesTypeEnum = {
3409
4357
  Note: 'note',
3410
4358
  Order: 'order',
3411
4359
  Quote: 'quote',
3412
- TcxOrder: 'tcx_order'
4360
+ TcxOrder: 'tcx_order',
3413
4361
  };
3414
4362
  /**
3415
4363
  * Class3CXApi - axios parameter creator
@@ -3884,7 +4832,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
3884
4832
  // verify required parameter 'id' is not null or undefined
3885
4833
  (0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
3886
4834
  localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
3887
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4835
+ .replace('{id}', encodeURIComponent(String(id)));
3888
4836
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3889
4837
  if (configuration) {
3890
4838
  baseOptions = configuration.baseOptions;
@@ -4113,7 +5061,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
4113
5061
  // verify required parameter 'id' is not null or undefined
4114
5062
  (0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
4115
5063
  localVarPath = "/tcx/wizards/sip/trunks/{id}"
4116
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
5064
+ .replace('{id}', encodeURIComponent(String(id)));
4117
5065
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4118
5066
  if (configuration) {
4119
5067
  baseOptions = configuration.baseOptions;
@@ -4751,7 +5699,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
4751
5699
  // verify required parameter 'id' is not null or undefined
4752
5700
  (0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
4753
5701
  localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
4754
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
5702
+ .replace('{id}', encodeURIComponent(String(id)));
4755
5703
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4756
5704
  if (configuration) {
4757
5705
  baseOptions = configuration.baseOptions;
@@ -6490,7 +7438,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6490
7438
  // verify required parameter 'wizardId' is not null or undefined
6491
7439
  (0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
6492
7440
  localVarPath = "/tcx/installations/{wizard_id}/details"
6493
- .replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
7441
+ .replace('{wizard_id}', encodeURIComponent(String(wizardId)));
6494
7442
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6495
7443
  if (configuration) {
6496
7444
  baseOptions = configuration.baseOptions;
@@ -6593,7 +7541,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6593
7541
  // verify required parameter 'customerId' is not null or undefined
6594
7542
  (0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
6595
7543
  localVarPath = "/tcx/installations/{instance_id}/owner"
6596
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7544
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6597
7545
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6598
7546
  if (configuration) {
6599
7547
  baseOptions = configuration.baseOptions;
@@ -6636,7 +7584,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6636
7584
  // verify required parameter 'enable' is not null or undefined
6637
7585
  (0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
6638
7586
  localVarPath = "/tcx/installations/{instance_id}/failover/auto"
6639
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7587
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6640
7588
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6641
7589
  if (configuration) {
6642
7590
  baseOptions = configuration.baseOptions;
@@ -6679,7 +7627,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6679
7627
  // verify required parameter 'gigabytes' is not null or undefined
6680
7628
  (0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
6681
7629
  localVarPath = "/tcx/installations/{instance_id}/disk"
6682
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7630
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6683
7631
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6684
7632
  if (configuration) {
6685
7633
  baseOptions = configuration.baseOptions;
@@ -6725,7 +7673,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6725
7673
  // verify required parameter 'ipAddress' is not null or undefined
6726
7674
  (0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
6727
7675
  localVarPath = "/tcx/installations/{instance_id}/create/user/root"
6728
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7676
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6729
7677
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6730
7678
  if (configuration) {
6731
7679
  baseOptions = configuration.baseOptions;
@@ -6769,7 +7717,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6769
7717
  // verify required parameter 'instanceId' is not null or undefined
6770
7718
  (0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
6771
7719
  localVarPath = "/tcx/installations/{instance_id}/delete"
6772
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7720
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6773
7721
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6774
7722
  if (configuration) {
6775
7723
  baseOptions = configuration.baseOptions;
@@ -6810,7 +7758,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6810
7758
  // verify required parameter 'gigabytes' is not null or undefined
6811
7759
  (0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
6812
7760
  localVarPath = "/tcx/installations/{instance_id}/disk/extend"
6813
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7761
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6814
7762
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6815
7763
  if (configuration) {
6816
7764
  baseOptions = configuration.baseOptions;
@@ -6856,7 +7804,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6856
7804
  // verify required parameter 'type' is not null or undefined
6857
7805
  (0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
6858
7806
  localVarPath = "/tcx/installations/{instance_id}/failover"
6859
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7807
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6860
7808
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6861
7809
  if (configuration) {
6862
7810
  baseOptions = configuration.baseOptions;
@@ -6896,7 +7844,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6896
7844
  // verify required parameter 'sbcId' is not null or undefined
6897
7845
  (0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
6898
7846
  localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
6899
- .replace("{".concat("sbc_id", "}"), encodeURIComponent(String(sbcId)));
7847
+ .replace('{sbc_id}', encodeURIComponent(String(sbcId)));
6900
7848
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6901
7849
  if (configuration) {
6902
7850
  baseOptions = configuration.baseOptions;
@@ -6934,7 +7882,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6934
7882
  // verify required parameter 'instanceId' is not null or undefined
6935
7883
  (0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
6936
7884
  localVarPath = "/tcx/installations/{instance_id}/reboot"
6937
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7885
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6938
7886
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6939
7887
  if (configuration) {
6940
7888
  baseOptions = configuration.baseOptions;
@@ -6975,7 +7923,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6975
7923
  // verify required parameter 'size' is not null or undefined
6976
7924
  (0, common_1.assertParamExists)('postResizeInstance', 'size', size);
6977
7925
  localVarPath = "/tcx/installations/{instance_id}/resize"
6978
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7926
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6979
7927
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6980
7928
  if (configuration) {
6981
7929
  baseOptions = configuration.baseOptions;
@@ -7019,7 +7967,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7019
7967
  // verify required parameter 'instanceId' is not null or undefined
7020
7968
  (0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
7021
7969
  localVarPath = "/tcx/installations/{instance_id}/services/restart"
7022
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7970
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7023
7971
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7024
7972
  if (configuration) {
7025
7973
  baseOptions = configuration.baseOptions;
@@ -7060,7 +8008,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7060
8008
  // verify required parameter 'instanceId' is not null or undefined
7061
8009
  (0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
7062
8010
  localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
7063
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8011
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7064
8012
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7065
8013
  if (configuration) {
7066
8014
  baseOptions = configuration.baseOptions;
@@ -7101,7 +8049,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7101
8049
  // verify required parameter 'instanceId' is not null or undefined
7102
8050
  (0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
7103
8051
  localVarPath = "/tcx/installations/{instance_id}/suspend"
7104
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8052
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7105
8053
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7106
8054
  if (configuration) {
7107
8055
  baseOptions = configuration.baseOptions;
@@ -7141,7 +8089,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7141
8089
  // verify required parameter 'instanceId' is not null or undefined
7142
8090
  (0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
7143
8091
  localVarPath = "/tcx/installations/{instance_id}/tests/login"
7144
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8092
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7145
8093
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7146
8094
  if (configuration) {
7147
8095
  baseOptions = configuration.baseOptions;
@@ -7178,7 +8126,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7178
8126
  // verify required parameter 'instanceId' is not null or undefined
7179
8127
  (0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
7180
8128
  localVarPath = "/tcx/installations/{instance_id}/unsuspend"
7181
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8129
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7182
8130
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7183
8131
  if (configuration) {
7184
8132
  baseOptions = configuration.baseOptions;
@@ -7218,7 +8166,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7218
8166
  // verify required parameter 'schedule' is not null or undefined
7219
8167
  (0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
7220
8168
  localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
7221
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8169
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
7222
8170
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7223
8171
  if (configuration) {
7224
8172
  baseOptions = configuration.baseOptions;
@@ -7259,7 +8207,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7259
8207
  // verify required parameter 'wizardId' is not null or undefined
7260
8208
  (0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
7261
8209
  localVarPath = "/tcx/installations/{wizard_id}/details"
7262
- .replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
8210
+ .replace('{wizard_id}', encodeURIComponent(String(wizardId)));
7263
8211
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7264
8212
  if (configuration) {
7265
8213
  baseOptions = configuration.baseOptions;
@@ -8215,30 +9163,30 @@ exports.GetGetInstallationsStatusEnum = {
8215
9163
  Completed: 'Completed',
8216
9164
  Outstanding: 'Outstanding',
8217
9165
  Offline: 'Offline',
8218
- FailedOver: 'Failed Over'
9166
+ FailedOver: 'Failed Over',
8219
9167
  };
8220
9168
  exports.GetGetInstallationsHostingEnum = {
8221
9169
  Yellowgrid: 'yellowgrid',
8222
9170
  MultiTenant: 'multi-tenant',
8223
9171
  Onprem: 'onprem',
8224
- All: 'all'
9172
+ All: 'all',
8225
9173
  };
8226
9174
  exports.GetGetInstallationsInstallTypeEnum = {
8227
9175
  New: 'new',
8228
9176
  Restore: 'restore',
8229
9177
  Failover: 'failover',
8230
- MultiTenant: 'multi-tenant'
9178
+ MultiTenant: 'multi-tenant',
8231
9179
  };
8232
9180
  exports.PostFailoverInstanceTypeEnum = {
8233
9181
  Config: 'config',
8234
- Image: 'image'
9182
+ Image: 'image',
8235
9183
  };
8236
9184
  exports.PostResizeInstanceSizeEnum = {
8237
9185
  D24: 'd2-4',
8238
9186
  D28: 'd2-8',
8239
9187
  B230: 'b2-30',
8240
9188
  S2vcpu4gb: 's-2vcpu-4gb',
8241
- S4vcpu8gb: 's-4vcpu-8gb'
9189
+ S4vcpu8gb: 's-4vcpu-8gb',
8242
9190
  };
8243
9191
  /**
8244
9192
  * Class3CXIntegrationsApi - axios parameter creator
@@ -8393,8 +9341,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
8393
9341
  // verify required parameter 'ref' is not null or undefined
8394
9342
  (0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
8395
9343
  localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
8396
- .replace("{".concat("clientId", "}"), encodeURIComponent(String(clientId)))
8397
- .replace("{".concat("schoolId", "}"), encodeURIComponent(String(schoolId)));
9344
+ .replace('{clientId}', encodeURIComponent(String(clientId)))
9345
+ .replace('{schoolId}', encodeURIComponent(String(schoolId)));
8398
9346
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8399
9347
  if (configuration) {
8400
9348
  baseOptions = configuration.baseOptions;
@@ -8779,11 +9727,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
8779
9727
  exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
8780
9728
  exports.GetGetPriceLicenceTypeEnum = {
8781
9729
  Lite: 'lite',
8782
- Pro: 'pro'
9730
+ Pro: 'pro',
8783
9731
  };
8784
9732
  exports.GetGetPriceSchoolTypeEnum = {
8785
9733
  Primary: 'primary',
8786
- Secondary: 'secondary'
9734
+ Secondary: 'secondary',
8787
9735
  };
8788
9736
  /**
8789
9737
  * Class3CXMultiTenantApi - axios parameter creator
@@ -8810,7 +9758,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
8810
9758
  // verify required parameter 'reference' is not null or undefined
8811
9759
  (0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
8812
9760
  localVarPath = "/tcx/mt/tenants/{reference}"
8813
- .replace("{".concat("reference", "}"), encodeURIComponent(String(reference)));
9761
+ .replace('{reference}', encodeURIComponent(String(reference)));
8814
9762
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8815
9763
  if (configuration) {
8816
9764
  baseOptions = configuration.baseOptions;
@@ -8887,7 +9835,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
8887
9835
  // verify required parameter 'reference' is not null or undefined
8888
9836
  (0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
8889
9837
  localVarPath = "/tcx/mt/tenants/{reference}"
8890
- .replace("{".concat("reference", "}"), encodeURIComponent(String(reference)));
9838
+ .replace('{reference}', encodeURIComponent(String(reference)));
8891
9839
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8892
9840
  if (configuration) {
8893
9841
  baseOptions = configuration.baseOptions;
@@ -9504,7 +10452,7 @@ exports.GetGetTenantsStatusEnum = {
9504
10452
  Completed: 'Completed',
9505
10453
  Outstanding: 'Outstanding',
9506
10454
  Offline: 'Offline',
9507
- FailedOver: 'Failed Over'
10455
+ FailedOver: 'Failed Over',
9508
10456
  };
9509
10457
  /**
9510
10458
  * MyPBXToolsApi - axios parameter creator
@@ -9661,7 +10609,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9661
10609
  // verify required parameter 'id' is not null or undefined
9662
10610
  (0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
9663
10611
  localVarPath = "/admin/sip/numbers/ports/{id}"
9664
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10612
+ .replace('{id}', encodeURIComponent(String(id)));
9665
10613
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9666
10614
  if (configuration) {
9667
10615
  baseOptions = configuration.baseOptions;
@@ -9742,7 +10690,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9742
10690
  // verify required parameter 'id' is not null or undefined
9743
10691
  (0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
9744
10692
  localVarPath = "/admin/sip/numbers/ports/{id}"
9745
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10693
+ .replace('{id}', encodeURIComponent(String(id)));
9746
10694
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9747
10695
  if (configuration) {
9748
10696
  baseOptions = configuration.baseOptions;
@@ -9824,7 +10772,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9824
10772
  // verify required parameter 'id' is not null or undefined
9825
10773
  (0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
9826
10774
  localVarPath = "/sip/numbers/ports/{id}"
9827
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10775
+ .replace('{id}', encodeURIComponent(String(id)));
9828
10776
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9829
10777
  if (configuration) {
9830
10778
  baseOptions = configuration.baseOptions;
@@ -9861,7 +10809,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9861
10809
  // verify required parameter 'id' is not null or undefined
9862
10810
  (0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
9863
10811
  localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
9864
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10812
+ .replace('{id}', encodeURIComponent(String(id)));
9865
10813
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9866
10814
  if (configuration) {
9867
10815
  baseOptions = configuration.baseOptions;
@@ -9898,7 +10846,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9898
10846
  // verify required parameter 'id' is not null or undefined
9899
10847
  (0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
9900
10848
  localVarPath = "/admin/sip/numbers/ports/{id}/close"
9901
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10849
+ .replace('{id}', encodeURIComponent(String(id)));
9902
10850
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9903
10851
  if (configuration) {
9904
10852
  baseOptions = configuration.baseOptions;
@@ -9938,7 +10886,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9938
10886
  // verify required parameter 'numberPortAdminNoteBody' is not null or undefined
9939
10887
  (0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
9940
10888
  localVarPath = "/admin/sip/numbers/ports/{id}/notes"
9941
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10889
+ .replace('{id}', encodeURIComponent(String(id)));
9942
10890
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9943
10891
  if (configuration) {
9944
10892
  baseOptions = configuration.baseOptions;
@@ -10073,7 +11021,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10073
11021
  // verify required parameter 'id' is not null or undefined
10074
11022
  (0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
10075
11023
  localVarPath = "/sip/numbers/ports/{id}/submit"
10076
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11024
+ .replace('{id}', encodeURIComponent(String(id)));
10077
11025
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10078
11026
  if (configuration) {
10079
11027
  baseOptions = configuration.baseOptions;
@@ -10161,7 +11109,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10161
11109
  // verify required parameter 'id' is not null or undefined
10162
11110
  (0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
10163
11111
  localVarPath = "/sip/numbers/ports/{id}"
10164
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11112
+ .replace('{id}', encodeURIComponent(String(id)));
10165
11113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10166
11114
  if (configuration) {
10167
11115
  baseOptions = configuration.baseOptions;
@@ -10240,7 +11188,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
10240
11188
  // verify required parameter 'numberPortDTO' is not null or undefined
10241
11189
  (0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
10242
11190
  localVarPath = "/admin/sip/numbers/ports/{id}"
10243
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11191
+ .replace('{id}', encodeURIComponent(String(id)));
10244
11192
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10245
11193
  if (configuration) {
10246
11194
  baseOptions = configuration.baseOptions;
@@ -11168,6 +12116,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
11168
12116
  });
11169
12117
  });
11170
12118
  },
12119
+ /**
12120
+ * Remove Oauth 2.0 Cookies
12121
+ * @param {*} [options] Override http request option.
12122
+ * @throws {RequiredError}
12123
+ */
12124
+ postLogout: function () {
12125
+ var args_1 = [];
12126
+ for (var _i = 0; _i < arguments.length; _i++) {
12127
+ args_1[_i] = arguments[_i];
12128
+ }
12129
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
12130
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12131
+ if (options === void 0) { options = {}; }
12132
+ return __generator(this, function (_a) {
12133
+ localVarPath = "/oauth2/logout";
12134
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12135
+ if (configuration) {
12136
+ baseOptions = configuration.baseOptions;
12137
+ }
12138
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
12139
+ localVarHeaderParameter = {};
12140
+ localVarQueryParameter = {};
12141
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12142
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12143
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12144
+ return [2 /*return*/, {
12145
+ url: (0, common_1.toPathString)(localVarUrlObj),
12146
+ options: localVarRequestOptions,
12147
+ }];
12148
+ });
12149
+ });
12150
+ },
11171
12151
  /**
11172
12152
  * Portal Login
11173
12153
  * @summary Portal Login
@@ -11343,6 +12323,27 @@ var OAuth20ApiFp = function (configuration) {
11343
12323
  });
11344
12324
  });
11345
12325
  },
12326
+ /**
12327
+ * Remove Oauth 2.0 Cookies
12328
+ * @param {*} [options] Override http request option.
12329
+ * @throws {RequiredError}
12330
+ */
12331
+ postLogout: function (options) {
12332
+ return __awaiter(this, void 0, void 0, function () {
12333
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
12334
+ var _a, _b, _c;
12335
+ return __generator(this, function (_d) {
12336
+ switch (_d.label) {
12337
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
12338
+ case 1:
12339
+ localVarAxiosArgs = _d.sent();
12340
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12341
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12342
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
12343
+ }
12344
+ });
12345
+ });
12346
+ },
11346
12347
  /**
11347
12348
  * Portal Login
11348
12349
  * @summary Portal Login
@@ -11439,6 +12440,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
11439
12440
  postGetIdentity: function (options) {
11440
12441
  return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
11441
12442
  },
12443
+ /**
12444
+ * Remove Oauth 2.0 Cookies
12445
+ * @param {*} [options] Override http request option.
12446
+ * @throws {RequiredError}
12447
+ */
12448
+ postLogout: function (options) {
12449
+ return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
12450
+ },
11442
12451
  /**
11443
12452
  * Portal Login
11444
12453
  * @summary Portal Login
@@ -11529,6 +12538,15 @@ var OAuth20Api = /** @class */ (function (_super) {
11529
12538
  var _this = this;
11530
12539
  return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
11531
12540
  };
12541
+ /**
12542
+ * Remove Oauth 2.0 Cookies
12543
+ * @param {*} [options] Override http request option.
12544
+ * @throws {RequiredError}
12545
+ */
12546
+ OAuth20Api.prototype.postLogout = function (options) {
12547
+ var _this = this;
12548
+ return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
12549
+ };
11532
12550
  /**
11533
12551
  * Portal Login
11534
12552
  * @summary Portal Login
@@ -11550,7 +12568,7 @@ exports.PostAccessTokenGrantTypeEnum = {
11550
12568
  AuthorizationCode: 'authorization_code',
11551
12569
  MsAuth: 'ms_auth',
11552
12570
  TokenExchange: 'token_exchange',
11553
- Password: 'password'
12571
+ Password: 'password',
11554
12572
  };
11555
12573
  exports.PostAccessTokenScopeEnum = {
11556
12574
  Star: '*',
@@ -11580,11 +12598,11 @@ exports.PostAccessTokenScopeEnum = {
11580
12598
  TcxMtRead: 'tcx_mt.read',
11581
12599
  TcxMtWrite: 'tcx_mt.write',
11582
12600
  TicketsRead: 'tickets.read',
11583
- TicketsWrite: 'tickets.write'
12601
+ TicketsWrite: 'tickets.write',
11584
12602
  };
11585
12603
  exports.PostAccessTokenTokenExchangeTypeEnum = {
11586
12604
  TcxWizard: 'tcx_wizard',
11587
- Portal: 'portal'
12605
+ Portal: 'portal',
11588
12606
  };
11589
12607
  exports.PostAuthoriseScopeEnum = {
11590
12608
  Star: '*',
@@ -11614,7 +12632,7 @@ exports.PostAuthoriseScopeEnum = {
11614
12632
  TcxMtRead: 'tcx_mt.read',
11615
12633
  TcxMtWrite: 'tcx_mt.write',
11616
12634
  TicketsRead: 'tickets.read',
11617
- TicketsWrite: 'tickets.write'
12635
+ TicketsWrite: 'tickets.write',
11618
12636
  };
11619
12637
  /**
11620
12638
  * OrdersApi - axios parameter creator
@@ -11643,8 +12661,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11643
12661
  // verify required parameter 'batchId' is not null or undefined
11644
12662
  (0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
11645
12663
  localVarPath = "/admin/orders/{id}/batches/{batch_id}"
11646
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11647
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
12664
+ .replace('{id}', encodeURIComponent(String(id)))
12665
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
11648
12666
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11649
12667
  if (configuration) {
11650
12668
  baseOptions = configuration.baseOptions;
@@ -11681,7 +12699,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11681
12699
  // verify required parameter 'id' is not null or undefined
11682
12700
  (0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
11683
12701
  localVarPath = "/orders/{id}"
11684
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12702
+ .replace('{id}', encodeURIComponent(String(id)));
11685
12703
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11686
12704
  if (configuration) {
11687
12705
  baseOptions = configuration.baseOptions;
@@ -11724,9 +12742,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11724
12742
  // verify required parameter 'shipmentId' is not null or undefined
11725
12743
  (0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
11726
12744
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
11727
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11728
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
11729
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
12745
+ .replace('{id}', encodeURIComponent(String(id)))
12746
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
12747
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
11730
12748
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11731
12749
  if (configuration) {
11732
12750
  baseOptions = configuration.baseOptions;
@@ -11763,7 +12781,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11763
12781
  // verify required parameter 'id' is not null or undefined
11764
12782
  (0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
11765
12783
  localVarPath = "/admin/orders/{id}/views/editable"
11766
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12784
+ .replace('{id}', encodeURIComponent(String(id)));
11767
12785
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11768
12786
  if (configuration) {
11769
12787
  baseOptions = configuration.baseOptions;
@@ -11801,7 +12819,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11801
12819
  // verify required parameter 'id' is not null or undefined
11802
12820
  (0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
11803
12821
  localVarPath = "/admin/orders/{id}/details"
11804
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12822
+ .replace('{id}', encodeURIComponent(String(id)));
11805
12823
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11806
12824
  if (configuration) {
11807
12825
  baseOptions = configuration.baseOptions;
@@ -11845,9 +12863,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11845
12863
  // verify required parameter 'shipmentId' is not null or undefined
11846
12864
  (0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
11847
12865
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
11848
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11849
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
11850
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
12866
+ .replace('{id}', encodeURIComponent(String(id)))
12867
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
12868
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
11851
12869
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11852
12870
  if (configuration) {
11853
12871
  baseOptions = configuration.baseOptions;
@@ -11885,7 +12903,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11885
12903
  // verify required parameter 'id' is not null or undefined
11886
12904
  (0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
11887
12905
  localVarPath = "/orders/{id}/views/editable"
11888
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12906
+ .replace('{id}', encodeURIComponent(String(id)));
11889
12907
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11890
12908
  if (configuration) {
11891
12909
  baseOptions = configuration.baseOptions;
@@ -11926,8 +12944,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11926
12944
  // verify required parameter 'itemId' is not null or undefined
11927
12945
  (0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
11928
12946
  localVarPath = "/admin/orders/{id}/items/{item_id}/info"
11929
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11930
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
12947
+ .replace('{id}', encodeURIComponent(String(id)))
12948
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
11931
12949
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11932
12950
  if (configuration) {
11933
12951
  baseOptions = configuration.baseOptions;
@@ -11965,7 +12983,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11965
12983
  // verify required parameter 'id' is not null or undefined
11966
12984
  (0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
11967
12985
  localVarPath = "/orders/{id}/pdf"
11968
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12986
+ .replace('{id}', encodeURIComponent(String(id)));
11969
12987
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11970
12988
  if (configuration) {
11971
12989
  baseOptions = configuration.baseOptions;
@@ -12003,7 +13021,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12003
13021
  // verify required parameter 'id' is not null or undefined
12004
13022
  (0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
12005
13023
  localVarPath = "/admin/orders/{id}/summary"
12006
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13024
+ .replace('{id}', encodeURIComponent(String(id)));
12007
13025
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12008
13026
  if (configuration) {
12009
13027
  baseOptions = configuration.baseOptions;
@@ -12103,7 +13121,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12103
13121
  // verify required parameter 'id' is not null or undefined
12104
13122
  (0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
12105
13123
  localVarPath = "/admin/orders/{id}/complete"
12106
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13124
+ .replace('{id}', encodeURIComponent(String(id)));
12107
13125
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12108
13126
  if (configuration) {
12109
13127
  baseOptions = configuration.baseOptions;
@@ -12142,7 +13160,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12142
13160
  // verify required parameter 'id' is not null or undefined
12143
13161
  (0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
12144
13162
  localVarPath = "/admin/orders/{id}/notes"
12145
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13163
+ .replace('{id}', encodeURIComponent(String(id)));
12146
13164
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12147
13165
  if (configuration) {
12148
13166
  baseOptions = configuration.baseOptions;
@@ -12227,8 +13245,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12227
13245
  // verify required parameter 'shipmentId' is not null or undefined
12228
13246
  (0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
12229
13247
  localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
12230
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12231
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13248
+ .replace('{id}', encodeURIComponent(String(id)))
13249
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12232
13250
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12233
13251
  if (configuration) {
12234
13252
  baseOptions = configuration.baseOptions;
@@ -12249,6 +13267,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12249
13267
  });
12250
13268
  });
12251
13269
  },
13270
+ /**
13271
+ * Create an order via the legacy portal
13272
+ * @summary Create an order via the legacy portal
13273
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
13274
+ * @param {*} [options] Override http request option.
13275
+ * @throws {RequiredError}
13276
+ */
13277
+ postCreatePortalOrderLegacy: function (orderDTO_1) {
13278
+ var args_1 = [];
13279
+ for (var _i = 1; _i < arguments.length; _i++) {
13280
+ args_1[_i - 1] = arguments[_i];
13281
+ }
13282
+ return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
13283
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
13284
+ if (options === void 0) { options = {}; }
13285
+ return __generator(this, function (_a) {
13286
+ localVarPath = "/orders/portal/legacy";
13287
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13288
+ if (configuration) {
13289
+ baseOptions = configuration.baseOptions;
13290
+ }
13291
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
13292
+ localVarHeaderParameter = {};
13293
+ localVarQueryParameter = {};
13294
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13295
+ localVarHeaderParameter['Accept'] = 'application/json';
13296
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13297
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13298
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13299
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
13300
+ return [2 /*return*/, {
13301
+ url: (0, common_1.toPathString)(localVarUrlObj),
13302
+ options: localVarRequestOptions,
13303
+ }];
13304
+ });
13305
+ });
13306
+ },
12252
13307
  /**
12253
13308
  * Create Shipment (Admin)
12254
13309
  * @summary Create Shipment (Admin)
@@ -12272,8 +13327,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12272
13327
  // verify required parameter 'batchId' is not null or undefined
12273
13328
  (0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
12274
13329
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
12275
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12276
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13330
+ .replace('{id}', encodeURIComponent(String(id)))
13331
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
12277
13332
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12278
13333
  if (configuration) {
12279
13334
  baseOptions = configuration.baseOptions;
@@ -12355,7 +13410,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12355
13410
  // verify required parameter 'id' is not null or undefined
12356
13411
  (0, common_1.assertParamExists)('postIssueCredit', 'id', id);
12357
13412
  localVarPath = "/admin/orders/{id}/credit"
12358
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13413
+ .replace('{id}', encodeURIComponent(String(id)));
12359
13414
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12360
13415
  if (configuration) {
12361
13416
  baseOptions = configuration.baseOptions;
@@ -12401,8 +13456,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12401
13456
  // verify required parameter 'printer' is not null or undefined
12402
13457
  (0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
12403
13458
  localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
12404
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12405
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13459
+ .replace('{id}', encodeURIComponent(String(id)))
13460
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12406
13461
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12407
13462
  if (configuration) {
12408
13463
  baseOptions = configuration.baseOptions;
@@ -12446,8 +13501,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12446
13501
  // verify required parameter 'batchId' is not null or undefined
12447
13502
  (0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
12448
13503
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
12449
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12450
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13504
+ .replace('{id}', encodeURIComponent(String(id)))
13505
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
12451
13506
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12452
13507
  if (configuration) {
12453
13508
  baseOptions = configuration.baseOptions;
@@ -12488,7 +13543,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12488
13543
  // verify required parameter 'email' is not null or undefined
12489
13544
  (0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
12490
13545
  localVarPath = "/admin/orders/{id}/email/send"
12491
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13546
+ .replace('{id}', encodeURIComponent(String(id)));
12492
13547
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12493
13548
  if (configuration) {
12494
13549
  baseOptions = configuration.baseOptions;
@@ -12537,9 +13592,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12537
13592
  // verify required parameter 'email' is not null or undefined
12538
13593
  (0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
12539
13594
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
12540
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12541
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12542
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13595
+ .replace('{id}', encodeURIComponent(String(id)))
13596
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13597
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12543
13598
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12544
13599
  if (configuration) {
12545
13600
  baseOptions = configuration.baseOptions;
@@ -12582,8 +13637,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12582
13637
  // verify required parameter 'batchId' is not null or undefined
12583
13638
  (0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
12584
13639
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
12585
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12586
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13640
+ .replace('{id}', encodeURIComponent(String(id)))
13641
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
12587
13642
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12588
13643
  if (configuration) {
12589
13644
  baseOptions = configuration.baseOptions;
@@ -12621,7 +13676,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12621
13676
  // verify required parameter 'id' is not null or undefined
12622
13677
  (0, common_1.assertParamExists)('postSplitOrder', 'id', id);
12623
13678
  localVarPath = "/admin/orders/{id}/split"
12624
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13679
+ .replace('{id}', encodeURIComponent(String(id)));
12625
13680
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12626
13681
  if (configuration) {
12627
13682
  baseOptions = configuration.baseOptions;
@@ -12665,7 +13720,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12665
13720
  // verify required parameter 'supplierId' is not null or undefined
12666
13721
  (0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
12667
13722
  localVarPath = "/admin/orders/{id}/items/allocate"
12668
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13723
+ .replace('{id}', encodeURIComponent(String(id)));
12669
13724
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12670
13725
  if (configuration) {
12671
13726
  baseOptions = configuration.baseOptions;
@@ -12710,7 +13765,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12710
13765
  // verify required parameter 'id' is not null or undefined
12711
13766
  (0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
12712
13767
  localVarPath = "/admin/orders/{id}"
12713
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13768
+ .replace('{id}', encodeURIComponent(String(id)));
12714
13769
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12715
13770
  if (configuration) {
12716
13771
  baseOptions = configuration.baseOptions;
@@ -12760,9 +13815,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12760
13815
  // verify required parameter 'itemId' is not null or undefined
12761
13816
  (0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
12762
13817
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
12763
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12764
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12765
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
13818
+ .replace('{id}', encodeURIComponent(String(id)))
13819
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13820
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
12766
13821
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12767
13822
  if (configuration) {
12768
13823
  baseOptions = configuration.baseOptions;
@@ -12804,7 +13859,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12804
13859
  // verify required parameter 'id' is not null or undefined
12805
13860
  (0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
12806
13861
  localVarPath = "/orders/{id}"
12807
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13862
+ .replace('{id}', encodeURIComponent(String(id)));
12808
13863
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12809
13864
  if (configuration) {
12810
13865
  baseOptions = configuration.baseOptions;
@@ -12850,7 +13905,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12850
13905
  // verify required parameter 'paid' is not null or undefined
12851
13906
  (0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
12852
13907
  localVarPath = "/admin/orders/{id}/paid"
12853
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13908
+ .replace('{id}', encodeURIComponent(String(id)));
12854
13909
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12855
13910
  if (configuration) {
12856
13911
  baseOptions = configuration.baseOptions;
@@ -12898,9 +13953,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12898
13953
  // verify required parameter 'shipmentId' is not null or undefined
12899
13954
  (0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
12900
13955
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
12901
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12902
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12903
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13956
+ .replace('{id}', encodeURIComponent(String(id)))
13957
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13958
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12904
13959
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12905
13960
  if (configuration) {
12906
13961
  baseOptions = configuration.baseOptions;
@@ -13290,6 +14345,29 @@ var OrdersApiFp = function (configuration) {
13290
14345
  });
13291
14346
  });
13292
14347
  },
14348
+ /**
14349
+ * Create an order via the legacy portal
14350
+ * @summary Create an order via the legacy portal
14351
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
14352
+ * @param {*} [options] Override http request option.
14353
+ * @throws {RequiredError}
14354
+ */
14355
+ postCreatePortalOrderLegacy: function (orderDTO, options) {
14356
+ return __awaiter(this, void 0, void 0, function () {
14357
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
14358
+ var _a, _b, _c;
14359
+ return __generator(this, function (_d) {
14360
+ switch (_d.label) {
14361
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
14362
+ case 1:
14363
+ localVarAxiosArgs = _d.sent();
14364
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14365
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14366
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
14367
+ }
14368
+ });
14369
+ });
14370
+ },
13293
14371
  /**
13294
14372
  * Create Shipment (Admin)
13295
14373
  * @summary Create Shipment (Admin)
@@ -13835,6 +14913,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
13835
14913
  postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
13836
14914
  return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
13837
14915
  },
14916
+ /**
14917
+ * Create an order via the legacy portal
14918
+ * @summary Create an order via the legacy portal
14919
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
14920
+ * @param {*} [options] Override http request option.
14921
+ * @throws {RequiredError}
14922
+ */
14923
+ postCreatePortalOrderLegacy: function (orderDTO, options) {
14924
+ return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
14925
+ },
13838
14926
  /**
13839
14927
  * Create Shipment (Admin)
13840
14928
  * @summary Create Shipment (Admin)
@@ -14202,6 +15290,17 @@ var OrdersApi = /** @class */ (function (_super) {
14202
15290
  var _this = this;
14203
15291
  return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
14204
15292
  };
15293
+ /**
15294
+ * Create an order via the legacy portal
15295
+ * @summary Create an order via the legacy portal
15296
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
15297
+ * @param {*} [options] Override http request option.
15298
+ * @throws {RequiredError}
15299
+ */
15300
+ OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
15301
+ var _this = this;
15302
+ return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
15303
+ };
14205
15304
  /**
14206
15305
  * Create Shipment (Admin)
14207
15306
  * @summary Create Shipment (Admin)
@@ -14400,18 +15499,18 @@ exports.GetGetOrdersStatusEnum = {
14400
15499
  Paid: 'PAID',
14401
15500
  InvoicePaid: 'INVOICE_PAID',
14402
15501
  Unpaid: 'UNPAID',
14403
- Quote: 'QUOTE'
15502
+ Quote: 'QUOTE',
14404
15503
  };
14405
15504
  exports.GetGetOrdersFilterEnum = {
14406
15505
  Outstanding: 'OUTSTANDING',
14407
15506
  Quotes: 'QUOTES',
14408
15507
  All: 'ALL',
14409
- BackOrders: 'BACK_ORDERS'
15508
+ BackOrders: 'BACK_ORDERS',
14410
15509
  };
14411
15510
  exports.PostPrintShippingLabelPrinterEnum = {
14412
15511
  NUMBER_1: 1,
14413
15512
  NUMBER_2: 2,
14414
- NUMBER_3: 3
15513
+ NUMBER_3: 3,
14415
15514
  };
14416
15515
  /**
14417
15516
  * PricingApi - axios parameter creator
@@ -14684,14 +15783,14 @@ exports.GetGetPriceListTypeEnum = {
14684
15783
  EdTechPro: 'EdTechPro',
14685
15784
  Sms: 'SMS',
14686
15785
  SipTrunks: 'SIP Trunks',
14687
- CrmIntegrations: 'CRM Integrations'
15786
+ CrmIntegrations: 'CRM Integrations',
14688
15787
  };
14689
15788
  exports.GetGetPriceListFormatEnum = {
14690
15789
  Pdf: 'pdf',
14691
15790
  Json: 'json',
14692
15791
  Csv: 'csv',
14693
15792
  Xml: 'xml',
14694
- Html: 'html'
15793
+ Html: 'html',
14695
15794
  };
14696
15795
  exports.GetGetPriceListCategoryEnum = {
14697
15796
  Yealink: 'Yealink',
@@ -14713,7 +15812,7 @@ exports.GetGetPriceListCategoryEnum = {
14713
15812
  FanvilWirelessPhones: 'Fanvil Wireless Phones',
14714
15813
  FanvilSecurityProducts: 'Fanvil Security Products',
14715
15814
  FanvilAccessories: 'Fanvil Accessories',
14716
- FanvilHotelPhones: 'Fanvil Hotel Phones'
15815
+ FanvilHotelPhones: 'Fanvil Hotel Phones',
14717
15816
  };
14718
15817
  exports.PostSendPriceListTypeEnum = {
14719
15818
  Products: 'Products',
@@ -14724,14 +15823,14 @@ exports.PostSendPriceListTypeEnum = {
14724
15823
  EdTechPro: 'EdTechPro',
14725
15824
  Sms: 'SMS',
14726
15825
  SipTrunks: 'SIP Trunks',
14727
- CrmIntegrations: 'CRM Integrations'
15826
+ CrmIntegrations: 'CRM Integrations',
14728
15827
  };
14729
15828
  exports.PostSendPriceListFormatEnum = {
14730
15829
  Pdf: 'pdf',
14731
15830
  Json: 'json',
14732
15831
  Csv: 'csv',
14733
15832
  Xml: 'xml',
14734
- Html: 'html'
15833
+ Html: 'html',
14735
15834
  };
14736
15835
  exports.PostSendPriceListCategoryEnum = {
14737
15836
  Yealink: 'Yealink',
@@ -14753,7 +15852,7 @@ exports.PostSendPriceListCategoryEnum = {
14753
15852
  FanvilWirelessPhones: 'Fanvil Wireless Phones',
14754
15853
  FanvilSecurityProducts: 'Fanvil Security Products',
14755
15854
  FanvilAccessories: 'Fanvil Accessories',
14756
- FanvilHotelPhones: 'Fanvil Hotel Phones'
15855
+ FanvilHotelPhones: 'Fanvil Hotel Phones',
14757
15856
  };
14758
15857
  /**
14759
15858
  * ProductsApi - axios parameter creator
@@ -15040,7 +16139,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
15040
16139
  // verify required parameter 'quantity' is not null or undefined
15041
16140
  (0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
15042
16141
  localVarPath = "/products/{sku}/stock/add"
15043
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16142
+ .replace('{sku}', encodeURIComponent(String(sku)));
15044
16143
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15045
16144
  if (configuration) {
15046
16145
  baseOptions = configuration.baseOptions;
@@ -15065,25 +16164,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
15065
16164
  * Get Product
15066
16165
  * @summary Get Product
15067
16166
  * @param {string} sku Product SKU
15068
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16167
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15069
16168
  * @param {*} [options] Override http request option.
15070
16169
  * @throws {RequiredError}
15071
16170
  */
15072
- postGetProduct: function (sku_1, postGetProductRequest_1) {
16171
+ postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
15073
16172
  var args_1 = [];
15074
16173
  for (var _i = 2; _i < arguments.length; _i++) {
15075
16174
  args_1[_i - 2] = arguments[_i];
15076
16175
  }
15077
- return __awaiter(_this, __spreadArray([sku_1, postGetProductRequest_1], args_1, true), void 0, function (sku, postGetProductRequest, options) {
16176
+ return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
15078
16177
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
15079
16178
  if (options === void 0) { options = {}; }
15080
16179
  return __generator(this, function (_a) {
15081
16180
  // verify required parameter 'sku' is not null or undefined
15082
16181
  (0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
15083
- // verify required parameter 'postGetProductRequest' is not null or undefined
15084
- (0, common_1.assertParamExists)('postGetProduct', 'postGetProductRequest', postGetProductRequest);
16182
+ // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16183
+ (0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
15085
16184
  localVarPath = "/products/{sku}"
15086
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16185
+ .replace('{sku}', encodeURIComponent(String(sku)));
15087
16186
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15088
16187
  if (configuration) {
15089
16188
  baseOptions = configuration.baseOptions;
@@ -15096,7 +16195,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
15096
16195
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15097
16196
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15098
16197
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15099
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductRequest, localVarRequestOptions, configuration);
16198
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
15100
16199
  return [2 /*return*/, {
15101
16200
  url: (0, common_1.toPathString)(localVarUrlObj),
15102
16201
  options: localVarRequestOptions,
@@ -15129,7 +16228,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
15129
16228
  // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
15130
16229
  (0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
15131
16230
  localVarPath = "/admin/products/{sku}"
15132
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16231
+ .replace('{sku}', encodeURIComponent(String(sku)));
15133
16232
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15134
16233
  if (configuration) {
15135
16234
  baseOptions = configuration.baseOptions;
@@ -15349,17 +16448,17 @@ var ProductsApiFp = function (configuration) {
15349
16448
  * Get Product
15350
16449
  * @summary Get Product
15351
16450
  * @param {string} sku Product SKU
15352
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16451
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15353
16452
  * @param {*} [options] Override http request option.
15354
16453
  * @throws {RequiredError}
15355
16454
  */
15356
- postGetProduct: function (sku, postGetProductRequest, options) {
16455
+ postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
15357
16456
  return __awaiter(this, void 0, void 0, function () {
15358
16457
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
15359
16458
  var _a, _b, _c;
15360
16459
  return __generator(this, function (_d) {
15361
16460
  switch (_d.label) {
15362
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductRequest, options)];
16461
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
15363
16462
  case 1:
15364
16463
  localVarAxiosArgs = _d.sent();
15365
16464
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -15486,12 +16585,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
15486
16585
  * Get Product
15487
16586
  * @summary Get Product
15488
16587
  * @param {string} sku Product SKU
15489
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16588
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15490
16589
  * @param {*} [options] Override http request option.
15491
16590
  * @throws {RequiredError}
15492
16591
  */
15493
- postGetProduct: function (sku, postGetProductRequest, options) {
15494
- return localVarFp.postGetProduct(sku, postGetProductRequest, options).then(function (request) { return request(axios, basePath); });
16592
+ postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
16593
+ return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
15495
16594
  },
15496
16595
  /**
15497
16596
  * Get Product For Customer
@@ -15607,13 +16706,13 @@ var ProductsApi = /** @class */ (function (_super) {
15607
16706
  * Get Product
15608
16707
  * @summary Get Product
15609
16708
  * @param {string} sku Product SKU
15610
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16709
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15611
16710
  * @param {*} [options] Override http request option.
15612
16711
  * @throws {RequiredError}
15613
16712
  */
15614
- ProductsApi.prototype.postGetProduct = function (sku, postGetProductRequest, options) {
16713
+ ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
15615
16714
  var _this = this;
15616
- return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
16715
+ return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
15617
16716
  };
15618
16717
  /**
15619
16718
  * Get Product For Customer
@@ -15633,7 +16732,7 @@ var ProductsApi = /** @class */ (function (_super) {
15633
16732
  exports.ProductsApi = ProductsApi;
15634
16733
  exports.GetGetLegacyStockListFormatEnum = {
15635
16734
  Xml: 'XML',
15636
- Csv: 'CSV'
16735
+ Csv: 'CSV',
15637
16736
  };
15638
16737
  /**
15639
16738
  * ProspectsApi - axios parameter creator
@@ -15660,7 +16759,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
15660
16759
  // verify required parameter 'xeroId' is not null or undefined
15661
16760
  (0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
15662
16761
  localVarPath = "/accounts/prospects/{xero_id}"
15663
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
16762
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
15664
16763
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15665
16764
  if (configuration) {
15666
16765
  baseOptions = configuration.baseOptions;
@@ -15735,7 +16834,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
15735
16834
  // verify required parameter 'status' is not null or undefined
15736
16835
  (0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
15737
16836
  localVarPath = "/accounts/prospects/{xero_id}/remove"
15738
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
16837
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
15739
16838
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15740
16839
  if (configuration) {
15741
16840
  baseOptions = configuration.baseOptions;
@@ -15779,7 +16878,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
15779
16878
  // verify required parameter 'date' is not null or undefined
15780
16879
  (0, common_1.assertParamExists)('getSetCallback', 'date', date);
15781
16880
  localVarPath = "/accounts/prospects/{xero_id}/date"
15782
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
16881
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
15783
16882
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15784
16883
  if (configuration) {
15785
16884
  baseOptions = configuration.baseOptions;
@@ -16040,8 +17139,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
16040
17139
  // verify required parameter 'mac' is not null or undefined
16041
17140
  (0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
16042
17141
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
16043
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
16044
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17142
+ .replace('{id}', encodeURIComponent(String(id)))
17143
+ .replace('{mac}', encodeURIComponent(String(mac)));
16045
17144
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16046
17145
  if (configuration) {
16047
17146
  baseOptions = configuration.baseOptions;
@@ -16078,7 +17177,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
16078
17177
  // verify required parameter 'id' is not null or undefined
16079
17178
  (0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
16080
17179
  localVarPath = "/provisioning/fanvil/groups/{id}"
16081
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17180
+ .replace('{id}', encodeURIComponent(String(id)));
16082
17181
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16083
17182
  if (configuration) {
16084
17183
  baseOptions = configuration.baseOptions;
@@ -16118,8 +17217,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
16118
17217
  // verify required parameter 'mac' is not null or undefined
16119
17218
  (0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
16120
17219
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
16121
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
16122
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17220
+ .replace('{id}', encodeURIComponent(String(id)))
17221
+ .replace('{mac}', encodeURIComponent(String(mac)));
16123
17222
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16124
17223
  if (configuration) {
16125
17224
  baseOptions = configuration.baseOptions;
@@ -16157,7 +17256,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
16157
17256
  // verify required parameter 'id' is not null or undefined
16158
17257
  (0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
16159
17258
  localVarPath = "/provisioning/fanvil/groups/{id}/macs"
16160
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17259
+ .replace('{id}', encodeURIComponent(String(id)));
16161
17260
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16162
17261
  if (configuration) {
16163
17262
  baseOptions = configuration.baseOptions;
@@ -16273,8 +17372,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
16273
17372
  // verify required parameter 'mac' is not null or undefined
16274
17373
  (0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
16275
17374
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
16276
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
16277
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17375
+ .replace('{id}', encodeURIComponent(String(id)))
17376
+ .replace('{mac}', encodeURIComponent(String(mac)));
16278
17377
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16279
17378
  if (configuration) {
16280
17379
  baseOptions = configuration.baseOptions;
@@ -16666,7 +17765,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16666
17765
  // verify required parameter 'id' is not null or undefined
16667
17766
  (0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
16668
17767
  localVarPath = "/sip/trunks/{id}"
16669
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17768
+ .replace('{id}', encodeURIComponent(String(id)));
16670
17769
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16671
17770
  if (configuration) {
16672
17771
  baseOptions = configuration.baseOptions;
@@ -16704,7 +17803,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16704
17803
  // verify required parameter 'id' is not null or undefined
16705
17804
  (0, common_1.assertParamExists)('getCanDivert', 'id', id);
16706
17805
  localVarPath = "/sip/trunks/{id}/diverts/allowed"
16707
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17806
+ .replace('{id}', encodeURIComponent(String(id)));
16708
17807
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16709
17808
  if (configuration) {
16710
17809
  baseOptions = configuration.baseOptions;
@@ -16742,7 +17841,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16742
17841
  // verify required parameter 'id' is not null or undefined
16743
17842
  (0, common_1.assertParamExists)('getGetAddress', 'id', id);
16744
17843
  localVarPath = "/sip/trunks/{id}/address"
16745
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17844
+ .replace('{id}', encodeURIComponent(String(id)));
16746
17845
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16747
17846
  if (configuration) {
16748
17847
  baseOptions = configuration.baseOptions;
@@ -16851,7 +17950,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16851
17950
  // verify required parameter 'id' is not null or undefined
16852
17951
  (0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
16853
17952
  localVarPath = "/sip/trunks/{id}/cli/flexibility"
16854
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17953
+ .replace('{id}', encodeURIComponent(String(id)));
16855
17954
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16856
17955
  if (configuration) {
16857
17956
  baseOptions = configuration.baseOptions;
@@ -16889,7 +17988,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16889
17988
  // verify required parameter 'id' is not null or undefined
16890
17989
  (0, common_1.assertParamExists)('getGetDdis', 'id', id);
16891
17990
  localVarPath = "/sip/trunks/{id}/ddis"
16892
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17991
+ .replace('{id}', encodeURIComponent(String(id)));
16893
17992
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16894
17993
  if (configuration) {
16895
17994
  baseOptions = configuration.baseOptions;
@@ -16928,7 +18027,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16928
18027
  // verify required parameter 'id' is not null or undefined
16929
18028
  (0, common_1.assertParamExists)('getGetDiverts', 'id', id);
16930
18029
  localVarPath = "/sip/trunks/{id}/diverts"
16931
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18030
+ .replace('{id}', encodeURIComponent(String(id)));
16932
18031
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16933
18032
  if (configuration) {
16934
18033
  baseOptions = configuration.baseOptions;
@@ -16969,7 +18068,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16969
18068
  // verify required parameter 'id' is not null or undefined
16970
18069
  (0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
16971
18070
  localVarPath = "/sip/trunks/{id}"
16972
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18071
+ .replace('{id}', encodeURIComponent(String(id)));
16973
18072
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16974
18073
  if (configuration) {
16975
18074
  baseOptions = configuration.baseOptions;
@@ -17056,7 +18155,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17056
18155
  // verify required parameter 'enabled' is not null or undefined
17057
18156
  (0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
17058
18157
  localVarPath = "/sip/trunks/{id}/cli/flexibility"
17059
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18158
+ .replace('{id}', encodeURIComponent(String(id)));
17060
18159
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17061
18160
  if (configuration) {
17062
18161
  baseOptions = configuration.baseOptions;
@@ -17097,7 +18196,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17097
18196
  // verify required parameter 'id' is not null or undefined
17098
18197
  (0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
17099
18198
  localVarPath = "/sip/trunks/{id}/available"
17100
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18199
+ .replace('{id}', encodeURIComponent(String(id)));
17101
18200
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17102
18201
  if (configuration) {
17103
18202
  baseOptions = configuration.baseOptions;
@@ -17138,7 +18237,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17138
18237
  // verify required parameter 'ownerId' is not null or undefined
17139
18238
  (0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
17140
18239
  localVarPath = "/sip/trunks/{id}/owner"
17141
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18240
+ .replace('{id}', encodeURIComponent(String(id)));
17142
18241
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17143
18242
  if (configuration) {
17144
18243
  baseOptions = configuration.baseOptions;
@@ -17184,7 +18283,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17184
18283
  // verify required parameter 'channels' is not null or undefined
17185
18284
  (0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
17186
18285
  localVarPath = "/sip/trunks/{id}/channels"
17187
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18286
+ .replace('{id}', encodeURIComponent(String(id)));
17188
18287
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17189
18288
  if (configuration) {
17190
18289
  baseOptions = configuration.baseOptions;
@@ -17228,7 +18327,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17228
18327
  // verify required parameter 'company' is not null or undefined
17229
18328
  (0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
17230
18329
  localVarPath = "/sip/trunks/{id}/company"
17231
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18330
+ .replace('{id}', encodeURIComponent(String(id)));
17232
18331
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17233
18332
  if (configuration) {
17234
18333
  baseOptions = configuration.baseOptions;
@@ -17272,7 +18371,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17272
18371
  // verify required parameter 'number' is not null or undefined
17273
18372
  (0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
17274
18373
  localVarPath = "/sip/trunks/{id}/number"
17275
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18374
+ .replace('{id}', encodeURIComponent(String(id)));
17276
18375
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17277
18376
  if (configuration) {
17278
18377
  baseOptions = configuration.baseOptions;
@@ -17316,7 +18415,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17316
18415
  // verify required parameter 'ipAddress' is not null or undefined
17317
18416
  (0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
17318
18417
  localVarPath = "/sip/trunks/{id}/pbx/ip"
17319
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18418
+ .replace('{id}', encodeURIComponent(String(id)));
17320
18419
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17321
18420
  if (configuration) {
17322
18421
  baseOptions = configuration.baseOptions;
@@ -17358,7 +18457,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17358
18457
  // verify required parameter 'id' is not null or undefined
17359
18458
  (0, common_1.assertParamExists)('postGetDdis', 'id', id);
17360
18459
  localVarPath = "/sip/trunks/{id}/ddis"
17361
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18460
+ .replace('{id}', encodeURIComponent(String(id)));
17362
18461
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17363
18462
  if (configuration) {
17364
18463
  baseOptions = configuration.baseOptions;
@@ -17510,7 +18609,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17510
18609
  // verify required parameter 'id' is not null or undefined
17511
18610
  (0, common_1.assertParamExists)('putGetAddress', 'id', id);
17512
18611
  localVarPath = "/sip/trunks/{id}/address"
17513
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18612
+ .replace('{id}', encodeURIComponent(String(id)));
17514
18613
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17515
18614
  if (configuration) {
17516
18615
  baseOptions = configuration.baseOptions;
@@ -17554,7 +18653,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17554
18653
  // verify required parameter 'enabled' is not null or undefined
17555
18654
  (0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
17556
18655
  localVarPath = "/sip/trunks/{id}/diverts"
17557
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18656
+ .replace('{id}', encodeURIComponent(String(id)));
17558
18657
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17559
18658
  if (configuration) {
17560
18659
  baseOptions = configuration.baseOptions;
@@ -18960,7 +20059,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
18960
20059
  // verify required parameter 'id' is not null or undefined
18961
20060
  (0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
18962
20061
  localVarPath = "/services/events/{id}/archive"
18963
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20062
+ .replace('{id}', encodeURIComponent(String(id)));
18964
20063
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18965
20064
  if (configuration) {
18966
20065
  baseOptions = configuration.baseOptions;
@@ -18998,7 +20097,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
18998
20097
  // verify required parameter 'id' is not null or undefined
18999
20098
  (0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
19000
20099
  localVarPath = "/services/events/{id}"
19001
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20100
+ .replace('{id}', encodeURIComponent(String(id)));
19002
20101
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19003
20102
  if (configuration) {
19004
20103
  baseOptions = configuration.baseOptions;
@@ -19074,7 +20173,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
19074
20173
  // verify required parameter 'id' is not null or undefined
19075
20174
  (0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
19076
20175
  localVarPath = "/services/events/{id}/updates"
19077
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20176
+ .replace('{id}', encodeURIComponent(String(id)));
19078
20177
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19079
20178
  if (configuration) {
19080
20179
  baseOptions = configuration.baseOptions;
@@ -19690,7 +20789,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19690
20789
  // verify required parameter 'id' is not null or undefined
19691
20790
  (0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
19692
20791
  localVarPath = "/stock/orders/{id}"
19693
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20792
+ .replace('{id}', encodeURIComponent(String(id)));
19694
20793
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19695
20794
  if (configuration) {
19696
20795
  baseOptions = configuration.baseOptions;
@@ -19730,8 +20829,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19730
20829
  // verify required parameter 'deductionId' is not null or undefined
19731
20830
  (0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
19732
20831
  localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
19733
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
19734
- .replace("{".concat("deduction_id", "}"), encodeURIComponent(String(deductionId)));
20832
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
20833
+ .replace('{deduction_id}', encodeURIComponent(String(deductionId)));
19735
20834
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19736
20835
  if (configuration) {
19737
20836
  baseOptions = configuration.baseOptions;
@@ -19771,8 +20870,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19771
20870
  // verify required parameter 'itemId' is not null or undefined
19772
20871
  (0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
19773
20872
  localVarPath = "/stock/orders/{order_id}/items/{item_id}"
19774
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
19775
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
20873
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
20874
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
19776
20875
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19777
20876
  if (configuration) {
19778
20877
  baseOptions = configuration.baseOptions;
@@ -19809,7 +20908,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19809
20908
  // verify required parameter 'id' is not null or undefined
19810
20909
  (0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
19811
20910
  localVarPath = "/stock/products/{id}"
19812
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20911
+ .replace('{id}', encodeURIComponent(String(id)));
19813
20912
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19814
20913
  if (configuration) {
19815
20914
  baseOptions = configuration.baseOptions;
@@ -19846,7 +20945,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19846
20945
  // verify required parameter 'id' is not null or undefined
19847
20946
  (0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
19848
20947
  localVarPath = "/stock/orders/{id}"
19849
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20948
+ .replace('{id}', encodeURIComponent(String(id)));
19850
20949
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19851
20950
  if (configuration) {
19852
20951
  baseOptions = configuration.baseOptions;
@@ -19884,7 +20983,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19884
20983
  // verify required parameter 'sku' is not null or undefined
19885
20984
  (0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
19886
20985
  localVarPath = "/stock/products/{sku}/details"
19887
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
20986
+ .replace('{sku}', encodeURIComponent(String(sku)));
19888
20987
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19889
20988
  if (configuration) {
19890
20989
  baseOptions = configuration.baseOptions;
@@ -19922,7 +21021,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19922
21021
  // verify required parameter 'id' is not null or undefined
19923
21022
  (0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
19924
21023
  localVarPath = "/stock/orders/{id}/po"
19925
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21024
+ .replace('{id}', encodeURIComponent(String(id)));
19926
21025
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19927
21026
  if (configuration) {
19928
21027
  baseOptions = configuration.baseOptions;
@@ -19960,7 +21059,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19960
21059
  // verify required parameter 'id' is not null or undefined
19961
21060
  (0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
19962
21061
  localVarPath = "/stock/orders/{id}/supplier/email"
19963
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21062
+ .replace('{id}', encodeURIComponent(String(id)));
19964
21063
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19965
21064
  if (configuration) {
19966
21065
  baseOptions = configuration.baseOptions;
@@ -20048,7 +21147,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20048
21147
  // verify required parameter 'id' is not null or undefined
20049
21148
  (0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
20050
21149
  localVarPath = "/stock/products/{id}"
20051
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21150
+ .replace('{id}', encodeURIComponent(String(id)));
20052
21151
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20053
21152
  if (configuration) {
20054
21153
  baseOptions = configuration.baseOptions;
@@ -20166,7 +21265,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20166
21265
  // verify required parameter 'id' is not null or undefined
20167
21266
  (0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
20168
21267
  localVarPath = "/stock/suppliers/{id}/products"
20169
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21268
+ .replace('{id}', encodeURIComponent(String(id)));
20170
21269
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20171
21270
  if (configuration) {
20172
21271
  baseOptions = configuration.baseOptions;
@@ -20204,7 +21303,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20204
21303
  // verify required parameter 'id' is not null or undefined
20205
21304
  (0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
20206
21305
  localVarPath = "/stock/orders/{id}/invoice"
20207
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21306
+ .replace('{id}', encodeURIComponent(String(id)));
20208
21307
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20209
21308
  if (configuration) {
20210
21309
  baseOptions = configuration.baseOptions;
@@ -20243,7 +21342,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20243
21342
  // verify required parameter 'id' is not null or undefined
20244
21343
  (0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
20245
21344
  localVarPath = "/stock/orders/{id}"
20246
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21345
+ .replace('{id}', encodeURIComponent(String(id)));
20247
21346
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20248
21347
  if (configuration) {
20249
21348
  baseOptions = configuration.baseOptions;
@@ -20287,8 +21386,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20287
21386
  // verify required parameter 'deductionId' is not null or undefined
20288
21387
  (0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
20289
21388
  localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
20290
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20291
- .replace("{".concat("deduction_id", "}"), encodeURIComponent(String(deductionId)));
21389
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21390
+ .replace('{deduction_id}', encodeURIComponent(String(deductionId)));
20292
21391
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20293
21392
  if (configuration) {
20294
21393
  baseOptions = configuration.baseOptions;
@@ -20332,8 +21431,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20332
21431
  // verify required parameter 'itemId' is not null or undefined
20333
21432
  (0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
20334
21433
  localVarPath = "/stock/orders/{order_id}/items/{item_id}"
20335
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20336
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
21434
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21435
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
20337
21436
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20338
21437
  if (configuration) {
20339
21438
  baseOptions = configuration.baseOptions;
@@ -20374,7 +21473,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20374
21473
  // verify required parameter 'id' is not null or undefined
20375
21474
  (0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
20376
21475
  localVarPath = "/stock/orders/{id}/deductions"
20377
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21476
+ .replace('{id}', encodeURIComponent(String(id)));
20378
21477
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20379
21478
  if (configuration) {
20380
21479
  baseOptions = configuration.baseOptions;
@@ -20415,7 +21514,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20415
21514
  // verify required parameter 'id' is not null or undefined
20416
21515
  (0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
20417
21516
  localVarPath = "/stock/orders/{id}/items"
20418
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21517
+ .replace('{id}', encodeURIComponent(String(id)));
20419
21518
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20420
21519
  if (configuration) {
20421
21520
  baseOptions = configuration.baseOptions;
@@ -20532,7 +21631,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20532
21631
  // verify required parameter 'invoice' is not null or undefined
20533
21632
  (0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
20534
21633
  localVarPath = "/stock/orders/{id}/invoice"
20535
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21634
+ .replace('{id}', encodeURIComponent(String(id)));
20536
21635
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20537
21636
  if (configuration) {
20538
21637
  baseOptions = configuration.baseOptions;
@@ -20576,7 +21675,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20576
21675
  // verify required parameter 'id' is not null or undefined
20577
21676
  (0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
20578
21677
  localVarPath = "/stock/products/{id}"
20579
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21678
+ .replace('{id}', encodeURIComponent(String(id)));
20580
21679
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20581
21680
  if (configuration) {
20582
21681
  baseOptions = configuration.baseOptions;
@@ -20622,8 +21721,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20622
21721
  // verify required parameter 'received' is not null or undefined
20623
21722
  (0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
20624
21723
  localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
20625
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20626
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
21724
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21725
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
20627
21726
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20628
21727
  if (configuration) {
20629
21728
  baseOptions = configuration.baseOptions;
@@ -22017,7 +23116,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
22017
23116
  // verify required parameter 'id' is not null or undefined
22018
23117
  (0, common_1.assertParamExists)('getGetTicket', 'id', id);
22019
23118
  localVarPath = "/tickets/support/{id}"
22020
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23119
+ .replace('{id}', encodeURIComponent(String(id)));
22021
23120
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
22022
23121
  if (configuration) {
22023
23122
  baseOptions = configuration.baseOptions;
@@ -22054,7 +23153,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
22054
23153
  // verify required parameter 'id' is not null or undefined
22055
23154
  (0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
22056
23155
  localVarPath = "/tickets/support/{id}/close"
22057
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23156
+ .replace('{id}', encodeURIComponent(String(id)));
22058
23157
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
22059
23158
  if (configuration) {
22060
23159
  baseOptions = configuration.baseOptions;
@@ -22143,7 +23242,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
22143
23242
  // verify required parameter 'id' is not null or undefined
22144
23243
  (0, common_1.assertParamExists)('postTicketReply', 'id', id);
22145
23244
  localVarPath = "/tickets/support/{id}/reply"
22146
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23245
+ .replace('{id}', encodeURIComponent(String(id)));
22147
23246
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
22148
23247
  if (configuration) {
22149
23248
  baseOptions = configuration.baseOptions;
@@ -22639,5 +23738,5 @@ exports.PostAddWebhookWebhookUriEnum = {
22639
23738
  WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
22640
23739
  WebhookTest: '/webhook/test',
22641
23740
  WebhookXeroInvoices: '/webhook/xero/invoices',
22642
- WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
23741
+ WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
22643
23742
  };