@digital8/lighting-illusions-ts-sdk 0.0.2087 → 0.0.2089

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 (404) hide show
  1. package/.openapi-generator/FILES +0 -168
  2. package/README.md +2 -115
  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/AddressFrontendResource.d.ts +1 -1
  12. package/dist/models/AddressFrontendResource.js +1 -3
  13. package/dist/models/AddressResource.d.ts +1 -19
  14. package/dist/models/AddressResource.js +8 -14
  15. package/dist/models/CreateStoreRequestAddress.d.ts +0 -6
  16. package/dist/models/CreateStoreRequestAddress.js +0 -2
  17. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  18. package/dist/models/ExternalApiLogResource.js +1 -3
  19. package/dist/models/ProductChildFrontendResource.d.ts +3 -2
  20. package/dist/models/ProductChildFrontendResource.js +3 -2
  21. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
  22. package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
  23. package/dist/models/SearchProductsRequest.d.ts +14 -0
  24. package/dist/models/SearchProductsRequest.js +10 -1
  25. package/dist/models/SitePaymentConfigResource.d.ts +0 -6
  26. package/dist/models/SitePaymentConfigResource.js +0 -4
  27. package/dist/models/StoreFrontendResource.d.ts +2 -2
  28. package/dist/models/StoreFrontendResource.js +4 -4
  29. package/dist/models/StoreListResource.d.ts +1 -1
  30. package/dist/models/StoreListResource.js +3 -1
  31. package/dist/models/StoreResource.d.ts +1 -1
  32. package/dist/models/StoreResource.js +3 -1
  33. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  34. package/dist/models/StoreSpecialDateResource.js +3 -1
  35. package/dist/models/UpdateSiteRequest.d.ts +0 -6
  36. package/dist/models/UpdateSiteRequest.js +0 -4
  37. package/dist/models/index.d.ts +0 -80
  38. package/dist/models/index.js +0 -80
  39. package/docs/AddressResource.md +0 -6
  40. package/docs/AdminApi.md +0 -66
  41. package/docs/CreateStoreRequestAddress.md +0 -2
  42. package/docs/ProductApi.md +0 -66
  43. package/docs/ProductChildFrontendResource.md +1 -1
  44. package/docs/ProductChildSiteDetailLiteResource.md +0 -2
  45. package/docs/SearchProductsRequest.md +2 -0
  46. package/docs/SiteApi.md +0 -66
  47. package/docs/SitePaymentConfigResource.md +0 -2
  48. package/docs/StoreSpecialDateResource.md +1 -1
  49. package/docs/UpdateSiteRequest.md +0 -2
  50. package/package.json +1 -1
  51. package/src/apis/AdminApi.ts +0 -54
  52. package/src/apis/ProductApi.ts +0 -49
  53. package/src/apis/SiteApi.ts +0 -54
  54. package/src/apis/index.ts +0 -4
  55. package/src/models/AddressFrontendResource.ts +2 -3
  56. package/src/models/AddressResource.ts +9 -33
  57. package/src/models/CreateStoreRequestAddress.ts +0 -8
  58. package/src/models/ExternalApiLogResource.ts +2 -3
  59. package/src/models/ProductChildFrontendResource.ts +11 -4
  60. package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
  61. package/src/models/SearchProductsRequest.ts +17 -0
  62. package/src/models/SitePaymentConfigResource.ts +0 -9
  63. package/src/models/StoreFrontendResource.ts +5 -5
  64. package/src/models/StoreListResource.ts +3 -2
  65. package/src/models/StoreResource.ts +3 -2
  66. package/src/models/StoreSpecialDateResource.ts +4 -3
  67. package/src/models/UpdateSiteRequest.ts +0 -9
  68. package/src/models/index.ts +0 -80
  69. package/dist/apis/CartsApi.d.ts +0 -215
  70. package/dist/apis/CartsApi.js +0 -814
  71. package/dist/apis/CustomersApi.d.ts +0 -66
  72. package/dist/apis/CustomersApi.js +0 -258
  73. package/dist/apis/OrdersApi.d.ts +0 -213
  74. package/dist/apis/OrdersApi.js +0 -811
  75. package/dist/apis/TransactionsApi.d.ts +0 -69
  76. package/dist/apis/TransactionsApi.js +0 -262
  77. package/dist/models/AddressType.d.ts +0 -25
  78. package/dist/models/AddressType.js +0 -51
  79. package/dist/models/AdminNoteResource.d.ts +0 -57
  80. package/dist/models/AdminNoteResource.js +0 -64
  81. package/dist/models/AdminNoteResourceArrayResponse.d.ts +0 -33
  82. package/dist/models/AdminNoteResourceArrayResponse.js +0 -50
  83. package/dist/models/AdminOrderResource.d.ts +0 -282
  84. package/dist/models/AdminOrderResource.js +0 -211
  85. package/dist/models/AdminOrderResourceArrayResponse.d.ts +0 -33
  86. package/dist/models/AdminOrderResourceArrayResponse.js +0 -50
  87. package/dist/models/AttachCouponRequest.d.ts +0 -32
  88. package/dist/models/AttachCouponRequest.js +0 -51
  89. package/dist/models/AttachLineItemRequest.d.ts +0 -44
  90. package/dist/models/AttachLineItemRequest.js +0 -57
  91. package/dist/models/CartCouponResource.d.ts +0 -50
  92. package/dist/models/CartCouponResource.js +0 -63
  93. package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
  94. package/dist/models/CartCouponResourceArrayResponse.js +0 -50
  95. package/dist/models/CartListResource.d.ts +0 -89
  96. package/dist/models/CartListResource.js +0 -82
  97. package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
  98. package/dist/models/CartListResourceArrayResponse.js +0 -50
  99. package/dist/models/CartOrderSource.d.ts +0 -25
  100. package/dist/models/CartOrderSource.js +0 -51
  101. package/dist/models/CartResource.d.ts +0 -235
  102. package/dist/models/CartResource.js +0 -170
  103. package/dist/models/CartResourceArrayResponse.d.ts +0 -33
  104. package/dist/models/CartResourceArrayResponse.js +0 -50
  105. package/dist/models/CartStatus.d.ts +0 -26
  106. package/dist/models/CartStatus.js +0 -52
  107. package/dist/models/CreateCartRequest.d.ts +0 -167
  108. package/dist/models/CreateCartRequest.js +0 -113
  109. package/dist/models/CreateCartRequestItemsInner.d.ts +0 -44
  110. package/dist/models/CreateCartRequestItemsInner.js +0 -57
  111. package/dist/models/CreateCartRequestShippingAddress.d.ts +0 -74
  112. package/dist/models/CreateCartRequestShippingAddress.js +0 -63
  113. package/dist/models/CreateCustomerRequest.d.ts +0 -56
  114. package/dist/models/CreateCustomerRequest.js +0 -65
  115. package/dist/models/CreateTransactionRequest.d.ts +0 -87
  116. package/dist/models/CreateTransactionRequest.js +0 -80
  117. package/dist/models/CustomerListResource.d.ts +0 -63
  118. package/dist/models/CustomerListResource.js +0 -70
  119. package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
  120. package/dist/models/CustomerListResourceArrayResponse.js +0 -50
  121. package/dist/models/CustomerResource.d.ts +0 -70
  122. package/dist/models/CustomerResource.js +0 -75
  123. package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
  124. package/dist/models/CustomerResourceArrayResponse.js +0 -50
  125. package/dist/models/DetachCouponRequest.d.ts +0 -32
  126. package/dist/models/DetachCouponRequest.js +0 -51
  127. package/dist/models/DiscountResource.d.ts +0 -68
  128. package/dist/models/DiscountResource.js +0 -73
  129. package/dist/models/DiscountResourceArrayResponse.d.ts +0 -33
  130. package/dist/models/DiscountResourceArrayResponse.js +0 -50
  131. package/dist/models/DiscountType.d.ts +0 -26
  132. package/dist/models/DiscountType.js +0 -52
  133. package/dist/models/DiscountValueType.d.ts +0 -25
  134. package/dist/models/DiscountValueType.js +0 -51
  135. package/dist/models/LiAddressResource.d.ts +0 -86
  136. package/dist/models/LiAddressResource.js +0 -83
  137. package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
  138. package/dist/models/LiAddressResourceArrayResponse.js +0 -50
  139. package/dist/models/LiAdminUserLiteResource.d.ts +0 -50
  140. package/dist/models/LiAdminUserLiteResource.js +0 -61
  141. package/dist/models/LiAdminUserLiteResourceArrayResponse.d.ts +0 -33
  142. package/dist/models/LiAdminUserLiteResourceArrayResponse.js +0 -50
  143. package/dist/models/LineItemDiscountResource.d.ts +0 -50
  144. package/dist/models/LineItemDiscountResource.js +0 -63
  145. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +0 -33
  146. package/dist/models/LineItemDiscountResourceArrayResponse.js +0 -50
  147. package/dist/models/LineItemListResource.d.ts +0 -89
  148. package/dist/models/LineItemListResource.js +0 -90
  149. package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
  150. package/dist/models/LineItemListResourceArrayResponse.js +0 -50
  151. package/dist/models/OmnisendSyncLiteResource.d.ts +0 -44
  152. package/dist/models/OmnisendSyncLiteResource.js +0 -59
  153. package/dist/models/OmnisendSyncLiteResourceArrayResponse.d.ts +0 -33
  154. package/dist/models/OmnisendSyncLiteResourceArrayResponse.js +0 -50
  155. package/dist/models/OrderListResource.d.ts +0 -103
  156. package/dist/models/OrderListResource.js +0 -94
  157. package/dist/models/OrderListResourceArrayResponse.d.ts +0 -33
  158. package/dist/models/OrderListResourceArrayResponse.js +0 -50
  159. package/dist/models/OrderLiteResource.d.ts +0 -62
  160. package/dist/models/OrderLiteResource.js +0 -67
  161. package/dist/models/OrderLiteResourceArrayResponse.d.ts +0 -33
  162. package/dist/models/OrderLiteResourceArrayResponse.js +0 -50
  163. package/dist/models/OrderOmnisendEvent.d.ts +0 -25
  164. package/dist/models/OrderOmnisendEvent.js +0 -51
  165. package/dist/models/OrderStatusLiteResource.d.ts +0 -44
  166. package/dist/models/OrderStatusLiteResource.js +0 -59
  167. package/dist/models/OrderStatusLiteResourceArrayResponse.d.ts +0 -33
  168. package/dist/models/OrderStatusLiteResourceArrayResponse.js +0 -50
  169. package/dist/models/OrderStatusWithCountResource.d.ts +0 -50
  170. package/dist/models/OrderStatusWithCountResource.js +0 -63
  171. package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +0 -33
  172. package/dist/models/OrderStatusWithCountResourceArrayResponse.js +0 -50
  173. package/dist/models/PaginatedAdminNoteResourceResponse.d.ts +0 -40
  174. package/dist/models/PaginatedAdminNoteResourceResponse.js +0 -57
  175. package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
  176. package/dist/models/PaginatedCartListResourceResponse.js +0 -57
  177. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
  178. package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
  179. package/dist/models/PaginatedOrderListResourceResponse.d.ts +0 -40
  180. package/dist/models/PaginatedOrderListResourceResponse.js +0 -57
  181. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
  182. package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
  183. package/dist/models/PaginatedTransactionResourceResponse.d.ts +0 -40
  184. package/dist/models/PaginatedTransactionResourceResponse.js +0 -57
  185. package/dist/models/PaymentMethod.d.ts +0 -30
  186. package/dist/models/PaymentMethod.js +0 -56
  187. package/dist/models/PaymentSource.d.ts +0 -26
  188. package/dist/models/PaymentSource.js +0 -52
  189. package/dist/models/PaymentStatus.d.ts +0 -25
  190. package/dist/models/PaymentStatus.js +0 -51
  191. package/dist/models/ProductChildLineItemLiteResource.d.ts +0 -88
  192. package/dist/models/ProductChildLineItemLiteResource.js +0 -89
  193. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.d.ts +0 -33
  194. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.js +0 -50
  195. package/dist/models/RefundTransactionRequest.d.ts +0 -38
  196. package/dist/models/RefundTransactionRequest.js +0 -53
  197. package/dist/models/SearchAdminNotesRequest.d.ts +0 -102
  198. package/dist/models/SearchAdminNotesRequest.js +0 -82
  199. package/dist/models/SearchAllOrdersRequest.d.ts +0 -105
  200. package/dist/models/SearchAllOrdersRequest.js +0 -85
  201. package/dist/models/SearchCartsRequest.d.ts +0 -146
  202. package/dist/models/SearchCartsRequest.js +0 -98
  203. package/dist/models/SearchCustomersRequest.d.ts +0 -99
  204. package/dist/models/SearchCustomersRequest.js +0 -83
  205. package/dist/models/SearchOrdersRequest.d.ts +0 -153
  206. package/dist/models/SearchOrdersRequest.js +0 -101
  207. package/dist/models/SearchTransactionsRequest.d.ts +0 -135
  208. package/dist/models/SearchTransactionsRequest.js +0 -98
  209. package/dist/models/ShippingType.d.ts +0 -28
  210. package/dist/models/ShippingType.js +0 -54
  211. package/dist/models/SkuSearchProductChildRequest.d.ts +0 -38
  212. package/dist/models/SkuSearchProductChildRequest.js +0 -55
  213. package/dist/models/StoreTransactionResource.d.ts +0 -39
  214. package/dist/models/StoreTransactionResource.js +0 -56
  215. package/dist/models/StoreTransactionResourceArrayResponse.d.ts +0 -33
  216. package/dist/models/StoreTransactionResourceArrayResponse.js +0 -50
  217. package/dist/models/TransactionListResource.d.ts +0 -116
  218. package/dist/models/TransactionListResource.js +0 -97
  219. package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
  220. package/dist/models/TransactionListResourceArrayResponse.js +0 -50
  221. package/dist/models/TransactionLiteResource.d.ts +0 -98
  222. package/dist/models/TransactionLiteResource.js +0 -89
  223. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +0 -33
  224. package/dist/models/TransactionLiteResourceArrayResponse.js +0 -50
  225. package/dist/models/TransactionResource.d.ts +0 -128
  226. package/dist/models/TransactionResource.js +0 -101
  227. package/dist/models/TransactionResourceArrayResponse.d.ts +0 -33
  228. package/dist/models/TransactionResourceArrayResponse.js +0 -50
  229. package/dist/models/TransactionType.d.ts +0 -25
  230. package/dist/models/TransactionType.js +0 -51
  231. package/dist/models/UpdateCartRequest.d.ts +0 -148
  232. package/dist/models/UpdateCartRequest.js +0 -100
  233. package/dist/models/UpdateLineItemRequest.d.ts +0 -38
  234. package/dist/models/UpdateLineItemRequest.js +0 -53
  235. package/dist/models/UpdateOrderRequest.d.ts +0 -130
  236. package/dist/models/UpdateOrderRequest.js +0 -104
  237. package/docs/AddressType.md +0 -32
  238. package/docs/AdminNoteResource.md +0 -42
  239. package/docs/AdminNoteResourceArrayResponse.md +0 -34
  240. package/docs/AdminOrderResource.md +0 -114
  241. package/docs/AdminOrderResourceArrayResponse.md +0 -34
  242. package/docs/AttachCouponRequest.md +0 -34
  243. package/docs/AttachLineItemRequest.md +0 -38
  244. package/docs/CartCouponResource.md +0 -40
  245. package/docs/CartCouponResourceArrayResponse.md +0 -34
  246. package/docs/CartListResource.md +0 -52
  247. package/docs/CartListResourceArrayResponse.md +0 -34
  248. package/docs/CartOrderSource.md +0 -32
  249. package/docs/CartResource.md +0 -100
  250. package/docs/CartResourceArrayResponse.md +0 -34
  251. package/docs/CartStatus.md +0 -32
  252. package/docs/CartsApi.md +0 -821
  253. package/docs/CreateCartRequest.md +0 -72
  254. package/docs/CreateCartRequestItemsInner.md +0 -38
  255. package/docs/CreateCartRequestShippingAddress.md +0 -48
  256. package/docs/CreateCustomerRequest.md +0 -42
  257. package/docs/CreateTransactionRequest.md +0 -48
  258. package/docs/CustomerListResource.md +0 -44
  259. package/docs/CustomerListResourceArrayResponse.md +0 -34
  260. package/docs/CustomerResource.md +0 -46
  261. package/docs/CustomerResourceArrayResponse.md +0 -34
  262. package/docs/CustomersApi.md +0 -206
  263. package/docs/DetachCouponRequest.md +0 -34
  264. package/docs/DiscountResource.md +0 -46
  265. package/docs/DiscountResourceArrayResponse.md +0 -34
  266. package/docs/DiscountType.md +0 -32
  267. package/docs/DiscountValueType.md +0 -32
  268. package/docs/LiAddressResource.md +0 -52
  269. package/docs/LiAddressResourceArrayResponse.md +0 -34
  270. package/docs/LiAdminUserLiteResource.md +0 -40
  271. package/docs/LiAdminUserLiteResourceArrayResponse.md +0 -34
  272. package/docs/LineItemDiscountResource.md +0 -40
  273. package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
  274. package/docs/LineItemListResource.md +0 -52
  275. package/docs/LineItemListResourceArrayResponse.md +0 -34
  276. package/docs/OmnisendSyncLiteResource.md +0 -38
  277. package/docs/OmnisendSyncLiteResourceArrayResponse.md +0 -34
  278. package/docs/OrderListResource.md +0 -56
  279. package/docs/OrderListResourceArrayResponse.md +0 -34
  280. package/docs/OrderLiteResource.md +0 -44
  281. package/docs/OrderLiteResourceArrayResponse.md +0 -34
  282. package/docs/OrderOmnisendEvent.md +0 -32
  283. package/docs/OrderStatusLiteResource.md +0 -38
  284. package/docs/OrderStatusLiteResourceArrayResponse.md +0 -34
  285. package/docs/OrderStatusWithCountResource.md +0 -40
  286. package/docs/OrderStatusWithCountResourceArrayResponse.md +0 -34
  287. package/docs/OrdersApi.md +0 -813
  288. package/docs/PaginatedAdminNoteResourceResponse.md +0 -36
  289. package/docs/PaginatedCartListResourceResponse.md +0 -36
  290. package/docs/PaginatedCustomerListResourceResponse.md +0 -36
  291. package/docs/PaginatedOrderListResourceResponse.md +0 -36
  292. package/docs/PaginatedTransactionListResourceResponse.md +0 -36
  293. package/docs/PaginatedTransactionResourceResponse.md +0 -36
  294. package/docs/PaymentMethod.md +0 -32
  295. package/docs/PaymentSource.md +0 -32
  296. package/docs/PaymentStatus.md +0 -32
  297. package/docs/ProductChildLineItemLiteResource.md +0 -52
  298. package/docs/ProductChildLineItemLiteResourceArrayResponse.md +0 -34
  299. package/docs/RefundTransactionRequest.md +0 -36
  300. package/docs/SearchAdminNotesRequest.md +0 -52
  301. package/docs/SearchAllOrdersRequest.md +0 -52
  302. package/docs/SearchCartsRequest.md +0 -66
  303. package/docs/SearchCustomersRequest.md +0 -50
  304. package/docs/SearchOrdersRequest.md +0 -68
  305. package/docs/SearchTransactionsRequest.md +0 -60
  306. package/docs/ShippingType.md +0 -32
  307. package/docs/SkuSearchProductChildRequest.md +0 -36
  308. package/docs/StoreTransactionResource.md +0 -36
  309. package/docs/StoreTransactionResourceArrayResponse.md +0 -34
  310. package/docs/TransactionListResource.md +0 -62
  311. package/docs/TransactionListResourceArrayResponse.md +0 -34
  312. package/docs/TransactionLiteResource.md +0 -56
  313. package/docs/TransactionLiteResourceArrayResponse.md +0 -34
  314. package/docs/TransactionResource.md +0 -66
  315. package/docs/TransactionResourceArrayResponse.md +0 -34
  316. package/docs/TransactionType.md +0 -32
  317. package/docs/TransactionsApi.md +0 -209
  318. package/docs/UpdateCartRequest.md +0 -66
  319. package/docs/UpdateLineItemRequest.md +0 -36
  320. package/docs/UpdateOrderRequest.md +0 -60
  321. package/src/apis/CartsApi.ts +0 -693
  322. package/src/apis/CustomersApi.ts +0 -179
  323. package/src/apis/OrdersApi.ts +0 -686
  324. package/src/apis/TransactionsApi.ts +0 -193
  325. package/src/models/AddressType.ts +0 -53
  326. package/src/models/AdminNoteResource.ts +0 -108
  327. package/src/models/AdminNoteResourceArrayResponse.ts +0 -73
  328. package/src/models/AdminOrderResource.ts +0 -492
  329. package/src/models/AdminOrderResourceArrayResponse.ts +0 -73
  330. package/src/models/AttachCouponRequest.ts +0 -66
  331. package/src/models/AttachLineItemRequest.ts +0 -83
  332. package/src/models/CartCouponResource.ts +0 -93
  333. package/src/models/CartCouponResourceArrayResponse.ts +0 -73
  334. package/src/models/CartListResource.ts +0 -165
  335. package/src/models/CartListResourceArrayResponse.ts +0 -73
  336. package/src/models/CartOrderSource.ts +0 -53
  337. package/src/models/CartResource.ts +0 -390
  338. package/src/models/CartResourceArrayResponse.ts +0 -73
  339. package/src/models/CartStatus.ts +0 -54
  340. package/src/models/CreateCartRequest.ts +0 -258
  341. package/src/models/CreateCartRequestItemsInner.ts +0 -83
  342. package/src/models/CreateCartRequestShippingAddress.ts +0 -121
  343. package/src/models/CreateCustomerRequest.ts +0 -101
  344. package/src/models/CreateTransactionRequest.ts +0 -139
  345. package/src/models/CustomerListResource.ts +0 -118
  346. package/src/models/CustomerListResourceArrayResponse.ts +0 -73
  347. package/src/models/CustomerResource.ts +0 -134
  348. package/src/models/CustomerResourceArrayResponse.ts +0 -73
  349. package/src/models/DetachCouponRequest.ts +0 -66
  350. package/src/models/DiscountResource.ts +0 -119
  351. package/src/models/DiscountResourceArrayResponse.ts +0 -73
  352. package/src/models/DiscountType.ts +0 -54
  353. package/src/models/DiscountValueType.ts +0 -53
  354. package/src/models/LiAddressResource.ts +0 -145
  355. package/src/models/LiAddressResourceArrayResponse.ts +0 -73
  356. package/src/models/LiAdminUserLiteResource.ts +0 -92
  357. package/src/models/LiAdminUserLiteResourceArrayResponse.ts +0 -73
  358. package/src/models/LineItemDiscountResource.ts +0 -93
  359. package/src/models/LineItemDiscountResourceArrayResponse.ts +0 -73
  360. package/src/models/LineItemListResource.ts +0 -169
  361. package/src/models/LineItemListResourceArrayResponse.ts +0 -73
  362. package/src/models/OmnisendSyncLiteResource.ts +0 -84
  363. package/src/models/OmnisendSyncLiteResourceArrayResponse.ts +0 -73
  364. package/src/models/OrderListResource.ts +0 -198
  365. package/src/models/OrderListResourceArrayResponse.ts +0 -73
  366. package/src/models/OrderLiteResource.ts +0 -109
  367. package/src/models/OrderLiteResourceArrayResponse.ts +0 -73
  368. package/src/models/OrderOmnisendEvent.ts +0 -53
  369. package/src/models/OrderStatusLiteResource.ts +0 -84
  370. package/src/models/OrderStatusLiteResourceArrayResponse.ts +0 -73
  371. package/src/models/OrderStatusWithCountResource.ts +0 -93
  372. package/src/models/OrderStatusWithCountResourceArrayResponse.ts +0 -73
  373. package/src/models/PaginatedAdminNoteResourceResponse.ts +0 -90
  374. package/src/models/PaginatedCartListResourceResponse.ts +0 -90
  375. package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
  376. package/src/models/PaginatedOrderListResourceResponse.ts +0 -90
  377. package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
  378. package/src/models/PaginatedTransactionResourceResponse.ts +0 -90
  379. package/src/models/PaymentMethod.ts +0 -58
  380. package/src/models/PaymentSource.ts +0 -54
  381. package/src/models/PaymentStatus.ts +0 -53
  382. package/src/models/ProductChildLineItemLiteResource.ts +0 -162
  383. package/src/models/ProductChildLineItemLiteResourceArrayResponse.ts +0 -73
  384. package/src/models/RefundTransactionRequest.ts +0 -74
  385. package/src/models/SearchAdminNotesRequest.ts +0 -157
  386. package/src/models/SearchAllOrdersRequest.ts +0 -160
  387. package/src/models/SearchCartsRequest.ts +0 -215
  388. package/src/models/SearchCustomersRequest.ts +0 -152
  389. package/src/models/SearchOrdersRequest.ts +0 -224
  390. package/src/models/SearchTransactionsRequest.ts +0 -199
  391. package/src/models/ShippingType.ts +0 -56
  392. package/src/models/SkuSearchProductChildRequest.ts +0 -75
  393. package/src/models/StoreTransactionResource.ts +0 -83
  394. package/src/models/StoreTransactionResourceArrayResponse.ts +0 -73
  395. package/src/models/TransactionListResource.ts +0 -187
  396. package/src/models/TransactionListResourceArrayResponse.ts +0 -73
  397. package/src/models/TransactionLiteResource.ts +0 -162
  398. package/src/models/TransactionLiteResourceArrayResponse.ts +0 -73
  399. package/src/models/TransactionResource.ts +0 -203
  400. package/src/models/TransactionResourceArrayResponse.ts +0 -73
  401. package/src/models/TransactionType.ts +0 -53
  402. package/src/models/UpdateCartRequest.ts +0 -224
  403. package/src/models/UpdateLineItemRequest.ts +0 -74
  404. 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
-