nordlet 0.2.0 → 0.2.2

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 (556) hide show
  1. package/dist/Client.d.ts +15 -0
  2. package/dist/Client.js +60 -40
  3. package/dist/api/resources/account/client/requests/PostV1AccountCompaniesCreateRequest.d.ts +1 -0
  4. package/dist/api/resources/account/client/requests/PostV1AccountCompaniesUpdateRequest.d.ts +1 -0
  5. package/dist/api/resources/account/types/PostV1AccountCompaniesProfileResponse.d.ts +1 -0
  6. package/dist/api/resources/account/types/PostV1AccountCompaniesUpdateResponse.d.ts +1 -0
  7. package/dist/api/resources/account/types/PostV1AccountMeResponse.d.ts +15 -0
  8. package/dist/api/resources/account/types/PostV1AccountMeResponse.js +8 -0
  9. package/dist/api/resources/bank/client/Client.d.ts +279 -0
  10. package/dist/api/resources/bank/client/Client.js +1080 -45
  11. package/dist/api/resources/bank/client/requests/PostV1BankDirectDebitsExportRequest.d.ts +12 -0
  12. package/dist/api/resources/bank/client/requests/PostV1BankDirectDebitsExportRequest.js +3 -0
  13. package/dist/api/resources/bank/client/requests/PostV1BankFeedsAccountsLinkRequest.d.ts +18 -0
  14. package/dist/api/resources/bank/client/requests/PostV1BankFeedsAccountsLinkRequest.js +3 -0
  15. package/dist/api/resources/bank/client/requests/PostV1BankFeedsBanksListRequest.d.ts +7 -0
  16. package/dist/api/resources/bank/client/requests/PostV1BankFeedsBanksListRequest.js +3 -0
  17. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsCompleteRequest.d.ts +11 -0
  18. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsCompleteRequest.js +3 -0
  19. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsDeleteRequest.d.ts +9 -0
  20. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsDeleteRequest.js +3 -0
  21. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsGetRequest.d.ts +9 -0
  22. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsGetRequest.js +3 -0
  23. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsListRequest.d.ts +46 -0
  24. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsListRequest.js +31 -0
  25. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsStartRequest.d.ts +22 -0
  26. package/dist/api/resources/bank/client/requests/PostV1BankFeedsConnectionsStartRequest.js +11 -0
  27. package/dist/api/resources/bank/client/requests/PostV1BankFeedsSyncRequest.d.ts +12 -0
  28. package/dist/api/resources/bank/client/requests/PostV1BankFeedsSyncRequest.js +3 -0
  29. package/dist/api/resources/bank/client/requests/PostV1BankMandatesCancelRequest.d.ts +9 -0
  30. package/dist/api/resources/bank/client/requests/PostV1BankMandatesCancelRequest.js +3 -0
  31. package/dist/api/resources/bank/client/requests/PostV1BankMandatesCreateRequest.d.ts +31 -0
  32. package/dist/api/resources/bank/client/requests/PostV1BankMandatesCreateRequest.js +15 -0
  33. package/dist/api/resources/bank/client/requests/PostV1BankMandatesGetRequest.d.ts +9 -0
  34. package/dist/api/resources/bank/client/requests/PostV1BankMandatesGetRequest.js +3 -0
  35. package/dist/api/resources/bank/client/requests/PostV1BankMandatesListRequest.d.ts +46 -0
  36. package/dist/api/resources/bank/client/requests/PostV1BankMandatesListRequest.js +31 -0
  37. package/dist/api/resources/bank/client/requests/PostV1BankMandatesUpdateRequest.d.ts +12 -0
  38. package/dist/api/resources/bank/client/requests/PostV1BankMandatesUpdateRequest.js +3 -0
  39. package/dist/api/resources/bank/client/requests/index.d.ts +14 -0
  40. package/dist/api/resources/bank/client/requests/index.js +9 -1
  41. package/dist/api/resources/bank/types/PostV1BankDirectDebitsExportResponse.d.ts +7 -0
  42. package/dist/api/resources/bank/types/PostV1BankDirectDebitsExportResponse.js +3 -0
  43. package/dist/api/resources/bank/types/PostV1BankFeedsAccountsLinkResponse.d.ts +12 -0
  44. package/dist/api/resources/bank/types/PostV1BankFeedsAccountsLinkResponse.js +3 -0
  45. package/dist/api/resources/bank/types/PostV1BankFeedsBanksListResponse.d.ts +26 -0
  46. package/dist/api/resources/bank/types/PostV1BankFeedsBanksListResponse.js +20 -0
  47. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsCompleteResponse.d.ts +45 -0
  48. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsCompleteResponse.js +18 -0
  49. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsDeleteResponse.d.ts +3 -0
  50. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsDeleteResponse.js +3 -0
  51. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsGetResponse.d.ts +45 -0
  52. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsGetResponse.js +18 -0
  53. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsListResponse.d.ts +40 -0
  54. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsListResponse.js +24 -0
  55. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsStartResponse.d.ts +6 -0
  56. package/dist/api/resources/bank/types/PostV1BankFeedsConnectionsStartResponse.js +3 -0
  57. package/dist/api/resources/bank/types/PostV1BankFeedsSyncResponse.d.ts +16 -0
  58. package/dist/api/resources/bank/types/PostV1BankFeedsSyncResponse.js +3 -0
  59. package/dist/api/resources/bank/types/PostV1BankMandatesCancelResponse.d.ts +36 -0
  60. package/dist/api/resources/bank/types/PostV1BankMandatesCancelResponse.js +20 -0
  61. package/dist/api/resources/bank/types/PostV1BankMandatesCreateResponse.d.ts +36 -0
  62. package/dist/api/resources/bank/types/PostV1BankMandatesCreateResponse.js +20 -0
  63. package/dist/api/resources/bank/types/PostV1BankMandatesGetResponse.d.ts +36 -0
  64. package/dist/api/resources/bank/types/PostV1BankMandatesGetResponse.js +20 -0
  65. package/dist/api/resources/bank/types/PostV1BankMandatesListResponse.d.ts +47 -0
  66. package/dist/api/resources/bank/types/PostV1BankMandatesListResponse.js +26 -0
  67. package/dist/api/resources/bank/types/PostV1BankMandatesUpdateResponse.d.ts +36 -0
  68. package/dist/api/resources/bank/types/PostV1BankMandatesUpdateResponse.js +20 -0
  69. package/dist/api/resources/bank/types/index.d.ts +14 -0
  70. package/dist/api/resources/bank/types/index.js +14 -0
  71. package/dist/api/resources/billing/client/Client.d.ts +110 -0
  72. package/dist/api/resources/billing/client/Client.js +418 -0
  73. package/dist/api/resources/billing/client/index.d.ts +1 -0
  74. package/dist/api/resources/billing/client/index.js +17 -0
  75. package/dist/api/resources/billing/client/requests/PostV1BillingAccountGetRequest.d.ts +5 -0
  76. package/dist/api/resources/billing/client/requests/PostV1BillingAccountGetRequest.js +3 -0
  77. package/dist/api/resources/billing/client/requests/PostV1BillingAccountSetPlanRequest.d.ts +17 -0
  78. package/dist/api/resources/billing/client/requests/PostV1BillingAccountSetPlanRequest.js +12 -0
  79. package/dist/api/resources/billing/client/requests/PostV1BillingTopupCreateRequest.d.ts +18 -0
  80. package/dist/api/resources/billing/client/requests/PostV1BillingTopupCreateRequest.js +12 -0
  81. package/dist/api/resources/billing/client/requests/PostV1BillingTransactionsListRequest.d.ts +7 -0
  82. package/dist/api/resources/billing/client/requests/PostV1BillingTransactionsListRequest.js +3 -0
  83. package/dist/api/resources/billing/client/requests/PostV1BillingUsageListRequest.d.ts +11 -0
  84. package/dist/api/resources/billing/client/requests/PostV1BillingUsageListRequest.js +3 -0
  85. package/dist/api/resources/billing/client/requests/index.d.ts +5 -0
  86. package/dist/api/resources/billing/client/requests/index.js +7 -0
  87. package/dist/api/resources/billing/exports.d.ts +2 -0
  88. package/dist/api/resources/billing/exports.js +21 -0
  89. package/dist/api/resources/billing/index.d.ts +2 -0
  90. package/dist/api/resources/billing/index.js +18 -0
  91. package/dist/api/resources/billing/types/PostV1BillingAccountGetResponse.d.ts +50 -0
  92. package/dist/api/resources/billing/types/PostV1BillingAccountGetResponse.js +17 -0
  93. package/dist/api/resources/billing/types/PostV1BillingAccountSetPlanResponse.d.ts +50 -0
  94. package/dist/api/resources/billing/types/PostV1BillingAccountSetPlanResponse.js +17 -0
  95. package/dist/api/resources/billing/types/PostV1BillingTopupCreateResponse.d.ts +4 -0
  96. package/dist/api/resources/billing/types/PostV1BillingTopupCreateResponse.js +3 -0
  97. package/dist/api/resources/billing/types/PostV1BillingTransactionsListResponse.d.ts +28 -0
  98. package/dist/api/resources/billing/types/PostV1BillingTransactionsListResponse.js +20 -0
  99. package/dist/api/resources/billing/types/PostV1BillingUsageListResponse.d.ts +23 -0
  100. package/dist/api/resources/billing/types/PostV1BillingUsageListResponse.js +19 -0
  101. package/dist/api/resources/billing/types/index.d.ts +5 -0
  102. package/dist/api/resources/billing/types/index.js +21 -0
  103. package/dist/api/resources/capture/client/Client.d.ts +136 -0
  104. package/dist/api/resources/capture/client/Client.js +498 -0
  105. package/dist/api/resources/capture/client/index.d.ts +1 -0
  106. package/dist/api/resources/capture/client/index.js +17 -0
  107. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsConfirmRequest.d.ts +47 -0
  108. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsConfirmRequest.js +3 -0
  109. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsDeleteRequest.d.ts +9 -0
  110. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsDeleteRequest.js +3 -0
  111. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsExtractRequest.d.ts +9 -0
  112. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsExtractRequest.js +3 -0
  113. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsGetRequest.d.ts +9 -0
  114. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsGetRequest.js +3 -0
  115. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsListRequest.d.ts +46 -0
  116. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsListRequest.js +31 -0
  117. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsUploadRequest.d.ts +14 -0
  118. package/dist/api/resources/capture/client/requests/PostV1CaptureDocumentsUploadRequest.js +3 -0
  119. package/dist/api/resources/capture/client/requests/index.d.ts +6 -0
  120. package/dist/api/resources/capture/client/requests/index.js +5 -0
  121. package/dist/api/resources/capture/exports.d.ts +2 -0
  122. package/dist/api/resources/capture/exports.js +21 -0
  123. package/dist/api/resources/capture/index.d.ts +2 -0
  124. package/dist/api/resources/capture/index.js +18 -0
  125. package/dist/api/resources/capture/types/PostV1CaptureDocumentsConfirmResponse.d.ts +128 -0
  126. package/dist/api/resources/capture/types/PostV1CaptureDocumentsConfirmResponse.js +32 -0
  127. package/dist/api/resources/capture/types/PostV1CaptureDocumentsDeleteResponse.d.ts +3 -0
  128. package/dist/api/resources/capture/types/PostV1CaptureDocumentsDeleteResponse.js +3 -0
  129. package/dist/api/resources/capture/types/PostV1CaptureDocumentsExtractResponse.d.ts +61 -0
  130. package/dist/api/resources/capture/types/PostV1CaptureDocumentsExtractResponse.js +13 -0
  131. package/dist/api/resources/capture/types/PostV1CaptureDocumentsGetResponse.d.ts +61 -0
  132. package/dist/api/resources/capture/types/PostV1CaptureDocumentsGetResponse.js +13 -0
  133. package/dist/api/resources/capture/types/PostV1CaptureDocumentsListResponse.d.ts +71 -0
  134. package/dist/api/resources/capture/types/PostV1CaptureDocumentsListResponse.js +19 -0
  135. package/dist/api/resources/capture/types/PostV1CaptureDocumentsUploadResponse.d.ts +61 -0
  136. package/dist/api/resources/capture/types/PostV1CaptureDocumentsUploadResponse.js +13 -0
  137. package/dist/api/resources/capture/types/index.d.ts +6 -0
  138. package/dist/api/resources/capture/types/index.js +22 -0
  139. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsCreateRequest.d.ts +7 -0
  140. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsCreateRequest.js +5 -0
  141. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsUpdateRequest.d.ts +7 -0
  142. package/dist/api/resources/catalog/client/requests/PostV1CatalogItemsUpdateRequest.js +5 -0
  143. package/dist/api/resources/catalog/types/PostV1CatalogItemsCreateResponse.d.ts +7 -0
  144. package/dist/api/resources/catalog/types/PostV1CatalogItemsCreateResponse.js +5 -0
  145. package/dist/api/resources/catalog/types/PostV1CatalogItemsGetResponse.d.ts +7 -0
  146. package/dist/api/resources/catalog/types/PostV1CatalogItemsGetResponse.js +5 -0
  147. package/dist/api/resources/catalog/types/PostV1CatalogItemsListResponse.d.ts +7 -0
  148. package/dist/api/resources/catalog/types/PostV1CatalogItemsListResponse.js +5 -0
  149. package/dist/api/resources/catalog/types/PostV1CatalogItemsUpdateResponse.d.ts +7 -0
  150. package/dist/api/resources/catalog/types/PostV1CatalogItemsUpdateResponse.js +5 -0
  151. package/dist/api/resources/consolidation/client/Client.d.ts +111 -0
  152. package/dist/api/resources/consolidation/client/Client.js +381 -0
  153. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyCandidatesRequest.d.ts +9 -0
  154. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyCandidatesRequest.js +3 -0
  155. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyLinksListRequest.d.ts +9 -0
  156. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyLinksListRequest.js +3 -0
  157. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyLinksRemoveRequest.d.ts +11 -0
  158. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyLinksRemoveRequest.js +3 -0
  159. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyLinksSetRequest.d.ts +13 -0
  160. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyLinksSetRequest.js +3 -0
  161. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyReportRequest.d.ts +13 -0
  162. package/dist/api/resources/consolidation/client/requests/PostV1ConsolidationIntercompanyReportRequest.js +3 -0
  163. package/dist/api/resources/consolidation/client/requests/index.d.ts +5 -0
  164. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyCandidatesResponse.d.ts +26 -0
  165. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyCandidatesResponse.js +17 -0
  166. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyLinksListResponse.d.ts +18 -0
  167. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyLinksListResponse.js +3 -0
  168. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyLinksRemoveResponse.d.ts +3 -0
  169. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyLinksRemoveResponse.js +3 -0
  170. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyLinksSetResponse.d.ts +7 -0
  171. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyLinksSetResponse.js +3 -0
  172. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyReportResponse.d.ts +104 -0
  173. package/dist/api/resources/consolidation/types/PostV1ConsolidationIntercompanyReportResponse.js +55 -0
  174. package/dist/api/resources/consolidation/types/PostV1ConsolidationReportResponse.d.ts +63 -0
  175. package/dist/api/resources/consolidation/types/index.d.ts +5 -0
  176. package/dist/api/resources/consolidation/types/index.js +5 -0
  177. package/dist/api/resources/declarations/client/Client.d.ts +25 -0
  178. package/dist/api/resources/declarations/client/Client.js +79 -0
  179. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsPlJpkV7MGenerateRequest.d.ts +16 -0
  180. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsPlJpkV7MGenerateRequest.js +3 -0
  181. package/dist/api/resources/declarations/client/requests/index.d.ts +1 -0
  182. package/dist/api/resources/declarations/types/PostV1DeclarationsPlJpkV7MGenerateResponse.d.ts +24 -0
  183. package/dist/api/resources/declarations/types/PostV1DeclarationsPlJpkV7MGenerateResponse.js +3 -0
  184. package/dist/api/resources/declarations/types/index.d.ts +1 -0
  185. package/dist/api/resources/declarations/types/index.js +1 -0
  186. package/dist/api/resources/fleet/client/Client.d.ts +175 -0
  187. package/dist/api/resources/fleet/client/Client.js +645 -0
  188. package/dist/api/resources/fleet/client/index.d.ts +1 -0
  189. package/dist/api/resources/fleet/client/index.js +17 -0
  190. package/dist/api/resources/fleet/client/requests/PostV1FleetAssignmentsCreateRequest.d.ts +17 -0
  191. package/dist/api/resources/fleet/client/requests/PostV1FleetAssignmentsCreateRequest.js +3 -0
  192. package/dist/api/resources/fleet/client/requests/PostV1FleetAssignmentsEndRequest.d.ts +11 -0
  193. package/dist/api/resources/fleet/client/requests/PostV1FleetAssignmentsEndRequest.js +3 -0
  194. package/dist/api/resources/fleet/client/requests/PostV1FleetAssignmentsListRequest.d.ts +46 -0
  195. package/dist/api/resources/fleet/client/requests/PostV1FleetAssignmentsListRequest.js +31 -0
  196. package/dist/api/resources/fleet/client/requests/PostV1FleetNaturaPreviewRequest.d.ts +11 -0
  197. package/dist/api/resources/fleet/client/requests/PostV1FleetNaturaPreviewRequest.js +3 -0
  198. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesCreateRequest.d.ts +33 -0
  199. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesCreateRequest.js +15 -0
  200. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesGetRequest.d.ts +9 -0
  201. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesGetRequest.js +3 -0
  202. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesListRequest.d.ts +46 -0
  203. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesListRequest.js +31 -0
  204. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesUpdateRequest.d.ts +39 -0
  205. package/dist/api/resources/fleet/client/requests/PostV1FleetVehiclesUpdateRequest.js +20 -0
  206. package/dist/api/resources/fleet/client/requests/index.d.ts +8 -0
  207. package/dist/api/resources/fleet/client/requests/index.js +11 -0
  208. package/dist/api/resources/fleet/exports.d.ts +2 -0
  209. package/dist/api/resources/fleet/exports.js +21 -0
  210. package/dist/api/resources/fleet/index.d.ts +2 -0
  211. package/dist/api/resources/fleet/index.js +18 -0
  212. package/dist/api/resources/fleet/types/PostV1FleetAssignmentsCreateResponse.d.ts +13 -0
  213. package/dist/api/resources/fleet/types/PostV1FleetAssignmentsCreateResponse.js +3 -0
  214. package/dist/api/resources/fleet/types/PostV1FleetAssignmentsEndResponse.d.ts +13 -0
  215. package/dist/api/resources/fleet/types/PostV1FleetAssignmentsEndResponse.js +3 -0
  216. package/dist/api/resources/fleet/types/PostV1FleetAssignmentsListResponse.d.ts +24 -0
  217. package/dist/api/resources/fleet/types/PostV1FleetAssignmentsListResponse.js +3 -0
  218. package/dist/api/resources/fleet/types/PostV1FleetNaturaPreviewResponse.d.ts +21 -0
  219. package/dist/api/resources/fleet/types/PostV1FleetNaturaPreviewResponse.js +3 -0
  220. package/dist/api/resources/fleet/types/PostV1FleetVehiclesCreateResponse.d.ts +34 -0
  221. package/dist/api/resources/fleet/types/PostV1FleetVehiclesCreateResponse.js +12 -0
  222. package/dist/api/resources/fleet/types/PostV1FleetVehiclesGetResponse.d.ts +34 -0
  223. package/dist/api/resources/fleet/types/PostV1FleetVehiclesGetResponse.js +12 -0
  224. package/dist/api/resources/fleet/types/PostV1FleetVehiclesListResponse.d.ts +45 -0
  225. package/dist/api/resources/fleet/types/PostV1FleetVehiclesListResponse.js +18 -0
  226. package/dist/api/resources/fleet/types/PostV1FleetVehiclesUpdateResponse.d.ts +34 -0
  227. package/dist/api/resources/fleet/types/PostV1FleetVehiclesUpdateResponse.js +12 -0
  228. package/dist/api/resources/fleet/types/index.d.ts +8 -0
  229. package/dist/api/resources/fleet/types/index.js +24 -0
  230. package/dist/api/resources/index.d.ts +15 -0
  231. package/dist/api/resources/index.js +16 -1
  232. package/dist/api/resources/inventory/client/Client.d.ts +214 -0
  233. package/dist/api/resources/inventory/client/Client.js +808 -0
  234. package/dist/api/resources/inventory/client/requests/PostV1InventoryLandedCostsCreateRequest.d.ts +23 -0
  235. package/dist/api/resources/inventory/client/requests/PostV1InventoryLandedCostsCreateRequest.js +11 -0
  236. package/dist/api/resources/inventory/client/requests/PostV1InventoryLandedCostsGetRequest.d.ts +9 -0
  237. package/dist/api/resources/inventory/client/requests/PostV1InventoryLandedCostsGetRequest.js +3 -0
  238. package/dist/api/resources/inventory/client/requests/PostV1InventoryLandedCostsListRequest.d.ts +46 -0
  239. package/dist/api/resources/inventory/client/requests/PostV1InventoryLandedCostsListRequest.js +31 -0
  240. package/dist/api/resources/inventory/client/requests/PostV1InventoryLotsGetRequest.d.ts +9 -0
  241. package/dist/api/resources/inventory/client/requests/PostV1InventoryLotsGetRequest.js +3 -0
  242. package/dist/api/resources/inventory/client/requests/PostV1InventoryLotsListRequest.d.ts +46 -0
  243. package/dist/api/resources/inventory/client/requests/PostV1InventoryLotsListRequest.js +31 -0
  244. package/dist/api/resources/inventory/client/requests/PostV1InventoryLotsUpdateRequest.d.ts +11 -0
  245. package/dist/api/resources/inventory/client/requests/PostV1InventoryLotsUpdateRequest.js +3 -0
  246. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesCheckRequest.d.ts +5 -0
  247. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesCheckRequest.js +3 -0
  248. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesCreateRequest.d.ts +15 -0
  249. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesCreateRequest.js +3 -0
  250. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesDeleteRequest.d.ts +9 -0
  251. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesDeleteRequest.js +3 -0
  252. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesListRequest.d.ts +46 -0
  253. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesListRequest.js +31 -0
  254. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesUpdateRequest.d.ts +13 -0
  255. package/dist/api/resources/inventory/client/requests/PostV1InventoryReorderRulesUpdateRequest.js +3 -0
  256. package/dist/api/resources/inventory/client/requests/PostV1InventoryStockReceiveRequest.d.ts +2 -0
  257. package/dist/api/resources/inventory/client/requests/PostV1InventoryStockTakeRequest.d.ts +2 -0
  258. package/dist/api/resources/inventory/client/requests/PostV1InventoryStockTransferRequest.d.ts +1 -0
  259. package/dist/api/resources/inventory/client/requests/PostV1InventoryStockWriteOffRequest.d.ts +1 -0
  260. package/dist/api/resources/inventory/client/requests/index.d.ts +11 -0
  261. package/dist/api/resources/inventory/client/requests/index.js +9 -1
  262. package/dist/api/resources/inventory/types/PostV1InventoryLandedCostsCreateResponse.d.ts +26 -0
  263. package/dist/api/resources/inventory/types/PostV1InventoryLandedCostsCreateResponse.js +11 -0
  264. package/dist/api/resources/inventory/types/PostV1InventoryLandedCostsGetResponse.d.ts +26 -0
  265. package/dist/api/resources/inventory/types/PostV1InventoryLandedCostsGetResponse.js +11 -0
  266. package/dist/api/resources/inventory/types/PostV1InventoryLandedCostsListResponse.d.ts +28 -0
  267. package/dist/api/resources/inventory/types/PostV1InventoryLandedCostsListResponse.js +17 -0
  268. package/dist/api/resources/inventory/types/PostV1InventoryLotsGetResponse.d.ts +38 -0
  269. package/dist/api/resources/inventory/types/PostV1InventoryLotsGetResponse.js +17 -0
  270. package/dist/api/resources/inventory/types/PostV1InventoryLotsListResponse.d.ts +20 -0
  271. package/dist/api/resources/inventory/types/PostV1InventoryLotsListResponse.js +3 -0
  272. package/dist/api/resources/inventory/types/PostV1InventoryLotsUpdateResponse.d.ts +9 -0
  273. package/dist/api/resources/inventory/types/PostV1InventoryLotsUpdateResponse.js +3 -0
  274. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesCheckResponse.d.ts +18 -0
  275. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesCheckResponse.js +3 -0
  276. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesCreateResponse.d.ts +11 -0
  277. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesCreateResponse.js +3 -0
  278. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesDeleteResponse.d.ts +3 -0
  279. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesDeleteResponse.js +3 -0
  280. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesListResponse.d.ts +22 -0
  281. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesListResponse.js +3 -0
  282. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesUpdateResponse.d.ts +11 -0
  283. package/dist/api/resources/inventory/types/PostV1InventoryReorderRulesUpdateResponse.js +3 -0
  284. package/dist/api/resources/inventory/types/PostV1InventoryStockMovementsListResponse.d.ts +1 -0
  285. package/dist/api/resources/inventory/types/index.d.ts +11 -0
  286. package/dist/api/resources/inventory/types/index.js +11 -0
  287. package/dist/api/resources/ledger/client/requests/PostV1LedgerJournalTransactionsCreateRequest.d.ts +1 -0
  288. package/dist/api/resources/ledger/client/requests/PostV1LedgerPostingRulesUpdateRequest.d.ts +2 -0
  289. package/dist/api/resources/ledger/client/requests/PostV1LedgerPostingRulesUpdateRequest.js +2 -0
  290. package/dist/api/resources/ledger/types/PostV1LedgerJournalTransactionsGetResponse.d.ts +1 -0
  291. package/dist/api/resources/migration/client/Client.d.ts +57 -0
  292. package/dist/api/resources/migration/client/Client.js +203 -0
  293. package/dist/api/resources/migration/client/index.d.ts +1 -0
  294. package/dist/api/resources/migration/client/index.js +17 -0
  295. package/dist/api/resources/migration/client/requests/PostV1MigrationBooksImportRequest.d.ts +196 -0
  296. package/dist/api/resources/migration/client/requests/PostV1MigrationBooksImportRequest.js +40 -0
  297. package/dist/api/resources/migration/client/requests/PostV1MigrationBooksValidateRequest.d.ts +196 -0
  298. package/dist/api/resources/migration/client/requests/PostV1MigrationBooksValidateRequest.js +40 -0
  299. package/dist/api/resources/migration/client/requests/index.d.ts +2 -0
  300. package/dist/api/resources/migration/client/requests/index.js +7 -0
  301. package/dist/api/resources/migration/exports.d.ts +2 -0
  302. package/dist/api/resources/migration/exports.js +21 -0
  303. package/dist/api/resources/migration/index.d.ts +2 -0
  304. package/dist/api/resources/migration/index.js +18 -0
  305. package/dist/api/resources/migration/types/PostV1MigrationBooksImportResponse.d.ts +71 -0
  306. package/dist/api/resources/migration/types/PostV1MigrationBooksImportResponse.js +3 -0
  307. package/dist/api/resources/migration/types/PostV1MigrationBooksValidateResponse.d.ts +71 -0
  308. package/dist/api/resources/migration/types/PostV1MigrationBooksValidateResponse.js +3 -0
  309. package/dist/api/resources/migration/types/index.d.ts +2 -0
  310. package/dist/api/resources/migration/types/index.js +18 -0
  311. package/dist/api/resources/partners/client/Client.d.ts +39 -0
  312. package/dist/api/resources/partners/client/Client.js +147 -0
  313. package/dist/api/resources/partners/client/requests/PostV1PartnersVatReviewsListRequest.d.ts +46 -0
  314. package/dist/api/resources/partners/client/requests/PostV1PartnersVatReviewsListRequest.js +31 -0
  315. package/dist/api/resources/partners/client/requests/PostV1PartnersVatReviewsResolveRequest.d.ts +20 -0
  316. package/dist/api/resources/partners/client/requests/PostV1PartnersVatReviewsResolveRequest.js +12 -0
  317. package/dist/api/resources/partners/client/requests/index.d.ts +2 -0
  318. package/dist/api/resources/partners/client/requests/index.js +5 -1
  319. package/dist/api/resources/partners/types/PostV1PartnersVatReviewsListResponse.d.ts +52 -0
  320. package/dist/api/resources/partners/types/PostV1PartnersVatReviewsListResponse.js +29 -0
  321. package/dist/api/resources/partners/types/PostV1PartnersVatReviewsResolveResponse.d.ts +41 -0
  322. package/dist/api/resources/partners/types/PostV1PartnersVatReviewsResolveResponse.js +23 -0
  323. package/dist/api/resources/partners/types/index.d.ts +2 -0
  324. package/dist/api/resources/partners/types/index.js +2 -0
  325. package/dist/api/resources/payroll/client/requests/PostV1PayrollRunsCreateRequest.d.ts +1 -0
  326. package/dist/api/resources/payroll/types/PostV1PayrollRunsCreateResponse.d.ts +1 -0
  327. package/dist/api/resources/payroll/types/PostV1PayrollRunsGetResponse.d.ts +1 -0
  328. package/dist/api/resources/production/client/Client.d.ts +285 -0
  329. package/dist/api/resources/production/client/Client.js +1077 -36
  330. package/dist/api/resources/production/client/requests/PostV1ProductionBomsCreateRequest.d.ts +2 -0
  331. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceCancelRequest.d.ts +9 -0
  332. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceCancelRequest.js +3 -0
  333. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceCompleteRequest.d.ts +14 -0
  334. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceCompleteRequest.js +3 -0
  335. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceCreateRequest.d.ts +22 -0
  336. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceCreateRequest.js +11 -0
  337. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceListRequest.d.ts +46 -0
  338. package/dist/api/resources/production/client/requests/PostV1ProductionMaintenanceListRequest.js +31 -0
  339. package/dist/api/resources/production/client/requests/PostV1ProductionOrdersCompleteRequest.d.ts +1 -0
  340. package/dist/api/resources/production/client/requests/PostV1ProductionOrdersCreateRequest.d.ts +1 -0
  341. package/dist/api/resources/production/client/requests/PostV1ProductionOrdersRecordOperationRequest.d.ts +11 -0
  342. package/dist/api/resources/production/client/requests/PostV1ProductionOrdersRecordOperationRequest.js +3 -0
  343. package/dist/api/resources/production/client/requests/PostV1ProductionQualityChecksAddRequest.d.ts +12 -0
  344. package/dist/api/resources/production/client/requests/PostV1ProductionQualityChecksAddRequest.js +3 -0
  345. package/dist/api/resources/production/client/requests/PostV1ProductionQualityChecksListRequest.d.ts +46 -0
  346. package/dist/api/resources/production/client/requests/PostV1ProductionQualityChecksListRequest.js +31 -0
  347. package/dist/api/resources/production/client/requests/PostV1ProductionQualityChecksRecordRequest.d.ts +19 -0
  348. package/dist/api/resources/production/client/requests/PostV1ProductionQualityChecksRecordRequest.js +11 -0
  349. package/dist/api/resources/production/client/requests/PostV1ProductionRoutingsCreateRequest.d.ts +32 -0
  350. package/dist/api/resources/production/client/requests/PostV1ProductionRoutingsCreateRequest.js +3 -0
  351. package/dist/api/resources/production/client/requests/PostV1ProductionRoutingsGetRequest.d.ts +9 -0
  352. package/dist/api/resources/production/client/requests/PostV1ProductionRoutingsGetRequest.js +3 -0
  353. package/dist/api/resources/production/client/requests/PostV1ProductionRoutingsListRequest.d.ts +46 -0
  354. package/dist/api/resources/production/client/requests/PostV1ProductionRoutingsListRequest.js +31 -0
  355. package/dist/api/resources/production/client/requests/PostV1ProductionWorkCentersCreateRequest.d.ts +15 -0
  356. package/dist/api/resources/production/client/requests/PostV1ProductionWorkCentersCreateRequest.js +3 -0
  357. package/dist/api/resources/production/client/requests/PostV1ProductionWorkCentersListRequest.d.ts +46 -0
  358. package/dist/api/resources/production/client/requests/PostV1ProductionWorkCentersListRequest.js +31 -0
  359. package/dist/api/resources/production/client/requests/PostV1ProductionWorkCentersUpdateRequest.d.ts +16 -0
  360. package/dist/api/resources/production/client/requests/PostV1ProductionWorkCentersUpdateRequest.js +3 -0
  361. package/dist/api/resources/production/client/requests/index.d.ts +14 -0
  362. package/dist/api/resources/production/client/requests/index.js +13 -1
  363. package/dist/api/resources/production/types/PostV1ProductionBomsCreateResponse.d.ts +2 -0
  364. package/dist/api/resources/production/types/PostV1ProductionBomsGetResponse.d.ts +2 -0
  365. package/dist/api/resources/production/types/PostV1ProductionBomsListResponse.d.ts +1 -0
  366. package/dist/api/resources/production/types/PostV1ProductionMaintenanceCancelResponse.d.ts +26 -0
  367. package/dist/api/resources/production/types/PostV1ProductionMaintenanceCancelResponse.js +16 -0
  368. package/dist/api/resources/production/types/PostV1ProductionMaintenanceCompleteResponse.d.ts +26 -0
  369. package/dist/api/resources/production/types/PostV1ProductionMaintenanceCompleteResponse.js +16 -0
  370. package/dist/api/resources/production/types/PostV1ProductionMaintenanceCreateResponse.d.ts +26 -0
  371. package/dist/api/resources/production/types/PostV1ProductionMaintenanceCreateResponse.js +16 -0
  372. package/dist/api/resources/production/types/PostV1ProductionMaintenanceListResponse.d.ts +37 -0
  373. package/dist/api/resources/production/types/PostV1ProductionMaintenanceListResponse.js +22 -0
  374. package/dist/api/resources/production/types/PostV1ProductionOrdersCompleteResponse.d.ts +5 -0
  375. package/dist/api/resources/production/types/PostV1ProductionOrdersCreateResponse.d.ts +43 -0
  376. package/dist/api/resources/production/types/PostV1ProductionOrdersCreateResponse.js +11 -0
  377. package/dist/api/resources/production/types/PostV1ProductionOrdersGetResponse.d.ts +43 -0
  378. package/dist/api/resources/production/types/PostV1ProductionOrdersGetResponse.js +11 -0
  379. package/dist/api/resources/production/types/PostV1ProductionOrdersListResponse.d.ts +5 -0
  380. package/dist/api/resources/production/types/PostV1ProductionOrdersRecordOperationResponse.d.ts +11 -0
  381. package/dist/api/resources/production/types/PostV1ProductionOrdersRecordOperationResponse.js +3 -0
  382. package/dist/api/resources/production/types/PostV1ProductionQualityChecksAddResponse.d.ts +19 -0
  383. package/dist/api/resources/production/types/PostV1ProductionQualityChecksAddResponse.js +12 -0
  384. package/dist/api/resources/production/types/PostV1ProductionQualityChecksListResponse.d.ts +30 -0
  385. package/dist/api/resources/production/types/PostV1ProductionQualityChecksListResponse.js +18 -0
  386. package/dist/api/resources/production/types/PostV1ProductionQualityChecksRecordResponse.d.ts +19 -0
  387. package/dist/api/resources/production/types/PostV1ProductionQualityChecksRecordResponse.js +12 -0
  388. package/dist/api/resources/production/types/PostV1ProductionRoutingsCreateResponse.d.ts +24 -0
  389. package/dist/api/resources/production/types/PostV1ProductionRoutingsCreateResponse.js +3 -0
  390. package/dist/api/resources/production/types/PostV1ProductionRoutingsGetResponse.d.ts +24 -0
  391. package/dist/api/resources/production/types/PostV1ProductionRoutingsGetResponse.js +3 -0
  392. package/dist/api/resources/production/types/PostV1ProductionRoutingsListResponse.d.ts +19 -0
  393. package/dist/api/resources/production/types/PostV1ProductionRoutingsListResponse.js +3 -0
  394. package/dist/api/resources/production/types/PostV1ProductionWorkCentersCreateResponse.d.ts +12 -0
  395. package/dist/api/resources/production/types/PostV1ProductionWorkCentersCreateResponse.js +3 -0
  396. package/dist/api/resources/production/types/PostV1ProductionWorkCentersListResponse.d.ts +23 -0
  397. package/dist/api/resources/production/types/PostV1ProductionWorkCentersListResponse.js +3 -0
  398. package/dist/api/resources/production/types/PostV1ProductionWorkCentersUpdateResponse.d.ts +12 -0
  399. package/dist/api/resources/production/types/PostV1ProductionWorkCentersUpdateResponse.js +3 -0
  400. package/dist/api/resources/production/types/index.d.ts +14 -0
  401. package/dist/api/resources/production/types/index.js +14 -0
  402. package/dist/api/resources/projects/client/Client.d.ts +210 -0
  403. package/dist/api/resources/projects/client/Client.js +785 -0
  404. package/dist/api/resources/projects/client/index.d.ts +1 -0
  405. package/dist/api/resources/projects/client/index.js +17 -0
  406. package/dist/api/resources/projects/client/requests/PostV1ProjectsCreateRequest.d.ts +13 -0
  407. package/dist/api/resources/projects/client/requests/PostV1ProjectsCreateRequest.js +3 -0
  408. package/dist/api/resources/projects/client/requests/PostV1ProjectsGetRequest.d.ts +9 -0
  409. package/dist/api/resources/projects/client/requests/PostV1ProjectsGetRequest.js +3 -0
  410. package/dist/api/resources/projects/client/requests/PostV1ProjectsListRequest.d.ts +46 -0
  411. package/dist/api/resources/projects/client/requests/PostV1ProjectsListRequest.js +31 -0
  412. package/dist/api/resources/projects/client/requests/PostV1ProjectsReportRequest.d.ts +9 -0
  413. package/dist/api/resources/projects/client/requests/PostV1ProjectsReportRequest.js +3 -0
  414. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesBillRequest.d.ts +27 -0
  415. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesBillRequest.js +11 -0
  416. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesCreateRequest.d.ts +17 -0
  417. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesCreateRequest.js +3 -0
  418. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesDeleteRequest.d.ts +9 -0
  419. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesDeleteRequest.js +3 -0
  420. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesListRequest.d.ts +46 -0
  421. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesListRequest.js +31 -0
  422. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesUpdateRequest.d.ts +14 -0
  423. package/dist/api/resources/projects/client/requests/PostV1ProjectsTimeEntriesUpdateRequest.js +3 -0
  424. package/dist/api/resources/projects/client/requests/PostV1ProjectsUpdateRequest.d.ts +21 -0
  425. package/dist/api/resources/projects/client/requests/PostV1ProjectsUpdateRequest.js +12 -0
  426. package/dist/api/resources/projects/client/requests/index.d.ts +10 -0
  427. package/dist/api/resources/projects/client/requests/index.js +11 -0
  428. package/dist/api/resources/projects/exports.d.ts +2 -0
  429. package/dist/api/resources/projects/exports.js +21 -0
  430. package/dist/api/resources/projects/index.d.ts +2 -0
  431. package/dist/api/resources/projects/index.js +18 -0
  432. package/dist/api/resources/projects/types/PostV1ProjectsCreateResponse.d.ts +18 -0
  433. package/dist/api/resources/projects/types/PostV1ProjectsCreateResponse.js +12 -0
  434. package/dist/api/resources/projects/types/PostV1ProjectsGetResponse.d.ts +18 -0
  435. package/dist/api/resources/projects/types/PostV1ProjectsGetResponse.js +12 -0
  436. package/dist/api/resources/projects/types/PostV1ProjectsListResponse.d.ts +29 -0
  437. package/dist/api/resources/projects/types/PostV1ProjectsListResponse.js +18 -0
  438. package/dist/api/resources/projects/types/PostV1ProjectsReportResponse.d.ts +30 -0
  439. package/dist/api/resources/projects/types/PostV1ProjectsReportResponse.js +18 -0
  440. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesBillResponse.d.ts +8 -0
  441. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesBillResponse.js +3 -0
  442. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesCreateResponse.d.ts +13 -0
  443. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesCreateResponse.js +3 -0
  444. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesDeleteResponse.d.ts +3 -0
  445. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesDeleteResponse.js +3 -0
  446. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesListResponse.d.ts +24 -0
  447. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesListResponse.js +3 -0
  448. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesUpdateResponse.d.ts +13 -0
  449. package/dist/api/resources/projects/types/PostV1ProjectsTimeEntriesUpdateResponse.js +3 -0
  450. package/dist/api/resources/projects/types/PostV1ProjectsUpdateResponse.d.ts +18 -0
  451. package/dist/api/resources/projects/types/PostV1ProjectsUpdateResponse.js +12 -0
  452. package/dist/api/resources/projects/types/index.d.ts +10 -0
  453. package/dist/api/resources/projects/types/index.js +26 -0
  454. package/dist/api/resources/purchases/client/Client.d.ts +283 -0
  455. package/dist/api/resources/purchases/client/Client.js +1039 -0
  456. package/dist/api/resources/purchases/client/requests/PostV1PurchasesInvoicesCreateRequest.d.ts +2 -0
  457. package/dist/api/resources/purchases/client/requests/PostV1PurchasesInvoicesMatchRequest.d.ts +10 -0
  458. package/dist/api/resources/purchases/client/requests/PostV1PurchasesInvoicesMatchRequest.js +3 -0
  459. package/dist/api/resources/purchases/client/requests/PostV1PurchasesInvoicesUpdateRequest.d.ts +2 -0
  460. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersApproveRequest.d.ts +10 -0
  461. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersApproveRequest.js +3 -0
  462. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersCancelRequest.d.ts +10 -0
  463. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersCancelRequest.js +3 -0
  464. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersCloseRequest.d.ts +10 -0
  465. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersCloseRequest.js +3 -0
  466. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersCreateRequest.d.ts +39 -0
  467. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersCreateRequest.js +3 -0
  468. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersDeleteRequest.d.ts +9 -0
  469. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersDeleteRequest.js +3 -0
  470. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersGetRequest.d.ts +9 -0
  471. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersGetRequest.js +3 -0
  472. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersListRequest.d.ts +46 -0
  473. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersListRequest.js +31 -0
  474. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersRejectRequest.d.ts +10 -0
  475. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersRejectRequest.js +3 -0
  476. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersSubmitRequest.d.ts +10 -0
  477. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersSubmitRequest.js +3 -0
  478. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersUpdateRequest.d.ts +37 -0
  479. package/dist/api/resources/purchases/client/requests/PostV1PurchasesOrdersUpdateRequest.js +3 -0
  480. package/dist/api/resources/purchases/client/requests/PostV1PurchasesReceiptsCreateRequest.d.ts +29 -0
  481. package/dist/api/resources/purchases/client/requests/PostV1PurchasesReceiptsCreateRequest.js +3 -0
  482. package/dist/api/resources/purchases/client/requests/PostV1PurchasesReceiptsGetRequest.d.ts +9 -0
  483. package/dist/api/resources/purchases/client/requests/PostV1PurchasesReceiptsGetRequest.js +3 -0
  484. package/dist/api/resources/purchases/client/requests/PostV1PurchasesReceiptsListRequest.d.ts +46 -0
  485. package/dist/api/resources/purchases/client/requests/PostV1PurchasesReceiptsListRequest.js +31 -0
  486. package/dist/api/resources/purchases/client/requests/index.d.ts +14 -0
  487. package/dist/api/resources/purchases/client/requests/index.js +5 -1
  488. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesCreateResponse.d.ts +2 -0
  489. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesGetResponse.d.ts +2 -0
  490. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesListResponse.d.ts +1 -0
  491. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesMatchResponse.d.ts +38 -0
  492. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesMatchResponse.js +25 -0
  493. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesRegisterResponse.d.ts +2 -0
  494. package/dist/api/resources/purchases/types/PostV1PurchasesInvoicesUpdateResponse.d.ts +2 -0
  495. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersApproveResponse.d.ts +54 -0
  496. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersApproveResponse.js +16 -0
  497. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersCancelResponse.d.ts +54 -0
  498. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersCancelResponse.js +16 -0
  499. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersCloseResponse.d.ts +54 -0
  500. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersCloseResponse.js +16 -0
  501. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersCreateResponse.d.ts +54 -0
  502. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersCreateResponse.js +16 -0
  503. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersDeleteResponse.d.ts +3 -0
  504. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersDeleteResponse.js +3 -0
  505. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersGetResponse.d.ts +54 -0
  506. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersGetResponse.js +16 -0
  507. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersListResponse.d.ts +41 -0
  508. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersListResponse.js +22 -0
  509. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersRejectResponse.d.ts +54 -0
  510. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersRejectResponse.js +16 -0
  511. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersSubmitResponse.d.ts +54 -0
  512. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersSubmitResponse.js +16 -0
  513. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersUpdateResponse.d.ts +54 -0
  514. package/dist/api/resources/purchases/types/PostV1PurchasesOrdersUpdateResponse.js +16 -0
  515. package/dist/api/resources/purchases/types/PostV1PurchasesReceiptsCreateResponse.d.ts +23 -0
  516. package/dist/api/resources/purchases/types/PostV1PurchasesReceiptsCreateResponse.js +3 -0
  517. package/dist/api/resources/purchases/types/PostV1PurchasesReceiptsGetResponse.d.ts +23 -0
  518. package/dist/api/resources/purchases/types/PostV1PurchasesReceiptsGetResponse.js +3 -0
  519. package/dist/api/resources/purchases/types/PostV1PurchasesReceiptsListResponse.d.ts +20 -0
  520. package/dist/api/resources/purchases/types/PostV1PurchasesReceiptsListResponse.js +3 -0
  521. package/dist/api/resources/purchases/types/index.d.ts +14 -0
  522. package/dist/api/resources/purchases/types/index.js +14 -0
  523. package/dist/api/resources/reference/client/Client.d.ts +40 -0
  524. package/dist/api/resources/reference/client/Client.js +148 -0
  525. package/dist/api/resources/reference/client/requests/PostV1ReferenceEuVatRatesImportsListRequest.d.ts +7 -0
  526. package/dist/api/resources/reference/client/requests/PostV1ReferenceEuVatRatesImportsListRequest.js +3 -0
  527. package/dist/api/resources/reference/client/requests/PostV1ReferenceEuVatRatesSyncRequest.d.ts +5 -0
  528. package/dist/api/resources/reference/client/requests/PostV1ReferenceEuVatRatesSyncRequest.js +3 -0
  529. package/dist/api/resources/reference/client/requests/index.d.ts +2 -0
  530. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesImportsListResponse.d.ts +34 -0
  531. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesImportsListResponse.js +23 -0
  532. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesSyncResponse.d.ts +16 -0
  533. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesSyncResponse.js +12 -0
  534. package/dist/api/resources/reference/types/index.d.ts +2 -0
  535. package/dist/api/resources/reference/types/index.js +2 -0
  536. package/dist/api/resources/sales/client/Client.d.ts +44 -0
  537. package/dist/api/resources/sales/client/Client.js +152 -0
  538. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesCreateRequest.d.ts +1 -0
  539. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesEinvoiceSendRequest.d.ts +9 -0
  540. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesEinvoiceSendRequest.js +3 -0
  541. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesEinvoiceXmlRequest.d.ts +9 -0
  542. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesEinvoiceXmlRequest.js +3 -0
  543. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesUpdateRequest.d.ts +1 -0
  544. package/dist/api/resources/sales/client/requests/index.d.ts +2 -0
  545. package/dist/api/resources/sales/types/PostV1SalesInvoicesApplyAdvanceResponse.d.ts +52 -0
  546. package/dist/api/resources/sales/types/PostV1SalesInvoicesCreateResponse.d.ts +52 -0
  547. package/dist/api/resources/sales/types/PostV1SalesInvoicesEinvoiceSendResponse.d.ts +8 -0
  548. package/dist/api/resources/sales/types/PostV1SalesInvoicesEinvoiceSendResponse.js +3 -0
  549. package/dist/api/resources/sales/types/PostV1SalesInvoicesEinvoiceXmlResponse.d.ts +8 -0
  550. package/dist/api/resources/sales/types/PostV1SalesInvoicesEinvoiceXmlResponse.js +3 -0
  551. package/dist/api/resources/sales/types/PostV1SalesInvoicesGetResponse.d.ts +52 -0
  552. package/dist/api/resources/sales/types/PostV1SalesInvoicesIssueResponse.d.ts +52 -0
  553. package/dist/api/resources/sales/types/PostV1SalesInvoicesUpdateResponse.d.ts +52 -0
  554. package/dist/api/resources/sales/types/index.d.ts +2 -0
  555. package/dist/api/resources/sales/types/index.js +2 -0
  556. package/package.json +1 -1
