@fenixalliance/abs-api-client 1.0.2 → 1.0.3

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 (695) hide show
  1. package/FenixAlliance.ABP.SDK.TypeScript.sln +25 -0
  2. package/FenixAlliance.ABP.SDK.TypeScript.xml +8 -0
  3. package/clients/accountingService/core/ApiError.ts +25 -0
  4. package/clients/accountingService/core/ApiRequestOptions.ts +17 -0
  5. package/clients/accountingService/core/ApiResult.ts +11 -0
  6. package/clients/accountingService/core/CancelablePromise.ts +131 -0
  7. package/clients/accountingService/core/OpenAPI.ts +32 -0
  8. package/clients/accountingService/core/request.ts +322 -0
  9. package/clients/accountingService/index.ts +97 -0
  10. package/clients/accountingService/models/AccountCreateDto.ts +30 -0
  11. package/clients/accountingService/models/AccountDto.ts +41 -0
  12. package/clients/{catalogService/models/StockItemDtoEnvelope.ts → accountingService/models/AccountDtoEnvelope.ts} +5 -5
  13. package/clients/{holderService/models/InvoiceDtoListEnvelope.ts → accountingService/models/AccountDtoListEnvelope.ts} +5 -5
  14. package/clients/accountingService/models/AccountUpdateDto.ts +26 -0
  15. package/clients/accountingService/models/AccountingEntryCreateDto.ts +26 -0
  16. package/clients/accountingService/models/AccountingEntryDto.ts +34 -0
  17. package/clients/accountingService/models/AccountingEntryDtoEnvelope.ts +14 -0
  18. package/clients/accountingService/models/AccountingEntryDtoListEnvelope.ts +14 -0
  19. package/clients/accountingService/models/AccountingEntryUpdateDto.ts +24 -0
  20. package/clients/accountingService/models/BillingProfileCreateDto.ts +30 -0
  21. package/clients/accountingService/models/BillingProfileDto.ts +67 -0
  22. package/clients/accountingService/models/BillingProfileDtoEnvelope.ts +14 -0
  23. package/clients/accountingService/models/BillingProfileDtoListEnvelope.ts +14 -0
  24. package/clients/accountingService/models/BillingProfileUpdateDto.ts +28 -0
  25. package/clients/accountingService/models/BudgetCreateDto.ts +12 -0
  26. package/clients/accountingService/models/BudgetDto.ts +12 -0
  27. package/clients/{holderService/models/PaymentDtoListEnvelope.ts → accountingService/models/BudgetDtoEnvelope.ts} +5 -5
  28. package/clients/accountingService/models/BudgetDtoListEnvelope.ts +14 -0
  29. package/clients/accountingService/models/BudgetUpdateDto.ts +9 -0
  30. package/clients/accountingService/models/CreateLedgerDto.ts +15 -0
  31. package/clients/accountingService/models/Currency.ts +9 -0
  32. package/clients/accountingService/models/EmptyEnvelope.ts +12 -0
  33. package/clients/accountingService/models/ErrorEnvelope.ts +12 -0
  34. package/clients/accountingService/models/FinancialBookCreateDto.ts +12 -0
  35. package/clients/{holderService/models/InvoiceDto.ts → accountingService/models/FinancialBookDto.ts} +3 -4
  36. package/clients/accountingService/models/FinancialBookDtoEnvelope.ts +14 -0
  37. package/clients/accountingService/models/FinancialBookDtoListEnvelope.ts +14 -0
  38. package/clients/accountingService/models/FinancialBookUpdateDto.ts +10 -0
  39. package/clients/accountingService/models/FiscalAuthorityCreateDto.ts +14 -0
  40. package/clients/accountingService/models/FiscalAuthorityDto.ts +16 -0
  41. package/clients/accountingService/models/FiscalAuthorityDtoEnvelope.ts +14 -0
  42. package/clients/accountingService/models/FiscalAuthorityDtoListEnvelope.ts +14 -0
  43. package/clients/accountingService/models/FiscalAuthorityUpdateDto.ts +12 -0
  44. package/clients/accountingService/models/FiscalYearCreateDto.ts +16 -0
  45. package/clients/accountingService/models/FiscalYearDto.ts +16 -0
  46. package/clients/accountingService/models/FiscalYearDtoEnvelope.ts +14 -0
  47. package/clients/accountingService/models/FiscalYearDtoListEnvelope.ts +14 -0
  48. package/clients/accountingService/models/FiscalYearUpdateDto.ts +12 -0
  49. package/clients/accountingService/models/Int32Envelope.ts +13 -0
  50. package/clients/accountingService/models/InvoiceEnumerationRangeCreateDto.ts +29 -0
  51. package/clients/accountingService/models/InvoiceEnumerationRangeDto.ts +29 -0
  52. package/clients/accountingService/models/InvoiceEnumerationRangeDtoEnvelope.ts +14 -0
  53. package/clients/accountingService/models/InvoiceEnumerationRangeDtoListEnvelope.ts +14 -0
  54. package/clients/accountingService/models/InvoiceEnumerationRangeUpdateDto.ts +27 -0
  55. package/clients/accountingService/models/JournalCreateDto.ts +17 -0
  56. package/clients/accountingService/models/JournalDto.ts +17 -0
  57. package/clients/accountingService/models/JournalDtoEnvelope.ts +14 -0
  58. package/clients/accountingService/models/JournalDtoListEnvelope.ts +14 -0
  59. package/clients/accountingService/models/JournalEntryCreateDto.ts +20 -0
  60. package/clients/accountingService/models/JournalEntryDto.ts +31 -0
  61. package/clients/accountingService/models/JournalEntryDtoListEnvelope.ts +14 -0
  62. package/clients/accountingService/models/JournalEntryUpdateDto.ts +18 -0
  63. package/clients/accountingService/models/JournalTypeCreateDto.ts +12 -0
  64. package/clients/accountingService/models/JournalTypeDto.ts +12 -0
  65. package/clients/accountingService/models/JournalTypeDtoEnvelope.ts +14 -0
  66. package/clients/accountingService/models/JournalTypeDtoListEnvelope.ts +14 -0
  67. package/clients/accountingService/models/JournalTypeUpdateDto.ts +10 -0
  68. package/clients/accountingService/models/JournalUpdateDto.ts +13 -0
  69. package/clients/accountingService/models/LedgerDto.ts +15 -0
  70. package/clients/accountingService/models/LedgerDtoEnvelope.ts +14 -0
  71. package/clients/accountingService/models/LedgerDtoListEnvelope.ts +14 -0
  72. package/clients/accountingService/models/LoanCreateDto.ts +18 -0
  73. package/clients/accountingService/models/LoanDto.ts +18 -0
  74. package/clients/accountingService/models/LoanDtoEnvelope.ts +14 -0
  75. package/clients/accountingService/models/LoanDtoListEnvelope.ts +14 -0
  76. package/clients/accountingService/models/LoanUpdateDto.ts +15 -0
  77. package/clients/accountingService/models/Money.ts +10 -0
  78. package/clients/accountingService/models/Operation.ts +23 -0
  79. package/clients/accountingService/models/ReceiptCreateDto.ts +48 -0
  80. package/clients/accountingService/models/ReceiptDto.ts +24 -0
  81. package/clients/accountingService/models/ReceiptDtoEnvelope.ts +14 -0
  82. package/clients/accountingService/models/ReceiptDtoListEnvelope.ts +14 -0
  83. package/clients/accountingService/models/ReceiptUpdateDto.ts +19 -0
  84. package/clients/accountingService/models/UpdateLedgerDto.ts +12 -0
  85. package/clients/accountingService/services/AccountsService.ts +788 -0
  86. package/clients/accountingService/services/BillingProfilesService.ts +194 -0
  87. package/clients/accountingService/services/BudgetsService.ts +167 -0
  88. package/clients/accountingService/services/FinancialBooksService.ts +194 -0
  89. package/clients/accountingService/services/FiscalAuthoritiesService.ts +194 -0
  90. package/clients/accountingService/services/FiscalYearsService.ts +194 -0
  91. package/clients/accountingService/services/InvoiceEnumerationRangesService.ts +167 -0
  92. package/clients/accountingService/services/JournalTypesService.ts +167 -0
  93. package/clients/accountingService/services/JournalsService.ts +366 -0
  94. package/clients/accountingService/services/LedgersService.ts +163 -0
  95. package/clients/accountingService/services/LoansService.ts +194 -0
  96. package/clients/accountingService/services/ReceiptsService.ts +164 -0
  97. package/clients/cartService/index.ts +5 -0
  98. package/clients/cartService/models/BooleanEnvelope.ts +2 -2
  99. package/clients/cartService/models/CartDtoEnvelope.ts +2 -2
  100. package/clients/cartService/models/CartUpdateRequest.ts +2 -2
  101. package/clients/cartService/models/CountryDto.ts +14 -0
  102. package/clients/cartService/models/CountryDtoEnvelope.ts +14 -0
  103. package/clients/cartService/models/CurrencyDto.ts +13 -0
  104. package/clients/cartService/models/CurrencyDtoEnvelope.ts +14 -0
  105. package/clients/cartService/models/EmptyEnvelope.ts +2 -1
  106. package/clients/cartService/models/ErrorEnvelope.ts +2 -2
  107. package/clients/cartService/models/ItemCartRecordCreateDto.ts +1 -1
  108. package/clients/cartService/models/ItemCartRecordDto.ts +9 -7
  109. package/clients/cartService/models/ItemCartRecordDtoEnvelope.ts +2 -2
  110. package/clients/cartService/models/ItemCartRecordDtoListEnvelope.ts +2 -2
  111. package/clients/cartService/models/ItemCartRecordUpdateDto.ts +0 -2
  112. package/clients/cartService/models/ItemToCompareCartRecordDto.ts +14 -1
  113. package/clients/cartService/models/ItemToCompareCartRecordDtoEnvelope.ts +2 -2
  114. package/clients/cartService/models/ItemToCompareCartRecordDtoListEnvelope.ts +2 -2
  115. package/clients/cartService/models/ProductToWishListRequest.ts +2 -2
  116. package/clients/cartService/models/WishListDtoEnvelope.ts +14 -0
  117. package/clients/cartService/services/CartsService.ts +1069 -22
  118. package/clients/cartService/services/CompareService.ts +24 -4
  119. package/clients/cartService/services/RecordsService.ts +114 -9
  120. package/clients/cartService/services/WishListsService.ts +116 -9
  121. package/clients/catalogService/index.ts +14 -6
  122. package/clients/catalogService/models/CatalogItemCreateDto.ts +167 -0
  123. package/clients/catalogService/models/CatalogItemDto.ts +170 -0
  124. package/clients/catalogService/models/CatalogItemDtoEnvelope.ts +14 -0
  125. package/clients/catalogService/models/CatalogItemDtoListEnvelope.ts +14 -0
  126. package/clients/catalogService/models/{StockItemDto.ts → CatalogItemUpdateDto.ts} +138 -105
  127. package/clients/catalogService/models/Currency.ts +9 -0
  128. package/clients/catalogService/models/EmptyEnvelope.ts +2 -1
  129. package/clients/catalogService/models/ErrorEnvelope.ts +2 -2
  130. package/clients/catalogService/models/Int32Envelope.ts +13 -0
  131. package/clients/catalogService/models/ItemAttachmentCreateDto.ts +6 -4
  132. package/clients/catalogService/models/ItemAttachmentDto.ts +13 -11
  133. package/clients/catalogService/models/ItemAttachmentDtoEnvelope.ts +2 -2
  134. package/clients/catalogService/models/ItemAttachmentDtoListEnvelope.ts +2 -2
  135. package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +5 -2
  136. package/clients/catalogService/models/ItemAttributeDtoEnvelope.ts +2 -2
  137. package/clients/catalogService/models/ItemAttributeDtoListEnvelope.ts +2 -2
  138. package/clients/catalogService/models/ItemAttributeOptionDtoEnvelope.ts +2 -2
  139. package/clients/catalogService/models/ItemAttributeOptionDtoListEnvelope.ts +2 -2
  140. package/clients/catalogService/models/ItemBrandDtoEnvelope.ts +2 -2
  141. package/clients/catalogService/models/ItemBrandDtoListEnvelope.ts +2 -2
  142. package/clients/catalogService/models/ItemCategoryDtoEnvelope.ts +2 -2
  143. package/clients/catalogService/models/ItemCategoryDtoListEnvelope.ts +2 -2
  144. package/clients/catalogService/models/ItemGoogleCategoryDto.ts +2 -1
  145. package/clients/catalogService/models/ItemGoogleCategoryDtoEnvelope.ts +2 -2
  146. package/clients/catalogService/models/ItemGoogleCategoryDtoListEnvelope.ts +2 -2
  147. package/clients/catalogService/models/ItemImageDtoEnvelope.ts +2 -2
  148. package/clients/catalogService/models/ItemImageDtoListEnvelope.ts +2 -2
  149. package/clients/catalogService/models/ItemQuestionDtoEnvelope.ts +2 -2
  150. package/clients/catalogService/models/ItemQuestionDtoListEnvelope.ts +2 -2
  151. package/clients/catalogService/models/ItemRefundPolicyDtoEnvelope.ts +2 -2
  152. package/clients/catalogService/models/ItemRefundPolicyDtoListEnvelope.ts +2 -2
  153. package/clients/catalogService/models/ItemReturnPolicyDtoEnvelope.ts +2 -2
  154. package/clients/catalogService/models/ItemReturnPolicyDtoListEnvelope.ts +2 -2
  155. package/clients/catalogService/models/ItemReviewDtoEnvelope.ts +2 -2
  156. package/clients/catalogService/models/ItemReviewDtoListEnvelope.ts +2 -2
  157. package/clients/catalogService/models/ItemShippingPolicyDtoEnvelope.ts +2 -2
  158. package/clients/catalogService/models/ItemShippingPolicyDtoListEnvelope.ts +2 -2
  159. package/clients/catalogService/models/ItemTagDtoEnvelope.ts +2 -2
  160. package/clients/catalogService/models/ItemTagDtoListEnvelope.ts +2 -2
  161. package/clients/catalogService/models/ItemTaxPolicyDtoEnvelope.ts +2 -2
  162. package/clients/catalogService/models/ItemTaxPolicyDtoListEnvelope.ts +2 -2
  163. package/clients/catalogService/models/ItemTypeDtoEnvelope.ts +2 -2
  164. package/clients/catalogService/models/ItemTypeDtoListEnvelope.ts +2 -2
  165. package/clients/catalogService/models/ItemWarrantyPolicyDtoEnvelope.ts +2 -2
  166. package/clients/catalogService/models/ItemWarrantyPolicyDtoListEnvelope.ts +2 -2
  167. package/clients/catalogService/models/MerchantDto.ts +47 -0
  168. package/clients/catalogService/models/MerchantDtoListEnvelope.ts +14 -0
  169. package/clients/catalogService/models/Money.ts +10 -0
  170. package/clients/catalogService/models/MoneyEnvelope.ts +14 -0
  171. package/clients/catalogService/models/PricingRuleDtoEnvelope.ts +2 -2
  172. package/clients/catalogService/models/PricingRuleDtoListEnvelope.ts +2 -2
  173. package/clients/catalogService/services/ItemAttachmentsService.ts +55 -30
  174. package/clients/catalogService/services/ItemAttributesService.ts +55 -30
  175. package/clients/catalogService/services/ItemBrandsService.ts +55 -30
  176. package/clients/catalogService/services/ItemCategoriesService.ts +74 -49
  177. package/clients/catalogService/services/ItemGoogleCategoriesService.ts +182 -0
  178. package/clients/catalogService/services/ItemImagesService.ts +55 -30
  179. package/clients/catalogService/services/ItemQuestionsService.ts +55 -30
  180. package/clients/catalogService/services/ItemReviewsService.ts +55 -30
  181. package/clients/catalogService/services/ItemTagsService.ts +55 -30
  182. package/clients/catalogService/services/ItemTypesService.ts +57 -32
  183. package/clients/catalogService/services/ItemsService.ts +2176 -0
  184. package/clients/catalogService/services/MerchantsService.ts +30 -0
  185. package/clients/catalogService/services/PoliciesService.ts +24 -4
  186. package/clients/catalogService/services/PricingRulesService.ts +64 -39
  187. package/clients/crmService/index.ts +5 -0
  188. package/clients/crmService/models/CartDtoEnvelope.ts +2 -2
  189. package/clients/crmService/models/ContactCreateDto.ts +55 -0
  190. package/clients/crmService/models/ContactDto.ts +35 -21
  191. package/clients/crmService/models/ContactDtoEnvelope.ts +2 -2
  192. package/clients/crmService/models/ContactDtoListEnvelope.ts +2 -2
  193. package/clients/crmService/models/ContactProfileDto.ts +38 -0
  194. package/clients/crmService/models/ContactProfileDtoListEnvelope.ts +14 -0
  195. package/clients/crmService/models/ContactUpdateDto.ts +53 -0
  196. package/clients/crmService/models/EmptyEnvelope.ts +2 -1
  197. package/clients/crmService/models/ErrorEnvelope.ts +2 -2
  198. package/clients/crmService/models/Operation.ts +23 -0
  199. package/clients/crmService/models/SocialProfileDtoEnvelope.ts +2 -2
  200. package/clients/crmService/models/WalletDtoEnvelope.ts +2 -2
  201. package/clients/crmService/services/ContactsService.ts +509 -40
  202. package/clients/crmService/services/SyncService.ts +31 -15
  203. package/clients/forexService/index.ts +3 -0
  204. package/clients/forexService/models/Currency.ts +1 -1
  205. package/clients/forexService/models/ErrorEnvelope.ts +2 -2
  206. package/clients/forexService/models/ExchangeRate.ts +11 -0
  207. package/clients/forexService/models/ExchangeRateEnvelope.ts +14 -0
  208. package/clients/forexService/models/ForexRatesDtoEnvelope.ts +2 -2
  209. package/clients/forexService/models/Money.ts +1 -1
  210. package/clients/forexService/models/MoneyEnvelope.ts +2 -2
  211. package/clients/forexService/services/ExchangeService.ts +9 -11
  212. package/clients/forexService/services/ExchangeVService.ts +65 -0
  213. package/clients/forexService/services/RatesService.ts +71 -6
  214. package/clients/holderService/index.ts +19 -8
  215. package/clients/holderService/models/AddressDto.ts +1 -1
  216. package/clients/holderService/models/AddressDtoListEnvelope.ts +2 -2
  217. package/clients/holderService/models/CartDtoEnvelope.ts +2 -2
  218. package/clients/holderService/models/EmptyEnvelope.ts +12 -0
  219. package/clients/holderService/models/EmptyEnvelopeEnvelope.ts +14 -0
  220. package/clients/holderService/models/EnrollmentId.ts +5 -0
  221. package/clients/holderService/models/ErrorEnvelope.ts +2 -2
  222. package/clients/holderService/models/ExtendedPlatformUserDto.ts +79 -0
  223. package/clients/holderService/models/ExtendedPlatformUserDtoEnvelope.ts +14 -0
  224. package/clients/holderService/models/ExtendedTenantDto.ts +51 -0
  225. package/clients/holderService/models/ExtendedTenantDtoListEnvelope.ts +14 -0
  226. package/clients/holderService/models/ExtendedTenantEnrolmentDto.ts +19 -0
  227. package/clients/holderService/models/ExtendedTenantEnrolmentDtoListEnvelope.ts +14 -0
  228. package/clients/holderService/models/NotificationDtoListEnvelope.ts +2 -2
  229. package/clients/holderService/models/Operation.ts +23 -0
  230. package/clients/holderService/models/PlatformUserDto.ts +26 -28
  231. package/clients/holderService/models/PlatformUserDtoEnvelope.ts +2 -2
  232. package/clients/holderService/models/PlatformUserSettingsDto.ts +21 -0
  233. package/clients/holderService/models/PlatformUserSettingsDtoEnvelope.ts +14 -0
  234. package/clients/holderService/models/PlatformUserSettingsUpdateDto.ts +19 -0
  235. package/clients/holderService/models/PlatformUserUpdateDto.ts +43 -0
  236. package/clients/holderService/models/SocialProfileDtoEnvelope.ts +2 -2
  237. package/clients/holderService/models/TenantDto.ts +1 -10
  238. package/clients/holderService/models/TenantDtoListEnvelope.ts +2 -2
  239. package/clients/{tenantService/models/TenantEnrollmentDto.ts → holderService/models/TenantEnrolmentDto.ts} +4 -3
  240. package/clients/holderService/models/TenantEnrolmentDtoEnvelope.ts +14 -0
  241. package/clients/holderService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
  242. package/clients/holderService/models/TenantInvitationDto.ts +16 -0
  243. package/clients/holderService/models/{TenantEnrollmentDtoListEnvelope.ts → TenantInvitationDtoListEnvelope.ts} +5 -5
  244. package/clients/holderService/models/WalletDtoEnvelope.ts +2 -2
  245. package/clients/holderService/services/HolderService.ts +283 -44
  246. package/clients/identityService/index.ts +1 -1
  247. package/clients/identityService/models/AccountHolderCreateDto.ts +20 -15
  248. package/clients/identityService/models/AccountHolderCreateDtoEnvelope.ts +2 -2
  249. package/clients/identityService/models/ApiResponseEnvelope.ts +2 -2
  250. package/clients/identityService/models/ErrorEnvelope.ts +2 -2
  251. package/clients/identityService/models/JsonWebKeySetEnvelope.ts +2 -2
  252. package/clients/identityService/models/JsonWebTokenEnvelope.ts +2 -2
  253. package/clients/identityService/models/OpenIdConfigurationEnvelope.ts +2 -2
  254. package/clients/identityService/models/PlatformUserDto.ts +26 -28
  255. package/clients/identityService/models/StringListEnvelope.ts +2 -2
  256. package/clients/identityService/models/TenantDto.ts +1 -10
  257. package/clients/identityService/services/ApplicationsService.ts +30 -5
  258. package/clients/identityService/services/CheckerService.ts +8 -3
  259. package/clients/identityService/services/OAuthService.ts +44 -10
  260. package/clients/identityService/services/ResourceService.ts +8 -2
  261. package/clients/identityService/services/UserInfoService.ts +16 -4
  262. package/clients/inventoryService/services/InventoryService.ts +6 -1
  263. package/clients/invoicingService/index.ts +29 -4
  264. package/clients/invoicingService/models/Currency.ts +9 -0
  265. package/clients/invoicingService/models/EmptyEnvelope.ts +2 -1
  266. package/clients/invoicingService/models/ErrorEnvelope.ts +2 -2
  267. package/clients/invoicingService/models/ExtendedInvoiceDto.ts +111 -0
  268. package/clients/invoicingService/models/ExtendedInvoiceDtoListEnvelope.ts +14 -0
  269. package/clients/invoicingService/models/Int32Envelope.ts +13 -0
  270. package/clients/invoicingService/models/InvoiceAdjustmentCreateDto.ts +27 -0
  271. package/clients/invoicingService/models/InvoiceAdjustmentDto.ts +27 -0
  272. package/clients/invoicingService/models/InvoiceAdjustmentDtoEnvelope.ts +14 -0
  273. package/clients/invoicingService/models/InvoiceAdjustmentDtoListEnvelope.ts +14 -0
  274. package/clients/invoicingService/models/InvoiceAdjustmentUpdateDto.ts +22 -0
  275. package/clients/invoicingService/models/InvoiceCreateDto.ts +64 -0
  276. package/clients/invoicingService/models/InvoiceDto.ts +91 -2
  277. package/clients/invoicingService/models/InvoiceDtoEnvelope.ts +2 -2
  278. package/clients/invoicingService/models/InvoiceDtoListEnvelope.ts +2 -2
  279. package/clients/invoicingService/models/InvoiceItemRecordDto.ts +100 -0
  280. package/clients/invoicingService/models/InvoiceLineAppliedTaxCreateDto.ts +13 -0
  281. package/clients/invoicingService/models/InvoiceLineAppliedTaxDto.ts +20 -0
  282. package/clients/invoicingService/models/InvoiceLineAppliedTaxDtoListEnvelope.ts +14 -0
  283. package/clients/invoicingService/models/InvoiceLineAppliedTaxUpdateDto.ts +8 -0
  284. package/clients/invoicingService/models/InvoiceLineCreateDto.ts +13 -0
  285. package/clients/invoicingService/models/InvoiceLineDto.ts +7 -2
  286. package/clients/invoicingService/models/InvoiceLineDtoEnvelope.ts +2 -2
  287. package/clients/invoicingService/models/InvoiceLineDtoListEnvelope.ts +2 -2
  288. package/clients/invoicingService/models/{ItemPriceCreateDto.ts → InvoiceLineUpdateDto.ts} +9 -9
  289. package/clients/invoicingService/models/InvoiceReferenceCreateDto.ts +13 -0
  290. package/clients/invoicingService/models/InvoiceReferenceDto.ts +13 -0
  291. package/clients/{tenantService/models/TenantEnrollmentDtoEnvelope.ts → invoicingService/models/InvoiceReferenceDtoEnvelope.ts} +5 -5
  292. package/clients/{tenantService/models/TenantEnrollmentDtoListEnvelope.ts → invoicingService/models/InvoiceReferenceDtoListEnvelope.ts} +5 -5
  293. package/clients/invoicingService/models/InvoiceReferenceUpdateDto.ts +8 -0
  294. package/clients/invoicingService/models/InvoiceUpdateDto.ts +29 -1
  295. package/clients/invoicingService/models/Money.ts +10 -0
  296. package/clients/invoicingService/models/MoneyEnvelope.ts +14 -0
  297. package/clients/invoicingService/models/SimpleContactDto.ts +40 -0
  298. package/clients/invoicingService/models/SimpleTenantEnrolmentDto.ts +11 -0
  299. package/clients/invoicingService/models/SimpleUserDto.ts +25 -0
  300. package/clients/invoicingService/models/TenantDto.ts +45 -0
  301. package/clients/invoicingService/services/InvoicesService.ts +799 -23
  302. package/clients/learningService/core/ApiError.ts +25 -0
  303. package/clients/learningService/core/ApiRequestOptions.ts +17 -0
  304. package/clients/learningService/core/ApiResult.ts +11 -0
  305. package/clients/learningService/core/CancelablePromise.ts +131 -0
  306. package/clients/learningService/core/OpenAPI.ts +32 -0
  307. package/clients/learningService/core/request.ts +322 -0
  308. package/clients/learningService/index.ts +50 -0
  309. package/clients/learningService/models/AverageDto.ts +10 -0
  310. package/clients/learningService/models/AverageDtoEnvelope.ts +14 -0
  311. package/clients/learningService/models/CountDto.ts +10 -0
  312. package/clients/learningService/models/CountDtoEnvelope.ts +14 -0
  313. package/clients/learningService/models/CourseCertificateTemplateCreateDto.ts +17 -0
  314. package/clients/learningService/models/CourseCertificateTemplateDto.ts +17 -0
  315. package/clients/learningService/models/CourseCertificateTemplateDtoEnvelope.ts +14 -0
  316. package/clients/learningService/models/CourseCertificateTemplateDtoListEnvelope.ts +14 -0
  317. package/clients/learningService/models/CourseCompletionCertificateCreateDto.ts +15 -0
  318. package/clients/learningService/models/CourseCompletionCertificateDto.ts +15 -0
  319. package/clients/learningService/models/CourseCompletionCertificateDtoEnvelope.ts +14 -0
  320. package/clients/learningService/models/CourseCompletionCertificateDtoListEnvelope.ts +14 -0
  321. package/clients/learningService/models/CourseCompletionCertificateUpdateDto.ts +13 -0
  322. package/clients/learningService/models/CourseDto.ts +170 -0
  323. package/clients/learningService/models/CourseDtoEnvelope.ts +14 -0
  324. package/clients/learningService/models/CourseDtoListEnvelope.ts +14 -0
  325. package/clients/learningService/models/CourseEnrollmentCreateDto.ts +14 -0
  326. package/clients/learningService/models/CourseEnrollmentDto.ts +14 -0
  327. package/clients/learningService/models/CourseEnrollmentDtoEnvelope.ts +14 -0
  328. package/clients/learningService/models/CourseEnrollmentDtoListEnvelope.ts +14 -0
  329. package/clients/learningService/models/CourseEnrollmentUpdateDto.ts +11 -0
  330. package/clients/learningService/models/CourseUpdateDto.ts +5 -0
  331. package/clients/learningService/models/EmptyEnvelope.ts +12 -0
  332. package/clients/learningService/models/ErrorEnvelope.ts +12 -0
  333. package/clients/learningService/models/InstructorProfileCreateDto.ts +39 -0
  334. package/clients/learningService/models/InstructorProfileDto.ts +39 -0
  335. package/clients/learningService/models/InstructorProfileDtoEnvelope.ts +14 -0
  336. package/clients/learningService/models/InstructorProfileDtoListEnvelope.ts +14 -0
  337. package/clients/learningService/models/InstructorProfileUpdateDto.ts +36 -0
  338. package/clients/learningService/models/Pagination.ts +9 -0
  339. package/clients/learningService/models/StudentProfileCreateDto.ts +38 -0
  340. package/clients/learningService/models/StudentProfileDto.ts +38 -0
  341. package/clients/learningService/models/StudentProfileDtoEnvelope.ts +14 -0
  342. package/clients/learningService/models/StudentProfileDtoListEnvelope.ts +14 -0
  343. package/clients/learningService/models/StudentProfileUpdateDto.ts +38 -0
  344. package/clients/learningService/services/CourseCertificatesService.ts +270 -0
  345. package/clients/learningService/services/CourseEnrollmentsService.ts +232 -0
  346. package/clients/learningService/services/CoursesService.ts +128 -0
  347. package/clients/learningService/services/InstructorProfilesService.ts +152 -0
  348. package/clients/learningService/services/StudentProfilesService.ts +212 -0
  349. package/clients/marketingService/core/ApiError.ts +25 -0
  350. package/clients/marketingService/core/ApiRequestOptions.ts +17 -0
  351. package/clients/marketingService/core/ApiResult.ts +11 -0
  352. package/clients/marketingService/core/CancelablePromise.ts +131 -0
  353. package/clients/marketingService/core/OpenAPI.ts +32 -0
  354. package/clients/marketingService/core/request.ts +322 -0
  355. package/clients/marketingService/index.ts +64 -0
  356. package/clients/marketingService/models/Currency.ts +9 -0
  357. package/clients/marketingService/models/EmailGroupCreateDto.ts +14 -0
  358. package/clients/marketingService/models/EmailGroupDto.ts +14 -0
  359. package/clients/marketingService/models/EmailGroupDtoEnvelope.ts +14 -0
  360. package/clients/marketingService/models/EmailGroupDtoListEnvelope.ts +14 -0
  361. package/clients/marketingService/models/EmailGroupUpdateDto.ts +12 -0
  362. package/clients/marketingService/models/EmailSignatureCreateDto.ts +16 -0
  363. package/clients/marketingService/models/EmailSignatureDto.ts +64 -0
  364. package/clients/marketingService/models/EmailSignatureDtoEnvelope.ts +14 -0
  365. package/clients/marketingService/models/EmailSignatureDtoListEnvelope.ts +14 -0
  366. package/clients/marketingService/models/EmailSignatureUpdateDto.ts +60 -0
  367. package/clients/marketingService/models/EmailTemplateCreateDto.ts +17 -0
  368. package/clients/marketingService/models/EmailTemplateDto.ts +66 -0
  369. package/clients/marketingService/models/EmailTemplateDtoEnvelope.ts +14 -0
  370. package/clients/marketingService/models/EmailTemplateDtoListEnvelope.ts +14 -0
  371. package/clients/marketingService/models/EmailTemplateUpdateDto.ts +61 -0
  372. package/clients/marketingService/models/EmptyEnvelope.ts +12 -0
  373. package/clients/marketingService/models/ErrorEnvelope.ts +12 -0
  374. package/clients/marketingService/models/Int32Envelope.ts +13 -0
  375. package/clients/marketingService/models/MarketingCampaignCreateDto.ts +25 -0
  376. package/clients/marketingService/models/MarketingCampaignDto.ts +25 -0
  377. package/clients/marketingService/models/MarketingCampaignDtoEnvelope.ts +14 -0
  378. package/clients/marketingService/models/MarketingCampaignUpdateDto.ts +23 -0
  379. package/clients/marketingService/models/MarketingListCreateDto.ts +33 -0
  380. package/clients/marketingService/models/MarketingListDto.ts +33 -0
  381. package/clients/marketingService/models/MarketingListDtoEnvelope.ts +14 -0
  382. package/clients/marketingService/models/MarketingListDtoListEnvelope.ts +14 -0
  383. package/clients/marketingService/models/MarketingListUpdateDto.ts +31 -0
  384. package/clients/marketingService/models/Money.ts +10 -0
  385. package/clients/marketingService/models/NewsletterCreateDto.ts +14 -0
  386. package/clients/marketingService/models/NewsletterDto.ts +14 -0
  387. package/clients/marketingService/models/NewsletterDtoEnvelope.ts +14 -0
  388. package/clients/marketingService/models/NewsletterUpdateDto.ts +12 -0
  389. package/clients/marketingService/models/OrderDto.ts +113 -0
  390. package/clients/{holderService/models/OrderDtoListEnvelope.ts → marketingService/models/OrderDtoEnvelope.ts} +4 -4
  391. package/clients/marketingService/models/SocialMediaPostCreateDto.ts +13 -0
  392. package/clients/marketingService/models/SocialMediaPostDto.ts +15 -0
  393. package/clients/marketingService/models/SocialMediaPostDtoEnvelope.ts +14 -0
  394. package/clients/marketingService/models/SocialMediaPostDtoListEnvelope.ts +14 -0
  395. package/clients/marketingService/models/SocialMediaPostUpdateDto.ts +13 -0
  396. package/clients/marketingService/models/SocialPostBucketCreateDto.ts +12 -0
  397. package/clients/marketingService/models/SocialPostBucketDto.ts +12 -0
  398. package/clients/marketingService/models/SocialPostBucketDtoEnvelope.ts +14 -0
  399. package/clients/marketingService/models/SocialPostBucketDtoListEnvelope.ts +14 -0
  400. package/clients/marketingService/models/SocialPostBucketUpdateDto.ts +10 -0
  401. package/clients/marketingService/services/EmailGroupsService.ts +193 -0
  402. package/clients/marketingService/services/EmailSignaturesService.ts +193 -0
  403. package/clients/marketingService/services/EmailTemplatesService.ts +193 -0
  404. package/clients/marketingService/services/MarketingCampaignsService.ts +193 -0
  405. package/clients/marketingService/services/MarketingListsService.ts +193 -0
  406. package/clients/marketingService/services/NewslettersService.ts +193 -0
  407. package/clients/marketingService/services/SocialMediaPostsService.ts +193 -0
  408. package/clients/marketingService/services/SocialPostBucketsService.ts +193 -0
  409. package/clients/marketingService/services/TrackingPixelsService.ts +31 -0
  410. package/clients/ordersService/index.ts +7 -4
  411. package/clients/ordersService/models/Currency.ts +9 -0
  412. package/clients/ordersService/models/EmptyEnvelope.ts +2 -1
  413. package/clients/ordersService/models/ErrorEnvelope.ts +2 -2
  414. package/clients/ordersService/models/Int32Envelope.ts +13 -0
  415. package/clients/ordersService/models/Money.ts +10 -0
  416. package/clients/ordersService/models/OrderCreateDto.ts +60 -2
  417. package/clients/ordersService/models/OrderDto.ts +93 -7
  418. package/clients/ordersService/models/OrderDtoEnvelope.ts +2 -2
  419. package/clients/ordersService/models/OrderDtoListEnvelope.ts +2 -2
  420. package/clients/ordersService/models/OrderLineCreateDto.ts +100 -0
  421. package/clients/ordersService/models/OrderLineDto.ts +7 -2
  422. package/clients/ordersService/models/OrderLineDtoEnvelope.ts +2 -2
  423. package/clients/ordersService/models/OrderLineDtoListEnvelope.ts +2 -2
  424. package/clients/ordersService/models/OrderLineUpdateDto.ts +97 -0
  425. package/clients/ordersService/models/OrderUpdateDto.ts +29 -1
  426. package/clients/ordersService/services/OrdersService.ts +115 -21
  427. package/clients/pricingService/index.ts +1 -0
  428. package/clients/pricingService/models/Currency.ts +1 -1
  429. package/clients/pricingService/models/EmptyEnvelope.ts +2 -1
  430. package/clients/pricingService/models/ErrorEnvelope.ts +2 -2
  431. package/clients/pricingService/models/Int32Envelope.ts +13 -0
  432. package/clients/pricingService/models/ItemPriceCreateDto.ts +6 -6
  433. package/clients/pricingService/models/ItemPriceDtoEnvelope.ts +2 -2
  434. package/clients/pricingService/models/ItemPriceDtoListEnvelope.ts +2 -2
  435. package/clients/pricingService/models/ItemPriceUpdateDto.ts +2 -1
  436. package/clients/pricingService/models/Money.ts +1 -1
  437. package/clients/pricingService/models/MoneyEnvelope.ts +2 -2
  438. package/clients/pricingService/models/PriceListDtoEnvelope.ts +2 -2
  439. package/clients/pricingService/models/PriceListDtoListEnvelope.ts +2 -2
  440. package/clients/pricingService/services/PriceListsService.ts +100 -29
  441. package/clients/pricingService/services/PricesService.ts +18 -3
  442. package/clients/securityService/core/ApiError.ts +25 -0
  443. package/clients/securityService/core/ApiRequestOptions.ts +17 -0
  444. package/clients/securityService/core/ApiResult.ts +11 -0
  445. package/clients/securityService/core/CancelablePromise.ts +131 -0
  446. package/clients/securityService/core/OpenAPI.ts +32 -0
  447. package/clients/securityService/core/request.ts +322 -0
  448. package/clients/securityService/index.ts +24 -0
  449. package/clients/securityService/models/EmptyEnvelope.ts +12 -0
  450. package/clients/securityService/models/ErrorEnvelope.ts +12 -0
  451. package/clients/securityService/models/SecurityPermissionCreateDto.ts +12 -0
  452. package/clients/securityService/models/SecurityPermissionDto.ts +13 -0
  453. package/clients/securityService/models/SecurityPermissionDtoListEnvelope.ts +14 -0
  454. package/clients/securityService/models/SecurityPermissionUpdateDto.ts +9 -0
  455. package/clients/securityService/models/SecurityRoleCreateDto.ts +12 -0
  456. package/clients/securityService/models/SecurityRoleDto.ts +13 -0
  457. package/clients/securityService/models/SecurityRoleDtoListEnvelope.ts +14 -0
  458. package/clients/securityService/models/SecurityRoleUpdateDto.ts +9 -0
  459. package/clients/{holderService/models/TenantEnrollmentDto.ts → securityService/models/TenantEnrolmentDto.ts} +4 -3
  460. package/clients/securityService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
  461. package/clients/securityService/services/PermissionsService.ts +399 -0
  462. package/clients/securityService/services/RolesService.ts +430 -0
  463. package/clients/supportService/core/ApiError.ts +25 -0
  464. package/clients/supportService/core/ApiRequestOptions.ts +17 -0
  465. package/clients/supportService/core/ApiResult.ts +11 -0
  466. package/clients/supportService/core/CancelablePromise.ts +131 -0
  467. package/clients/supportService/core/OpenAPI.ts +32 -0
  468. package/clients/supportService/core/request.ts +322 -0
  469. package/clients/supportService/index.ts +54 -0
  470. package/clients/supportService/models/EmptyEnvelope.ts +12 -0
  471. package/clients/supportService/models/ErrorEnvelope.ts +12 -0
  472. package/clients/supportService/models/PrivateMessageDto.ts +15 -0
  473. package/clients/supportService/models/PrivateMessageDtoListEnvelope.ts +14 -0
  474. package/clients/supportService/models/SupportEntitlementCreateDto.ts +57 -0
  475. package/clients/supportService/models/SupportEntitlementDto.ts +57 -0
  476. package/clients/supportService/models/SupportEntitlementDtoEnvelope.ts +14 -0
  477. package/clients/supportService/models/SupportEntitlementDtoListEnvelope.ts +14 -0
  478. package/clients/supportService/models/SupportEntitlementUpdateDto.ts +54 -0
  479. package/clients/supportService/models/SupportRequestAttachmentCreateDto.ts +23 -0
  480. package/clients/supportService/models/SupportRequestAttachmentDto.ts +28 -0
  481. package/clients/supportService/models/SupportRequestAttachmentDtoEnvelope.ts +14 -0
  482. package/clients/supportService/models/SupportRequestAttachmentDtoListEnvelope.ts +14 -0
  483. package/clients/supportService/models/SupportRequestAttachmentUpdateDto.ts +19 -0
  484. package/clients/supportService/models/SupportRequestCreateDto.ts +18 -0
  485. package/clients/supportService/models/SupportRequestDto.ts +18 -0
  486. package/clients/supportService/models/SupportRequestDtoEnvelope.ts +14 -0
  487. package/clients/supportService/models/SupportRequestDtoListEnvelope.ts +14 -0
  488. package/clients/supportService/models/SupportRequestUpdateDto.ts +12 -0
  489. package/clients/supportService/models/SupportTicketConversationCreateDto.ts +13 -0
  490. package/clients/supportService/models/SupportTicketConversationDto.ts +14 -0
  491. package/clients/supportService/models/SupportTicketConversationDtoEnvelope.ts +14 -0
  492. package/clients/supportService/models/SupportTicketConversationDtoListEnvelope.ts +14 -0
  493. package/clients/supportService/models/SupportTicketCreateDto.ts +17 -0
  494. package/clients/supportService/models/SupportTicketDto.ts +17 -0
  495. package/clients/supportService/models/SupportTicketDtoEnvelope.ts +14 -0
  496. package/clients/supportService/models/SupportTicketDtoListEnvelope.ts +14 -0
  497. package/clients/supportService/models/SupportTicketPriorityCreateDto.ts +11 -0
  498. package/clients/supportService/models/SupportTicketPriorityDto.ts +13 -0
  499. package/clients/supportService/models/SupportTicketPriorityDtoEnvelope.ts +14 -0
  500. package/clients/supportService/models/SupportTicketPriorityDtoListEnvelope.ts +14 -0
  501. package/clients/supportService/models/SupportTicketPriorityUpdateDto.ts +9 -0
  502. package/clients/supportService/models/SupportTicketTypeCreateDto.ts +12 -0
  503. package/clients/supportService/models/SupportTicketTypeDto.ts +12 -0
  504. package/clients/supportService/models/SupportTicketTypeDtoEnvelope.ts +14 -0
  505. package/clients/supportService/models/SupportTicketTypeDtoListEnvelope.ts +14 -0
  506. package/clients/supportService/models/SupportTicketTypeUpdateDto.ts +11 -0
  507. package/clients/supportService/models/SupportTicketUpdateDto.ts +14 -0
  508. package/clients/supportService/services/SupportEntitlementsService.ts +163 -0
  509. package/clients/supportService/services/SupportRequestAttachmentsService.ts +163 -0
  510. package/clients/supportService/services/SupportRequestsService.ts +290 -0
  511. package/clients/supportService/services/SupportTicketPrioritiesService.ts +163 -0
  512. package/clients/supportService/services/SupportTicketTypesService.ts +163 -0
  513. package/clients/supportService/services/SupportTicketsService.ts +331 -0
  514. package/clients/systemService/index.ts +19 -0
  515. package/clients/systemService/models/BooleanEnvelope.ts +13 -0
  516. package/clients/systemService/models/ErrorEnvelope.ts +2 -2
  517. package/clients/systemService/models/GeneralValidationFailure.ts +9 -0
  518. package/clients/systemService/models/GeneralValidationFailureListEnvelope.ts +14 -0
  519. package/clients/systemService/models/ISwaggerContact.ts +10 -0
  520. package/clients/systemService/models/ISwaggerEndpoint.ts +10 -0
  521. package/clients/systemService/models/ISwaggerLicense.ts +9 -0
  522. package/clients/systemService/models/ISwaggerSpec.ts +19 -0
  523. package/clients/systemService/models/LicenseValidationRequest.ts +8 -0
  524. package/clients/systemService/models/Module.ts +44 -0
  525. package/clients/systemService/models/ModuleListEnvelope.ts +14 -0
  526. package/clients/systemService/models/StringListEnvelope.ts +2 -2
  527. package/clients/systemService/models/StudioModule.ts +9 -0
  528. package/clients/{catalogService/models/StockItemDtoListEnvelope.ts → systemService/models/StudioModuleListEnvelope.ts} +5 -5
  529. package/clients/systemService/models/SuiteLicenseAssignmentDto.ts +16 -0
  530. package/clients/systemService/models/SuiteLicenseAssignmentDtoListEnvelope.ts +14 -0
  531. package/clients/systemService/models/SuiteLicenseDto.ts +15 -0
  532. package/clients/systemService/models/SuiteLicenseDtoEnvelope.ts +14 -0
  533. package/clients/systemService/models/SuiteLicenseDtoListEnvelope.ts +14 -0
  534. package/clients/systemService/services/AntiforgeryService.ts +16 -4
  535. package/clients/systemService/services/LicensingService.ts +230 -0
  536. package/clients/systemService/services/MigrationsService.ts +14 -3
  537. package/clients/systemService/services/ModulesService.ts +61 -0
  538. package/clients/tenantService/index.ts +100 -3
  539. package/clients/tenantService/models/BooleanEnvelope.ts +2 -2
  540. package/clients/tenantService/models/CartDtoEnvelope.ts +2 -2
  541. package/clients/tenantService/models/EmptyEnvelope.ts +2 -1
  542. package/clients/tenantService/models/ErrorEnvelope.ts +2 -2
  543. package/clients/tenantService/models/ExtendedTenantDto.ts +51 -0
  544. package/clients/tenantService/models/ExtendedTenantDtoEnvelope.ts +14 -0
  545. package/clients/tenantService/models/ExtendedTenantEnrolmentDto.ts +19 -0
  546. package/clients/tenantService/models/ExtendedTenantEnrolmentDtoEnvelope.ts +14 -0
  547. package/clients/tenantService/models/NotificationDtoListEnvelope.ts +2 -2
  548. package/clients/tenantService/models/Operation.ts +23 -0
  549. package/clients/tenantService/models/PlatformUserDto.ts +26 -28
  550. package/clients/tenantService/models/PlatformUserDtoListEnvelope.ts +2 -2
  551. package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +2 -2
  552. package/clients/tenantService/models/StringListEnvelope.ts +2 -2
  553. package/clients/tenantService/models/SuiteLicenseAssignmentDto.ts +16 -0
  554. package/clients/tenantService/models/SuiteLicenseAssignmentDtoListEnvelope.ts +14 -0
  555. package/clients/tenantService/models/SuiteLicenseDto.ts +15 -0
  556. package/clients/tenantService/models/SuiteLicenseDtoListEnvelope.ts +14 -0
  557. package/clients/tenantService/models/SuiteLicenseFeatureDto.ts +9 -0
  558. package/clients/tenantService/models/SuiteLicenseFeatureDtoListEnvelope.ts +14 -0
  559. package/clients/tenantService/models/TenantCreateDto.ts +7 -7
  560. package/clients/tenantService/models/TenantDepartmentCreateDto.ts +16 -0
  561. package/clients/tenantService/models/TenantDepartmentDto.ts +16 -0
  562. package/clients/tenantService/models/TenantDepartmentDtoEnvelope.ts +14 -0
  563. package/clients/tenantService/models/TenantDepartmentDtoListEnvelope.ts +14 -0
  564. package/clients/tenantService/models/TenantDepartmentUpdateDto.ts +12 -0
  565. package/clients/tenantService/models/TenantDto.ts +1 -10
  566. package/clients/tenantService/models/TenantDtoEnvelope.ts +2 -2
  567. package/clients/tenantService/models/TenantEnrollmentCreateDto.ts +11 -0
  568. package/clients/tenantService/models/TenantEnrollmentUpdateDto.ts +9 -0
  569. package/clients/tenantService/models/TenantEnrolmentDto.ts +15 -0
  570. package/clients/tenantService/models/TenantEnrolmentDtoEnvelope.ts +14 -0
  571. package/clients/tenantService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
  572. package/clients/tenantService/models/TenantIndustryCreateDto.ts +12 -0
  573. package/clients/tenantService/models/TenantIndustryDto.ts +12 -0
  574. package/clients/tenantService/models/TenantIndustryDtoEnvelope.ts +14 -0
  575. package/clients/tenantService/models/TenantIndustryUpdateDto.ts +10 -0
  576. package/clients/tenantService/models/TenantInvitationCreateDto.ts +12 -0
  577. package/clients/tenantService/models/TenantInvitationDto.ts +16 -0
  578. package/clients/tenantService/models/TenantInvitationDtoEnvelope.ts +14 -0
  579. package/clients/tenantService/models/TenantInvitationDtoListEnvelope.ts +14 -0
  580. package/clients/tenantService/models/TenantPositionCreateDto.ts +13 -0
  581. package/clients/tenantService/models/TenantPositionDto.ts +13 -0
  582. package/clients/tenantService/models/TenantPositionDtoEnvelope.ts +14 -0
  583. package/clients/tenantService/models/TenantPositionDtoListEnvelope.ts +14 -0
  584. package/clients/tenantService/models/TenantPositionUpdateDto.ts +9 -0
  585. package/clients/tenantService/models/TenantSegmentCreateDto.ts +12 -0
  586. package/clients/tenantService/models/TenantSegmentDto.ts +12 -0
  587. package/clients/tenantService/models/TenantSegmentDtoEnvelope.ts +14 -0
  588. package/clients/tenantService/models/TenantSegmentDtoListEnvelope.ts +14 -0
  589. package/clients/tenantService/models/TenantSegmentUpdateDto.ts +10 -0
  590. package/clients/tenantService/models/TenantSizeCreateDto.ts +12 -0
  591. package/clients/tenantService/models/TenantSizeDto.ts +12 -0
  592. package/clients/tenantService/models/TenantSizeDtoEnvelope.ts +14 -0
  593. package/clients/tenantService/models/TenantSizeDtoListEnvelope.ts +14 -0
  594. package/clients/tenantService/models/TenantSizeUpdateDto.ts +10 -0
  595. package/clients/tenantService/models/TenantTeamContactEnrollmentCreateDto.ts +13 -0
  596. package/clients/tenantService/models/TenantTeamContactEnrollmentDto.ts +13 -0
  597. package/clients/tenantService/models/TenantTeamContactEnrollmentDtoEnvelope.ts +14 -0
  598. package/clients/tenantService/models/TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  599. package/clients/tenantService/models/TenantTeamContactEnrollmentUpdateDto.ts +11 -0
  600. package/clients/tenantService/models/TenantTeamCreateDto.ts +17 -0
  601. package/clients/tenantService/models/TenantTeamDto.ts +17 -0
  602. package/clients/tenantService/models/TenantTeamDtoEnvelope.ts +14 -0
  603. package/clients/tenantService/models/TenantTeamDtoIReadOnlyCollectionEnvelope.ts +14 -0
  604. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentCreateDto.ts +13 -0
  605. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDto.ts +13 -0
  606. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoEnvelope.ts +14 -0
  607. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  608. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentUpdateDto.ts +11 -0
  609. package/clients/tenantService/models/TenantTeamProjectEnrollmentCreateDto.ts +13 -0
  610. package/clients/tenantService/models/TenantTeamProjectEnrollmentDto.ts +13 -0
  611. package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoEnvelope.ts +14 -0
  612. package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  613. package/clients/tenantService/models/TenantTeamProjectEnrollmentUpdateDto.ts +11 -0
  614. package/clients/tenantService/models/TenantTeamRecordCreateDto.ts +12 -0
  615. package/clients/tenantService/models/TenantTeamRecordDto.ts +12 -0
  616. package/clients/tenantService/models/TenantTeamRecordDtoEnvelope.ts +14 -0
  617. package/clients/tenantService/models/TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts +14 -0
  618. package/clients/tenantService/models/TenantTeamRecordUpdateDto.ts +10 -0
  619. package/clients/tenantService/models/TenantTeamUpdateDto.ts +17 -0
  620. package/clients/tenantService/models/TenantTerritoryCreateDto.ts +14 -0
  621. package/clients/tenantService/models/TenantTerritoryDto.ts +14 -0
  622. package/clients/tenantService/models/TenantTerritoryDtoEnvelope.ts +14 -0
  623. package/clients/tenantService/models/TenantTerritoryDtoListEnvelope.ts +14 -0
  624. package/clients/tenantService/models/TenantTerritoryUpdateDto.ts +9 -0
  625. package/clients/tenantService/models/TenantTypeCreateDto.ts +11 -0
  626. package/clients/tenantService/models/TenantTypeDto.ts +11 -0
  627. package/clients/tenantService/models/TenantTypeDtoEnvelope.ts +14 -0
  628. package/clients/tenantService/models/TenantTypeDtoIReadOnlyCollectionEnvelope.ts +14 -0
  629. package/clients/tenantService/models/TenantTypeUpdateDto.ts +9 -0
  630. package/clients/tenantService/models/TenantUnitCreateDto.ts +18 -0
  631. package/clients/tenantService/models/TenantUnitDto.ts +18 -0
  632. package/clients/tenantService/models/TenantUnitDtoEnvelope.ts +14 -0
  633. package/clients/tenantService/models/TenantUnitDtoListEnvelope.ts +14 -0
  634. package/clients/tenantService/models/TenantUnitUpdateDto.ts +14 -0
  635. package/clients/tenantService/models/TenantUpdateDto.ts +31 -0
  636. package/clients/tenantService/models/WalletDtoEnvelope.ts +2 -2
  637. package/clients/tenantService/models/WebPortalDto.ts +9 -2
  638. package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +2 -2
  639. package/clients/tenantService/services/DepartmentsService.ts +198 -0
  640. package/clients/tenantService/services/EmployeeEnrollmentsService.ts +181 -0
  641. package/clients/tenantService/services/EnrollmentsService.ts +195 -0
  642. package/clients/tenantService/services/IndustriesService.ts +190 -0
  643. package/clients/tenantService/services/InvitationsService.ts +150 -0
  644. package/clients/tenantService/services/PositionsService.ts +192 -0
  645. package/clients/tenantService/services/SegmentsService.ts +191 -0
  646. package/clients/tenantService/services/SizesService.ts +194 -0
  647. package/clients/tenantService/services/TeamContactEnrollmentsService.ts +191 -0
  648. package/clients/tenantService/services/TeamProjectEnrollmentService.ts +181 -0
  649. package/clients/tenantService/services/TeamRecordsService.ts +192 -0
  650. package/clients/tenantService/services/TeamsService.ts +192 -0
  651. package/clients/tenantService/services/TenantsService.ts +580 -49
  652. package/clients/tenantService/services/TerritoriesService.ts +192 -0
  653. package/clients/tenantService/services/TypesService.ts +176 -0
  654. package/clients/tenantService/services/UnitsService.ts +190 -0
  655. package/clients/walletsService/index.ts +5 -3
  656. package/clients/walletsService/models/Currency.ts +9 -0
  657. package/clients/walletsService/models/ErrorEnvelope.ts +2 -2
  658. package/clients/walletsService/models/InvoiceDto.ts +91 -2
  659. package/clients/walletsService/models/InvoiceDtoListEnvelope.ts +2 -2
  660. package/clients/walletsService/models/LocationDto.ts +1 -1
  661. package/clients/walletsService/models/LocationDtoListEnvelope.ts +2 -2
  662. package/clients/walletsService/models/Money.ts +10 -0
  663. package/clients/walletsService/models/OrderDto.ts +93 -7
  664. package/clients/walletsService/models/OrderDtoListEnvelope.ts +2 -2
  665. package/clients/walletsService/models/PaymentDto.ts +81 -4
  666. package/clients/walletsService/models/PaymentDtoListEnvelope.ts +2 -2
  667. package/clients/walletsService/models/WalletDtoEnvelope.ts +2 -2
  668. package/clients/walletsService/services/WalletsService.ts +73 -8
  669. package/package.json +4 -3
  670. package/schemas/accountingService/schema.s.ts +5108 -0
  671. package/schemas/cartService/schema.s.ts +1716 -78
  672. package/schemas/catalogService/schema.s.ts +2810 -1736
  673. package/schemas/crmService/schema.s.ts +892 -138
  674. package/schemas/forexService/schema.s.ts +116 -345
  675. package/schemas/holderService/schema.s.ts +693 -197
  676. package/schemas/identityService/schema.s.ts +125 -103
  677. package/schemas/inventoryService/schema.s.ts +4 -1
  678. package/schemas/invoicingService/schema.s.ts +1758 -105
  679. package/schemas/learningService/schema.s.ts +1723 -0
  680. package/schemas/marketingService/schema.s.ts +3027 -0
  681. package/schemas/ordersService/schema.s.ts +632 -108
  682. package/schemas/pricingService/schema.s.ts +181 -102
  683. package/schemas/securityService/schema.s.ts +1226 -0
  684. package/schemas/supportService/schema.s.ts +2114 -0
  685. package/schemas/systemService/schema.s.ts +1215 -5
  686. package/schemas/tenantService/schema.s.ts +5405 -427
  687. package/schemas/walletsService/schema.s.ts +374 -34
  688. package/clients/catalogService/models/StockItemCreateDto.ts +0 -108
  689. package/clients/catalogService/models/StockItemUpdateDto.ts +0 -106
  690. package/clients/catalogService/services/ProductsService.ts +0 -1706
  691. package/clients/holderService/models/OrderDto.ts +0 -27
  692. package/clients/holderService/models/PaymentDto.ts +0 -17
  693. package/clients/invoicingService/models/ItemPriceUpdateDto.ts +0 -14
  694. package/clients/ordersService/models/ItemPriceCreateDto.ts +0 -20
  695. package/clients/ordersService/models/ItemPriceUpdateDto.ts +0 -14
