@digital8/lighting-illusions-ts-sdk 0.0.2156 → 0.0.2157

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 (423) hide show
  1. package/.openapi-generator/FILES +0 -186
  2. package/README.md +2 -125
  3. package/dist/apis/AdminApi.d.ts +0 -17
  4. package/dist/apis/AdminApi.js +0 -60
  5. package/dist/apis/ProductApi.d.ts +0 -16
  6. package/dist/apis/ProductApi.js +0 -59
  7. package/dist/apis/SiteApi.d.ts +0 -16
  8. package/dist/apis/SiteApi.js +0 -60
  9. package/dist/apis/index.d.ts +0 -4
  10. package/dist/apis/index.js +0 -4
  11. package/dist/models/AddressResource.d.ts +2 -20
  12. package/dist/models/AddressResource.js +10 -14
  13. package/dist/models/CreateStoreRequestAddress.d.ts +0 -6
  14. package/dist/models/CreateStoreRequestAddress.js +0 -2
  15. package/dist/models/ProductChildResource.d.ts +0 -6
  16. package/dist/models/ProductChildResource.js +0 -4
  17. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
  18. package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
  19. package/dist/models/SitePaymentConfigResource.d.ts +0 -6
  20. package/dist/models/SitePaymentConfigResource.js +0 -4
  21. package/dist/models/StoreFrontendResource.d.ts +2 -2
  22. package/dist/models/StoreFrontendResource.js +6 -2
  23. package/dist/models/StoreResource.d.ts +2 -2
  24. package/dist/models/StoreResource.js +6 -2
  25. package/dist/models/UpdateSiteRequest.d.ts +0 -6
  26. package/dist/models/UpdateSiteRequest.js +0 -4
  27. package/dist/models/index.d.ts +0 -89
  28. package/dist/models/index.js +0 -89
  29. package/docs/AddressResource.md +0 -6
  30. package/docs/AdminApi.md +0 -66
  31. package/docs/CreateStoreRequestAddress.md +0 -2
  32. package/docs/ProductApi.md +0 -66
  33. package/docs/ProductChildResource.md +0 -2
  34. package/docs/ProductChildSiteDetailLiteResource.md +0 -2
  35. package/docs/SiteApi.md +0 -66
  36. package/docs/SitePaymentConfigResource.md +0 -2
  37. package/docs/UpdateSiteRequest.md +0 -2
  38. package/package.json +1 -1
  39. package/src/apis/AdminApi.ts +0 -54
  40. package/src/apis/ProductApi.ts +0 -49
  41. package/src/apis/SiteApi.ts +0 -54
  42. package/src/apis/index.ts +0 -4
  43. package/src/models/AddressResource.ts +11 -34
  44. package/src/models/CreateStoreRequestAddress.ts +0 -8
  45. package/src/models/ProductChildResource.ts +0 -9
  46. package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
  47. package/src/models/SitePaymentConfigResource.ts +0 -9
  48. package/src/models/StoreFrontendResource.ts +6 -4
  49. package/src/models/StoreResource.ts +6 -4
  50. package/src/models/UpdateSiteRequest.ts +0 -9
  51. package/src/models/index.ts +0 -89
  52. package/dist/apis/CartsApi.d.ts +0 -215
  53. package/dist/apis/CartsApi.js +0 -814
  54. package/dist/apis/CustomersApi.d.ts +0 -66
  55. package/dist/apis/CustomersApi.js +0 -258
  56. package/dist/apis/OrdersApi.d.ts +0 -230
  57. package/dist/apis/OrdersApi.js +0 -871
  58. package/dist/apis/TransactionsApi.d.ts +0 -69
  59. package/dist/apis/TransactionsApi.js +0 -262
  60. package/dist/models/AddressType.d.ts +0 -25
  61. package/dist/models/AddressType.js +0 -51
  62. package/dist/models/AdminNoteResource.d.ts +0 -57
  63. package/dist/models/AdminNoteResource.js +0 -64
  64. package/dist/models/AdminNoteResourceArrayResponse.d.ts +0 -33
  65. package/dist/models/AdminNoteResourceArrayResponse.js +0 -50
  66. package/dist/models/AdminOrderLineItemResource.d.ts +0 -124
  67. package/dist/models/AdminOrderLineItemResource.js +0 -113
  68. package/dist/models/AdminOrderLineItemResourceArrayResponse.d.ts +0 -33
  69. package/dist/models/AdminOrderLineItemResourceArrayResponse.js +0 -50
  70. package/dist/models/AdminOrderResource.d.ts +0 -301
  71. package/dist/models/AdminOrderResource.js +0 -224
  72. package/dist/models/AdminOrderResourceArrayResponse.d.ts +0 -33
  73. package/dist/models/AdminOrderResourceArrayResponse.js +0 -50
  74. package/dist/models/AttachCouponRequest.d.ts +0 -32
  75. package/dist/models/AttachCouponRequest.js +0 -51
  76. package/dist/models/AttachLineItemRequest.d.ts +0 -44
  77. package/dist/models/AttachLineItemRequest.js +0 -57
  78. package/dist/models/CartCouponResource.d.ts +0 -50
  79. package/dist/models/CartCouponResource.js +0 -63
  80. package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
  81. package/dist/models/CartCouponResourceArrayResponse.js +0 -50
  82. package/dist/models/CartListResource.d.ts +0 -89
  83. package/dist/models/CartListResource.js +0 -82
  84. package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
  85. package/dist/models/CartListResourceArrayResponse.js +0 -50
  86. package/dist/models/CartOrderSource.d.ts +0 -25
  87. package/dist/models/CartOrderSource.js +0 -51
  88. package/dist/models/CartResource.d.ts +0 -235
  89. package/dist/models/CartResource.js +0 -170
  90. package/dist/models/CartResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/CartResourceArrayResponse.js +0 -50
  92. package/dist/models/CartStatus.d.ts +0 -26
  93. package/dist/models/CartStatus.js +0 -52
  94. package/dist/models/CreateCartRequest.d.ts +0 -167
  95. package/dist/models/CreateCartRequest.js +0 -113
  96. package/dist/models/CreateCartRequestItemsInner.d.ts +0 -44
  97. package/dist/models/CreateCartRequestItemsInner.js +0 -57
  98. package/dist/models/CreateCartRequestShippingAddress.d.ts +0 -74
  99. package/dist/models/CreateCartRequestShippingAddress.js +0 -63
  100. package/dist/models/CreateCustomerRequest.d.ts +0 -56
  101. package/dist/models/CreateCustomerRequest.js +0 -65
  102. package/dist/models/CreateTransactionRequest.d.ts +0 -87
  103. package/dist/models/CreateTransactionRequest.js +0 -80
  104. package/dist/models/CustomerListResource.d.ts +0 -63
  105. package/dist/models/CustomerListResource.js +0 -70
  106. package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
  107. package/dist/models/CustomerListResourceArrayResponse.js +0 -50
  108. package/dist/models/CustomerResource.d.ts +0 -70
  109. package/dist/models/CustomerResource.js +0 -75
  110. package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
  111. package/dist/models/CustomerResourceArrayResponse.js +0 -50
  112. package/dist/models/DetachCouponRequest.d.ts +0 -32
  113. package/dist/models/DetachCouponRequest.js +0 -51
  114. package/dist/models/DiscountResource.d.ts +0 -68
  115. package/dist/models/DiscountResource.js +0 -73
  116. package/dist/models/DiscountResourceArrayResponse.d.ts +0 -33
  117. package/dist/models/DiscountResourceArrayResponse.js +0 -50
  118. package/dist/models/DiscountType.d.ts +0 -26
  119. package/dist/models/DiscountType.js +0 -52
  120. package/dist/models/DiscountValueType.d.ts +0 -25
  121. package/dist/models/DiscountValueType.js +0 -51
  122. package/dist/models/LiAddressResource.d.ts +0 -86
  123. package/dist/models/LiAddressResource.js +0 -83
  124. package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
  125. package/dist/models/LiAddressResourceArrayResponse.js +0 -50
  126. package/dist/models/LiAdminUserLiteResource.d.ts +0 -50
  127. package/dist/models/LiAdminUserLiteResource.js +0 -61
  128. package/dist/models/LiAdminUserLiteResourceArrayResponse.d.ts +0 -33
  129. package/dist/models/LiAdminUserLiteResourceArrayResponse.js +0 -50
  130. package/dist/models/LineItemDiscountResource.d.ts +0 -50
  131. package/dist/models/LineItemDiscountResource.js +0 -63
  132. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +0 -33
  133. package/dist/models/LineItemDiscountResourceArrayResponse.js +0 -50
  134. package/dist/models/LineItemListResource.d.ts +0 -89
  135. package/dist/models/LineItemListResource.js +0 -90
  136. package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
  137. package/dist/models/LineItemListResourceArrayResponse.js +0 -50
  138. package/dist/models/OmnisendSyncLiteResource.d.ts +0 -44
  139. package/dist/models/OmnisendSyncLiteResource.js +0 -59
  140. package/dist/models/OmnisendSyncLiteResourceArrayResponse.d.ts +0 -33
  141. package/dist/models/OmnisendSyncLiteResourceArrayResponse.js +0 -50
  142. package/dist/models/OrderFulfillmentLineItemResource.d.ts +0 -45
  143. package/dist/models/OrderFulfillmentLineItemResource.js +0 -60
  144. package/dist/models/OrderFulfillmentLineItemResourceArrayResponse.d.ts +0 -33
  145. package/dist/models/OrderFulfillmentLineItemResourceArrayResponse.js +0 -50
  146. package/dist/models/OrderFulfillmentResource.d.ts +0 -93
  147. package/dist/models/OrderFulfillmentResource.js +0 -86
  148. package/dist/models/OrderFulfillmentResourceArrayResponse.d.ts +0 -33
  149. package/dist/models/OrderFulfillmentResourceArrayResponse.js +0 -50
  150. package/dist/models/OrderListResource.d.ts +0 -109
  151. package/dist/models/OrderListResource.js +0 -98
  152. package/dist/models/OrderListResourceArrayResponse.d.ts +0 -33
  153. package/dist/models/OrderListResourceArrayResponse.js +0 -50
  154. package/dist/models/OrderLiteResource.d.ts +0 -62
  155. package/dist/models/OrderLiteResource.js +0 -67
  156. package/dist/models/OrderLiteResourceArrayResponse.d.ts +0 -33
  157. package/dist/models/OrderLiteResourceArrayResponse.js +0 -50
  158. package/dist/models/OrderOmnisendEvent.d.ts +0 -25
  159. package/dist/models/OrderOmnisendEvent.js +0 -51
  160. package/dist/models/OrderStatusId.d.ts +0 -37
  161. package/dist/models/OrderStatusId.js +0 -63
  162. package/dist/models/OrderStatusLiteResource.d.ts +0 -44
  163. package/dist/models/OrderStatusLiteResource.js +0 -59
  164. package/dist/models/OrderStatusLiteResourceArrayResponse.d.ts +0 -33
  165. package/dist/models/OrderStatusLiteResourceArrayResponse.js +0 -50
  166. package/dist/models/OrderStatusWithCountResource.d.ts +0 -50
  167. package/dist/models/OrderStatusWithCountResource.js +0 -63
  168. package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +0 -33
  169. package/dist/models/OrderStatusWithCountResourceArrayResponse.js +0 -50
  170. package/dist/models/PaginatedAdminNoteResourceResponse.d.ts +0 -40
  171. package/dist/models/PaginatedAdminNoteResourceResponse.js +0 -57
  172. package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
  173. package/dist/models/PaginatedCartListResourceResponse.js +0 -57
  174. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
  175. package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
  176. package/dist/models/PaginatedOrderFulfillmentResourceResponse.d.ts +0 -40
  177. package/dist/models/PaginatedOrderFulfillmentResourceResponse.js +0 -57
  178. package/dist/models/PaginatedOrderListResourceResponse.d.ts +0 -40
  179. package/dist/models/PaginatedOrderListResourceResponse.js +0 -57
  180. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
  181. package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
  182. package/dist/models/PaginatedTransactionResourceResponse.d.ts +0 -40
  183. package/dist/models/PaginatedTransactionResourceResponse.js +0 -57
  184. package/dist/models/PaymentMethod.d.ts +0 -30
  185. package/dist/models/PaymentMethod.js +0 -56
  186. package/dist/models/PaymentSource.d.ts +0 -26
  187. package/dist/models/PaymentSource.js +0 -52
  188. package/dist/models/PaymentStatus.d.ts +0 -25
  189. package/dist/models/PaymentStatus.js +0 -51
  190. package/dist/models/ProductChildLineItemLiteResource.d.ts +0 -88
  191. package/dist/models/ProductChildLineItemLiteResource.js +0 -89
  192. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.d.ts +0 -33
  193. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.js +0 -50
  194. package/dist/models/RefundTransactionRequest.d.ts +0 -38
  195. package/dist/models/RefundTransactionRequest.js +0 -53
  196. package/dist/models/SearchAdminNotesRequest.d.ts +0 -102
  197. package/dist/models/SearchAdminNotesRequest.js +0 -82
  198. package/dist/models/SearchAllOrdersRequest.d.ts +0 -105
  199. package/dist/models/SearchAllOrdersRequest.js +0 -85
  200. package/dist/models/SearchCartsRequest.d.ts +0 -146
  201. package/dist/models/SearchCartsRequest.js +0 -98
  202. package/dist/models/SearchCustomersRequest.d.ts +0 -99
  203. package/dist/models/SearchCustomersRequest.js +0 -83
  204. package/dist/models/SearchOrderFulfillmentsRequest.d.ts +0 -120
  205. package/dist/models/SearchOrderFulfillmentsRequest.js +0 -88
  206. package/dist/models/SearchOrdersRequest.d.ts +0 -153
  207. package/dist/models/SearchOrdersRequest.js +0 -101
  208. package/dist/models/SearchTransactionsRequest.d.ts +0 -135
  209. package/dist/models/SearchTransactionsRequest.js +0 -98
  210. package/dist/models/ShippingType.d.ts +0 -28
  211. package/dist/models/ShippingType.js +0 -54
  212. package/dist/models/SkuSearchProductChildRequest.d.ts +0 -38
  213. package/dist/models/SkuSearchProductChildRequest.js +0 -55
  214. package/dist/models/StoreTransactionResource.d.ts +0 -39
  215. package/dist/models/StoreTransactionResource.js +0 -56
  216. package/dist/models/StoreTransactionResourceArrayResponse.d.ts +0 -33
  217. package/dist/models/StoreTransactionResourceArrayResponse.js +0 -50
  218. package/dist/models/TransactionListResource.d.ts +0 -116
  219. package/dist/models/TransactionListResource.js +0 -97
  220. package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
  221. package/dist/models/TransactionListResourceArrayResponse.js +0 -50
  222. package/dist/models/TransactionLiteResource.d.ts +0 -98
  223. package/dist/models/TransactionLiteResource.js +0 -89
  224. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +0 -33
  225. package/dist/models/TransactionLiteResourceArrayResponse.js +0 -50
  226. package/dist/models/TransactionResource.d.ts +0 -128
  227. package/dist/models/TransactionResource.js +0 -101
  228. package/dist/models/TransactionResourceArrayResponse.d.ts +0 -33
  229. package/dist/models/TransactionResourceArrayResponse.js +0 -50
  230. package/dist/models/TransactionType.d.ts +0 -25
  231. package/dist/models/TransactionType.js +0 -51
  232. package/dist/models/UpdateCartRequest.d.ts +0 -148
  233. package/dist/models/UpdateCartRequest.js +0 -100
  234. package/dist/models/UpdateLineItemRequest.d.ts +0 -38
  235. package/dist/models/UpdateLineItemRequest.js +0 -53
  236. package/dist/models/UpdateOrderRequest.d.ts +0 -130
  237. package/dist/models/UpdateOrderRequest.js +0 -104
  238. package/docs/AddressType.md +0 -32
  239. package/docs/AdminNoteResource.md +0 -42
  240. package/docs/AdminNoteResourceArrayResponse.md +0 -34
  241. package/docs/AdminOrderLineItemResource.md +0 -64
  242. package/docs/AdminOrderLineItemResourceArrayResponse.md +0 -34
  243. package/docs/AdminOrderResource.md +0 -120
  244. package/docs/AdminOrderResourceArrayResponse.md +0 -34
  245. package/docs/AttachCouponRequest.md +0 -34
  246. package/docs/AttachLineItemRequest.md +0 -38
  247. package/docs/CartCouponResource.md +0 -40
  248. package/docs/CartCouponResourceArrayResponse.md +0 -34
  249. package/docs/CartListResource.md +0 -52
  250. package/docs/CartListResourceArrayResponse.md +0 -34
  251. package/docs/CartOrderSource.md +0 -32
  252. package/docs/CartResource.md +0 -100
  253. package/docs/CartResourceArrayResponse.md +0 -34
  254. package/docs/CartStatus.md +0 -32
  255. package/docs/CartsApi.md +0 -821
  256. package/docs/CreateCartRequest.md +0 -72
  257. package/docs/CreateCartRequestItemsInner.md +0 -38
  258. package/docs/CreateCartRequestShippingAddress.md +0 -48
  259. package/docs/CreateCustomerRequest.md +0 -42
  260. package/docs/CreateTransactionRequest.md +0 -48
  261. package/docs/CustomerListResource.md +0 -44
  262. package/docs/CustomerListResourceArrayResponse.md +0 -34
  263. package/docs/CustomerResource.md +0 -46
  264. package/docs/CustomerResourceArrayResponse.md +0 -34
  265. package/docs/CustomersApi.md +0 -206
  266. package/docs/DetachCouponRequest.md +0 -34
  267. package/docs/DiscountResource.md +0 -46
  268. package/docs/DiscountResourceArrayResponse.md +0 -34
  269. package/docs/DiscountType.md +0 -32
  270. package/docs/DiscountValueType.md +0 -32
  271. package/docs/LiAddressResource.md +0 -52
  272. package/docs/LiAddressResourceArrayResponse.md +0 -34
  273. package/docs/LiAdminUserLiteResource.md +0 -40
  274. package/docs/LiAdminUserLiteResourceArrayResponse.md +0 -34
  275. package/docs/LineItemDiscountResource.md +0 -40
  276. package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
  277. package/docs/LineItemListResource.md +0 -52
  278. package/docs/LineItemListResourceArrayResponse.md +0 -34
  279. package/docs/OmnisendSyncLiteResource.md +0 -38
  280. package/docs/OmnisendSyncLiteResourceArrayResponse.md +0 -34
  281. package/docs/OrderFulfillmentLineItemResource.md +0 -38
  282. package/docs/OrderFulfillmentLineItemResourceArrayResponse.md +0 -34
  283. package/docs/OrderFulfillmentResource.md +0 -54
  284. package/docs/OrderFulfillmentResourceArrayResponse.md +0 -34
  285. package/docs/OrderListResource.md +0 -58
  286. package/docs/OrderListResourceArrayResponse.md +0 -34
  287. package/docs/OrderLiteResource.md +0 -44
  288. package/docs/OrderLiteResourceArrayResponse.md +0 -34
  289. package/docs/OrderOmnisendEvent.md +0 -32
  290. package/docs/OrderStatusId.md +0 -32
  291. package/docs/OrderStatusLiteResource.md +0 -38
  292. package/docs/OrderStatusLiteResourceArrayResponse.md +0 -34
  293. package/docs/OrderStatusWithCountResource.md +0 -40
  294. package/docs/OrderStatusWithCountResourceArrayResponse.md +0 -34
  295. package/docs/OrdersApi.md +0 -879
  296. package/docs/PaginatedAdminNoteResourceResponse.md +0 -36
  297. package/docs/PaginatedCartListResourceResponse.md +0 -36
  298. package/docs/PaginatedCustomerListResourceResponse.md +0 -36
  299. package/docs/PaginatedOrderFulfillmentResourceResponse.md +0 -36
  300. package/docs/PaginatedOrderListResourceResponse.md +0 -36
  301. package/docs/PaginatedTransactionListResourceResponse.md +0 -36
  302. package/docs/PaginatedTransactionResourceResponse.md +0 -36
  303. package/docs/PaymentMethod.md +0 -32
  304. package/docs/PaymentSource.md +0 -32
  305. package/docs/PaymentStatus.md +0 -32
  306. package/docs/ProductChildLineItemLiteResource.md +0 -52
  307. package/docs/ProductChildLineItemLiteResourceArrayResponse.md +0 -34
  308. package/docs/RefundTransactionRequest.md +0 -36
  309. package/docs/SearchAdminNotesRequest.md +0 -52
  310. package/docs/SearchAllOrdersRequest.md +0 -52
  311. package/docs/SearchCartsRequest.md +0 -66
  312. package/docs/SearchCustomersRequest.md +0 -50
  313. package/docs/SearchOrderFulfillmentsRequest.md +0 -58
  314. package/docs/SearchOrdersRequest.md +0 -68
  315. package/docs/SearchTransactionsRequest.md +0 -60
  316. package/docs/ShippingType.md +0 -32
  317. package/docs/SkuSearchProductChildRequest.md +0 -36
  318. package/docs/StoreTransactionResource.md +0 -36
  319. package/docs/StoreTransactionResourceArrayResponse.md +0 -34
  320. package/docs/TransactionListResource.md +0 -62
  321. package/docs/TransactionListResourceArrayResponse.md +0 -34
  322. package/docs/TransactionLiteResource.md +0 -56
  323. package/docs/TransactionLiteResourceArrayResponse.md +0 -34
  324. package/docs/TransactionResource.md +0 -66
  325. package/docs/TransactionResourceArrayResponse.md +0 -34
  326. package/docs/TransactionType.md +0 -32
  327. package/docs/TransactionsApi.md +0 -209
  328. package/docs/UpdateCartRequest.md +0 -66
  329. package/docs/UpdateLineItemRequest.md +0 -36
  330. package/docs/UpdateOrderRequest.md +0 -60
  331. package/src/apis/CartsApi.ts +0 -693
  332. package/src/apis/CustomersApi.ts +0 -179
  333. package/src/apis/OrdersApi.ts +0 -740
  334. package/src/apis/TransactionsApi.ts +0 -193
  335. package/src/models/AddressType.ts +0 -53
  336. package/src/models/AdminNoteResource.ts +0 -108
  337. package/src/models/AdminNoteResourceArrayResponse.ts +0 -73
  338. package/src/models/AdminOrderLineItemResource.ts +0 -216
  339. package/src/models/AdminOrderLineItemResourceArrayResponse.ts +0 -73
  340. package/src/models/AdminOrderResource.ts +0 -526
  341. package/src/models/AdminOrderResourceArrayResponse.ts +0 -73
  342. package/src/models/AttachCouponRequest.ts +0 -66
  343. package/src/models/AttachLineItemRequest.ts +0 -83
  344. package/src/models/CartCouponResource.ts +0 -93
  345. package/src/models/CartCouponResourceArrayResponse.ts +0 -73
  346. package/src/models/CartListResource.ts +0 -165
  347. package/src/models/CartListResourceArrayResponse.ts +0 -73
  348. package/src/models/CartOrderSource.ts +0 -53
  349. package/src/models/CartResource.ts +0 -390
  350. package/src/models/CartResourceArrayResponse.ts +0 -73
  351. package/src/models/CartStatus.ts +0 -54
  352. package/src/models/CreateCartRequest.ts +0 -258
  353. package/src/models/CreateCartRequestItemsInner.ts +0 -83
  354. package/src/models/CreateCartRequestShippingAddress.ts +0 -121
  355. package/src/models/CreateCustomerRequest.ts +0 -101
  356. package/src/models/CreateTransactionRequest.ts +0 -139
  357. package/src/models/CustomerListResource.ts +0 -118
  358. package/src/models/CustomerListResourceArrayResponse.ts +0 -73
  359. package/src/models/CustomerResource.ts +0 -134
  360. package/src/models/CustomerResourceArrayResponse.ts +0 -73
  361. package/src/models/DetachCouponRequest.ts +0 -66
  362. package/src/models/DiscountResource.ts +0 -119
  363. package/src/models/DiscountResourceArrayResponse.ts +0 -73
  364. package/src/models/DiscountType.ts +0 -54
  365. package/src/models/DiscountValueType.ts +0 -53
  366. package/src/models/LiAddressResource.ts +0 -145
  367. package/src/models/LiAddressResourceArrayResponse.ts +0 -73
  368. package/src/models/LiAdminUserLiteResource.ts +0 -92
  369. package/src/models/LiAdminUserLiteResourceArrayResponse.ts +0 -73
  370. package/src/models/LineItemDiscountResource.ts +0 -93
  371. package/src/models/LineItemDiscountResourceArrayResponse.ts +0 -73
  372. package/src/models/LineItemListResource.ts +0 -169
  373. package/src/models/LineItemListResourceArrayResponse.ts +0 -73
  374. package/src/models/OmnisendSyncLiteResource.ts +0 -84
  375. package/src/models/OmnisendSyncLiteResourceArrayResponse.ts +0 -73
  376. package/src/models/OrderFulfillmentLineItemResource.ts +0 -92
  377. package/src/models/OrderFulfillmentLineItemResourceArrayResponse.ts +0 -73
  378. package/src/models/OrderFulfillmentResource.ts +0 -161
  379. package/src/models/OrderFulfillmentResourceArrayResponse.ts +0 -73
  380. package/src/models/OrderListResource.ts +0 -207
  381. package/src/models/OrderListResourceArrayResponse.ts +0 -73
  382. package/src/models/OrderLiteResource.ts +0 -109
  383. package/src/models/OrderLiteResourceArrayResponse.ts +0 -73
  384. package/src/models/OrderOmnisendEvent.ts +0 -53
  385. package/src/models/OrderStatusId.ts +0 -65
  386. package/src/models/OrderStatusLiteResource.ts +0 -84
  387. package/src/models/OrderStatusLiteResourceArrayResponse.ts +0 -73
  388. package/src/models/OrderStatusWithCountResource.ts +0 -93
  389. package/src/models/OrderStatusWithCountResourceArrayResponse.ts +0 -73
  390. package/src/models/PaginatedAdminNoteResourceResponse.ts +0 -90
  391. package/src/models/PaginatedCartListResourceResponse.ts +0 -90
  392. package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
  393. package/src/models/PaginatedOrderFulfillmentResourceResponse.ts +0 -90
  394. package/src/models/PaginatedOrderListResourceResponse.ts +0 -90
  395. package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
  396. package/src/models/PaginatedTransactionResourceResponse.ts +0 -90
  397. package/src/models/PaymentMethod.ts +0 -58
  398. package/src/models/PaymentSource.ts +0 -54
  399. package/src/models/PaymentStatus.ts +0 -53
  400. package/src/models/ProductChildLineItemLiteResource.ts +0 -162
  401. package/src/models/ProductChildLineItemLiteResourceArrayResponse.ts +0 -73
  402. package/src/models/RefundTransactionRequest.ts +0 -74
  403. package/src/models/SearchAdminNotesRequest.ts +0 -157
  404. package/src/models/SearchAllOrdersRequest.ts +0 -160
  405. package/src/models/SearchCartsRequest.ts +0 -215
  406. package/src/models/SearchCustomersRequest.ts +0 -152
  407. package/src/models/SearchOrderFulfillmentsRequest.ts +0 -181
  408. package/src/models/SearchOrdersRequest.ts +0 -224
  409. package/src/models/SearchTransactionsRequest.ts +0 -199
  410. package/src/models/ShippingType.ts +0 -56
  411. package/src/models/SkuSearchProductChildRequest.ts +0 -75
  412. package/src/models/StoreTransactionResource.ts +0 -83
  413. package/src/models/StoreTransactionResourceArrayResponse.ts +0 -73
  414. package/src/models/TransactionListResource.ts +0 -187
  415. package/src/models/TransactionListResourceArrayResponse.ts +0 -73
  416. package/src/models/TransactionLiteResource.ts +0 -162
  417. package/src/models/TransactionLiteResourceArrayResponse.ts +0 -73
  418. package/src/models/TransactionResource.ts +0 -203
  419. package/src/models/TransactionResourceArrayResponse.ts +0 -73
  420. package/src/models/TransactionType.ts +0 -53
  421. package/src/models/UpdateCartRequest.ts +0 -224
  422. package/src/models/UpdateLineItemRequest.ts +0 -74
  423. package/src/models/UpdateOrderRequest.ts +0 -205