@@ -48,7 +48,7 @@ class ProductionClient {
48
48
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
49
49
  }
50
50
  /**
51
- * @param {NordletApi.PostV1ProductionBomsCreateRequest} request
51
+ * @param {NordletApi.PostV1ProductionWorkCentersCreateRequest} request
52
52
  * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
53
53
  *
54
54
  * @throws {@link NordletApi.BadRequestError}
@@ -61,26 +61,247 @@ class ProductionClient {
61
61
  * @throws {@link NordletApi.InternalServerError}
62
62
  *
63
63
  * @example
64
- * await client.production.postV1ProductionBomsCreate({
64
+ * await client.production.postV1ProductionWorkCentersCreate({
65
+ * code: "code",
66
+ * name: "name"
67
+ * })
68
+ */
69
+ postV1ProductionWorkCentersCreate(request, requestOptions) {
70
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionWorkCentersCreate(request, requestOptions));
71
+ }
72
+ async __postV1ProductionWorkCentersCreate(request, requestOptions) {
73
+ const _authRequest = await this._options.authProvider.getAuthRequest();
74
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
75
+ const _response = await core.fetcher({
76
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
77
+ (await core.Supplier.get(this._options.environment)) ??
78
+ environments.NordletApiEnvironment.Production, "v1/production/work-centers/create"),
79
+ method: "POST",
80
+ headers: _headers,
81
+ contentType: "application/json",
82
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
83
+ requestType: "json",
84
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
85
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
86
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
87
+ abortSignal: requestOptions?.abortSignal,
88
+ fetchFn: this._options?.fetch,
89
+ logging: this._options.logging,
90
+ });
91
+ if (_response.ok) {
92
+ return {
93
+ data: _response.body,
94
+ rawResponse: _response.rawResponse,
95
+ };
96
+ }
97
+ if (_response.error.reason === "status-code") {
98
+ switch (_response.error.statusCode) {
99
+ case 400:
100
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
101
+ case 401:
102
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
103
+ case 403:
104
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
105
+ case 404:
106
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
107
+ case 409:
108
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
109
+ case 422:
110
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
111
+ case 429:
112
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
113
+ case 500:
114
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
115
+ default:
116
+ throw new errors.NordletApiError({
117
+ statusCode: _response.error.statusCode,
118
+ body: _response.error.body,
119
+ rawResponse: _response.rawResponse,
120
+ });
121
+ }
122
+ }
123
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/work-centers/create");
124
+ }
125
+ /**
126
+ * @param {NordletApi.PostV1ProductionWorkCentersUpdateRequest} request
127
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
128
+ *
129
+ * @throws {@link NordletApi.BadRequestError}
130
+ * @throws {@link NordletApi.UnauthorizedError}
131
+ * @throws {@link NordletApi.ForbiddenError}
132
+ * @throws {@link NordletApi.NotFoundError}
133
+ * @throws {@link NordletApi.ConflictError}
134
+ * @throws {@link NordletApi.UnprocessableEntityError}
135
+ * @throws {@link NordletApi.TooManyRequestsError}
136
+ * @throws {@link NordletApi.InternalServerError}
137
+ *
138
+ * @example
139
+ * await client.production.postV1ProductionWorkCentersUpdate({
140
+ * id: "id"
141
+ * })
142
+ */
143
+ postV1ProductionWorkCentersUpdate(request, requestOptions) {
144
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionWorkCentersUpdate(request, requestOptions));
145
+ }
146
+ async __postV1ProductionWorkCentersUpdate(request, requestOptions) {
147
+ const _authRequest = await this._options.authProvider.getAuthRequest();
148
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
149
+ const _response = await core.fetcher({
150
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
151
+ (await core.Supplier.get(this._options.environment)) ??
152
+ environments.NordletApiEnvironment.Production, "v1/production/work-centers/update"),
153
+ method: "POST",
154
+ headers: _headers,
155
+ contentType: "application/json",
156
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
157
+ requestType: "json",
158
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
159
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
160
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
161
+ abortSignal: requestOptions?.abortSignal,
162
+ fetchFn: this._options?.fetch,
163
+ logging: this._options.logging,
164
+ });
165
+ if (_response.ok) {
166
+ return {
167
+ data: _response.body,
168
+ rawResponse: _response.rawResponse,
169
+ };
170
+ }
171
+ if (_response.error.reason === "status-code") {
172
+ switch (_response.error.statusCode) {
173
+ case 400:
174
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
175
+ case 401:
176
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
177
+ case 403:
178
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
179
+ case 404:
180
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
181
+ case 409:
182
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
183
+ case 422:
184
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
185
+ case 429:
186
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
187
+ case 500:
188
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
189
+ default:
190
+ throw new errors.NordletApiError({
191
+ statusCode: _response.error.statusCode,
192
+ body: _response.error.body,
193
+ rawResponse: _response.rawResponse,
194
+ });
195
+ }
196
+ }
197
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/work-centers/update");
198
+ }
199
+ /**
200
+ * @param {NordletApi.PostV1ProductionWorkCentersListRequest} request
201
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
202
+ *
203
+ * @throws {@link NordletApi.BadRequestError}
204
+ * @throws {@link NordletApi.UnauthorizedError}
205
+ * @throws {@link NordletApi.ForbiddenError}
206
+ * @throws {@link NordletApi.NotFoundError}
207
+ * @throws {@link NordletApi.ConflictError}
208
+ * @throws {@link NordletApi.UnprocessableEntityError}
209
+ * @throws {@link NordletApi.TooManyRequestsError}
210
+ * @throws {@link NordletApi.InternalServerError}
211
+ *
212
+ * @example
213
+ * await client.production.postV1ProductionWorkCentersList()
214
+ */
215
+ postV1ProductionWorkCentersList(request = {}, requestOptions) {
216
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionWorkCentersList(request, requestOptions));
217
+ }
218
+ async __postV1ProductionWorkCentersList(request = {}, requestOptions) {
219
+ const _authRequest = await this._options.authProvider.getAuthRequest();
220
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
221
+ const _response = await core.fetcher({
222
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
223
+ (await core.Supplier.get(this._options.environment)) ??
224
+ environments.NordletApiEnvironment.Production, "v1/production/work-centers/list"),
225
+ method: "POST",
226
+ headers: _headers,
227
+ contentType: "application/json",
228
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
229
+ requestType: "json",
230
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
231
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
232
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
233
+ abortSignal: requestOptions?.abortSignal,
234
+ fetchFn: this._options?.fetch,
235
+ logging: this._options.logging,
236
+ });
237
+ if (_response.ok) {
238
+ return {
239
+ data: _response.body,
240
+ rawResponse: _response.rawResponse,
241
+ };
242
+ }
243
+ if (_response.error.reason === "status-code") {
244
+ switch (_response.error.statusCode) {
245
+ case 400:
246
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
247
+ case 401:
248
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
249
+ case 403:
250
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
251
+ case 404:
252
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
253
+ case 409:
254
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
255
+ case 422:
256
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
257
+ case 429:
258
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
259
+ case 500:
260
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
261
+ default:
262
+ throw new errors.NordletApiError({
263
+ statusCode: _response.error.statusCode,
264
+ body: _response.error.body,
265
+ rawResponse: _response.rawResponse,
266
+ });
267
+ }
268
+ }
269
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/work-centers/list");
270
+ }
271
+ /**
272
+ * @param {NordletApi.PostV1ProductionRoutingsCreateRequest} request
273
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
274
+ *
275
+ * @throws {@link NordletApi.BadRequestError}
276
+ * @throws {@link NordletApi.UnauthorizedError}
277
+ * @throws {@link NordletApi.ForbiddenError}
278
+ * @throws {@link NordletApi.NotFoundError}
279
+ * @throws {@link NordletApi.ConflictError}
280
+ * @throws {@link NordletApi.UnprocessableEntityError}
281
+ * @throws {@link NordletApi.TooManyRequestsError}
282
+ * @throws {@link NordletApi.InternalServerError}
283
+ *
284
+ * @example
285
+ * await client.production.postV1ProductionRoutingsCreate({
65
286
  * code: "code",
66
287
  * name: "name",
67
- * finishedItemId: "finishedItemId",
68
- * lines: [{
69
- * componentItemId: "componentItemId",
70
- * quantity: "quantity"
288
+ * operations: [{
289
+ * sequence: 1000000,
290
+ * name: "name",
291
+ * workCenterId: "workCenterId"
71
292
  * }]
72
293
  * })
73
294
  */
