nordlet 0.2.6 → 0.2.8

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 (524) hide show
  1. package/dist/Client.d.ts +3 -0
  2. package/dist/Client.js +52 -48
  3. package/dist/api/resources/account/client/Client.d.ts +76 -0
  4. package/dist/api/resources/account/client/Client.js +292 -0
  5. package/dist/api/resources/account/client/requests/PostV1AccountLoginLinkRequestRequest.d.ts +1 -0
  6. package/dist/api/resources/account/client/requests/PostV1AccountReferralGetRequest.d.ts +5 -0
  7. package/dist/api/resources/account/client/requests/PostV1AccountReferralGetRequest.js +3 -0
  8. package/dist/api/resources/account/client/requests/PostV1AccountTableSettingsGetRequest.d.ts +9 -0
  9. package/dist/api/resources/account/client/requests/PostV1AccountTableSettingsGetRequest.js +3 -0
  10. package/dist/api/resources/account/client/requests/PostV1AccountTableSettingsListRequest.d.ts +5 -0
  11. package/dist/api/resources/account/client/requests/PostV1AccountTableSettingsListRequest.js +3 -0
  12. package/dist/api/resources/account/client/requests/PostV1AccountTableSettingsSetRequest.d.ts +11 -0
  13. package/dist/api/resources/account/client/requests/PostV1AccountTableSettingsSetRequest.js +3 -0
  14. package/dist/api/resources/account/client/requests/index.d.ts +4 -0
  15. package/dist/api/resources/account/types/PostV1AccountMeResponse.d.ts +1 -0
  16. package/dist/api/resources/account/types/PostV1AccountReferralGetResponse.d.ts +17 -0
  17. package/dist/api/resources/account/types/PostV1AccountReferralGetResponse.js +3 -0
  18. package/dist/api/resources/account/types/PostV1AccountTableSettingsGetResponse.d.ts +5 -0
  19. package/dist/api/resources/account/types/PostV1AccountTableSettingsGetResponse.js +3 -0
  20. package/dist/api/resources/account/types/PostV1AccountTableSettingsListResponse.d.ts +13 -0
  21. package/dist/api/resources/account/types/PostV1AccountTableSettingsListResponse.js +3 -0
  22. package/dist/api/resources/account/types/PostV1AccountTableSettingsSetResponse.d.ts +5 -0
  23. package/dist/api/resources/account/types/PostV1AccountTableSettingsSetResponse.js +3 -0
  24. package/dist/api/resources/account/types/index.d.ts +4 -0
  25. package/dist/api/resources/account/types/index.js +4 -0
  26. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsListRequest.d.ts +2 -0
  27. package/dist/api/resources/agreements/client/requests/PostV1AgreementsInsurancePoliciesListRequest.d.ts +2 -0
  28. package/dist/api/resources/agreements/client/requests/PostV1AgreementsTypesListRequest.d.ts +2 -0
  29. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsListResponse.d.ts +1 -0
  30. package/dist/api/resources/agreements/types/PostV1AgreementsInsurancePoliciesListResponse.d.ts +1 -0
  31. package/dist/api/resources/agreements/types/PostV1AgreementsTypesListResponse.d.ts +1 -0
  32. package/dist/api/resources/assets/client/requests/PostV1AssetsAssetsListRequest.d.ts +2 -0
  33. package/dist/api/resources/assets/client/requests/PostV1AssetsGroupsListRequest.d.ts +2 -0
  34. package/dist/api/resources/assets/types/PostV1AssetsAssetsListResponse.d.ts +1 -0
  35. package/dist/api/resources/assets/types/PostV1AssetsGroupsListResponse.d.ts +1 -0
  36. package/dist/api/resources/audit/client/requests/PostV1AuditListRequest.d.ts +2 -0
  37. package/dist/api/resources/audit/types/PostV1AuditListResponse.d.ts +1 -0
  38. package/dist/api/resources/bank/client/Client.d.ts +124 -0
  39. package/dist/api/resources/bank/client/Client.js +448 -0
  40. package/dist/api/resources/bank/client/requests/PostV1BankAccountsListRequest.d.ts +2 -0
  41. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsListRequest.d.ts +2 -0
  42. package/dist/api/resources/bank/client/requests/PostV1BankImportTemplatesCreateRequest.d.ts +6 -0
  43. package/dist/api/resources/bank/client/requests/PostV1BankImportTemplatesListRequest.d.ts +2 -0
  44. package/dist/api/resources/bank/client/requests/PostV1BankImportTemplatesUpdateRequest.d.ts +6 -0
  45. package/dist/api/resources/bank/client/requests/PostV1BankMandatesListRequest.d.ts +2 -0
  46. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesCreateRequest.d.ts +16 -0
  47. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesCreateRequest.js +3 -0
  48. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesDeleteRequest.d.ts +9 -0
  49. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesDeleteRequest.js +3 -0
  50. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesListRequest.d.ts +5 -0
  51. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesListRequest.js +3 -0
  52. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesUpdateRequest.d.ts +16 -0
  53. package/dist/api/resources/bank/client/requests/PostV1BankMatchRulesUpdateRequest.js +3 -0
  54. package/dist/api/resources/bank/client/requests/PostV1BankSettlementsLinkRequest.d.ts +11 -0
  55. package/dist/api/resources/bank/client/requests/PostV1BankSettlementsLinkRequest.js +3 -0
  56. package/dist/api/resources/bank/client/requests/PostV1BankSettlementsListRequest.d.ts +2 -0
  57. package/dist/api/resources/bank/client/requests/PostV1BankSettlementsUnlinkRequest.d.ts +9 -0
  58. package/dist/api/resources/bank/client/requests/PostV1BankSettlementsUnlinkRequest.js +3 -0
  59. package/dist/api/resources/bank/client/requests/PostV1BankStatementsImportRequest.d.ts +2 -0
  60. package/dist/api/resources/bank/client/requests/PostV1BankTransactionsListRequest.d.ts +2 -0
  61. package/dist/api/resources/bank/client/requests/index.d.ts +6 -0
  62. package/dist/api/resources/bank/types/PostV1BankAccountsListResponse.d.ts +1 -0
  63. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsListResponse.d.ts +1 -0
  64. package/dist/api/resources/bank/types/PostV1BankImportTemplatesCreateResponse.d.ts +6 -0
  65. package/dist/api/resources/bank/types/PostV1BankImportTemplatesGetResponse.d.ts +6 -0
  66. package/dist/api/resources/bank/types/PostV1BankImportTemplatesListResponse.d.ts +7 -0
  67. package/dist/api/resources/bank/types/PostV1BankImportTemplatesUpdateResponse.d.ts +6 -0
  68. package/dist/api/resources/bank/types/PostV1BankMandatesListResponse.d.ts +1 -0
  69. package/dist/api/resources/bank/types/PostV1BankMatchRulesCreateResponse.d.ts +11 -0
  70. package/dist/api/resources/bank/types/PostV1BankMatchRulesCreateResponse.js +3 -0
  71. package/dist/api/resources/bank/types/PostV1BankMatchRulesDeleteResponse.d.ts +3 -0
  72. package/dist/api/resources/bank/types/PostV1BankMatchRulesDeleteResponse.js +3 -0
  73. package/dist/api/resources/bank/types/PostV1BankMatchRulesListResponse.d.ts +19 -0
  74. package/dist/api/resources/bank/types/PostV1BankMatchRulesListResponse.js +3 -0
  75. package/dist/api/resources/bank/types/PostV1BankMatchRulesUpdateResponse.d.ts +11 -0
  76. package/dist/api/resources/bank/types/PostV1BankMatchRulesUpdateResponse.js +3 -0
  77. package/dist/api/resources/bank/types/PostV1BankSettlementsGetResponse.d.ts +1 -0
  78. package/dist/api/resources/bank/types/PostV1BankSettlementsImportResponse.d.ts +1 -0
  79. package/dist/api/resources/bank/types/PostV1BankSettlementsLinkResponse.d.ts +26 -0
  80. package/dist/api/resources/bank/types/PostV1BankSettlementsLinkResponse.js +11 -0
  81. package/dist/api/resources/bank/types/PostV1BankSettlementsListResponse.d.ts +2 -0
  82. package/dist/api/resources/bank/types/PostV1BankSettlementsPostResponse.d.ts +1 -0
  83. package/dist/api/resources/bank/types/PostV1BankSettlementsUnlinkResponse.d.ts +26 -0
  84. package/dist/api/resources/bank/types/PostV1BankSettlementsUnlinkResponse.js +11 -0
  85. package/dist/api/resources/bank/types/PostV1BankStatementsImportResponse.d.ts +3 -0
  86. package/dist/api/resources/bank/types/PostV1BankTransactionsListResponse.d.ts +1 -0
  87. package/dist/api/resources/bank/types/index.d.ts +6 -0
  88. package/dist/api/resources/bank/types/index.js +6 -0
  89. package/dist/api/resources/billing/client/Client.d.ts +18 -0
  90. package/dist/api/resources/billing/client/Client.js +72 -0
  91. package/dist/api/resources/billing/client/requests/PostV1BillingPortalCreateRequest.d.ts +15 -0
  92. package/dist/api/resources/billing/client/requests/PostV1BillingPortalCreateRequest.js +12 -0
  93. package/dist/api/resources/billing/client/requests/index.d.ts +1 -0
  94. package/dist/api/resources/billing/client/requests/index.js +3 -1
  95. package/dist/api/resources/billing/types/PostV1BillingAccountGetResponse.d.ts +2 -0
  96. package/dist/api/resources/billing/types/PostV1BillingAccountSetPlanResponse.d.ts +2 -0
  97. package/dist/api/resources/billing/types/PostV1BillingPortalCreateResponse.d.ts +3 -0
  98. package/dist/api/resources/billing/types/PostV1BillingPortalCreateResponse.js +3 -0
  99. package/dist/api/resources/billing/types/index.d.ts +1 -0
  100. package/dist/api/resources/billing/types/index.js +1 -0
  101. package/dist/api/resources/calendar/client/Client.d.ts +112 -0
  102. package/dist/api/resources/calendar/client/Client.js +417 -0
  103. package/dist/api/resources/calendar/client/index.d.ts +1 -0
  104. package/dist/api/resources/calendar/client/index.js +17 -0
  105. package/dist/api/resources/calendar/client/requests/PostV1CalendarCreateRequest.d.ts +13 -0
  106. package/dist/api/resources/calendar/client/requests/PostV1CalendarCreateRequest.js +3 -0
  107. package/dist/api/resources/calendar/client/requests/PostV1CalendarDeleteRequest.d.ts +9 -0
  108. package/dist/api/resources/calendar/client/requests/PostV1CalendarDeleteRequest.js +3 -0
  109. package/dist/api/resources/calendar/client/requests/PostV1CalendarGetRequest.d.ts +9 -0
  110. package/dist/api/resources/calendar/client/requests/PostV1CalendarGetRequest.js +3 -0
  111. package/dist/api/resources/calendar/client/requests/PostV1CalendarListRequest.d.ts +9 -0
  112. package/dist/api/resources/calendar/client/requests/PostV1CalendarListRequest.js +3 -0
  113. package/dist/api/resources/calendar/client/requests/PostV1CalendarUpdateRequest.d.ts +13 -0
  114. package/dist/api/resources/calendar/client/requests/PostV1CalendarUpdateRequest.js +3 -0
  115. package/dist/api/resources/calendar/client/requests/index.d.ts +5 -0
  116. package/dist/api/resources/calendar/client/requests/index.js +2 -0
  117. package/dist/api/resources/calendar/exports.d.ts +2 -0
  118. package/dist/api/resources/calendar/exports.js +21 -0
  119. package/dist/api/resources/calendar/index.d.ts +2 -0
  120. package/dist/api/resources/calendar/index.js +18 -0
  121. package/dist/api/resources/calendar/types/PostV1CalendarCreateResponse.d.ts +19 -0
  122. package/dist/api/resources/calendar/types/PostV1CalendarCreateResponse.js +11 -0
  123. package/dist/api/resources/calendar/types/PostV1CalendarDeleteResponse.d.ts +3 -0
  124. package/dist/api/resources/calendar/types/PostV1CalendarDeleteResponse.js +3 -0
  125. package/dist/api/resources/calendar/types/PostV1CalendarGetResponse.d.ts +19 -0
  126. package/dist/api/resources/calendar/types/PostV1CalendarGetResponse.js +11 -0
  127. package/dist/api/resources/calendar/types/PostV1CalendarListResponse.d.ts +27 -0
  128. package/dist/api/resources/calendar/types/PostV1CalendarListResponse.js +17 -0
  129. package/dist/api/resources/calendar/types/PostV1CalendarUpdateResponse.d.ts +19 -0
  130. package/dist/api/resources/calendar/types/PostV1CalendarUpdateResponse.js +11 -0
  131. package/dist/api/resources/calendar/types/index.d.ts +5 -0
  132. package/dist/api/resources/calendar/types/index.js +21 -0
  133. package/dist/api/resources/capture/client/Client.d.ts +72 -0
  134. package/dist/api/resources/capture/client/Client.js +288 -0
  135. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsListRequest.d.ts +2 -0
  136. package/dist/api/resources/capture/client/requests/PostV1CaptureInboundEmailRequest.d.ts +48 -0
  137. package/dist/api/resources/capture/client/requests/PostV1CaptureInboundEmailRequest.js +3 -0
  138. package/dist/api/resources/capture/client/requests/PostV1CaptureSettingsGetRequest.d.ts +5 -0
  139. package/dist/api/resources/capture/client/requests/PostV1CaptureSettingsGetRequest.js +3 -0
  140. package/dist/api/resources/capture/client/requests/PostV1CaptureSettingsRegenerateIntakeRequest.d.ts +5 -0
  141. package/dist/api/resources/capture/client/requests/PostV1CaptureSettingsRegenerateIntakeRequest.js +3 -0
  142. package/dist/api/resources/capture/client/requests/PostV1CaptureSettingsUpdateRequest.d.ts +8 -0
  143. package/dist/api/resources/capture/client/requests/PostV1CaptureSettingsUpdateRequest.js +3 -0
  144. package/dist/api/resources/capture/client/requests/index.d.ts +4 -0
  145. package/dist/api/resources/capture/types/PostV1CaptureDocumentsConfirmResponse.d.ts +1 -0
  146. package/dist/api/resources/capture/types/PostV1CaptureDocumentsListResponse.d.ts +1 -0
  147. package/dist/api/resources/capture/types/PostV1CaptureInboundEmailResponse.d.ts +5 -0
  148. package/dist/api/resources/capture/types/PostV1CaptureInboundEmailResponse.js +3 -0
  149. package/dist/api/resources/capture/types/PostV1CaptureSettingsGetResponse.d.ts +6 -0
  150. package/dist/api/resources/capture/types/PostV1CaptureSettingsGetResponse.js +3 -0
  151. package/dist/api/resources/capture/types/PostV1CaptureSettingsRegenerateIntakeResponse.d.ts +6 -0
  152. package/dist/api/resources/capture/types/PostV1CaptureSettingsRegenerateIntakeResponse.js +3 -0
  153. package/dist/api/resources/capture/types/PostV1CaptureSettingsUpdateResponse.d.ts +6 -0
  154. package/dist/api/resources/capture/types/PostV1CaptureSettingsUpdateResponse.js +3 -0
  155. package/dist/api/resources/capture/types/index.d.ts +4 -0
  156. package/dist/api/resources/capture/types/index.js +4 -0
  157. package/dist/api/resources/cash/client/requests/PostV1CashOrdersListRequest.d.ts +2 -0
  158. package/dist/api/resources/cash/types/PostV1CashOrdersListResponse.d.ts +1 -0
  159. package/dist/api/resources/catalog/client/Client.d.ts +196 -0
  160. package/dist/api/resources/catalog/client/Client.js +736 -0
  161. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsCreateRequest.d.ts +27 -0
  162. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsFilesListRequest.d.ts +9 -0
  163. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsFilesListRequest.js +3 -0
  164. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsCreateRequest.d.ts +23 -0
  165. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsCreateRequest.js +13 -0
  166. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsDeleteRequest.d.ts +9 -0
  167. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsDeleteRequest.js +3 -0
  168. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsListRequest.d.ts +5 -0
  169. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsListRequest.js +3 -0
  170. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsUpdateRequest.d.ts +23 -0
  171. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsKindsUpdateRequest.js +13 -0
  172. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsListRequest.d.ts +2 -0
  173. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsUpdateRequest.d.ts +42 -15
  174. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsCreateRequest.d.ts +12 -0
  175. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsCreateRequest.js +3 -0
  176. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsDeleteRequest.d.ts +9 -0
  177. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsDeleteRequest.js +3 -0
  178. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsListRequest.d.ts +5 -0
  179. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsListRequest.js +3 -0
  180. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsOptionsRequest.d.ts +14 -0
  181. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsOptionsRequest.js +11 -0
  182. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsUpdateRequest.d.ts +12 -0
  183. package/dist/api/resources/catalog/client/requests/PostV1CatalogUnitsUpdateRequest.js +3 -0
  184. package/dist/api/resources/catalog/client/requests/index.d.ts +10 -0
  185. package/dist/api/resources/catalog/client/requests/index.js +7 -1
  186. package/dist/api/resources/catalog/types/PostV1CatalogItemsCreateResponse.d.ts +27 -0
  187. package/dist/api/resources/catalog/types/PostV1CatalogItemsFilesListResponse.d.ts +19 -0
  188. package/dist/api/resources/catalog/types/PostV1CatalogItemsFilesListResponse.js +3 -0
  189. package/dist/api/resources/catalog/types/PostV1CatalogItemsGetResponse.d.ts +27 -0
  190. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsCreateResponse.d.ts +18 -0
  191. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsCreateResponse.js +13 -0
  192. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsDeleteResponse.d.ts +3 -0
  193. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsDeleteResponse.js +3 -0
  194. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsListResponse.d.ts +26 -0
  195. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsListResponse.js +19 -0
  196. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsUpdateResponse.d.ts +18 -0
  197. package/dist/api/resources/catalog/types/PostV1CatalogItemsKindsUpdateResponse.js +13 -0
  198. package/dist/api/resources/catalog/types/PostV1CatalogItemsListResponse.d.ts +28 -0
  199. package/dist/api/resources/catalog/types/PostV1CatalogItemsUpdateResponse.d.ts +27 -0
  200. package/dist/api/resources/catalog/types/PostV1CatalogUnitsCreateResponse.d.ts +7 -0
  201. package/dist/api/resources/catalog/types/PostV1CatalogUnitsCreateResponse.js +3 -0
  202. package/dist/api/resources/catalog/types/PostV1CatalogUnitsDeleteResponse.d.ts +3 -0
  203. package/dist/api/resources/catalog/types/PostV1CatalogUnitsDeleteResponse.js +3 -0
  204. package/dist/api/resources/catalog/types/PostV1CatalogUnitsListResponse.d.ts +15 -0
  205. package/dist/api/resources/catalog/types/PostV1CatalogUnitsListResponse.js +3 -0
  206. package/dist/api/resources/catalog/types/PostV1CatalogUnitsOptionsResponse.d.ts +20 -0
  207. package/dist/api/resources/catalog/types/PostV1CatalogUnitsOptionsResponse.js +17 -0
  208. package/dist/api/resources/catalog/types/PostV1CatalogUnitsUpdateResponse.d.ts +7 -0
  209. package/dist/api/resources/catalog/types/PostV1CatalogUnitsUpdateResponse.js +3 -0
  210. package/dist/api/resources/catalog/types/index.d.ts +10 -0
  211. package/dist/api/resources/catalog/types/index.js +10 -0
  212. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsSubmissionsListRequest.d.ts +2 -0
  213. package/dist/api/resources/declarations/types/PostV1DeclarationsSubmissionsListResponse.d.ts +1 -0
  214. package/dist/api/resources/ecommerce/client/requests/PostV1EcommerceOrdersListRequest.d.ts +2 -0
  215. package/dist/api/resources/ecommerce/types/PostV1EcommerceOrdersListResponse.d.ts +1 -0
  216. package/dist/api/resources/files/client/requests/PostV1FilesListRequest.d.ts +2 -0
  217. package/dist/api/resources/files/types/PostV1FilesListResponse.d.ts +1 -0
  218. package/dist/api/resources/fleet/client/requests/PostV1FleetAssignmentsListRequest.d.ts +2 -0
  219. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesListRequest.d.ts +2 -0
  220. package/dist/api/resources/fleet/types/PostV1FleetAssignmentsListResponse.d.ts +1 -0
  221. package/dist/api/resources/fleet/types/PostV1FleetVehiclesListResponse.d.ts +1 -0
  222. package/dist/api/resources/hr/client/requests/PostV1HrContractsListRequest.d.ts +2 -0
  223. package/dist/api/resources/hr/client/requests/PostV1HrEmployeesListRequest.d.ts +2 -0
  224. package/dist/api/resources/hr/client/requests/PostV1HrEmployeesRecordsListRequest.d.ts +2 -0
  225. package/dist/api/resources/hr/client/requests/PostV1HrIncapacityCertificatesListRequest.d.ts +2 -0
  226. package/dist/api/resources/hr/client/requests/PostV1HrPositionsListRequest.d.ts +2 -0
  227. package/dist/api/resources/hr/types/PostV1HrContractsListResponse.d.ts +1 -0
  228. package/dist/api/resources/hr/types/PostV1HrEmployeesListResponse.d.ts +1 -0
  229. package/dist/api/resources/hr/types/PostV1HrEmployeesRecordsListResponse.d.ts +1 -0
  230. package/dist/api/resources/hr/types/PostV1HrIncapacityCertificatesListResponse.d.ts +1 -0
  231. package/dist/api/resources/hr/types/PostV1HrPositionsListResponse.d.ts +1 -0
  232. package/dist/api/resources/index.d.ts +3 -0
  233. package/dist/api/resources/index.js +4 -1
  234. package/dist/api/resources/inventory/client/requests/PostV1InventoryLandedCostsListRequest.d.ts +2 -0
  235. package/dist/api/resources/inventory/client/requests/PostV1InventoryLotsListRequest.d.ts +2 -0
  236. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesListRequest.d.ts +2 -0
  237. package/dist/api/resources/inventory/client/requests/PostV1InventoryStockMovementsListRequest.d.ts +2 -0
  238. package/dist/api/resources/inventory/client/requests/PostV1InventoryWarehousesListRequest.d.ts +2 -0
  239. package/dist/api/resources/inventory/types/PostV1InventoryLandedCostsListResponse.d.ts +1 -0
  240. package/dist/api/resources/inventory/types/PostV1InventoryLotsListResponse.d.ts +1 -0
  241. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesListResponse.d.ts +1 -0
  242. package/dist/api/resources/inventory/types/PostV1InventoryStockMovementsListResponse.d.ts +1 -0
  243. package/dist/api/resources/inventory/types/PostV1InventoryWarehousesListResponse.d.ts +1 -0
  244. package/dist/api/resources/ledger/client/requests/PostV1LedgerAccountsListRequest.d.ts +2 -0
  245. package/dist/api/resources/ledger/client/requests/PostV1LedgerCostCenterGroupsListRequest.d.ts +2 -0
  246. package/dist/api/resources/ledger/client/requests/PostV1LedgerCostCentersListRequest.d.ts +2 -0
  247. package/dist/api/resources/ledger/client/requests/PostV1LedgerJournalTransactionsListRequest.d.ts +2 -0
  248. package/dist/api/resources/ledger/client/requests/PostV1LedgerOwnersListRequest.d.ts +2 -0
  249. package/dist/api/resources/ledger/client/requests/PostV1LedgerPeriodsListRequest.d.ts +2 -0
  250. package/dist/api/resources/ledger/types/PostV1LedgerAccountsListResponse.d.ts +1 -0
  251. package/dist/api/resources/ledger/types/PostV1LedgerCostCenterGroupsListResponse.d.ts +1 -0
  252. package/dist/api/resources/ledger/types/PostV1LedgerCostCentersListResponse.d.ts +1 -0
  253. package/dist/api/resources/ledger/types/PostV1LedgerJournalTransactionsListResponse.d.ts +1 -0
  254. package/dist/api/resources/ledger/types/PostV1LedgerOwnersListResponse.d.ts +1 -0
  255. package/dist/api/resources/ledger/types/PostV1LedgerPeriodsListResponse.d.ts +1 -0
  256. package/dist/api/resources/partners/client/Client.d.ts +353 -0
  257. package/dist/api/resources/partners/client/Client.js +1310 -0
  258. package/dist/api/resources/partners/client/requests/PostV1LeadsConvertRequest.d.ts +19 -0
  259. package/dist/api/resources/partners/client/requests/PostV1LeadsConvertRequest.js +11 -0
  260. package/dist/api/resources/partners/client/requests/PostV1LeadsCreateRequest.d.ts +38 -0
  261. package/dist/api/resources/partners/client/requests/PostV1LeadsCreateRequest.js +13 -0
  262. package/dist/api/resources/partners/client/requests/PostV1LeadsDeleteRequest.d.ts +9 -0
  263. package/dist/api/resources/partners/client/requests/PostV1LeadsDeleteRequest.js +3 -0
  264. package/dist/api/resources/partners/client/requests/PostV1LeadsFilesListRequest.d.ts +9 -0
  265. package/dist/api/resources/partners/client/requests/PostV1LeadsFilesListRequest.js +3 -0
  266. package/dist/api/resources/partners/client/requests/PostV1LeadsGetRequest.d.ts +9 -0
  267. package/dist/api/resources/partners/client/requests/PostV1LeadsGetRequest.js +3 -0
  268. package/dist/api/resources/partners/client/requests/PostV1LeadsListRequest.d.ts +48 -0
  269. package/dist/api/resources/partners/client/requests/PostV1LeadsListRequest.js +31 -0
  270. package/dist/api/resources/partners/client/requests/PostV1LeadsNotesCreateRequest.d.ts +11 -0
  271. package/dist/api/resources/partners/client/requests/PostV1LeadsNotesCreateRequest.js +3 -0
  272. package/dist/api/resources/partners/client/requests/PostV1LeadsNotesDeleteRequest.d.ts +9 -0
  273. package/dist/api/resources/partners/client/requests/PostV1LeadsNotesDeleteRequest.js +3 -0
  274. package/dist/api/resources/partners/client/requests/PostV1LeadsNotesListRequest.d.ts +9 -0
  275. package/dist/api/resources/partners/client/requests/PostV1LeadsNotesListRequest.js +3 -0
  276. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesCreateRequest.d.ts +10 -0
  277. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesCreateRequest.js +3 -0
  278. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesDeleteRequest.d.ts +9 -0
  279. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesDeleteRequest.js +3 -0
  280. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesListRequest.d.ts +5 -0
  281. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesListRequest.js +3 -0
  282. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesOptionsRequest.d.ts +5 -0
  283. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesOptionsRequest.js +3 -0
  284. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesUpdateRequest.d.ts +11 -0
  285. package/dist/api/resources/partners/client/requests/PostV1LeadsSourcesUpdateRequest.js +3 -0
  286. package/dist/api/resources/partners/client/requests/PostV1LeadsUpdateRequest.d.ts +38 -0
  287. package/dist/api/resources/partners/client/requests/PostV1LeadsUpdateRequest.js +13 -0
  288. package/dist/api/resources/partners/client/requests/PostV1PartnersAddressesListRequest.d.ts +2 -0
  289. package/dist/api/resources/partners/client/requests/PostV1PartnersBankAccountsListRequest.d.ts +2 -0
  290. package/dist/api/resources/partners/client/requests/PostV1PartnersContactsListRequest.d.ts +2 -0
  291. package/dist/api/resources/partners/client/requests/PostV1PartnersCreateRequest.d.ts +33 -0
  292. package/dist/api/resources/partners/client/requests/PostV1PartnersCreateRequest.js +5 -0
  293. package/dist/api/resources/partners/client/requests/PostV1PartnersDebtRemindersListRequest.d.ts +48 -0
  294. package/dist/api/resources/partners/client/requests/PostV1PartnersDebtRemindersListRequest.js +31 -0
  295. package/dist/api/resources/partners/client/requests/PostV1PartnersDebtRemindersPreviewRequest.d.ts +5 -0
  296. package/dist/api/resources/partners/client/requests/PostV1PartnersDebtRemindersPreviewRequest.js +3 -0
  297. package/dist/api/resources/partners/client/requests/PostV1PartnersFilesListRequest.d.ts +9 -0
  298. package/dist/api/resources/partners/client/requests/PostV1PartnersFilesListRequest.js +3 -0
  299. package/dist/api/resources/partners/client/requests/PostV1PartnersFindOrCreateRequest.d.ts +33 -0
  300. package/dist/api/resources/partners/client/requests/PostV1PartnersFindOrCreateRequest.js +5 -0
  301. package/dist/api/resources/partners/client/requests/PostV1PartnersInquiriesListRequest.d.ts +2 -0
  302. package/dist/api/resources/partners/client/requests/PostV1PartnersListRequest.d.ts +2 -0
  303. package/dist/api/resources/partners/client/requests/PostV1PartnersUpdateRequest.d.ts +47 -14
  304. package/dist/api/resources/partners/client/requests/PostV1PartnersUpdateRequest.js +5 -0
  305. package/dist/api/resources/partners/client/requests/PostV1PartnersVatReviewsListRequest.d.ts +2 -0
  306. package/dist/api/resources/partners/client/requests/index.d.ts +18 -0
  307. package/dist/api/resources/partners/client/requests/index.js +11 -1
  308. package/dist/api/resources/partners/types/PostV1LeadsConvertResponse.d.ts +36 -0
  309. package/dist/api/resources/partners/types/PostV1LeadsConvertResponse.js +17 -0
  310. package/dist/api/resources/partners/types/PostV1LeadsCreateResponse.d.ts +30 -0
  311. package/dist/api/resources/partners/types/PostV1LeadsCreateResponse.js +14 -0
  312. package/dist/api/resources/partners/types/PostV1LeadsDeleteResponse.d.ts +3 -0
  313. package/dist/api/resources/partners/types/PostV1LeadsDeleteResponse.js +3 -0
  314. package/dist/api/resources/partners/types/PostV1LeadsFilesListResponse.d.ts +15 -0
  315. package/dist/api/resources/partners/types/PostV1LeadsFilesListResponse.js +3 -0
  316. package/dist/api/resources/partners/types/PostV1LeadsGetResponse.d.ts +30 -0
  317. package/dist/api/resources/partners/types/PostV1LeadsGetResponse.js +14 -0
  318. package/dist/api/resources/partners/types/PostV1LeadsListResponse.d.ts +42 -0
  319. package/dist/api/resources/partners/types/PostV1LeadsListResponse.js +20 -0
  320. package/dist/api/resources/partners/types/PostV1LeadsNotesCreateResponse.d.ts +7 -0
  321. package/dist/api/resources/partners/types/PostV1LeadsNotesCreateResponse.js +3 -0
  322. package/dist/api/resources/partners/types/PostV1LeadsNotesDeleteResponse.d.ts +3 -0
  323. package/dist/api/resources/partners/types/PostV1LeadsNotesDeleteResponse.js +3 -0
  324. package/dist/api/resources/partners/types/PostV1LeadsNotesListResponse.d.ts +15 -0
  325. package/dist/api/resources/partners/types/PostV1LeadsNotesListResponse.js +3 -0
  326. package/dist/api/resources/partners/types/PostV1LeadsSourcesCreateResponse.d.ts +6 -0
  327. package/dist/api/resources/partners/types/PostV1LeadsSourcesCreateResponse.js +3 -0
  328. package/dist/api/resources/partners/types/PostV1LeadsSourcesDeleteResponse.d.ts +3 -0
  329. package/dist/api/resources/partners/types/PostV1LeadsSourcesDeleteResponse.js +3 -0
  330. package/dist/api/resources/partners/types/PostV1LeadsSourcesListResponse.d.ts +14 -0
  331. package/dist/api/resources/partners/types/PostV1LeadsSourcesListResponse.js +3 -0
  332. package/dist/api/resources/partners/types/PostV1LeadsSourcesOptionsResponse.d.ts +12 -0
  333. package/dist/api/resources/partners/types/PostV1LeadsSourcesOptionsResponse.js +3 -0
  334. package/dist/api/resources/partners/types/PostV1LeadsSourcesUpdateResponse.d.ts +6 -0
  335. package/dist/api/resources/partners/types/PostV1LeadsSourcesUpdateResponse.js +3 -0
  336. package/dist/api/resources/partners/types/PostV1LeadsUpdateResponse.d.ts +30 -0
  337. package/dist/api/resources/partners/types/PostV1LeadsUpdateResponse.js +14 -0
  338. package/dist/api/resources/partners/types/PostV1PartnersAddressesListResponse.d.ts +1 -0
  339. package/dist/api/resources/partners/types/PostV1PartnersBankAccountsListResponse.d.ts +1 -0
  340. package/dist/api/resources/partners/types/PostV1PartnersContactsListResponse.d.ts +1 -0
  341. package/dist/api/resources/partners/types/PostV1PartnersCreateResponse.d.ts +33 -0
  342. package/dist/api/resources/partners/types/PostV1PartnersCreateResponse.js +5 -0
  343. package/dist/api/resources/partners/types/PostV1PartnersDebtRemindersListResponse.d.ts +23 -0
  344. package/dist/api/resources/partners/types/PostV1PartnersDebtRemindersListResponse.js +3 -0
  345. package/dist/api/resources/partners/types/PostV1PartnersDebtRemindersPreviewResponse.d.ts +38 -0
  346. package/dist/api/resources/partners/types/PostV1PartnersDebtRemindersPreviewResponse.js +18 -0
  347. package/dist/api/resources/partners/types/PostV1PartnersFilesListResponse.d.ts +19 -0
  348. package/dist/api/resources/partners/types/PostV1PartnersFilesListResponse.js +3 -0
  349. package/dist/api/resources/partners/types/PostV1PartnersFindOrCreateResponse.d.ts +33 -0
  350. package/dist/api/resources/partners/types/PostV1PartnersFindOrCreateResponse.js +5 -0
  351. package/dist/api/resources/partners/types/PostV1PartnersGetResponse.d.ts +33 -0
  352. package/dist/api/resources/partners/types/PostV1PartnersGetResponse.js +5 -0
  353. package/dist/api/resources/partners/types/PostV1PartnersInquiriesListResponse.d.ts +1 -0
  354. package/dist/api/resources/partners/types/PostV1PartnersListResponse.d.ts +34 -0
  355. package/dist/api/resources/partners/types/PostV1PartnersListResponse.js +5 -0
  356. package/dist/api/resources/partners/types/PostV1PartnersUpdateResponse.d.ts +33 -0
  357. package/dist/api/resources/partners/types/PostV1PartnersUpdateResponse.js +5 -0
  358. package/dist/api/resources/partners/types/PostV1PartnersVatReviewsListResponse.d.ts +1 -0
  359. package/dist/api/resources/partners/types/index.d.ts +18 -0
  360. package/dist/api/resources/partners/types/index.js +18 -0
  361. package/dist/api/resources/payroll/client/requests/PostV1PayrollRunsListRequest.d.ts +2 -0
  362. package/dist/api/resources/payroll/types/PostV1PayrollRunsListResponse.d.ts +1 -0
  363. package/dist/api/resources/pos/client/requests/PostV1PosDevicesListRequest.d.ts +2 -0
  364. package/dist/api/resources/pos/client/requests/PostV1PosReportsListRequest.d.ts +2 -0
  365. package/dist/api/resources/pos/types/PostV1PosDevicesListResponse.d.ts +1 -0
  366. package/dist/api/resources/pos/types/PostV1PosReportsListResponse.d.ts +1 -0
  367. package/dist/api/resources/production/client/requests/PostV1ProductionBomsListRequest.d.ts +2 -0
  368. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceListRequest.d.ts +2 -0
  369. package/dist/api/resources/production/client/requests/PostV1ProductionOrdersListRequest.d.ts +2 -0
  370. package/dist/api/resources/production/client/requests/PostV1ProductionQualityChecksListRequest.d.ts +2 -0
  371. package/dist/api/resources/production/client/requests/PostV1ProductionRoutingsListRequest.d.ts +2 -0
  372. package/dist/api/resources/production/client/requests/PostV1ProductionWorkCentersListRequest.d.ts +2 -0
  373. package/dist/api/resources/production/types/PostV1ProductionBomsListResponse.d.ts +1 -0
  374. package/dist/api/resources/production/types/PostV1ProductionMaintenanceListResponse.d.ts +1 -0
  375. package/dist/api/resources/production/types/PostV1ProductionOrdersListResponse.d.ts +1 -0
  376. package/dist/api/resources/production/types/PostV1ProductionQualityChecksListResponse.d.ts +1 -0
  377. package/dist/api/resources/production/types/PostV1ProductionRoutingsListResponse.d.ts +1 -0
  378. package/dist/api/resources/production/types/PostV1ProductionWorkCentersListResponse.d.ts +1 -0
  379. package/dist/api/resources/projects/client/requests/PostV1ProjectsListRequest.d.ts +2 -0
  380. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesListRequest.d.ts +2 -0
  381. package/dist/api/resources/projects/types/PostV1ProjectsListResponse.d.ts +1 -0
  382. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesListResponse.d.ts +1 -0
  383. package/dist/api/resources/public/client/Client.d.ts +20 -0
  384. package/dist/api/resources/public/client/Client.js +69 -0
  385. package/dist/api/resources/public/client/requests/GetV1PublicPayTokenRequest.d.ts +9 -0
  386. package/dist/api/resources/public/client/requests/GetV1PublicPayTokenRequest.js +3 -0
  387. package/dist/api/resources/public/client/requests/index.d.ts +1 -0
  388. package/dist/api/resources/purchases/client/requests/PostV1PurchasesInvoicesCreateRequest.d.ts +1 -0
  389. package/dist/api/resources/purchases/client/requests/PostV1PurchasesInvoicesListRequest.d.ts +2 -0
  390. package/dist/api/resources/purchases/client/requests/PostV1PurchasesInvoicesUpdateRequest.d.ts +1 -0
  391. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersListRequest.d.ts +2 -0
  392. package/dist/api/resources/purchases/client/requests/PostV1PurchasesReceiptsListRequest.d.ts +2 -0
  393. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesCreateResponse.d.ts +1 -0
  394. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesGetResponse.d.ts +1 -0
  395. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesListResponse.d.ts +2 -0
  396. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesRegisterResponse.d.ts +1 -0
  397. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesUpdateResponse.d.ts +1 -0
  398. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersListResponse.d.ts +1 -0
  399. package/dist/api/resources/purchases/types/PostV1PurchasesReceiptsListResponse.d.ts +1 -0
  400. package/dist/api/resources/reference/client/Client.d.ts +54 -0
  401. package/dist/api/resources/reference/client/Client.js +216 -0
  402. package/dist/api/resources/reference/client/requests/PostV1ReferenceBanksListRequest.d.ts +2 -0
  403. package/dist/api/resources/reference/client/requests/PostV1ReferenceCnCodesListRequest.d.ts +2 -0
  404. package/dist/api/resources/reference/client/requests/PostV1ReferenceCurrenciesListRequest.d.ts +2 -0
  405. package/dist/api/resources/reference/client/requests/PostV1ReferenceExchangeRatesListRequest.d.ts +2 -0
  406. package/dist/api/resources/reference/client/requests/PostV1ReferenceExchangeRatesOverridesListRequest.d.ts +2 -0
  407. package/dist/api/resources/reference/client/requests/PostV1ReferenceLtCitiesListRequest.d.ts +8 -0
  408. package/dist/api/resources/reference/client/requests/PostV1ReferenceLtCitiesListRequest.js +3 -0
  409. package/dist/api/resources/reference/client/requests/PostV1ReferenceLtCountiesListRequest.d.ts +5 -0
  410. package/dist/api/resources/reference/client/requests/PostV1ReferenceLtCountiesListRequest.js +3 -0
  411. package/dist/api/resources/reference/client/requests/PostV1ReferenceLtMunicipalitiesListRequest.d.ts +7 -0
  412. package/dist/api/resources/reference/client/requests/PostV1ReferenceLtMunicipalitiesListRequest.js +3 -0
  413. package/dist/api/resources/reference/client/requests/PostV1ReferenceSeriesListRequest.d.ts +2 -0
  414. package/dist/api/resources/reference/client/requests/PostV1ReferenceUnitsListRequest.d.ts +2 -0
  415. package/dist/api/resources/reference/client/requests/PostV1ReferenceVatClassifiersListRequest.d.ts +2 -0
  416. package/dist/api/resources/reference/client/requests/index.d.ts +3 -0
  417. package/dist/api/resources/reference/types/PostV1ReferenceBanksListResponse.d.ts +1 -0
  418. package/dist/api/resources/reference/types/PostV1ReferenceCnCodesListResponse.d.ts +1 -0
  419. package/dist/api/resources/reference/types/PostV1ReferenceCurrenciesListResponse.d.ts +1 -0
  420. package/dist/api/resources/reference/types/PostV1ReferenceExchangeRatesListResponse.d.ts +1 -0
  421. package/dist/api/resources/reference/types/PostV1ReferenceExchangeRatesOverridesListResponse.d.ts +1 -0
  422. package/dist/api/resources/reference/types/PostV1ReferenceLtCitiesListResponse.d.ts +12 -0
  423. package/dist/api/resources/reference/types/PostV1ReferenceLtCitiesListResponse.js +3 -0
  424. package/dist/api/resources/reference/types/PostV1ReferenceLtCountiesListResponse.d.ts +13 -0
  425. package/dist/api/resources/reference/types/PostV1ReferenceLtCountiesListResponse.js +3 -0
  426. package/dist/api/resources/reference/types/PostV1ReferenceLtMunicipalitiesListResponse.d.ts +13 -0
  427. package/dist/api/resources/reference/types/PostV1ReferenceLtMunicipalitiesListResponse.js +3 -0
  428. package/dist/api/resources/reference/types/PostV1ReferenceSeriesListResponse.d.ts +1 -0
  429. package/dist/api/resources/reference/types/PostV1ReferenceUnitsListResponse.d.ts +1 -0
  430. package/dist/api/resources/reference/types/PostV1ReferenceVatClassifiersListResponse.d.ts +1 -0
  431. package/dist/api/resources/reference/types/index.d.ts +3 -0
  432. package/dist/api/resources/reference/types/index.js +3 -0
  433. package/dist/api/resources/reports/client/requests/PostV1ReportsJobsListRequest.d.ts +2 -0
  434. package/dist/api/resources/reports/types/PostV1ReportsJobsListResponse.d.ts +1 -0
  435. package/dist/api/resources/sales/client/Client.d.ts +293 -0
  436. package/dist/api/resources/sales/client/Client.js +1176 -73
  437. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesCreateRequest.d.ts +28 -0
  438. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesCreateRequest.js +13 -0
  439. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesDeleteRequest.d.ts +9 -0
  440. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesDeleteRequest.js +3 -0
  441. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesGetRequest.d.ts +9 -0
  442. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesGetRequest.js +3 -0
  443. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesListRequest.d.ts +48 -0
  444. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesListRequest.js +31 -0
  445. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesUpdateRequest.d.ts +29 -0
  446. package/dist/api/resources/sales/client/requests/PostV1DocumentSeriesUpdateRequest.js +13 -0
  447. package/dist/api/resources/sales/client/requests/PostV1OperationTypesCreateRequest.d.ts +43 -0
  448. package/dist/api/resources/sales/client/requests/PostV1OperationTypesCreateRequest.js +13 -0
  449. package/dist/api/resources/sales/client/requests/PostV1OperationTypesDeleteRequest.d.ts +9 -0
  450. package/dist/api/resources/sales/client/requests/PostV1OperationTypesDeleteRequest.js +3 -0
  451. package/dist/api/resources/sales/client/requests/PostV1OperationTypesGetRequest.d.ts +9 -0
  452. package/dist/api/resources/sales/client/requests/PostV1OperationTypesGetRequest.js +3 -0
  453. package/dist/api/resources/sales/client/requests/PostV1OperationTypesListRequest.d.ts +48 -0
  454. package/dist/api/resources/sales/client/requests/PostV1OperationTypesListRequest.js +31 -0
  455. package/dist/api/resources/sales/client/requests/PostV1OperationTypesUpdateRequest.d.ts +43 -0
  456. package/dist/api/resources/sales/client/requests/PostV1OperationTypesUpdateRequest.js +13 -0
  457. package/dist/api/resources/sales/client/requests/PostV1SalesActsListRequest.d.ts +2 -0
  458. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesCreateRequest.d.ts +9 -0
  459. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesListRequest.d.ts +2 -0
  460. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesLockRequest.d.ts +9 -0
  461. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesLockRequest.js +3 -0
  462. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesPaymentLinkRequest.d.ts +9 -0
  463. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesPaymentLinkRequest.js +3 -0
  464. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesPaymentSettingsGetRequest.d.ts +5 -0
  465. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesPaymentSettingsGetRequest.js +3 -0
  466. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesPaymentSettingsUpdateRequest.d.ts +7 -0
  467. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesPaymentSettingsUpdateRequest.js +3 -0
  468. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesUnlockRequest.d.ts +9 -0
  469. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesUnlockRequest.js +3 -0
  470. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesUpdateRequest.d.ts +9 -0
  471. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionRunsListRequest.d.ts +2 -0
  472. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionSchedulesListRequest.d.ts +2 -0
  473. package/dist/api/resources/sales/client/requests/PostV1SalesRefundLiabilityListRequest.d.ts +2 -0
  474. package/dist/api/resources/sales/client/requests/index.d.ts +15 -0
  475. package/dist/api/resources/sales/client/requests/index.js +13 -1
  476. package/dist/api/resources/sales/types/PostV1DocumentSeriesCreateResponse.d.ts +16 -0
  477. package/dist/api/resources/sales/types/PostV1DocumentSeriesCreateResponse.js +3 -0
  478. package/dist/api/resources/sales/types/PostV1DocumentSeriesDeleteResponse.d.ts +3 -0
  479. package/dist/api/resources/sales/types/PostV1DocumentSeriesDeleteResponse.js +3 -0
  480. package/dist/api/resources/sales/types/PostV1DocumentSeriesGetResponse.d.ts +16 -0
  481. package/dist/api/resources/sales/types/PostV1DocumentSeriesGetResponse.js +3 -0
  482. package/dist/api/resources/sales/types/PostV1DocumentSeriesListResponse.d.ts +28 -0
  483. package/dist/api/resources/sales/types/PostV1DocumentSeriesListResponse.js +3 -0
  484. package/dist/api/resources/sales/types/PostV1DocumentSeriesUpdateResponse.d.ts +16 -0
  485. package/dist/api/resources/sales/types/PostV1DocumentSeriesUpdateResponse.js +3 -0
  486. package/dist/api/resources/sales/types/PostV1OperationTypesCreateResponse.d.ts +39 -0
  487. package/dist/api/resources/sales/types/PostV1OperationTypesCreateResponse.js +13 -0
  488. package/dist/api/resources/sales/types/PostV1OperationTypesDeleteResponse.d.ts +3 -0
  489. package/dist/api/resources/sales/types/PostV1OperationTypesDeleteResponse.js +3 -0
  490. package/dist/api/resources/sales/types/PostV1OperationTypesGetResponse.d.ts +39 -0
  491. package/dist/api/resources/sales/types/PostV1OperationTypesGetResponse.js +13 -0
  492. package/dist/api/resources/sales/types/PostV1OperationTypesListResponse.d.ts +51 -0
  493. package/dist/api/resources/sales/types/PostV1OperationTypesListResponse.js +19 -0
  494. package/dist/api/resources/sales/types/PostV1OperationTypesUpdateResponse.d.ts +39 -0
  495. package/dist/api/resources/sales/types/PostV1OperationTypesUpdateResponse.js +13 -0
  496. package/dist/api/resources/sales/types/PostV1SalesActsListResponse.d.ts +1 -0
  497. package/dist/api/resources/sales/types/PostV1SalesInvoicesApplyAdvanceResponse.d.ts +12 -0
  498. package/dist/api/resources/sales/types/PostV1SalesInvoicesCreateResponse.d.ts +12 -0
  499. package/dist/api/resources/sales/types/PostV1SalesInvoicesGetResponse.d.ts +12 -0
  500. package/dist/api/resources/sales/types/PostV1SalesInvoicesIssueResponse.d.ts +12 -0
  501. package/dist/api/resources/sales/types/PostV1SalesInvoicesListResponse.d.ts +13 -0
  502. package/dist/api/resources/sales/types/PostV1SalesInvoicesLockResponse.d.ts +168 -0
  503. package/dist/api/resources/sales/types/PostV1SalesInvoicesLockResponse.js +45 -0
  504. package/dist/api/resources/sales/types/PostV1SalesInvoicesPaymentLinkResponse.d.ts +10 -0
  505. package/dist/api/resources/sales/types/PostV1SalesInvoicesPaymentLinkResponse.js +10 -0
  506. package/dist/api/resources/sales/types/PostV1SalesInvoicesPaymentSettingsGetResponse.d.ts +3 -0
  507. package/dist/api/resources/sales/types/PostV1SalesInvoicesPaymentSettingsGetResponse.js +3 -0
  508. package/dist/api/resources/sales/types/PostV1SalesInvoicesPaymentSettingsUpdateResponse.d.ts +3 -0
  509. package/dist/api/resources/sales/types/PostV1SalesInvoicesPaymentSettingsUpdateResponse.js +3 -0
  510. package/dist/api/resources/sales/types/PostV1SalesInvoicesUnlockResponse.d.ts +168 -0
  511. package/dist/api/resources/sales/types/PostV1SalesInvoicesUnlockResponse.js +45 -0
  512. package/dist/api/resources/sales/types/PostV1SalesInvoicesUpdateResponse.d.ts +12 -0
  513. package/dist/api/resources/sales/types/PostV1SalesRecognitionRunsListResponse.d.ts +1 -0
  514. package/dist/api/resources/sales/types/PostV1SalesRecognitionSchedulesListResponse.d.ts +1 -0
  515. package/dist/api/resources/sales/types/PostV1SalesRefundLiabilityListResponse.d.ts +1 -0
  516. package/dist/api/resources/sales/types/index.d.ts +15 -0
  517. package/dist/api/resources/sales/types/index.js +15 -0
  518. package/dist/api/resources/transport/client/requests/PostV1TransportWaybillsListRequest.d.ts +2 -0
  519. package/dist/api/resources/transport/types/PostV1TransportWaybillsListResponse.d.ts +1 -0
  520. package/dist/api/resources/webhooks/client/requests/PostV1WebhooksDeliveriesListRequest.d.ts +2 -0
  521. package/dist/api/resources/webhooks/client/requests/PostV1WebhooksSubscriptionsListRequest.d.ts +2 -0
  522. package/dist/api/resources/webhooks/types/PostV1WebhooksDeliveriesListResponse.d.ts +1 -0
  523. package/dist/api/resources/webhooks/types/PostV1WebhooksSubscriptionsListResponse.d.ts +1 -0
  524. package/package.json +1 -1