@@ -10,11 +10,10 @@ export interface paths {
10
10
  parameters: {
11
11
  query: {
12
12
  tenantId: string;
13
- "api-version"?: string;
14
13
  };
15
14
  };
16
15
  responses: {
17
- /** @description Success */
16
+ /** @description OK */
18
17
  200: {
19
18
  content: {
20
19
  "application/json": components["schemas"]["InvoiceDtoListEnvelope"];
@@ -34,7 +33,6 @@ export interface paths {
34
33
  parameters: {
35
34
  query: {
36
35
  tenantId: string;
37
- "api-version"?: string;
38
36
  };
39
37
  };
40
38
  requestBody?: {
@@ -44,7 +42,7 @@ export interface paths {
44
42
  };
45
43
  };
46
44
  responses: {
47
- /** @description Success */
45
+ /** @description OK */
48
46
  200: {
49
47
  content: {
50
48
  "application/json": components["schemas"]["EmptyEnvelope"];
@@ -61,19 +59,93 @@ export interface paths {
61
59
  };
62
60
  };
63
61
  };
64
- "/api/v2/InvoicingService/Invoices/{invoiceId}": {
62
+ "/api/v2/InvoicingService/Invoices/Count": {
63
+ get: {
64
+ parameters: {
65
+ query: {
66
+ tenantId: string;
67
+ };
68
+ };
69
+ responses: {
70
+ /** @description OK */
71
+ 200: {
72
+ content: {
73
+ "application/json": components["schemas"]["Int32Envelope"];
74
+ "application/xml": components["schemas"]["Int32Envelope"];
75
+ };
76
+ };
77
+ /** @description Not Found */
78
+ 404: {
79
+ content: {
80
+ "application/json": components["schemas"]["ErrorEnvelope"];
81
+ "application/xml": components["schemas"]["ErrorEnvelope"];
82
+ };
83
+ };
84
+ };
85
+ };
86
+ };
87
+ "/api/v2/InvoicingService/Invoices/Extended": {
88
+ get: {
89
+ parameters: {
90
+ query: {
91
+ tenantId: string;
92
+ };
93
+ };
94
+ responses: {
95
+ /** @description OK */
96
+ 200: {
97
+ content: {
98
+ "application/json": components["schemas"]["ExtendedInvoiceDtoListEnvelope"];
99
+ "application/xml": components["schemas"]["ExtendedInvoiceDtoListEnvelope"];
100
+ };
101
+ };
102
+ /** @description Not Found */
103
+ 404: {
104
+ content: {
105
+ "application/json": components["schemas"]["ErrorEnvelope"];
106
+ "application/xml": components["schemas"]["ErrorEnvelope"];
107
+ };
108
+ };
109
+ };
110
+ };
111
+ };
112
+ "/api/v2/InvoicingService/Invoices/Extended/Count": {
113
+ get: {
114
+ parameters: {
115
+ query: {
116
+ tenantId: string;
117
+ };
118
+ };
119
+ responses: {
120
+ /** @description OK */
121
+ 200: {
122
+ content: {
123
+ "application/json": components["schemas"]["Int32Envelope"];
124
+ "application/xml": components["schemas"]["Int32Envelope"];
125
+ };
126
+ };
127
+ /** @description Not Found */
128
+ 404: {
129
+ content: {
130
+ "application/json": components["schemas"]["ErrorEnvelope"];
131
+ "application/xml": components["schemas"]["ErrorEnvelope"];
132
+ };
133
+ };
134
+ };
135
+ };
136
+ };
137
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Extended": {
65
138
  get: {
66
139
  parameters: {
67
140
  query: {
68
141
  tenantId: string;
69
- "api-version"?: string;
70
142
  };
71
143
  path: {
72
144
  invoiceId: string;
73
145
  };
74
146
  };
75
147
  responses: {
76
- /** @description Success */
148
+ /** @description OK */
77
149
  200: {
78
150
  content: {
79
151
  "application/json": components["schemas"]["InvoiceDtoEnvelope"];
@@ -89,11 +161,13 @@ export interface paths {
89
161
  };
90
162
  };
91
163
  };
164
+ };
165
+ "/api/v2/InvoicingService/Invoices/{invoiceId}": {
166
+ get: operations["GetInvoiceAsync"];
92
167
  put: {
93
168
  parameters: {
94
169
  query: {
95
170
  tenantId: string;
96
- "api-version"?: string;
97
171
  };
98
172
  path: {
99
173
  invoiceId: string;
@@ -106,7 +180,7 @@ export interface paths {
106
180
  };
107
181
  };
108
182
  responses: {
109
- /** @description Success */
183
+ /** @description OK */
110
184
  200: {
111
185
  content: {
112
186
  "application/json": components["schemas"]["EmptyEnvelope"];
@@ -126,14 +200,41 @@ export interface paths {
126
200
  parameters: {
127
201
  query: {
128
202
  tenantId: string;
129
- "api-version"?: string;
130
203
  };
131
204
  path: {
132
205
  invoiceId: string;
133
206
  };
134
207
  };
135
208
  responses: {
136
- /** @description Success */
209
+ /** @description OK */
210
+ 200: {
211
+ content: {
212
+ "application/json": components["schemas"]["EmptyEnvelope"];
213
+ "application/xml": components["schemas"]["EmptyEnvelope"];
214
+ };
215
+ };
216
+ /** @description Not Found */
217
+ 404: {
218
+ content: {
219
+ "application/json": components["schemas"]["ErrorEnvelope"];
220
+ "application/xml": components["schemas"]["ErrorEnvelope"];
221
+ };
222
+ };
223
+ };
224
+ };
225
+ };
226
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Calculate": {
227
+ put: {
228
+ parameters: {
229
+ query: {
230
+ tenantId: string;
231
+ };
232
+ path: {
233
+ invoiceId: string;
234
+ };
235
+ };
236
+ responses: {
237
+ /** @description OK */
137
238
  200: {
138
239
  content: {
139
240
  "application/json": components["schemas"]["EmptyEnvelope"];
@@ -156,14 +257,13 @@ export interface paths {
156
257
  query: {
157
258
  tenantId: string;
158
259
  itemId?: string;
159
- "api-version"?: string;
160
260
  };
161
261
  path: {
162
262
  invoiceId: string;
163
263
  };
164
264
  };
165
265
  responses: {
166
- /** @description Success */
266
+ /** @description OK */
167
267
  200: {
168
268
  content: {
169
269
  "application/json": components["schemas"]["InvoiceLineDtoListEnvelope"];
@@ -183,7 +283,6 @@ export interface paths {
183
283
  parameters: {
184
284
  query: {
185
285
  tenantId: string;
186
- "api-version"?: string;
187
286
  };
188
287
  path: {
189
288
  invoiceId: string;
@@ -191,12 +290,12 @@ export interface paths {
191
290
  };
192
291
  requestBody?: {
193
292
  content: {
194
- "application/json": components["schemas"]["ItemPriceCreateDto"];
195
- "application/xml": components["schemas"]["ItemPriceCreateDto"];
293
+ "application/json": components["schemas"]["InvoiceLineCreateDto"];
294
+ "application/xml": components["schemas"]["InvoiceLineCreateDto"];
196
295
  };
197
296
  };
198
297
  responses: {
199
- /** @description Success */
298
+ /** @description OK */
200
299
  200: {
201
300
  content: {
202
301
  "application/json": components["schemas"]["EmptyEnvelope"];
@@ -213,12 +312,39 @@ export interface paths {
213
312
  };
214
313
  };
215
314
  };
315
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/Count": {
316
+ get: {
317
+ parameters: {
318
+ query: {
319
+ tenantId: string;
320
+ };
321
+ path: {
322
+ invoiceId: string;
323
+ };
324
+ };
325
+ responses: {
326
+ /** @description OK */
327
+ 200: {
328
+ content: {
329
+ "application/json": components["schemas"]["Int32Envelope"];
330
+ "application/xml": components["schemas"]["Int32Envelope"];
331
+ };
332
+ };
333
+ /** @description Not Found */
334
+ 404: {
335
+ content: {
336
+ "application/json": components["schemas"]["ErrorEnvelope"];
337
+ "application/xml": components["schemas"]["ErrorEnvelope"];
338
+ };
339
+ };
340
+ };
341
+ };
342
+ };
216
343
  "/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}": {
217
344
  get: {
218
345
  parameters: {
219
346
  query: {
220
347
  tenantId: string;
221
- "api-version"?: string;
222
348
  };
223
349
  path: {
224
350
  invoiceId: string;
@@ -226,7 +352,7 @@ export interface paths {
226
352
  };
227
353
  };
228
354
  responses: {
229
- /** @description Success */
355
+ /** @description OK */
230
356
  200: {
231
357
  content: {
232
358
  "application/json": components["schemas"]["InvoiceLineDtoEnvelope"];
@@ -246,7 +372,6 @@ export interface paths {
246
372
  parameters: {
247
373
  query: {
248
374
  tenantId: string;
249
- "api-version"?: string;
250
375
  };
251
376
  path: {
252
377
  invoiceId: string;
@@ -255,12 +380,12 @@ export interface paths {
255
380
  };
256
381
  requestBody?: {
257
382
  content: {
258
- "application/json": components["schemas"]["ItemPriceUpdateDto"];
259
- "application/xml": components["schemas"]["ItemPriceUpdateDto"];
383
+ "application/json": components["schemas"]["InvoiceLineUpdateDto"];
384
+ "application/xml": components["schemas"]["InvoiceLineUpdateDto"];
260
385
  };
261
386
  };
262
387
  responses: {
263
- /** @description Success */
388
+ /** @description OK */
264
389
  200: {
265
390
  content: {
266
391
  "application/json": components["schemas"]["EmptyEnvelope"];
@@ -280,21 +405,43 @@ export interface paths {
280
405
  parameters: {
281
406
  query: {
282
407
  tenantId: string;
283
- "api-version"?: string;
284
408
  };
285
409
  path: {
286
410
  invoiceId: string;
287
411
  invoiceLineId: string;
288
412
  };
289
413
  };
290
- requestBody?: {
291
- content: {
292
- "application/json": components["schemas"]["ItemPriceUpdateDto"];
293
- "application/xml": components["schemas"]["ItemPriceUpdateDto"];
414
+ responses: {
415
+ /** @description OK */
416
+ 200: {
417
+ content: {
418
+ "application/json": components["schemas"]["EmptyEnvelope"];
419
+ "application/xml": components["schemas"]["EmptyEnvelope"];
420
+ };
421
+ };
422
+ /** @description Not Found */
423
+ 404: {
424
+ content: {
425
+ "application/json": components["schemas"]["ErrorEnvelope"];
426
+ "application/xml": components["schemas"]["ErrorEnvelope"];
427
+ };
428
+ };
429
+ };
430
+ };
431
+ };
432
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}/Calculate": {
433
+ put: {
434
+ parameters: {
435
+ query: {
436
+ tenantId: string;
437
+ };
438
+ path: {
439
+ invoiceId: string;
440
+ invoiceLineId: string;
294
441
  };
295
442
  };
296
443
  responses: {
297
- /** @description Success */
444
+ /** @description OK */
298
445
  200: {
299
446
  content: {
300
447
  "application/json": components["schemas"]["EmptyEnvelope"];
@@ -311,35 +458,60 @@ export interface paths {
311
458
  };
312
459
  };
313
460
  };
314
- "/api/v2/InvoicingService/Invoices/{invoiceId}/Payments": {
315
- /** Get the list of payments related to an Invoice */
461
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}/Taxes": {
316
462
  get: {
317
463
  parameters: {
318
- query?: {
319
- "api-version"?: string;
464
+ query: {
465
+ tenantId: string;
320
466
  };
321
467
  path: {
322
- /** @description The Invoice ID to get payments for. */
323
468
  invoiceId: string;
469
+ invoiceLineId: string;
324
470
  };
325
471
  };
326
472
  responses: {
327
- /** @description Success */
473
+ /** @description OK */
328
474
  200: {
329
475
  content: {
330
- "application/json": components["schemas"]["InvoiceDtoListEnvelope"];
331
- "application/xml": components["schemas"]["InvoiceDtoListEnvelope"];
476
+ "application/json": components["schemas"]["InvoiceLineAppliedTaxDtoListEnvelope"];
477
+ "application/xml": components["schemas"]["InvoiceLineAppliedTaxDtoListEnvelope"];
332
478
  };
333
479
  };
334
- /** @description Unauthorized */
335
- 401: {
480
+ /** @description Not Found */
481
+ 404: {
336
482
  content: {
337
483
  "application/json": components["schemas"]["ErrorEnvelope"];
338
484
  "application/xml": components["schemas"]["ErrorEnvelope"];
339
485
  };
340
486
  };
341
- /** @description Forbidden */
342
- 403: {
487
+ };
488
+ };
489
+ post: {
490
+ parameters: {
491
+ query: {
492
+ tenantId: string;
493
+ };
494
+ path: {
495
+ invoiceId: string;
496
+ invoiceLineId: string;
497
+ };
498
+ };
499
+ requestBody?: {
500
+ content: {
501
+ "application/json": components["schemas"]["InvoiceLineAppliedTaxCreateDto"];
502
+ "application/xml": components["schemas"]["InvoiceLineAppliedTaxCreateDto"];
503
+ };
504
+ };
505
+ responses: {
506
+ /** @description OK */
507
+ 200: {
508
+ content: {
509
+ "application/json": components["schemas"]["EmptyEnvelope"];
510
+ "application/xml": components["schemas"]["EmptyEnvelope"];
511
+ };
512
+ };
513
+ /** @description Not Found */
514
+ 404: {
343
515
  content: {
344
516
  "application/json": components["schemas"]["ErrorEnvelope"];
345
517
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -348,75 +520,1353 @@ export interface paths {
348
520
  };
349
521
  };
350
522
  };
351
- }
352
-
353
- export type webhooks = Record<string, never>;
354
-
355
- export interface components {
356
- schemas: {
357
- EmptyEnvelope: {
358
- errorMessage?: string | null;
359
- isSuccess?: boolean;
360
- /** Format: date-time */
361
- timestamp?: string;
362
- activityId?: string | null;
523
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}/Taxes/Count": {
524
+ get: {
525
+ parameters: {
526
+ query: {
527
+ tenantId: string;
528
+ };
529
+ path: {
530
+ invoiceId: string;
531
+ invoiceLineId: string;
532
+ };
533
+ };
534
+ responses: {
535
+ /** @description OK */
536
+ 200: {
537
+ content: {
538
+ "application/json": components["schemas"]["Int32Envelope"];
539
+ "application/xml": components["schemas"]["Int32Envelope"];
540
+ };
541
+ };
542
+ /** @description Not Found */
543
+ 404: {
544
+ content: {
545
+ "application/json": components["schemas"]["ErrorEnvelope"];
546
+ "application/xml": components["schemas"]["ErrorEnvelope"];
547
+ };
548
+ };
549
+ };
363
550
  };
364
- ErrorEnvelope: {
365
- errorMessage?: string | null;
366
- isSuccess?: boolean;
367
- /** Format: date-time */
368
- timestamp?: string;
369
- activityId?: string | null;
370
- correlationId?: string | null;
551
+ };
552
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Lines/{invoiceLineId}/Taxes/{invoiceLineTaxId}": {
553
+ put: {
554
+ parameters: {
555
+ query: {
556
+ tenantId: string;
557
+ };
558
+ path: {
559
+ invoiceId: string;
560
+ invoiceLineId: string;
561
+ invoiceLineTaxId: string;
562
+ };
563
+ };
564
+ requestBody?: {
565
+ content: {
566
+ "application/json": components["schemas"]["InvoiceLineAppliedTaxUpdateDto"];
567
+ "application/xml": components["schemas"]["InvoiceLineAppliedTaxUpdateDto"];
568
+ };
569
+ };
570
+ responses: {
571
+ /** @description OK */
572
+ 200: {
573
+ content: {
574
+ "application/json": components["schemas"]["EmptyEnvelope"];
575
+ "application/xml": components["schemas"]["EmptyEnvelope"];
576
+ };
577
+ };
578
+ /** @description Not Found */
579
+ 404: {
580
+ content: {
581
+ "application/json": components["schemas"]["ErrorEnvelope"];
582
+ "application/xml": components["schemas"]["ErrorEnvelope"];
583
+ };
584
+ };
585
+ };
371
586
  };
372
- InvoiceCreateDto: {
373
- /** Format: uuid */
374
- id?: string;
587
+ delete: {
588
+ parameters: {
589
+ query: {
590
+ tenantId: string;
591
+ };
592
+ path: {
593
+ invoiceId: string;
594
+ invoiceLineId: string;
595
+ invoiceLineTaxId: string;
596
+ };
597
+ };
598
+ responses: {
599
+ /** @description OK */
600
+ 200: {
601
+ content: {
602
+ "application/json": components["schemas"]["EmptyEnvelope"];
603
+ "application/xml": components["schemas"]["EmptyEnvelope"];
604
+ };
605
+ };
606
+ /** @description Not Found */
607
+ 404: {
608
+ content: {
609
+ "application/json": components["schemas"]["ErrorEnvelope"];
610
+ "application/xml": components["schemas"]["ErrorEnvelope"];
611
+ };
612
+ };
613
+ };
614
+ };
615
+ };
616
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Adjustments": {
617
+ get: {
618
+ parameters: {
619
+ query: {
620
+ tenantId: string;
621
+ };
622
+ path: {
623
+ invoiceId: string;
624
+ };
625
+ };
626
+ responses: {
627
+ /** @description OK */
628
+ 200: {
629
+ content: {
630
+ "application/json": components["schemas"]["InvoiceAdjustmentDtoListEnvelope"];
631
+ "application/xml": components["schemas"]["InvoiceAdjustmentDtoListEnvelope"];
632
+ };
633
+ };
634
+ /** @description Not Found */
635
+ 404: {
636
+ content: {
637
+ "application/json": components["schemas"]["ErrorEnvelope"];
638
+ "application/xml": components["schemas"]["ErrorEnvelope"];
639
+ };
640
+ };
641
+ };
642
+ };
643
+ post: {
644
+ parameters: {
645
+ query: {
646
+ tenantId: string;
647
+ };
648
+ path: {
649
+ invoiceId: string;
650
+ };
651
+ };
652
+ requestBody?: {
653
+ content: {
654
+ "application/json": components["schemas"]["InvoiceAdjustmentCreateDto"];
655
+ "application/xml": components["schemas"]["InvoiceAdjustmentCreateDto"];
656
+ };
657
+ };
658
+ responses: {
659
+ /** @description OK */
660
+ 200: {
661
+ content: {
662
+ "application/json": components["schemas"]["EmptyEnvelope"];
663
+ "application/xml": components["schemas"]["EmptyEnvelope"];
664
+ };
665
+ };
666
+ /** @description Not Found */
667
+ 404: {
668
+ content: {
669
+ "application/json": components["schemas"]["ErrorEnvelope"];
670
+ "application/xml": components["schemas"]["ErrorEnvelope"];
671
+ };
672
+ };
673
+ };
674
+ };
675
+ };
676
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Adjustments/Count": {
677
+ get: {
678
+ parameters: {
679
+ query: {
680
+ tenantId: string;
681
+ };
682
+ path: {
683
+ invoiceId: string;
684
+ };
685
+ };
686
+ responses: {
687
+ /** @description OK */
688
+ 200: {
689
+ content: {
690
+ "application/json": components["schemas"]["Int32Envelope"];
691
+ "application/xml": components["schemas"]["Int32Envelope"];
692
+ };
693
+ };
694
+ /** @description Not Found */
695
+ 404: {
696
+ content: {
697
+ "application/json": components["schemas"]["ErrorEnvelope"];
698
+ "application/xml": components["schemas"]["ErrorEnvelope"];
699
+ };
700
+ };
701
+ };
702
+ };
703
+ };
704
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Adjustments/{invoiceAdjustmentId}": {
705
+ get: {
706
+ parameters: {
707
+ query: {
708
+ tenantId: string;
709
+ };
710
+ path: {
711
+ invoiceId: string;
712
+ invoiceAdjustmentId: string;
713
+ };
714
+ };
715
+ responses: {
716
+ /** @description OK */
717
+ 200: {
718
+ content: {
719
+ "application/json": components["schemas"]["InvoiceAdjustmentDtoEnvelope"];
720
+ "application/xml": components["schemas"]["InvoiceAdjustmentDtoEnvelope"];
721
+ };
722
+ };
723
+ /** @description Not Found */
724
+ 404: {
725
+ content: {
726
+ "application/json": components["schemas"]["ErrorEnvelope"];
727
+ "application/xml": components["schemas"]["ErrorEnvelope"];
728
+ };
729
+ };
730
+ };
731
+ };
732
+ put: {
733
+ parameters: {
734
+ query: {
735
+ tenantId: string;
736
+ };
737
+ path: {
738
+ invoiceId: string;
739
+ invoiceAdjustmentId: string;
740
+ };
741
+ };
742
+ requestBody?: {
743
+ content: {
744
+ "application/json": components["schemas"]["InvoiceAdjustmentUpdateDto"];
745
+ "application/xml": components["schemas"]["InvoiceAdjustmentUpdateDto"];
746
+ };
747
+ };
748
+ responses: {
749
+ /** @description OK */
750
+ 200: {
751
+ content: {
752
+ "application/json": components["schemas"]["EmptyEnvelope"];
753
+ "application/xml": components["schemas"]["EmptyEnvelope"];
754
+ };
755
+ };
756
+ /** @description Not Found */
757
+ 404: {
758
+ content: {
759
+ "application/json": components["schemas"]["ErrorEnvelope"];
760
+ "application/xml": components["schemas"]["ErrorEnvelope"];
761
+ };
762
+ };
763
+ };
764
+ };
765
+ delete: {
766
+ parameters: {
767
+ query: {
768
+ tenantId: string;
769
+ };
770
+ path: {
771
+ invoiceId: string;
772
+ invoiceAdjustmentId: string;
773
+ };
774
+ };
775
+ responses: {
776
+ /** @description OK */
777
+ 200: {
778
+ content: {
779
+ "application/json": components["schemas"]["EmptyEnvelope"];
780
+ "application/xml": components["schemas"]["EmptyEnvelope"];
781
+ };
782
+ };
783
+ /** @description Not Found */
784
+ 404: {
785
+ content: {
786
+ "application/json": components["schemas"]["ErrorEnvelope"];
787
+ "application/xml": components["schemas"]["ErrorEnvelope"];
788
+ };
789
+ };
790
+ };
791
+ };
792
+ };
793
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/References": {
794
+ get: {
795
+ parameters: {
796
+ query: {
797
+ tenantId: string;
798
+ };
799
+ path: {
800
+ invoiceId: string;
801
+ };
802
+ };
803
+ responses: {
804
+ /** @description OK */
805
+ 200: {
806
+ content: {
807
+ "application/json": components["schemas"]["InvoiceReferenceDtoListEnvelope"];
808
+ "application/xml": components["schemas"]["InvoiceReferenceDtoListEnvelope"];
809
+ };
810
+ };
811
+ /** @description Not Found */
812
+ 404: {
813
+ content: {
814
+ "application/json": components["schemas"]["ErrorEnvelope"];
815
+ "application/xml": components["schemas"]["ErrorEnvelope"];
816
+ };
817
+ };
818
+ };
819
+ };
820
+ post: {
821
+ parameters: {
822
+ query: {
823
+ tenantId: string;
824
+ };
825
+ path: {
826
+ invoiceId: string;
827
+ };
828
+ };
829
+ requestBody?: {
830
+ content: {
831
+ "application/json": components["schemas"]["InvoiceReferenceCreateDto"];
832
+ "application/xml": components["schemas"]["InvoiceReferenceCreateDto"];
833
+ };
834
+ };
835
+ responses: {
836
+ /** @description OK */
837
+ 200: {
838
+ content: {
839
+ "application/json": components["schemas"]["EmptyEnvelope"];
840
+ "application/xml": components["schemas"]["EmptyEnvelope"];
841
+ };
842
+ };
843
+ /** @description Not Found */
844
+ 404: {
845
+ content: {
846
+ "application/json": components["schemas"]["ErrorEnvelope"];
847
+ "application/xml": components["schemas"]["ErrorEnvelope"];
848
+ };
849
+ };
850
+ };
851
+ };
852
+ };
853
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/References/Count": {
854
+ get: {
855
+ parameters: {
856
+ query: {
857
+ tenantId: string;
858
+ };
859
+ path: {
860
+ invoiceId: string;
861
+ };
862
+ };
863
+ responses: {
864
+ /** @description OK */
865
+ 200: {
866
+ content: {
867
+ "application/json": components["schemas"]["Int32Envelope"];
868
+ "application/xml": components["schemas"]["Int32Envelope"];
869
+ };
870
+ };
871
+ /** @description Not Found */
872
+ 404: {
873
+ content: {
874
+ "application/json": components["schemas"]["ErrorEnvelope"];
875
+ "application/xml": components["schemas"]["ErrorEnvelope"];
876
+ };
877
+ };
878
+ };
879
+ };
880
+ };
881
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/References/{invoiceReferenceId}": {
882
+ get: {
883
+ parameters: {
884
+ query: {
885
+ tenantId: string;
886
+ };
887
+ path: {
888
+ invoiceId: string;
889
+ invoiceReferenceId: string;
890
+ };
891
+ };
892
+ responses: {
893
+ /** @description OK */
894
+ 200: {
895
+ content: {
896
+ "application/json": components["schemas"]["InvoiceReferenceDtoEnvelope"];
897
+ "application/xml": components["schemas"]["InvoiceReferenceDtoEnvelope"];
898
+ };
899
+ };
900
+ /** @description Not Found */
901
+ 404: {
902
+ content: {
903
+ "application/json": components["schemas"]["ErrorEnvelope"];
904
+ "application/xml": components["schemas"]["ErrorEnvelope"];
905
+ };
906
+ };
907
+ };
908
+ };
909
+ put: {
910
+ parameters: {
911
+ query: {
912
+ tenantId: string;
913
+ };
914
+ path: {
915
+ invoiceId: string;
916
+ invoiceReferenceId: string;
917
+ };
918
+ };
919
+ requestBody?: {
920
+ content: {
921
+ "application/json": components["schemas"]["InvoiceReferenceUpdateDto"];
922
+ "application/xml": components["schemas"]["InvoiceReferenceUpdateDto"];
923
+ };
924
+ };
925
+ responses: {
926
+ /** @description OK */
927
+ 200: {
928
+ content: {
929
+ "application/json": components["schemas"]["EmptyEnvelope"];
930
+ "application/xml": components["schemas"]["EmptyEnvelope"];
931
+ };
932
+ };
933
+ /** @description Not Found */
934
+ 404: {
935
+ content: {
936
+ "application/json": components["schemas"]["ErrorEnvelope"];
937
+ "application/xml": components["schemas"]["ErrorEnvelope"];
938
+ };
939
+ };
940
+ };
941
+ };
942
+ delete: {
943
+ parameters: {
944
+ query: {
945
+ tenantId: string;
946
+ };
947
+ path: {
948
+ invoiceId: string;
949
+ invoiceReferenceId: string;
950
+ };
951
+ };
952
+ responses: {
953
+ /** @description OK */
954
+ 200: {
955
+ content: {
956
+ "application/json": components["schemas"]["EmptyEnvelope"];
957
+ "application/xml": components["schemas"]["EmptyEnvelope"];
958
+ };
959
+ };
960
+ /** @description Not Found */
961
+ 404: {
962
+ content: {
963
+ "application/json": components["schemas"]["ErrorEnvelope"];
964
+ "application/xml": components["schemas"]["ErrorEnvelope"];
965
+ };
966
+ };
967
+ };
968
+ };
969
+ };
970
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Payments": {
971
+ get: {
972
+ parameters: {
973
+ path: {
974
+ invoiceId: string;
975
+ };
976
+ };
977
+ responses: {
978
+ /** @description OK */
979
+ 200: {
980
+ content: {
981
+ "application/json": components["schemas"]["InvoiceDtoListEnvelope"];
982
+ "application/xml": components["schemas"]["InvoiceDtoListEnvelope"];
983
+ };
984
+ };
985
+ /** @description Unauthorized */
986
+ 401: {
987
+ content: {
988
+ "application/json": components["schemas"]["ErrorEnvelope"];
989
+ "application/xml": components["schemas"]["ErrorEnvelope"];
990
+ };
991
+ };
992
+ /** @description Forbidden */
993
+ 403: {
994
+ content: {
995
+ "application/json": components["schemas"]["ErrorEnvelope"];
996
+ "application/xml": components["schemas"]["ErrorEnvelope"];
997
+ };
998
+ };
999
+ };
1000
+ };
1001
+ };
1002
+ "/api/v2/InvoicingService/Invoices/{invoiceId}/Payments/Count": {
1003
+ get: {
1004
+ parameters: {
1005
+ path: {
1006
+ invoiceId: string;
1007
+ };
1008
+ };
1009
+ responses: {
1010
+ /** @description OK */
1011
+ 200: {
1012
+ content: {
1013
+ "application/json": components["schemas"]["Int32Envelope"];
1014
+ "application/xml": components["schemas"]["Int32Envelope"];
1015
+ };
1016
+ };
1017
+ /** @description Unauthorized */
1018
+ 401: {
1019
+ content: {
1020
+ "application/json": components["schemas"]["ErrorEnvelope"];
1021
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1022
+ };
1023
+ };
1024
+ /** @description Forbidden */
1025
+ 403: {
1026
+ content: {
1027
+ "application/json": components["schemas"]["ErrorEnvelope"];
1028
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1029
+ };
1030
+ };
1031
+ };
1032
+ };
1033
+ };
1034
+ "/api/v2/InvoicingService/Invoices/TotalsAggregate": {
1035
+ post: {
1036
+ parameters: {
1037
+ query?: {
1038
+ currencyId?: string;
1039
+ };
1040
+ };
1041
+ requestBody: {
1042
+ content: {
1043
+ "application/json": string[];
1044
+ "application/xml": string[];
1045
+ };
1046
+ };
1047
+ responses: {
1048
+ /** @description OK */
1049
+ 200: {
1050
+ content: {
1051
+ "application/json": components["schemas"]["MoneyEnvelope"];
1052
+ "application/xml": components["schemas"]["MoneyEnvelope"];
1053
+ };
1054
+ };
1055
+ /** @description Unauthorized */
1056
+ 401: {
1057
+ content: {
1058
+ "application/json": components["schemas"]["ErrorEnvelope"];
1059
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1060
+ };
1061
+ };
1062
+ /** @description Forbidden */
1063
+ 403: {
1064
+ content: {
1065
+ "application/json": components["schemas"]["ErrorEnvelope"];
1066
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1067
+ };
1068
+ };
1069
+ };
1070
+ };
1071
+ };
1072
+ "/api/v2/InvoicingService/Invoices/TaxesAggregate": {
1073
+ post: {
1074
+ parameters: {
1075
+ query?: {
1076
+ currencyId?: string;
1077
+ };
1078
+ };
1079
+ requestBody: {
1080
+ content: {
1081
+ "application/json": string[];
1082
+ "application/xml": string[];
1083
+ };
1084
+ };
1085
+ responses: {
1086
+ /** @description OK */
1087
+ 200: {
1088
+ content: {
1089
+ "application/json": components["schemas"]["MoneyEnvelope"];
1090
+ "application/xml": components["schemas"]["MoneyEnvelope"];
1091
+ };
1092
+ };
1093
+ /** @description Unauthorized */
1094
+ 401: {
1095
+ content: {
1096
+ "application/json": components["schemas"]["ErrorEnvelope"];
1097
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1098
+ };
1099
+ };
1100
+ /** @description Forbidden */
1101
+ 403: {
1102
+ content: {
1103
+ "application/json": components["schemas"]["ErrorEnvelope"];
1104
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1105
+ };
1106
+ };
1107
+ };
1108
+ };
1109
+ };
1110
+ "/api/v2/InvoicingService/Invoices/DiscountsAggregate": {
1111
+ post: {
1112
+ parameters: {
1113
+ query?: {
1114
+ currencyId?: string;
1115
+ };
1116
+ };
1117
+ requestBody: {
1118
+ content: {
1119
+ "application/json": string[];
1120
+ "application/xml": string[];
1121
+ };
1122
+ };
1123
+ responses: {
1124
+ /** @description OK */
1125
+ 200: {
1126
+ content: {
1127
+ "application/json": components["schemas"]["MoneyEnvelope"];
1128
+ "application/xml": components["schemas"]["MoneyEnvelope"];
1129
+ };
1130
+ };
1131
+ /** @description Unauthorized */
1132
+ 401: {
1133
+ content: {
1134
+ "application/json": components["schemas"]["ErrorEnvelope"];
1135
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1136
+ };
1137
+ };
1138
+ /** @description Forbidden */
1139
+ 403: {
1140
+ content: {
1141
+ "application/json": components["schemas"]["ErrorEnvelope"];
1142
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1143
+ };
1144
+ };
1145
+ };
1146
+ };
1147
+ };
1148
+ "/api/v2/InvoicingService/Invoices/TaxBasesAggregate": {
1149
+ post: {
1150
+ parameters: {
1151
+ query?: {
1152
+ currencyId?: string;
1153
+ };
1154
+ };
1155
+ requestBody: {
1156
+ content: {
1157
+ "application/json": string[];
1158
+ "application/xml": string[];
1159
+ };
1160
+ };
1161
+ responses: {
1162
+ /** @description OK */
1163
+ 200: {
1164
+ content: {
1165
+ "application/json": components["schemas"]["MoneyEnvelope"];
1166
+ "application/xml": components["schemas"]["MoneyEnvelope"];
1167
+ };
1168
+ };
1169
+ /** @description Unauthorized */
1170
+ 401: {
1171
+ content: {
1172
+ "application/json": components["schemas"]["ErrorEnvelope"];
1173
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1174
+ };
1175
+ };
1176
+ /** @description Forbidden */
1177
+ 403: {
1178
+ content: {
1179
+ "application/json": components["schemas"]["ErrorEnvelope"];
1180
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1181
+ };
1182
+ };
1183
+ };
1184
+ };
1185
+ };
1186
+ "/api/v2/InvoicingService/Invoices/GlobalSurchargesAggregate": {
1187
+ post: {
1188
+ parameters: {
1189
+ query?: {
1190
+ currencyId?: string;
1191
+ };
1192
+ };
1193
+ requestBody: {
1194
+ content: {
1195
+ "application/json": string[];
1196
+ "application/xml": string[];
1197
+ };
1198
+ };
1199
+ responses: {
1200
+ /** @description OK */
1201
+ 200: {
1202
+ content: {
1203
+ "application/json": components["schemas"]["MoneyEnvelope"];
1204
+ "application/xml": components["schemas"]["MoneyEnvelope"];
1205
+ };
1206
+ };
1207
+ /** @description Unauthorized */
1208
+ 401: {
1209
+ content: {
1210
+ "application/json": components["schemas"]["ErrorEnvelope"];
1211
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1212
+ };
1213
+ };
1214
+ /** @description Forbidden */
1215
+ 403: {
1216
+ content: {
1217
+ "application/json": components["schemas"]["ErrorEnvelope"];
1218
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1219
+ };
1220
+ };
1221
+ };
1222
+ };
1223
+ };
1224
+ }
1225
+
1226
+ export type webhooks = Record<string, never>;
1227
+
1228
+ export interface components {
1229
+ schemas: {
1230
+ Currency: {
1231
+ code?: string | null;
1232
+ country?: string | null;
1233
+ };
1234
+ EmptyEnvelope: {
1235
+ isSuccess?: boolean;
1236
+ errorMessage?: string | null;
1237
+ correlationId?: string | null;
1238
+ /** Format: date-time */
1239
+ timestamp?: string;
1240
+ activityId?: string | null;
1241
+ };
1242
+ ErrorEnvelope: {
1243
+ isSuccess?: boolean;
1244
+ errorMessage?: string | null;
1245
+ correlationId?: string | null;
1246
+ /** Format: date-time */
1247
+ timestamp?: string;
1248
+ activityId?: string | null;
1249
+ };
1250
+ ExtendedInvoiceDto: {
1251
+ id?: string | null;
1252
+ /** Format: date-time */
1253
+ timestamp?: string | null;
1254
+ closed?: boolean;
1255
+ type?: string | null;
1256
+ title?: string | null;
1257
+ userId?: string | null;
1258
+ tenantId?: string | null;
1259
+ currencyId?: string | null;
1260
+ description?: string | null;
1261
+ priceListId?: string | null;
1262
+ enrollmentId?: string | null;
1263
+ individualId?: string | null;
1264
+ organizationId?: string | null;
1265
+ receiverTenantId?: string | null;
1266
+ firstName?: string | null;
1267
+ lastName?: string | null;
1268
+ companyName?: string | null;
1269
+ billingEmail?: string | null;
1270
+ addressLine1?: string | null;
1271
+ addressLine2?: string | null;
1272
+ postalCode?: string | null;
1273
+ countryId?: string | null;
1274
+ stateId?: string | null;
1275
+ cityId?: string | null;
1276
+ customerNotes?: string | null;
1277
+ /** Format: double */
1278
+ forexRate?: number;
1279
+ /** Format: double */
1280
+ total?: number;
1281
+ /** Format: double */
1282
+ totalTaxes?: number;
1283
+ /** Format: double */
1284
+ totalTaxBase?: number;
1285
+ /** Format: double */
1286
+ totalDiscounts?: number;
1287
+ /** Format: double */
1288
+ totalSurcharges?: number;
1289
+ /** Format: double */
1290
+ totalGlobalDiscounts?: number;
1291
+ /** Format: double */
1292
+ totalGlobalSurcharges?: number;
1293
+ /** Format: double */
1294
+ totalTaxesInUsd?: number;
1295
+ /** Format: double */
1296
+ totalAmountInUsd?: number;
1297
+ /** Format: double */
1298
+ totalProfitInUsd?: number;
1299
+ /** Format: double */
1300
+ totalTaxBaseInUsd?: number;
1301
+ /** Format: double */
1302
+ totalDiscountsInUsd?: number;
1303
+ /** Format: double */
1304
+ totalSurchargesInUsd?: number;
1305
+ /** Format: double */
1306
+ totalDetailAmountInUsd?: number;
1307
+ /** Format: double */
1308
+ totalGlobalDiscountsInUsd?: number;
1309
+ /** Format: double */
1310
+ totalGlobalSurchargesInUsd?: number;
1311
+ /** Format: double */
1312
+ totalWithholdingTaxesInUsd?: number;
1313
+ /** Format: double */
1314
+ totalShippingCostInUsd?: number;
1315
+ /** Format: double */
1316
+ totalShippingTaxesInUsd?: number;
1317
+ currency?: components["schemas"]["Currency"];
1318
+ totalInUsd?: components["schemas"]["Money"];
1319
+ totalTaxAmountInUsd?: components["schemas"]["Money"];
1320
+ totalTaxBaseAmountInUsd?: components["schemas"]["Money"];
1321
+ totalDiscountsAmountInUsd?: components["schemas"]["Money"];
1322
+ totalSurchargesAmountInUsd?: components["schemas"]["Money"];
1323
+ totalGlobalDiscountsAmountInUsd?: components["schemas"]["Money"];
1324
+ totalGlobalSurchargesAmountInUsd?: components["schemas"]["Money"];
1325
+ totalAmount?: components["schemas"]["Money"];
1326
+ totalTaxAmount?: components["schemas"]["Money"];
1327
+ totalTaxBaseAmount?: components["schemas"]["Money"];
1328
+ totalDiscountsAmount?: components["schemas"]["Money"];
1329
+ totalSurchargesAmount?: components["schemas"]["Money"];
1330
+ totalGlobalDiscountsAmount?: components["schemas"]["Money"];
1331
+ totalGlobalSurchargesAmount?: components["schemas"]["Money"];
1332
+ paid?: boolean;
1333
+ /** Format: int64 */
1334
+ number?: number;
1335
+ notes?: string | null;
1336
+ orderId?: string | null;
1337
+ enumeration?: string | null;
1338
+ paymentModeId?: string | null;
1339
+ enumerationRangeId?: string | null;
1340
+ emisorBillingProfileId?: string | null;
1341
+ receiverBillingProfileId?: string | null;
1342
+ emisorWalletAccountId?: string | null;
1343
+ receiverWalletAccountId?: string | null;
1344
+ /** Format: date-time */
1345
+ paymentDue?: string | null;
1346
+ /**
1347
+ * Format: int32
1348
+ * @enum {integer}
1349
+ */
1350
+ invoiceType?: 0 | 1;
1351
+ /**
1352
+ * Format: int32
1353
+ * @enum {integer}
1354
+ */
1355
+ documentType?: 0 | 1 | 2;
1356
+ /**
1357
+ * Format: int32
1358
+ * @enum {integer}
1359
+ */
1360
+ invoiceStatus?: 0 | 1 | 2 | 3 | 4;
1361
+ tenant?: components["schemas"]["TenantDto"];
1362
+ user?: components["schemas"]["SimpleUserDto"];
1363
+ individual?: components["schemas"]["SimpleContactDto"];
1364
+ organization?: components["schemas"]["SimpleContactDto"];
1365
+ enrollment?: components["schemas"]["SimpleTenantEnrolmentDto"];
1366
+ };
1367
+ ExtendedInvoiceDtoListEnvelope: {
1368
+ isSuccess?: boolean;
1369
+ errorMessage?: string | null;
1370
+ correlationId?: string | null;
1371
+ /** Format: date-time */
1372
+ timestamp?: string;
1373
+ activityId?: string | null;
1374
+ result?: components["schemas"]["ExtendedInvoiceDto"][] | null;
1375
+ };
1376
+ Int32Envelope: {
1377
+ isSuccess?: boolean;
1378
+ errorMessage?: string | null;
1379
+ correlationId?: string | null;
1380
+ /** Format: date-time */
1381
+ timestamp?: string;
1382
+ activityId?: string | null;
1383
+ /** Format: int32 */
1384
+ result?: number;
1385
+ };
1386
+ InvoiceAdjustmentCreateDto: {
1387
+ /** Format: uuid */
1388
+ id?: string;
1389
+ /** Format: date-time */
1390
+ timestamp?: string;
1391
+ tenantId?: string | null;
1392
+ invoiceId?: string | null;
1393
+ currencyId?: string | null;
1394
+ enrollmentId?: string | null;
1395
+ description?: string | null;
1396
+ /** Format: double */
1397
+ surchargePercent?: number;
1398
+ /** Format: double */
1399
+ surchargeAmount?: number;
1400
+ /** Format: double */
1401
+ discountPercent?: number;
1402
+ /** Format: double */
1403
+ discountAmount?: number;
1404
+ /** Format: double */
1405
+ totalSurcharge?: number;
1406
+ /** Format: double */
1407
+ totalDiscount?: number;
1408
+ /**
1409
+ * Format: int32
1410
+ * @enum {integer}
1411
+ */
1412
+ type?: 0 | 1;
1413
+ };
1414
+ InvoiceAdjustmentDto: {
1415
+ id?: string | null;
1416
+ /** Format: date-time */
1417
+ timestamp?: string | null;
1418
+ tenantId?: string | null;
1419
+ invoiceId?: string | null;
1420
+ currencyId?: string | null;
1421
+ enrollmentId?: string | null;
1422
+ description?: string | null;
1423
+ /** Format: double */
1424
+ surchargePercent?: number;
1425
+ /** Format: double */
1426
+ surchargeAmount?: number;
1427
+ /** Format: double */
1428
+ discountPercent?: number;
1429
+ /** Format: double */
1430
+ discountAmount?: number;
1431
+ /** Format: double */
1432
+ totalSurcharge?: number;
1433
+ /** Format: double */
1434
+ totalDiscount?: number;
1435
+ /**
1436
+ * Format: int32
1437
+ * @enum {integer}
1438
+ */
1439
+ type?: 0 | 1;
1440
+ };
1441
+ InvoiceAdjustmentDtoEnvelope: {
1442
+ isSuccess?: boolean;
1443
+ errorMessage?: string | null;
1444
+ correlationId?: string | null;
1445
+ /** Format: date-time */
1446
+ timestamp?: string;
1447
+ activityId?: string | null;
1448
+ result?: components["schemas"]["InvoiceAdjustmentDto"];
1449
+ };
1450
+ InvoiceAdjustmentDtoListEnvelope: {
1451
+ isSuccess?: boolean;
1452
+ errorMessage?: string | null;
1453
+ correlationId?: string | null;
1454
+ /** Format: date-time */
1455
+ timestamp?: string;
1456
+ activityId?: string | null;
1457
+ result?: components["schemas"]["InvoiceAdjustmentDto"][] | null;
1458
+ };
1459
+ InvoiceAdjustmentUpdateDto: {
1460
+ currencyId?: string | null;
1461
+ description?: string | null;
1462
+ /** Format: double */
1463
+ surchargePercent?: number;
1464
+ /** Format: double */
1465
+ surchargeAmount?: number;
1466
+ /** Format: double */
1467
+ discountPercent?: number;
1468
+ /** Format: double */
1469
+ discountAmount?: number;
1470
+ /** Format: double */
1471
+ totalSurcharge?: number;
1472
+ /** Format: double */
1473
+ totalDiscount?: number;
1474
+ /**
1475
+ * Format: int32
1476
+ * @enum {integer}
1477
+ */
1478
+ type?: 0 | 1;
1479
+ };
1480
+ InvoiceCreateDto: {
1481
+ /** Format: uuid */
1482
+ id?: string;
1483
+ /** Format: date-time */
1484
+ timestamp?: string;
1485
+ closed?: boolean;
1486
+ title?: string | null;
1487
+ userId?: string | null;
1488
+ tenantId?: string | null;
1489
+ priceListId?: string | null;
1490
+ description?: string | null;
1491
+ enrollmentId?: string | null;
1492
+ individualId?: string | null;
1493
+ paymentTermId?: string | null;
1494
+ organizationId?: string | null;
1495
+ receptorTenantId?: string | null;
1496
+ currencyId?: string | null;
1497
+ /** Format: double */
1498
+ forexRate?: number;
1499
+ firstName?: string | null;
1500
+ lastName?: string | null;
1501
+ companyName?: string | null;
1502
+ billingEmail?: string | null;
1503
+ addressLine1?: string | null;
1504
+ addressLine2?: string | null;
1505
+ postalCode?: string | null;
1506
+ countryId?: string | null;
1507
+ stateId?: string | null;
1508
+ cityId?: string | null;
1509
+ paid?: boolean;
1510
+ /** Format: int32 */
1511
+ number?: number;
1512
+ notes?: string | null;
1513
+ customerNotes?: string | null;
1514
+ orderId?: string | null;
1515
+ enumeration?: string | null;
1516
+ paymentModeId?: string | null;
1517
+ receiverTenantId?: string | null;
1518
+ enumerationRangeId?: string | null;
1519
+ emisorBillingProfileId?: string | null;
1520
+ receiverBillingProfileId?: string | null;
1521
+ emisorWalletAccountId?: string | null;
1522
+ receiverWalletAccountId?: string | null;
1523
+ /** Format: date-time */
1524
+ paymentDue?: string | null;
1525
+ /**
1526
+ * Format: int32
1527
+ * @enum {integer}
1528
+ */
1529
+ invoiceType?: 0 | 1;
1530
+ /**
1531
+ * Format: int32
1532
+ * @enum {integer}
1533
+ */
1534
+ documentType?: 0 | 1 | 2;
1535
+ /**
1536
+ * Format: int32
1537
+ * @enum {integer}
1538
+ */
1539
+ invoiceStatus?: 0 | 1 | 2 | 3 | 4;
1540
+ /** Format: date-time */
1541
+ validFrom?: string | null;
1542
+ /** Format: date-time */
1543
+ validTo?: string | null;
1544
+ invoiceReferences?: components["schemas"]["InvoiceReferenceDto"][] | null;
1545
+ invoiceItemRecords?: components["schemas"]["InvoiceItemRecordDto"][] | null;
1546
+ invoiceAdjustments?: components["schemas"]["InvoiceAdjustmentDto"][] | null;
1547
+ };
1548
+ InvoiceDto: {
1549
+ id?: string | null;
1550
+ /** Format: date-time */
1551
+ timestamp?: string | null;
1552
+ closed?: boolean;
1553
+ type?: string | null;
1554
+ title?: string | null;
1555
+ userId?: string | null;
1556
+ tenantId?: string | null;
1557
+ currencyId?: string | null;
1558
+ description?: string | null;
1559
+ priceListId?: string | null;
1560
+ enrollmentId?: string | null;
1561
+ individualId?: string | null;
1562
+ organizationId?: string | null;
1563
+ receiverTenantId?: string | null;
1564
+ firstName?: string | null;
1565
+ lastName?: string | null;
1566
+ companyName?: string | null;
1567
+ billingEmail?: string | null;
1568
+ addressLine1?: string | null;
1569
+ addressLine2?: string | null;
1570
+ postalCode?: string | null;
1571
+ countryId?: string | null;
1572
+ stateId?: string | null;
1573
+ cityId?: string | null;
1574
+ customerNotes?: string | null;
1575
+ /** Format: double */
1576
+ forexRate?: number;
1577
+ /** Format: double */
1578
+ total?: number;
1579
+ /** Format: double */
1580
+ totalTaxes?: number;
1581
+ /** Format: double */
1582
+ totalTaxBase?: number;
1583
+ /** Format: double */
1584
+ totalDiscounts?: number;
1585
+ /** Format: double */
1586
+ totalSurcharges?: number;
1587
+ /** Format: double */
1588
+ totalGlobalDiscounts?: number;
1589
+ /** Format: double */
1590
+ totalGlobalSurcharges?: number;
1591
+ /** Format: double */
1592
+ totalTaxesInUsd?: number;
1593
+ /** Format: double */
1594
+ totalAmountInUsd?: number;
1595
+ /** Format: double */
1596
+ totalProfitInUsd?: number;
1597
+ /** Format: double */
1598
+ totalTaxBaseInUsd?: number;
1599
+ /** Format: double */
1600
+ totalDiscountsInUsd?: number;
1601
+ /** Format: double */
1602
+ totalSurchargesInUsd?: number;
1603
+ /** Format: double */
1604
+ totalDetailAmountInUsd?: number;
1605
+ /** Format: double */
1606
+ totalGlobalDiscountsInUsd?: number;
1607
+ /** Format: double */
1608
+ totalGlobalSurchargesInUsd?: number;
1609
+ /** Format: double */
1610
+ totalWithholdingTaxesInUsd?: number;
1611
+ /** Format: double */
1612
+ totalShippingCostInUsd?: number;
1613
+ /** Format: double */
1614
+ totalShippingTaxesInUsd?: number;
1615
+ currency?: components["schemas"]["Currency"];
1616
+ totalInUsd?: components["schemas"]["Money"];
1617
+ totalTaxAmountInUsd?: components["schemas"]["Money"];
1618
+ totalTaxBaseAmountInUsd?: components["schemas"]["Money"];
1619
+ totalDiscountsAmountInUsd?: components["schemas"]["Money"];
1620
+ totalSurchargesAmountInUsd?: components["schemas"]["Money"];
1621
+ totalGlobalDiscountsAmountInUsd?: components["schemas"]["Money"];
1622
+ totalGlobalSurchargesAmountInUsd?: components["schemas"]["Money"];
1623
+ totalAmount?: components["schemas"]["Money"];
1624
+ totalTaxAmount?: components["schemas"]["Money"];
1625
+ totalTaxBaseAmount?: components["schemas"]["Money"];
1626
+ totalDiscountsAmount?: components["schemas"]["Money"];
1627
+ totalSurchargesAmount?: components["schemas"]["Money"];
1628
+ totalGlobalDiscountsAmount?: components["schemas"]["Money"];
1629
+ totalGlobalSurchargesAmount?: components["schemas"]["Money"];
1630
+ paid?: boolean;
1631
+ /** Format: int64 */
1632
+ number?: number;
1633
+ notes?: string | null;
1634
+ orderId?: string | null;
1635
+ enumeration?: string | null;
1636
+ paymentModeId?: string | null;
1637
+ enumerationRangeId?: string | null;
1638
+ emisorBillingProfileId?: string | null;
1639
+ receiverBillingProfileId?: string | null;
1640
+ emisorWalletAccountId?: string | null;
1641
+ receiverWalletAccountId?: string | null;
1642
+ /** Format: date-time */
1643
+ paymentDue?: string | null;
1644
+ /**
1645
+ * Format: int32
1646
+ * @enum {integer}
1647
+ */
1648
+ invoiceType?: 0 | 1;
1649
+ /**
1650
+ * Format: int32
1651
+ * @enum {integer}
1652
+ */
1653
+ documentType?: 0 | 1 | 2;
1654
+ /**
1655
+ * Format: int32
1656
+ * @enum {integer}
1657
+ */
1658
+ invoiceStatus?: 0 | 1 | 2 | 3 | 4;
1659
+ };
1660
+ InvoiceDtoEnvelope: {
1661
+ isSuccess?: boolean;
1662
+ errorMessage?: string | null;
1663
+ correlationId?: string | null;
1664
+ /** Format: date-time */
1665
+ timestamp?: string;
1666
+ activityId?: string | null;
1667
+ result?: components["schemas"]["InvoiceDto"];
1668
+ };
1669
+ InvoiceDtoListEnvelope: {
1670
+ isSuccess?: boolean;
1671
+ errorMessage?: string | null;
1672
+ correlationId?: string | null;
1673
+ /** Format: date-time */
1674
+ timestamp?: string;
1675
+ activityId?: string | null;
1676
+ result?: components["schemas"]["InvoiceDto"][] | null;
1677
+ };
1678
+ InvoiceItemRecordDto: {
1679
+ id?: string | null;
1680
+ /** Format: date-time */
1681
+ timestamp?: string | null;
1682
+ closed?: boolean;
1683
+ itemId?: string | null;
1684
+ itemTitle?: string | null;
1685
+ itemShortDescription?: string | null;
1686
+ itemPrimaryImageUrl?: string | null;
1687
+ shippingPolicyId?: string | null;
1688
+ tenantId?: string | null;
1689
+ enrollmentId?: string | null;
1690
+ currencyId?: string | null;
1691
+ description?: string | null;
1692
+ /** Format: double */
1693
+ quantity?: number;
1694
+ free?: boolean;
1695
+ freeReason?: string | null;
1696
+ freeReasonCode?: string | null;
1697
+ data?: string | null;
1698
+ dataLabel?: string | null;
1699
+ data1?: string | null;
1700
+ data1Label?: string | null;
1701
+ data2?: string | null;
1702
+ data2Label?: string | null;
1703
+ data3?: string | null;
1704
+ data3Label?: string | null;
1705
+ data4?: string | null;
1706
+ data4Label?: string | null;
1707
+ data5?: string | null;
1708
+ data5Label?: string | null;
1709
+ data6?: string | null;
1710
+ data6Label?: string | null;
1711
+ data7?: string | null;
1712
+ data7Label?: string | null;
1713
+ data8?: string | null;
1714
+ data8Label?: string | null;
1715
+ data9?: string | null;
1716
+ data9Label?: string | null;
1717
+ itemPriceId?: string | null;
1718
+ priceListItemId?: string | null;
1719
+ unitId?: string | null;
1720
+ unitGroupId?: string | null;
1721
+ /**
1722
+ * Format: int32
1723
+ * @enum {integer}
1724
+ */
1725
+ taxCalculationMethod?: 0 | 1;
1726
+ /**
1727
+ * Format: int32
1728
+ * @enum {integer}
1729
+ */
1730
+ costCalculationMethod?: 0 | 1;
1731
+ forexRatesSnapshot?: string | null;
1732
+ /** Format: double */
1733
+ forexRate?: number;
1734
+ /** Format: double */
1735
+ totalBaseAmountInUsd?: number;
1736
+ /** Format: double */
1737
+ totalProfitInUsd?: number;
1738
+ /** Format: double */
1739
+ totalDetailAmountInUsd?: number;
1740
+ /** Format: double */
1741
+ totalTaxBaseInUsd?: number;
1742
+ /** Format: double */
1743
+ totalDiscountsInUsd?: number;
1744
+ /** Format: double */
1745
+ totalTaxesInUsd?: number;
1746
+ /** Format: double */
1747
+ totalWithholdingTaxesInUsd?: number;
1748
+ /** Format: double */
1749
+ totalShippingCostInUsd?: number;
1750
+ /** Format: double */
1751
+ totalShippingTaxesInUsd?: number;
1752
+ /** Format: double */
1753
+ totalWarrantyCostInUsd?: number;
1754
+ /** Format: double */
1755
+ totalReturnCostInUsd?: number;
1756
+ /** Format: double */
1757
+ totalRefundCostInUsd?: number;
1758
+ /** Format: double */
1759
+ totalSurchargesInUsd?: number;
1760
+ /** Format: double */
1761
+ totalAmountInUsd?: number;
1762
+ /** Format: double */
1763
+ totalGlobalDiscountsInUsd?: number;
1764
+ /** Format: double */
1765
+ totalGlobalSurchargesInUsd?: number;
1766
+ /** Format: double */
1767
+ customGlobalSurchargesAmount?: number;
1768
+ /** Format: double */
1769
+ customGlobalDiscountsAmount?: number;
1770
+ /** Format: double */
1771
+ customBaseAmount?: number;
1772
+ /** Format: double */
1773
+ customDetailAmount?: number;
1774
+ /** Format: double */
1775
+ customDiscountsAmount?: number;
1776
+ /** Format: double */
1777
+ customTaxBase?: number;
1778
+ /** Format: double */
1779
+ customSurchargesAmount?: number;
1780
+ /** Format: double */
1781
+ customProfitAmount?: number;
1782
+ /** Format: double */
1783
+ customShippingCostAmount?: number;
1784
+ /** Format: double */
1785
+ customShippingTaxAmount?: number;
1786
+ /** Format: double */
1787
+ customTaxAmount?: number;
1788
+ /** Format: double */
1789
+ customWithholdingTaxAmount?: number;
1790
+ /** Format: double */
1791
+ customTotalAmount?: number;
1792
+ returnPolicyId?: string | null;
1793
+ refundPolicyId?: string | null;
1794
+ warrantyPolicyId?: string | null;
1795
+ shipmentPolicyId?: string | null;
1796
+ shippingLocationId?: string | null;
1797
+ locationId?: string | null;
1798
+ quoteItemRecordId?: string | null;
1799
+ businessProfileRecordId?: string | null;
1800
+ parentBillingItemRecordId?: string | null;
1801
+ invoiceId?: string | null;
1802
+ };
1803
+ InvoiceLineAppliedTaxCreateDto: {
1804
+ /** Format: uuid */
1805
+ id?: string;
375
1806
  /** Format: date-time */
376
1807
  timestamp?: string;
377
1808
  tenantId?: string | null;
1809
+ invoiceId?: string | null;
1810
+ taxPolicyId?: string | null;
378
1811
  enrollmentId?: string | null;
379
1812
  };
380
- InvoiceDto: {
1813
+ InvoiceLineAppliedTaxDto: {
381
1814
  id?: string | null;
382
1815
  /** Format: date-time */
383
1816
  timestamp?: string | null;
384
- orderID?: string | null;
385
- businessID?: string | null;
1817
+ tenantId?: string | null;
1818
+ invoiceId?: string | null;
1819
+ enrollmentId?: string | null;
1820
+ invoiceLineId?: string | null;
1821
+ taxPolicyId?: string | null;
1822
+ itemPriceId?: string | null;
1823
+ itemId?: string | null;
386
1824
  /** Format: double */
387
- forexRate?: number;
1825
+ taxAmountInUsd?: number;
388
1826
  /** Format: double */
389
- totalAmountInUsd?: number;
1827
+ taxBaseAmountInUsd?: number;
1828
+ taxPolicyName?: string | null;
1829
+ taxPolicyDescription?: string | null;
390
1830
  };
391
- InvoiceDtoEnvelope: {
392
- errorMessage?: string | null;
1831
+ InvoiceLineAppliedTaxDtoListEnvelope: {
393
1832
  isSuccess?: boolean;
1833
+ errorMessage?: string | null;
1834
+ correlationId?: string | null;
394
1835
  /** Format: date-time */
395
1836
  timestamp?: string;
396
1837
  activityId?: string | null;
397
- correlationId?: string | null;
398
- result?: components["schemas"]["InvoiceDto"];
1838
+ result?: components["schemas"]["InvoiceLineAppliedTaxDto"][] | null;
399
1839
  };
400
- InvoiceDtoListEnvelope: {
401
- errorMessage?: string | null;
402
- isSuccess?: boolean;
1840
+ InvoiceLineAppliedTaxUpdateDto: {
1841
+ taxPolicyId?: string | null;
1842
+ };
1843
+ InvoiceLineCreateDto: {
1844
+ /** Format: uuid */
1845
+ id?: string;
403
1846
  /** Format: date-time */
404
1847
  timestamp?: string;
405
- activityId?: string | null;
406
- correlationId?: string | null;
407
- result?: components["schemas"]["InvoiceDto"][] | null;
1848
+ invoiceId?: string | null;
1849
+ currencyId?: string | null;
1850
+ itemId?: string | null;
1851
+ /** Format: int32 */
1852
+ quantity?: number;
408
1853
  };
409
1854
  InvoiceLineDto: {
410
1855
  id?: string | null;
1856
+ /** Format: date-time */
1857
+ timestamp?: string | null;
411
1858
  closed?: boolean;
412
1859
  itemId?: string | null;
413
- businessId?: string | null;
1860
+ itemTitle?: string | null;
1861
+ itemShortDescription?: string | null;
1862
+ itemPrimaryImageUrl?: string | null;
1863
+ shippingPolicyId?: string | null;
1864
+ tenantId?: string | null;
1865
+ enrollmentId?: string | null;
414
1866
  currencyId?: string | null;
415
1867
  description?: string | null;
416
1868
  /** Format: double */
417
1869
  quantity?: number;
418
- /** Format: date-time */
419
- timestamp?: string;
420
1870
  free?: boolean;
421
1871
  freeReason?: string | null;
422
1872
  freeReasonCode?: string | null;
@@ -527,53 +1977,228 @@ export interface components {
527
1977
  invoiceId?: string | null;
528
1978
  };
529
1979
  InvoiceLineDtoEnvelope: {
530
- errorMessage?: string | null;
531
1980
  isSuccess?: boolean;
1981
+ errorMessage?: string | null;
1982
+ correlationId?: string | null;
532
1983
  /** Format: date-time */
533
1984
  timestamp?: string;
534
1985
  activityId?: string | null;
535
- correlationId?: string | null;
536
1986
  result?: components["schemas"]["InvoiceLineDto"];
537
1987
  };
538
1988
  InvoiceLineDtoListEnvelope: {
539
- errorMessage?: string | null;
540
1989
  isSuccess?: boolean;
1990
+ errorMessage?: string | null;
1991
+ correlationId?: string | null;
541
1992
  /** Format: date-time */
542
1993
  timestamp?: string;
543
1994
  activityId?: string | null;
544
- correlationId?: string | null;
545
1995
  result?: components["schemas"]["InvoiceLineDto"][] | null;
546
1996
  };
547
- InvoiceUpdateDto: Record<string, never>;
548
- ItemPriceCreateDto: {
549
- /** Format: uuid */
550
- id?: string;
551
- /** Format: date-time */
552
- timestamp?: string;
553
- itemId: string;
554
- priceListId: string;
555
- currencyId?: string | null;
1997
+ InvoiceLineUpdateDto: {
556
1998
  /** Format: double */
557
1999
  price?: number;
2000
+ unitId?: string | null;
558
2001
  /** Format: double */
559
2002
  percent?: number;
560
- tenantId?: string | null;
561
- enrollmentId?: string | null;
562
- unitId?: string | null;
563
2003
  unitGroupId?: string | null;
2004
+ currencyId?: string | null;
564
2005
  discountListId?: string | null;
565
2006
  roundingPolicyId?: string | null;
2007
+ /** Format: int32 */
2008
+ quantity?: number;
2009
+ itemId?: string | null;
2010
+ itemPriceId?: string | null;
2011
+ invoiceLineId?: string | null;
2012
+ /** Format: double */
2013
+ taxAmountInUsd?: number;
2014
+ /** Format: double */
2015
+ taxBaseAmountInUsd?: number;
2016
+ };
2017
+ InvoiceReferenceCreateDto: {
2018
+ /** Format: uuid */
2019
+ id?: string;
2020
+ /** Format: date-time */
2021
+ timestamp?: string;
2022
+ tenantId?: string | null;
2023
+ enrollmentId?: string | null;
2024
+ referralInvoiceId?: string | null;
2025
+ referencedInvoiceId?: string | null;
2026
+ };
2027
+ InvoiceReferenceDto: {
2028
+ id?: string | null;
2029
+ /** Format: date-time */
2030
+ timestamp?: string | null;
2031
+ tenantId?: string | null;
2032
+ enrollmentId?: string | null;
2033
+ referralInvoiceId?: string | null;
2034
+ referencedInvoiceId?: string | null;
2035
+ };
2036
+ InvoiceReferenceDtoEnvelope: {
2037
+ isSuccess?: boolean;
2038
+ errorMessage?: string | null;
2039
+ correlationId?: string | null;
2040
+ /** Format: date-time */
2041
+ timestamp?: string;
2042
+ activityId?: string | null;
2043
+ result?: components["schemas"]["InvoiceReferenceDto"];
566
2044
  };
567
- ItemPriceUpdateDto: {
2045
+ InvoiceReferenceDtoListEnvelope: {
2046
+ isSuccess?: boolean;
2047
+ errorMessage?: string | null;
2048
+ correlationId?: string | null;
2049
+ /** Format: date-time */
2050
+ timestamp?: string;
2051
+ activityId?: string | null;
2052
+ result?: components["schemas"]["InvoiceReferenceDto"][] | null;
2053
+ };
2054
+ InvoiceReferenceUpdateDto: {
2055
+ referencedInvoiceId?: string | null;
2056
+ };
2057
+ InvoiceUpdateDto: {
2058
+ closed?: boolean;
2059
+ title?: string | null;
2060
+ userId?: string | null;
2061
+ tenantId?: string | null;
568
2062
  /** Format: double */
569
- price?: number;
2063
+ forexRate?: number;
2064
+ currencyId?: string | null;
2065
+ priceListId?: string | null;
2066
+ description?: string | null;
2067
+ enrollmentId?: string | null;
2068
+ individualId?: string | null;
2069
+ paymentTermId?: string | null;
2070
+ organizationId?: string | null;
2071
+ receiverTenantId?: string | null;
2072
+ firstName?: string | null;
2073
+ lastName?: string | null;
2074
+ companyName?: string | null;
2075
+ billingEmail?: string | null;
2076
+ addressLine1?: string | null;
2077
+ addressLine2?: string | null;
2078
+ postalCode?: string | null;
2079
+ countryId?: string | null;
2080
+ stateId?: string | null;
2081
+ cityId?: string | null;
2082
+ billingLocationId?: string | null;
2083
+ shippingLocationId?: string | null;
2084
+ shippingMethodId?: string | null;
2085
+ };
2086
+ Money: {
570
2087
  /** Format: double */
571
- percent?: number;
572
- unitId?: string | null;
573
- unitGroupId?: string | null;
2088
+ amount?: number;
2089
+ currency?: components["schemas"]["Currency"];
2090
+ };
2091
+ MoneyEnvelope: {
2092
+ isSuccess?: boolean;
2093
+ errorMessage?: string | null;
2094
+ correlationId?: string | null;
2095
+ /** Format: date-time */
2096
+ timestamp?: string;
2097
+ activityId?: string | null;
2098
+ result?: components["schemas"]["Money"];
2099
+ };
2100
+ SimpleContactDto: {
2101
+ id?: string | null;
2102
+ /** Format: date-time */
2103
+ timestamp?: string | null;
2104
+ qualifiedName?: string | null;
2105
+ tenantId?: string | null;
2106
+ /**
2107
+ * Format: int32
2108
+ * @enum {integer}
2109
+ */
2110
+ type?: 0 | 1;
2111
+ publicName?: string | null;
2112
+ firstName?: string | null;
2113
+ lastName?: string | null;
2114
+ jobTitle?: string | null;
2115
+ coverUrl?: string | null;
2116
+ avatarUrl?: string | null;
2117
+ countryId?: string | null;
2118
+ timezoneId?: string | null;
2119
+ languageId?: string | null;
2120
+ socialProfileId?: string | null;
2121
+ webUrl?: string | null;
2122
+ gitHubUrl?: string | null;
2123
+ twitchUrl?: string | null;
2124
+ redditUrl?: string | null;
2125
+ tikTokUrl?: string | null;
2126
+ websiteUrl?: string | null;
2127
+ twitterUrl?: string | null;
2128
+ facebookUrl?: string | null;
2129
+ youTubeUrl?: string | null;
2130
+ linkedInUrl?: string | null;
2131
+ instagramUrl?: string | null;
2132
+ githubUsername?: string | null;
2133
+ };
2134
+ SimpleTenantEnrolmentDto: {
2135
+ id?: string | null;
2136
+ /** Format: date-time */
2137
+ timestamp?: string | null;
2138
+ tenantId?: string | null;
2139
+ userId?: string | null;
2140
+ };
2141
+ SimpleUserDto: {
2142
+ id?: string | null;
2143
+ /** Format: date-time */
2144
+ timestamp?: string | null;
2145
+ fullName?: string | null;
2146
+ socialProfileId?: string | null;
2147
+ publicName?: string | null;
2148
+ firstName?: string | null;
2149
+ lastName?: string | null;
2150
+ coverUrl?: string | null;
2151
+ avatarUrl?: string | null;
2152
+ timezoneId?: string | null;
2153
+ gitHubUrl?: string | null;
2154
+ websiteUrl?: string | null;
2155
+ twitterUrl?: string | null;
2156
+ facebookUrl?: string | null;
2157
+ youTubeUrl?: string | null;
2158
+ linkedInUrl?: string | null;
2159
+ instagramUrl?: string | null;
2160
+ countryId?: string | null;
2161
+ };
2162
+ TenantDto: {
2163
+ id?: string | null;
2164
+ /** Format: date-time */
2165
+ timestamp?: string | null;
2166
+ qualifiedName?: string | null;
2167
+ taxId?: string | null;
2168
+ about?: string | null;
2169
+ walletId?: string | null;
2170
+ socialFeedId?: string | null;
2171
+ businessIndustryId?: string | null;
2172
+ businessSegmentId?: string | null;
2173
+ socialProfileId?: string | null;
2174
+ languageId?: string | null;
2175
+ name?: string | null;
2176
+ duns?: string | null;
2177
+ slogan?: string | null;
2178
+ legalName?: string | null;
2179
+ coverUrl?: string | null;
2180
+ avatarUrl?: string | null;
2181
+ cartId?: string | null;
574
2182
  currencyId?: string | null;
575
- discountListId?: string | null;
576
- roundingPolicyId?: string | null;
2183
+ timezoneId?: string | null;
2184
+ countryId?: string | null;
2185
+ stateId?: string | null;
2186
+ cityId?: string | null;
2187
+ email?: string | null;
2188
+ phone?: string | null;
2189
+ webUrl?: string | null;
2190
+ facebookUrl?: string | null;
2191
+ twitterUrl?: string | null;
2192
+ gitHubUrl?: string | null;
2193
+ linkedInUrl?: string | null;
2194
+ instagramUrl?: string | null;
2195
+ youTubeUrl?: string | null;
2196
+ whatsAppNumber?: string | null;
2197
+ supportPhoneNumber?: string | null;
2198
+ verified?: boolean;
2199
+ businessName?: string | null;
2200
+ businessLegalName?: string | null;
2201
+ twitterUsername?: string | null;
577
2202
  };
578
2203
  };
579
2204
  responses: never;
@@ -587,4 +2212,32 @@ export type $defs = Record<string, never>;
587
2212
 
588
2213
  export type external = Record<string, never>;
589
2214
 
590
- export type operations = Record<string, never>;
2215
+ export interface operations {
2216
+
2217
+ GetInvoiceAsync: {
2218
+ parameters: {
2219
+ query: {
2220
+ tenantId: string;
2221
+ };
2222
+ path: {
2223
+ invoiceId: string;
2224
+ };
2225
+ };
2226
+ responses: {
2227
+ /** @description OK */
2228
+ 200: {
2229
+ content: {
2230
+ "application/json": components["schemas"]["InvoiceDtoEnvelope"];
2231
+ "application/xml": components["schemas"]["InvoiceDtoEnvelope"];
2232
+ };
2233
+ };
2234
+ /** @description Not Found */
2235
+ 404: {
2236
+ content: {
2237
+ "application/json": components["schemas"]["ErrorEnvelope"];
2238
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2239
+ };
2240
+ };
2241
+ };
2242
+ };
2243
+ }