nordlet 0.3.9 → 0.4.0

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 (258) hide show
  1. package/dist/Client.d.ts +6 -0
  2. package/dist/Client.js +28 -20
  3. package/dist/api/resources/account/types/MeAccountResponse.d.ts +3 -0
  4. package/dist/api/resources/bank/client/Client.d.ts +65 -0
  5. package/dist/api/resources/bank/client/Client.js +236 -0
  6. package/dist/api/resources/bank/client/requests/AccountsCreateBankRequest.d.ts +9 -0
  7. package/dist/api/resources/bank/client/requests/AccountsCreateBankRequest.js +9 -0
  8. package/dist/api/resources/bank/client/requests/AccountsUpdateBankRequest.d.ts +9 -0
  9. package/dist/api/resources/bank/client/requests/AccountsUpdateBankRequest.js +9 -0
  10. package/dist/api/resources/bank/client/requests/SecuritiesGetBankRequest.d.ts +9 -0
  11. package/dist/api/resources/bank/client/requests/SecuritiesGetBankRequest.js +3 -0
  12. package/dist/api/resources/bank/client/requests/SecuritiesImportBankRequest.d.ts +12 -0
  13. package/dist/api/resources/bank/client/requests/SecuritiesImportBankRequest.js +3 -0
  14. package/dist/api/resources/bank/client/requests/SecuritiesListBankRequest.d.ts +48 -0
  15. package/dist/api/resources/bank/client/requests/SecuritiesListBankRequest.js +31 -0
  16. package/dist/api/resources/bank/client/requests/TransactionsMatchBankRequest.d.ts +1 -0
  17. package/dist/api/resources/bank/client/requests/TransactionsMatchBankRequest.js +1 -0
  18. package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.d.ts +1 -0
  19. package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.js +1 -0
  20. package/dist/api/resources/bank/client/requests/TransactionsRecordBankRequest.d.ts +1 -0
  21. package/dist/api/resources/bank/client/requests/TransactionsRecordBankRequest.js +1 -0
  22. package/dist/api/resources/bank/client/requests/index.d.ts +5 -2
  23. package/dist/api/resources/bank/client/requests/index.js +7 -1
  24. package/dist/api/resources/bank/types/AccountsCreateBankResponse.d.ts +9 -0
  25. package/dist/api/resources/bank/types/AccountsCreateBankResponse.js +9 -0
  26. package/dist/api/resources/bank/types/AccountsListBankResponse.d.ts +9 -0
  27. package/dist/api/resources/bank/types/AccountsListBankResponse.js +15 -0
  28. package/dist/api/resources/bank/types/AccountsUpdateBankResponse.d.ts +9 -0
  29. package/dist/api/resources/bank/types/AccountsUpdateBankResponse.js +9 -0
  30. package/dist/api/resources/bank/types/SecuritiesGetBankResponse.d.ts +50 -0
  31. package/dist/api/resources/bank/types/SecuritiesGetBankResponse.js +17 -0
  32. package/dist/api/resources/bank/types/SecuritiesImportBankResponse.d.ts +14 -0
  33. package/dist/api/resources/bank/types/SecuritiesImportBankResponse.js +3 -0
  34. package/dist/api/resources/bank/types/SecuritiesListBankResponse.d.ts +28 -0
  35. package/dist/api/resources/bank/types/SecuritiesListBankResponse.js +3 -0
  36. package/dist/api/resources/bank/types/SettlementsCommissionBankResponse.d.ts +4 -0
  37. package/dist/api/resources/bank/types/SettlementsGetBankResponse.d.ts +7 -0
  38. package/dist/api/resources/bank/types/SettlementsImportBankResponse.d.ts +3 -0
  39. package/dist/api/resources/bank/types/SettlementsLinkBankResponse.d.ts +3 -0
  40. package/dist/api/resources/bank/types/SettlementsListBankResponse.d.ts +3 -0
  41. package/dist/api/resources/bank/types/SettlementsMatchBankResponse.d.ts +4 -0
  42. package/dist/api/resources/bank/types/SettlementsPostBankResponse.d.ts +4 -0
  43. package/dist/api/resources/bank/types/SettlementsUnlinkBankResponse.d.ts +3 -0
  44. package/dist/api/resources/bank/types/TransactionsSuggestMatchesBankResponse.d.ts +1 -0
  45. package/dist/api/resources/bank/types/TransactionsSuggestMatchesBankResponse.js +1 -0
  46. package/dist/api/resources/bank/types/index.d.ts +3 -0
  47. package/dist/api/resources/bank/types/index.js +3 -0
  48. package/dist/api/resources/billing/client/Client.d.ts +131 -0
  49. package/dist/api/resources/billing/client/Client.js +479 -0
  50. package/dist/api/resources/billing/client/requests/AccountSetAccountTypeBillingRequest.d.ts +16 -0
  51. package/dist/api/resources/billing/client/requests/AccountSetAccountTypeBillingRequest.js +11 -0
  52. package/dist/api/resources/billing/client/requests/AccountSetAutoTopUpBillingRequest.d.ts +11 -0
  53. package/dist/api/resources/billing/client/requests/AccountSetAutoTopUpBillingRequest.js +3 -0
  54. package/dist/api/resources/billing/client/requests/AccountSetOverdraftCapBillingRequest.d.ts +9 -0
  55. package/dist/api/resources/billing/client/requests/AccountSetOverdraftCapBillingRequest.js +3 -0
  56. package/dist/api/resources/billing/client/requests/FlatRateConfirmBillingRequest.d.ts +9 -0
  57. package/dist/api/resources/billing/client/requests/FlatRateConfirmBillingRequest.js +3 -0
  58. package/dist/api/resources/billing/client/requests/FlatRateCreateBillingRequest.d.ts +22 -0
  59. package/dist/api/resources/billing/client/requests/FlatRateCreateBillingRequest.js +17 -0
  60. package/dist/api/resources/billing/client/requests/TopupConfirmBillingRequest.d.ts +9 -0
  61. package/dist/api/resources/billing/client/requests/TopupConfirmBillingRequest.js +3 -0
  62. package/dist/api/resources/billing/client/requests/TopupCreateBillingRequest.d.ts +6 -0
  63. package/dist/api/resources/billing/client/requests/TopupCreateBillingRequest.js +4 -0
  64. package/dist/api/resources/billing/client/requests/index.d.ts +6 -0
  65. package/dist/api/resources/billing/client/requests/index.js +5 -1
  66. package/dist/api/resources/billing/types/AccountGetBillingResponse.d.ts +18 -2
  67. package/dist/api/resources/billing/types/AccountGetBillingResponse.js +4 -0
  68. package/dist/api/resources/billing/types/AccountSetAccountTypeBillingResponse.d.ts +70 -0
  69. package/dist/api/resources/billing/types/AccountSetAccountTypeBillingResponse.js +21 -0
  70. package/dist/api/resources/billing/types/AccountSetAutoTopUpBillingResponse.d.ts +70 -0
  71. package/dist/api/resources/billing/types/AccountSetAutoTopUpBillingResponse.js +21 -0
  72. package/dist/api/resources/billing/types/AccountSetOverdraftCapBillingResponse.d.ts +70 -0
  73. package/dist/api/resources/billing/types/AccountSetOverdraftCapBillingResponse.js +21 -0
  74. package/dist/api/resources/billing/types/AccountSetPlanBillingResponse.d.ts +18 -2
  75. package/dist/api/resources/billing/types/AccountSetPlanBillingResponse.js +4 -0
  76. package/dist/api/resources/billing/types/FlatRateConfirmBillingResponse.d.ts +70 -0
  77. package/dist/api/resources/billing/types/FlatRateConfirmBillingResponse.js +21 -0
  78. package/dist/api/resources/billing/types/FlatRateCreateBillingResponse.d.ts +4 -0
  79. package/dist/api/resources/billing/types/FlatRateCreateBillingResponse.js +3 -0
  80. package/dist/api/resources/billing/types/TopupConfirmBillingResponse.d.ts +70 -0
  81. package/dist/api/resources/billing/types/TopupConfirmBillingResponse.js +21 -0
  82. package/dist/api/resources/billing/types/UsageListBillingResponse.d.ts +1 -0
  83. package/dist/api/resources/billing/types/UsageListBillingResponse.js +1 -0
  84. package/dist/api/resources/billing/types/index.d.ts +6 -0
  85. package/dist/api/resources/billing/types/index.js +6 -0
  86. package/dist/api/resources/capture/client/Client.d.ts +2 -0
  87. package/dist/api/resources/capture/client/Client.js +2 -0
  88. package/dist/api/resources/capture/client/requests/DocumentsConfirmCaptureRequest.d.ts +29 -0
  89. package/dist/api/resources/capture/client/requests/DocumentsConfirmCaptureRequest.js +8 -0
  90. package/dist/api/resources/capture/client/requests/index.d.ts +1 -1
  91. package/dist/api/resources/capture/client/requests/index.js +3 -1
  92. package/dist/api/resources/capture/types/DocumentsConfirmCaptureResponse.d.ts +93 -0
  93. package/dist/api/resources/capture/types/DocumentsConfirmCaptureResponse.js +23 -0
  94. package/dist/api/resources/capture/types/DocumentsExtractCaptureResponse.d.ts +21 -0
  95. package/dist/api/resources/capture/types/DocumentsExtractCaptureResponse.js +7 -0
  96. package/dist/api/resources/capture/types/DocumentsGetCaptureResponse.d.ts +21 -0
  97. package/dist/api/resources/capture/types/DocumentsGetCaptureResponse.js +7 -0
  98. package/dist/api/resources/capture/types/DocumentsListCaptureResponse.d.ts +21 -0
  99. package/dist/api/resources/capture/types/DocumentsListCaptureResponse.js +7 -0
  100. package/dist/api/resources/capture/types/DocumentsUploadCaptureResponse.d.ts +21 -0
  101. package/dist/api/resources/capture/types/DocumentsUploadCaptureResponse.js +7 -0
  102. package/dist/api/resources/declarations/client/Client.d.ts +93 -1
  103. package/dist/api/resources/declarations/client/Client.js +325 -1
  104. package/dist/api/resources/declarations/client/requests/EuDac7PreviewDeclarationsRequest.d.ts +9 -0
  105. package/dist/api/resources/declarations/client/requests/EuDac7PreviewDeclarationsRequest.js +3 -0
  106. package/dist/api/resources/declarations/client/requests/EuDac7XmlDeclarationsRequest.d.ts +9 -0
  107. package/dist/api/resources/declarations/client/requests/EuDac7XmlDeclarationsRequest.js +3 -0
  108. package/dist/api/resources/declarations/client/requests/EuDigitalReportingListDeclarationsRequest.d.ts +11 -0
  109. package/dist/api/resources/declarations/client/requests/EuDigitalReportingListDeclarationsRequest.js +3 -0
  110. package/dist/api/resources/declarations/client/requests/EuOwnGoodsTransfersComputeDeclarationsRequest.d.ts +11 -0
  111. package/dist/api/resources/declarations/client/requests/EuOwnGoodsTransfersComputeDeclarationsRequest.js +3 -0
  112. package/dist/api/resources/declarations/client/requests/index.d.ts +4 -0
  113. package/dist/api/resources/declarations/types/EuDac7PreviewDeclarationsResponse.d.ts +25 -0
  114. package/dist/api/resources/declarations/types/EuDac7PreviewDeclarationsResponse.js +3 -0
  115. package/dist/api/resources/declarations/types/EuDac7XmlDeclarationsResponse.d.ts +6 -0
  116. package/dist/api/resources/declarations/types/EuDac7XmlDeclarationsResponse.js +3 -0
  117. package/dist/api/resources/declarations/types/EuDigitalReportingListDeclarationsResponse.d.ts +67 -0
  118. package/dist/api/resources/declarations/types/EuDigitalReportingListDeclarationsResponse.js +27 -0
  119. package/dist/api/resources/declarations/types/EuOwnGoodsTransfersComputeDeclarationsResponse.d.ts +38 -0
  120. package/dist/api/resources/declarations/types/EuOwnGoodsTransfersComputeDeclarationsResponse.js +3 -0
  121. package/dist/api/resources/declarations/types/index.d.ts +4 -0
  122. package/dist/api/resources/declarations/types/index.js +4 -0
  123. package/dist/api/resources/index.d.ts +6 -0
  124. package/dist/api/resources/index.js +7 -1
  125. package/dist/api/resources/inventory/client/Client.d.ts +22 -0
  126. package/dist/api/resources/inventory/client/Client.js +80 -0
  127. package/dist/api/resources/inventory/client/requests/WarehousesCreateInventoryRequest.d.ts +1 -0
  128. package/dist/api/resources/inventory/client/requests/WarehousesUpdateInventoryRequest.d.ts +11 -0
  129. package/dist/api/resources/inventory/client/requests/WarehousesUpdateInventoryRequest.js +3 -0
  130. package/dist/api/resources/inventory/client/requests/index.d.ts +1 -0
  131. package/dist/api/resources/inventory/types/LandedCostsCreateInventoryResponse.d.ts +1 -0
  132. package/dist/api/resources/inventory/types/LandedCostsGetInventoryResponse.d.ts +1 -0
  133. package/dist/api/resources/inventory/types/WarehousesCreateInventoryResponse.d.ts +1 -0
  134. package/dist/api/resources/inventory/types/WarehousesListInventoryResponse.d.ts +1 -0
  135. package/dist/api/resources/inventory/types/WarehousesUpdateInventoryResponse.d.ts +8 -0
  136. package/dist/api/resources/inventory/types/WarehousesUpdateInventoryResponse.js +3 -0
  137. package/dist/api/resources/inventory/types/index.d.ts +1 -0
  138. package/dist/api/resources/inventory/types/index.js +1 -0
  139. package/dist/api/resources/ledger/client/requests/JournalTransactionsCreateLedgerRequest.d.ts +1 -0
  140. package/dist/api/resources/ledger/client/requests/PostingRulesUpdateLedgerRequest.d.ts +8 -0
  141. package/dist/api/resources/ledger/client/requests/PostingRulesUpdateLedgerRequest.js +8 -0
  142. package/dist/api/resources/partners/client/requests/CreatePartnersRequest.d.ts +0 -2
  143. package/dist/api/resources/partners/client/requests/FindOrCreatePartnersRequest.d.ts +0 -2
  144. package/dist/api/resources/partners/client/requests/UpdatePartnersRequest.d.ts +0 -2
  145. package/dist/api/resources/partners/types/CreatePartnersResponse.d.ts +0 -2
  146. package/dist/api/resources/partners/types/FindOrCreatePartnersResponse.d.ts +0 -2
  147. package/dist/api/resources/partners/types/GetPartnersResponse.d.ts +0 -2
  148. package/dist/api/resources/partners/types/ListPartnersResponse.d.ts +0 -2
  149. package/dist/api/resources/partners/types/UpdatePartnersResponse.d.ts +0 -2
  150. package/dist/api/resources/payroll/types/RunsApprovePayrollResponse.d.ts +1 -0
  151. package/dist/api/resources/payroll/types/RunsCreatePayrollResponse.d.ts +1 -0
  152. package/dist/api/resources/payroll/types/RunsGetPayrollResponse.d.ts +1 -0
  153. package/dist/api/resources/payroll/types/RunsListPayrollResponse.d.ts +1 -0
  154. package/dist/api/resources/payroll/types/RunsReversePayrollResponse.d.ts +1 -0
  155. package/dist/api/resources/peppol/client/Client.d.ts +58 -0
  156. package/dist/api/resources/peppol/client/Client.js +207 -0
  157. package/dist/api/resources/peppol/client/index.d.ts +1 -0
  158. package/dist/api/resources/peppol/client/index.js +17 -0
  159. package/dist/api/resources/peppol/client/requests/ParticipantsLookupPeppolRequest.d.ts +8 -0
  160. package/dist/api/resources/peppol/client/requests/ParticipantsLookupPeppolRequest.js +3 -0
  161. package/dist/api/resources/peppol/client/requests/WebhooksPeppolRequest.d.ts +12 -0
  162. package/dist/api/resources/peppol/client/requests/WebhooksPeppolRequest.js +3 -0
  163. package/dist/api/resources/peppol/client/requests/index.d.ts +2 -0
  164. package/dist/api/resources/peppol/client/requests/index.js +2 -0
  165. package/dist/api/resources/peppol/exports.d.ts +2 -0
  166. package/dist/api/resources/peppol/exports.js +21 -0
  167. package/dist/api/resources/peppol/index.d.ts +2 -0
  168. package/dist/api/resources/peppol/index.js +18 -0
  169. package/dist/api/resources/peppol/types/ParticipantsLookupPeppolResponse.d.ts +9 -0
  170. package/dist/api/resources/peppol/types/ParticipantsLookupPeppolResponse.js +3 -0
  171. package/dist/api/resources/peppol/types/WebhooksPeppolRequestProvider.d.ts +6 -0
  172. package/dist/api/resources/peppol/types/WebhooksPeppolRequestProvider.js +9 -0
  173. package/dist/api/resources/peppol/types/WebhooksPeppolResponse.d.ts +3 -0
  174. package/dist/api/resources/peppol/types/WebhooksPeppolResponse.js +3 -0
  175. package/dist/api/resources/peppol/types/index.d.ts +3 -0
  176. package/dist/api/resources/peppol/types/index.js +19 -0
  177. package/dist/api/resources/platformSellers/client/Client.d.ts +130 -0
  178. package/dist/api/resources/platformSellers/client/Client.js +458 -0
  179. package/dist/api/resources/platformSellers/client/index.d.ts +1 -0
  180. package/dist/api/resources/platformSellers/client/index.js +17 -0
  181. package/dist/api/resources/platformSellers/client/requests/CreatePlatformSellersRequest.d.ts +98 -0
  182. package/dist/api/resources/platformSellers/client/requests/CreatePlatformSellersRequest.js +35 -0
  183. package/dist/api/resources/platformSellers/client/requests/DeletePlatformSellersRequest.d.ts +9 -0
  184. package/dist/api/resources/platformSellers/client/requests/DeletePlatformSellersRequest.js +3 -0
  185. package/dist/api/resources/platformSellers/client/requests/GetPlatformSellersRequest.d.ts +9 -0
  186. package/dist/api/resources/platformSellers/client/requests/GetPlatformSellersRequest.js +3 -0
  187. package/dist/api/resources/platformSellers/client/requests/ListPlatformSellersRequest.d.ts +48 -0
  188. package/dist/api/resources/platformSellers/client/requests/ListPlatformSellersRequest.js +31 -0
  189. package/dist/api/resources/platformSellers/client/requests/UpdatePlatformSellersRequest.d.ts +100 -0
  190. package/dist/api/resources/platformSellers/client/requests/UpdatePlatformSellersRequest.js +35 -0
  191. package/dist/api/resources/platformSellers/client/requests/index.d.ts +5 -0
  192. package/dist/api/resources/platformSellers/client/requests/index.js +9 -0
  193. package/dist/api/resources/platformSellers/exports.d.ts +2 -0
  194. package/dist/api/resources/platformSellers/exports.js +21 -0
  195. package/dist/api/resources/platformSellers/index.d.ts +2 -0
  196. package/dist/api/resources/platformSellers/index.js +18 -0
  197. package/dist/api/resources/platformSellers/types/CreatePlatformSellersResponse.d.ts +93 -0
  198. package/dist/api/resources/platformSellers/types/CreatePlatformSellersResponse.js +35 -0
  199. package/dist/api/resources/platformSellers/types/DeletePlatformSellersResponse.d.ts +4 -0
  200. package/dist/api/resources/platformSellers/types/DeletePlatformSellersResponse.js +3 -0
  201. package/dist/api/resources/platformSellers/types/GetPlatformSellersResponse.d.ts +93 -0
  202. package/dist/api/resources/platformSellers/types/GetPlatformSellersResponse.js +35 -0
  203. package/dist/api/resources/platformSellers/types/ListPlatformSellersResponse.d.ts +59 -0
  204. package/dist/api/resources/platformSellers/types/ListPlatformSellersResponse.js +17 -0
  205. package/dist/api/resources/platformSellers/types/UpdatePlatformSellersResponse.d.ts +93 -0
  206. package/dist/api/resources/platformSellers/types/UpdatePlatformSellersResponse.js +35 -0
  207. package/dist/api/resources/platformSellers/types/index.d.ts +5 -0
  208. package/dist/api/resources/platformSellers/types/index.js +21 -0
  209. package/dist/api/resources/purchases/client/requests/InvoicesRegisterPurchasesRequest.d.ts +1 -0
  210. package/dist/api/resources/reference/client/requests/VatResolveReferenceRequest.d.ts +16 -0
  211. package/dist/api/resources/reference/client/requests/VatResolveReferenceRequest.js +8 -0
  212. package/dist/api/resources/reports/types/OnlineSalesReportsResponse.d.ts +1 -0
  213. package/dist/api/resources/sales/client/Client.d.ts +134 -0
  214. package/dist/api/resources/sales/client/Client.js +482 -0
  215. package/dist/api/resources/sales/client/requests/InvoiceTemplatesCreateSalesRequest.d.ts +70 -0
  216. package/dist/api/resources/sales/client/requests/InvoiceTemplatesCreateSalesRequest.js +27 -0
  217. package/dist/api/resources/sales/client/requests/InvoiceTemplatesDeleteSalesRequest.d.ts +9 -0
  218. package/dist/api/resources/sales/client/requests/InvoiceTemplatesDeleteSalesRequest.js +3 -0
  219. package/dist/api/resources/sales/client/requests/InvoiceTemplatesGetSalesRequest.d.ts +9 -0
  220. package/dist/api/resources/sales/client/requests/InvoiceTemplatesGetSalesRequest.js +3 -0
  221. package/dist/api/resources/sales/client/requests/InvoiceTemplatesListSalesRequest.d.ts +48 -0
  222. package/dist/api/resources/sales/client/requests/InvoiceTemplatesListSalesRequest.js +31 -0
  223. package/dist/api/resources/sales/client/requests/InvoiceTemplatesUpdateSalesRequest.d.ts +71 -0
  224. package/dist/api/resources/sales/client/requests/InvoiceTemplatesUpdateSalesRequest.js +27 -0
  225. package/dist/api/resources/sales/client/requests/InvoicesApplyAdvanceSalesRequest.d.ts +2 -0
  226. package/dist/api/resources/sales/client/requests/InvoicesPeppolStatusSalesRequest.d.ts +9 -0
  227. package/dist/api/resources/sales/client/requests/InvoicesPeppolStatusSalesRequest.js +3 -0
  228. package/dist/api/resources/sales/client/requests/index.d.ts +6 -0
  229. package/dist/api/resources/sales/client/requests/index.js +7 -1
  230. package/dist/api/resources/sales/types/InvoiceTemplatesCreateSalesResponse.d.ts +55 -0
  231. package/dist/api/resources/sales/types/InvoiceTemplatesCreateSalesResponse.js +16 -0
  232. package/dist/api/resources/sales/types/InvoiceTemplatesDeleteSalesResponse.d.ts +3 -0
  233. package/dist/api/resources/sales/types/InvoiceTemplatesDeleteSalesResponse.js +3 -0
  234. package/dist/api/resources/sales/types/InvoiceTemplatesGetSalesResponse.d.ts +55 -0
  235. package/dist/api/resources/sales/types/InvoiceTemplatesGetSalesResponse.js +16 -0
  236. package/dist/api/resources/sales/types/InvoiceTemplatesListSalesResponse.d.ts +69 -0
  237. package/dist/api/resources/sales/types/InvoiceTemplatesListSalesResponse.js +22 -0
  238. package/dist/api/resources/sales/types/InvoiceTemplatesUpdateSalesResponse.d.ts +55 -0
  239. package/dist/api/resources/sales/types/InvoiceTemplatesUpdateSalesResponse.js +16 -0
  240. package/dist/api/resources/sales/types/InvoicesApplyAdvanceSalesResponse.d.ts +7 -0
  241. package/dist/api/resources/sales/types/InvoicesCreateSalesResponse.d.ts +7 -0
  242. package/dist/api/resources/sales/types/InvoicesGetSalesResponse.d.ts +7 -0
  243. package/dist/api/resources/sales/types/InvoicesIssueSalesResponse.d.ts +7 -0
  244. package/dist/api/resources/sales/types/InvoicesListSalesResponse.d.ts +5 -0
  245. package/dist/api/resources/sales/types/InvoicesLockSalesResponse.d.ts +7 -0
  246. package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.d.ts +11 -0
  247. package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.js +10 -0
  248. package/dist/api/resources/sales/types/InvoicesPeppolStatusSalesResponse.d.ts +15 -0
  249. package/dist/api/resources/sales/types/InvoicesPeppolStatusSalesResponse.js +13 -0
  250. package/dist/api/resources/sales/types/InvoicesUnlockSalesResponse.d.ts +7 -0
  251. package/dist/api/resources/sales/types/InvoicesUpdateSalesResponse.d.ts +7 -0
  252. package/dist/api/resources/sales/types/index.d.ts +6 -0
  253. package/dist/api/resources/sales/types/index.js +6 -0
  254. package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.d.ts +4 -0
  255. package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.js +4 -0
  256. package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.d.ts +4 -0
  257. package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.js +4 -0
  258. package/package.json +1 -1