74
- postV1ProductionBomsCreate(request, requestOptions) {
75
- return core.HttpResponsePromise.fromPromise(this.__postV1ProductionBomsCreate(request, requestOptions));
295
+ postV1ProductionRoutingsCreate(request, requestOptions) {
296
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionRoutingsCreate(request, requestOptions));
76
297
  }
77
- async __postV1ProductionBomsCreate(request, requestOptions) {
298
+ async __postV1ProductionRoutingsCreate(request, requestOptions) {
78
299
  const _authRequest = await this._options.authProvider.getAuthRequest();
79
300
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
80
301
  const _response = await core.fetcher({
81
302
  url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
82
303
  (await core.Supplier.get(this._options.environment)) ??
83
- environments.NordletApiEnvironment.Production, "v1/production/boms/create"),
304
+ environments.NordletApiEnvironment.Production, "v1/production/routings/create"),
84
305
  method: "POST",
85
306
  headers: _headers,
86
307
  contentType: "application/json",
@@ -125,10 +346,10 @@ class ProductionClient {
125
346
  });
126
347
  }
127
348
  }
128
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/boms/create");
349
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/routings/create");
129
350
  }
130
351
  /**
131
- * @param {NordletApi.PostV1ProductionBomsGetRequest} request
352
+ * @param {NordletApi.PostV1ProductionRoutingsGetRequest} request
132
353
  * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
133
354
  *
134
355
  * @throws {@link NordletApi.BadRequestError}
@@ -141,20 +362,20 @@ class ProductionClient {
141
362
  * @throws {@link NordletApi.InternalServerError}
142
363
  *
143
364
  * @example
144
- * await client.production.postV1ProductionBomsGet({
365
+ * await client.production.postV1ProductionRoutingsGet({
145
366
  * id: "id"
146
367
  * })
147
368
  */
