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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (799) hide show
  1. package/.openapi-generator/FILES +14 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +0 -0
  4. package/README.md +29 -4
  5. package/api.ts +1701 -379
  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 +850 -89
  11. package/dist/api.js +1672 -392
  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 +5 -0
  37. package/dist/models/ServiceEnum.js +5 -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 +839 -145
  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 +4 -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/TcxBackupEntity.md +0 -0
  282. package/docs/TcxBackupModel.md +0 -0
  283. package/docs/TcxBillingEntity.md +0 -0
  284. package/docs/TcxBulkLicenceDetailsModel.md +0 -0
  285. package/docs/TcxDeadLicenceEntity.md +0 -0
  286. package/docs/TcxExtsEntity.md +0 -0
  287. package/docs/TcxHostingPricingEntity.md +0 -0
  288. package/docs/TcxInstallationModel.md +0 -0
  289. package/docs/TcxInstallationsModel.md +0 -0
  290. package/docs/TcxKeySummaryDTO.md +1 -1
  291. package/docs/TcxKeysEntity.md +0 -0
  292. package/docs/TcxLicenceDetailsErrorModel.md +0 -0
  293. package/docs/TcxLicenceDetailsModel.md +0 -0
  294. package/docs/TcxMacsEntity.md +0 -0
  295. package/docs/TcxMultiTenantModel.md +0 -0
  296. package/docs/TcxMultiTenantUserModel.md +0 -0
  297. package/docs/TcxMultiTenantsModel.md +0 -0
  298. package/docs/TcxNumbersEntity.md +0 -0
  299. package/docs/TcxOfficeHoursEntity.md +0 -0
  300. package/docs/TcxPhoneModel.md +0 -0
  301. package/docs/TcxPhonesEntity.md +0 -0
  302. package/docs/TcxRemoteStorageModel.md +0 -0
  303. package/docs/TcxSbcDTO.md +0 -0
  304. package/docs/TcxSbcEntity.md +0 -0
  305. package/docs/TcxSbcModel.md +0 -0
  306. package/docs/TcxSbcResponseDTO.md +0 -0
  307. package/docs/TcxSetupEntity.md +0 -0
  308. package/docs/TcxSetupsModel.md +0 -0
  309. package/docs/TcxSipTrunksEntity.md +0 -0
  310. package/docs/TcxTemplateXmlEnum.md +0 -0
  311. package/docs/TcxUsersEntity.md +0 -0
  312. package/docs/TcxWizardConfigModel.md +0 -0
  313. package/docs/TcxWizardModel.md +0 -0
  314. package/docs/TechSupportCompanySummaryDTO.md +0 -0
  315. package/docs/TicketSummaryModel.md +0 -0
  316. package/docs/TicketTimeDTO.md +0 -0
  317. package/docs/TicketsApi.md +1 -1
  318. package/docs/TokenResponseModel.md +0 -0
  319. package/docs/UpgradeOrderResponseModel.md +0 -0
  320. package/docs/UpgradeRequestModel.md +0 -0
  321. package/docs/UserEntity.md +0 -0
  322. package/docs/WebhooksApi.md +1 -1
  323. package/docs/XeroLogEntity.md +0 -0
  324. package/getEnums.php +31 -31
  325. package/git_push.sh +0 -0
  326. package/index.ts +1 -1
  327. package/models/CourierEnum.ts +0 -0
  328. package/models/EventStatusEnum.ts +0 -0
  329. package/models/EventTypeEnum.ts +0 -0
  330. package/models/HostingPriceListEnum.ts +29 -0
  331. package/models/PaymentMethodEnum.ts +14 -0
  332. package/models/PortStatusEnum.ts +0 -0
  333. package/models/PrinterEnum.ts +0 -0
  334. package/models/ScheduledTaskEnum.ts +0 -0
  335. package/models/ServiceEnum.ts +5 -0
  336. package/models/ServiceHealthEnum.ts +0 -0
  337. package/models/ServiceStatusEnum.ts +0 -0
  338. package/models/UpdateTypeEnum.ts +0 -0
  339. package/models/UserGroupEnum.ts +29 -0
  340. package/openapitools.json +1 -1
  341. package/package.json +2 -2
  342. package/tsconfig.json +0 -0
  343. package/dist/models/StatusEnum.d.ts +0 -18
  344. package/dist/models/StatusEnum.js +0 -20
  345. package/dist/src/apis/AccountsApi.d.ts +0 -258
  346. package/dist/src/apis/AccountsApi.js +0 -975
  347. package/dist/src/apis/CRMApi.d.ts +0 -26
  348. package/dist/src/apis/CRMApi.js +0 -122
  349. package/dist/src/apis/Class3CXApi.d.ts +0 -44
  350. package/dist/src/apis/Class3CXApi.js +0 -177
  351. package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +0 -446
  352. package/dist/src/apis/Class3CXInstallationWizardApi.js +0 -1740
  353. package/dist/src/apis/Class3CXInstallationsApi.d.ts +0 -253
  354. package/dist/src/apis/Class3CXInstallationsApi.js +0 -806
  355. package/dist/src/apis/Class3CXIntegrationsApi.d.ts +0 -102
  356. package/dist/src/apis/Class3CXIntegrationsApi.js +0 -386
  357. package/dist/src/apis/Class3CXMultiTenantApi.d.ts +0 -122
  358. package/dist/src/apis/Class3CXMultiTenantApi.js +0 -431
  359. package/dist/src/apis/MyPBXToolsApi.d.ts +0 -32
  360. package/dist/src/apis/MyPBXToolsApi.js +0 -136
  361. package/dist/src/apis/OAuth20Api.d.ts +0 -185
  362. package/dist/src/apis/OAuth20Api.js +0 -507
  363. package/dist/src/apis/OrdersApi.d.ts +0 -154
  364. package/dist/src/apis/OrdersApi.js +0 -512
  365. package/dist/src/apis/PricingApi.d.ts +0 -154
  366. package/dist/src/apis/PricingApi.js +0 -308
  367. package/dist/src/apis/ProductsApi.d.ts +0 -135
  368. package/dist/src/apis/ProductsApi.js +0 -531
  369. package/dist/src/apis/ProvisioningApi.d.ts +0 -112
  370. package/dist/src/apis/ProvisioningApi.js +0 -427
  371. package/dist/src/apis/SIPTrunksApi.d.ts +0 -315
  372. package/dist/src/apis/SIPTrunksApi.js +0 -1197
  373. package/dist/src/apis/SMSApi.d.ts +0 -30
  374. package/dist/src/apis/SMSApi.js +0 -130
  375. package/dist/src/apis/ServicesApi.d.ts +0 -81
  376. package/dist/src/apis/ServicesApi.js +0 -386
  377. package/dist/src/apis/ShippingApi.d.ts +0 -45
  378. package/dist/src/apis/ShippingApi.js +0 -179
  379. package/dist/src/apis/StockManagementApi.d.ts +0 -345
  380. package/dist/src/apis/StockManagementApi.js +0 -1293
  381. package/dist/src/apis/SystemApi.d.ts +0 -37
  382. package/dist/src/apis/SystemApi.js +0 -146
  383. package/dist/src/apis/TicketsApi.d.ts +0 -79
  384. package/dist/src/apis/TicketsApi.js +0 -360
  385. package/dist/src/apis/WebhooksApi.d.ts +0 -56
  386. package/dist/src/apis/WebhooksApi.js +0 -189
  387. package/dist/src/apis/index.d.ts +0 -21
  388. package/dist/src/apis/index.js +0 -39
  389. package/dist/src/index.d.ts +0 -3
  390. package/dist/src/index.js +0 -21
  391. package/dist/src/models/AbstractOrderRequestDTO.d.ts +0 -71
  392. package/dist/src/models/AbstractOrderRequestDTO.js +0 -64
  393. package/dist/src/models/AccountContactEntity.d.ts +0 -104
  394. package/dist/src/models/AccountContactEntity.js +0 -73
  395. package/dist/src/models/AccountContactModel.d.ts +0 -104
  396. package/dist/src/models/AccountContactModel.js +0 -73
  397. package/dist/src/models/AccountContactRequestModel.d.ts +0 -80
  398. package/dist/src/models/AccountContactRequestModel.js +0 -65
  399. package/dist/src/models/AccountDetailedSummaryDTO.d.ts +0 -89
  400. package/dist/src/models/AccountDetailedSummaryDTO.js +0 -70
  401. package/dist/src/models/AccountRequestModel.d.ts +0 -128
  402. package/dist/src/models/AccountRequestModel.js +0 -81
  403. package/dist/src/models/AccountSummaryDTO.d.ts +0 -44
  404. package/dist/src/models/AccountSummaryDTO.js +0 -53
  405. package/dist/src/models/AccountsResponseModel.d.ts +0 -51
  406. package/dist/src/models/AccountsResponseModel.js +0 -56
  407. package/dist/src/models/AddressModel.d.ts +0 -110
  408. package/dist/src/models/AddressModel.js +0 -75
  409. package/dist/src/models/AddressRequestModel.d.ts +0 -50
  410. package/dist/src/models/AddressRequestModel.js +0 -55
  411. package/dist/src/models/AdminOrderRequestDTO.d.ts +0 -113
  412. package/dist/src/models/AdminOrderRequestDTO.js +0 -78
  413. package/dist/src/models/AdminUserModel.d.ts +0 -79
  414. package/dist/src/models/AdminUserModel.js +0 -72
  415. package/dist/src/models/AgentHoursGraphModel.d.ts +0 -51
  416. package/dist/src/models/AgentHoursGraphModel.js +0 -56
  417. package/dist/src/models/AgentHoursGraphMonthModel.d.ts +0 -38
  418. package/dist/src/models/AgentHoursGraphMonthModel.js +0 -51
  419. package/dist/src/models/ApiLogEntity.d.ts +0 -98
  420. package/dist/src/models/ApiLogEntity.js +0 -71
  421. package/dist/src/models/AreaCodeModel.d.ts +0 -38
  422. package/dist/src/models/AreaCodeModel.js +0 -51
  423. package/dist/src/models/AttachmentModel.d.ts +0 -56
  424. package/dist/src/models/AttachmentModel.js +0 -57
  425. package/dist/src/models/AttributeSetEnum.d.ts +0 -38
  426. package/dist/src/models/AttributeSetEnum.js +0 -51
  427. package/dist/src/models/AuditLogEntity.d.ts +0 -80
  428. package/dist/src/models/AuditLogEntity.js +0 -65
  429. package/dist/src/models/AuthCodeResponseModel.d.ts +0 -44
  430. package/dist/src/models/AuthCodeResponseModel.js +0 -53
  431. package/dist/src/models/BasicItemDTO.d.ts +0 -38
  432. package/dist/src/models/BasicItemDTO.js +0 -51
  433. package/dist/src/models/BasicProductDTO.d.ts +0 -38
  434. package/dist/src/models/BasicProductDTO.js +0 -51
  435. package/dist/src/models/BatchEntity.d.ts +0 -128
  436. package/dist/src/models/BatchEntity.js +0 -81
  437. package/dist/src/models/CallBarringModel.d.ts +0 -56
  438. package/dist/src/models/CallBarringModel.js +0 -57
  439. package/dist/src/models/ClientDetailsModel.d.ts +0 -68
  440. package/dist/src/models/ClientDetailsModel.js +0 -61
  441. package/dist/src/models/ClientModel.d.ts +0 -50
  442. package/dist/src/models/ClientModel.js +0 -55
  443. package/dist/src/models/CompanyContractModel.d.ts +0 -56
  444. package/dist/src/models/CompanyContractModel.js +0 -57
  445. package/dist/src/models/ContactInfoModel.d.ts +0 -56
  446. package/dist/src/models/ContactInfoModel.js +0 -57
  447. package/dist/src/models/ConversationModel.d.ts +0 -75
  448. package/dist/src/models/ConversationModel.js +0 -64
  449. package/dist/src/models/CourierPriceEntity.d.ts +0 -86
  450. package/dist/src/models/CourierPriceEntity.js +0 -67
  451. package/dist/src/models/CreditAccountEntity.d.ts +0 -152
  452. package/dist/src/models/CreditAccountEntity.js +0 -89
  453. package/dist/src/models/CrmContactDTO.d.ts +0 -68
  454. package/dist/src/models/CrmContactDTO.js +0 -61
  455. package/dist/src/models/CustomerInformationModel.d.ts +0 -68
  456. package/dist/src/models/CustomerInformationModel.js +0 -61
  457. package/dist/src/models/CustomerItemRequestDTO.d.ts +0 -81
  458. package/dist/src/models/CustomerItemRequestDTO.js +0 -66
  459. package/dist/src/models/CustomerOrderRequestDTO.d.ts +0 -71
  460. package/dist/src/models/CustomerOrderRequestDTO.js +0 -64
  461. package/dist/src/models/CustomerPriceListEnum.d.ts +0 -38
  462. package/dist/src/models/CustomerPriceListEnum.js +0 -51
  463. package/dist/src/models/CustomerSummaryReportDTO.d.ts +0 -65
  464. package/dist/src/models/CustomerSummaryReportDTO.js +0 -62
  465. package/dist/src/models/DdiRangeRequestModel.d.ts +0 -44
  466. package/dist/src/models/DdiRangeRequestModel.js +0 -53
  467. package/dist/src/models/DdiRangesRequestModel.d.ts +0 -33
  468. package/dist/src/models/DdiRangesRequestModel.js +0 -50
  469. package/dist/src/models/DetailedItemRequestDTO.d.ts +0 -99
  470. package/dist/src/models/DetailedItemRequestDTO.js +0 -72
  471. package/dist/src/models/DetailedOrderRequestDTO.d.ts +0 -71
  472. package/dist/src/models/DetailedOrderRequestDTO.js +0 -64
  473. package/dist/src/models/DivertRequestModel.d.ts +0 -38
  474. package/dist/src/models/DivertRequestModel.js +0 -51
  475. package/dist/src/models/DivertResponseModel.d.ts +0 -52
  476. package/dist/src/models/DivertResponseModel.js +0 -61
  477. package/dist/src/models/EdTechProClientEntity.d.ts +0 -56
  478. package/dist/src/models/EdTechProClientEntity.js +0 -57
  479. package/dist/src/models/EdTechProSchoolModel.d.ts +0 -104
  480. package/dist/src/models/EdTechProSchoolModel.js +0 -73
  481. package/dist/src/models/EdTechProSchoolsModel.d.ts +0 -51
  482. package/dist/src/models/EdTechProSchoolsModel.js +0 -56
  483. package/dist/src/models/EdTechProSetupModel.d.ts +0 -56
  484. package/dist/src/models/EdTechProSetupModel.js +0 -57
  485. package/dist/src/models/EventDTO.d.ts +0 -84
  486. package/dist/src/models/EventDTO.js +0 -73
  487. package/dist/src/models/EventRequestDTO.d.ts +0 -44
  488. package/dist/src/models/EventRequestDTO.js +0 -53
  489. package/dist/src/models/EventSubscriptionModel.d.ts +0 -38
  490. package/dist/src/models/EventSubscriptionModel.js +0 -51
  491. package/dist/src/models/EventTypeEnum.d.ts +0 -19
  492. package/dist/src/models/EventTypeEnum.js +0 -24
  493. package/dist/src/models/EventUpdateDTO.d.ts +0 -50
  494. package/dist/src/models/EventUpdateDTO.js +0 -55
  495. package/dist/src/models/EventUpdateEntity.d.ts +0 -56
  496. package/dist/src/models/EventUpdateEntity.js +0 -57
  497. package/dist/src/models/EventUpdateRequestDTO.d.ts +0 -44
  498. package/dist/src/models/EventUpdateRequestDTO.js +0 -53
  499. package/dist/src/models/FraudManagementModel.d.ts +0 -38
  500. package/dist/src/models/FraudManagementModel.js +0 -51
  501. package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +0 -51
  502. package/dist/src/models/FreshdeskCompanyTicketsModel.js +0 -56
  503. package/dist/src/models/FreshdeskTicketEntity.d.ts +0 -68
  504. package/dist/src/models/FreshdeskTicketEntity.js +0 -61
  505. package/dist/src/models/FtpAccountsEntity.d.ts +0 -56
  506. package/dist/src/models/FtpAccountsEntity.js +0 -57
  507. package/dist/src/models/GenericFileModel.d.ts +0 -44
  508. package/dist/src/models/GenericFileModel.js +0 -53
  509. package/dist/src/models/GetGetPrice200Response.d.ts +0 -32
  510. package/dist/src/models/GetGetPrice200Response.js +0 -49
  511. package/dist/src/models/GetGetRecording200Response.d.ts +0 -32
  512. package/dist/src/models/GetGetRecording200Response.js +0 -49
  513. package/dist/src/models/HostingChangeResponseModel.d.ts +0 -64
  514. package/dist/src/models/HostingChangeResponseModel.js +0 -65
  515. package/dist/src/models/HostingRegionDTO.d.ts +0 -59
  516. package/dist/src/models/HostingRegionDTO.js +0 -68
  517. package/dist/src/models/InstanceAutoFailoverEntity.d.ts +0 -56
  518. package/dist/src/models/InstanceAutoFailoverEntity.js +0 -57
  519. package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +0 -50
  520. package/dist/src/models/InstanceDeletionScheduleEntity.js +0 -55
  521. package/dist/src/models/InstanceEntity.d.ts +0 -152
  522. package/dist/src/models/InstanceEntity.js +0 -89
  523. package/dist/src/models/InstanceFailoverEntity.d.ts +0 -92
  524. package/dist/src/models/InstanceFailoverEntity.js +0 -69
  525. package/dist/src/models/InstanceMonitoringEntity.d.ts +0 -44
  526. package/dist/src/models/InstanceMonitoringEntity.js +0 -53
  527. package/dist/src/models/InstanceMonitoringLogEntity.d.ts +0 -62
  528. package/dist/src/models/InstanceMonitoringLogEntity.js +0 -59
  529. package/dist/src/models/InstanceScheduledTasksEntity.d.ts +0 -62
  530. package/dist/src/models/InstanceScheduledTasksEntity.js +0 -59
  531. package/dist/src/models/InstanceTcxDetailsEntity.d.ts +0 -86
  532. package/dist/src/models/InstanceTcxDetailsEntity.js +0 -67
  533. package/dist/src/models/InstanceUserCredentialsEntity.d.ts +0 -56
  534. package/dist/src/models/InstanceUserCredentialsEntity.js +0 -57
  535. package/dist/src/models/ItemDTO.d.ts +0 -117
  536. package/dist/src/models/ItemDTO.js +0 -78
  537. package/dist/src/models/ItemDiscountEntity.d.ts +0 -77
  538. package/dist/src/models/ItemDiscountEntity.js +0 -70
  539. package/dist/src/models/ItemEntity.d.ts +0 -158
  540. package/dist/src/models/ItemEntity.js +0 -91
  541. package/dist/src/models/LinkedOrderEntity.d.ts +0 -38
  542. package/dist/src/models/LinkedOrderEntity.js +0 -51
  543. package/dist/src/models/MFARequiredModel.d.ts +0 -38
  544. package/dist/src/models/MFARequiredModel.js +0 -51
  545. package/dist/src/models/MonthlyUsageModel.d.ts +0 -38
  546. package/dist/src/models/MonthlyUsageModel.js +0 -51
  547. package/dist/src/models/MultiTenantChangeResponseModel.d.ts +0 -70
  548. package/dist/src/models/MultiTenantChangeResponseModel.js +0 -75
  549. package/dist/src/models/NavigationModel.d.ts +0 -50
  550. package/dist/src/models/NavigationModel.js +0 -55
  551. package/dist/src/models/OfflineInstancesEntity.d.ts +0 -56
  552. package/dist/src/models/OfflineInstancesEntity.js +0 -57
  553. package/dist/src/models/OrderEntity.d.ts +0 -374
  554. package/dist/src/models/OrderEntity.js +0 -163
  555. package/dist/src/models/OrderRequestModel.d.ts +0 -120
  556. package/dist/src/models/OrderRequestModel.js +0 -88
  557. package/dist/src/models/OrderSummariesModel.d.ts +0 -51
  558. package/dist/src/models/OrderSummariesModel.js +0 -56
  559. package/dist/src/models/OrderSummaryDTO.d.ts +0 -126
  560. package/dist/src/models/OrderSummaryDTO.js +0 -83
  561. package/dist/src/models/OrderTotalModel.d.ts +0 -111
  562. package/dist/src/models/OrderTotalModel.js +0 -100
  563. package/dist/src/models/OrderedItemEntity.d.ts +0 -110
  564. package/dist/src/models/OrderedItemEntity.js +0 -75
  565. package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +0 -32
  566. package/dist/src/models/PatchSetTcxWizardCnameRequest.js +0 -49
  567. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +0 -32
  568. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +0 -49
  569. package/dist/src/models/PortalAccountModel.d.ts +0 -171
  570. package/dist/src/models/PortalAccountModel.js +0 -96
  571. package/dist/src/models/PortalLoginModel.d.ts +0 -68
  572. package/dist/src/models/PortalLoginModel.js +0 -61
  573. package/dist/src/models/PostAddWebhook200Response.d.ts +0 -32
  574. package/dist/src/models/PostAddWebhook200Response.js +0 -49
  575. package/dist/src/models/PostGetClientCredentialsRequest.d.ts +0 -32
  576. package/dist/src/models/PostGetClientCredentialsRequest.js +0 -49
  577. package/dist/src/models/PostGetProductForCustomerRequest.d.ts +0 -50
  578. package/dist/src/models/PostGetProductForCustomerRequest.js +0 -55
  579. package/dist/src/models/PostGetProductRequest.d.ts +0 -44
  580. package/dist/src/models/PostGetProductRequest.js +0 -53
  581. package/dist/src/models/PriceListItemModel.d.ts +0 -56
  582. package/dist/src/models/PriceListItemModel.js +0 -57
  583. package/dist/src/models/PrizesEntity.d.ts +0 -62
  584. package/dist/src/models/PrizesEntity.js +0 -59
  585. package/dist/src/models/ProductPriceListItemModel.d.ts +0 -62
  586. package/dist/src/models/ProductPriceListItemModel.js +0 -59
  587. package/dist/src/models/ProductSearchResultsModel.d.ts +0 -33
  588. package/dist/src/models/ProductSearchResultsModel.js +0 -50
  589. package/dist/src/models/ProductSerialInfoModel.d.ts +0 -50
  590. package/dist/src/models/ProductSerialInfoModel.js +0 -55
  591. package/dist/src/models/ProductSummaryDTO.d.ts +0 -81
  592. package/dist/src/models/ProductSummaryDTO.js +0 -66
  593. package/dist/src/models/PromoCodesEntity.d.ts +0 -98
  594. package/dist/src/models/PromoCodesEntity.js +0 -71
  595. package/dist/src/models/PromoItemsEntity.d.ts +0 -74
  596. package/dist/src/models/PromoItemsEntity.js +0 -63
  597. package/dist/src/models/ProvisioningModel.d.ts +0 -56
  598. package/dist/src/models/ProvisioningModel.js +0 -57
  599. package/dist/src/models/ProvisioningRequestEntity.d.ts +0 -44
  600. package/dist/src/models/ProvisioningRequestEntity.js +0 -53
  601. package/dist/src/models/RecordingBackupAzureModel.d.ts +0 -50
  602. package/dist/src/models/RecordingBackupAzureModel.js +0 -55
  603. package/dist/src/models/RecordingsBackupInfoDTO.d.ts +0 -40
  604. package/dist/src/models/RecordingsBackupInfoDTO.js +0 -53
  605. package/dist/src/models/ResourceNotReadyException.d.ts +0 -44
  606. package/dist/src/models/ResourceNotReadyException.js +0 -53
  607. package/dist/src/models/RootAccessModel.d.ts +0 -44
  608. package/dist/src/models/RootAccessModel.js +0 -53
  609. package/dist/src/models/S3BucketEntity.d.ts +0 -50
  610. package/dist/src/models/S3BucketEntity.js +0 -55
  611. package/dist/src/models/ScannedItemModel.d.ts +0 -56
  612. package/dist/src/models/ScannedItemModel.js +0 -57
  613. package/dist/src/models/ScopeModel.d.ts +0 -38
  614. package/dist/src/models/ScopeModel.js +0 -51
  615. package/dist/src/models/ServiceEnum.d.ts +0 -14
  616. package/dist/src/models/ServiceEnum.js +0 -19
  617. package/dist/src/models/ServiceHealthDTO.d.ts +0 -48
  618. package/dist/src/models/ServiceHealthDTO.js +0 -61
  619. package/dist/src/models/ServiceHealthEnum.d.ts +0 -19
  620. package/dist/src/models/ServiceHealthEnum.js +0 -24
  621. package/dist/src/models/ServiceStatusDTO.d.ts +0 -60
  622. package/dist/src/models/ServiceStatusDTO.js +0 -65
  623. package/dist/src/models/ServiceStatusEnum.d.ts +0 -19
  624. package/dist/src/models/ServiceStatusEnum.js +0 -24
  625. package/dist/src/models/ShipmentAddressEntity.d.ts +0 -92
  626. package/dist/src/models/ShipmentAddressEntity.js +0 -69
  627. package/dist/src/models/ShipmentEntity.d.ts +0 -98
  628. package/dist/src/models/ShipmentEntity.js +0 -71
  629. package/dist/src/models/ShipmentItemEntity.d.ts +0 -56
  630. package/dist/src/models/ShipmentItemEntity.js +0 -57
  631. package/dist/src/models/ShippingConsignmentModel.d.ts +0 -51
  632. package/dist/src/models/ShippingConsignmentModel.js +0 -56
  633. package/dist/src/models/ShippingInformationDTO.d.ts +0 -45
  634. package/dist/src/models/ShippingInformationDTO.js +0 -54
  635. package/dist/src/models/ShippingServiceDTO.d.ts +0 -47
  636. package/dist/src/models/ShippingServiceDTO.js +0 -60
  637. package/dist/src/models/ShippingServiceModel.d.ts +0 -71
  638. package/dist/src/models/ShippingServiceModel.js +0 -68
  639. package/dist/src/models/ShippingServicesModel.d.ts +0 -33
  640. package/dist/src/models/ShippingServicesModel.js +0 -50
  641. package/dist/src/models/SipTrunkChangeResponseModel.d.ts +0 -77
  642. package/dist/src/models/SipTrunkChangeResponseModel.js +0 -78
  643. package/dist/src/models/SipTrunkCreationRequestModel.d.ts +0 -66
  644. package/dist/src/models/SipTrunkCreationRequestModel.js +0 -63
  645. package/dist/src/models/SipTrunkEntity.d.ts +0 -98
  646. package/dist/src/models/SipTrunkEntity.js +0 -71
  647. package/dist/src/models/SipTrunksResponseModel.d.ts +0 -51
  648. package/dist/src/models/SipTrunksResponseModel.js +0 -56
  649. package/dist/src/models/SmsAccountEntity.d.ts +0 -68
  650. package/dist/src/models/SmsAccountEntity.js +0 -61
  651. package/dist/src/models/SmsDataModel.d.ts +0 -33
  652. package/dist/src/models/SmsDataModel.js +0 -50
  653. package/dist/src/models/SmsMessageModel.d.ts +0 -44
  654. package/dist/src/models/SmsMessageModel.js +0 -53
  655. package/dist/src/models/SmsNumbersEntity.d.ts +0 -38
  656. package/dist/src/models/SmsNumbersEntity.js +0 -51
  657. package/dist/src/models/SmsPayloadModel.d.ts +0 -45
  658. package/dist/src/models/SmsPayloadModel.js +0 -54
  659. package/dist/src/models/SmsPhoneNumberModel.d.ts +0 -53
  660. package/dist/src/models/SmsPhoneNumberModel.js +0 -66
  661. package/dist/src/models/SmsResponseModel.d.ts +0 -67
  662. package/dist/src/models/SmsResponseModel.js +0 -68
  663. package/dist/src/models/SmsWhitelistEntity.d.ts +0 -38
  664. package/dist/src/models/SmsWhitelistEntity.js +0 -51
  665. package/dist/src/models/StockOrderCourierEntity.d.ts +0 -50
  666. package/dist/src/models/StockOrderCourierEntity.js +0 -55
  667. package/dist/src/models/StockOrderDeductionModel.d.ts +0 -50
  668. package/dist/src/models/StockOrderDeductionModel.js +0 -55
  669. package/dist/src/models/StockOrderDeductionRequestModel.d.ts +0 -38
  670. package/dist/src/models/StockOrderDeductionRequestModel.js +0 -51
  671. package/dist/src/models/StockOrderDeductionsEntity.d.ts +0 -50
  672. package/dist/src/models/StockOrderDeductionsEntity.js +0 -55
  673. package/dist/src/models/StockOrderEntity.d.ts +0 -158
  674. package/dist/src/models/StockOrderEntity.js +0 -91
  675. package/dist/src/models/StockOrderItemEntity.d.ts +0 -68
  676. package/dist/src/models/StockOrderItemEntity.js +0 -61
  677. package/dist/src/models/StockOrderItemModel.d.ts +0 -80
  678. package/dist/src/models/StockOrderItemModel.js +0 -65
  679. package/dist/src/models/StockOrderItemRequestModel.d.ts +0 -50
  680. package/dist/src/models/StockOrderItemRequestModel.js +0 -55
  681. package/dist/src/models/StockOrderModel.d.ts +0 -137
  682. package/dist/src/models/StockOrderModel.js +0 -97
  683. package/dist/src/models/StockOrderProductEntity.d.ts +0 -62
  684. package/dist/src/models/StockOrderProductEntity.js +0 -59
  685. package/dist/src/models/StockOrderRequestModel.d.ts +0 -46
  686. package/dist/src/models/StockOrderRequestModel.js +0 -55
  687. package/dist/src/models/StockOrderSupplierEntity.d.ts +0 -80
  688. package/dist/src/models/StockOrderSupplierEntity.js +0 -65
  689. package/dist/src/models/StockOrderSupplierModel.d.ts +0 -80
  690. package/dist/src/models/StockOrderSupplierModel.js +0 -65
  691. package/dist/src/models/StockOrdersModel.d.ts +0 -51
  692. package/dist/src/models/StockOrdersModel.js +0 -56
  693. package/dist/src/models/StockProductModel.d.ts +0 -120
  694. package/dist/src/models/StockProductModel.js +0 -81
  695. package/dist/src/models/StockProductPriceModel.d.ts +0 -39
  696. package/dist/src/models/StockProductPriceModel.js +0 -52
  697. package/dist/src/models/StockProductSummariesModel.d.ts +0 -51
  698. package/dist/src/models/StockProductSummariesModel.js +0 -56
  699. package/dist/src/models/StockProductSummaryModel.d.ts +0 -69
  700. package/dist/src/models/StockProductSummaryModel.js +0 -62
  701. package/dist/src/models/StockTransactionsEntity.d.ts +0 -74
  702. package/dist/src/models/StockTransactionsEntity.js +0 -63
  703. package/dist/src/models/SupplierEntity.d.ts +0 -80
  704. package/dist/src/models/SupplierEntity.js +0 -65
  705. package/dist/src/models/SupplierItemEntity.d.ts +0 -74
  706. package/dist/src/models/SupplierItemEntity.js +0 -63
  707. package/dist/src/models/TcxBackupEntity.d.ts +0 -80
  708. package/dist/src/models/TcxBackupEntity.js +0 -65
  709. package/dist/src/models/TcxBackupModel.d.ts +0 -140
  710. package/dist/src/models/TcxBackupModel.js +0 -85
  711. package/dist/src/models/TcxBillingEntity.d.ts +0 -86
  712. package/dist/src/models/TcxBillingEntity.js +0 -67
  713. package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +0 -40
  714. package/dist/src/models/TcxBulkLicenceDetailsModel.js +0 -53
  715. package/dist/src/models/TcxDeadLicenceEntity.d.ts +0 -44
  716. package/dist/src/models/TcxDeadLicenceEntity.js +0 -53
  717. package/dist/src/models/TcxExtsEntity.d.ts +0 -74
  718. package/dist/src/models/TcxExtsEntity.js +0 -63
  719. package/dist/src/models/TcxHostingPricingEntity.d.ts +0 -74
  720. package/dist/src/models/TcxHostingPricingEntity.js +0 -63
  721. package/dist/src/models/TcxInstallationDetailsModel.d.ts +0 -106
  722. package/dist/src/models/TcxInstallationDetailsModel.js +0 -75
  723. package/dist/src/models/TcxInstallationModel.d.ts +0 -200
  724. package/dist/src/models/TcxInstallationModel.js +0 -105
  725. package/dist/src/models/TcxInstallationsModel.d.ts +0 -51
  726. package/dist/src/models/TcxInstallationsModel.js +0 -56
  727. package/dist/src/models/TcxKeySummaryDTO.d.ts +0 -56
  728. package/dist/src/models/TcxKeySummaryDTO.js +0 -57
  729. package/dist/src/models/TcxKeysEntity.d.ts +0 -62
  730. package/dist/src/models/TcxKeysEntity.js +0 -59
  731. package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +0 -50
  732. package/dist/src/models/TcxLicenceDetailsErrorModel.js +0 -55
  733. package/dist/src/models/TcxLicenceDetailsModel.d.ts +0 -92
  734. package/dist/src/models/TcxLicenceDetailsModel.js +0 -69
  735. package/dist/src/models/TcxMacsEntity.d.ts +0 -44
  736. package/dist/src/models/TcxMacsEntity.js +0 -53
  737. package/dist/src/models/TcxMultiTenantModel.d.ts +0 -118
  738. package/dist/src/models/TcxMultiTenantModel.js +0 -83
  739. package/dist/src/models/TcxMultiTenantUserModel.d.ts +0 -44
  740. package/dist/src/models/TcxMultiTenantUserModel.js +0 -53
  741. package/dist/src/models/TcxMultiTenantsModel.d.ts +0 -51
  742. package/dist/src/models/TcxMultiTenantsModel.js +0 -56
  743. package/dist/src/models/TcxNumbersEntity.d.ts +0 -44
  744. package/dist/src/models/TcxNumbersEntity.js +0 -53
  745. package/dist/src/models/TcxOfficeHoursEntity.d.ts +0 -116
  746. package/dist/src/models/TcxOfficeHoursEntity.js +0 -77
  747. package/dist/src/models/TcxPhoneModel.d.ts +0 -68
  748. package/dist/src/models/TcxPhoneModel.js +0 -61
  749. package/dist/src/models/TcxPhonesEntity.d.ts +0 -62
  750. package/dist/src/models/TcxPhonesEntity.js +0 -59
  751. package/dist/src/models/TcxRemoteStorageModel.d.ts +0 -50
  752. package/dist/src/models/TcxRemoteStorageModel.js +0 -55
  753. package/dist/src/models/TcxSbcDTO.d.ts +0 -62
  754. package/dist/src/models/TcxSbcDTO.js +0 -59
  755. package/dist/src/models/TcxSbcEntity.d.ts +0 -122
  756. package/dist/src/models/TcxSbcEntity.js +0 -79
  757. package/dist/src/models/TcxSbcModel.d.ts +0 -122
  758. package/dist/src/models/TcxSbcModel.js +0 -79
  759. package/dist/src/models/TcxSetupEntity.d.ts +0 -207
  760. package/dist/src/models/TcxSetupEntity.js +0 -123
  761. package/dist/src/models/TcxSetupsModel.d.ts +0 -51
  762. package/dist/src/models/TcxSetupsModel.js +0 -56
  763. package/dist/src/models/TcxSipTrunksEntity.d.ts +0 -104
  764. package/dist/src/models/TcxSipTrunksEntity.js +0 -73
  765. package/dist/src/models/TcxTemplateXmlEnum.d.ts +0 -38
  766. package/dist/src/models/TcxTemplateXmlEnum.js +0 -51
  767. package/dist/src/models/TcxUsersEntity.d.ts +0 -62
  768. package/dist/src/models/TcxUsersEntity.js +0 -59
  769. package/dist/src/models/TcxWizardConfigModel.d.ts +0 -39
  770. package/dist/src/models/TcxWizardConfigModel.js +0 -52
  771. package/dist/src/models/TcxWizardModel.d.ts +0 -150
  772. package/dist/src/models/TcxWizardModel.js +0 -114
  773. package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +0 -57
  774. package/dist/src/models/TechSupportCompanySummaryDTO.js +0 -58
  775. package/dist/src/models/TelephonySupportTicketModel.d.ts +0 -94
  776. package/dist/src/models/TelephonySupportTicketModel.js +0 -71
  777. package/dist/src/models/TicketSummaryModel.d.ts +0 -74
  778. package/dist/src/models/TicketSummaryModel.js +0 -63
  779. package/dist/src/models/TicketTimeDTO.d.ts +0 -80
  780. package/dist/src/models/TicketTimeDTO.js +0 -65
  781. package/dist/src/models/TokenResponseModel.d.ts +0 -44
  782. package/dist/src/models/TokenResponseModel.js +0 -53
  783. package/dist/src/models/UpdateTypeEnum.d.ts +0 -19
  784. package/dist/src/models/UpdateTypeEnum.js +0 -24
  785. package/dist/src/models/UpgradeOrderResponseModel.d.ts +0 -38
  786. package/dist/src/models/UpgradeOrderResponseModel.js +0 -51
  787. package/dist/src/models/UpgradeRequestModel.d.ts +0 -66
  788. package/dist/src/models/UpgradeRequestModel.js +0 -70
  789. package/dist/src/models/UserEntity.d.ts +0 -98
  790. package/dist/src/models/UserEntity.js +0 -71
  791. package/dist/src/models/XeroLogEntity.d.ts +0 -86
  792. package/dist/src/models/XeroLogEntity.js +0 -67
  793. package/dist/src/models/index.d.ts +0 -196
  794. package/dist/src/models/index.js +0 -214
  795. package/dist/src/runtime.d.ts +0 -184
  796. package/dist/src/runtime.js +0 -564
  797. package/docs/AccountPageDetailsDTO.md +0 -41
  798. package/docs/PostGetProductRequest.md +0 -24
  799. 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',