@@ -0,0 +1,58 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as NordletApi from "../../../index.js";
5
+ export declare namespace PeppolClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class PeppolClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<PeppolClient.Options>;
12
+ constructor(options: PeppolClient.Options);
13
+ /**
14
+ * Look a receiver up on the Peppol network (SML and SMP) and say which Peppol BIS Billing 3.0 documents it accepts. Give `partnerId` to look up a partner by its Peppol ID, VAT code or registration code, or `participantId` as "<scheme>:<identifier>". Works without an access point.
15
+ *
16
+ * @param {NordletApi.ParticipantsLookupPeppolRequest} request
17
+ * @param {PeppolClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link NordletApi.BadRequestError}
20
+ * @throws {@link NordletApi.UnauthorizedError}
21
+ * @throws {@link NordletApi.PaymentRequiredError}
22
+ * @throws {@link NordletApi.ForbiddenError}
23
+ * @throws {@link NordletApi.NotFoundError}
24
+ * @throws {@link NordletApi.ConflictError}
25
+ * @throws {@link NordletApi.ContentTooLargeError}
26
+ * @throws {@link NordletApi.UnprocessableEntityError}
27
+ * @throws {@link NordletApi.TooManyRequestsError}
28
+ * @throws {@link NordletApi.InternalServerError}
29
+ *
30
+ * @example
31
+ * await client.peppol.participantsLookup()
32
+ */
33
+ participantsLookup(request?: NordletApi.ParticipantsLookupPeppolRequest, requestOptions?: PeppolClient.RequestOptions): core.HttpResponsePromise<NordletApi.ParticipantsLookupPeppolResponse>;
34
+ private __participantsLookup;
35
+ /**
36
+ * @param {NordletApi.WebhooksPeppolRequest} request
37
+ * @param {PeppolClient.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link NordletApi.BadRequestError}
40
+ * @throws {@link NordletApi.UnauthorizedError}
41
+ * @throws {@link NordletApi.PaymentRequiredError}
42
+ * @throws {@link NordletApi.ForbiddenError}
43
+ * @throws {@link NordletApi.NotFoundError}
44
+ * @throws {@link NordletApi.ConflictError}
45
+ * @throws {@link NordletApi.ContentTooLargeError}
46
+ * @throws {@link NordletApi.UnprocessableEntityError}
47
+ * @throws {@link NordletApi.TooManyRequestsError}
48
+ * @throws {@link NordletApi.InternalServerError}
49
+ *
50
+ * @example
51
+ * await client.peppol.webhooks({
52
+ * provider: "recommand",
53
+ * companyId: "companyId"
54
+ * })
55
+ */
56
+ webhooks(request: NordletApi.WebhooksPeppolRequest, requestOptions?: PeppolClient.RequestOptions): core.HttpResponsePromise<NordletApi.WebhooksPeppolResponse>;
57
+ private __webhooks;
58
+ }
@@ -0,0 +1,207 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.PeppolClient = void 0;
38
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
39
+ const headers_js_1 = require("../../../../core/headers.js");
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ const requestBody_js_1 = require("../../../../core/requestBody.js");
42
+ const environments = __importStar(require("../../../../environments.js"));
43
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
44
+ const errors = __importStar(require("../../../../errors/index.js"));
45
+ const NordletApi = __importStar(require("../../../index.js"));
46
+ class PeppolClient {
47
+ constructor(options) {
48
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
49
+ }
50
+ /**
51
+ * Look a receiver up on the Peppol network (SML and SMP) and say which Peppol BIS Billing 3.0 documents it accepts. Give `partnerId` to look up a partner by its Peppol ID, VAT code or registration code, or `participantId` as "<scheme>:<identifier>". Works without an access point.
52
+ *
53
+ * @param {NordletApi.ParticipantsLookupPeppolRequest} request
54
+ * @param {PeppolClient.RequestOptions} requestOptions - Request-specific configuration.
55
+ *
56
+ * @throws {@link NordletApi.BadRequestError}
57
+ * @throws {@link NordletApi.UnauthorizedError}
58
+ * @throws {@link NordletApi.PaymentRequiredError}
59
+ * @throws {@link NordletApi.ForbiddenError}
60
+ * @throws {@link NordletApi.NotFoundError}
61
+ * @throws {@link NordletApi.ConflictError}
62
+ * @throws {@link NordletApi.ContentTooLargeError}
63
+ * @throws {@link NordletApi.UnprocessableEntityError}
64
+ * @throws {@link NordletApi.TooManyRequestsError}
65
+ * @throws {@link NordletApi.InternalServerError}
66
+ *
67
+ * @example
68
+ * await client.peppol.participantsLookup()
69
+ */
70
+ participantsLookup(request = {}, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__participantsLookup(request, requestOptions));
72
+ }
73
+ async __participantsLookup(request = {}, requestOptions) {
74
+ const _authRequest = await this._options.authProvider.getAuthRequest();
75
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
76
+ const _response = await core.fetcher({
77
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
78
+ (await core.Supplier.get(this._options.environment)) ??
79
+ environments.NordletApiEnvironment.Production, "v1/peppol/participants/lookup"),
80
+ method: "POST",
81
+ headers: _headers,
82
+ contentType: "application/json",
83
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
84
+ requestType: "json",
85
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
86
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
87
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
88
+ abortSignal: requestOptions?.abortSignal,
89
+ fetchFn: this._options?.fetch,
90
+ logging: this._options.logging,
91
+ });
92
+ if (_response.ok) {
93
+ return {
94
+ data: _response.body,
95
+ rawResponse: _response.rawResponse,
96
+ };
97
+ }
98
+ if (_response.error.reason === "status-code") {
99
+ switch (_response.error.statusCode) {
100
+ case 400:
101
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
102
+ case 401:
103
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
104
+ case 402:
105
+ throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
106
+ case 403:
107
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
108
+ case 404:
109
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
110
+ case 409:
111
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
112
+ case 413:
113
+ throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
114
+ case 422:
115
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
116
+ case 429:
117
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
118
+ case 500:
119
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
120
+ default:
121
+ throw new errors.NordletApiError({
122
+ statusCode: _response.error.statusCode,
123
+ body: _response.error.body,
124
+ rawResponse: _response.rawResponse,
125
+ });
126
+ }
127
+ }
128
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/peppol/participants/lookup");
129
+ }
130
+ /**
131
+ * @param {NordletApi.WebhooksPeppolRequest} request
132
+ * @param {PeppolClient.RequestOptions} requestOptions - Request-specific configuration.
133
+ *
134
+ * @throws {@link NordletApi.BadRequestError}
135
+ * @throws {@link NordletApi.UnauthorizedError}
136
+ * @throws {@link NordletApi.PaymentRequiredError}
137
+ * @throws {@link NordletApi.ForbiddenError}
138
+ * @throws {@link NordletApi.NotFoundError}
139
+ * @throws {@link NordletApi.ConflictError}
140
+ * @throws {@link NordletApi.ContentTooLargeError}
141
+ * @throws {@link NordletApi.UnprocessableEntityError}
142
+ * @throws {@link NordletApi.TooManyRequestsError}
143
+ * @throws {@link NordletApi.InternalServerError}
144
+ *
145
+ * @example
146
+ * await client.peppol.webhooks({
147
+ * provider: "recommand",
148
+ * companyId: "companyId"
149
+ * })
150
+ */
151
+ webhooks(request, requestOptions) {
152
+ return core.HttpResponsePromise.fromPromise(this.__webhooks(request, requestOptions));
153
+ }
154
+ async __webhooks(request, requestOptions) {
155
+ const { provider, companyId } = request;
156
+ const _authRequest = await this._options.authProvider.getAuthRequest();
157
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
158
+ const _response = await core.fetcher({
159
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
160
+ (await core.Supplier.get(this._options.environment)) ??
161
+ environments.NordletApiEnvironment.Production, `v1/peppol/webhooks/${core.url.encodePathParam(provider)}/${core.url.encodePathParam(companyId)}`),
162
+ method: "POST",
163
+ headers: _headers,
164
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
165
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
166
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
167
+ abortSignal: requestOptions?.abortSignal,
168
+ fetchFn: this._options?.fetch,
169
+ logging: this._options.logging,
170
+ });
171
+ if (_response.ok) {
172
+ return { data: _response.body, rawResponse: _response.rawResponse };
173
+ }
174
+ if (_response.error.reason === "status-code") {
175
+ switch (_response.error.statusCode) {
176
+ case 400:
177
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
178
+ case 401:
179
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
180
+ case 402:
181
+ throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
182
+ case 403:
183
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
184
+ case 404:
185
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
186
+ case 409:
187
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
188
+ case 413:
189
+ throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
190
+ case 422:
191
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
192
+ case 429:
193
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
194
+ case 500:
195
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
196
+ default:
197
+ throw new errors.NordletApiError({
198
+ statusCode: _response.error.statusCode,
199
+ body: _response.error.body,
200
+ rawResponse: _response.rawResponse,
201
+ });
202
+ }
203
+ }
204
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/peppol/webhooks/{provider}/{companyId}");
205
+ }
206
+ }
207
+ exports.PeppolClient = PeppolClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface ParticipantsLookupPeppolRequest {
6
+ partnerId?: string;
7
+ participantId?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import type * as NordletApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * provider: "recommand",
6
+ * companyId: "companyId"
7
+ * }
8
+ */
9
+ export interface WebhooksPeppolRequest {
10
+ provider: NordletApi.WebhooksPeppolRequestProvider;
11
+ companyId: string;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export type { ParticipantsLookupPeppolRequest } from "./ParticipantsLookupPeppolRequest.js";
2
+ export type { WebhooksPeppolRequest } from "./WebhooksPeppolRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { PeppolClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.PeppolClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "PeppolClient", { enumerable: true, get: function () { return Client_js_1.PeppolClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,9 @@
1
+ export interface ParticipantsLookupPeppolResponse {
2
+ participantId: string;
3
+ registered: boolean;
4
+ smpUrl: string | null;
5
+ accessPointUrl: string | null;
6
+ acceptsInvoice: boolean;
7
+ acceptsCreditNote: boolean;
8
+ acceptsCii: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare const WebhooksPeppolRequestProvider: {
2
+ readonly Recommand: "recommand";
3
+ readonly Storecove: "storecove";
4
+ readonly EInvoiceBe: "e-invoice-be";
5
+ };
6
+ export type WebhooksPeppolRequestProvider = (typeof WebhooksPeppolRequestProvider)[keyof typeof WebhooksPeppolRequestProvider];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.WebhooksPeppolRequestProvider = void 0;
5
+ exports.WebhooksPeppolRequestProvider = {
6
+ Recommand: "recommand",
7
+ Storecove: "storecove",
8
+ EInvoiceBe: "e-invoice-be",
9
+ };
@@ -0,0 +1,3 @@
1
+ export interface WebhooksPeppolResponse {
2
+ handled: boolean;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from "./ParticipantsLookupPeppolResponse.js";
2
+ export * from "./WebhooksPeppolRequestProvider.js";
3
+ export * from "./WebhooksPeppolResponse.js";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ParticipantsLookupPeppolResponse.js"), exports);
18
+ __exportStar(require("./WebhooksPeppolRequestProvider.js"), exports);
19
+ __exportStar(require("./WebhooksPeppolResponse.js"), exports);
@@ -0,0 +1,130 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as NordletApi from "../../../index.js";
5
+ export declare namespace PlatformSellersClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class PlatformSellersClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<PlatformSellersClient.Options>;
12
+ constructor(options: PlatformSellersClient.Options);
13
+ /**
14
+ * Individuals and entities that sell goods, rent out property or transport, or perform personal services through the platform the company operates. The yearly DAC7 report is built from them.
15
+ *
16
+ * @param {NordletApi.ListPlatformSellersRequest} request
17
+ * @param {PlatformSellersClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link NordletApi.BadRequestError}
20
+ * @throws {@link NordletApi.UnauthorizedError}
21
+ * @throws {@link NordletApi.PaymentRequiredError}
22
+ * @throws {@link NordletApi.ForbiddenError}
23
+ * @throws {@link NordletApi.NotFoundError}
24
+ * @throws {@link NordletApi.ConflictError}
25
+ * @throws {@link NordletApi.ContentTooLargeError}
26
+ * @throws {@link NordletApi.UnprocessableEntityError}
27
+ * @throws {@link NordletApi.TooManyRequestsError}
28
+ * @throws {@link NordletApi.InternalServerError}
29
+ *
30
+ * @example
31
+ * await client.platformSellers.list()
32
+ */
33
+ list(request?: NordletApi.ListPlatformSellersRequest, requestOptions?: PlatformSellersClient.RequestOptions): core.HttpResponsePromise<NordletApi.ListPlatformSellersResponse>;
34
+ private __list;
35
+ /**
36
+ * @param {NordletApi.GetPlatformSellersRequest} request
37
+ * @param {PlatformSellersClient.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link NordletApi.BadRequestError}
40
+ * @throws {@link NordletApi.UnauthorizedError}
41
+ * @throws {@link NordletApi.PaymentRequiredError}
42
+ * @throws {@link NordletApi.ForbiddenError}
43
+ * @throws {@link NordletApi.NotFoundError}
44
+ * @throws {@link NordletApi.ConflictError}
45
+ * @throws {@link NordletApi.ContentTooLargeError}
46
+ * @throws {@link NordletApi.UnprocessableEntityError}
47
+ * @throws {@link NordletApi.TooManyRequestsError}
48
+ * @throws {@link NordletApi.InternalServerError}
49
+ *
50
+ * @example
51
+ * await client.platformSellers.get({
52
+ * id: "id"
53
+ * })
54
+ */
55
+ get(request: NordletApi.GetPlatformSellersRequest, requestOptions?: PlatformSellersClient.RequestOptions): core.HttpResponsePromise<NordletApi.GetPlatformSellersResponse>;
56
+ private __get;
57
+ /**
58
+ * @param {NordletApi.CreatePlatformSellersRequest} request
59
+ * @param {PlatformSellersClient.RequestOptions} requestOptions - Request-specific configuration.
60
+ *
61
+ * @throws {@link NordletApi.BadRequestError}
62
+ * @throws {@link NordletApi.UnauthorizedError}
63
+ * @throws {@link NordletApi.PaymentRequiredError}
64
+ * @throws {@link NordletApi.ForbiddenError}
65
+ * @throws {@link NordletApi.NotFoundError}
66
+ * @throws {@link NordletApi.ConflictError}
67
+ * @throws {@link NordletApi.ContentTooLargeError}
68
+ * @throws {@link NordletApi.UnprocessableEntityError}
69
+ * @throws {@link NordletApi.TooManyRequestsError}
70
+ * @throws {@link NordletApi.InternalServerError}
71
+ *
72
+ * @example
73
+ * await client.platformSellers.create({
74
+ * kind: "individual",
75
+ * address: {
76
+ * countryCode: "countryCode"
77
+ * }
78
+ * })
79
+ */
80
+ create(request: NordletApi.CreatePlatformSellersRequest, requestOptions?: PlatformSellersClient.RequestOptions): core.HttpResponsePromise<NordletApi.CreatePlatformSellersResponse>;
81
+ private __create;
82
+ /**
83
+ * @param {NordletApi.UpdatePlatformSellersRequest} request
84
+ * @param {PlatformSellersClient.RequestOptions} requestOptions - Request-specific configuration.
85
+ *
86
+ * @throws {@link NordletApi.BadRequestError}
87
+ * @throws {@link NordletApi.UnauthorizedError}
88
+ * @throws {@link NordletApi.PaymentRequiredError}
89
+ * @throws {@link NordletApi.ForbiddenError}
90
+ * @throws {@link NordletApi.NotFoundError}
91
+ * @throws {@link NordletApi.ConflictError}
92
+ * @throws {@link NordletApi.ContentTooLargeError}
93
+ * @throws {@link NordletApi.UnprocessableEntityError}
94
+ * @throws {@link NordletApi.TooManyRequestsError}
95
+ * @throws {@link NordletApi.InternalServerError}
96
+ *
97
+ * @example
98
+ * await client.platformSellers.update({
99
+ * id: "id",
100
+ * kind: "individual",
101
+ * address: {
102
+ * countryCode: "countryCode"
103
+ * }
104
+ * })
105
+ */
106
+ update(request: NordletApi.UpdatePlatformSellersRequest, requestOptions?: PlatformSellersClient.RequestOptions): core.HttpResponsePromise<NordletApi.UpdatePlatformSellersResponse>;
107
+ private __update;
108
+ /**
109
+ * @param {NordletApi.DeletePlatformSellersRequest} request
110
+ * @param {PlatformSellersClient.RequestOptions} requestOptions - Request-specific configuration.
111
+ *
112
+ * @throws {@link NordletApi.BadRequestError}
113
+ * @throws {@link NordletApi.UnauthorizedError}
114
+ * @throws {@link NordletApi.PaymentRequiredError}
115
+ * @throws {@link NordletApi.ForbiddenError}
116
+ * @throws {@link NordletApi.NotFoundError}
117
+ * @throws {@link NordletApi.ConflictError}
118
+ * @throws {@link NordletApi.ContentTooLargeError}
119
+ * @throws {@link NordletApi.UnprocessableEntityError}
120
+ * @throws {@link NordletApi.TooManyRequestsError}
121
+ * @throws {@link NordletApi.InternalServerError}
122
+ *
123
+ * @example
124
+ * await client.platformSellers.delete({
125
+ * id: "id"
126
+ * })
127
+ */
128
+ delete(request: NordletApi.DeletePlatformSellersRequest, requestOptions?: PlatformSellersClient.RequestOptions): core.HttpResponsePromise<NordletApi.DeletePlatformSellersResponse>;
129
+ private __delete;
130
+ }