148
- postV1ProductionBomsGet(request, requestOptions) {
149
- return core.HttpResponsePromise.fromPromise(this.__postV1ProductionBomsGet(request, requestOptions));
369
+ postV1ProductionRoutingsGet(request, requestOptions) {
370
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionRoutingsGet(request, requestOptions));
150
371
  }
151
- async __postV1ProductionBomsGet(request, requestOptions) {
372
+ async __postV1ProductionRoutingsGet(request, requestOptions) {
152
373
  const _authRequest = await this._options.authProvider.getAuthRequest();
153
374
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
154
375
  const _response = await core.fetcher({
155
376
  url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
156
377
  (await core.Supplier.get(this._options.environment)) ??
157
- environments.NordletApiEnvironment.Production, "v1/production/boms/get"),
378
+ environments.NordletApiEnvironment.Production, "v1/production/routings/get"),
158
379
  method: "POST",
159
380
  headers: _headers,
160
381
  contentType: "application/json",
@@ -199,10 +420,10 @@ class ProductionClient {
199
420
  });
200
421
  }
201
422
  }
202
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/boms/get");
423
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/routings/get");
203
424
  }
204
425
  /**
205
- * @param {NordletApi.PostV1ProductionBomsListRequest} request
426
+ * @param {NordletApi.PostV1ProductionRoutingsListRequest} request
206
427
  * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
207
428
  *
208
429
  * @throws {@link NordletApi.BadRequestError}
@@ -215,18 +436,18 @@ class ProductionClient {
215
436
  * @throws {@link NordletApi.InternalServerError}
216
437
  *
217
438
  * @example
218
- * await client.production.postV1ProductionBomsList()
439
+ * await client.production.postV1ProductionRoutingsList()
219
440
  */