@@ -185,20 +196,20 @@ exports.AuditLogEntityTypeEnum = {
185
196
  Webhook: 'webhook',
186
197
  PopsXeroLog: 'pops_xero_log',
187
198
  Oauth2Clients: 'oauth2_clients',
188
- Oauth2Tokens: 'oauth2_tokens'
199
+ Oauth2Tokens: 'oauth2_tokens',
189
200
  };
190
201
  exports.DivertResponseModelStatusEnum = {
191
202
  Enabled: 'enabled',
192
- Disabled: 'disabled'
203
+ Disabled: 'disabled',
193
204
  };
194
205
  exports.EventDTOStatusEnum = {
195
206
  NUMBER_0: 0,
196
207
  NUMBER_1: 1,
197
- NUMBER_2: 2
208
+ NUMBER_2: 2,
198
209
  };
199
210
  exports.HostingChangeResponseModelTypeEnum = {
200
211
  NewInstance: 'New Instance',
201
- BuildingInstance: 'Building Instance'
212
+ BuildingInstance: 'Building Instance',
202
213
  };
203
214
  exports.HostingRegionDTOCodeEnum = {
204
215
  Uk1: 'UK1',
@@ -209,12 +220,12 @@ exports.HostingRegionDTOCodeEnum = {
209
220
  Syd1: 'SYD1',
210
221
  Sgp1: 'SGP1',
211
222
  UsEastVa1: 'US-EAST-VA-1',
212
- UsWestOr1: 'US-WEST-OR-1'
223
+ UsWestOr1: 'US-WEST-OR-1',
213
224
  };
214
225
  exports.ItemDiscountEntityTypeEnum = {
215
226
  TcxPhones: 'TCX_PHONES',
216
227
  PhoneBulk: 'PHONE_BULK',
217
- Additional: 'ADDITIONAL'
228
+ Additional: 'ADDITIONAL',
218
229
  };
219
230
  exports.MultiTenantChangeResponseModelTypeEnum = {
220
231
  NewTrunk: 'New Trunk',
@@ -230,15 +241,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
230
241
  Address: 'Address',
231
242
  BulkEndpointDetails: 'Bulk Endpoint Details',
232
243
  Fraud: 'Fraud',
233
- CallBarring: 'Call Barring'
244
+ CallBarring: 'Call Barring',
234
245
  };
235
246
  exports.OrderRequestModelLicenceTypeEnum = {
236
247
  Lite: 'lite',
237
- Pro: 'pro'
248
+ Pro: 'pro',
238
249
  };
239
250
  exports.OrderRequestModelSchoolTypeEnum = {
240
251
  Primary: 'primary',
241
- Secondary: 'secondary'
252
+ Secondary: 'secondary',
242
253
  };
243
254
  exports.OrderTotalModelCurrencyEnum = {
244
255
  Eur: 'EUR',
@@ -271,54 +282,71 @@ exports.OrderTotalModelCurrencyEnum = {
271
282
  Php: 'PHP',
272
283
  Sgd: 'SGD',
273
284
  Thb: 'THB',
274
- Zar: 'ZAR'
285
+ Zar: 'ZAR',
286
+ };
287
+ exports.PatchUpdatePriceListRequestPriceListEnum = {
288
+ Rrp: 'RRP',
289
+ Trade: 'Trade',
290
+ Wholesale: 'Wholesale',
291
+ Itsp: 'ITSP',
292
+ SubDisti: 'Sub Disti',
293
+ Distributor: 'Distributor',
294
+ HotelDisti: 'Hotel Disti',
295
+ };
296
+ exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
297
+ _1: '1',
298
+ _2: '2',
299
+ _3: '3',
300
+ _4: '4',
301
+ _5: '5',
275
302
  };
276
303
  exports.ProspectDTOStatusEnum = {
277
304
  NoCallBackSet: 'No Call Back Set',
278
305
  CallBackDue: 'Call Back Due',
279
306
  NoOrdersPlaced: 'No Orders Placed',
280
307
  NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
281
- NoActionRequired: 'No Action Required'
308
+ NoActionRequired: 'No Action Required',
309
+ DoNotCall: 'Do Not Call',
282
310
  };
283
311
  exports.ServiceHealthDTOGlobalStatusEnum = {
284
312
  NUMBER_0: 0,
285
313
  NUMBER_1: 1,
286
- NUMBER_2: 2
314
+ NUMBER_2: 2,
287
315
  };
288
316
  exports.ServiceStatusDTOStatusEnum = {
289
317
  _0: '0',
290
318
  _1: '1',
291
- _2: '2'
319
+ _2: '2',
292
320
  };
293
321
  exports.ShipmentDTOCourierEnum = {
294
322
  Dpd: 'DPD',
295
323
  ChorltonPallet: 'Chorlton Pallet',
296
- Pops: 'POPS'
324
+ Pops: 'POPS',
297
325
  };
298
326
  exports.ShipmentRequestDTOCourierEnum = {
299
327
  Dpd: 'DPD',
300
328
  ChorltonPallet: 'Chorlton Pallet',
301
- Pops: 'POPS'
329
+ Pops: 'POPS',
302
330
  };
303
331
  exports.ShippingRequestDTOCourierEnum = {
304
332
  Dpd: 'DPD',
305
333
  ChorltonPallet: 'Chorlton Pallet',
306
- Pops: 'POPS'
334
+ Pops: 'POPS',
307
335
  };
308
336
  exports.ShippingRequestDTOPrinterEnum = {
309
337
  NUMBER_1: 1,
310
338
  NUMBER_2: 2,
311
- NUMBER_3: 3
339
+ NUMBER_3: 3,
312
340
  };
313
341
  exports.ShippingServiceDTOCourierEnum = {
314
342
  Dpd: 'DPD',
315
343
  ChorltonPallet: 'Chorlton Pallet',
316
- Pops: 'POPS'
344
+ Pops: 'POPS',
317
345
  };
318
346
  exports.ShippingServiceModelCourierEnum = {
319
347
  Dpd: 'DPD',
320
348
  ChorltonPallet: 'Chorlton Pallet',
321
- Pops: 'POPS'
349
+ Pops: 'POPS',
322
350
  };
323
351
  exports.SipTrunkChangeResponseModelTypeEnum = {
324
352
  NewTrunk: 'New Trunk',
@@ -334,17 +362,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
334
362
  Address: 'Address',
335
363
  BulkEndpointDetails: 'Bulk Endpoint Details',
336
364
  Fraud: 'Fraud',
337
- CallBarring: 'Call Barring'
365
+ CallBarring: 'Call Barring',
338
366
  };
339
367
  exports.SmsAccountRequestDTOProviderEnum = {
340
- NUMBER_1: 1
368
+ NUMBER_1: 1,
341
369
  };
342
370
  exports.SmsAccountRequestDTOTypeEnum = {
343
371
  Local: 'local',
344
372
  TollFree: 'toll_free',
345
373
  Mobile: 'mobile',
346
374
  National: 'national',
347
- SharedCost: 'shared_cost'
375
+ SharedCost: 'shared_cost',
348
376
  };
349
377
  exports.SmsPhoneNumberModelStatusEnum = {
350
378
  Queued: 'queued',
@@ -355,31 +383,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
355
383
  DeliveryUnconfirmed: 'delivery_unconfirmed',
356
384
  Delivered: 'delivered',
357
385
  DeliveryFailed: 'delivery_failed',
358
- WebhookDelivered: 'webhook_delivered'
386
+ WebhookDelivered: 'webhook_delivered',
359
387
  };
360
388
  exports.SmsResponseModelEventTypeEnum = {
361
389
  MessageSent: 'message.sent',
362
390
  MessageFinalized: 'message.finalized',
363
- MessageReceived: 'message.received'
391
+ MessageReceived: 'message.received',
364
392
  };
365
393
  exports.StockOrderModelDeliveryMethodEnum = {
366
394
  Sea: 'Sea',
367
395
  Air: 'Air',
368
- Road: 'Road'
396
+ Road: 'Road',
369
397
  };
370
398
  exports.StockOrderModelPaidEnum = {
371
399
  NUMBER_0: 0,
372
400
  NUMBER_1: 1,
373
- NUMBER_2: 2
401
+ NUMBER_2: 2,
374
402
  };
375
403
  exports.TcxMultiTenantModelPackageEnum = {
376
- _3CxStarterBundle: '3CX Starter Bundle'
404
+ _3CxStarterBundle: '3CX Starter Bundle',
377
405
  };
378
406
  exports.TcxSetupEntityInstallTypeEnum = {
379
407
  New: 'new',
380
408
  Restore: 'restore',
381
409
  Failover: 'failover',
382
- MultiTenant: 'multi-tenant'
410
+ MultiTenant: 'multi-tenant',
383
411
  };
384
412
  exports.TcxSetupEntityRegionEnum = {
385
413
  Uk1: 'UK1',
@@ -390,13 +418,13 @@ exports.TcxSetupEntityRegionEnum = {
390
418
  Syd1: 'SYD1',
391
419
  Sgp1: 'SGP1',
392
420
  UsEastVa1: 'US-EAST-VA-1',
393
- UsWestOr1: 'US-WEST-OR-1'
421
+ UsWestOr1: 'US-WEST-OR-1',
394
422
  };
395
423
  exports.TcxWizardModelInstallTypeEnum = {
396
424
  New: 'new',
397
425
  Restore: 'restore',
398
426
  Failover: 'failover',
399
- MultiTenant: 'multi-tenant'
427
+ MultiTenant: 'multi-tenant',
400
428
  };
401
429
  exports.TcxWizardModelInstallationStatusEnum = {
402
430
  Building: 'Building',
@@ -413,15 +441,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
413
441
  RecordingsBackupInstalled: 'Recordings Backup Installed',
414
442
  Complete: 'Complete',
415
443
  Deleted: 'Deleted',
416
- Failed: 'Failed'
444
+ Failed: 'Failed',
417
445
  };
418
446
  exports.UpgradeRequestModelLicenceTypeEnum = {
419
447
  Lite: 'lite',
420
- Pro: 'pro'
448
+ Pro: 'pro',
421
449
  };
422
450
  exports.UpgradeRequestModelSchoolTypeEnum = {
423
451
  Primary: 'primary',
424
- Secondary: 'secondary'
452
+ Secondary: 'secondary',
425
453
  };
426
454
  /**
427
455
  * AccountsApi - axios parameter creator
@@ -429,6 +457,82 @@ exports.UpgradeRequestModelSchoolTypeEnum = {
429
457
  var AccountsApiAxiosParamCreator = function (configuration) {
430
458
  var _this = this;
431
459
  return {
460
+ /**
461
+ * Delete Account Contact
462
+ * @param {string} id Account Xero ID
463
+ * @param {number} contactId Contact ID
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ deleteAdminUpdateAccountContact: function (id_1, contactId_1) {
468
+ var args_1 = [];
469
+ for (var _i = 2; _i < arguments.length; _i++) {
470
+ args_1[_i - 2] = arguments[_i];
471
+ }
472
+ return __awaiter(_this, __spreadArray([id_1, contactId_1], args_1, true), void 0, function (id, contactId, options) {
473
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
474
+ if (options === void 0) { options = {}; }
475
+ return __generator(this, function (_a) {
476
+ // verify required parameter 'id' is not null or undefined
477
+ (0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'id', id);
478
+ // verify required parameter 'contactId' is not null or undefined
479
+ (0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
480
+ localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
481
+ .replace('{id}', encodeURIComponent(String(id)))
482
+ .replace('{contact_id}', encodeURIComponent(String(contactId)));
483
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
484
+ if (configuration) {
485
+ baseOptions = configuration.baseOptions;
486
+ }
487
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
488
+ localVarHeaderParameter = {};
489
+ localVarQueryParameter = {};
490
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
491
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
492
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
493
+ return [2 /*return*/, {
494
+ url: (0, common_1.toPathString)(localVarUrlObj),
495
+ options: localVarRequestOptions,
496
+ }];
497
+ });
498
+ });
499
+ },
500
+ /**
501
+ * Delete Account
502
+ * @param {string} id Account Xero ID
503
+ * @param {*} [options] Override http request option.
504
+ * @throws {RequiredError}
505
+ */
506
+ deleteArchiveAccount: function (id_1) {
507
+ var args_1 = [];
508
+ for (var _i = 1; _i < arguments.length; _i++) {
509
+ args_1[_i - 1] = arguments[_i];
510
+ }
511
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
512
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
513
+ if (options === void 0) { options = {}; }
514
+ return __generator(this, function (_a) {
515
+ // verify required parameter 'id' is not null or undefined
516
+ (0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
517
+ localVarPath = "/admin/accounts/{id}/archive"
518
+ .replace('{id}', encodeURIComponent(String(id)));
519
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
520
+ if (configuration) {
521
+ baseOptions = configuration.baseOptions;
522
+ }
523
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
524
+ localVarHeaderParameter = {};
525
+ localVarQueryParameter = {};
526
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
527
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
528
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
529
+ return [2 /*return*/, {
530
+ url: (0, common_1.toPathString)(localVarUrlObj),
531
+ options: localVarRequestOptions,
532
+ }];
533
+ });
534
+ });
535
+ },
432
536
  /**
433
537
  * Delete client credentials
434
538
  * @summary Delete client credentials
@@ -448,7 +552,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
448
552
  // verify required parameter 'id' is not null or undefined
449
553
  (0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
450
554
  localVarPath = "/accounts/me/contacts/credentials/{id}"
451
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
555
+ .replace('{id}', encodeURIComponent(String(id)));
452
556
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
453
557
  if (configuration) {
454
558
  baseOptions = configuration.baseOptions;
@@ -485,7 +589,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
485
589
  // verify required parameter 'email' is not null or undefined
486
590
  (0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
487
591
  localVarPath = "/accounts/me/contacts/{email}"
488
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
592
+ .replace('{email}', encodeURIComponent(String(email)));
489
593
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
490
594
  if (configuration) {
491
595
  baseOptions = configuration.baseOptions;
@@ -503,6 +607,43 @@ var AccountsApiAxiosParamCreator = function (configuration) {
503
607
  });
504
608
  });
505
609
  },
610
+ /**
611
+ * Get Account Contacts
612
+ * @param {string} id Account Xero ID
613
+ * @param {*} [options] Override http request option.
614
+ * @throws {RequiredError}
615
+ */
616
+ getAdminCreateAccountContact: function (id_1) {
617
+ var args_1 = [];
618
+ for (var _i = 1; _i < arguments.length; _i++) {
619
+ args_1[_i - 1] = arguments[_i];
620
+ }
621
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
622
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
623
+ if (options === void 0) { options = {}; }
624
+ return __generator(this, function (_a) {
625
+ // verify required parameter 'id' is not null or undefined
626
+ (0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
627
+ localVarPath = "/admin/accounts/{id}/contacts"
628
+ .replace('{id}', encodeURIComponent(String(id)));
629
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
630
+ if (configuration) {
631
+ baseOptions = configuration.baseOptions;
632
+ }
633
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
634
+ localVarHeaderParameter = {};
635
+ localVarQueryParameter = {};
636
+ localVarHeaderParameter['Accept'] = 'application/json';
637
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
638
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
639
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
640
+ return [2 /*return*/, {
641
+ url: (0, common_1.toPathString)(localVarUrlObj),
642
+ options: localVarRequestOptions,
643
+ }];
644
+ });
645
+ });
646
+ },
506
647
  /**
507
648
  * Get Account
508
649
  * @summary Get Account
@@ -538,22 +679,24 @@ var AccountsApiAxiosParamCreator = function (configuration) {
538
679
  });
539
680
  },
540
681
  /**
541
- * Get Account Contacts
542
- * @summary Get Account Contacts
543
- * @param {string} [email] Contact Email Address
682
+ * Get Account Addresses
683
+ * @param {string} id Xero ID
544
684
  * @param {*} [options] Override http request option.
545
685
  * @throws {RequiredError}
546
686
  */