package/docs/CartsApi.md DELETED
@@ -1,821 +0,0 @@
1
- # CartsApi
2
-
3
- All URIs are relative to *http://localhost/api*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**attachCouponCart**](CartsApi.md#attachcouponcart) | **POST** /admin-api/carts/{cart}/coupons/attach | Auto-generated: attachCouponCart |
8
- | [**attachItemCart**](CartsApi.md#attachitemcart) | **POST** /admin-api/carts/{cart}/items/attach | Auto-generated: attachItemCart |
9
- | [**destroyCart**](CartsApi.md#destroycart) | **DELETE** /admin-api/carts/{cart}/delete | Auto-generated: destroyCart |
10
- | [**detachCouponCart**](CartsApi.md#detachcouponcart) | **DELETE** /admin-api/carts/{cart}/coupons/detach | Auto-generated: detachCouponCart |
11
- | [**detachItemCart**](CartsApi.md#detachitemcart) | **DELETE** /admin-api/carts/{cart}/items/{lineItem}/detach | Auto-generated: detachItemCart |
12
- | [**indexCart**](CartsApi.md#indexcart) | **POST** /admin-api/carts/list | Auto-generated: indexCart |
13
- | [**sendPaymentLinkCart**](CartsApi.md#sendpaymentlinkcart) | **POST** /admin-api/carts/{cart}/send-payment-link | Auto-generated: sendPaymentLinkCart |
14
- | [**showCart**](CartsApi.md#showcart) | **GET** /admin-api/carts/{cart} | Auto-generated: showCart |
15
- | [**storeCart**](CartsApi.md#storecart) | **POST** /admin-api/carts/create | Auto-generated: storeCart |
16
- | [**storeFromCartOrder**](CartsApi.md#storefromcartorder) | **POST** /admin-api/carts/{cart}/place-order | Auto-generated: storeFromCartOrder |
17
- | [**updateCart**](CartsApi.md#updatecartoperation) | **PUT** /admin-api/carts/{cart}/update | Auto-generated: updateCart |
18
- | [**updateItemCart**](CartsApi.md#updateitemcart) | **PUT** /admin-api/carts/{cart}/items/{lineItem}/update | Auto-generated: updateItemCart |
19
-
20
-
21
-
22
- ## attachCouponCart
23
-
24
- > CartResource attachCouponCart(cart, attachCouponRequest)
25
-
26
- Auto-generated: attachCouponCart
27
-
28
- ### Example
29
-
30
- ```ts
31
- import {
32
- Configuration,
33
- CartsApi,
34
- } from '@digital8/lighting-illusions-ts-sdk';
35
- import type { AttachCouponCartRequest } from '@digital8/lighting-illusions-ts-sdk';
36
-
37
- async function example() {
38
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
39
- const api = new CartsApi();
40
-
41
- const body = {
42
- // number | The id of the cart
43
- cart: 56,
44
- // AttachCouponRequest (optional)
45
- attachCouponRequest: ...,
46
- } satisfies AttachCouponCartRequest;
47
-
48
- try {
49
- const data = await api.attachCouponCart(body);
50
- console.log(data);
51
- } catch (error) {
52
- console.error(error);
53
- }
54
- }
55
-
56
- // Run the test
57
- example().catch(console.error);
58
- ```
59
-
60
- ### Parameters
61
-
62
-
63
- | Name | Type | Description | Notes |
64
- |------------- | ------------- | ------------- | -------------|
65
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
66
- | **attachCouponRequest** | [AttachCouponRequest](AttachCouponRequest.md) | | [Optional] |
67
-
68
- ### Return type
69
-
70
- [**CartResource**](CartResource.md)
71
-
72
- ### Authorization
73
-
74
- No authorization required
75
-
76
- ### HTTP request headers
77
-
78
- - **Content-Type**: `application/json`
79
- - **Accept**: `application/json`
80
-
81
-
82
- ### HTTP response details
83
- | Status code | Description | Response headers |
84
- |-------------|-------------|------------------|
85
- | **200** | Successful resource response | - |
86
-
87
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
88
-
89
-
90
- ## attachItemCart
91
-
92
- > CartResource attachItemCart(cart, attachLineItemRequest)
93
-
94
- Auto-generated: attachItemCart
95
-
96
- ### Example
97
-
98
- ```ts
99
- import {
100
- Configuration,
101
- CartsApi,
102
- } from '@digital8/lighting-illusions-ts-sdk';
103
- import type { AttachItemCartRequest } from '@digital8/lighting-illusions-ts-sdk';
104
-
105
- async function example() {
106
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
107
- const api = new CartsApi();
108
-
109
- const body = {
110
- // number | The id of the cart
111
- cart: 56,
112
- // AttachLineItemRequest (optional)
113
- attachLineItemRequest: ...,
114
- } satisfies AttachItemCartRequest;
115
-
116
- try {
117
- const data = await api.attachItemCart(body);
118
- console.log(data);
119
- } catch (error) {
120
- console.error(error);
121
- }
122
- }
123
-
124
- // Run the test
125
- example().catch(console.error);
126
- ```
127
-
128
- ### Parameters
129
-
130
-
131
- | Name | Type | Description | Notes |
132
- |------------- | ------------- | ------------- | -------------|
133
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
134
- | **attachLineItemRequest** | [AttachLineItemRequest](AttachLineItemRequest.md) | | [Optional] |
135
-
136
- ### Return type
137
-
138
- [**CartResource**](CartResource.md)
139
-
140
- ### Authorization
141
-
142
- No authorization required
143
-
144
- ### HTTP request headers
145
-
146
- - **Content-Type**: `application/json`
147
- - **Accept**: `application/json`
148
-
149
-
150
- ### HTTP response details
151
- | Status code | Description | Response headers |
152
- |-------------|-------------|------------------|
153
- | **200** | Successful resource response | - |
154
-
155
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
156
-
157
-
158
- ## destroyCart
159
-
160
- > GenericResponse destroyCart(cart)
161
-
162
- Auto-generated: destroyCart
163
-
164
- ### Example
165
-
166
- ```ts
167
- import {
168
- Configuration,
169
- CartsApi,
170
- } from '@digital8/lighting-illusions-ts-sdk';
171
- import type { DestroyCartRequest } from '@digital8/lighting-illusions-ts-sdk';
172
-
173
- async function example() {
174
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
175
- const api = new CartsApi();
176
-
177
- const body = {
178
- // number | The id of the cart
179
- cart: 56,
180
- } satisfies DestroyCartRequest;
181
-
182
- try {
183
- const data = await api.destroyCart(body);
184
- console.log(data);
185
- } catch (error) {
186
- console.error(error);
187
- }
188
- }
189
-
190
- // Run the test
191
- example().catch(console.error);
192
- ```
193
-
194
- ### Parameters
195
-
196
-
197
- | Name | Type | Description | Notes |
198
- |------------- | ------------- | ------------- | -------------|
199
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
200
-
201
- ### Return type
202
-
203
- [**GenericResponse**](GenericResponse.md)
204
-
205
- ### Authorization
206
-
207
- No authorization required
208
-
209
- ### HTTP request headers
210
-
211
- - **Content-Type**: Not defined
212
- - **Accept**: `application/json`
213
-
214
-
215
- ### HTTP response details
216
- | Status code | Description | Response headers |
217
- |-------------|-------------|------------------|
218
- | **200** | \\JsonResponse | - |
219
-
220
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
221
-
222
-
223
- ## detachCouponCart
224
-
225
- > CartResource detachCouponCart(cart, detachCouponRequest)
226
-
227
- Auto-generated: detachCouponCart
228
-
229
- ### Example
230
-
231
- ```ts
232
- import {
233
- Configuration,
234
- CartsApi,
235
- } from '@digital8/lighting-illusions-ts-sdk';
236
- import type { DetachCouponCartRequest } from '@digital8/lighting-illusions-ts-sdk';
237
-
238
- async function example() {
239
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
240
- const api = new CartsApi();
241
-
242
- const body = {
243
- // number | The id of the cart
244
- cart: 56,
245
- // DetachCouponRequest (optional)
246
- detachCouponRequest: ...,
247
- } satisfies DetachCouponCartRequest;
248
-
249
- try {
250
- const data = await api.detachCouponCart(body);
251
- console.log(data);
252
- } catch (error) {
253
- console.error(error);
254
- }
255
- }
256
-
257
- // Run the test
258
- example().catch(console.error);
259
- ```
260
-
261
- ### Parameters
262
-
263
-
264
- | Name | Type | Description | Notes |
265
- |------------- | ------------- | ------------- | -------------|
266
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
267
- | **detachCouponRequest** | [DetachCouponRequest](DetachCouponRequest.md) | | [Optional] |
268
-
269
- ### Return type
270
-
271
- [**CartResource**](CartResource.md)
272
-
273
- ### Authorization
274
-
275
- No authorization required
276
-
277
- ### HTTP request headers
278
-
279
- - **Content-Type**: `application/json`
280
- - **Accept**: `application/json`
281
-
282
-
283
- ### HTTP response details
284
- | Status code | Description | Response headers |
285
- |-------------|-------------|------------------|
286
- | **200** | Successful resource response | - |
287
-
288
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
289
-
290
-
291
- ## detachItemCart
292
-
293
- > CartResource detachItemCart(cart, lineItem)
294
-
295
- Auto-generated: detachItemCart
296
-
297
- ### Example
298
-
299
- ```ts
300
- import {
301
- Configuration,
302
- CartsApi,
303
- } from '@digital8/lighting-illusions-ts-sdk';
304
- import type { DetachItemCartRequest } from '@digital8/lighting-illusions-ts-sdk';
305
-
306
- async function example() {
307
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
308
- const api = new CartsApi();
309
-
310
- const body = {
311
- // number | The id of the cart
312
- cart: 56,
313
- // number | The id of the lineItem
314
- lineItem: 56,
315
- } satisfies DetachItemCartRequest;
316
-
317
- try {
318
- const data = await api.detachItemCart(body);
319
- console.log(data);
320
- } catch (error) {
321
- console.error(error);
322
- }
323
- }
324
-
325
- // Run the test
326
- example().catch(console.error);
327
- ```
328
-
329
- ### Parameters
330
-
331
-
332
- | Name | Type | Description | Notes |
333
- |------------- | ------------- | ------------- | -------------|
334
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
335
- | **lineItem** | `number` | The id of the lineItem | [Defaults to `undefined`] |
336
-
337
- ### Return type
338
-
339
- [**CartResource**](CartResource.md)
340
-
341
- ### Authorization
342
-
343
- No authorization required
344
-
345
- ### HTTP request headers
346
-
347
- - **Content-Type**: Not defined
348
- - **Accept**: `application/json`
349
-
350
-
351
- ### HTTP response details
352
- | Status code | Description | Response headers |
353
- |-------------|-------------|------------------|
354
- | **200** | Successful resource response | - |
355
-
356
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
357
-
358
-
359
- ## indexCart
360
-
361
- > PaginatedCartListResourceResponse indexCart(searchCartsRequest)
362
-
363
- Auto-generated: indexCart
364
-
365
- ### Example
366
-
367
- ```ts
368
- import {
369
- Configuration,
370
- CartsApi,
371
- } from '@digital8/lighting-illusions-ts-sdk';
372
- import type { IndexCartRequest } from '@digital8/lighting-illusions-ts-sdk';
373
-
374
- async function example() {
375
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
376
- const api = new CartsApi();
377
-
378
- const body = {
379
- // SearchCartsRequest (optional)
380
- searchCartsRequest: ...,
381
- } satisfies IndexCartRequest;
382
-
383
- try {
384
- const data = await api.indexCart(body);
385
- console.log(data);
386
- } catch (error) {
387
- console.error(error);
388
- }
389
- }
390
-
391
- // Run the test
392
- example().catch(console.error);
393
- ```
394
-
395
- ### Parameters
396
-
397
-
398
- | Name | Type | Description | Notes |
399
- |------------- | ------------- | ------------- | -------------|
400
- | **searchCartsRequest** | [SearchCartsRequest](SearchCartsRequest.md) | | [Optional] |
401
-
402
- ### Return type
403
-
404
- [**PaginatedCartListResourceResponse**](PaginatedCartListResourceResponse.md)
405
-
406
- ### Authorization
407
-
408
- No authorization required
409
-
410
- ### HTTP request headers
411
-
412
- - **Content-Type**: `application/json`
413
- - **Accept**: `application/json`
414
-
415
-
416
- ### HTTP response details
417
- | Status code | Description | Response headers |
418
- |-------------|-------------|------------------|
419
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\CartListResource[]>> | - |
420
-
421
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
422
-
423
-
424
- ## sendPaymentLinkCart
425
-
426
- > CartResource sendPaymentLinkCart(cart)
427
-
428
- Auto-generated: sendPaymentLinkCart
429
-
430
- ### Example
431
-
432
- ```ts
433
- import {
434
- Configuration,
435
- CartsApi,
436
- } from '@digital8/lighting-illusions-ts-sdk';
437
- import type { SendPaymentLinkCartRequest } from '@digital8/lighting-illusions-ts-sdk';
438
-
439
- async function example() {
440
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
441
- const api = new CartsApi();
442
-
443
- const body = {
444
- // number | The id of the cart
445
- cart: 56,
446
- } satisfies SendPaymentLinkCartRequest;
447
-
448
- try {
449
- const data = await api.sendPaymentLinkCart(body);
450
- console.log(data);
451
- } catch (error) {
452
- console.error(error);
453
- }
454
- }
455
-
456
- // Run the test
457
- example().catch(console.error);
458
- ```
459
-
460
- ### Parameters
461
-
462
-
463
- | Name | Type | Description | Notes |
464
- |------------- | ------------- | ------------- | -------------|
465
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
466
-
467
- ### Return type
468
-
469
- [**CartResource**](CartResource.md)
470
-
471
- ### Authorization
472
-
473
- No authorization required
474
-
475
- ### HTTP request headers
476
-
477
- - **Content-Type**: Not defined
478
- - **Accept**: `application/json`
479
-
480
-
481
- ### HTTP response details
482
- | Status code | Description | Response headers |
483
- |-------------|-------------|------------------|
484
- | **200** | Successful resource response | - |
485
-
486
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
487
-
488
-
489
- ## showCart
490
-
491
- > CartResource showCart(cart)
492
-
493
- Auto-generated: showCart
494
-
495
- ### Example
496
-
497
- ```ts
498
- import {
499
- Configuration,
500
- CartsApi,
501
- } from '@digital8/lighting-illusions-ts-sdk';
502
- import type { ShowCartRequest } from '@digital8/lighting-illusions-ts-sdk';
503
-
504
- async function example() {
505
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
506
- const api = new CartsApi();
507
-
508
- const body = {
509
- // number | The id of the cart
510
- cart: 56,
511
- } satisfies ShowCartRequest;
512
-
513
- try {
514
- const data = await api.showCart(body);
515
- console.log(data);
516
- } catch (error) {
517
- console.error(error);
518
- }
519
- }
520
-
521
- // Run the test
522
- example().catch(console.error);
523
- ```
524
-
525
- ### Parameters
526
-
527
-
528
- | Name | Type | Description | Notes |
529
- |------------- | ------------- | ------------- | -------------|
530
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
531
-
532
- ### Return type
533
-
534
- [**CartResource**](CartResource.md)
535
-
536
- ### Authorization
537
-
538
- No authorization required
539
-
540
- ### HTTP request headers
541
-
542
- - **Content-Type**: Not defined
543
- - **Accept**: `application/json`
544
-
545
-
546
- ### HTTP response details
547
- | Status code | Description | Response headers |
548
- |-------------|-------------|------------------|
549
- | **200** | Successful resource response | - |
550
-
551
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
552
-
553
-
554
- ## storeCart
555
-
556
- > CartResource storeCart(createCartRequest)
557
-
558
- Auto-generated: storeCart
559
-
560
- ### Example
561
-
562
- ```ts
563
- import {
564
- Configuration,
565
- CartsApi,
566
- } from '@digital8/lighting-illusions-ts-sdk';
567
- import type { StoreCartRequest } from '@digital8/lighting-illusions-ts-sdk';
568
-
569
- async function example() {
570
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
571
- const api = new CartsApi();
572
-
573
- const body = {
574
- // CreateCartRequest (optional)
575
- createCartRequest: ...,
576
- } satisfies StoreCartRequest;
577
-
578
- try {
579
- const data = await api.storeCart(body);
580
- console.log(data);
581
- } catch (error) {
582
- console.error(error);
583
- }
584
- }
585
-
586
- // Run the test
587
- example().catch(console.error);
588
- ```
589
-
590
- ### Parameters
591
-
592
-
593
- | Name | Type | Description | Notes |
594
- |------------- | ------------- | ------------- | -------------|
595
- | **createCartRequest** | [CreateCartRequest](CreateCartRequest.md) | | [Optional] |
596
-
597
- ### Return type
598
-
599
- [**CartResource**](CartResource.md)
600
-
601
- ### Authorization
602
-
603
- No authorization required
604
-
605
- ### HTTP request headers
606
-
607
- - **Content-Type**: `application/json`
608
- - **Accept**: `application/json`
609
-
610
-
611
- ### HTTP response details
612
- | Status code | Description | Response headers |
613
- |-------------|-------------|------------------|
614
- | **200** | Successful resource response | - |
615
-
616
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
617
-
618
-
619
- ## storeFromCartOrder
620
-
621
- > AdminOrderResource storeFromCartOrder(cart)
622
-
623
- Auto-generated: storeFromCartOrder
624
-
625
- ### Example
626
-
627
- ```ts
628
- import {
629
- Configuration,
630
- CartsApi,
631
- } from '@digital8/lighting-illusions-ts-sdk';
632
- import type { StoreFromCartOrderRequest } from '@digital8/lighting-illusions-ts-sdk';
633
-
634
- async function example() {
635
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
636
- const api = new CartsApi();
637
-
638
- const body = {
639
- // number | The id of the cart
640
- cart: 56,
641
- } satisfies StoreFromCartOrderRequest;
642
-
643
- try {
644
- const data = await api.storeFromCartOrder(body);
645
- console.log(data);
646
- } catch (error) {
647
- console.error(error);
648
- }
649
- }
650
-
651
- // Run the test
652
- example().catch(console.error);
653
- ```
654
-
655
- ### Parameters
656
-
657
-
658
- | Name | Type | Description | Notes |
659
- |------------- | ------------- | ------------- | -------------|
660
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
661
-
662
- ### Return type
663
-
664
- [**AdminOrderResource**](AdminOrderResource.md)
665
-
666
- ### Authorization
667
-
668
- No authorization required
669
-
670
- ### HTTP request headers
671
-
672
- - **Content-Type**: Not defined
673
- - **Accept**: `application/json`
674
-
675
-
676
- ### HTTP response details
677
- | Status code | Description | Response headers |
678
- |-------------|-------------|------------------|
679
- | **200** | Successful resource response | - |
680
-
681
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
682
-
683
-
684
- ## updateCart
685
-
686
- > CartResource updateCart(cart, updateCartRequest)
687
-
688
- Auto-generated: updateCart
689
-
690
- ### Example
691
-
692
- ```ts
693
- import {
694
- Configuration,
695
- CartsApi,
696
- } from '@digital8/lighting-illusions-ts-sdk';
697
- import type { UpdateCartOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
698
-
699
- async function example() {
700
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
701
- const api = new CartsApi();
702
-
703
- const body = {
704
- // number | The id of the cart
705
- cart: 56,
706
- // UpdateCartRequest (optional)
707
- updateCartRequest: ...,
708
- } satisfies UpdateCartOperationRequest;
709
-
710
- try {
711
- const data = await api.updateCart(body);
712
- console.log(data);
713
- } catch (error) {
714
- console.error(error);
715
- }
716
- }
717
-
718
- // Run the test
719
- example().catch(console.error);
720
- ```
721
-
722
- ### Parameters
723
-
724
-
725
- | Name | Type | Description | Notes |
726
- |------------- | ------------- | ------------- | -------------|
727
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
728
- | **updateCartRequest** | [UpdateCartRequest](UpdateCartRequest.md) | | [Optional] |
729
-
730
- ### Return type
731
-
732
- [**CartResource**](CartResource.md)
733
-
734
- ### Authorization
735
-
736
- No authorization required
737
-
738
- ### HTTP request headers
739
-
740
- - **Content-Type**: `application/json`
741
- - **Accept**: `application/json`
742
-
743
-
744
- ### HTTP response details
745
- | Status code | Description | Response headers |
746
- |-------------|-------------|------------------|
747
- | **200** | Successful resource response | - |
748
-
749
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
750
-
751
-
752
- ## updateItemCart
753
-
754
- > CartResource updateItemCart(cart, lineItem, updateLineItemRequest)
755
-
756
- Auto-generated: updateItemCart
757
-
758
- ### Example
759
-
760
- ```ts
761
- import {
762
- Configuration,
763
- CartsApi,
764
- } from '@digital8/lighting-illusions-ts-sdk';
765
- import type { UpdateItemCartRequest } from '@digital8/lighting-illusions-ts-sdk';
766
-
767
- async function example() {
768
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
769
- const api = new CartsApi();
770
-
771
- const body = {
772
- // number | The id of the cart
773
- cart: 56,
774
- // number | The id of the lineItem
775
- lineItem: 56,
776
- // UpdateLineItemRequest (optional)
777
- updateLineItemRequest: ...,
778
- } satisfies UpdateItemCartRequest;
779
-
780
- try {
781
- const data = await api.updateItemCart(body);
782
- console.log(data);
783
- } catch (error) {
784
- console.error(error);
785
- }
786
- }
787
-
788
- // Run the test
789
- example().catch(console.error);
790
- ```
791
-
792
- ### Parameters
793
-
794
-
795
- | Name | Type | Description | Notes |
796
- |------------- | ------------- | ------------- | -------------|
797
- | **cart** | `number` | The id of the cart | [Defaults to `undefined`] |
798
- | **lineItem** | `number` | The id of the lineItem | [Defaults to `undefined`] |
799
- | **updateLineItemRequest** | [UpdateLineItemRequest](UpdateLineItemRequest.md) | | [Optional] |
800
-
801
- ### Return type
802
-
803
- [**CartResource**](CartResource.md)
804
-
805
- ### Authorization
806
-
807
- No authorization required
808
-
809
- ### HTTP request headers
810
-
811
- - **Content-Type**: `application/json`
812
- - **Accept**: `application/json`
813
-
814
-
815
- ### HTTP response details
816
- | Status code | Description | Response headers |
817
- |-------------|-------------|------------------|
818
- | **200** | Successful resource response | - |
819
-
820
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
821
-