220
- postV1ProductionBomsList(request = {}, requestOptions) {
221
- return core.HttpResponsePromise.fromPromise(this.__postV1ProductionBomsList(request, requestOptions));
441
+ postV1ProductionRoutingsList(request = {}, requestOptions) {
442
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionRoutingsList(request, requestOptions));
222
443
  }
223
- async __postV1ProductionBomsList(request = {}, requestOptions) {
444
+ async __postV1ProductionRoutingsList(request = {}, requestOptions) {
224
445
  const _authRequest = await this._options.authProvider.getAuthRequest();
225
446
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
226
447
  const _response = await core.fetcher({
227
448
  url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
228
449
  (await core.Supplier.get(this._options.environment)) ??
229
- environments.NordletApiEnvironment.Production, "v1/production/boms/list"),
450
+ environments.NordletApiEnvironment.Production, "v1/production/routings/list"),
230
451
  method: "POST",
231
452
  headers: _headers,
232
453
  contentType: "application/json",
@@ -271,10 +492,10 @@ class ProductionClient {
271
492
  });
272
493
  }
273
494
  }
274
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/boms/list");
495
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/routings/list");
275
496
  }
276
497
  /**
277
- * @param {NordletApi.PostV1ProductionOrdersCreateRequest} request
498
+ * @param {NordletApi.PostV1ProductionMaintenanceCreateRequest} request
278
499
  * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
279
500
  *
280
501
  * @throws {@link NordletApi.BadRequestError}
@@ -287,23 +508,22 @@ class ProductionClient {
287
508
  * @throws {@link NordletApi.InternalServerError}
288
509
  *
289
510
  * @example
290
- * await client.production.postV1ProductionOrdersCreate({
291
- * bomId: "bomId",
292
- * warehouseId: "warehouseId",
293
- * quantity: "quantity",
294
- * date: "date"
511
+ * await client.production.postV1ProductionMaintenanceCreate({
512
+ * workCenterId: "workCenterId",
513
+ * type: "preventive",
514
+ * plannedDate: "plannedDate"
295
515
  * })
296
516
  */
