@edgebound/bigcommerce 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/README.md +473 -0
  2. package/dist/bigcommerce-entities/addresses/index.d.ts +2 -0
  3. package/dist/bigcommerce-entities/addresses/index.d.ts.map +1 -0
  4. package/dist/bigcommerce-entities/addresses/index.js +18 -0
  5. package/dist/bigcommerce-entities/addresses/index.js.map +1 -0
  6. package/dist/{addresses.d.mts → bigcommerce-entities/addresses/schemas/address.schema.d.ts} +2 -9
  7. package/dist/bigcommerce-entities/addresses/schemas/address.schema.d.ts.map +1 -0
  8. package/dist/bigcommerce-entities/addresses/schemas/address.schema.js +54 -0
  9. package/dist/bigcommerce-entities/addresses/schemas/address.schema.js.map +1 -0
  10. package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.d.ts +6 -0
  11. package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.d.ts.map +1 -0
  12. package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.js +42 -0
  13. package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.js.map +1 -0
  14. package/dist/bigcommerce-entities/addresses/schemas/index.d.ts +3 -0
  15. package/dist/bigcommerce-entities/addresses/schemas/index.d.ts.map +1 -0
  16. package/dist/bigcommerce-entities/addresses/schemas/index.js +19 -0
  17. package/dist/bigcommerce-entities/addresses/schemas/index.js.map +1 -0
  18. package/dist/bigcommerce-entities/companies/companies.service.d.ts +309 -0
  19. package/dist/bigcommerce-entities/companies/companies.service.d.ts.map +1 -0
  20. package/dist/bigcommerce-entities/companies/companies.service.js +331 -0
  21. package/dist/bigcommerce-entities/companies/companies.service.js.map +1 -0
  22. package/dist/bigcommerce-entities/companies/index.d.ts +3 -0
  23. package/dist/bigcommerce-entities/companies/index.d.ts.map +1 -0
  24. package/dist/bigcommerce-entities/companies/index.js +19 -0
  25. package/dist/bigcommerce-entities/companies/index.js.map +1 -0
  26. package/dist/bigcommerce-entities/companies/schemas/company.schema.d.ts +63 -0
  27. package/dist/bigcommerce-entities/companies/schemas/company.schema.d.ts.map +1 -0
  28. package/dist/bigcommerce-entities/companies/schemas/company.schema.js +101 -0
  29. package/dist/bigcommerce-entities/companies/schemas/company.schema.js.map +1 -0
  30. package/dist/bigcommerce-entities/companies/schemas/credit.schemas.d.ts +15 -0
  31. package/dist/bigcommerce-entities/companies/schemas/credit.schemas.d.ts.map +1 -0
  32. package/dist/bigcommerce-entities/companies/schemas/credit.schemas.js +49 -0
  33. package/dist/bigcommerce-entities/companies/schemas/credit.schemas.js.map +1 -0
  34. package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.d.ts +28 -0
  35. package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.d.ts.map +1 -0
  36. package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.js +60 -0
  37. package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.js.map +1 -0
  38. package/dist/bigcommerce-entities/companies/schemas/index.d.ts +8 -0
  39. package/dist/bigcommerce-entities/companies/schemas/index.d.ts.map +1 -0
  40. package/dist/bigcommerce-entities/companies/schemas/index.js +24 -0
  41. package/dist/bigcommerce-entities/companies/schemas/index.js.map +1 -0
  42. package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.d.ts +12 -0
  43. package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.d.ts.map +1 -0
  44. package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.js +50 -0
  45. package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.js.map +1 -0
  46. package/dist/bigcommerce-entities/companies/schemas/roles.d.ts +28 -0
  47. package/dist/bigcommerce-entities/companies/schemas/roles.d.ts.map +1 -0
  48. package/dist/bigcommerce-entities/companies/schemas/roles.js +59 -0
  49. package/dist/bigcommerce-entities/companies/schemas/roles.js.map +1 -0
  50. package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.d.ts +15 -0
  51. package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.d.ts.map +1 -0
  52. package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.js +51 -0
  53. package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.js.map +1 -0
  54. package/dist/bigcommerce-entities/companies/schemas/user.schema.d.ts +51 -0
  55. package/dist/bigcommerce-entities/companies/schemas/user.schema.d.ts.map +1 -0
  56. package/dist/bigcommerce-entities/companies/schemas/user.schema.js +91 -0
  57. package/dist/bigcommerce-entities/companies/schemas/user.schema.js.map +1 -0
  58. package/dist/bigcommerce-entities/currencies/index.d.ts +2 -0
  59. package/dist/bigcommerce-entities/currencies/index.d.ts.map +1 -0
  60. package/dist/bigcommerce-entities/currencies/index.js +3 -0
  61. package/dist/bigcommerce-entities/currencies/index.js.map +1 -0
  62. package/dist/bigcommerce-entities/customers/customers.service.d.ts +270 -0
  63. package/dist/bigcommerce-entities/customers/customers.service.d.ts.map +1 -0
  64. package/dist/bigcommerce-entities/customers/customers.service.js +254 -0
  65. package/dist/bigcommerce-entities/customers/customers.service.js.map +1 -0
  66. package/dist/bigcommerce-entities/customers/index.d.ts +3 -0
  67. package/dist/bigcommerce-entities/customers/index.d.ts.map +1 -0
  68. package/dist/bigcommerce-entities/customers/index.js +19 -0
  69. package/dist/bigcommerce-entities/customers/index.js.map +1 -0
  70. package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.d.ts +35 -0
  71. package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.d.ts.map +1 -0
  72. package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.js +74 -0
  73. package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.js.map +1 -0
  74. package/dist/bigcommerce-entities/customers/schemas/customer.schema.d.ts +38 -0
  75. package/dist/bigcommerce-entities/customers/schemas/customer.schema.d.ts.map +1 -0
  76. package/dist/bigcommerce-entities/customers/schemas/customer.schema.js +65 -0
  77. package/dist/bigcommerce-entities/customers/schemas/customer.schema.js.map +1 -0
  78. package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.d.ts +35 -0
  79. package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.d.ts.map +1 -0
  80. package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.js +81 -0
  81. package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.js.map +1 -0
  82. package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.d.ts +9 -0
  83. package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.d.ts.map +1 -0
  84. package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.js +54 -0
  85. package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.js.map +1 -0
  86. package/dist/bigcommerce-entities/customers/schemas/index.d.ts +5 -0
  87. package/dist/bigcommerce-entities/customers/schemas/index.d.ts.map +1 -0
  88. package/dist/bigcommerce-entities/customers/schemas/index.js +21 -0
  89. package/dist/bigcommerce-entities/customers/schemas/index.js.map +1 -0
  90. package/dist/bigcommerce-entities/index.d.ts +11 -0
  91. package/dist/bigcommerce-entities/index.d.ts.map +1 -0
  92. package/dist/bigcommerce-entities/index.js +27 -0
  93. package/dist/bigcommerce-entities/index.js.map +1 -0
  94. package/dist/bigcommerce-entities/orders/index.d.ts +3 -0
  95. package/dist/bigcommerce-entities/orders/index.d.ts.map +1 -0
  96. package/dist/bigcommerce-entities/orders/index.js +19 -0
  97. package/dist/bigcommerce-entities/orders/index.js.map +1 -0
  98. package/dist/bigcommerce-entities/orders/orders.service.d.ts +470 -0
  99. package/dist/bigcommerce-entities/orders/orders.service.d.ts.map +1 -0
  100. package/dist/bigcommerce-entities/orders/orders.service.js +274 -0
  101. package/dist/bigcommerce-entities/orders/orders.service.js.map +1 -0
  102. package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.d.ts +17 -0
  103. package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.d.ts.map +1 -0
  104. package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.js +55 -0
  105. package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.js.map +1 -0
  106. package/dist/bigcommerce-entities/orders/schemas/index.d.ts +6 -0
  107. package/dist/bigcommerce-entities/orders/schemas/index.d.ts.map +1 -0
  108. package/dist/bigcommerce-entities/orders/schemas/index.js +22 -0
  109. package/dist/bigcommerce-entities/orders/schemas/index.js.map +1 -0
  110. package/dist/bigcommerce-entities/orders/schemas/order-product.schema.d.ts +31 -0
  111. package/dist/bigcommerce-entities/orders/schemas/order-product.schema.d.ts.map +1 -0
  112. package/dist/bigcommerce-entities/orders/schemas/order-product.schema.js +64 -0
  113. package/dist/bigcommerce-entities/orders/schemas/order-product.schema.js.map +1 -0
  114. package/dist/{addresses.d.ts → bigcommerce-entities/orders/schemas/order-shipping-address.schema.d.ts} +5 -9
  115. package/dist/bigcommerce-entities/orders/schemas/order-shipping-address.schema.d.ts.map +1 -0
  116. package/dist/bigcommerce-entities/orders/schemas/order-shipping-address.schema.js +44 -0
  117. package/dist/bigcommerce-entities/orders/schemas/order-shipping-address.schema.js.map +1 -0
  118. package/dist/bigcommerce-entities/orders/schemas/order.schema.d.ts +104 -0
  119. package/dist/bigcommerce-entities/orders/schemas/order.schema.d.ts.map +1 -0
  120. package/dist/bigcommerce-entities/orders/schemas/order.schema.js +109 -0
  121. package/dist/bigcommerce-entities/orders/schemas/order.schema.js.map +1 -0
  122. package/dist/{status.schema-BgztUtGy.d.mts → bigcommerce-entities/orders/schemas/status.schema.d.ts} +4 -6
  123. package/dist/bigcommerce-entities/orders/schemas/status.schema.d.ts.map +1 -0
  124. package/dist/bigcommerce-entities/orders/schemas/status.schema.js +74 -0
  125. package/dist/bigcommerce-entities/orders/schemas/status.schema.js.map +1 -0
  126. package/dist/bigcommerce-entities/payments/index.d.ts +3 -0
  127. package/dist/bigcommerce-entities/payments/index.d.ts.map +1 -0
  128. package/dist/bigcommerce-entities/payments/index.js +19 -0
  129. package/dist/bigcommerce-entities/payments/index.js.map +1 -0
  130. package/dist/bigcommerce-entities/payments/payments.service.d.ts +40 -0
  131. package/dist/bigcommerce-entities/payments/payments.service.d.ts.map +1 -0
  132. package/dist/bigcommerce-entities/payments/payments.service.js +66 -0
  133. package/dist/bigcommerce-entities/payments/payments.service.js.map +1 -0
  134. package/dist/bigcommerce-entities/payments/schemas/index.d.ts +2 -0
  135. package/dist/bigcommerce-entities/payments/schemas/index.d.ts.map +1 -0
  136. package/dist/bigcommerce-entities/payments/schemas/index.js +18 -0
  137. package/dist/bigcommerce-entities/payments/schemas/index.js.map +1 -0
  138. package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.d.ts +14 -0
  139. package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.d.ts.map +1 -0
  140. package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.js +46 -0
  141. package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.js.map +1 -0
  142. package/dist/bigcommerce-entities/price-lists/index.d.ts +3 -0
  143. package/dist/bigcommerce-entities/price-lists/index.d.ts.map +1 -0
  144. package/dist/bigcommerce-entities/price-lists/index.js +19 -0
  145. package/dist/bigcommerce-entities/price-lists/index.js.map +1 -0
  146. package/dist/bigcommerce-entities/price-lists/price-lists.service.d.ts +97 -0
  147. package/dist/bigcommerce-entities/price-lists/price-lists.service.d.ts.map +1 -0
  148. package/dist/bigcommerce-entities/price-lists/price-lists.service.js +126 -0
  149. package/dist/bigcommerce-entities/price-lists/price-lists.service.js.map +1 -0
  150. package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.d.ts +11 -0
  151. package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.d.ts.map +1 -0
  152. package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.js +47 -0
  153. package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.js.map +1 -0
  154. package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.d.ts +32 -0
  155. package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.d.ts.map +1 -0
  156. package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.js +66 -0
  157. package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.js.map +1 -0
  158. package/dist/bigcommerce-entities/price-lists/schemas/index.d.ts +3 -0
  159. package/dist/bigcommerce-entities/price-lists/schemas/index.d.ts.map +1 -0
  160. package/dist/bigcommerce-entities/price-lists/schemas/index.js +19 -0
  161. package/dist/bigcommerce-entities/price-lists/schemas/index.js.map +1 -0
  162. package/dist/bigcommerce-entities/products/index.d.ts +3 -0
  163. package/dist/bigcommerce-entities/products/index.d.ts.map +1 -0
  164. package/dist/bigcommerce-entities/products/index.js +19 -0
  165. package/dist/bigcommerce-entities/products/index.js.map +1 -0
  166. package/dist/bigcommerce-entities/products/products.service.d.ts +88 -0
  167. package/dist/bigcommerce-entities/products/products.service.d.ts.map +1 -0
  168. package/dist/bigcommerce-entities/products/products.service.js +165 -0
  169. package/dist/bigcommerce-entities/products/products.service.js.map +1 -0
  170. package/dist/bigcommerce-entities/products/schemas/index.d.ts +3 -0
  171. package/dist/bigcommerce-entities/products/schemas/index.d.ts.map +1 -0
  172. package/dist/bigcommerce-entities/products/schemas/index.js +19 -0
  173. package/dist/bigcommerce-entities/products/schemas/index.js.map +1 -0
  174. package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.d.ts +26 -0
  175. package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.d.ts.map +1 -0
  176. package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.js +57 -0
  177. package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.js.map +1 -0
  178. package/dist/bigcommerce-entities/products/schemas/update-products.schema.d.ts +11 -0
  179. package/dist/bigcommerce-entities/products/schemas/update-products.schema.d.ts.map +1 -0
  180. package/dist/bigcommerce-entities/products/schemas/update-products.schema.js +44 -0
  181. package/dist/bigcommerce-entities/products/schemas/update-products.schema.js.map +1 -0
  182. package/dist/bigcommerce-entities/sales-staff/index.d.ts +3 -0
  183. package/dist/bigcommerce-entities/sales-staff/index.d.ts.map +1 -0
  184. package/dist/bigcommerce-entities/sales-staff/index.js +19 -0
  185. package/dist/bigcommerce-entities/sales-staff/index.js.map +1 -0
  186. package/dist/bigcommerce-entities/sales-staff/sales-staff.service.d.ts +78 -0
  187. package/dist/bigcommerce-entities/sales-staff/sales-staff.service.d.ts.map +1 -0
  188. package/dist/bigcommerce-entities/sales-staff/sales-staff.service.js +102 -0
  189. package/dist/bigcommerce-entities/sales-staff/sales-staff.service.js.map +1 -0
  190. package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.d.ts +31 -0
  191. package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.d.ts.map +1 -0
  192. package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.js +62 -0
  193. package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.js.map +1 -0
  194. package/dist/bigcommerce-entities/sales-staff/schemas/index.d.ts +2 -0
  195. package/dist/bigcommerce-entities/sales-staff/schemas/index.d.ts.map +1 -0
  196. package/dist/bigcommerce-entities/sales-staff/schemas/index.js +18 -0
  197. package/dist/bigcommerce-entities/sales-staff/schemas/index.js.map +1 -0
  198. package/dist/bigcommerce-entities/webhooks/index.d.ts +2 -0
  199. package/dist/bigcommerce-entities/webhooks/index.d.ts.map +1 -0
  200. package/dist/bigcommerce-entities/webhooks/index.js +18 -0
  201. package/dist/bigcommerce-entities/webhooks/index.js.map +1 -0
  202. package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.d.ts +28 -0
  203. package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.d.ts.map +1 -0
  204. package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.js +64 -0
  205. package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.js.map +1 -0
  206. package/dist/bigcommerce-entities/webhooks/schemas/index.d.ts +4 -0
  207. package/dist/bigcommerce-entities/webhooks/schemas/index.d.ts.map +1 -0
  208. package/dist/bigcommerce-entities/webhooks/schemas/index.js +20 -0
  209. package/dist/bigcommerce-entities/webhooks/schemas/index.js.map +1 -0
  210. package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.d.ts +26 -0
  211. package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.d.ts.map +1 -0
  212. package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.js +57 -0
  213. package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.js.map +1 -0
  214. package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.d.ts +54 -0
  215. package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.d.ts.map +1 -0
  216. package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.js +52 -0
  217. package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.js.map +1 -0
  218. package/dist/bigcommerce.module.d.ts +16 -0
  219. package/dist/bigcommerce.module.d.ts.map +1 -0
  220. package/dist/bigcommerce.module.js +83 -0
  221. package/dist/bigcommerce.module.js.map +1 -0
  222. package/dist/constants.d.ts +52 -0
  223. package/dist/constants.d.ts.map +1 -0
  224. package/dist/constants.js +55 -0
  225. package/dist/constants.js.map +1 -0
  226. package/dist/core/bigcommerce-fetcher.service.d.ts +40 -0
  227. package/dist/core/bigcommerce-fetcher.service.d.ts.map +1 -0
  228. package/dist/core/bigcommerce-fetcher.service.js +133 -0
  229. package/dist/core/bigcommerce-fetcher.service.js.map +1 -0
  230. package/dist/core/bigcommerce.error.d.ts +51 -0
  231. package/dist/core/bigcommerce.error.d.ts.map +1 -0
  232. package/dist/core/bigcommerce.error.js +160 -0
  233. package/dist/core/bigcommerce.error.js.map +1 -0
  234. package/dist/core/config.module.d.ts +12 -0
  235. package/dist/core/config.module.d.ts.map +1 -0
  236. package/dist/core/config.module.js +75 -0
  237. package/dist/core/config.module.js.map +1 -0
  238. package/dist/core/config.schema.d.ts +20 -0
  239. package/dist/core/config.schema.d.ts.map +1 -0
  240. package/dist/core/config.schema.js +74 -0
  241. package/dist/core/config.schema.js.map +1 -0
  242. package/dist/core/config.service.d.ts +13 -0
  243. package/dist/core/config.service.d.ts.map +1 -0
  244. package/dist/core/config.service.js +30 -0
  245. package/dist/core/config.service.js.map +1 -0
  246. package/dist/core/index.d.ts +6 -0
  247. package/dist/core/index.d.ts.map +1 -0
  248. package/dist/core/index.js +22 -0
  249. package/dist/core/index.js.map +1 -0
  250. package/dist/index.d.ts +5 -36
  251. package/dist/index.d.ts.map +1 -0
  252. package/dist/index.js +18 -364
  253. package/dist/index.js.map +1 -1
  254. package/dist/utils/chunk.d.ts +2 -0
  255. package/dist/utils/chunk.d.ts.map +1 -0
  256. package/dist/utils/chunk.js +12 -0
  257. package/dist/utils/chunk.js.map +1 -0
  258. package/dist/utils/concurrency.d.ts +11 -0
  259. package/dist/utils/concurrency.d.ts.map +1 -0
  260. package/dist/utils/concurrency.js +20 -0
  261. package/dist/utils/concurrency.js.map +1 -0
  262. package/dist/utils/index.d.ts +5 -0
  263. package/dist/utils/index.d.ts.map +1 -0
  264. package/dist/utils/index.js +10 -0
  265. package/dist/utils/index.js.map +1 -0
  266. package/dist/utils/validation.error.d.ts +6 -0
  267. package/dist/utils/validation.error.d.ts.map +1 -0
  268. package/dist/utils/validation.error.js +50 -0
  269. package/dist/utils/validation.error.js.map +1 -0
  270. package/dist/utils/while.d.ts +8 -0
  271. package/dist/utils/while.d.ts.map +1 -0
  272. package/dist/utils/while.js +23 -0
  273. package/dist/utils/while.js.map +1 -0
  274. package/package.json +21 -65
  275. package/dist/addresses.js +0 -69
  276. package/dist/addresses.js.map +0 -1
  277. package/dist/addresses.mjs +0 -9
  278. package/dist/addresses.mjs.map +0 -1
  279. package/dist/bigcommerce.fetcher-Ujztbs8P.d.mts +0 -90
  280. package/dist/bigcommerce.fetcher-Ujztbs8P.d.ts +0 -90
  281. package/dist/chunk-BWLQCNNX.mjs +0 -30
  282. package/dist/chunk-BWLQCNNX.mjs.map +0 -1
  283. package/dist/chunk-CERZFSUE.mjs +0 -20
  284. package/dist/chunk-CERZFSUE.mjs.map +0 -1
  285. package/dist/chunk-PAXNZ36X.mjs +0 -326
  286. package/dist/chunk-PAXNZ36X.mjs.map +0 -1
  287. package/dist/chunk-XONZC4AG.mjs +0 -45
  288. package/dist/chunk-XONZC4AG.mjs.map +0 -1
  289. package/dist/companies.d.mts +0 -232
  290. package/dist/companies.d.ts +0 -232
  291. package/dist/companies.js +0 -725
  292. package/dist/companies.js.map +0 -1
  293. package/dist/companies.mjs +0 -368
  294. package/dist/companies.mjs.map +0 -1
  295. package/dist/currencies.d.mts +0 -2
  296. package/dist/currencies.d.ts +0 -2
  297. package/dist/currencies.js +0 -2
  298. package/dist/currencies.js.map +0 -1
  299. package/dist/currencies.mjs +0 -1
  300. package/dist/currencies.mjs.map +0 -1
  301. package/dist/customers.d.mts +0 -157
  302. package/dist/customers.d.ts +0 -157
  303. package/dist/customers.js +0 -581
  304. package/dist/customers.js.map +0 -1
  305. package/dist/customers.mjs +0 -233
  306. package/dist/customers.mjs.map +0 -1
  307. package/dist/index.d.mts +0 -36
  308. package/dist/index.mjs +0 -39
  309. package/dist/index.mjs.map +0 -1
  310. package/dist/orders.d.mts +0 -492
  311. package/dist/orders.d.ts +0 -492
  312. package/dist/orders.js +0 -716
  313. package/dist/orders.js.map +0 -1
  314. package/dist/orders.mjs +0 -312
  315. package/dist/orders.mjs.map +0 -1
  316. package/dist/payments.d.mts +0 -28
  317. package/dist/payments.d.ts +0 -28
  318. package/dist/payments.js +0 -365
  319. package/dist/payments.js.map +0 -1
  320. package/dist/payments.mjs +0 -43
  321. package/dist/payments.mjs.map +0 -1
  322. package/dist/priceLists.d.mts +0 -81
  323. package/dist/priceLists.d.ts +0 -81
  324. package/dist/priceLists.js +0 -458
  325. package/dist/priceLists.js.map +0 -1
  326. package/dist/priceLists.mjs +0 -118
  327. package/dist/priceLists.mjs.map +0 -1
  328. package/dist/products.d.mts +0 -52
  329. package/dist/products.d.ts +0 -52
  330. package/dist/products.js +0 -463
  331. package/dist/products.js.map +0 -1
  332. package/dist/products.mjs +0 -120
  333. package/dist/products.mjs.map +0 -1
  334. package/dist/salesStaff.d.mts +0 -64
  335. package/dist/salesStaff.d.ts +0 -64
  336. package/dist/salesStaff.js +0 -419
  337. package/dist/salesStaff.js.map +0 -1
  338. package/dist/salesStaff.mjs +0 -82
  339. package/dist/salesStaff.mjs.map +0 -1
  340. package/dist/status.schema-BgztUtGy.d.ts +0 -39
  341. package/dist/validation.error-CHLpPYC_.d.mts +0 -14
  342. package/dist/validation.error-CHLpPYC_.d.ts +0 -14
  343. package/dist/webhooks.d.mts +0 -107
  344. package/dist/webhooks.d.ts +0 -107
  345. package/dist/webhooks.js +0 -155
  346. package/dist/webhooks.js.map +0 -1
  347. package/dist/webhooks.mjs +0 -77
  348. package/dist/webhooks.mjs.map +0 -1