547
- getGetAccountContacts: function (email_1) {
687
+ getGetAccountAddresses: function (id_1) {
548
688
  var args_1 = [];
549
689
  for (var _i = 1; _i < arguments.length; _i++) {
550
690
  args_1[_i - 1] = arguments[_i];
551
691
  }
552
- return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
692
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
553
693
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
554
694
  if (options === void 0) { options = {}; }
555
695
  return __generator(this, function (_a) {
556
- localVarPath = "/accounts/me/contacts";
696
+ // verify required parameter 'id' is not null or undefined
697
+ (0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
698
+ localVarPath = "/admin/accounts/{id}/addresses"
699
+ .replace('{id}', encodeURIComponent(String(id)));
557
700
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
558
701
  if (configuration) {
559
702
  baseOptions = configuration.baseOptions;
@@ -561,9 +704,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
561
704
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
562
705
  localVarHeaderParameter = {};
563
706
  localVarQueryParameter = {};
564
- if (email !== undefined) {
565
- localVarQueryParameter['email'] = email;
566
- }
567
707
  localVarHeaderParameter['Accept'] = 'application/json';
568
708
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
569
709
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -576,25 +716,22 @@ var AccountsApiAxiosParamCreator = function (configuration) {
576
716
  });
577
717
  },
578
718
  /**
579
- * Get Account Detailed Summary
580
- * @summary Get Account Detailed Summary
581
- * @param {number} id Customer ID
719
+ * Get Account Contacts
720
+ * @summary Get Account Contacts
721
+ * @param {string} [email] Contact Email Address
582
722
  * @param {*} [options] Override http request option.
583
723
  * @throws {RequiredError}
584
724
  */
585
- getGetAccountDetailedSummary: function (id_1) {
725
+ getGetAccountContacts: function (email_1) {
586
726
  var args_1 = [];
587
727
  for (var _i = 1; _i < arguments.length; _i++) {
588
728
  args_1[_i - 1] = arguments[_i];
589
729
  }
590
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
730
+ return __awaiter(_this, __spreadArray([email_1], args_1, true), void 0, function (email, options) {
591
731
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
592
732
  if (options === void 0) { options = {}; }
593
733
  return __generator(this, function (_a) {
594
- // verify required parameter 'id' is not null or undefined
595
- (0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
596
- localVarPath = "/accounts/{id}/summary"
597
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
734
+ localVarPath = "/accounts/me/contacts";
598
735
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
599
736
  if (configuration) {
600
737
  baseOptions = configuration.baseOptions;
@@ -602,6 +739,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
602
739
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
603
740
  localVarHeaderParameter = {};
604
741
  localVarQueryParameter = {};
742
+ if (email !== undefined) {
743
+ localVarQueryParameter['email'] = email;
744
+ }
605
745
  localVarHeaderParameter['Accept'] = 'application/json';
606
746
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
607
747
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -614,12 +754,13 @@ var AccountsApiAxiosParamCreator = function (configuration) {
614
754
  });
615
755
  },
616
756
  /**
617
- * Get Account Page Details
618
- * @param {string} id Xero ID
757
+ * Get Account Detailed Summary
758
+ * @summary Get Account Detailed Summary
759
+ * @param {number} id Customer ID
619
760
  * @param {*} [options] Override http request option.
620
761
  * @throws {RequiredError}
621
762
  */
622
- getGetAccountPageInfo: function (id_1) {
763
+ getGetAccountDetailedSummary: function (id_1) {
623
764
  var args_1 = [];
624
765
  for (var _i = 1; _i < arguments.length; _i++) {
625
766
  args_1[_i - 1] = arguments[_i];
@@ -629,9 +770,9 @@ var AccountsApiAxiosParamCreator = function (configuration) {
629
770
  if (options === void 0) { options = {}; }
630
771
  return __generator(this, function (_a) {
631
772
  // verify required parameter 'id' is not null or undefined
632
- (0, common_1.assertParamExists)('getGetAccountPageInfo', 'id', id);
633
- localVarPath = "/admin/accounts/{id}"
634
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
773
+ (0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
774
+ localVarPath = "/accounts/{id}/summary"
775
+ .replace('{id}', encodeURIComponent(String(id)));
635
776
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
636
777
  if (configuration) {
637
778
  baseOptions = configuration.baseOptions;
@@ -768,6 +909,80 @@ var AccountsApiAxiosParamCreator = function (configuration) {
768
909
  });
769
910
  });
770
911
  },
912
+ /**
913
+ * Get Account Finance
914
+ * @param {string} id Account Xero ID
915
+ * @param {*} [options] Override http request option.
916
+ * @throws {RequiredError}
917
+ */
918
+ getGetFinanceSettings: function (id_1) {
919
+ var args_1 = [];
920
+ for (var _i = 1; _i < arguments.length; _i++) {
921
+ args_1[_i - 1] = arguments[_i];
922
+ }
923
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
924
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
925
+ if (options === void 0) { options = {}; }
926
+ return __generator(this, function (_a) {
927
+ // verify required parameter 'id' is not null or undefined
928
+ (0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
929
+ localVarPath = "/admin/accounts/{id}/finance"
930
+ .replace('{id}', encodeURIComponent(String(id)));
931
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
932
+ if (configuration) {
933
+ baseOptions = configuration.baseOptions;
934
+ }
935
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
936
+ localVarHeaderParameter = {};
937
+ localVarQueryParameter = {};
938
+ localVarHeaderParameter['Accept'] = 'application/json';
939
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
940
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
941
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
942
+ return [2 /*return*/, {
943
+ url: (0, common_1.toPathString)(localVarUrlObj),
944
+ options: localVarRequestOptions,
945
+ }];
946
+ });
947
+ });
948
+ },
949
+ /**
950
+ * Get Account 3CX Details
951
+ * @param {string} id Xero ID
952
+ * @param {*} [options] Override http request option.
953
+ * @throws {RequiredError}
954
+ */
955
+ getGetTcxPartnerDetails: function (id_1) {
956
+ var args_1 = [];
957
+ for (var _i = 1; _i < arguments.length; _i++) {
958
+ args_1[_i - 1] = arguments[_i];
959
+ }
960
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
961
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
962
+ if (options === void 0) { options = {}; }
963
+ return __generator(this, function (_a) {
964
+ // verify required parameter 'id' is not null or undefined
965
+ (0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
966
+ localVarPath = "/admin/accounts/{id}/tcx/partner"
967
+ .replace('{id}', encodeURIComponent(String(id)));
968
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
969
+ if (configuration) {
970
+ baseOptions = configuration.baseOptions;
971
+ }
972
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
973
+ localVarHeaderParameter = {};
974
+ localVarQueryParameter = {};
975
+ localVarHeaderParameter['Accept'] = 'application/json';
976
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
977
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
978
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
979
+ return [2 /*return*/, {
980
+ url: (0, common_1.toPathString)(localVarUrlObj),
981
+ options: localVarRequestOptions,
982
+ }];
983
+ });
984
+ });
985
+ },
771
986
  /**
772
987
  * Verify account email address
773
988
  * @summary Verify account email address
@@ -828,8 +1043,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
828
1043
  // verify required parameter 'state' is not null or undefined
829
1044
  (0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
830
1045
  localVarPath = "/admin/accounts/{id}/portal/access/{state}"
831
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
832
- .replace("{".concat("state", "}"), encodeURIComponent(String(state)));
1046
+ .replace('{id}', encodeURIComponent(String(id)))
1047
+ .replace('{state}', encodeURIComponent(String(state)));
833
1048
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
834
1049
  if (configuration) {
835
1050
  baseOptions = configuration.baseOptions;
@@ -868,8 +1083,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
868
1083
  // verify required parameter 'state' is not null or undefined
869
1084
  (0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
870
1085
  localVarPath = "/admin/accounts/{id}/prizes/{state}"
871
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
872
- .replace("{".concat("state", "}"), encodeURIComponent(String(state)));
1086
+ .replace('{id}', encodeURIComponent(String(id)))
1087
+ .replace('{state}', encodeURIComponent(String(state)));
873
1088
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
874
1089
  if (configuration) {
875
1090
  baseOptions = configuration.baseOptions;
@@ -941,7 +1156,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
941
1156
  // verify required parameter 'id' is not null or undefined
942
1157
  (0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
943
1158
  localVarPath = "/admin/accounts/{id}/cname"
944
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1159
+ .replace('{id}', encodeURIComponent(String(id)));
945
1160
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
946
1161
  if (configuration) {
947
1162
  baseOptions = configuration.baseOptions;
@@ -980,7 +1195,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
980
1195
  // verify required parameter 'id' is not null or undefined
981
1196
  (0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
982
1197
  localVarPath = "/admin/accounts/{id}/companyNumber"
983
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1198
+ .replace('{id}', encodeURIComponent(String(id)));
984
1199
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
985
1200
  if (configuration) {
986
1201
  baseOptions = configuration.baseOptions;
@@ -1061,7 +1276,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1061
1276
  // verify required parameter 'id' is not null or undefined
1062
1277
  (0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
1063
1278
  localVarPath = "/admin/accounts/{id}/phone"
1064
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1279
+ .replace('{id}', encodeURIComponent(String(id)));
1065
1280
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1066
1281
  if (configuration) {
1067
1282
  baseOptions = configuration.baseOptions;
@@ -1100,7 +1315,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1100
1315
  // verify required parameter 'id' is not null or undefined
1101
1316
  (0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
1102
1317
  localVarPath = "/admin/accounts/{id}/vatNumber"
1103
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1318
+ .replace('{id}', encodeURIComponent(String(id)));
1104
1319
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1105
1320
  if (configuration) {
1106
1321
  baseOptions = configuration.baseOptions;
@@ -1121,34 +1336,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1121
1336
  });
1122
1337
  },
1123
1338
  /**
1124
- * Add Account Contacts
1125
- * @summary Add Account Contact
1126
- * @param {AccountContactRequestModel} [accountContactRequestModel] New account request
1339
+ * Set Account Credit Limit
1340
+ * @param {string} id Xero ID
1341
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
1127
1342
  * @param {*} [options] Override http request option.
1128
1343
  * @throws {RequiredError}
1129
1344
  */
1130
- postGetAccountContacts: function (accountContactRequestModel_1) {
1345
+ patchUpdateCreditLimit: function (id_1, patchUpdateCreditLimitRequest_1) {
1131
1346
  var args_1 = [];
1132
- for (var _i = 1; _i < arguments.length; _i++) {
1133
- args_1[_i - 1] = arguments[_i];
1347
+ for (var _i = 2; _i < arguments.length; _i++) {
1348
+ args_1[_i - 2] = arguments[_i];
1134
1349
  }
1135
- return __awaiter(_this, __spreadArray([accountContactRequestModel_1], args_1, true), void 0, function (accountContactRequestModel, options) {
1350
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateCreditLimitRequest_1], args_1, true), void 0, function (id, patchUpdateCreditLimitRequest, options) {
1136
1351
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1137
1352
  if (options === void 0) { options = {}; }
1138
1353
  return __generator(this, function (_a) {
1139
- localVarPath = "/accounts/me/contacts";
1354
+ // verify required parameter 'id' is not null or undefined
1355
+ (0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
1356
+ localVarPath = "/admin/accounts/{id}/creditLimit"
1357
+ .replace('{id}', encodeURIComponent(String(id)));
1140
1358
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1141
1359
  if (configuration) {
1142
1360
  baseOptions = configuration.baseOptions;
1143
1361
  }
1144
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1362
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1145
1363
  localVarHeaderParameter = {};
1146
1364
  localVarQueryParameter = {};
1147
1365
  localVarHeaderParameter['Content-Type'] = 'application/json';
1366
+ localVarHeaderParameter['Accept'] = 'application/json';
1148
1367
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1149
1368
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1150
1369
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1151
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1370
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateCreditLimitRequest, localVarRequestOptions, configuration);
1152
1371
  return [2 /*return*/, {
1153
1372
  url: (0, common_1.toPathString)(localVarUrlObj),
1154
1373
  options: localVarRequestOptions,
@@ -1157,27 +1376,30 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1157
1376
  });
1158
1377
  },
1159
1378
  /**
1160
- * Create new customer account
1161
- * @summary Create a new customer account
1162
- * @param {AccountRequestModel} [accountRequestModel] New account request
1379
+ * Set Account Price List
1380
+ * @param {string} id Xero ID
1381
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
1163
1382
  * @param {*} [options] Override http request option.
1164
1383
  * @throws {RequiredError}
1165
1384
  */
1166
- postGetAccounts: function (accountRequestModel_1) {
1385
+ patchUpdatePriceList: function (id_1, patchUpdatePriceListRequest_1) {
1167
1386
  var args_1 = [];
1168
- for (var _i = 1; _i < arguments.length; _i++) {
1169
- args_1[_i - 1] = arguments[_i];
1387
+ for (var _i = 2; _i < arguments.length; _i++) {
1388
+ args_1[_i - 2] = arguments[_i];
1170
1389
  }
1171
- return __awaiter(_this, __spreadArray([accountRequestModel_1], args_1, true), void 0, function (accountRequestModel, options) {
1390
+ return __awaiter(_this, __spreadArray([id_1, patchUpdatePriceListRequest_1], args_1, true), void 0, function (id, patchUpdatePriceListRequest, options) {
1172
1391
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1173
1392
  if (options === void 0) { options = {}; }
1174
1393
  return __generator(this, function (_a) {
1175
- localVarPath = "/accounts";
1394
+ // verify required parameter 'id' is not null or undefined
1395
+ (0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
1396
+ localVarPath = "/admin/accounts/{id}/priceList"
1397
+ .replace('{id}', encodeURIComponent(String(id)));
1176
1398
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1177
1399
  if (configuration) {
1178
1400
  baseOptions = configuration.baseOptions;
1179
1401
  }
1180
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1402
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1181
1403
  localVarHeaderParameter = {};
1182
1404
  localVarQueryParameter = {};
1183
1405
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -1185,7 +1407,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1185
1407
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1186
1408
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1187
1409
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1188
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountRequestModel, localVarRequestOptions, configuration);
1410
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdatePriceListRequest, localVarRequestOptions, configuration);
1189
1411
  return [2 /*return*/, {
1190
1412
  url: (0, common_1.toPathString)(localVarUrlObj),
1191
1413
  options: localVarRequestOptions,
@@ -1194,32 +1416,38 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1194
1416
  });
1195
1417
  },
1196
1418
  /**
1197
- * Get Admin Account
1198
- * @summary Get Admin Account
1419
+ * Set Account SIP Channel Cost
1420
+ * @param {string} id Xero ID
1421
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
1199
1422
  * @param {*} [options] Override http request option.
1200
1423
  * @throws {RequiredError}
1201
1424
  */
1202
- postGetAdminAccount: function () {
1425
+ patchUpdateSipChannelCost: function (id_1, patchUpdateSipChannelCostRequest_1) {
1203
1426
  var args_1 = [];
1204
- for (var _i = 0; _i < arguments.length; _i++) {
1205
- args_1[_i] = arguments[_i];
1427
+ for (var _i = 2; _i < arguments.length; _i++) {
1428
+ args_1[_i - 2] = arguments[_i];
1206
1429
  }
1207
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
1430
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateSipChannelCostRequest_1], args_1, true), void 0, function (id, patchUpdateSipChannelCostRequest, options) {
1208
1431
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1209
1432
  if (options === void 0) { options = {}; }
1210
1433
  return __generator(this, function (_a) {
1211
- localVarPath = "/admin/me";
1434
+ // verify required parameter 'id' is not null or undefined
1435
+ (0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
1436
+ localVarPath = "/admin/accounts/{id}/channelCost"
1437
+ .replace('{id}', encodeURIComponent(String(id)));
1212
1438
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1213
1439
  if (configuration) {
1214
1440
  baseOptions = configuration.baseOptions;
1215
1441
  }
1216
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1442
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1217
1443
  localVarHeaderParameter = {};
1218
1444
  localVarQueryParameter = {};
1445
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1219
1446
  localVarHeaderParameter['Accept'] = 'application/json';
1220
1447
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1221
1448
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1222
1449
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1450
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateSipChannelCostRequest, localVarRequestOptions, configuration);
1223
1451
  return [2 /*return*/, {
1224
1452
  url: (0, common_1.toPathString)(localVarUrlObj),
1225
1453
  options: localVarRequestOptions,
@@ -1228,17 +1456,243 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1228
1456
  });
1229
1457
  },
1230
1458
  /**
1231
- * Create client credentials
1232
- * @summary Create client credentials
1233
- * @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
1459
+ * Set Account 3CX Hosting Price List
1460
+ * @param {string} id Xero ID
1461
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
1234
1462
  * @param {*} [options] Override http request option.
1235
1463
  * @throws {RequiredError}
1236
1464
  */
1237
- postGetClientCredentials: function (postGetClientCredentialsRequest_1) {
1465
+ patchUpdateTcxHostingPriceList: function (id_1, patchUpdateTcxHostingPriceListRequest_1) {
1238
1466
  var args_1 = [];
1239
- for (var _i = 1; _i < arguments.length; _i++) {
1240
- args_1[_i - 1] = arguments[_i];
1241
- }
1467
+ for (var _i = 2; _i < arguments.length; _i++) {
1468
+ args_1[_i - 2] = arguments[_i];
1469
+ }
1470
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxHostingPriceListRequest_1], args_1, true), void 0, function (id, patchUpdateTcxHostingPriceListRequest, options) {
1471
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1472
+ if (options === void 0) { options = {}; }
1473
+ return __generator(this, function (_a) {
1474
+ // verify required parameter 'id' is not null or undefined
1475
+ (0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
1476
+ localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
1477
+ .replace('{id}', encodeURIComponent(String(id)));
1478
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1479
+ if (configuration) {
1480
+ baseOptions = configuration.baseOptions;
1481
+ }
1482
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1483
+ localVarHeaderParameter = {};
1484
+ localVarQueryParameter = {};
1485
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1486
+ localVarHeaderParameter['Accept'] = 'application/json';
1487
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1488
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1489
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1490
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxHostingPriceListRequest, localVarRequestOptions, configuration);
1491
+ return [2 /*return*/, {
1492
+ url: (0, common_1.toPathString)(localVarUrlObj),
1493
+ options: localVarRequestOptions,
1494
+ }];
1495
+ });
1496
+ });
1497
+ },
1498
+ /**
1499
+ * Set Account 3CX Partner ID
1500
+ * @param {string} id Xero ID
1501
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
1502
+ * @param {*} [options] Override http request option.
1503
+ * @throws {RequiredError}
1504
+ */
1505
+ patchUpdateTcxPartnerId: function (id_1, patchUpdateTcxPartnerIdRequest_1) {
1506
+ var args_1 = [];
1507
+ for (var _i = 2; _i < arguments.length; _i++) {
1508
+ args_1[_i - 2] = arguments[_i];
1509
+ }
1510
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateTcxPartnerIdRequest_1], args_1, true), void 0, function (id, patchUpdateTcxPartnerIdRequest, options) {
1511
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1512
+ if (options === void 0) { options = {}; }
1513
+ return __generator(this, function (_a) {
1514
+ // verify required parameter 'id' is not null or undefined
1515
+ (0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
1516
+ localVarPath = "/admin/accounts{id}/tcx/partner/id"
1517
+ .replace('{id}', encodeURIComponent(String(id)));
1518
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1519
+ if (configuration) {
1520
+ baseOptions = configuration.baseOptions;
1521
+ }
1522
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1523
+ localVarHeaderParameter = {};
1524
+ localVarQueryParameter = {};
1525
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1526
+ localVarHeaderParameter['Accept'] = 'application/json';
1527
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1528
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1529
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1530
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateTcxPartnerIdRequest, localVarRequestOptions, configuration);
1531
+ return [2 /*return*/, {
1532
+ url: (0, common_1.toPathString)(localVarUrlObj),
1533
+ options: localVarRequestOptions,
1534
+ }];
1535
+ });
1536
+ });
1537
+ },
1538
+ /**
1539
+ * Create Account Contact
1540
+ * @param {string} id Account Xero ID
1541
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
1542
+ * @param {*} [options] Override http request option.
1543
+ * @throws {RequiredError}
1544
+ */
1545
+ postAdminCreateAccountContact: function (id_1, accountContactRequestModel_1) {
1546
+ var args_1 = [];
1547
+ for (var _i = 2; _i < arguments.length; _i++) {
1548
+ args_1[_i - 2] = arguments[_i];
1549
+ }
1550
+ return __awaiter(_this, __spreadArray([id_1, accountContactRequestModel_1], args_1, true), void 0, function (id, accountContactRequestModel, options) {
1551
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1552
+ if (options === void 0) { options = {}; }
1553
+ return __generator(this, function (_a) {
1554
+ // verify required parameter 'id' is not null or undefined
1555
+ (0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
1556
+ localVarPath = "/admin/accounts/{id}/contacts"
1557
+ .replace('{id}', encodeURIComponent(String(id)));
1558
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1559
+ if (configuration) {
1560
+ baseOptions = configuration.baseOptions;
1561
+ }
1562
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1563
+ localVarHeaderParameter = {};
1564
+ localVarQueryParameter = {};
1565
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1566
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1567
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1568
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1569
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1570
+ return [2 /*return*/, {
1571
+ url: (0, common_1.toPathString)(localVarUrlObj),
1572
+ options: localVarRequestOptions,
1573
+ }];
1574
+ });
1575
+ });
1576
+ },
1577
+ /**
1578
+ * Add Account Contacts
1579
+ * @summary Add Account Contact
1580
+ * @param {AccountContactRequestModel} [accountContactRequestModel] New account request
1581
+ * @param {*} [options] Override http request option.
1582
+ * @throws {RequiredError}
1583
+ */
1584
+ postGetAccountContacts: function (accountContactRequestModel_1) {
1585
+ var args_1 = [];
1586
+ for (var _i = 1; _i < arguments.length; _i++) {
1587
+ args_1[_i - 1] = arguments[_i];
1588
+ }
1589
+ return __awaiter(_this, __spreadArray([accountContactRequestModel_1], args_1, true), void 0, function (accountContactRequestModel, options) {
1590
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1591
+ if (options === void 0) { options = {}; }
1592
+ return __generator(this, function (_a) {
1593
+ localVarPath = "/accounts/me/contacts";
1594
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1595
+ if (configuration) {
1596
+ baseOptions = configuration.baseOptions;
1597
+ }
1598
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1599
+ localVarHeaderParameter = {};
1600
+ localVarQueryParameter = {};
1601
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1602
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1603
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1604
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1605
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1606
+ return [2 /*return*/, {
1607
+ url: (0, common_1.toPathString)(localVarUrlObj),
1608
+ options: localVarRequestOptions,
1609
+ }];
1610
+ });
1611
+ });
1612
+ },
1613
+ /**
1614
+ * Create new customer account
1615
+ * @summary Create a new customer account
1616
+ * @param {AccountRequestModel} [accountRequestModel] New account request
1617
+ * @param {*} [options] Override http request option.
1618
+ * @throws {RequiredError}
1619
+ */
1620
+ postGetAccounts: function (accountRequestModel_1) {
1621
+ var args_1 = [];
1622
+ for (var _i = 1; _i < arguments.length; _i++) {
1623
+ args_1[_i - 1] = arguments[_i];
1624
+ }
1625
+ return __awaiter(_this, __spreadArray([accountRequestModel_1], args_1, true), void 0, function (accountRequestModel, options) {
1626
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1627
+ if (options === void 0) { options = {}; }
1628
+ return __generator(this, function (_a) {
1629
+ localVarPath = "/accounts";
1630
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1631
+ if (configuration) {
1632
+ baseOptions = configuration.baseOptions;
1633
+ }
1634
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1635
+ localVarHeaderParameter = {};
1636
+ localVarQueryParameter = {};
1637
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1638
+ localVarHeaderParameter['Accept'] = 'application/json';
1639
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1640
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1641
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1642
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountRequestModel, localVarRequestOptions, configuration);
1643
+ return [2 /*return*/, {
1644
+ url: (0, common_1.toPathString)(localVarUrlObj),
1645
+ options: localVarRequestOptions,
1646
+ }];
1647
+ });
1648
+ });
1649
+ },
1650
+ /**
1651
+ * Get Admin Account
1652
+ * @summary Get Admin Account
1653
+ * @param {*} [options] Override http request option.
1654
+ * @throws {RequiredError}
1655
+ */
1656
+ postGetAdminAccount: function () {
1657
+ var args_1 = [];
1658
+ for (var _i = 0; _i < arguments.length; _i++) {
1659
+ args_1[_i] = arguments[_i];
1660
+ }
1661
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
1662
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1663
+ if (options === void 0) { options = {}; }
1664
+ return __generator(this, function (_a) {
1665
+ localVarPath = "/admin/me";
1666
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1667
+ if (configuration) {
1668
+ baseOptions = configuration.baseOptions;
1669
+ }
1670
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1671
+ localVarHeaderParameter = {};
1672
+ localVarQueryParameter = {};
1673
+ localVarHeaderParameter['Accept'] = 'application/json';
1674
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1675
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1676
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1677
+ return [2 /*return*/, {
1678
+ url: (0, common_1.toPathString)(localVarUrlObj),
1679
+ options: localVarRequestOptions,
1680
+ }];
1681
+ });
1682
+ });
1683
+ },
1684
+ /**
1685
+ * Create client credentials
1686
+ * @summary Create client credentials
1687
+ * @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
1688
+ * @param {*} [options] Override http request option.
1689
+ * @throws {RequiredError}
1690
+ */
1691
+ postGetClientCredentials: function (postGetClientCredentialsRequest_1) {
1692
+ var args_1 = [];
1693
+ for (var _i = 1; _i < arguments.length; _i++) {
1694
+ args_1[_i - 1] = arguments[_i];
1695
+ }
1242
1696
  return __awaiter(_this, __spreadArray([postGetClientCredentialsRequest_1], args_1, true), void 0, function (postGetClientCredentialsRequest, options) {
1243
1697
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1244
1698
  if (options === void 0) { options = {}; }
@@ -1283,7 +1737,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1283
1737
  // verify required parameter 'email' is not null or undefined
1284
1738
  (0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
1285
1739
  localVarPath = "/accounts/contacts/verify/{email}"
1286
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
1740
+ .replace('{email}', encodeURIComponent(String(email)));
1287
1741
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1288
1742
  if (configuration) {
1289
1743
  baseOptions = configuration.baseOptions;
@@ -1359,7 +1813,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1359
1813
  // verify required parameter 'id' is not null or undefined
1360
1814
  (0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
1361
1815
  localVarPath = "/admin/accounts/{id}/email/welcome"
1362
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1816
+ .replace('{id}', encodeURIComponent(String(id)));
1363
1817
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1364
1818
  if (configuration) {
1365
1819
  baseOptions = configuration.baseOptions;
@@ -1424,6 +1878,49 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1424
1878
  });
1425
1879
  });
1426
1880
  },
1881
+ /**
1882
+ * Update Account Contact
1883
+ * @param {string} id Account Xero ID
1884
+ * @param {number} contactId Contact ID
1885
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
1886
+ * @param {*} [options] Override http request option.
1887
+ * @throws {RequiredError}
1888
+ */
1889
+ putAdminUpdateAccountContact: function (id_1, contactId_1, accountContactRequestModel_1) {
1890
+ var args_1 = [];
1891
+ for (var _i = 3; _i < arguments.length; _i++) {
1892
+ args_1[_i - 3] = arguments[_i];
1893
+ }
1894
+ return __awaiter(_this, __spreadArray([id_1, contactId_1, accountContactRequestModel_1], args_1, true), void 0, function (id, contactId, accountContactRequestModel, options) {
1895
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1896
+ if (options === void 0) { options = {}; }
1897
+ return __generator(this, function (_a) {
1898
+ // verify required parameter 'id' is not null or undefined
1899
+ (0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'id', id);
1900
+ // verify required parameter 'contactId' is not null or undefined
1901
+ (0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
1902
+ localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
1903
+ .replace('{id}', encodeURIComponent(String(id)))
1904
+ .replace('{contact_id}', encodeURIComponent(String(contactId)));
1905
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1906
+ if (configuration) {
1907
+ baseOptions = configuration.baseOptions;
1908
+ }
1909
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
1910
+ localVarHeaderParameter = {};
1911
+ localVarQueryParameter = {};
1912
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1913
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1914
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1915
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1916
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountContactRequestModel, localVarRequestOptions, configuration);
1917
+ return [2 /*return*/, {
1918
+ url: (0, common_1.toPathString)(localVarUrlObj),
1919
+ options: localVarRequestOptions,
1920
+ }];
1921
+ });
1922
+ });
1923
+ },
1427
1924
  /**
1428
1925
  * Update Account Contacts
1429
1926
  * @summary Update Account Contact
@@ -1444,7 +1941,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1444
1941
  // verify required parameter 'email' is not null or undefined
1445
1942
  (0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
1446
1943
  localVarPath = "/accounts/me/contacts/{email}"
1447
- .replace("{".concat("email", "}"), encodeURIComponent(String(email)));
1944
+ .replace('{email}', encodeURIComponent(String(email)));
1448
1945
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1449
1946
  if (configuration) {
1450
1947
  baseOptions = configuration.baseOptions;
@@ -1483,7 +1980,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1483
1980
  // verify required parameter 'id' is not null or undefined
1484
1981
  (0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
1485
1982
  localVarPath = "/admin/accounts/{id}/billing/address"
1486
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
1983
+ .replace('{id}', encodeURIComponent(String(id)));
1487
1984
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1488
1985
  if (configuration) {
1489
1986
  baseOptions = configuration.baseOptions;
@@ -1522,7 +2019,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1522
2019
  // verify required parameter 'id' is not null or undefined
1523
2020
  (0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
1524
2021
  localVarPath = "/admin/accounts/{id}/shipping/address"
1525
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
2022
+ .replace('{id}', encodeURIComponent(String(id)));
1526
2023
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1527
2024
  if (configuration) {
1528
2025
  baseOptions = configuration.baseOptions;
@@ -1551,6 +2048,51 @@ exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
1551
2048
  var AccountsApiFp = function (configuration) {
1552
2049
  var localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
1553
2050
  return {
2051
+ /**
2052
+ * Delete Account Contact
2053
+ * @param {string} id Account Xero ID
2054
+ * @param {number} contactId Contact ID
2055
+ * @param {*} [options] Override http request option.
2056
+ * @throws {RequiredError}
2057
+ */
2058
+ deleteAdminUpdateAccountContact: function (id, contactId, options) {
2059
+ return __awaiter(this, void 0, void 0, function () {
2060
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2061
+ var _a, _b, _c;
2062
+ return __generator(this, function (_d) {
2063
+ switch (_d.label) {
2064
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAdminUpdateAccountContact(id, contactId, options)];
2065
+ case 1:
2066
+ localVarAxiosArgs = _d.sent();
2067
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2068
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteAdminUpdateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2069
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2070
+ }
2071
+ });
2072
+ });
2073
+ },
2074
+ /**
2075
+ * Delete Account
2076
+ * @param {string} id Account Xero ID
2077
+ * @param {*} [options] Override http request option.
2078
+ * @throws {RequiredError}
2079
+ */
2080
+ deleteArchiveAccount: function (id, options) {
2081
+ return __awaiter(this, void 0, void 0, function () {
2082
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2083
+ var _a, _b, _c;
2084
+ return __generator(this, function (_d) {
2085
+ switch (_d.label) {
2086
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteArchiveAccount(id, options)];
2087
+ case 1:
2088
+ localVarAxiosArgs = _d.sent();
2089
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2090
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.deleteArchiveAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2091
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2092
+ }
2093
+ });
2094
+ });
2095
+ },
1554
2096
  /**
1555
2097
  * Delete client credentials
1556
2098
  * @summary Delete client credentials
@@ -1597,6 +2139,28 @@ var AccountsApiFp = function (configuration) {
1597
2139
  });
1598
2140
  });
1599
2141
  },
2142
+ /**
2143
+ * Get Account Contacts
2144
+ * @param {string} id Account Xero ID
2145
+ * @param {*} [options] Override http request option.
2146
+ * @throws {RequiredError}
2147
+ */
2148
+ getAdminCreateAccountContact: function (id, options) {
2149
+ return __awaiter(this, void 0, void 0, function () {
2150
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2151
+ var _a, _b, _c;
2152
+ return __generator(this, function (_d) {
2153
+ switch (_d.label) {
2154
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAdminCreateAccountContact(id, options)];
2155
+ case 1:
2156
+ localVarAxiosArgs = _d.sent();
2157
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2158
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAdminCreateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2159
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2160
+ }
2161
+ });
2162
+ });
2163
+ },
1600
2164
  /**
1601
2165
  * Get Account
1602
2166
  * @summary Get Account
@@ -1619,6 +2183,28 @@ var AccountsApiFp = function (configuration) {
1619
2183
  });
1620
2184
  });
1621
2185
  },
2186
+ /**
2187
+ * Get Account Addresses
2188
+ * @param {string} id Xero ID
2189
+ * @param {*} [options] Override http request option.
2190
+ * @throws {RequiredError}
2191
+ */
2192
+ getGetAccountAddresses: function (id, options) {
2193
+ return __awaiter(this, void 0, void 0, function () {
2194
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2195
+ var _a, _b, _c;
2196
+ return __generator(this, function (_d) {
2197
+ switch (_d.label) {
2198
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountAddresses(id, options)];
2199
+ case 1:
2200
+ localVarAxiosArgs = _d.sent();
2201
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2202
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountAddresses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2203
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2204
+ }
2205
+ });
2206
+ });
2207
+ },
1622
2208
  /**
1623
2209
  * Get Account Contacts
1624
2210
  * @summary Get Account Contacts
@@ -1659,306 +2245,466 @@ var AccountsApiFp = function (configuration) {
1659
2245
  case 1:
1660
2246
  localVarAxiosArgs = _d.sent();
1661
2247
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1662
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2248
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2249
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2250
+ }
2251
+ });
2252
+ });
2253
+ },
2254
+ /**
2255
+ * Get Accounts
2256
+ * @summary Get Accounts
2257
+ * @param {number} [pageSize] Number Of Results
2258
+ * @param {number} [page] Page Number
2259
+ * @param {string} [search] Search
2260
+ * @param {boolean} [active] Active
2261
+ * @param {*} [options] Override http request option.
2262
+ * @throws {RequiredError}
2263
+ */
2264
+ getGetAccounts: function (pageSize, page, search, active, options) {
2265
+ return __awaiter(this, void 0, void 0, function () {
2266
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2267
+ var _a, _b, _c;
2268
+ return __generator(this, function (_d) {
2269
+ switch (_d.label) {
2270
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccounts(pageSize, page, search, active, options)];
2271
+ case 1:
2272
+ localVarAxiosArgs = _d.sent();
2273
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2274
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2275
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2276
+ }
2277
+ });
2278
+ });
2279
+ },
2280
+ /**
2281
+ * Get user\'s client credentials
2282
+ * @summary Get user\'s client credentials
2283
+ * @param {*} [options] Override http request option.
2284
+ * @throws {RequiredError}
2285
+ */
2286
+ getGetClientCredentials: function (options) {
2287
+ return __awaiter(this, void 0, void 0, function () {
2288
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2289
+ var _a, _b, _c;
2290
+ return __generator(this, function (_d) {
2291
+ switch (_d.label) {
2292
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetClientCredentials(options)];
2293
+ case 1:
2294
+ localVarAxiosArgs = _d.sent();
2295
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2296
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetClientCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2297
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2298
+ }
2299
+ });
2300
+ });
2301
+ },
2302
+ /**
2303
+ * Get 3CX Keys
2304
+ * @summary Get 3CX Keys
2305
+ * @param {*} [options] Override http request option.
2306
+ * @throws {RequiredError}
2307
+ */
2308
+ getGetCustomerKeys: function (options) {
2309
+ return __awaiter(this, void 0, void 0, function () {
2310
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2311
+ var _a, _b, _c;
2312
+ return __generator(this, function (_d) {
2313
+ switch (_d.label) {
2314
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerKeys(options)];
2315
+ case 1:
2316
+ localVarAxiosArgs = _d.sent();
2317
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2318
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetCustomerKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2319
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2320
+ }
2321
+ });
2322
+ });
2323
+ },
2324
+ /**
2325
+ * Get Account Finance
2326
+ * @param {string} id Account Xero ID
2327
+ * @param {*} [options] Override http request option.
2328
+ * @throws {RequiredError}
2329
+ */
2330
+ getGetFinanceSettings: function (id, options) {
2331
+ return __awaiter(this, void 0, void 0, function () {
2332
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2333
+ var _a, _b, _c;
2334
+ return __generator(this, function (_d) {
2335
+ switch (_d.label) {
2336
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetFinanceSettings(id, options)];
2337
+ case 1:
2338
+ localVarAxiosArgs = _d.sent();
2339
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2340
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetFinanceSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2341
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2342
+ }
2343
+ });
2344
+ });
2345
+ },
2346
+ /**
2347
+ * Get Account 3CX Details
2348
+ * @param {string} id Xero ID
2349
+ * @param {*} [options] Override http request option.
2350
+ * @throws {RequiredError}
2351
+ */
2352
+ getGetTcxPartnerDetails: function (id, options) {
2353
+ return __awaiter(this, void 0, void 0, function () {
2354
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2355
+ var _a, _b, _c;
2356
+ return __generator(this, function (_d) {
2357
+ switch (_d.label) {
2358
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxPartnerDetails(id, options)];
2359
+ case 1:
2360
+ localVarAxiosArgs = _d.sent();
2361
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2362
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetTcxPartnerDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2363
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2364
+ }
2365
+ });
2366
+ });
2367
+ },
2368
+ /**
2369
+ * Verify account email address
2370
+ * @summary Verify account email address
2371
+ * @param {string} token Verification Token
2372
+ * @param {*} [options] Override http request option.
2373
+ * @throws {RequiredError}
2374
+ */
2375
+ getVerifyEmailAddress: function (token, options) {
2376
+ return __awaiter(this, void 0, void 0, function () {
2377
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2378
+ var _a, _b, _c;
2379
+ return __generator(this, function (_d) {
2380
+ switch (_d.label) {
2381
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getVerifyEmailAddress(token, options)];
2382
+ case 1:
2383
+ localVarAxiosArgs = _d.sent();
2384
+ 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.getVerifyEmailAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2386
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2387
+ }
2388
+ });
2389
+ });
2390
+ },
2391
+ /**
2392
+ * Set Account Portal Access
2393
+ * @param {string} id Xero ID
2394
+ * @param {PatchSetPortalAccessStateEnum} state Portal Access State
2395
+ * @param {*} [options] Override http request option.
2396
+ * @throws {RequiredError}
2397
+ */
2398
+ patchSetPortalAccess: function (id, state, options) {
2399
+ return __awaiter(this, void 0, void 0, function () {
2400
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2401
+ var _a, _b, _c;
2402
+ return __generator(this, function (_d) {
2403
+ switch (_d.label) {
2404
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPortalAccess(id, state, options)];
2405
+ case 1:
2406
+ localVarAxiosArgs = _d.sent();
2407
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2408
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPortalAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1663
2409
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1664
2410
  }
1665
2411
  });
1666
2412
  });
1667
2413
  },
1668
2414
  /**
1669
- * Get Account Page Details
2415
+ * Set Account Prize Promo
1670
2416
  * @param {string} id Xero ID
2417
+ * @param {PatchSetPrizePromoStateEnum} state Prize Promo State
1671
2418
  * @param {*} [options] Override http request option.
1672
2419
  * @throws {RequiredError}
1673
2420
  */
1674
- getGetAccountPageInfo: function (id, options) {
2421
+ patchSetPrizePromo: function (id, state, options) {
1675
2422
  return __awaiter(this, void 0, void 0, function () {
1676
2423
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1677
2424
  var _a, _b, _c;
1678
2425
  return __generator(this, function (_d) {
1679
2426
  switch (_d.label) {
1680
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountPageInfo(id, options)];
2427
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPrizePromo(id, state, options)];
1681
2428
  case 1:
1682
2429
  localVarAxiosArgs = _d.sent();
1683
2430
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1684
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2431
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPrizePromo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1685
2432
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1686
2433
  }
1687
2434
  });
1688
2435
  });
1689
2436
  },
1690
2437
  /**
1691
- * Get Accounts
1692
- * @summary Get Accounts
1693
- * @param {number} [pageSize] Number Of Results
1694
- * @param {number} [page] Page Number
1695
- * @param {string} [search] Search
1696
- * @param {boolean} [active] Active
2438
+ * Set 3CX Wizard CNAME
2439
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
1697
2440
  * @param {*} [options] Override http request option.
1698
2441
  * @throws {RequiredError}
1699
2442
  */
1700
- getGetAccounts: function (pageSize, page, search, active, options) {
2443
+ patchSetTcxWizardCname: function (patchUpdateAccountCnameRequest, options) {
1701
2444
  return __awaiter(this, void 0, void 0, function () {
1702
2445
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1703
2446
  var _a, _b, _c;
1704
2447
  return __generator(this, function (_d) {
1705
2448
  switch (_d.label) {
1706
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccounts(pageSize, page, search, active, options)];
2449
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options)];
1707
2450
  case 1:
1708
2451
  localVarAxiosArgs = _d.sent();
1709
2452
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1710
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2453
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetTcxWizardCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1711
2454
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1712
2455
  }
1713
2456
  });
1714
2457
  });
1715
2458
  },
1716
2459
  /**
1717
- * Get user\'s client credentials
1718
- * @summary Get user\'s client credentials
2460
+ * Set Account CNAME
2461
+ * @param {string} id Xero ID
2462
+ * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
1719
2463
  * @param {*} [options] Override http request option.
1720
2464
  * @throws {RequiredError}
1721
2465
  */
1722
- getGetClientCredentials: function (options) {
2466
+ patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
1723
2467
  return __awaiter(this, void 0, void 0, function () {
1724
2468
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1725
2469
  var _a, _b, _c;
1726
2470
  return __generator(this, function (_d) {
1727
2471
  switch (_d.label) {
1728
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetClientCredentials(options)];
2472
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options)];
1729
2473
  case 1:
1730
2474
  localVarAxiosArgs = _d.sent();
1731
2475
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1732
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetClientCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2476
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1733
2477
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1734
2478
  }
1735
2479
  });
1736
2480
  });
1737
2481
  },
1738
2482
  /**
1739
- * Get 3CX Keys
1740
- * @summary Get 3CX Keys
2483
+ * Set Account Company Number
2484
+ * @param {string} id Xero ID
2485
+ * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
1741
2486
  * @param {*} [options] Override http request option.
1742
2487
  * @throws {RequiredError}
1743
2488
  */
1744
- getGetCustomerKeys: function (options) {
2489
+ patchUpdateAccountCompanyNumber: function (id, patchUpdateAccountCompanyNumberRequest, options) {
1745
2490
  return __awaiter(this, void 0, void 0, function () {
1746
2491
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1747
2492
  var _a, _b, _c;
1748
2493
  return __generator(this, function (_d) {
1749
2494
  switch (_d.label) {
1750
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerKeys(options)];
2495
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options)];
1751
2496
  case 1:
1752
2497
  localVarAxiosArgs = _d.sent();
1753
2498
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1754
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetCustomerKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2499
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCompanyNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1755
2500
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1756
2501
  }
1757
2502
  });
1758
2503
  });
1759
2504
  },
1760
2505
  /**
1761
- * Verify account email address
1762
- * @summary Verify account email address
2506
+ * Update Account Password
2507
+ * @summary Update Account Password
1763
2508
  * @param {string} token Verification Token
2509
+ * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
1764
2510
  * @param {*} [options] Override http request option.
1765
2511
  * @throws {RequiredError}
1766
2512
  */
1767
- getVerifyEmailAddress: function (token, options) {
2513
+ patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
1768
2514
  return __awaiter(this, void 0, void 0, function () {
1769
2515
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1770
2516
  var _a, _b, _c;
1771
2517
  return __generator(this, function (_d) {
1772
2518
  switch (_d.label) {
1773
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getVerifyEmailAddress(token, options)];
2519
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
1774
2520
  case 1:
1775
2521
  localVarAxiosArgs = _d.sent();
1776
2522
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1777
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getVerifyEmailAddress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2523
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountContactPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1778
2524
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1779
2525
  }
1780
2526
  });
1781
2527
  });
1782
2528
  },
1783
2529
  /**
1784
- * Set Account Portal Access
2530
+ * Set Account Phone
1785
2531
  * @param {string} id Xero ID
1786
- * @param {PatchSetPortalAccessStateEnum} state Portal Access State
2532
+ * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
1787
2533
  * @param {*} [options] Override http request option.
1788
2534
  * @throws {RequiredError}
1789
2535
  */
1790
- patchSetPortalAccess: function (id, state, options) {
2536
+ patchUpdateAccountPhone: function (id, patchUpdateAccountPhoneRequest, options) {
1791
2537
  return __awaiter(this, void 0, void 0, function () {
1792
2538
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1793
2539
  var _a, _b, _c;
1794
2540
  return __generator(this, function (_d) {
1795
2541
  switch (_d.label) {
1796
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPortalAccess(id, state, options)];
2542
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options)];
1797
2543
  case 1:
1798
2544
  localVarAxiosArgs = _d.sent();
1799
2545
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1800
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPortalAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2546
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountPhone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1801
2547
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1802
2548
  }
1803
2549
  });
1804
2550
  });
1805
2551
  },