297
- postV1ProductionOrdersCreate(request, requestOptions) {
298
- return core.HttpResponsePromise.fromPromise(this.__postV1ProductionOrdersCreate(request, requestOptions));
517
+ postV1ProductionMaintenanceCreate(request, requestOptions) {
518
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionMaintenanceCreate(request, requestOptions));
299
519
  }
300
- async __postV1ProductionOrdersCreate(request, requestOptions) {
520
+ async __postV1ProductionMaintenanceCreate(request, requestOptions) {
301
521
  const _authRequest = await this._options.authProvider.getAuthRequest();
302
522
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
303
523
  const _response = await core.fetcher({
304
524
  url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
305
525
  (await core.Supplier.get(this._options.environment)) ??
306
- environments.NordletApiEnvironment.Production, "v1/production/orders/create"),
526
+ environments.NordletApiEnvironment.Production, "v1/production/maintenance/create"),
307
527
  method: "POST",
308
528
  headers: _headers,
309
529
  contentType: "application/json",
@@ -348,7 +568,828 @@ class ProductionClient {
348
568
  });
349
569
  }
350
570
  }
351
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/orders/create");
571
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/maintenance/create");
572
+ }
573
+ /**
574
+ * @param {NordletApi.PostV1ProductionMaintenanceCompleteRequest} request
575
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
576
+ *
577
+ * @throws {@link NordletApi.BadRequestError}
578
+ * @throws {@link NordletApi.UnauthorizedError}
579
+ * @throws {@link NordletApi.ForbiddenError}
580
+ * @throws {@link NordletApi.NotFoundError}
581
+ * @throws {@link NordletApi.ConflictError}
582
+ * @throws {@link NordletApi.UnprocessableEntityError}
583
+ * @throws {@link NordletApi.TooManyRequestsError}
584
+ * @throws {@link NordletApi.InternalServerError}
585
+ *
586
+ * @example
587
+ * await client.production.postV1ProductionMaintenanceComplete({
588
+ * id: "id",
589
+ * completedDate: "completedDate"
590
+ * })
591
+ */
592
+ postV1ProductionMaintenanceComplete(request, requestOptions) {
593
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionMaintenanceComplete(request, requestOptions));
594
+ }
595
+ async __postV1ProductionMaintenanceComplete(request, requestOptions) {
596
+ const _authRequest = await this._options.authProvider.getAuthRequest();
597
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
598
+ const _response = await core.fetcher({
599
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
600
+ (await core.Supplier.get(this._options.environment)) ??
601
+ environments.NordletApiEnvironment.Production, "v1/production/maintenance/complete"),
602
+ method: "POST",
603
+ headers: _headers,
604
+ contentType: "application/json",
605
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
606
+ requestType: "json",
607
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
608
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
609
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
610
+ abortSignal: requestOptions?.abortSignal,
611
+ fetchFn: this._options?.fetch,
612
+ logging: this._options.logging,
613
+ });
614
+ if (_response.ok) {
615
+ return {
616
+ data: _response.body,
617
+ rawResponse: _response.rawResponse,
618
+ };
619
+ }
620
+ if (_response.error.reason === "status-code") {
621
+ switch (_response.error.statusCode) {
622
+ case 400:
623
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
624
+ case 401:
625
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
626
+ case 403:
627
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
628
+ case 404:
629
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
630
+ case 409:
631
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
632
+ case 422:
633
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
634
+ case 429:
635
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
636
+ case 500:
637
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
638
+ default:
639
+ throw new errors.NordletApiError({
640
+ statusCode: _response.error.statusCode,
641
+ body: _response.error.body,
642
+ rawResponse: _response.rawResponse,
643
+ });
644
+ }
645
+ }
646
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/maintenance/complete");
647
+ }
648
+ /**
649
+ * @param {NordletApi.PostV1ProductionMaintenanceCancelRequest} request
650
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
651
+ *
652
+ * @throws {@link NordletApi.BadRequestError}
653
+ * @throws {@link NordletApi.UnauthorizedError}
654
+ * @throws {@link NordletApi.ForbiddenError}
655
+ * @throws {@link NordletApi.NotFoundError}
656
+ * @throws {@link NordletApi.ConflictError}
657
+ * @throws {@link NordletApi.UnprocessableEntityError}
658
+ * @throws {@link NordletApi.TooManyRequestsError}
659
+ * @throws {@link NordletApi.InternalServerError}
660
+ *
661
+ * @example
662
+ * await client.production.postV1ProductionMaintenanceCancel({
663
+ * id: "id"
664
+ * })
665
+ */
666
+ postV1ProductionMaintenanceCancel(request, requestOptions) {
667
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionMaintenanceCancel(request, requestOptions));
668
+ }
669
+ async __postV1ProductionMaintenanceCancel(request, requestOptions) {
670
+ const _authRequest = await this._options.authProvider.getAuthRequest();
671
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
672
+ const _response = await core.fetcher({
673
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
674
+ (await core.Supplier.get(this._options.environment)) ??
675
+ environments.NordletApiEnvironment.Production, "v1/production/maintenance/cancel"),
676
+ method: "POST",
677
+ headers: _headers,
678
+ contentType: "application/json",
679
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
680
+ requestType: "json",
681
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
682
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
683
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
684
+ abortSignal: requestOptions?.abortSignal,
685
+ fetchFn: this._options?.fetch,
686
+ logging: this._options.logging,
687
+ });
688
+ if (_response.ok) {
689
+ return {
690
+ data: _response.body,
691
+ rawResponse: _response.rawResponse,
692
+ };
693
+ }
694
+ if (_response.error.reason === "status-code") {
695
+ switch (_response.error.statusCode) {
696
+ case 400:
697
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
698
+ case 401:
699
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
700
+ case 403:
701
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
702
+ case 404:
703
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
704
+ case 409:
705
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
706
+ case 422:
707
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
708
+ case 429:
709
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
710
+ case 500:
711
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
712
+ default:
713
+ throw new errors.NordletApiError({
714
+ statusCode: _response.error.statusCode,
715
+ body: _response.error.body,
716
+ rawResponse: _response.rawResponse,
717
+ });
718
+ }
719
+ }
720
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/maintenance/cancel");
721
+ }
722
+ /**
723
+ * @param {NordletApi.PostV1ProductionMaintenanceListRequest} request
724
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
725
+ *
726
+ * @throws {@link NordletApi.BadRequestError}
727
+ * @throws {@link NordletApi.UnauthorizedError}
728
+ * @throws {@link NordletApi.ForbiddenError}
729
+ * @throws {@link NordletApi.NotFoundError}
730
+ * @throws {@link NordletApi.ConflictError}
731
+ * @throws {@link NordletApi.UnprocessableEntityError}
732
+ * @throws {@link NordletApi.TooManyRequestsError}
733
+ * @throws {@link NordletApi.InternalServerError}
734
+ *
735
+ * @example
736
+ * await client.production.postV1ProductionMaintenanceList()
737
+ */
738
+ postV1ProductionMaintenanceList(request = {}, requestOptions) {
739
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionMaintenanceList(request, requestOptions));
740
+ }
741
+ async __postV1ProductionMaintenanceList(request = {}, requestOptions) {
742
+ const _authRequest = await this._options.authProvider.getAuthRequest();
743
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
744
+ const _response = await core.fetcher({
745
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
746
+ (await core.Supplier.get(this._options.environment)) ??
747
+ environments.NordletApiEnvironment.Production, "v1/production/maintenance/list"),
748
+ method: "POST",
749
+ headers: _headers,
750
+ contentType: "application/json",
751
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
752
+ requestType: "json",
753
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
754
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
755
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
756
+ abortSignal: requestOptions?.abortSignal,
757
+ fetchFn: this._options?.fetch,
758
+ logging: this._options.logging,
759
+ });
760
+ if (_response.ok) {
761
+ return {
762
+ data: _response.body,
763
+ rawResponse: _response.rawResponse,
764
+ };
765
+ }
766
+ if (_response.error.reason === "status-code") {
767
+ switch (_response.error.statusCode) {
768
+ case 400:
769
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
770
+ case 401:
771
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
772
+ case 403:
773
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
774
+ case 404:
775
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
776
+ case 409:
777
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
778
+ case 422:
779
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
780
+ case 429:
781
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
782
+ case 500:
783
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
784
+ default:
785
+ throw new errors.NordletApiError({
786
+ statusCode: _response.error.statusCode,
787
+ body: _response.error.body,
788
+ rawResponse: _response.rawResponse,
789
+ });
790
+ }
791
+ }
792
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/maintenance/list");
793
+ }
794
+ /**
795
+ * @param {NordletApi.PostV1ProductionBomsCreateRequest} request
796
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
797
+ *
798
+ * @throws {@link NordletApi.BadRequestError}
799
+ * @throws {@link NordletApi.UnauthorizedError}
800
+ * @throws {@link NordletApi.ForbiddenError}
801
+ * @throws {@link NordletApi.NotFoundError}
802
+ * @throws {@link NordletApi.ConflictError}
803
+ * @throws {@link NordletApi.UnprocessableEntityError}
804
+ * @throws {@link NordletApi.TooManyRequestsError}
805
+ * @throws {@link NordletApi.InternalServerError}
806
+ *
807
+ * @example
808
+ * await client.production.postV1ProductionBomsCreate({
809
+ * code: "code",
810
+ * name: "name",
811
+ * finishedItemId: "finishedItemId",
812
+ * lines: [{
813
+ * componentItemId: "componentItemId",
814
+ * quantity: "quantity"
815
+ * }]
816
+ * })
817
+ */
818
+ postV1ProductionBomsCreate(request, requestOptions) {
819
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionBomsCreate(request, requestOptions));
820
+ }
821
+ async __postV1ProductionBomsCreate(request, requestOptions) {
822
+ const _authRequest = await this._options.authProvider.getAuthRequest();
823
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
824
+ const _response = await core.fetcher({
825
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
826
+ (await core.Supplier.get(this._options.environment)) ??
827
+ environments.NordletApiEnvironment.Production, "v1/production/boms/create"),
828
+ method: "POST",
829
+ headers: _headers,
830
+ contentType: "application/json",
831
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
832
+ requestType: "json",
833
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
834
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
835
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
836
+ abortSignal: requestOptions?.abortSignal,
837
+ fetchFn: this._options?.fetch,
838
+ logging: this._options.logging,
839
+ });
840
+ if (_response.ok) {
841
+ return {
842
+ data: _response.body,
843
+ rawResponse: _response.rawResponse,
844
+ };
845
+ }
846
+ if (_response.error.reason === "status-code") {
847
+ switch (_response.error.statusCode) {
848
+ case 400:
849
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
850
+ case 401:
851
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
852
+ case 403:
853
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
854
+ case 404:
855
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
856
+ case 409:
857
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
858
+ case 422:
859
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
860
+ case 429:
861
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
862
+ case 500:
863
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
864
+ default:
865
+ throw new errors.NordletApiError({
866
+ statusCode: _response.error.statusCode,
867
+ body: _response.error.body,
868
+ rawResponse: _response.rawResponse,
869
+ });
870
+ }
871
+ }
872
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/boms/create");
873
+ }
874
+ /**
875
+ * @param {NordletApi.PostV1ProductionBomsGetRequest} request
876
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
877
+ *
878
+ * @throws {@link NordletApi.BadRequestError}
879
+ * @throws {@link NordletApi.UnauthorizedError}
880
+ * @throws {@link NordletApi.ForbiddenError}
881
+ * @throws {@link NordletApi.NotFoundError}
882
+ * @throws {@link NordletApi.ConflictError}
883
+ * @throws {@link NordletApi.UnprocessableEntityError}
884
+ * @throws {@link NordletApi.TooManyRequestsError}
885
+ * @throws {@link NordletApi.InternalServerError}
886
+ *
887
+ * @example
888
+ * await client.production.postV1ProductionBomsGet({
889
+ * id: "id"
890
+ * })
891
+ */
892
+ postV1ProductionBomsGet(request, requestOptions) {
893
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionBomsGet(request, requestOptions));
894
+ }
895
+ async __postV1ProductionBomsGet(request, requestOptions) {
896
+ const _authRequest = await this._options.authProvider.getAuthRequest();
897
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
898
+ const _response = await core.fetcher({
899
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
900
+ (await core.Supplier.get(this._options.environment)) ??
901
+ environments.NordletApiEnvironment.Production, "v1/production/boms/get"),
902
+ method: "POST",
903
+ headers: _headers,
904
+ contentType: "application/json",
905
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
906
+ requestType: "json",
907
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
908
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
909
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
910
+ abortSignal: requestOptions?.abortSignal,
911
+ fetchFn: this._options?.fetch,
912
+ logging: this._options.logging,
913
+ });
914
+ if (_response.ok) {
915
+ return {
916
+ data: _response.body,
917
+ rawResponse: _response.rawResponse,
918
+ };
919
+ }
920
+ if (_response.error.reason === "status-code") {
921
+ switch (_response.error.statusCode) {
922
+ case 400:
923
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
924
+ case 401:
925
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
926
+ case 403:
927
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
928
+ case 404:
929
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
930
+ case 409:
931
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
932
+ case 422:
933
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
934
+ case 429:
935
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
936
+ case 500:
937
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
938
+ default:
939
+ throw new errors.NordletApiError({
940
+ statusCode: _response.error.statusCode,
941
+ body: _response.error.body,
942
+ rawResponse: _response.rawResponse,
943
+ });
944
+ }
945
+ }
946
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/boms/get");
947
+ }
948
+ /**
949
+ * @param {NordletApi.PostV1ProductionBomsListRequest} request
950
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
951
+ *
952
+ * @throws {@link NordletApi.BadRequestError}
953
+ * @throws {@link NordletApi.UnauthorizedError}
954
+ * @throws {@link NordletApi.ForbiddenError}
955
+ * @throws {@link NordletApi.NotFoundError}
956
+ * @throws {@link NordletApi.ConflictError}
957
+ * @throws {@link NordletApi.UnprocessableEntityError}
958
+ * @throws {@link NordletApi.TooManyRequestsError}
959
+ * @throws {@link NordletApi.InternalServerError}
960
+ *
961
+ * @example
962
+ * await client.production.postV1ProductionBomsList()
963
+ */
964
+ postV1ProductionBomsList(request = {}, requestOptions) {
965
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionBomsList(request, requestOptions));
966
+ }
967
+ async __postV1ProductionBomsList(request = {}, requestOptions) {
968
+ const _authRequest = await this._options.authProvider.getAuthRequest();
969
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
970
+ const _response = await core.fetcher({
971
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
972
+ (await core.Supplier.get(this._options.environment)) ??
973
+ environments.NordletApiEnvironment.Production, "v1/production/boms/list"),
974
+ method: "POST",
975
+ headers: _headers,
976
+ contentType: "application/json",
977
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
978
+ requestType: "json",
979
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
980
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
981
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
982
+ abortSignal: requestOptions?.abortSignal,
983
+ fetchFn: this._options?.fetch,
984
+ logging: this._options.logging,
985
+ });
986
+ if (_response.ok) {
987
+ return {
988
+ data: _response.body,
989
+ rawResponse: _response.rawResponse,
990
+ };
991
+ }
992
+ if (_response.error.reason === "status-code") {
993
+ switch (_response.error.statusCode) {
994
+ case 400:
995
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
996
+ case 401:
997
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
998
+ case 403:
999
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1000
+ case 404:
1001
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1002
+ case 409:
1003
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1004
+ case 422:
1005
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1006
+ case 429:
1007
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1008
+ case 500:
1009
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1010
+ default:
1011
+ throw new errors.NordletApiError({
1012
+ statusCode: _response.error.statusCode,
1013
+ body: _response.error.body,
1014
+ rawResponse: _response.rawResponse,
1015
+ });
1016
+ }
1017
+ }
1018
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/boms/list");
1019
+ }
1020
+ /**
1021
+ * @param {NordletApi.PostV1ProductionOrdersCreateRequest} request
1022
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
1023
+ *
1024
+ * @throws {@link NordletApi.BadRequestError}
1025
+ * @throws {@link NordletApi.UnauthorizedError}
1026
+ * @throws {@link NordletApi.ForbiddenError}
1027
+ * @throws {@link NordletApi.NotFoundError}
1028
+ * @throws {@link NordletApi.ConflictError}
1029
+ * @throws {@link NordletApi.UnprocessableEntityError}
1030
+ * @throws {@link NordletApi.TooManyRequestsError}
1031
+ * @throws {@link NordletApi.InternalServerError}
1032
+ *
1033
+ * @example
1034
+ * await client.production.postV1ProductionOrdersCreate({
1035
+ * bomId: "bomId",
1036
+ * warehouseId: "warehouseId",
1037
+ * quantity: "quantity",
1038
+ * date: "date"
1039
+ * })
1040
+ */
1041
+ postV1ProductionOrdersCreate(request, requestOptions) {
1042
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionOrdersCreate(request, requestOptions));
1043
+ }
1044
+ async __postV1ProductionOrdersCreate(request, requestOptions) {
1045
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1046
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1047
+ const _response = await core.fetcher({
1048
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1049
+ (await core.Supplier.get(this._options.environment)) ??
1050
+ environments.NordletApiEnvironment.Production, "v1/production/orders/create"),
1051
+ method: "POST",
1052
+ headers: _headers,
1053
+ contentType: "application/json",
1054
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
1055
+ requestType: "json",
1056
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
1057
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
1058
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1059
+ abortSignal: requestOptions?.abortSignal,
1060
+ fetchFn: this._options?.fetch,
1061
+ logging: this._options.logging,
1062
+ });
1063
+ if (_response.ok) {
1064
+ return {
1065
+ data: _response.body,
1066
+ rawResponse: _response.rawResponse,
1067
+ };
1068
+ }
1069
+ if (_response.error.reason === "status-code") {
1070
+ switch (_response.error.statusCode) {
1071
+ case 400:
1072
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
1073
+ case 401:
1074
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
1075
+ case 403:
1076
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1077
+ case 404:
1078
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1079
+ case 409:
1080
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1081
+ case 422:
1082
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1083
+ case 429:
1084
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1085
+ case 500:
1086
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1087
+ default:
1088
+ throw new errors.NordletApiError({
1089
+ statusCode: _response.error.statusCode,
1090
+ body: _response.error.body,
1091
+ rawResponse: _response.rawResponse,
1092
+ });
1093
+ }
1094
+ }
1095
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/orders/create");
1096
+ }
1097
+ /**
1098
+ * @param {NordletApi.PostV1ProductionOrdersRecordOperationRequest} request
1099
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
1100
+ *
1101
+ * @throws {@link NordletApi.BadRequestError}
1102
+ * @throws {@link NordletApi.UnauthorizedError}
1103
+ * @throws {@link NordletApi.ForbiddenError}
1104
+ * @throws {@link NordletApi.NotFoundError}
1105
+ * @throws {@link NordletApi.ConflictError}
1106
+ * @throws {@link NordletApi.UnprocessableEntityError}
1107
+ * @throws {@link NordletApi.TooManyRequestsError}
1108
+ * @throws {@link NordletApi.InternalServerError}
1109
+ *
1110
+ * @example
1111
+ * await client.production.postV1ProductionOrdersRecordOperation({
1112
+ * id: "id",
1113
+ * actualMinutes: "actualMinutes"
1114
+ * })
1115
+ */
1116
+ postV1ProductionOrdersRecordOperation(request, requestOptions) {
1117
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionOrdersRecordOperation(request, requestOptions));
1118
+ }
1119
+ async __postV1ProductionOrdersRecordOperation(request, requestOptions) {
1120
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1121
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1122
+ const _response = await core.fetcher({
1123
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1124
+ (await core.Supplier.get(this._options.environment)) ??
1125
+ environments.NordletApiEnvironment.Production, "v1/production/orders/record-operation"),
1126
+ method: "POST",
1127
+ headers: _headers,
1128
+ contentType: "application/json",
1129
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
1130
+ requestType: "json",
1131
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
1132
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
1133
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1134
+ abortSignal: requestOptions?.abortSignal,
1135
+ fetchFn: this._options?.fetch,
1136
+ logging: this._options.logging,
1137
+ });
1138
+ if (_response.ok) {
1139
+ return {
1140
+ data: _response.body,
1141
+ rawResponse: _response.rawResponse,
1142
+ };
1143
+ }
1144
+ if (_response.error.reason === "status-code") {
1145
+ switch (_response.error.statusCode) {
1146
+ case 400:
1147
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
1148
+ case 401:
1149
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
1150
+ case 403:
1151
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1152
+ case 404:
1153
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1154
+ case 409:
1155
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1156
+ case 422:
1157
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1158
+ case 429:
1159
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1160
+ case 500:
1161
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1162
+ default:
1163
+ throw new errors.NordletApiError({
1164
+ statusCode: _response.error.statusCode,
1165
+ body: _response.error.body,
1166
+ rawResponse: _response.rawResponse,
1167
+ });
1168
+ }
1169
+ }
1170
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/orders/record-operation");
1171
+ }
1172
+ /**
1173
+ * @param {NordletApi.PostV1ProductionQualityChecksAddRequest} request
1174
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
1175
+ *
1176
+ * @throws {@link NordletApi.BadRequestError}
1177
+ * @throws {@link NordletApi.UnauthorizedError}
1178
+ * @throws {@link NordletApi.ForbiddenError}
1179
+ * @throws {@link NordletApi.NotFoundError}
1180
+ * @throws {@link NordletApi.ConflictError}
1181
+ * @throws {@link NordletApi.UnprocessableEntityError}
1182
+ * @throws {@link NordletApi.TooManyRequestsError}
1183
+ * @throws {@link NordletApi.InternalServerError}
1184
+ *
1185
+ * @example
1186
+ * await client.production.postV1ProductionQualityChecksAdd({
1187
+ * orderId: "orderId",
1188
+ * name: "name"
1189
+ * })
1190
+ */
1191
+ postV1ProductionQualityChecksAdd(request, requestOptions) {
1192
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionQualityChecksAdd(request, requestOptions));
1193
+ }
1194
+ async __postV1ProductionQualityChecksAdd(request, requestOptions) {
1195
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1196
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1197
+ const _response = await core.fetcher({
1198
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1199
+ (await core.Supplier.get(this._options.environment)) ??
1200
+ environments.NordletApiEnvironment.Production, "v1/production/quality-checks/add"),
1201
+ method: "POST",
1202
+ headers: _headers,
1203
+ contentType: "application/json",
1204
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
1205
+ requestType: "json",
1206
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
1207
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
1208
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1209
+ abortSignal: requestOptions?.abortSignal,
1210
+ fetchFn: this._options?.fetch,
1211
+ logging: this._options.logging,
1212
+ });
1213
+ if (_response.ok) {
1214
+ return {
1215
+ data: _response.body,
1216
+ rawResponse: _response.rawResponse,
1217
+ };
1218
+ }
1219
+ if (_response.error.reason === "status-code") {
1220
+ switch (_response.error.statusCode) {
1221
+ case 400:
1222
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
1223
+ case 401:
1224
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
1225
+ case 403:
1226
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1227
+ case 404:
1228
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1229
+ case 409:
1230
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1231
+ case 422:
1232
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1233
+ case 429:
1234
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1235
+ case 500:
1236
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1237
+ default:
1238
+ throw new errors.NordletApiError({
1239
+ statusCode: _response.error.statusCode,
1240
+ body: _response.error.body,
1241
+ rawResponse: _response.rawResponse,
1242
+ });
1243
+ }
1244
+ }
1245
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/quality-checks/add");
1246
+ }
1247
+ /**
1248
+ * @param {NordletApi.PostV1ProductionQualityChecksRecordRequest} request
1249
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
1250
+ *
1251
+ * @throws {@link NordletApi.BadRequestError}
1252
+ * @throws {@link NordletApi.UnauthorizedError}
1253
+ * @throws {@link NordletApi.ForbiddenError}
1254
+ * @throws {@link NordletApi.NotFoundError}
1255
+ * @throws {@link NordletApi.ConflictError}
1256
+ * @throws {@link NordletApi.UnprocessableEntityError}
1257
+ * @throws {@link NordletApi.TooManyRequestsError}
1258
+ * @throws {@link NordletApi.InternalServerError}
1259
+ *
1260
+ * @example
1261
+ * await client.production.postV1ProductionQualityChecksRecord({
1262
+ * id: "id",
1263
+ * result: "passed"
1264
+ * })
1265
+ */
1266
+ postV1ProductionQualityChecksRecord(request, requestOptions) {
1267
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionQualityChecksRecord(request, requestOptions));
1268
+ }
1269
+ async __postV1ProductionQualityChecksRecord(request, requestOptions) {
1270
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1271
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1272
+ const _response = await core.fetcher({
1273
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1274
+ (await core.Supplier.get(this._options.environment)) ??
1275
+ environments.NordletApiEnvironment.Production, "v1/production/quality-checks/record"),
1276
+ method: "POST",
1277
+ headers: _headers,
1278
+ contentType: "application/json",
1279
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
1280
+ requestType: "json",
1281
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
1282
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
1283
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1284
+ abortSignal: requestOptions?.abortSignal,
1285
+ fetchFn: this._options?.fetch,
1286
+ logging: this._options.logging,
1287
+ });
1288
+ if (_response.ok) {
1289
+ return {
1290
+ data: _response.body,
1291
+ rawResponse: _response.rawResponse,
1292
+ };
1293
+ }
1294
+ if (_response.error.reason === "status-code") {
1295
+ switch (_response.error.statusCode) {
1296
+ case 400:
1297
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
1298
+ case 401:
1299
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
1300
+ case 403:
1301
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1302
+ case 404:
1303
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1304
+ case 409:
1305
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1306
+ case 422:
1307
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1308
+ case 429:
1309
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1310
+ case 500:
1311
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1312
+ default:
1313
+ throw new errors.NordletApiError({
1314
+ statusCode: _response.error.statusCode,
1315
+ body: _response.error.body,
1316
+ rawResponse: _response.rawResponse,
1317
+ });
1318
+ }
1319
+ }
1320
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/quality-checks/record");
1321
+ }
1322
+ /**
1323
+ * @param {NordletApi.PostV1ProductionQualityChecksListRequest} request
1324
+ * @param {ProductionClient.RequestOptions} requestOptions - Request-specific configuration.
1325
+ *
1326
+ * @throws {@link NordletApi.BadRequestError}
1327
+ * @throws {@link NordletApi.UnauthorizedError}
1328
+ * @throws {@link NordletApi.ForbiddenError}
1329
+ * @throws {@link NordletApi.NotFoundError}
1330
+ * @throws {@link NordletApi.ConflictError}
1331
+ * @throws {@link NordletApi.UnprocessableEntityError}
1332
+ * @throws {@link NordletApi.TooManyRequestsError}
1333
+ * @throws {@link NordletApi.InternalServerError}
1334
+ *
1335
+ * @example
1336
+ * await client.production.postV1ProductionQualityChecksList()
1337
+ */
1338
+ postV1ProductionQualityChecksList(request = {}, requestOptions) {
1339
+ return core.HttpResponsePromise.fromPromise(this.__postV1ProductionQualityChecksList(request, requestOptions));
1340
+ }
1341
+ async __postV1ProductionQualityChecksList(request = {}, requestOptions) {
1342
+ const _authRequest = await this._options.authProvider.getAuthRequest();
1343
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
1344
+ const _response = await core.fetcher({
1345
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
1346
+ (await core.Supplier.get(this._options.environment)) ??
1347
+ environments.NordletApiEnvironment.Production, "v1/production/quality-checks/list"),
1348
+ method: "POST",
1349
+ headers: _headers,
1350
+ contentType: "application/json",
1351
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
1352
+ requestType: "json",
1353
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
1354
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
1355
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1356
+ abortSignal: requestOptions?.abortSignal,
1357
+ fetchFn: this._options?.fetch,
1358
+ logging: this._options.logging,
1359
+ });
1360
+ if (_response.ok) {
1361
+ return {
1362
+ data: _response.body,
1363
+ rawResponse: _response.rawResponse,
1364
+ };
1365
+ }
1366
+ if (_response.error.reason === "status-code") {
1367
+ switch (_response.error.statusCode) {
1368
+ case 400:
1369
+ throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
1370
+ case 401:
1371
+ throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
1372
+ case 403:
1373
+ throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
1374
+ case 404:
1375
+ throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
1376
+ case 409:
1377
+ throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
1378
+ case 422:
1379
+ throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1380
+ case 429:
1381
+ throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
1382
+ case 500:
1383
+ throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
1384
+ default:
1385
+ throw new errors.NordletApiError({
1386
+ statusCode: _response.error.statusCode,
1387
+ body: _response.error.body,
1388
+ rawResponse: _response.rawResponse,
1389
+ });
1390
+ }
1391
+ }
1392
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/production/quality-checks/list");
352
1393
  }
353
1394
  /**
354
1395
  * @param {NordletApi.PostV1ProductionOrdersCompleteRequest} request