@@ -1,232 +0,0 @@
1
- import { I as InputValidationError } from './validation.error-CHLpPYC_.js';
2
- import { S as SomeBigCommerceError, B as BigCommerceFetcher } from './bigcommerce.fetcher-Ujztbs8P.js';
3
- import { Effect } from 'effect';
4
- import * as z from 'zod';
5
- import 'effect/Cause';
6
- import 'effect/Types';
7
-
8
- declare const CreateCompanySchema: z.ZodObject<{
9
- companyName: z.ZodString;
10
- companyPhone: z.ZodString;
11
- companyEmail: z.ZodString;
12
- addressLine1: z.ZodString;
13
- addressLine2: z.ZodString;
14
- city: z.ZodString;
15
- state: z.ZodString;
16
- country: z.ZodString;
17
- zipCode: z.ZodString;
18
- adminFirstName: z.ZodString;
19
- adminLastName: z.ZodString;
20
- adminEmail: z.ZodString;
21
- adminPhoneNumber: z.ZodString;
22
- acceptCreationEmail: z.ZodBoolean;
23
- uuid: z.ZodString;
24
- channelIds: z.ZodArray<z.ZodInt>;
25
- originChannelId: z.ZodInt;
26
- customerGroupId: z.ZodInt;
27
- extraFields: z.ZodArray<z.ZodObject<{
28
- fieldName: z.ZodString;
29
- fieldValue: z.ZodString;
30
- }, z.core.$strip>>;
31
- }, z.core.$strip>;
32
- declare const CreateCompanyResponseSchema: z.ZodObject<{
33
- data: z.ZodObject<{
34
- companyId: z.ZodInt;
35
- }, z.core.$strip>;
36
- meta: z.ZodObject<{
37
- message: z.ZodString;
38
- }, z.core.$strip>;
39
- }, z.core.$strip>;
40
-
41
- declare const SetCompanyCreditSchema: z.ZodObject<{
42
- data: z.ZodObject<{
43
- creditEnabled: z.ZodBoolean;
44
- creditCurrency: z.ZodEnum<{
45
- MXN: "MXN";
46
- }>;
47
- availableCredit: z.ZodNumber;
48
- limitPurchases: z.ZodBoolean;
49
- creditHold: z.ZodBoolean;
50
- }, z.core.$strip>;
51
- companyId: z.ZodInt;
52
- }, z.core.$strip>;
53
- declare const SetCompanyCreditResponseSchema: z.ZodObject<{}, z.core.$strip>;
54
-
55
- declare const GetCompanyExtraFieldsCriteriaSchema: z.ZodObject<{
56
- limit: z.ZodOptional<z.ZodInt>;
57
- offset: z.ZodOptional<z.ZodInt>;
58
- }, z.core.$strip>;
59
- declare const CompanyExtraFieldSchema: z.ZodObject<{
60
- fieldName: z.ZodString;
61
- labelName: z.ZodString;
62
- listOfValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
- maximumLength: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
64
- }, z.core.$strip>;
65
- declare const GetCompanyExtraFieldsResponseSchema: z.ZodObject<{
66
- data: z.ZodArray<z.ZodObject<{
67
- fieldName: z.ZodString;
68
- labelName: z.ZodString;
69
- listOfValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
- maximumLength: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
71
- }, z.core.$strip>>;
72
- meta: z.ZodObject<{
73
- message: z.ZodString;
74
- pagination: z.ZodObject<{
75
- totalCount: z.ZodNumber;
76
- offset: z.ZodNumber;
77
- limit: z.ZodNumber;
78
- }, z.core.$strip>;
79
- }, z.core.$strip>;
80
- }, z.core.$strip>;
81
-
82
- declare const SetCompanyPaymentMethodsSchema: z.ZodObject<{
83
- data: z.ZodObject<{
84
- payments: z.ZodArray<z.ZodObject<{
85
- code: z.ZodString;
86
- isEnabled: z.ZodBoolean;
87
- }, z.core.$strip>>;
88
- }, z.core.$strip>;
89
- companyId: z.ZodInt;
90
- }, z.core.$strip>;
91
- declare const SetCompanyPaymentMethodsResponseSchema: z.ZodObject<{}, z.core.$strip>;
92
-
93
- declare const CompanyRoleSchema: z.ZodObject<{
94
- id: z.ZodInt;
95
- name: z.ZodString;
96
- roleLevel: z.ZodNumber;
97
- roleType: z.ZodNumber;
98
- }, z.core.$strip>;
99
- declare const GetCompanyRolesCriteriaSchema: z.ZodObject<{
100
- limit: z.ZodOptional<z.ZodInt>;
101
- offset: z.ZodOptional<z.ZodInt>;
102
- }, z.core.$strip>;
103
- declare const GetCompanyRolesResponseSchema: z.ZodObject<{
104
- data: z.ZodArray<z.ZodObject<{
105
- id: z.ZodInt;
106
- name: z.ZodString;
107
- roleLevel: z.ZodNumber;
108
- roleType: z.ZodNumber;
109
- }, z.core.$strip>>;
110
- meta: z.ZodObject<{
111
- message: z.ZodString;
112
- pagination: z.ZodObject<{
113
- limit: z.ZodNumber;
114
- offset: z.ZodNumber;
115
- totalCount: z.ZodNumber;
116
- }, z.core.$strip>;
117
- }, z.core.$strip>;
118
- }, z.core.$strip>;
119
- type GetCompanyRolesResponse = z.output<typeof GetCompanyRolesResponseSchema>;
120
-
121
- declare const AssignSalesStaffSchema: z.ZodObject<{
122
- assignments: z.ZodArray<z.ZodObject<{
123
- assignStatus: z.ZodBoolean;
124
- companyId: z.ZodInt;
125
- }, z.core.$strip>>;
126
- salesStaffId: z.ZodPipe<z.ZodInt, z.ZodTransform<string, number>>;
127
- }, z.core.$strip>;
128
- declare const AssignSalesStaffResponseSchema: z.ZodObject<{
129
- code: z.ZodInt;
130
- meta: z.ZodObject<{
131
- message: z.ZodString;
132
- }, z.core.$strip>;
133
- }, z.core.$strip>;
134
-
135
- declare const CreateCompanyUserSchema: z.ZodObject<{
136
- acceptWelcomeEmail: z.ZodBoolean;
137
- companyId: z.ZodInt;
138
- companyRoleId: z.ZodInt;
139
- email: z.ZodEmail;
140
- firstName: z.ZodString;
141
- lastName: z.ZodString;
142
- phoneNumber: z.ZodString;
143
- }, z.core.$strip>;
144
- declare const CreateCompanyUserResponseSchema: z.ZodObject<{
145
- code: z.ZodNumber;
146
- data: z.ZodObject<{
147
- bcId: z.ZodNumber;
148
- userId: z.ZodInt;
149
- }, z.core.$strip>;
150
- meta: z.ZodObject<{
151
- message: z.ZodString;
152
- }, z.core.$strip>;
153
- }, z.core.$strip>;
154
-
155
- declare const assignSalesStaffToCompany: (input: z.input<typeof AssignSalesStaffSchema>) => Effect.Effect<{
156
- code: number;
157
- meta: {
158
- message: string;
159
- };
160
- }[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
161
-
162
- declare const createCompany: (data: z.input<typeof CreateCompanySchema>) => Effect.Effect<{
163
- data: {
164
- companyId: number;
165
- };
166
- meta: {
167
- message: string;
168
- };
169
- }, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
170
-
171
- declare const createCompanyUser: (data: z.input<typeof CreateCompanyUserSchema>) => Effect.Effect<{
172
- code: number;
173
- data: {
174
- bcId: number;
175
- userId: number;
176
- };
177
- meta: {
178
- message: string;
179
- };
180
- }, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
181
-
182
- declare const setCompanyCredit: (input: z.infer<typeof SetCompanyCreditSchema>) => Effect.Effect<Record<string, never>, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
183
-
184
- declare const findCompanyExtraFields: (criteria: z.input<typeof GetCompanyExtraFieldsCriteriaSchema>) => Effect.Effect<{
185
- data: {
186
- fieldName: string;
187
- labelName: string;
188
- listOfValue?: string[] | undefined;
189
- maximumLength?: number | undefined;
190
- }[];
191
- meta: {
192
- message: string;
193
- pagination: {
194
- totalCount: number;
195
- offset: number;
196
- limit: number;
197
- };
198
- };
199
- }, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
200
- declare const getAllCompanyExtraFieldsBy: (criteria?: Omit<z.input<typeof GetCompanyExtraFieldsCriteriaSchema>, "limit" | "offset">) => Effect.Effect<{
201
- fieldName: string;
202
- labelName: string;
203
- listOfValue?: string[] | undefined;
204
- maximumLength?: number | undefined;
205
- }[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
206
-
207
- declare const findCompanyRoles: (criteria: z.infer<typeof GetCompanyRolesCriteriaSchema>) => Effect.Effect<{
208
- data: {
209
- id: number;
210
- name: string;
211
- roleLevel: number;
212
- roleType: number;
213
- }[];
214
- meta: {
215
- message: string;
216
- pagination: {
217
- limit: number;
218
- offset: number;
219
- totalCount: number;
220
- };
221
- };
222
- }, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
223
- declare const getAllCompanyRolesBy: (criteria?: Omit<z.infer<typeof GetCompanyRolesCriteriaSchema>, "limit" | "offset">) => Effect.Effect<{
224
- id: number;
225
- name: string;
226
- roleLevel: number;
227
- roleType: number;
228
- }[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
229
-
230
- declare const setCompanyPaymentMethods: (input: z.infer<typeof SetCompanyPaymentMethodsSchema>) => Effect.Effect<Record<string, never>, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
231
-
232
- export { AssignSalesStaffResponseSchema, AssignSalesStaffSchema, CompanyExtraFieldSchema, CompanyRoleSchema, CreateCompanyResponseSchema, CreateCompanySchema, CreateCompanyUserResponseSchema, CreateCompanyUserSchema, GetCompanyExtraFieldsCriteriaSchema, GetCompanyExtraFieldsResponseSchema, GetCompanyRolesCriteriaSchema, type GetCompanyRolesResponse, GetCompanyRolesResponseSchema, SetCompanyCreditResponseSchema, SetCompanyCreditSchema, SetCompanyPaymentMethodsResponseSchema, SetCompanyPaymentMethodsSchema, assignSalesStaffToCompany, createCompany, createCompanyUser, findCompanyExtraFields, findCompanyRoles, getAllCompanyExtraFieldsBy, getAllCompanyRolesBy, setCompanyCredit, setCompanyPaymentMethods };