1806
2552
  /**
1807
- * Set Account Prize Promo
2553
+ * Set Account VAT Number
1808
2554
  * @param {string} id Xero ID
1809
- * @param {PatchSetPrizePromoStateEnum} state Prize Promo State
2555
+ * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
1810
2556
  * @param {*} [options] Override http request option.
1811
2557
  * @throws {RequiredError}
1812
2558
  */
1813
- patchSetPrizePromo: function (id, state, options) {
2559
+ patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
1814
2560
  return __awaiter(this, void 0, void 0, function () {
1815
2561
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1816
2562
  var _a, _b, _c;
1817
2563
  return __generator(this, function (_d) {
1818
2564
  switch (_d.label) {
1819
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetPrizePromo(id, state, options)];
2565
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options)];
1820
2566
  case 1:
1821
2567
  localVarAxiosArgs = _d.sent();
1822
2568
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1823
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetPrizePromo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2569
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountVatNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1824
2570
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1825
2571
  }
1826
2572
  });
1827
2573
  });
1828
2574
  },
1829
2575
  /**
1830
- * Set 3CX Wizard CNAME
1831
- * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
2576
+ * Set Account Credit Limit
2577
+ * @param {string} id Xero ID
2578
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
1832
2579
  * @param {*} [options] Override http request option.
1833
2580
  * @throws {RequiredError}
1834
2581
  */