@@ -415,6 +415,742 @@ class CatalogClient {
415
415
  }
416
416
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/items/list");
417
417
  }
418
+ /**
419
+ * @param {NordletApi.PostV1CatalogItemsFilesListRequest} request
420
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
421
+ *
422
+ * @throws {@link NordletApi.BadRequestError}
423
+ * @throws {@link NordletApi.UnauthorizedError}
424
+ * @throws {@link NordletApi.ForbiddenError}
425
+ * @throws {@link NordletApi.NotFoundError}
426
+ * @throws {@link NordletApi.ConflictError}
427
+ * @throws {@link NordletApi.UnprocessableEntityError}
428
+ * @throws {@link NordletApi.TooManyRequestsError}
429
+ * @throws {@link NordletApi.InternalServerError}
430
+ *
431
+ * @example
432
+ * await client.catalog.postV1CatalogItemsFilesList({
433
+ * itemId: "itemId"
434
+ * })
435
+ */
436
+ postV1CatalogItemsFilesList(request, requestOptions) {
437
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogItemsFilesList(request, requestOptions));
438
+ }
439
+ async __postV1CatalogItemsFilesList(request, requestOptions) {
440
+ const _authRequest = await this._options.authProvider.getAuthRequest();
441
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
442
+ const _response = await core.fetcher({
443
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
444
+ (await core.Supplier.get(this._options.environment)) ??
445
+ environments.NordletApiEnvironment.Production, "v1/catalog/items/files/list"),
446
+ method: "POST",
447
+ headers: _headers,
448
+ contentType: "application/json",
449
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
450
+ requestType: "json",
451
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
452
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
453
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
454
+ abortSignal: requestOptions?.abortSignal,
455
+ fetchFn: this._options?.fetch,
456
+ logging: this._options.logging,
457
+ });
458
+ if (_response.ok) {
459
+ return {
460
+ data: _response.body,
461
+ rawResponse: _response.rawResponse,
462
+ };
463
+ }
464
+ if (_response.error.reason === "status-code") {
465
+ switch (_response.error.statusCode) {
466
+ case 400:
467
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
468
+ case 401:
469
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
470
+ case 403:
471
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
472
+ case 404:
473
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
474
+ case 409:
475
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
476
+ case 422:
477
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
478
+ case 429:
479
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
480
+ case 500:
481
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
482
+ default:
483
+ throw new errors.NordletApiError({
484
+ statusCode: _response.error.statusCode,
485
+ body: _response.error.body,
486
+ rawResponse: _response.rawResponse,
487
+ });
488
+ }
489
+ }
490
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/items/files/list");
491
+ }
492
+ /**
493
+ * @param {NordletApi.PostV1CatalogItemsKindsCreateRequest} request
494
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
495
+ *
496
+ * @throws {@link NordletApi.BadRequestError}
497
+ * @throws {@link NordletApi.UnauthorizedError}
498
+ * @throws {@link NordletApi.ForbiddenError}
499
+ * @throws {@link NordletApi.NotFoundError}
500
+ * @throws {@link NordletApi.ConflictError}
501
+ * @throws {@link NordletApi.UnprocessableEntityError}
502
+ * @throws {@link NordletApi.TooManyRequestsError}
503
+ * @throws {@link NordletApi.InternalServerError}
504
+ *
505
+ * @example
506
+ * await client.catalog.postV1CatalogItemsKindsCreate({
507
+ * code: "code",
508
+ * name: "name"
509
+ * })
510
+ */
511
+ postV1CatalogItemsKindsCreate(request, requestOptions) {
512
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogItemsKindsCreate(request, requestOptions));
513
+ }
514
+ async __postV1CatalogItemsKindsCreate(request, requestOptions) {
515
+ const _authRequest = await this._options.authProvider.getAuthRequest();
516
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
517
+ const _response = await core.fetcher({
518
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
519
+ (await core.Supplier.get(this._options.environment)) ??
520
+ environments.NordletApiEnvironment.Production, "v1/catalog/items/kinds/create"),
521
+ method: "POST",
522
+ headers: _headers,
523
+ contentType: "application/json",
524
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
525
+ requestType: "json",
526
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
527
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
528
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
529
+ abortSignal: requestOptions?.abortSignal,
530
+ fetchFn: this._options?.fetch,
531
+ logging: this._options.logging,
532
+ });
533
+ if (_response.ok) {
534
+ return {
535
+ data: _response.body,
536
+ rawResponse: _response.rawResponse,
537
+ };
538
+ }
539
+ if (_response.error.reason === "status-code") {
540
+ switch (_response.error.statusCode) {
541
+ case 400:
542
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
543
+ case 401:
544
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
545
+ case 403:
546
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
547
+ case 404:
548
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
549
+ case 409:
550
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
551
+ case 422:
552
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
553
+ case 429:
554
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
555
+ case 500:
556
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
557
+ default:
558
+ throw new errors.NordletApiError({
559
+ statusCode: _response.error.statusCode,
560
+ body: _response.error.body,
561
+ rawResponse: _response.rawResponse,
562
+ });
563
+ }
564
+ }
565
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/items/kinds/create");
566
+ }
567
+ /**
568
+ * @param {NordletApi.PostV1CatalogItemsKindsUpdateRequest} request
569
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
570
+ *
571
+ * @throws {@link NordletApi.BadRequestError}
572
+ * @throws {@link NordletApi.UnauthorizedError}
573
+ * @throws {@link NordletApi.ForbiddenError}
574
+ * @throws {@link NordletApi.NotFoundError}
575
+ * @throws {@link NordletApi.ConflictError}
576
+ * @throws {@link NordletApi.UnprocessableEntityError}
577
+ * @throws {@link NordletApi.TooManyRequestsError}
578
+ * @throws {@link NordletApi.InternalServerError}
579
+ *
580
+ * @example
581
+ * await client.catalog.postV1CatalogItemsKindsUpdate({
582
+ * id: "id"
583
+ * })
584
+ */
585
+ postV1CatalogItemsKindsUpdate(request, requestOptions) {
586
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogItemsKindsUpdate(request, requestOptions));
587
+ }
588
+ async __postV1CatalogItemsKindsUpdate(request, requestOptions) {
589
+ const _authRequest = await this._options.authProvider.getAuthRequest();
590
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
591
+ const _response = await core.fetcher({
592
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
593
+ (await core.Supplier.get(this._options.environment)) ??
594
+ environments.NordletApiEnvironment.Production, "v1/catalog/items/kinds/update"),
595
+ method: "POST",
596
+ headers: _headers,
597
+ contentType: "application/json",
598
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
599
+ requestType: "json",
600
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
601
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
602
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
603
+ abortSignal: requestOptions?.abortSignal,
604
+ fetchFn: this._options?.fetch,
605
+ logging: this._options.logging,
606
+ });
607
+ if (_response.ok) {
608
+ return {
609
+ data: _response.body,
610
+ rawResponse: _response.rawResponse,
611
+ };
612
+ }
613
+ if (_response.error.reason === "status-code") {
614
+ switch (_response.error.statusCode) {
615
+ case 400:
616
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
617
+ case 401:
618
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
619
+ case 403:
620
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
621
+ case 404:
622
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
623
+ case 409:
624
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
625
+ case 422:
626
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
627
+ case 429:
628
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
629
+ case 500:
630
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
631
+ default:
632
+ throw new errors.NordletApiError({
633
+ statusCode: _response.error.statusCode,
634
+ body: _response.error.body,
635
+ rawResponse: _response.rawResponse,
636
+ });
637
+ }
638
+ }
639
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/items/kinds/update");
640
+ }
641
+ /**
642
+ * @param {NordletApi.PostV1CatalogItemsKindsDeleteRequest} request
643
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
644
+ *
645
+ * @throws {@link NordletApi.BadRequestError}
646
+ * @throws {@link NordletApi.UnauthorizedError}
647
+ * @throws {@link NordletApi.ForbiddenError}
648
+ * @throws {@link NordletApi.NotFoundError}
649
+ * @throws {@link NordletApi.ConflictError}
650
+ * @throws {@link NordletApi.UnprocessableEntityError}
651
+ * @throws {@link NordletApi.TooManyRequestsError}
652
+ * @throws {@link NordletApi.InternalServerError}
653
+ *
654
+ * @example
655
+ * await client.catalog.postV1CatalogItemsKindsDelete({
656
+ * id: "id"
657
+ * })
658
+ */
659
+ postV1CatalogItemsKindsDelete(request, requestOptions) {
660
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogItemsKindsDelete(request, requestOptions));
661
+ }
662
+ async __postV1CatalogItemsKindsDelete(request, requestOptions) {
663
+ const _authRequest = await this._options.authProvider.getAuthRequest();
664
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
665
+ const _response = await core.fetcher({
666
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
667
+ (await core.Supplier.get(this._options.environment)) ??
668
+ environments.NordletApiEnvironment.Production, "v1/catalog/items/kinds/delete"),
669
+ method: "POST",
670
+ headers: _headers,
671
+ contentType: "application/json",
672
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
673
+ requestType: "json",
674
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
675
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
676
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
677
+ abortSignal: requestOptions?.abortSignal,
678
+ fetchFn: this._options?.fetch,
679
+ logging: this._options.logging,
680
+ });
681
+ if (_response.ok) {
682
+ return {
683
+ data: _response.body,
684
+ rawResponse: _response.rawResponse,
685
+ };
686
+ }
687
+ if (_response.error.reason === "status-code") {
688
+ switch (_response.error.statusCode) {
689
+ case 400:
690
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
691
+ case 401:
692
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
693
+ case 403:
694
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
695
+ case 404:
696
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
697
+ case 409:
698
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
699
+ case 422:
700
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
701
+ case 429:
702
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
703
+ case 500:
704
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
705
+ default:
706
+ throw new errors.NordletApiError({
707
+ statusCode: _response.error.statusCode,
708
+ body: _response.error.body,
709
+ rawResponse: _response.rawResponse,
710
+ });
711
+ }
712
+ }
713
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/items/kinds/delete");
714
+ }
715
+ /**
716
+ * @param {NordletApi.PostV1CatalogItemsKindsListRequest} request
717
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
718
+ *
719
+ * @throws {@link NordletApi.BadRequestError}
720
+ * @throws {@link NordletApi.UnauthorizedError}
721
+ * @throws {@link NordletApi.ForbiddenError}
722
+ * @throws {@link NordletApi.NotFoundError}
723
+ * @throws {@link NordletApi.ConflictError}
724
+ * @throws {@link NordletApi.UnprocessableEntityError}
725
+ * @throws {@link NordletApi.TooManyRequestsError}
726
+ * @throws {@link NordletApi.InternalServerError}
727
+ *
728
+ * @example
729
+ * await client.catalog.postV1CatalogItemsKindsList()
730
+ */
731
+ postV1CatalogItemsKindsList(request = {}, requestOptions) {
732
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogItemsKindsList(request, requestOptions));
733
+ }
734
+ async __postV1CatalogItemsKindsList(request = {}, requestOptions) {
735
+ const _authRequest = await this._options.authProvider.getAuthRequest();
736
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
737
+ const _response = await core.fetcher({
738
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
739
+ (await core.Supplier.get(this._options.environment)) ??
740
+ environments.NordletApiEnvironment.Production, "v1/catalog/items/kinds/list"),
741
+ method: "POST",
742
+ headers: _headers,
743
+ contentType: "application/json",
744
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
745
+ requestType: "json",
746
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
747
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
748
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
749
+ abortSignal: requestOptions?.abortSignal,
750
+ fetchFn: this._options?.fetch,
751
+ logging: this._options.logging,
752
+ });
753
+ if (_response.ok) {
754
+ return {
755
+ data: _response.body,
756
+ rawResponse: _response.rawResponse,
757
+ };
758
+ }
759
+ if (_response.error.reason === "status-code") {
760
+ switch (_response.error.statusCode) {
761
+ case 400:
762
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
763
+ case 401:
764
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
765
+ case 403:
766
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
767
+ case 404:
768
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
769
+ case 409:
770
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
771
+ case 422:
772
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
773
+ case 429:
774
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
775
+ case 500:
776
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
777
+ default:
778
+ throw new errors.NordletApiError({
779
+ statusCode: _response.error.statusCode,
780
+ body: _response.error.body,
781
+ rawResponse: _response.rawResponse,
782
+ });
783
+ }
784
+ }
785
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/items/kinds/list");
786
+ }
787
+ /**
788
+ * @param {NordletApi.PostV1CatalogUnitsCreateRequest} request
789
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
790
+ *
791
+ * @throws {@link NordletApi.BadRequestError}
792
+ * @throws {@link NordletApi.UnauthorizedError}
793
+ * @throws {@link NordletApi.ForbiddenError}
794
+ * @throws {@link NordletApi.NotFoundError}
795
+ * @throws {@link NordletApi.ConflictError}
796
+ * @throws {@link NordletApi.UnprocessableEntityError}
797
+ * @throws {@link NordletApi.TooManyRequestsError}
798
+ * @throws {@link NordletApi.InternalServerError}
799
+ *
800
+ * @example
801
+ * await client.catalog.postV1CatalogUnitsCreate({
802
+ * code: "code",
803
+ * name: "name"
804
+ * })
805
+ */
806
+ postV1CatalogUnitsCreate(request, requestOptions) {
807
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogUnitsCreate(request, requestOptions));
808
+ }
809
+ async __postV1CatalogUnitsCreate(request, requestOptions) {
810
+ const _authRequest = await this._options.authProvider.getAuthRequest();
811
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
812
+ const _response = await core.fetcher({
813
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
814
+ (await core.Supplier.get(this._options.environment)) ??
815
+ environments.NordletApiEnvironment.Production, "v1/catalog/units/create"),
816
+ method: "POST",
817
+ headers: _headers,
818
+ contentType: "application/json",
819
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
820
+ requestType: "json",
821
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
822
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
823
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
824
+ abortSignal: requestOptions?.abortSignal,
825
+ fetchFn: this._options?.fetch,
826
+ logging: this._options.logging,
827
+ });
828
+ if (_response.ok) {
829
+ return {
830
+ data: _response.body,
831
+ rawResponse: _response.rawResponse,
832
+ };
833
+ }
834
+ if (_response.error.reason === "status-code") {
835
+ switch (_response.error.statusCode) {
836
+ case 400:
837
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
838
+ case 401:
839
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
840
+ case 403:
841
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
842
+ case 404:
843
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
844
+ case 409:
845
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
846
+ case 422:
847
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
848
+ case 429:
849
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
850
+ case 500:
851
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
852
+ default:
853
+ throw new errors.NordletApiError({
854
+ statusCode: _response.error.statusCode,
855
+ body: _response.error.body,
856
+ rawResponse: _response.rawResponse,
857
+ });
858
+ }
859
+ }
860
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/units/create");
861
+ }
862
+ /**
863
+ * @param {NordletApi.PostV1CatalogUnitsUpdateRequest} request
864
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
865
+ *
866
+ * @throws {@link NordletApi.BadRequestError}
867
+ * @throws {@link NordletApi.UnauthorizedError}
868
+ * @throws {@link NordletApi.ForbiddenError}
869
+ * @throws {@link NordletApi.NotFoundError}
870
+ * @throws {@link NordletApi.ConflictError}
871
+ * @throws {@link NordletApi.UnprocessableEntityError}
872
+ * @throws {@link NordletApi.TooManyRequestsError}
873
+ * @throws {@link NordletApi.InternalServerError}
874
+ *
875
+ * @example
876
+ * await client.catalog.postV1CatalogUnitsUpdate({
877
+ * id: "id"
878
+ * })
879
+ */
880
+ postV1CatalogUnitsUpdate(request, requestOptions) {
881
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogUnitsUpdate(request, requestOptions));
882
+ }
883
+ async __postV1CatalogUnitsUpdate(request, requestOptions) {
884
+ const _authRequest = await this._options.authProvider.getAuthRequest();
885
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
886
+ const _response = await core.fetcher({
887
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
888
+ (await core.Supplier.get(this._options.environment)) ??
889
+ environments.NordletApiEnvironment.Production, "v1/catalog/units/update"),
890
+ method: "POST",
891
+ headers: _headers,
892
+ contentType: "application/json",
893
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
894
+ requestType: "json",
895
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
896
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
897
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
898
+ abortSignal: requestOptions?.abortSignal,
899
+ fetchFn: this._options?.fetch,
900
+ logging: this._options.logging,
901
+ });
902
+ if (_response.ok) {
903
+ return {
904
+ data: _response.body,
905
+ rawResponse: _response.rawResponse,
906
+ };
907
+ }
908
+ if (_response.error.reason === "status-code") {
909
+ switch (_response.error.statusCode) {
910
+ case 400:
911
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
912
+ case 401:
913
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
914
+ case 403:
915
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
916
+ case 404:
917
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
918
+ case 409:
919
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
920
+ case 422:
921
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
922
+ case 429:
923
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
924
+ case 500:
925
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
926
+ default:
927
+ throw new errors.NordletApiError({
928
+ statusCode: _response.error.statusCode,
929
+ body: _response.error.body,
930
+ rawResponse: _response.rawResponse,
931
+ });
932
+ }
933
+ }
934
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/units/update");
935
+ }
936
+ /**
937
+ * @param {NordletApi.PostV1CatalogUnitsDeleteRequest} request
938
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
939
+ *
940
+ * @throws {@link NordletApi.BadRequestError}
941
+ * @throws {@link NordletApi.UnauthorizedError}
942
+ * @throws {@link NordletApi.ForbiddenError}
943
+ * @throws {@link NordletApi.NotFoundError}
944
+ * @throws {@link NordletApi.ConflictError}
945
+ * @throws {@link NordletApi.UnprocessableEntityError}
946
+ * @throws {@link NordletApi.TooManyRequestsError}
947
+ * @throws {@link NordletApi.InternalServerError}
948
+ *
949
+ * @example
950
+ * await client.catalog.postV1CatalogUnitsDelete({
951
+ * id: "id"
952
+ * })
953
+ */
954
+ postV1CatalogUnitsDelete(request, requestOptions) {
955
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogUnitsDelete(request, requestOptions));
956
+ }
957
+ async __postV1CatalogUnitsDelete(request, requestOptions) {
958
+ const _authRequest = await this._options.authProvider.getAuthRequest();
959
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
960
+ const _response = await core.fetcher({
961
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
962
+ (await core.Supplier.get(this._options.environment)) ??
963
+ environments.NordletApiEnvironment.Production, "v1/catalog/units/delete"),
964
+ method: "POST",
965
+ headers: _headers,
966
+ contentType: "application/json",
967
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
968
+ requestType: "json",
969
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
970
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
971
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
972
+ abortSignal: requestOptions?.abortSignal,
973
+ fetchFn: this._options?.fetch,
974
+ logging: this._options.logging,
975
+ });
976
+ if (_response.ok) {
977
+ return {
978
+ data: _response.body,
979
+ rawResponse: _response.rawResponse,
980
+ };
981
+ }
982
+ if (_response.error.reason === "status-code") {
983
+ switch (_response.error.statusCode) {
984
+ case 400:
985
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
986
+ case 401:
987
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
988
+ case 403:
989
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
990
+ case 404:
991
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
992
+ case 409:
993
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
994
+ case 422:
995
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
996
+ case 429:
997
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
998
+ case 500:
999
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1000
+ default:
1001
+ throw new errors.NordletApiError({
1002
+ statusCode: _response.error.statusCode,
1003
+ body: _response.error.body,
1004
+ rawResponse: _response.rawResponse,
1005
+ });
1006
+ }
1007
+ }
1008
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/units/delete");
1009
+ }
1010
+ /**
1011
+ * @param {NordletApi.PostV1CatalogUnitsListRequest} request
1012
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
1013
+ *
1014
+ * @throws {@link NordletApi.BadRequestError}
1015
+ * @throws {@link NordletApi.UnauthorizedError}
1016
+ * @throws {@link NordletApi.ForbiddenError}
1017
+ * @throws {@link NordletApi.NotFoundError}
1018
+ * @throws {@link NordletApi.ConflictError}
1019
+ * @throws {@link NordletApi.UnprocessableEntityError}
1020
+ * @throws {@link NordletApi.TooManyRequestsError}
1021
+ * @throws {@link NordletApi.InternalServerError}
1022
+ *
1023
+ * @example
1024
+ * await client.catalog.postV1CatalogUnitsList()
1025
+ */
1026
+ postV1CatalogUnitsList(request = {}, requestOptions) {
1027
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogUnitsList(request, requestOptions));
1028
+ }
1029
+ async __postV1CatalogUnitsList(request = {}, requestOptions) {
1030
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1031
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1032
+ const _response = await core.fetcher({
1033
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1034
+ (await core.Supplier.get(this._options.environment)) ??
1035
+ environments.NordletApiEnvironment.Production, "v1/catalog/units/list"),
1036
+ method: "POST",
1037
+ headers: _headers,
1038
+ contentType: "application/json",
1039
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
1040
+ requestType: "json",
1041
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
1042
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
1043
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1044
+ abortSignal: requestOptions?.abortSignal,
1045
+ fetchFn: this._options?.fetch,
1046
+ logging: this._options.logging,
1047
+ });
1048
+ if (_response.ok) {
1049
+ return {
1050
+ data: _response.body,
1051
+ rawResponse: _response.rawResponse,
1052
+ };
1053
+ }
1054
+ if (_response.error.reason === "status-code") {
1055
+ switch (_response.error.statusCode) {
1056
+ case 400:
1057
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
1058
+ case 401:
1059
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
1060
+ case 403:
1061
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1062
+ case 404:
1063
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1064
+ case 409:
1065
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1066
+ case 422:
1067
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1068
+ case 429:
1069
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1070
+ case 500:
1071
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1072
+ default:
1073
+ throw new errors.NordletApiError({
1074
+ statusCode: _response.error.statusCode,
1075
+ body: _response.error.body,
1076
+ rawResponse: _response.rawResponse,
1077
+ });
1078
+ }
1079
+ }
1080
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/units/list");
1081
+ }
1082
+ /**
1083
+ * @param {NordletApi.PostV1CatalogUnitsOptionsRequest} request
1084
+ * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.
1085
+ *
1086
+ * @throws {@link NordletApi.BadRequestError}
1087
+ * @throws {@link NordletApi.UnauthorizedError}
1088
+ * @throws {@link NordletApi.ForbiddenError}
1089
+ * @throws {@link NordletApi.NotFoundError}
1090
+ * @throws {@link NordletApi.ConflictError}
1091
+ * @throws {@link NordletApi.UnprocessableEntityError}
1092
+ * @throws {@link NordletApi.TooManyRequestsError}
1093
+ * @throws {@link NordletApi.InternalServerError}
1094
+ *
1095
+ * @example
1096
+ * await client.catalog.postV1CatalogUnitsOptions()
1097
+ */
1098
+ postV1CatalogUnitsOptions(request = {}, requestOptions) {
1099
+ return core.HttpResponsePromise.fromPromise(this.__postV1CatalogUnitsOptions(request, requestOptions));
1100
+ }
1101
+ async __postV1CatalogUnitsOptions(request = {}, requestOptions) {
1102
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1103
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1104
+ const _response = await core.fetcher({
1105
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1106
+ (await core.Supplier.get(this._options.environment)) ??
1107
+ environments.NordletApiEnvironment.Production, "v1/catalog/units/options"),
1108
+ method: "POST",
1109
+ headers: _headers,
1110
+ contentType: "application/json",
1111
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
1112
+ requestType: "json",
1113
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
1114
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
1115
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1116
+ abortSignal: requestOptions?.abortSignal,
1117
+ fetchFn: this._options?.fetch,
1118
+ logging: this._options.logging,
1119
+ });
1120
+ if (_response.ok) {
1121
+ return {
1122
+ data: _response.body,
1123
+ rawResponse: _response.rawResponse,
1124
+ };
1125
+ }
1126
+ if (_response.error.reason === "status-code") {
1127
+ switch (_response.error.statusCode) {
1128
+ case 400:
1129
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
1130
+ case 401:
1131
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
1132
+ case 403:
1133
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1134
+ case 404:
1135
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1136
+ case 409:
1137
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1138
+ case 422:
1139
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1140
+ case 429:
1141
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1142
+ case 500:
1143
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1144
+ default:
1145
+ throw new errors.NordletApiError({
1146
+ statusCode: _response.error.statusCode,
1147
+ body: _response.error.body,
1148
+ rawResponse: _response.rawResponse,
1149
+ });
1150
+ }
1151
+ }
1152
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/catalog/units/options");
1153
+ }
418
1154
  /**
419
1155
  * @param {NordletApi.PostV1CatalogItemGroupsCreateRequest} request
420
1156
  * @param {CatalogClient.RequestOptions} requestOptions - Request-specific configuration.