1835
- patchSetTcxWizardCname: function (patchUpdateAccountCnameRequest, options) {
2582
+ patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
1836
2583
  return __awaiter(this, void 0, void 0, function () {
1837
2584
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1838
2585
  var _a, _b, _c;
1839
2586
  return __generator(this, function (_d) {
1840
2587
  switch (_d.label) {
1841
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchSetTcxWizardCname(patchUpdateAccountCnameRequest, options)];
2588
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options)];
1842
2589
  case 1:
1843
2590
  localVarAxiosArgs = _d.sent();
1844
2591
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1845
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchSetTcxWizardCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2592
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateCreditLimit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1846
2593
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1847
2594
  }
1848
2595
  });
1849
2596
  });
1850
2597
  },
1851
2598
  /**
1852
- * Set Account CNAME
2599
+ * Set Account Price List
1853
2600
  * @param {string} id Xero ID
1854
- * @param {PatchUpdateAccountCnameRequest} [patchUpdateAccountCnameRequest] CNAME Request
2601
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
1855
2602
  * @param {*} [options] Override http request option.
1856
2603
  * @throws {RequiredError}
1857
2604
  */
1858
- patchUpdateAccountCname: function (id, patchUpdateAccountCnameRequest, options) {
2605
+ patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
1859
2606
  return __awaiter(this, void 0, void 0, function () {
1860
2607
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1861
2608
  var _a, _b, _c;
1862
2609
  return __generator(this, function (_d) {
1863
2610
  switch (_d.label) {
1864
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCname(id, patchUpdateAccountCnameRequest, options)];
2611
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdatePriceList(id, patchUpdatePriceListRequest, options)];
1865
2612
  case 1:
1866
2613
  localVarAxiosArgs = _d.sent();
1867
2614
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1868
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCname']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2615
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdatePriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1869
2616
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1870
2617
  }
1871
2618
  });
1872
2619
  });
1873
2620
  },
1874
2621
  /**
1875
- * Set Account Company Number
2622
+ * Set Account SIP Channel Cost
1876
2623
  * @param {string} id Xero ID
1877
- * @param {PatchUpdateAccountCompanyNumberRequest} [patchUpdateAccountCompanyNumberRequest] Account Company Number Request
2624
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
1878
2625
  * @param {*} [options] Override http request option.
1879
2626
  * @throws {RequiredError}
1880
2627
  */
1881
- patchUpdateAccountCompanyNumber: function (id, patchUpdateAccountCompanyNumberRequest, options) {
2628
+ patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
1882
2629
  return __awaiter(this, void 0, void 0, function () {
1883
2630
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1884
2631
  var _a, _b, _c;
1885
2632
  return __generator(this, function (_d) {
1886
2633
  switch (_d.label) {
1887
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountCompanyNumber(id, patchUpdateAccountCompanyNumberRequest, options)];
2634
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options)];
1888
2635
  case 1:
1889
2636
  localVarAxiosArgs = _d.sent();
1890
2637
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1891
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountCompanyNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2638
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateSipChannelCost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1892
2639
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1893
2640
  }
1894
2641
  });
1895
2642
  });
1896
2643
  },
1897
2644
  /**
1898
- * Update Account Password
1899
- * @summary Update Account Password
1900
- * @param {string} token Verification Token
1901
- * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
2645
+ * Set Account 3CX Hosting Price List
2646
+ * @param {string} id Xero ID
2647
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
1902
2648
  * @param {*} [options] Override http request option.
1903
2649
  * @throws {RequiredError}
1904
2650
  */
1905
- patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
2651
+ patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
1906
2652
  return __awaiter(this, void 0, void 0, function () {
1907
2653
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1908
2654
  var _a, _b, _c;
1909
2655
  return __generator(this, function (_d) {
1910
2656
  switch (_d.label) {
1911
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options)];
2657
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options)];
1912
2658
  case 1:
1913
2659
  localVarAxiosArgs = _d.sent();
1914
2660
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1915
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountContactPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2661
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxHostingPriceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1916
2662
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1917
2663
  }
1918
2664
  });
1919
2665
  });
1920
2666
  },
1921
2667
  /**
1922
- * Set Account Phone
2668
+ * Set Account 3CX Partner ID
1923
2669
  * @param {string} id Xero ID
1924
- * @param {PatchUpdateAccountPhoneRequest} [patchUpdateAccountPhoneRequest] Telephone Request
2670
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
1925
2671
  * @param {*} [options] Override http request option.
1926
2672
  * @throws {RequiredError}
1927
2673
  */
1928
- patchUpdateAccountPhone: function (id, patchUpdateAccountPhoneRequest, options) {
2674
+ patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
1929
2675
  return __awaiter(this, void 0, void 0, function () {
1930
2676
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1931
2677
  var _a, _b, _c;
1932
2678
  return __generator(this, function (_d) {
1933
2679
  switch (_d.label) {
1934
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountPhone(id, patchUpdateAccountPhoneRequest, options)];
2680
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options)];
1935
2681
  case 1:
1936
2682
  localVarAxiosArgs = _d.sent();
1937
2683
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1938
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountPhone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2684
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateTcxPartnerId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1939
2685
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1940
2686
  }
1941
2687
  });
1942
2688
  });
1943
2689
  },
1944
2690
  /**
1945
- * Set Account VAT Number
1946
- * @param {string} id Xero ID
1947
- * @param {PatchUpdateAccountVatNumberRequest} [patchUpdateAccountVatNumberRequest] VAT Number Request
2691
+ * Create Account Contact
2692
+ * @param {string} id Account Xero ID
2693
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
1948
2694
  * @param {*} [options] Override http request option.
1949
2695
  * @throws {RequiredError}
1950
2696
  */
1951
- patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
2697
+ postAdminCreateAccountContact: function (id, accountContactRequestModel, options) {
1952
2698
  return __awaiter(this, void 0, void 0, function () {
1953
2699
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1954
2700
  var _a, _b, _c;
1955
2701
  return __generator(this, function (_d) {
1956
2702
  switch (_d.label) {
1957
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options)];
2703
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAdminCreateAccountContact(id, accountContactRequestModel, options)];
1958
2704
  case 1:
1959
2705
  localVarAxiosArgs = _d.sent();
1960
2706
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1961
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountVatNumber']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2707
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.postAdminCreateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1962
2708
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1963
2709
  }
1964
2710
  });
@@ -2149,6 +2895,30 @@ var AccountsApiFp = function (configuration) {
2149
2895
  });
2150
2896
  });
2151
2897
  },
2898
+ /**
2899
+ * Update Account Contact
2900
+ * @param {string} id Account Xero ID
2901
+ * @param {number} contactId Contact ID
2902
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
2903
+ * @param {*} [options] Override http request option.
2904
+ * @throws {RequiredError}
2905
+ */
2906
+ putAdminUpdateAccountContact: function (id, contactId, accountContactRequestModel, options) {
2907
+ return __awaiter(this, void 0, void 0, function () {
2908
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2909
+ var _a, _b, _c;
2910
+ return __generator(this, function (_d) {
2911
+ switch (_d.label) {
2912
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options)];
2913
+ case 1:
2914
+ localVarAxiosArgs = _d.sent();
2915
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2916
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.putAdminUpdateAccountContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2917
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2918
+ }
2919
+ });
2920
+ });
2921
+ },
2152
2922
  /**
2153
2923
  * Update Account Contacts
2154
2924
  * @summary Update Account Contact
@@ -2228,6 +2998,25 @@ exports.AccountsApiFp = AccountsApiFp;
2228
2998
  var AccountsApiFactory = function (configuration, basePath, axios) {
2229
2999
  var localVarFp = (0, exports.AccountsApiFp)(configuration);
2230
3000
  return {
3001
+ /**
3002
+ * Delete Account Contact
3003
+ * @param {string} id Account Xero ID
3004
+ * @param {number} contactId Contact ID
3005
+ * @param {*} [options] Override http request option.
3006
+ * @throws {RequiredError}
3007
+ */
3008
+ deleteAdminUpdateAccountContact: function (id, contactId, options) {
3009
+ return localVarFp.deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(axios, basePath); });
3010
+ },
3011
+ /**
3012
+ * Delete Account
3013
+ * @param {string} id Account Xero ID
3014
+ * @param {*} [options] Override http request option.
3015
+ * @throws {RequiredError}
3016
+ */
3017
+ deleteArchiveAccount: function (id, options) {
3018
+ return localVarFp.deleteArchiveAccount(id, options).then(function (request) { return request(axios, basePath); });
3019
+ },
2231
3020
  /**
2232
3021
  * Delete client credentials
2233
3022
  * @summary Delete client credentials
@@ -2248,6 +3037,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2248
3037
  deleteUpdateAccountContact: function (email, options) {
2249
3038
  return localVarFp.deleteUpdateAccountContact(email, options).then(function (request) { return request(axios, basePath); });
2250
3039
  },
3040
+ /**
3041
+ * Get Account Contacts
3042
+ * @param {string} id Account Xero ID
3043
+ * @param {*} [options] Override http request option.
3044
+ * @throws {RequiredError}
3045
+ */
3046
+ getAdminCreateAccountContact: function (id, options) {
3047
+ return localVarFp.getAdminCreateAccountContact(id, options).then(function (request) { return request(axios, basePath); });
3048
+ },
2251
3049
  /**
2252
3050
  * Get Account
2253
3051
  * @summary Get Account
@@ -2257,6 +3055,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2257
3055
  getGetAccount: function (options) {
2258
3056
  return localVarFp.getGetAccount(options).then(function (request) { return request(axios, basePath); });
2259
3057
  },
3058
+ /**
3059
+ * Get Account Addresses
3060
+ * @param {string} id Xero ID
3061
+ * @param {*} [options] Override http request option.
3062
+ * @throws {RequiredError}
3063
+ */
3064
+ getGetAccountAddresses: function (id, options) {
3065
+ return localVarFp.getGetAccountAddresses(id, options).then(function (request) { return request(axios, basePath); });
3066
+ },
2260
3067
  /**
2261
3068
  * Get Account Contacts
2262
3069
  * @summary Get Account Contacts
@@ -2277,15 +3084,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2277
3084
  getGetAccountDetailedSummary: function (id, options) {
2278
3085
  return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
2279
3086
  },
2280
- /**
2281
- * Get Account Page Details
2282
- * @param {string} id Xero ID
2283
- * @param {*} [options] Override http request option.
2284
- * @throws {RequiredError}
2285
- */
2286
- getGetAccountPageInfo: function (id, options) {
2287
- return localVarFp.getGetAccountPageInfo(id, options).then(function (request) { return request(axios, basePath); });
2288
- },
2289
3087
  /**
2290
3088
  * Get Accounts
2291
3089
  * @summary Get Accounts
@@ -2317,6 +3115,24 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2317
3115
  getGetCustomerKeys: function (options) {
2318
3116
  return localVarFp.getGetCustomerKeys(options).then(function (request) { return request(axios, basePath); });
2319
3117
  },
3118
+ /**
3119
+ * Get Account Finance
3120
+ * @param {string} id Account Xero ID
3121
+ * @param {*} [options] Override http request option.
3122
+ * @throws {RequiredError}
3123
+ */
3124
+ getGetFinanceSettings: function (id, options) {
3125
+ return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
3126
+ },
3127
+ /**
3128
+ * Get Account 3CX Details
3129
+ * @param {string} id Xero ID
3130
+ * @param {*} [options] Override http request option.
3131
+ * @throws {RequiredError}
3132
+ */
3133
+ getGetTcxPartnerDetails: function (id, options) {
3134
+ return localVarFp.getGetTcxPartnerDetails(id, options).then(function (request) { return request(axios, basePath); });
3135
+ },
2320
3136
  /**
2321
3137
  * Verify account email address
2322
3138
  * @summary Verify account email address
@@ -2407,6 +3223,66 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2407
3223
  patchUpdateAccountVatNumber: function (id, patchUpdateAccountVatNumberRequest, options) {
2408
3224
  return localVarFp.patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(axios, basePath); });
2409
3225
  },
3226
+ /**
3227
+ * Set Account Credit Limit
3228
+ * @param {string} id Xero ID
3229
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ */
3233
+ patchUpdateCreditLimit: function (id, patchUpdateCreditLimitRequest, options) {
3234
+ return localVarFp.patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(axios, basePath); });
3235
+ },
3236
+ /**
3237
+ * Set Account Price List
3238
+ * @param {string} id Xero ID
3239
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
3240
+ * @param {*} [options] Override http request option.
3241
+ * @throws {RequiredError}
3242
+ */
3243
+ patchUpdatePriceList: function (id, patchUpdatePriceListRequest, options) {
3244
+ return localVarFp.patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(axios, basePath); });
3245
+ },
3246
+ /**
3247
+ * Set Account SIP Channel Cost
3248
+ * @param {string} id Xero ID
3249
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
3250
+ * @param {*} [options] Override http request option.
3251
+ * @throws {RequiredError}
3252
+ */
3253
+ patchUpdateSipChannelCost: function (id, patchUpdateSipChannelCostRequest, options) {
3254
+ return localVarFp.patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(axios, basePath); });
3255
+ },
3256
+ /**
3257
+ * Set Account 3CX Hosting Price List
3258
+ * @param {string} id Xero ID
3259
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
3260
+ * @param {*} [options] Override http request option.
3261
+ * @throws {RequiredError}
3262
+ */
3263
+ patchUpdateTcxHostingPriceList: function (id, patchUpdateTcxHostingPriceListRequest, options) {
3264
+ return localVarFp.patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(axios, basePath); });
3265
+ },
3266
+ /**
3267
+ * Set Account 3CX Partner ID
3268
+ * @param {string} id Xero ID
3269
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
3270
+ * @param {*} [options] Override http request option.
3271
+ * @throws {RequiredError}
3272
+ */
3273
+ patchUpdateTcxPartnerId: function (id, patchUpdateTcxPartnerIdRequest, options) {
3274
+ return localVarFp.patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(axios, basePath); });
3275
+ },
3276
+ /**
3277
+ * Create Account Contact
3278
+ * @param {string} id Account Xero ID
3279
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
3280
+ * @param {*} [options] Override http request option.
3281
+ * @throws {RequiredError}
3282
+ */
3283
+ postAdminCreateAccountContact: function (id, accountContactRequestModel, options) {
3284
+ return localVarFp.postAdminCreateAccountContact(id, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
3285
+ },
2410
3286
  /**
2411
3287
  * Add Account Contacts
2412
3288
  * @summary Add Account Contact
@@ -2488,6 +3364,17 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
2488
3364
  postSubmitResellerApplication: function (creditRequired, companyNumber, vatNumber, options) {
2489
3365
  return localVarFp.postSubmitResellerApplication(creditRequired, companyNumber, vatNumber, options).then(function (request) { return request(axios, basePath); });
2490
3366
  },
3367
+ /**
3368
+ * Update Account Contact
3369
+ * @param {string} id Account Xero ID
3370
+ * @param {number} contactId Contact ID
3371
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
3372
+ * @param {*} [options] Override http request option.
3373
+ * @throws {RequiredError}
3374
+ */
3375
+ putAdminUpdateAccountContact: function (id, contactId, accountContactRequestModel, options) {
3376
+ return localVarFp.putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(axios, basePath); });
3377
+ },
2491
3378
  /**
2492
3379
  * Update Account Contacts
2493
3380
  * @summary Update Account Contact
@@ -2530,6 +3417,27 @@ var AccountsApi = /** @class */ (function (_super) {
2530
3417
  function AccountsApi() {
2531
3418
  return _super !== null && _super.apply(this, arguments) || this;
2532
3419
  }
3420
+ /**
3421
+ * Delete Account Contact
3422
+ * @param {string} id Account Xero ID
3423
+ * @param {number} contactId Contact ID
3424
+ * @param {*} [options] Override http request option.
3425
+ * @throws {RequiredError}
3426
+ */
3427
+ AccountsApi.prototype.deleteAdminUpdateAccountContact = function (id, contactId, options) {
3428
+ var _this = this;
3429
+ return (0, exports.AccountsApiFp)(this.configuration).deleteAdminUpdateAccountContact(id, contactId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3430
+ };
3431
+ /**
3432
+ * Delete Account
3433
+ * @param {string} id Account Xero ID
3434
+ * @param {*} [options] Override http request option.
3435
+ * @throws {RequiredError}
3436
+ */
3437
+ AccountsApi.prototype.deleteArchiveAccount = function (id, options) {
3438
+ var _this = this;
3439
+ return (0, exports.AccountsApiFp)(this.configuration).deleteArchiveAccount(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3440
+ };
2533
3441
  /**
2534
3442
  * Delete client credentials
2535
3443
  * @summary Delete client credentials
@@ -2552,6 +3460,16 @@ var AccountsApi = /** @class */ (function (_super) {
2552
3460
  var _this = this;
2553
3461
  return (0, exports.AccountsApiFp)(this.configuration).deleteUpdateAccountContact(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
2554
3462
  };
3463
+ /**
3464
+ * Get Account Contacts
3465
+ * @param {string} id Account Xero ID
3466
+ * @param {*} [options] Override http request option.
3467
+ * @throws {RequiredError}
3468
+ */
3469
+ AccountsApi.prototype.getAdminCreateAccountContact = function (id, options) {
3470
+ var _this = this;
3471
+ return (0, exports.AccountsApiFp)(this.configuration).getAdminCreateAccountContact(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3472
+ };
2555
3473
  /**
2556
3474
  * Get Account
2557
3475
  * @summary Get Account
@@ -2562,6 +3480,16 @@ var AccountsApi = /** @class */ (function (_super) {
2562
3480
  var _this = this;
2563
3481
  return (0, exports.AccountsApiFp)(this.configuration).getGetAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
2564
3482
  };
3483
+ /**
3484
+ * Get Account Addresses
3485
+ * @param {string} id Xero ID
3486
+ * @param {*} [options] Override http request option.
3487
+ * @throws {RequiredError}
3488
+ */
3489
+ AccountsApi.prototype.getGetAccountAddresses = function (id, options) {
3490
+ var _this = this;
3491
+ return (0, exports.AccountsApiFp)(this.configuration).getGetAccountAddresses(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3492
+ };
2565
3493
  /**
2566
3494
  * Get Account Contacts
2567
3495
  * @summary Get Account Contacts
@@ -2584,16 +3512,6 @@ var AccountsApi = /** @class */ (function (_super) {
2584
3512
  var _this = this;
2585
3513
  return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2586
3514
  };
2587
- /**
2588
- * Get Account Page Details
2589
- * @param {string} id Xero ID
2590
- * @param {*} [options] Override http request option.
2591
- * @throws {RequiredError}
2592
- */
2593
- AccountsApi.prototype.getGetAccountPageInfo = function (id, options) {
2594
- var _this = this;
2595
- return (0, exports.AccountsApiFp)(this.configuration).getGetAccountPageInfo(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2596
- };
2597
3515
  /**
2598
3516
  * Get Accounts
2599
3517
  * @summary Get Accounts
@@ -2616,17 +3534,37 @@ var AccountsApi = /** @class */ (function (_super) {
2616
3534
  */
2617
3535
  AccountsApi.prototype.getGetClientCredentials = function (options) {
2618
3536
  var _this = this;
2619
- return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
3537
+ return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
3538
+ };
3539
+ /**
3540
+ * Get 3CX Keys
3541
+ * @summary Get 3CX Keys
3542
+ * @param {*} [options] Override http request option.
3543
+ * @throws {RequiredError}
3544
+ */
3545
+ AccountsApi.prototype.getGetCustomerKeys = function (options) {
3546
+ var _this = this;
3547
+ return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
3548
+ };
3549
+ /**
3550
+ * Get Account Finance
3551
+ * @param {string} id Account Xero ID
3552
+ * @param {*} [options] Override http request option.
3553
+ * @throws {RequiredError}
3554
+ */
3555
+ AccountsApi.prototype.getGetFinanceSettings = function (id, options) {
3556
+ var _this = this;
3557
+ return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2620
3558
  };
2621
3559
  /**
2622
- * Get 3CX Keys
2623
- * @summary Get 3CX Keys
3560
+ * Get Account 3CX Details
3561
+ * @param {string} id Xero ID
2624
3562
  * @param {*} [options] Override http request option.
2625
3563
  * @throws {RequiredError}
2626
3564
  */
2627
- AccountsApi.prototype.getGetCustomerKeys = function (options) {
3565
+ AccountsApi.prototype.getGetTcxPartnerDetails = function (id, options) {
2628
3566
  var _this = this;
2629
- return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
3567
+ return (0, exports.AccountsApiFp)(this.configuration).getGetTcxPartnerDetails(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
2630
3568
  };
2631
3569
  /**
2632
3570
  * Verify account email address
@@ -2727,6 +3665,72 @@ var AccountsApi = /** @class */ (function (_super) {
2727
3665
  var _this = this;
2728
3666
  return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountVatNumber(id, patchUpdateAccountVatNumberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2729
3667
  };
3668
+ /**
3669
+ * Set Account Credit Limit
3670
+ * @param {string} id Xero ID
3671
+ * @param {PatchUpdateCreditLimitRequest} [patchUpdateCreditLimitRequest] Credit Limit Request
3672
+ * @param {*} [options] Override http request option.
3673
+ * @throws {RequiredError}
3674
+ */
3675
+ AccountsApi.prototype.patchUpdateCreditLimit = function (id, patchUpdateCreditLimitRequest, options) {
3676
+ var _this = this;
3677
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateCreditLimit(id, patchUpdateCreditLimitRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3678
+ };
3679
+ /**
3680
+ * Set Account Price List
3681
+ * @param {string} id Xero ID
3682
+ * @param {PatchUpdatePriceListRequest} [patchUpdatePriceListRequest] Price List Request
3683
+ * @param {*} [options] Override http request option.
3684
+ * @throws {RequiredError}
3685
+ */
3686
+ AccountsApi.prototype.patchUpdatePriceList = function (id, patchUpdatePriceListRequest, options) {
3687
+ var _this = this;
3688
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdatePriceList(id, patchUpdatePriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3689
+ };
3690
+ /**
3691
+ * Set Account SIP Channel Cost
3692
+ * @param {string} id Xero ID
3693
+ * @param {PatchUpdateSipChannelCostRequest} [patchUpdateSipChannelCostRequest] SIP Channel Cost Request
3694
+ * @param {*} [options] Override http request option.
3695
+ * @throws {RequiredError}
3696
+ */
3697
+ AccountsApi.prototype.patchUpdateSipChannelCost = function (id, patchUpdateSipChannelCostRequest, options) {
3698
+ var _this = this;
3699
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateSipChannelCost(id, patchUpdateSipChannelCostRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3700
+ };
3701
+ /**
3702
+ * Set Account 3CX Hosting Price List
3703
+ * @param {string} id Xero ID
3704
+ * @param {PatchUpdateTcxHostingPriceListRequest} [patchUpdateTcxHostingPriceListRequest] 3CX Hosting Price List Request
3705
+ * @param {*} [options] Override http request option.
3706
+ * @throws {RequiredError}
3707
+ */
3708
+ AccountsApi.prototype.patchUpdateTcxHostingPriceList = function (id, patchUpdateTcxHostingPriceListRequest, options) {
3709
+ var _this = this;
3710
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxHostingPriceList(id, patchUpdateTcxHostingPriceListRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3711
+ };
3712
+ /**
3713
+ * Set Account 3CX Partner ID
3714
+ * @param {string} id Xero ID
3715
+ * @param {PatchUpdateTcxPartnerIdRequest} [patchUpdateTcxPartnerIdRequest] Set Account 3CX Partner ID
3716
+ * @param {*} [options] Override http request option.
3717
+ * @throws {RequiredError}
3718
+ */
3719
+ AccountsApi.prototype.patchUpdateTcxPartnerId = function (id, patchUpdateTcxPartnerIdRequest, options) {
3720
+ var _this = this;
3721
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateTcxPartnerId(id, patchUpdateTcxPartnerIdRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3722
+ };
3723
+ /**
3724
+ * Create Account Contact
3725
+ * @param {string} id Account Xero ID
3726
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Create Account Contact Request
3727
+ * @param {*} [options] Override http request option.
3728
+ * @throws {RequiredError}
3729
+ */
3730
+ AccountsApi.prototype.postAdminCreateAccountContact = function (id, accountContactRequestModel, options) {
3731
+ var _this = this;
3732
+ return (0, exports.AccountsApiFp)(this.configuration).postAdminCreateAccountContact(id, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
3733
+ };
2730
3734
  /**
2731
3735
  * Add Account Contacts
2732
3736
  * @summary Add Account Contact
@@ -2816,6 +3820,18 @@ var AccountsApi = /** @class */ (function (_super) {
2816
3820
  var _this = this;
2817
3821
  return (0, exports.AccountsApiFp)(this.configuration).postSubmitResellerApplication(creditRequired, companyNumber, vatNumber, options).then(function (request) { return request(_this.axios, _this.basePath); });
2818
3822
  };
3823
+ /**
3824
+ * Update Account Contact
3825
+ * @param {string} id Account Xero ID
3826
+ * @param {number} contactId Contact ID
3827
+ * @param {AccountContactRequestModel} [accountContactRequestModel] Update Account Contact Request
3828
+ * @param {*} [options] Override http request option.
3829
+ * @throws {RequiredError}
3830
+ */
3831
+ AccountsApi.prototype.putAdminUpdateAccountContact = function (id, contactId, accountContactRequestModel, options) {
3832
+ var _this = this;
3833
+ return (0, exports.AccountsApiFp)(this.configuration).putAdminUpdateAccountContact(id, contactId, accountContactRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
3834
+ };
2819
3835
  /**
2820
3836
  * Update Account Contacts
2821
3837
  * @summary Update Account Contact
@@ -2855,12 +3871,125 @@ var AccountsApi = /** @class */ (function (_super) {
2855
3871
  exports.AccountsApi = AccountsApi;
2856
3872
  exports.PatchSetPortalAccessStateEnum = {
2857
3873
  Enable: 'enable',
2858
- Disable: 'disable'
3874
+ Disable: 'disable',
2859
3875
  };
2860
3876
  exports.PatchSetPrizePromoStateEnum = {
2861
3877
  Enable: 'enable',
2862
- Disable: 'disable'
3878
+ Disable: 'disable',
3879
+ };
3880
+ /**
3881
+ * BillingApi - axios parameter creator
3882
+ */
3883
+ var BillingApiAxiosParamCreator = function (configuration) {
3884
+ var _this = this;
3885
+ return {
3886
+ /**
3887
+ * Get Billing Customers
3888
+ * @summary Get Billing Customers
3889
+ * @param {*} [options] Override http request option.
3890
+ * @throws {RequiredError}
3891
+ */
3892
+ getGetAllCustomer: function () {
3893
+ var args_1 = [];
3894
+ for (var _i = 0; _i < arguments.length; _i++) {
3895
+ args_1[_i] = arguments[_i];
3896
+ }
3897
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
3898
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3899
+ if (options === void 0) { options = {}; }
3900
+ return __generator(this, function (_a) {
3901
+ localVarPath = "/billing/admin/customerList";
3902
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3903
+ if (configuration) {
3904
+ baseOptions = configuration.baseOptions;
3905
+ }
3906
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3907
+ localVarHeaderParameter = {};
3908
+ localVarQueryParameter = {};
3909
+ localVarHeaderParameter['Accept'] = 'application/json';
3910
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3911
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3912
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3913
+ return [2 /*return*/, {
3914
+ url: (0, common_1.toPathString)(localVarUrlObj),
3915
+ options: localVarRequestOptions,
3916
+ }];
3917
+ });
3918
+ });
3919
+ },
3920
+ };
3921
+ };
3922
+ exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
3923
+ /**
3924
+ * BillingApi - functional programming interface
3925
+ */
3926
+ var BillingApiFp = function (configuration) {
3927
+ var localVarAxiosParamCreator = (0, exports.BillingApiAxiosParamCreator)(configuration);
3928
+ return {
3929
+ /**
3930
+ * Get Billing Customers
3931
+ * @summary Get Billing Customers
3932
+ * @param {*} [options] Override http request option.
3933
+ * @throws {RequiredError}
3934
+ */
3935
+ getGetAllCustomer: function (options) {
3936
+ return __awaiter(this, void 0, void 0, function () {
3937
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3938
+ var _a, _b, _c;
3939
+ return __generator(this, function (_d) {
3940
+ switch (_d.label) {
3941
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAllCustomer(options)];
3942
+ case 1:
3943
+ localVarAxiosArgs = _d.sent();
3944
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3945
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetAllCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3946
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
3947
+ }
3948
+ });
3949
+ });
3950
+ },
3951
+ };
3952
+ };
3953
+ exports.BillingApiFp = BillingApiFp;
3954
+ /**
3955
+ * BillingApi - factory interface
3956
+ */
3957
+ var BillingApiFactory = function (configuration, basePath, axios) {
3958
+ var localVarFp = (0, exports.BillingApiFp)(configuration);
3959
+ return {
3960
+ /**
3961
+ * Get Billing Customers
3962
+ * @summary Get Billing Customers
3963
+ * @param {*} [options] Override http request option.
3964
+ * @throws {RequiredError}
3965
+ */
3966
+ getGetAllCustomer: function (options) {
3967
+ return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
3968
+ },
3969
+ };
2863
3970
  };
3971
+ exports.BillingApiFactory = BillingApiFactory;
3972
+ /**
3973
+ * BillingApi - object-oriented interface
3974
+ */
3975
+ var BillingApi = /** @class */ (function (_super) {
3976
+ __extends(BillingApi, _super);
3977
+ function BillingApi() {
3978
+ return _super !== null && _super.apply(this, arguments) || this;
3979
+ }
3980
+ /**
3981
+ * Get Billing Customers
3982
+ * @summary Get Billing Customers
3983
+ * @param {*} [options] Override http request option.
3984
+ * @throws {RequiredError}
3985
+ */
3986
+ BillingApi.prototype.getGetAllCustomer = function (options) {
3987
+ var _this = this;
3988
+ return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
3989
+ };
3990
+ return BillingApi;
3991
+ }(base_1.BaseAPI));
3992
+ exports.BillingApi = BillingApi;
2864
3993
  /**
2865
3994
  * CRMApi - axios parameter creator
2866
3995
  */
@@ -2887,7 +4016,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
2887
4016
  // verify required parameter 'id' is not null or undefined
2888
4017
  (0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
2889
4018
  localVarPath = "/admin/crm/{id}/activities"
2890
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4019
+ .replace('{id}', encodeURIComponent(String(id)));
2891
4020
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2892
4021
  if (configuration) {
2893
4022
  baseOptions = configuration.baseOptions;
@@ -2964,7 +4093,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
2964
4093
  // verify required parameter 'id' is not null or undefined
2965
4094
  (0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
2966
4095
  localVarPath = "/admin/crm/{id}/activities/note"
2967
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4096
+ .replace('{id}', encodeURIComponent(String(id)));
2968
4097
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2969
4098
  if (configuration) {
2970
4099
  baseOptions = configuration.baseOptions;
@@ -3152,7 +4281,7 @@ exports.GetGetCrmActivitiesTypeEnum = {
3152
4281
  Note: 'note',
3153
4282
  Order: 'order',
3154
4283
  Quote: 'quote',
3155
- TcxOrder: 'tcx_order'
4284
+ TcxOrder: 'tcx_order',
3156
4285
  };
3157
4286
  /**
3158
4287
  * Class3CXApi - axios parameter creator
@@ -3627,7 +4756,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
3627
4756
  // verify required parameter 'id' is not null or undefined
3628
4757
  (0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
3629
4758
  localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
3630
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4759
+ .replace('{id}', encodeURIComponent(String(id)));
3631
4760
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3632
4761
  if (configuration) {
3633
4762
  baseOptions = configuration.baseOptions;
@@ -3856,7 +4985,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
3856
4985
  // verify required parameter 'id' is not null or undefined
3857
4986
  (0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
3858
4987
  localVarPath = "/tcx/wizards/sip/trunks/{id}"
3859
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
4988
+ .replace('{id}', encodeURIComponent(String(id)));
3860
4989
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3861
4990
  if (configuration) {
3862
4991
  baseOptions = configuration.baseOptions;
@@ -4494,7 +5623,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
4494
5623
  // verify required parameter 'id' is not null or undefined
4495
5624
  (0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
4496
5625
  localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
4497
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
5626
+ .replace('{id}', encodeURIComponent(String(id)));
4498
5627
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4499
5628
  if (configuration) {
4500
5629
  baseOptions = configuration.baseOptions;
@@ -6233,7 +7362,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6233
7362
  // verify required parameter 'wizardId' is not null or undefined
6234
7363
  (0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
6235
7364
  localVarPath = "/tcx/installations/{wizard_id}/details"
6236
- .replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
7365
+ .replace('{wizard_id}', encodeURIComponent(String(wizardId)));
6237
7366
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6238
7367
  if (configuration) {
6239
7368
  baseOptions = configuration.baseOptions;
@@ -6336,7 +7465,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6336
7465
  // verify required parameter 'customerId' is not null or undefined
6337
7466
  (0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
6338
7467
  localVarPath = "/tcx/installations/{instance_id}/owner"
6339
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7468
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6340
7469
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6341
7470
  if (configuration) {
6342
7471
  baseOptions = configuration.baseOptions;
@@ -6379,7 +7508,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6379
7508
  // verify required parameter 'enable' is not null or undefined
6380
7509
  (0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
6381
7510
  localVarPath = "/tcx/installations/{instance_id}/failover/auto"
6382
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7511
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6383
7512
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6384
7513
  if (configuration) {
6385
7514
  baseOptions = configuration.baseOptions;
@@ -6422,7 +7551,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6422
7551
  // verify required parameter 'gigabytes' is not null or undefined
6423
7552
  (0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
6424
7553
  localVarPath = "/tcx/installations/{instance_id}/disk"
6425
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7554
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6426
7555
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6427
7556
  if (configuration) {
6428
7557
  baseOptions = configuration.baseOptions;
@@ -6468,7 +7597,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6468
7597
  // verify required parameter 'ipAddress' is not null or undefined
6469
7598
  (0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
6470
7599
  localVarPath = "/tcx/installations/{instance_id}/create/user/root"
6471
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7600
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6472
7601
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6473
7602
  if (configuration) {
6474
7603
  baseOptions = configuration.baseOptions;
@@ -6512,7 +7641,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6512
7641
  // verify required parameter 'instanceId' is not null or undefined
6513
7642
  (0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
6514
7643
  localVarPath = "/tcx/installations/{instance_id}/delete"
6515
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7644
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6516
7645
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6517
7646
  if (configuration) {
6518
7647
  baseOptions = configuration.baseOptions;
@@ -6553,7 +7682,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6553
7682
  // verify required parameter 'gigabytes' is not null or undefined
6554
7683
  (0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
6555
7684
  localVarPath = "/tcx/installations/{instance_id}/disk/extend"
6556
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7685
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6557
7686
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6558
7687
  if (configuration) {
6559
7688
  baseOptions = configuration.baseOptions;
@@ -6599,7 +7728,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6599
7728
  // verify required parameter 'type' is not null or undefined
6600
7729
  (0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
6601
7730
  localVarPath = "/tcx/installations/{instance_id}/failover"
6602
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7731
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6603
7732
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6604
7733
  if (configuration) {
6605
7734
  baseOptions = configuration.baseOptions;
@@ -6639,7 +7768,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6639
7768
  // verify required parameter 'sbcId' is not null or undefined
6640
7769
  (0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
6641
7770
  localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
6642
- .replace("{".concat("sbc_id", "}"), encodeURIComponent(String(sbcId)));
7771
+ .replace('{sbc_id}', encodeURIComponent(String(sbcId)));
6643
7772
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6644
7773
  if (configuration) {
6645
7774
  baseOptions = configuration.baseOptions;
@@ -6677,7 +7806,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6677
7806
  // verify required parameter 'instanceId' is not null or undefined
6678
7807
  (0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
6679
7808
  localVarPath = "/tcx/installations/{instance_id}/reboot"
6680
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7809
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6681
7810
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6682
7811
  if (configuration) {
6683
7812
  baseOptions = configuration.baseOptions;
@@ -6718,7 +7847,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6718
7847
  // verify required parameter 'size' is not null or undefined
6719
7848
  (0, common_1.assertParamExists)('postResizeInstance', 'size', size);
6720
7849
  localVarPath = "/tcx/installations/{instance_id}/resize"
6721
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7850
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6722
7851
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6723
7852
  if (configuration) {
6724
7853
  baseOptions = configuration.baseOptions;
@@ -6762,7 +7891,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6762
7891
  // verify required parameter 'instanceId' is not null or undefined
6763
7892
  (0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
6764
7893
  localVarPath = "/tcx/installations/{instance_id}/services/restart"
6765
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7894
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6766
7895
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6767
7896
  if (configuration) {
6768
7897
  baseOptions = configuration.baseOptions;
@@ -6803,7 +7932,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6803
7932
  // verify required parameter 'instanceId' is not null or undefined
6804
7933
  (0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
6805
7934
  localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
6806
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7935
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6807
7936
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6808
7937
  if (configuration) {
6809
7938
  baseOptions = configuration.baseOptions;
@@ -6844,7 +7973,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6844
7973
  // verify required parameter 'instanceId' is not null or undefined
6845
7974
  (0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
6846
7975
  localVarPath = "/tcx/installations/{instance_id}/suspend"
6847
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7976
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6848
7977
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6849
7978
  if (configuration) {
6850
7979
  baseOptions = configuration.baseOptions;
@@ -6884,7 +8013,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6884
8013
  // verify required parameter 'instanceId' is not null or undefined
6885
8014
  (0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
6886
8015
  localVarPath = "/tcx/installations/{instance_id}/tests/login"
6887
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8016
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6888
8017
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6889
8018
  if (configuration) {
6890
8019
  baseOptions = configuration.baseOptions;
@@ -6921,7 +8050,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6921
8050
  // verify required parameter 'instanceId' is not null or undefined
6922
8051
  (0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
6923
8052
  localVarPath = "/tcx/installations/{instance_id}/unsuspend"
6924
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8053
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6925
8054
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6926
8055
  if (configuration) {
6927
8056
  baseOptions = configuration.baseOptions;
@@ -6961,7 +8090,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
6961
8090
  // verify required parameter 'schedule' is not null or undefined
6962
8091
  (0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
6963
8092
  localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
6964
- .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
8093
+ .replace('{instance_id}', encodeURIComponent(String(instanceId)));
6965
8094
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6966
8095
  if (configuration) {
6967
8096
  baseOptions = configuration.baseOptions;
@@ -7002,7 +8131,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7002
8131
  // verify required parameter 'wizardId' is not null or undefined
7003
8132
  (0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
7004
8133
  localVarPath = "/tcx/installations/{wizard_id}/details"
7005
- .replace("{".concat("wizard_id", "}"), encodeURIComponent(String(wizardId)));
8134
+ .replace('{wizard_id}', encodeURIComponent(String(wizardId)));
7006
8135
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7007
8136
  if (configuration) {
7008
8137
  baseOptions = configuration.baseOptions;
@@ -7958,30 +9087,30 @@ exports.GetGetInstallationsStatusEnum = {
7958
9087
  Completed: 'Completed',
7959
9088
  Outstanding: 'Outstanding',
7960
9089
  Offline: 'Offline',
7961
- FailedOver: 'Failed Over'
9090
+ FailedOver: 'Failed Over',
7962
9091
  };
7963
9092
  exports.GetGetInstallationsHostingEnum = {
7964
9093
  Yellowgrid: 'yellowgrid',
7965
9094
  MultiTenant: 'multi-tenant',
7966
9095
  Onprem: 'onprem',
7967
- All: 'all'
9096
+ All: 'all',
7968
9097
  };
7969
9098
  exports.GetGetInstallationsInstallTypeEnum = {
7970
9099
  New: 'new',
7971
9100
  Restore: 'restore',
7972
9101
  Failover: 'failover',
7973
- MultiTenant: 'multi-tenant'
9102
+ MultiTenant: 'multi-tenant',
7974
9103
  };
7975
9104
  exports.PostFailoverInstanceTypeEnum = {
7976
9105
  Config: 'config',
7977
- Image: 'image'
9106
+ Image: 'image',
7978
9107
  };
7979
9108
  exports.PostResizeInstanceSizeEnum = {
7980
9109
  D24: 'd2-4',
7981
9110
  D28: 'd2-8',
7982
9111
  B230: 'b2-30',
7983
9112
  S2vcpu4gb: 's-2vcpu-4gb',
7984
- S4vcpu8gb: 's-4vcpu-8gb'
9113
+ S4vcpu8gb: 's-4vcpu-8gb',
7985
9114
  };
7986
9115
  /**
7987
9116
  * Class3CXIntegrationsApi - axios parameter creator
@@ -8136,8 +9265,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
8136
9265
  // verify required parameter 'ref' is not null or undefined
8137
9266
  (0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
8138
9267
  localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
8139
- .replace("{".concat("clientId", "}"), encodeURIComponent(String(clientId)))
8140
- .replace("{".concat("schoolId", "}"), encodeURIComponent(String(schoolId)));
9268
+ .replace('{clientId}', encodeURIComponent(String(clientId)))
9269
+ .replace('{schoolId}', encodeURIComponent(String(schoolId)));
8141
9270
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8142
9271
  if (configuration) {
8143
9272
  baseOptions = configuration.baseOptions;
@@ -8522,11 +9651,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
8522
9651
  exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
8523
9652
  exports.GetGetPriceLicenceTypeEnum = {
8524
9653
  Lite: 'lite',
8525
- Pro: 'pro'
9654
+ Pro: 'pro',
8526
9655
  };
8527
9656
  exports.GetGetPriceSchoolTypeEnum = {
8528
9657
  Primary: 'primary',
8529
- Secondary: 'secondary'
9658
+ Secondary: 'secondary',
8530
9659
  };
8531
9660
  /**
8532
9661
  * Class3CXMultiTenantApi - axios parameter creator
@@ -8553,7 +9682,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
8553
9682
  // verify required parameter 'reference' is not null or undefined
8554
9683
  (0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
8555
9684
  localVarPath = "/tcx/mt/tenants/{reference}"
8556
- .replace("{".concat("reference", "}"), encodeURIComponent(String(reference)));
9685
+ .replace('{reference}', encodeURIComponent(String(reference)));
8557
9686
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8558
9687
  if (configuration) {
8559
9688
  baseOptions = configuration.baseOptions;
@@ -8630,7 +9759,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
8630
9759
  // verify required parameter 'reference' is not null or undefined
8631
9760
  (0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
8632
9761
  localVarPath = "/tcx/mt/tenants/{reference}"
8633
- .replace("{".concat("reference", "}"), encodeURIComponent(String(reference)));
9762
+ .replace('{reference}', encodeURIComponent(String(reference)));
8634
9763
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8635
9764
  if (configuration) {
8636
9765
  baseOptions = configuration.baseOptions;
@@ -9247,7 +10376,7 @@ exports.GetGetTenantsStatusEnum = {
9247
10376
  Completed: 'Completed',
9248
10377
  Outstanding: 'Outstanding',
9249
10378
  Offline: 'Offline',
9250
- FailedOver: 'Failed Over'
10379
+ FailedOver: 'Failed Over',
9251
10380
  };
9252
10381
  /**
9253
10382
  * MyPBXToolsApi - axios parameter creator
@@ -9404,7 +10533,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9404
10533
  // verify required parameter 'id' is not null or undefined
9405
10534
  (0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
9406
10535
  localVarPath = "/admin/sip/numbers/ports/{id}"
9407
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10536
+ .replace('{id}', encodeURIComponent(String(id)));
9408
10537
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9409
10538
  if (configuration) {
9410
10539
  baseOptions = configuration.baseOptions;
@@ -9485,7 +10614,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9485
10614
  // verify required parameter 'id' is not null or undefined
9486
10615
  (0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
9487
10616
  localVarPath = "/admin/sip/numbers/ports/{id}"
9488
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10617
+ .replace('{id}', encodeURIComponent(String(id)));
9489
10618
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9490
10619
  if (configuration) {
9491
10620
  baseOptions = configuration.baseOptions;
@@ -9567,7 +10696,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9567
10696
  // verify required parameter 'id' is not null or undefined
9568
10697
  (0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
9569
10698
  localVarPath = "/sip/numbers/ports/{id}"
9570
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10699
+ .replace('{id}', encodeURIComponent(String(id)));
9571
10700
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9572
10701
  if (configuration) {
9573
10702
  baseOptions = configuration.baseOptions;
@@ -9604,7 +10733,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9604
10733
  // verify required parameter 'id' is not null or undefined
9605
10734
  (0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
9606
10735
  localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
9607
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10736
+ .replace('{id}', encodeURIComponent(String(id)));
9608
10737
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9609
10738
  if (configuration) {
9610
10739
  baseOptions = configuration.baseOptions;
@@ -9641,7 +10770,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9641
10770
  // verify required parameter 'id' is not null or undefined
9642
10771
  (0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
9643
10772
  localVarPath = "/admin/sip/numbers/ports/{id}/close"
9644
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10773
+ .replace('{id}', encodeURIComponent(String(id)));
9645
10774
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9646
10775
  if (configuration) {
9647
10776
  baseOptions = configuration.baseOptions;
@@ -9681,7 +10810,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9681
10810
  // verify required parameter 'numberPortAdminNoteBody' is not null or undefined
9682
10811
  (0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
9683
10812
  localVarPath = "/admin/sip/numbers/ports/{id}/notes"
9684
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10813
+ .replace('{id}', encodeURIComponent(String(id)));
9685
10814
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9686
10815
  if (configuration) {
9687
10816
  baseOptions = configuration.baseOptions;
@@ -9816,7 +10945,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9816
10945
  // verify required parameter 'id' is not null or undefined
9817
10946
  (0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
9818
10947
  localVarPath = "/sip/numbers/ports/{id}/submit"
9819
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
10948
+ .replace('{id}', encodeURIComponent(String(id)));
9820
10949
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9821
10950
  if (configuration) {
9822
10951
  baseOptions = configuration.baseOptions;
@@ -9904,7 +11033,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9904
11033
  // verify required parameter 'id' is not null or undefined
9905
11034
  (0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
9906
11035
  localVarPath = "/sip/numbers/ports/{id}"
9907
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11036
+ .replace('{id}', encodeURIComponent(String(id)));
9908
11037
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9909
11038
  if (configuration) {
9910
11039
  baseOptions = configuration.baseOptions;
@@ -9983,7 +11112,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
9983
11112
  // verify required parameter 'numberPortDTO' is not null or undefined
9984
11113
  (0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
9985
11114
  localVarPath = "/admin/sip/numbers/ports/{id}"
9986
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
11115
+ .replace('{id}', encodeURIComponent(String(id)));
9987
11116
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9988
11117
  if (configuration) {
9989
11118
  baseOptions = configuration.baseOptions;
@@ -10911,6 +12040,38 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
10911
12040
  });
10912
12041
  });
10913
12042
  },
12043
+ /**
12044
+ * Remove Oauth 2.0 Cookies
12045
+ * @param {*} [options] Override http request option.
12046
+ * @throws {RequiredError}
12047
+ */
12048
+ postLogout: function () {
12049
+ var args_1 = [];
12050
+ for (var _i = 0; _i < arguments.length; _i++) {
12051
+ args_1[_i] = arguments[_i];
12052
+ }
12053
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
12054
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12055
+ if (options === void 0) { options = {}; }
12056
+ return __generator(this, function (_a) {
12057
+ localVarPath = "/oauth2/logout";
12058
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12059
+ if (configuration) {
12060
+ baseOptions = configuration.baseOptions;
12061
+ }
12062
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
12063
+ localVarHeaderParameter = {};
12064
+ localVarQueryParameter = {};
12065
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12066
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12067
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12068
+ return [2 /*return*/, {
12069
+ url: (0, common_1.toPathString)(localVarUrlObj),
12070
+ options: localVarRequestOptions,
12071
+ }];
12072
+ });
12073
+ });
12074
+ },
10914
12075
  /**
10915
12076
  * Portal Login
10916
12077
  * @summary Portal Login
@@ -11086,6 +12247,27 @@ var OAuth20ApiFp = function (configuration) {
11086
12247
  });
11087
12248
  });
11088
12249
  },
12250
+ /**
12251
+ * Remove Oauth 2.0 Cookies
12252
+ * @param {*} [options] Override http request option.
12253
+ * @throws {RequiredError}
12254
+ */
12255
+ postLogout: function (options) {
12256
+ return __awaiter(this, void 0, void 0, function () {
12257
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
12258
+ var _a, _b, _c;
12259
+ return __generator(this, function (_d) {
12260
+ switch (_d.label) {
12261
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postLogout(options)];
12262
+ case 1:
12263
+ localVarAxiosArgs = _d.sent();
12264
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12265
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OAuth20Api.postLogout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12266
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
12267
+ }
12268
+ });
12269
+ });
12270
+ },
11089
12271
  /**
11090
12272
  * Portal Login
11091
12273
  * @summary Portal Login
@@ -11182,6 +12364,14 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
11182
12364
  postGetIdentity: function (options) {
11183
12365
  return localVarFp.postGetIdentity(options).then(function (request) { return request(axios, basePath); });
11184
12366
  },
12367
+ /**
12368
+ * Remove Oauth 2.0 Cookies
12369
+ * @param {*} [options] Override http request option.
12370
+ * @throws {RequiredError}
12371
+ */
12372
+ postLogout: function (options) {
12373
+ return localVarFp.postLogout(options).then(function (request) { return request(axios, basePath); });
12374
+ },
11185
12375
  /**
11186
12376
  * Portal Login
11187
12377
  * @summary Portal Login
@@ -11272,6 +12462,15 @@ var OAuth20Api = /** @class */ (function (_super) {
11272
12462
  var _this = this;
11273
12463
  return (0, exports.OAuth20ApiFp)(this.configuration).postGetIdentity(options).then(function (request) { return request(_this.axios, _this.basePath); });
11274
12464
  };
12465
+ /**
12466
+ * Remove Oauth 2.0 Cookies
12467
+ * @param {*} [options] Override http request option.
12468
+ * @throws {RequiredError}
12469
+ */
12470
+ OAuth20Api.prototype.postLogout = function (options) {
12471
+ var _this = this;
12472
+ return (0, exports.OAuth20ApiFp)(this.configuration).postLogout(options).then(function (request) { return request(_this.axios, _this.basePath); });
12473
+ };
11275
12474
  /**
11276
12475
  * Portal Login
11277
12476
  * @summary Portal Login
@@ -11293,7 +12492,7 @@ exports.PostAccessTokenGrantTypeEnum = {
11293
12492
  AuthorizationCode: 'authorization_code',
11294
12493
  MsAuth: 'ms_auth',
11295
12494
  TokenExchange: 'token_exchange',
11296
- Password: 'password'
12495
+ Password: 'password',
11297
12496
  };
11298
12497
  exports.PostAccessTokenScopeEnum = {
11299
12498
  Star: '*',
@@ -11323,11 +12522,11 @@ exports.PostAccessTokenScopeEnum = {
11323
12522
  TcxMtRead: 'tcx_mt.read',
11324
12523
  TcxMtWrite: 'tcx_mt.write',
11325
12524
  TicketsRead: 'tickets.read',
11326
- TicketsWrite: 'tickets.write'
12525
+ TicketsWrite: 'tickets.write',
11327
12526
  };
11328
12527
  exports.PostAccessTokenTokenExchangeTypeEnum = {
11329
12528
  TcxWizard: 'tcx_wizard',
11330
- Portal: 'portal'
12529
+ Portal: 'portal',
11331
12530
  };
11332
12531
  exports.PostAuthoriseScopeEnum = {
11333
12532
  Star: '*',
@@ -11357,7 +12556,7 @@ exports.PostAuthoriseScopeEnum = {
11357
12556
  TcxMtRead: 'tcx_mt.read',
11358
12557
  TcxMtWrite: 'tcx_mt.write',
11359
12558
  TicketsRead: 'tickets.read',
11360
- TicketsWrite: 'tickets.write'
12559
+ TicketsWrite: 'tickets.write',
11361
12560
  };
11362
12561
  /**
11363
12562
  * OrdersApi - axios parameter creator
@@ -11386,8 +12585,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11386
12585
  // verify required parameter 'batchId' is not null or undefined
11387
12586
  (0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
11388
12587
  localVarPath = "/admin/orders/{id}/batches/{batch_id}"
11389
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11390
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
12588
+ .replace('{id}', encodeURIComponent(String(id)))
12589
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
11391
12590
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11392
12591
  if (configuration) {
11393
12592
  baseOptions = configuration.baseOptions;
@@ -11424,7 +12623,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11424
12623
  // verify required parameter 'id' is not null or undefined
11425
12624
  (0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
11426
12625
  localVarPath = "/orders/{id}"
11427
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12626
+ .replace('{id}', encodeURIComponent(String(id)));
11428
12627
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11429
12628
  if (configuration) {
11430
12629
  baseOptions = configuration.baseOptions;
@@ -11467,9 +12666,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11467
12666
  // verify required parameter 'shipmentId' is not null or undefined
11468
12667
  (0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
11469
12668
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
11470
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11471
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
11472
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
12669
+ .replace('{id}', encodeURIComponent(String(id)))
12670
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
12671
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
11473
12672
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11474
12673
  if (configuration) {
11475
12674
  baseOptions = configuration.baseOptions;
@@ -11506,7 +12705,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11506
12705
  // verify required parameter 'id' is not null or undefined
11507
12706
  (0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
11508
12707
  localVarPath = "/admin/orders/{id}/views/editable"
11509
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12708
+ .replace('{id}', encodeURIComponent(String(id)));
11510
12709
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11511
12710
  if (configuration) {
11512
12711
  baseOptions = configuration.baseOptions;
@@ -11544,7 +12743,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11544
12743
  // verify required parameter 'id' is not null or undefined
11545
12744
  (0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
11546
12745
  localVarPath = "/admin/orders/{id}/details"
11547
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12746
+ .replace('{id}', encodeURIComponent(String(id)));
11548
12747
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11549
12748
  if (configuration) {
11550
12749
  baseOptions = configuration.baseOptions;
@@ -11588,9 +12787,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11588
12787
  // verify required parameter 'shipmentId' is not null or undefined
11589
12788
  (0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
11590
12789
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
11591
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11592
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
11593
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
12790
+ .replace('{id}', encodeURIComponent(String(id)))
12791
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
12792
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
11594
12793
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11595
12794
  if (configuration) {
11596
12795
  baseOptions = configuration.baseOptions;
@@ -11628,7 +12827,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11628
12827
  // verify required parameter 'id' is not null or undefined
11629
12828
  (0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
11630
12829
  localVarPath = "/orders/{id}/views/editable"
11631
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12830
+ .replace('{id}', encodeURIComponent(String(id)));
11632
12831
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11633
12832
  if (configuration) {
11634
12833
  baseOptions = configuration.baseOptions;
@@ -11669,8 +12868,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11669
12868
  // verify required parameter 'itemId' is not null or undefined
11670
12869
  (0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
11671
12870
  localVarPath = "/admin/orders/{id}/items/{item_id}/info"
11672
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11673
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
12871
+ .replace('{id}', encodeURIComponent(String(id)))
12872
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
11674
12873
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11675
12874
  if (configuration) {
11676
12875
  baseOptions = configuration.baseOptions;
@@ -11708,7 +12907,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11708
12907
  // verify required parameter 'id' is not null or undefined
11709
12908
  (0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
11710
12909
  localVarPath = "/orders/{id}/pdf"
11711
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12910
+ .replace('{id}', encodeURIComponent(String(id)));
11712
12911
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11713
12912
  if (configuration) {
11714
12913
  baseOptions = configuration.baseOptions;
@@ -11746,7 +12945,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11746
12945
  // verify required parameter 'id' is not null or undefined
11747
12946
  (0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
11748
12947
  localVarPath = "/admin/orders/{id}/summary"
11749
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
12948
+ .replace('{id}', encodeURIComponent(String(id)));
11750
12949
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11751
12950
  if (configuration) {
11752
12951
  baseOptions = configuration.baseOptions;
@@ -11846,7 +13045,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11846
13045
  // verify required parameter 'id' is not null or undefined
11847
13046
  (0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
11848
13047
  localVarPath = "/admin/orders/{id}/complete"
11849
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13048
+ .replace('{id}', encodeURIComponent(String(id)));
11850
13049
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11851
13050
  if (configuration) {
11852
13051
  baseOptions = configuration.baseOptions;
@@ -11885,7 +13084,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11885
13084
  // verify required parameter 'id' is not null or undefined
11886
13085
  (0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
11887
13086
  localVarPath = "/admin/orders/{id}/notes"
11888
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13087
+ .replace('{id}', encodeURIComponent(String(id)));
11889
13088
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11890
13089
  if (configuration) {
11891
13090
  baseOptions = configuration.baseOptions;
@@ -11970,8 +13169,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11970
13169
  // verify required parameter 'shipmentId' is not null or undefined
11971
13170
  (0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
11972
13171
  localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
11973
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
11974
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13172
+ .replace('{id}', encodeURIComponent(String(id)))
13173
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
11975
13174
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11976
13175
  if (configuration) {
11977
13176
  baseOptions = configuration.baseOptions;
@@ -11992,6 +13191,43 @@ var OrdersApiAxiosParamCreator = function (configuration) {
11992
13191
  });
11993
13192
  });
11994
13193
  },
13194
+ /**
13195
+ * Create an order via the legacy portal
13196
+ * @summary Create an order via the legacy portal
13197
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
13198
+ * @param {*} [options] Override http request option.
13199
+ * @throws {RequiredError}
13200
+ */
13201
+ postCreatePortalOrderLegacy: function (orderDTO_1) {
13202
+ var args_1 = [];
13203
+ for (var _i = 1; _i < arguments.length; _i++) {
13204
+ args_1[_i - 1] = arguments[_i];
13205
+ }
13206
+ return __awaiter(_this, __spreadArray([orderDTO_1], args_1, true), void 0, function (orderDTO, options) {
13207
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
13208
+ if (options === void 0) { options = {}; }
13209
+ return __generator(this, function (_a) {
13210
+ localVarPath = "/orders/portal/legacy";
13211
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13212
+ if (configuration) {
13213
+ baseOptions = configuration.baseOptions;
13214
+ }
13215
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
13216
+ localVarHeaderParameter = {};
13217
+ localVarQueryParameter = {};
13218
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13219
+ localVarHeaderParameter['Accept'] = 'application/json';
13220
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13221
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13222
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13223
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(orderDTO, localVarRequestOptions, configuration);
13224
+ return [2 /*return*/, {
13225
+ url: (0, common_1.toPathString)(localVarUrlObj),
13226
+ options: localVarRequestOptions,
13227
+ }];
13228
+ });
13229
+ });
13230
+ },
11995
13231
  /**
11996
13232
  * Create Shipment (Admin)
11997
13233
  * @summary Create Shipment (Admin)
@@ -12015,8 +13251,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12015
13251
  // verify required parameter 'batchId' is not null or undefined
12016
13252
  (0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
12017
13253
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
12018
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12019
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13254
+ .replace('{id}', encodeURIComponent(String(id)))
13255
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
12020
13256
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12021
13257
  if (configuration) {
12022
13258
  baseOptions = configuration.baseOptions;
@@ -12098,7 +13334,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12098
13334
  // verify required parameter 'id' is not null or undefined
12099
13335
  (0, common_1.assertParamExists)('postIssueCredit', 'id', id);
12100
13336
  localVarPath = "/admin/orders/{id}/credit"
12101
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13337
+ .replace('{id}', encodeURIComponent(String(id)));
12102
13338
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12103
13339
  if (configuration) {
12104
13340
  baseOptions = configuration.baseOptions;
@@ -12144,8 +13380,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12144
13380
  // verify required parameter 'printer' is not null or undefined
12145
13381
  (0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
12146
13382
  localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
12147
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12148
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13383
+ .replace('{id}', encodeURIComponent(String(id)))
13384
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12149
13385
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12150
13386
  if (configuration) {
12151
13387
  baseOptions = configuration.baseOptions;
@@ -12189,8 +13425,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12189
13425
  // verify required parameter 'batchId' is not null or undefined
12190
13426
  (0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
12191
13427
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
12192
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12193
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13428
+ .replace('{id}', encodeURIComponent(String(id)))
13429
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
12194
13430
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12195
13431
  if (configuration) {
12196
13432
  baseOptions = configuration.baseOptions;
@@ -12231,7 +13467,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12231
13467
  // verify required parameter 'email' is not null or undefined
12232
13468
  (0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
12233
13469
  localVarPath = "/admin/orders/{id}/email/send"
12234
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13470
+ .replace('{id}', encodeURIComponent(String(id)));
12235
13471
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12236
13472
  if (configuration) {
12237
13473
  baseOptions = configuration.baseOptions;
@@ -12280,9 +13516,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12280
13516
  // verify required parameter 'email' is not null or undefined
12281
13517
  (0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
12282
13518
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
12283
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12284
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12285
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13519
+ .replace('{id}', encodeURIComponent(String(id)))
13520
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13521
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12286
13522
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12287
13523
  if (configuration) {
12288
13524
  baseOptions = configuration.baseOptions;
@@ -12325,8 +13561,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12325
13561
  // verify required parameter 'batchId' is not null or undefined
12326
13562
  (0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
12327
13563
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
12328
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12329
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)));
13564
+ .replace('{id}', encodeURIComponent(String(id)))
13565
+ .replace('{batch_id}', encodeURIComponent(String(batchId)));
12330
13566
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12331
13567
  if (configuration) {
12332
13568
  baseOptions = configuration.baseOptions;
@@ -12364,7 +13600,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12364
13600
  // verify required parameter 'id' is not null or undefined
12365
13601
  (0, common_1.assertParamExists)('postSplitOrder', 'id', id);
12366
13602
  localVarPath = "/admin/orders/{id}/split"
12367
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13603
+ .replace('{id}', encodeURIComponent(String(id)));
12368
13604
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12369
13605
  if (configuration) {
12370
13606
  baseOptions = configuration.baseOptions;
@@ -12408,7 +13644,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12408
13644
  // verify required parameter 'supplierId' is not null or undefined
12409
13645
  (0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
12410
13646
  localVarPath = "/admin/orders/{id}/items/allocate"
12411
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13647
+ .replace('{id}', encodeURIComponent(String(id)));
12412
13648
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12413
13649
  if (configuration) {
12414
13650
  baseOptions = configuration.baseOptions;
@@ -12453,7 +13689,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12453
13689
  // verify required parameter 'id' is not null or undefined
12454
13690
  (0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
12455
13691
  localVarPath = "/admin/orders/{id}"
12456
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13692
+ .replace('{id}', encodeURIComponent(String(id)));
12457
13693
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12458
13694
  if (configuration) {
12459
13695
  baseOptions = configuration.baseOptions;
@@ -12503,9 +13739,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12503
13739
  // verify required parameter 'itemId' is not null or undefined
12504
13740
  (0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
12505
13741
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
12506
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12507
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12508
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
13742
+ .replace('{id}', encodeURIComponent(String(id)))
13743
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13744
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
12509
13745
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12510
13746
  if (configuration) {
12511
13747
  baseOptions = configuration.baseOptions;
@@ -12547,7 +13783,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12547
13783
  // verify required parameter 'id' is not null or undefined
12548
13784
  (0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
12549
13785
  localVarPath = "/orders/{id}"
12550
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13786
+ .replace('{id}', encodeURIComponent(String(id)));
12551
13787
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12552
13788
  if (configuration) {
12553
13789
  baseOptions = configuration.baseOptions;
@@ -12593,7 +13829,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12593
13829
  // verify required parameter 'paid' is not null or undefined
12594
13830
  (0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
12595
13831
  localVarPath = "/admin/orders/{id}/paid"
12596
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
13832
+ .replace('{id}', encodeURIComponent(String(id)));
12597
13833
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12598
13834
  if (configuration) {
12599
13835
  baseOptions = configuration.baseOptions;
@@ -12641,9 +13877,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
12641
13877
  // verify required parameter 'shipmentId' is not null or undefined
12642
13878
  (0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
12643
13879
  localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
12644
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
12645
- .replace("{".concat("batch_id", "}"), encodeURIComponent(String(batchId)))
12646
- .replace("{".concat("shipment_id", "}"), encodeURIComponent(String(shipmentId)));
13880
+ .replace('{id}', encodeURIComponent(String(id)))
13881
+ .replace('{batch_id}', encodeURIComponent(String(batchId)))
13882
+ .replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
12647
13883
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12648
13884
  if (configuration) {
12649
13885
  baseOptions = configuration.baseOptions;
@@ -13033,6 +14269,29 @@ var OrdersApiFp = function (configuration) {
13033
14269
  });
13034
14270
  });
13035
14271
  },
14272
+ /**
14273
+ * Create an order via the legacy portal
14274
+ * @summary Create an order via the legacy portal
14275
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
14276
+ * @param {*} [options] Override http request option.
14277
+ * @throws {RequiredError}
14278
+ */
14279
+ postCreatePortalOrderLegacy: function (orderDTO, options) {
14280
+ return __awaiter(this, void 0, void 0, function () {
14281
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
14282
+ var _a, _b, _c;
14283
+ return __generator(this, function (_d) {
14284
+ switch (_d.label) {
14285
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreatePortalOrderLegacy(orderDTO, options)];
14286
+ case 1:
14287
+ localVarAxiosArgs = _d.sent();
14288
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14289
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreatePortalOrderLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14290
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
14291
+ }
14292
+ });
14293
+ });
14294
+ },
13036
14295
  /**
13037
14296
  * Create Shipment (Admin)
13038
14297
  * @summary Create Shipment (Admin)
@@ -13578,6 +14837,16 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
13578
14837
  postCreateConsignment: function (id, shipmentId, shippingRequestDTO, options) {
13579
14838
  return localVarFp.postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(axios, basePath); });
13580
14839
  },
14840
+ /**
14841
+ * Create an order via the legacy portal
14842
+ * @summary Create an order via the legacy portal
14843
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
14844
+ * @param {*} [options] Override http request option.
14845
+ * @throws {RequiredError}
14846
+ */
14847
+ postCreatePortalOrderLegacy: function (orderDTO, options) {
14848
+ return localVarFp.postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(axios, basePath); });
14849
+ },
13581
14850
  /**
13582
14851
  * Create Shipment (Admin)
13583
14852
  * @summary Create Shipment (Admin)
@@ -13945,6 +15214,17 @@ var OrdersApi = /** @class */ (function (_super) {
13945
15214
  var _this = this;
13946
15215
  return (0, exports.OrdersApiFp)(this.configuration).postCreateConsignment(id, shipmentId, shippingRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
13947
15216
  };
15217
+ /**
15218
+ * Create an order via the legacy portal
15219
+ * @summary Create an order via the legacy portal
15220
+ * @param {OrderDTO} [orderDTO] Legacy Portal Order
15221
+ * @param {*} [options] Override http request option.
15222
+ * @throws {RequiredError}
15223
+ */
15224
+ OrdersApi.prototype.postCreatePortalOrderLegacy = function (orderDTO, options) {
15225
+ var _this = this;
15226
+ return (0, exports.OrdersApiFp)(this.configuration).postCreatePortalOrderLegacy(orderDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
15227
+ };
13948
15228
  /**
13949
15229
  * Create Shipment (Admin)
13950
15230
  * @summary Create Shipment (Admin)
@@ -14143,18 +15423,18 @@ exports.GetGetOrdersStatusEnum = {
14143
15423
  Paid: 'PAID',
14144
15424
  InvoicePaid: 'INVOICE_PAID',
14145
15425
  Unpaid: 'UNPAID',
14146
- Quote: 'QUOTE'
15426
+ Quote: 'QUOTE',
14147
15427
  };
14148
15428
  exports.GetGetOrdersFilterEnum = {
14149
15429
  Outstanding: 'OUTSTANDING',
14150
15430
  Quotes: 'QUOTES',
14151
15431
  All: 'ALL',
14152
- BackOrders: 'BACK_ORDERS'
15432
+ BackOrders: 'BACK_ORDERS',
14153
15433
  };
14154
15434
  exports.PostPrintShippingLabelPrinterEnum = {
14155
15435
  NUMBER_1: 1,
14156
15436
  NUMBER_2: 2,
14157
- NUMBER_3: 3
15437
+ NUMBER_3: 3,
14158
15438
  };
14159
15439
  /**
14160
15440
  * PricingApi - axios parameter creator
@@ -14427,14 +15707,14 @@ exports.GetGetPriceListTypeEnum = {
14427
15707
  EdTechPro: 'EdTechPro',
14428
15708
  Sms: 'SMS',
14429
15709
  SipTrunks: 'SIP Trunks',
14430
- CrmIntegrations: 'CRM Integrations'
15710
+ CrmIntegrations: 'CRM Integrations',
14431
15711
  };
14432
15712
  exports.GetGetPriceListFormatEnum = {
14433
15713
  Pdf: 'pdf',
14434
15714
  Json: 'json',
14435
15715
  Csv: 'csv',
14436
15716
  Xml: 'xml',
14437
- Html: 'html'
15717
+ Html: 'html',
14438
15718
  };
14439
15719
  exports.GetGetPriceListCategoryEnum = {
14440
15720
  Yealink: 'Yealink',
@@ -14456,7 +15736,7 @@ exports.GetGetPriceListCategoryEnum = {
14456
15736
  FanvilWirelessPhones: 'Fanvil Wireless Phones',
14457
15737
  FanvilSecurityProducts: 'Fanvil Security Products',
14458
15738
  FanvilAccessories: 'Fanvil Accessories',
14459
- FanvilHotelPhones: 'Fanvil Hotel Phones'
15739
+ FanvilHotelPhones: 'Fanvil Hotel Phones',
14460
15740
  };
14461
15741
  exports.PostSendPriceListTypeEnum = {
14462
15742
  Products: 'Products',
@@ -14467,14 +15747,14 @@ exports.PostSendPriceListTypeEnum = {
14467
15747
  EdTechPro: 'EdTechPro',
14468
15748
  Sms: 'SMS',
14469
15749
  SipTrunks: 'SIP Trunks',
14470
- CrmIntegrations: 'CRM Integrations'
15750
+ CrmIntegrations: 'CRM Integrations',
14471
15751
  };
14472
15752
  exports.PostSendPriceListFormatEnum = {
14473
15753
  Pdf: 'pdf',
14474
15754
  Json: 'json',
14475
15755
  Csv: 'csv',
14476
15756
  Xml: 'xml',
14477
- Html: 'html'
15757
+ Html: 'html',
14478
15758
  };
14479
15759
  exports.PostSendPriceListCategoryEnum = {
14480
15760
  Yealink: 'Yealink',
@@ -14496,7 +15776,7 @@ exports.PostSendPriceListCategoryEnum = {
14496
15776
  FanvilWirelessPhones: 'Fanvil Wireless Phones',
14497
15777
  FanvilSecurityProducts: 'Fanvil Security Products',
14498
15778
  FanvilAccessories: 'Fanvil Accessories',
14499
- FanvilHotelPhones: 'Fanvil Hotel Phones'
15779
+ FanvilHotelPhones: 'Fanvil Hotel Phones',
14500
15780
  };
14501
15781
  /**
14502
15782
  * ProductsApi - axios parameter creator
@@ -14783,7 +16063,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
14783
16063
  // verify required parameter 'quantity' is not null or undefined
14784
16064
  (0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
14785
16065
  localVarPath = "/products/{sku}/stock/add"
14786
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16066
+ .replace('{sku}', encodeURIComponent(String(sku)));
14787
16067
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14788
16068
  if (configuration) {
14789
16069
  baseOptions = configuration.baseOptions;
@@ -14808,25 +16088,25 @@ var ProductsApiAxiosParamCreator = function (configuration) {
14808
16088
  * Get Product
14809
16089
  * @summary Get Product
14810
16090
  * @param {string} sku Product SKU
14811
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16091
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
14812
16092
  * @param {*} [options] Override http request option.
14813
16093
  * @throws {RequiredError}
14814
16094
  */
14815
- postGetProduct: function (sku_1, postGetProductRequest_1) {
16095
+ postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
14816
16096
  var args_1 = [];
14817
16097
  for (var _i = 2; _i < arguments.length; _i++) {
14818
16098
  args_1[_i - 2] = arguments[_i];
14819
16099
  }
14820
- return __awaiter(_this, __spreadArray([sku_1, postGetProductRequest_1], args_1, true), void 0, function (sku, postGetProductRequest, options) {
16100
+ return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
14821
16101
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
14822
16102
  if (options === void 0) { options = {}; }
14823
16103
  return __generator(this, function (_a) {
14824
16104
  // verify required parameter 'sku' is not null or undefined
14825
16105
  (0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
14826
- // verify required parameter 'postGetProductRequest' is not null or undefined
14827
- (0, common_1.assertParamExists)('postGetProduct', 'postGetProductRequest', postGetProductRequest);
16106
+ // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
16107
+ (0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
14828
16108
  localVarPath = "/products/{sku}"
14829
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16109
+ .replace('{sku}', encodeURIComponent(String(sku)));
14830
16110
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14831
16111
  if (configuration) {
14832
16112
  baseOptions = configuration.baseOptions;
@@ -14839,7 +16119,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
14839
16119
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14840
16120
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14841
16121
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14842
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductRequest, localVarRequestOptions, configuration);
16122
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
14843
16123
  return [2 /*return*/, {
14844
16124
  url: (0, common_1.toPathString)(localVarUrlObj),
14845
16125
  options: localVarRequestOptions,
@@ -14872,7 +16152,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
14872
16152
  // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
14873
16153
  (0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
14874
16154
  localVarPath = "/admin/products/{sku}"
14875
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
16155
+ .replace('{sku}', encodeURIComponent(String(sku)));
14876
16156
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14877
16157
  if (configuration) {
14878
16158
  baseOptions = configuration.baseOptions;
@@ -15092,17 +16372,17 @@ var ProductsApiFp = function (configuration) {
15092
16372
  * Get Product
15093
16373
  * @summary Get Product
15094
16374
  * @param {string} sku Product SKU
15095
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16375
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15096
16376
  * @param {*} [options] Override http request option.
15097
16377
  * @throws {RequiredError}
15098
16378
  */
15099
- postGetProduct: function (sku, postGetProductRequest, options) {
16379
+ postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
15100
16380
  return __awaiter(this, void 0, void 0, function () {
15101
16381
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
15102
16382
  var _a, _b, _c;
15103
16383
  return __generator(this, function (_d) {
15104
16384
  switch (_d.label) {
15105
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductRequest, options)];
16385
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
15106
16386
  case 1:
15107
16387
  localVarAxiosArgs = _d.sent();
15108
16388
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -15229,12 +16509,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
15229
16509
  * Get Product
15230
16510
  * @summary Get Product
15231
16511
  * @param {string} sku Product SKU
15232
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16512
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15233
16513
  * @param {*} [options] Override http request option.
15234
16514
  * @throws {RequiredError}
15235
16515
  */
15236
- postGetProduct: function (sku, postGetProductRequest, options) {
15237
- return localVarFp.postGetProduct(sku, postGetProductRequest, options).then(function (request) { return request(axios, basePath); });
16516
+ postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
16517
+ return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
15238
16518
  },
15239
16519
  /**
15240
16520
  * Get Product For Customer
@@ -15350,13 +16630,13 @@ var ProductsApi = /** @class */ (function (_super) {
15350
16630
  * Get Product
15351
16631
  * @summary Get Product
15352
16632
  * @param {string} sku Product SKU
15353
- * @param {PostGetProductRequest} postGetProductRequest Product search criteria
16633
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15354
16634
  * @param {*} [options] Override http request option.
15355
16635
  * @throws {RequiredError}
15356
16636
  */
15357
- ProductsApi.prototype.postGetProduct = function (sku, postGetProductRequest, options) {
16637
+ ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
15358
16638
  var _this = this;
15359
- return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
16639
+ return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
15360
16640
  };
15361
16641
  /**
15362
16642
  * Get Product For Customer
@@ -15376,7 +16656,7 @@ var ProductsApi = /** @class */ (function (_super) {
15376
16656
  exports.ProductsApi = ProductsApi;
15377
16657
  exports.GetGetLegacyStockListFormatEnum = {
15378
16658
  Xml: 'XML',
15379
- Csv: 'CSV'
16659
+ Csv: 'CSV',
15380
16660
  };
15381
16661
  /**
15382
16662
  * ProspectsApi - axios parameter creator
@@ -15403,7 +16683,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
15403
16683
  // verify required parameter 'xeroId' is not null or undefined
15404
16684
  (0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
15405
16685
  localVarPath = "/accounts/prospects/{xero_id}"
15406
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
16686
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
15407
16687
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15408
16688
  if (configuration) {
15409
16689
  baseOptions = configuration.baseOptions;
@@ -15478,7 +16758,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
15478
16758
  // verify required parameter 'status' is not null or undefined
15479
16759
  (0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
15480
16760
  localVarPath = "/accounts/prospects/{xero_id}/remove"
15481
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
16761
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
15482
16762
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15483
16763
  if (configuration) {
15484
16764
  baseOptions = configuration.baseOptions;
@@ -15522,7 +16802,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
15522
16802
  // verify required parameter 'date' is not null or undefined
15523
16803
  (0, common_1.assertParamExists)('getSetCallback', 'date', date);
15524
16804
  localVarPath = "/accounts/prospects/{xero_id}/date"
15525
- .replace("{".concat("xero_id", "}"), encodeURIComponent(String(xeroId)));
16805
+ .replace('{xero_id}', encodeURIComponent(String(xeroId)));
15526
16806
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15527
16807
  if (configuration) {
15528
16808
  baseOptions = configuration.baseOptions;
@@ -15783,8 +17063,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
15783
17063
  // verify required parameter 'mac' is not null or undefined
15784
17064
  (0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
15785
17065
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
15786
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
15787
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17066
+ .replace('{id}', encodeURIComponent(String(id)))
17067
+ .replace('{mac}', encodeURIComponent(String(mac)));
15788
17068
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15789
17069
  if (configuration) {
15790
17070
  baseOptions = configuration.baseOptions;
@@ -15821,7 +17101,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
15821
17101
  // verify required parameter 'id' is not null or undefined
15822
17102
  (0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
15823
17103
  localVarPath = "/provisioning/fanvil/groups/{id}"
15824
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17104
+ .replace('{id}', encodeURIComponent(String(id)));
15825
17105
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15826
17106
  if (configuration) {
15827
17107
  baseOptions = configuration.baseOptions;
@@ -15861,8 +17141,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
15861
17141
  // verify required parameter 'mac' is not null or undefined
15862
17142
  (0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
15863
17143
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
15864
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
15865
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17144
+ .replace('{id}', encodeURIComponent(String(id)))
17145
+ .replace('{mac}', encodeURIComponent(String(mac)));
15866
17146
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15867
17147
  if (configuration) {
15868
17148
  baseOptions = configuration.baseOptions;
@@ -15900,7 +17180,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
15900
17180
  // verify required parameter 'id' is not null or undefined
15901
17181
  (0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
15902
17182
  localVarPath = "/provisioning/fanvil/groups/{id}/macs"
15903
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17183
+ .replace('{id}', encodeURIComponent(String(id)));
15904
17184
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15905
17185
  if (configuration) {
15906
17186
  baseOptions = configuration.baseOptions;
@@ -16016,8 +17296,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
16016
17296
  // verify required parameter 'mac' is not null or undefined
16017
17297
  (0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
16018
17298
  localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
16019
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
16020
- .replace("{".concat("mac", "}"), encodeURIComponent(String(mac)));
17299
+ .replace('{id}', encodeURIComponent(String(id)))
17300
+ .replace('{mac}', encodeURIComponent(String(mac)));
16021
17301
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16022
17302
  if (configuration) {
16023
17303
  baseOptions = configuration.baseOptions;
@@ -16409,7 +17689,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16409
17689
  // verify required parameter 'id' is not null or undefined
16410
17690
  (0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
16411
17691
  localVarPath = "/sip/trunks/{id}"
16412
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17692
+ .replace('{id}', encodeURIComponent(String(id)));
16413
17693
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16414
17694
  if (configuration) {
16415
17695
  baseOptions = configuration.baseOptions;
@@ -16447,7 +17727,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16447
17727
  // verify required parameter 'id' is not null or undefined
16448
17728
  (0, common_1.assertParamExists)('getCanDivert', 'id', id);
16449
17729
  localVarPath = "/sip/trunks/{id}/diverts/allowed"
16450
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17730
+ .replace('{id}', encodeURIComponent(String(id)));
16451
17731
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16452
17732
  if (configuration) {
16453
17733
  baseOptions = configuration.baseOptions;
@@ -16485,7 +17765,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16485
17765
  // verify required parameter 'id' is not null or undefined
16486
17766
  (0, common_1.assertParamExists)('getGetAddress', 'id', id);
16487
17767
  localVarPath = "/sip/trunks/{id}/address"
16488
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17768
+ .replace('{id}', encodeURIComponent(String(id)));
16489
17769
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16490
17770
  if (configuration) {
16491
17771
  baseOptions = configuration.baseOptions;
@@ -16594,7 +17874,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16594
17874
  // verify required parameter 'id' is not null or undefined
16595
17875
  (0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
16596
17876
  localVarPath = "/sip/trunks/{id}/cli/flexibility"
16597
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17877
+ .replace('{id}', encodeURIComponent(String(id)));
16598
17878
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16599
17879
  if (configuration) {
16600
17880
  baseOptions = configuration.baseOptions;
@@ -16632,7 +17912,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16632
17912
  // verify required parameter 'id' is not null or undefined
16633
17913
  (0, common_1.assertParamExists)('getGetDdis', 'id', id);
16634
17914
  localVarPath = "/sip/trunks/{id}/ddis"
16635
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17915
+ .replace('{id}', encodeURIComponent(String(id)));
16636
17916
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16637
17917
  if (configuration) {
16638
17918
  baseOptions = configuration.baseOptions;
@@ -16671,7 +17951,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16671
17951
  // verify required parameter 'id' is not null or undefined
16672
17952
  (0, common_1.assertParamExists)('getGetDiverts', 'id', id);
16673
17953
  localVarPath = "/sip/trunks/{id}/diverts"
16674
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17954
+ .replace('{id}', encodeURIComponent(String(id)));
16675
17955
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16676
17956
  if (configuration) {
16677
17957
  baseOptions = configuration.baseOptions;
@@ -16712,7 +17992,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16712
17992
  // verify required parameter 'id' is not null or undefined
16713
17993
  (0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
16714
17994
  localVarPath = "/sip/trunks/{id}"
16715
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
17995
+ .replace('{id}', encodeURIComponent(String(id)));
16716
17996
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16717
17997
  if (configuration) {
16718
17998
  baseOptions = configuration.baseOptions;
@@ -16799,7 +18079,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16799
18079
  // verify required parameter 'enabled' is not null or undefined
16800
18080
  (0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
16801
18081
  localVarPath = "/sip/trunks/{id}/cli/flexibility"
16802
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18082
+ .replace('{id}', encodeURIComponent(String(id)));
16803
18083
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16804
18084
  if (configuration) {
16805
18085
  baseOptions = configuration.baseOptions;
@@ -16840,7 +18120,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16840
18120
  // verify required parameter 'id' is not null or undefined
16841
18121
  (0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
16842
18122
  localVarPath = "/sip/trunks/{id}/available"
16843
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18123
+ .replace('{id}', encodeURIComponent(String(id)));
16844
18124
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16845
18125
  if (configuration) {
16846
18126
  baseOptions = configuration.baseOptions;
@@ -16881,7 +18161,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16881
18161
  // verify required parameter 'ownerId' is not null or undefined
16882
18162
  (0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
16883
18163
  localVarPath = "/sip/trunks/{id}/owner"
16884
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18164
+ .replace('{id}', encodeURIComponent(String(id)));
16885
18165
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16886
18166
  if (configuration) {
16887
18167
  baseOptions = configuration.baseOptions;
@@ -16927,7 +18207,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16927
18207
  // verify required parameter 'channels' is not null or undefined
16928
18208
  (0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
16929
18209
  localVarPath = "/sip/trunks/{id}/channels"
16930
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18210
+ .replace('{id}', encodeURIComponent(String(id)));
16931
18211
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16932
18212
  if (configuration) {
16933
18213
  baseOptions = configuration.baseOptions;
@@ -16971,7 +18251,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
16971
18251
  // verify required parameter 'company' is not null or undefined
16972
18252
  (0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
16973
18253
  localVarPath = "/sip/trunks/{id}/company"
16974
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18254
+ .replace('{id}', encodeURIComponent(String(id)));
16975
18255
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16976
18256
  if (configuration) {
16977
18257
  baseOptions = configuration.baseOptions;
@@ -17015,7 +18295,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17015
18295
  // verify required parameter 'number' is not null or undefined
17016
18296
  (0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
17017
18297
  localVarPath = "/sip/trunks/{id}/number"
17018
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18298
+ .replace('{id}', encodeURIComponent(String(id)));
17019
18299
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17020
18300
  if (configuration) {
17021
18301
  baseOptions = configuration.baseOptions;
@@ -17059,7 +18339,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17059
18339
  // verify required parameter 'ipAddress' is not null or undefined
17060
18340
  (0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
17061
18341
  localVarPath = "/sip/trunks/{id}/pbx/ip"
17062
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18342
+ .replace('{id}', encodeURIComponent(String(id)));
17063
18343
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17064
18344
  if (configuration) {
17065
18345
  baseOptions = configuration.baseOptions;
@@ -17101,7 +18381,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17101
18381
  // verify required parameter 'id' is not null or undefined
17102
18382
  (0, common_1.assertParamExists)('postGetDdis', 'id', id);
17103
18383
  localVarPath = "/sip/trunks/{id}/ddis"
17104
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18384
+ .replace('{id}', encodeURIComponent(String(id)));
17105
18385
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17106
18386
  if (configuration) {
17107
18387
  baseOptions = configuration.baseOptions;
@@ -17253,7 +18533,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17253
18533
  // verify required parameter 'id' is not null or undefined
17254
18534
  (0, common_1.assertParamExists)('putGetAddress', 'id', id);
17255
18535
  localVarPath = "/sip/trunks/{id}/address"
17256
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18536
+ .replace('{id}', encodeURIComponent(String(id)));
17257
18537
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17258
18538
  if (configuration) {
17259
18539
  baseOptions = configuration.baseOptions;
@@ -17297,7 +18577,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
17297
18577
  // verify required parameter 'enabled' is not null or undefined
17298
18578
  (0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
17299
18579
  localVarPath = "/sip/trunks/{id}/diverts"
17300
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
18580
+ .replace('{id}', encodeURIComponent(String(id)));
17301
18581
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17302
18582
  if (configuration) {
17303
18583
  baseOptions = configuration.baseOptions;
@@ -18703,7 +19983,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
18703
19983
  // verify required parameter 'id' is not null or undefined
18704
19984
  (0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
18705
19985
  localVarPath = "/services/events/{id}/archive"
18706
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
19986
+ .replace('{id}', encodeURIComponent(String(id)));
18707
19987
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18708
19988
  if (configuration) {
18709
19989
  baseOptions = configuration.baseOptions;
@@ -18741,7 +20021,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
18741
20021
  // verify required parameter 'id' is not null or undefined
18742
20022
  (0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
18743
20023
  localVarPath = "/services/events/{id}"
18744
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20024
+ .replace('{id}', encodeURIComponent(String(id)));
18745
20025
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18746
20026
  if (configuration) {
18747
20027
  baseOptions = configuration.baseOptions;
@@ -18817,7 +20097,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
18817
20097
  // verify required parameter 'id' is not null or undefined
18818
20098
  (0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
18819
20099
  localVarPath = "/services/events/{id}/updates"
18820
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20100
+ .replace('{id}', encodeURIComponent(String(id)));
18821
20101
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18822
20102
  if (configuration) {
18823
20103
  baseOptions = configuration.baseOptions;
@@ -19433,7 +20713,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19433
20713
  // verify required parameter 'id' is not null or undefined
19434
20714
  (0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
19435
20715
  localVarPath = "/stock/orders/{id}"
19436
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20716
+ .replace('{id}', encodeURIComponent(String(id)));
19437
20717
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19438
20718
  if (configuration) {
19439
20719
  baseOptions = configuration.baseOptions;
@@ -19473,8 +20753,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19473
20753
  // verify required parameter 'deductionId' is not null or undefined
19474
20754
  (0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
19475
20755
  localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
19476
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
19477
- .replace("{".concat("deduction_id", "}"), encodeURIComponent(String(deductionId)));
20756
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
20757
+ .replace('{deduction_id}', encodeURIComponent(String(deductionId)));
19478
20758
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19479
20759
  if (configuration) {
19480
20760
  baseOptions = configuration.baseOptions;
@@ -19514,8 +20794,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19514
20794
  // verify required parameter 'itemId' is not null or undefined
19515
20795
  (0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
19516
20796
  localVarPath = "/stock/orders/{order_id}/items/{item_id}"
19517
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
19518
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
20797
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
20798
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
19519
20799
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19520
20800
  if (configuration) {
19521
20801
  baseOptions = configuration.baseOptions;
@@ -19552,7 +20832,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19552
20832
  // verify required parameter 'id' is not null or undefined
19553
20833
  (0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
19554
20834
  localVarPath = "/stock/products/{id}"
19555
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20835
+ .replace('{id}', encodeURIComponent(String(id)));
19556
20836
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19557
20837
  if (configuration) {
19558
20838
  baseOptions = configuration.baseOptions;
@@ -19589,7 +20869,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19589
20869
  // verify required parameter 'id' is not null or undefined
19590
20870
  (0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
19591
20871
  localVarPath = "/stock/orders/{id}"
19592
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20872
+ .replace('{id}', encodeURIComponent(String(id)));
19593
20873
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19594
20874
  if (configuration) {
19595
20875
  baseOptions = configuration.baseOptions;
@@ -19627,7 +20907,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19627
20907
  // verify required parameter 'sku' is not null or undefined
19628
20908
  (0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
19629
20909
  localVarPath = "/stock/products/{sku}/details"
19630
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
20910
+ .replace('{sku}', encodeURIComponent(String(sku)));
19631
20911
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19632
20912
  if (configuration) {
19633
20913
  baseOptions = configuration.baseOptions;
@@ -19665,7 +20945,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19665
20945
  // verify required parameter 'id' is not null or undefined
19666
20946
  (0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
19667
20947
  localVarPath = "/stock/orders/{id}/po"
19668
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20948
+ .replace('{id}', encodeURIComponent(String(id)));
19669
20949
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19670
20950
  if (configuration) {
19671
20951
  baseOptions = configuration.baseOptions;
@@ -19703,7 +20983,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19703
20983
  // verify required parameter 'id' is not null or undefined
19704
20984
  (0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
19705
20985
  localVarPath = "/stock/orders/{id}/supplier/email"
19706
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
20986
+ .replace('{id}', encodeURIComponent(String(id)));
19707
20987
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19708
20988
  if (configuration) {
19709
20989
  baseOptions = configuration.baseOptions;
@@ -19791,7 +21071,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19791
21071
  // verify required parameter 'id' is not null or undefined
19792
21072
  (0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
19793
21073
  localVarPath = "/stock/products/{id}"
19794
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21074
+ .replace('{id}', encodeURIComponent(String(id)));
19795
21075
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19796
21076
  if (configuration) {
19797
21077
  baseOptions = configuration.baseOptions;
@@ -19909,7 +21189,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19909
21189
  // verify required parameter 'id' is not null or undefined
19910
21190
  (0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
19911
21191
  localVarPath = "/stock/suppliers/{id}/products"
19912
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21192
+ .replace('{id}', encodeURIComponent(String(id)));
19913
21193
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19914
21194
  if (configuration) {
19915
21195
  baseOptions = configuration.baseOptions;
@@ -19947,7 +21227,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19947
21227
  // verify required parameter 'id' is not null or undefined
19948
21228
  (0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
19949
21229
  localVarPath = "/stock/orders/{id}/invoice"
19950
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21230
+ .replace('{id}', encodeURIComponent(String(id)));
19951
21231
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19952
21232
  if (configuration) {
19953
21233
  baseOptions = configuration.baseOptions;
@@ -19986,7 +21266,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
19986
21266
  // verify required parameter 'id' is not null or undefined
19987
21267
  (0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
19988
21268
  localVarPath = "/stock/orders/{id}"
19989
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21269
+ .replace('{id}', encodeURIComponent(String(id)));
19990
21270
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19991
21271
  if (configuration) {
19992
21272
  baseOptions = configuration.baseOptions;
@@ -20030,8 +21310,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20030
21310
  // verify required parameter 'deductionId' is not null or undefined
20031
21311
  (0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
20032
21312
  localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
20033
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20034
- .replace("{".concat("deduction_id", "}"), encodeURIComponent(String(deductionId)));
21313
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21314
+ .replace('{deduction_id}', encodeURIComponent(String(deductionId)));
20035
21315
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20036
21316
  if (configuration) {
20037
21317
  baseOptions = configuration.baseOptions;
@@ -20075,8 +21355,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20075
21355
  // verify required parameter 'itemId' is not null or undefined
20076
21356
  (0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
20077
21357
  localVarPath = "/stock/orders/{order_id}/items/{item_id}"
20078
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20079
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
21358
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21359
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
20080
21360
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20081
21361
  if (configuration) {
20082
21362
  baseOptions = configuration.baseOptions;
@@ -20117,7 +21397,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20117
21397
  // verify required parameter 'id' is not null or undefined
20118
21398
  (0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
20119
21399
  localVarPath = "/stock/orders/{id}/deductions"
20120
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21400
+ .replace('{id}', encodeURIComponent(String(id)));
20121
21401
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20122
21402
  if (configuration) {
20123
21403
  baseOptions = configuration.baseOptions;
@@ -20158,7 +21438,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20158
21438
  // verify required parameter 'id' is not null or undefined
20159
21439
  (0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
20160
21440
  localVarPath = "/stock/orders/{id}/items"
20161
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21441
+ .replace('{id}', encodeURIComponent(String(id)));
20162
21442
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20163
21443
  if (configuration) {
20164
21444
  baseOptions = configuration.baseOptions;
@@ -20275,7 +21555,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20275
21555
  // verify required parameter 'invoice' is not null or undefined
20276
21556
  (0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
20277
21557
  localVarPath = "/stock/orders/{id}/invoice"
20278
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21558
+ .replace('{id}', encodeURIComponent(String(id)));
20279
21559
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20280
21560
  if (configuration) {
20281
21561
  baseOptions = configuration.baseOptions;
@@ -20319,7 +21599,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20319
21599
  // verify required parameter 'id' is not null or undefined
20320
21600
  (0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
20321
21601
  localVarPath = "/stock/products/{id}"
20322
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
21602
+ .replace('{id}', encodeURIComponent(String(id)));
20323
21603
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20324
21604
  if (configuration) {
20325
21605
  baseOptions = configuration.baseOptions;
@@ -20365,8 +21645,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
20365
21645
  // verify required parameter 'received' is not null or undefined
20366
21646
  (0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
20367
21647
  localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
20368
- .replace("{".concat("order_id", "}"), encodeURIComponent(String(orderId)))
20369
- .replace("{".concat("item_id", "}"), encodeURIComponent(String(itemId)));
21648
+ .replace('{order_id}', encodeURIComponent(String(orderId)))
21649
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
20370
21650
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20371
21651
  if (configuration) {
20372
21652
  baseOptions = configuration.baseOptions;
@@ -21760,7 +23040,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
21760
23040
  // verify required parameter 'id' is not null or undefined
21761
23041
  (0, common_1.assertParamExists)('getGetTicket', 'id', id);
21762
23042
  localVarPath = "/tickets/support/{id}"
21763
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23043
+ .replace('{id}', encodeURIComponent(String(id)));
21764
23044
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21765
23045
  if (configuration) {
21766
23046
  baseOptions = configuration.baseOptions;
@@ -21797,7 +23077,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
21797
23077
  // verify required parameter 'id' is not null or undefined
21798
23078
  (0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
21799
23079
  localVarPath = "/tickets/support/{id}/close"
21800
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23080
+ .replace('{id}', encodeURIComponent(String(id)));
21801
23081
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21802
23082
  if (configuration) {
21803
23083
  baseOptions = configuration.baseOptions;
@@ -21886,7 +23166,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
21886
23166
  // verify required parameter 'id' is not null or undefined
21887
23167
  (0, common_1.assertParamExists)('postTicketReply', 'id', id);
21888
23168
  localVarPath = "/tickets/support/{id}/reply"
21889
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
23169
+ .replace('{id}', encodeURIComponent(String(id)));
21890
23170
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21891
23171
  if (configuration) {
21892
23172
  baseOptions = configuration.baseOptions;
@@ -22382,5 +23662,5 @@ exports.PostAddWebhookWebhookUriEnum = {
22382
23662
  WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
22383
23663
  WebhookTest: '/webhook/test',
22384
23664
  WebhookXeroInvoices: '/webhook/xero/invoices',
22385
- WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
23665
+ WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
22386
23666
  };