@digital8/lighting-illusions-ts-sdk 0.0.2187 → 0.0.2189

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 (527) hide show
  1. package/.openapi-generator/FILES +0 -236
  2. package/README.md +2 -156
  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 -5
  10. package/dist/apis/index.js +0 -5
  11. package/dist/models/AddressResource.d.ts +1 -19
  12. package/dist/models/AddressResource.js +6 -16
  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/StoreListResource.d.ts +1 -1
  22. package/dist/models/StoreListResource.js +1 -3
  23. package/dist/models/StoreResource.d.ts +2 -2
  24. package/dist/models/StoreResource.js +4 -4
  25. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  26. package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
  27. package/dist/models/UpdateSiteRequest.d.ts +0 -6
  28. package/dist/models/UpdateSiteRequest.js +0 -4
  29. package/dist/models/index.d.ts +0 -113
  30. package/dist/models/index.js +0 -113
  31. package/docs/AddressResource.md +0 -6
  32. package/docs/AdminApi.md +0 -66
  33. package/docs/CreateStoreRequestAddress.md +0 -2
  34. package/docs/ProductApi.md +0 -66
  35. package/docs/ProductChildResource.md +0 -2
  36. package/docs/ProductChildSiteDetailLiteResource.md +0 -2
  37. package/docs/SiteApi.md +0 -66
  38. package/docs/SitePaymentConfigResource.md +0 -2
  39. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  40. package/docs/UpdateSiteRequest.md +0 -2
  41. package/package.json +1 -1
  42. package/src/apis/AdminApi.ts +0 -54
  43. package/src/apis/ProductApi.ts +0 -49
  44. package/src/apis/SiteApi.ts +0 -54
  45. package/src/apis/index.ts +0 -5
  46. package/src/models/AddressResource.ts +7 -33
  47. package/src/models/CreateStoreRequestAddress.ts +0 -8
  48. package/src/models/ProductChildResource.ts +0 -9
  49. package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
  50. package/src/models/SitePaymentConfigResource.ts +0 -9
  51. package/src/models/StoreListResource.ts +2 -3
  52. package/src/models/StoreResource.ts +5 -5
  53. package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
  54. package/src/models/UpdateSiteRequest.ts +0 -9
  55. package/src/models/index.ts +0 -113
  56. package/dist/apis/CartsApi.d.ts +0 -215
  57. package/dist/apis/CartsApi.js +0 -814
  58. package/dist/apis/CouponsApi.d.ts +0 -116
  59. package/dist/apis/CouponsApi.js +0 -440
  60. package/dist/apis/CustomersApi.d.ts +0 -66
  61. package/dist/apis/CustomersApi.js +0 -258
  62. package/dist/apis/OrdersApi.d.ts +0 -245
  63. package/dist/apis/OrdersApi.js +0 -930
  64. package/dist/apis/TransactionsApi.d.ts +0 -69
  65. package/dist/apis/TransactionsApi.js +0 -262
  66. package/dist/models/AddressType.d.ts +0 -25
  67. package/dist/models/AddressType.js +0 -51
  68. package/dist/models/AdminNoteResource.d.ts +0 -57
  69. package/dist/models/AdminNoteResource.js +0 -64
  70. package/dist/models/AdminNoteResourceArrayResponse.d.ts +0 -33
  71. package/dist/models/AdminNoteResourceArrayResponse.js +0 -50
  72. package/dist/models/AdminOrderLineItemResource.d.ts +0 -124
  73. package/dist/models/AdminOrderLineItemResource.js +0 -113
  74. package/dist/models/AdminOrderLineItemResourceArrayResponse.d.ts +0 -33
  75. package/dist/models/AdminOrderLineItemResourceArrayResponse.js +0 -50
  76. package/dist/models/AdminOrderResource.d.ts +0 -301
  77. package/dist/models/AdminOrderResource.js +0 -224
  78. package/dist/models/AdminOrderResourceArrayResponse.d.ts +0 -33
  79. package/dist/models/AdminOrderResourceArrayResponse.js +0 -50
  80. package/dist/models/AttachCouponRequest.d.ts +0 -32
  81. package/dist/models/AttachCouponRequest.js +0 -51
  82. package/dist/models/AttachLineItemRequest.d.ts +0 -44
  83. package/dist/models/AttachLineItemRequest.js +0 -57
  84. package/dist/models/CartCouponLiteResource.d.ts +0 -56
  85. package/dist/models/CartCouponLiteResource.js +0 -67
  86. package/dist/models/CartCouponLiteResourceArrayResponse.d.ts +0 -33
  87. package/dist/models/CartCouponLiteResourceArrayResponse.js +0 -50
  88. package/dist/models/CartCouponResource.d.ts +0 -50
  89. package/dist/models/CartCouponResource.js +0 -63
  90. package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/CartCouponResourceArrayResponse.js +0 -50
  92. package/dist/models/CartListResource.d.ts +0 -89
  93. package/dist/models/CartListResource.js +0 -82
  94. package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/CartListResourceArrayResponse.js +0 -50
  96. package/dist/models/CartOrderSource.d.ts +0 -25
  97. package/dist/models/CartOrderSource.js +0 -51
  98. package/dist/models/CartResource.d.ts +0 -235
  99. package/dist/models/CartResource.js +0 -170
  100. package/dist/models/CartResourceArrayResponse.d.ts +0 -33
  101. package/dist/models/CartResourceArrayResponse.js +0 -50
  102. package/dist/models/CartStatus.d.ts +0 -26
  103. package/dist/models/CartStatus.js +0 -52
  104. package/dist/models/CouponListResource.d.ts +0 -99
  105. package/dist/models/CouponListResource.js +0 -90
  106. package/dist/models/CouponListResourceArrayResponse.d.ts +0 -33
  107. package/dist/models/CouponListResourceArrayResponse.js +0 -50
  108. package/dist/models/CouponLiteResource.d.ts +0 -44
  109. package/dist/models/CouponLiteResource.js +0 -57
  110. package/dist/models/CouponLiteResourceArrayResponse.d.ts +0 -33
  111. package/dist/models/CouponLiteResourceArrayResponse.js +0 -50
  112. package/dist/models/CouponResource.d.ts +0 -166
  113. package/dist/models/CouponResource.js +0 -135
  114. package/dist/models/CouponResourceArrayResponse.d.ts +0 -33
  115. package/dist/models/CouponResourceArrayResponse.js +0 -50
  116. package/dist/models/CouponType.d.ts +0 -26
  117. package/dist/models/CouponType.js +0 -52
  118. package/dist/models/CreateCartRequest.d.ts +0 -168
  119. package/dist/models/CreateCartRequest.js +0 -114
  120. package/dist/models/CreateCartRequestItemsInner.d.ts +0 -44
  121. package/dist/models/CreateCartRequestItemsInner.js +0 -57
  122. package/dist/models/CreateCartRequestShippingAddress.d.ts +0 -74
  123. package/dist/models/CreateCartRequestShippingAddress.js +0 -63
  124. package/dist/models/CreateCouponRequest.d.ts +0 -134
  125. package/dist/models/CreateCouponRequest.js +0 -114
  126. package/dist/models/CreateCouponRequestCouponablesInner.d.ts +0 -48
  127. package/dist/models/CreateCouponRequestCouponablesInner.js +0 -61
  128. package/dist/models/CreateCustomerRequest.d.ts +0 -56
  129. package/dist/models/CreateCustomerRequest.js +0 -65
  130. package/dist/models/CreateTransactionRequest.d.ts +0 -87
  131. package/dist/models/CreateTransactionRequest.js +0 -80
  132. package/dist/models/CustomerListResource.d.ts +0 -63
  133. package/dist/models/CustomerListResource.js +0 -70
  134. package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
  135. package/dist/models/CustomerListResourceArrayResponse.js +0 -50
  136. package/dist/models/CustomerResource.d.ts +0 -70
  137. package/dist/models/CustomerResource.js +0 -75
  138. package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
  139. package/dist/models/CustomerResourceArrayResponse.js +0 -50
  140. package/dist/models/DetachCouponRequest.d.ts +0 -32
  141. package/dist/models/DetachCouponRequest.js +0 -51
  142. package/dist/models/DiscountResource.d.ts +0 -68
  143. package/dist/models/DiscountResource.js +0 -73
  144. package/dist/models/DiscountResourceArrayResponse.d.ts +0 -33
  145. package/dist/models/DiscountResourceArrayResponse.js +0 -50
  146. package/dist/models/DiscountType.d.ts +0 -26
  147. package/dist/models/DiscountType.js +0 -52
  148. package/dist/models/DiscountValueType.d.ts +0 -25
  149. package/dist/models/DiscountValueType.js +0 -51
  150. package/dist/models/FrontendCartResource.d.ts +0 -144
  151. package/dist/models/FrontendCartResource.js +0 -121
  152. package/dist/models/FrontendCartResourceArrayResponse.d.ts +0 -33
  153. package/dist/models/FrontendCartResourceArrayResponse.js +0 -50
  154. package/dist/models/FrontendCartResourceCouponsInner.d.ts +0 -56
  155. package/dist/models/FrontendCartResourceCouponsInner.js +0 -57
  156. package/dist/models/FrontendLineItemResource.d.ts +0 -81
  157. package/dist/models/FrontendLineItemResource.js +0 -82
  158. package/dist/models/FrontendLineItemResourceArrayResponse.d.ts +0 -33
  159. package/dist/models/FrontendLineItemResourceArrayResponse.js +0 -50
  160. package/dist/models/FrontendOrderResource.d.ts +0 -174
  161. package/dist/models/FrontendOrderResource.js +0 -141
  162. package/dist/models/FrontendOrderResourceArrayResponse.d.ts +0 -33
  163. package/dist/models/FrontendOrderResourceArrayResponse.js +0 -50
  164. package/dist/models/LiAddressResource.d.ts +0 -86
  165. package/dist/models/LiAddressResource.js +0 -83
  166. package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
  167. package/dist/models/LiAddressResourceArrayResponse.js +0 -50
  168. package/dist/models/LiAdminUserLiteResource.d.ts +0 -50
  169. package/dist/models/LiAdminUserLiteResource.js +0 -61
  170. package/dist/models/LiAdminUserLiteResourceArrayResponse.d.ts +0 -33
  171. package/dist/models/LiAdminUserLiteResourceArrayResponse.js +0 -50
  172. package/dist/models/LineItemDiscountResource.d.ts +0 -50
  173. package/dist/models/LineItemDiscountResource.js +0 -63
  174. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +0 -33
  175. package/dist/models/LineItemDiscountResourceArrayResponse.js +0 -50
  176. package/dist/models/LineItemListResource.d.ts +0 -89
  177. package/dist/models/LineItemListResource.js +0 -90
  178. package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
  179. package/dist/models/LineItemListResourceArrayResponse.js +0 -50
  180. package/dist/models/OmnisendSyncLiteResource.d.ts +0 -44
  181. package/dist/models/OmnisendSyncLiteResource.js +0 -59
  182. package/dist/models/OmnisendSyncLiteResourceArrayResponse.d.ts +0 -33
  183. package/dist/models/OmnisendSyncLiteResourceArrayResponse.js +0 -50
  184. package/dist/models/OrderFulfillmentLineItemResource.d.ts +0 -45
  185. package/dist/models/OrderFulfillmentLineItemResource.js +0 -60
  186. package/dist/models/OrderFulfillmentLineItemResourceArrayResponse.d.ts +0 -33
  187. package/dist/models/OrderFulfillmentLineItemResourceArrayResponse.js +0 -50
  188. package/dist/models/OrderFulfillmentResource.d.ts +0 -93
  189. package/dist/models/OrderFulfillmentResource.js +0 -86
  190. package/dist/models/OrderFulfillmentResourceArrayResponse.d.ts +0 -33
  191. package/dist/models/OrderFulfillmentResourceArrayResponse.js +0 -50
  192. package/dist/models/OrderListResource.d.ts +0 -109
  193. package/dist/models/OrderListResource.js +0 -98
  194. package/dist/models/OrderListResourceArrayResponse.d.ts +0 -33
  195. package/dist/models/OrderListResourceArrayResponse.js +0 -50
  196. package/dist/models/OrderLiteResource.d.ts +0 -62
  197. package/dist/models/OrderLiteResource.js +0 -67
  198. package/dist/models/OrderLiteResourceArrayResponse.d.ts +0 -33
  199. package/dist/models/OrderLiteResourceArrayResponse.js +0 -50
  200. package/dist/models/OrderOmnisendEvent.d.ts +0 -25
  201. package/dist/models/OrderOmnisendEvent.js +0 -51
  202. package/dist/models/OrderStatusId.d.ts +0 -33
  203. package/dist/models/OrderStatusId.js +0 -59
  204. package/dist/models/OrderStatusLiteResource.d.ts +0 -44
  205. package/dist/models/OrderStatusLiteResource.js +0 -59
  206. package/dist/models/OrderStatusLiteResourceArrayResponse.d.ts +0 -33
  207. package/dist/models/OrderStatusLiteResourceArrayResponse.js +0 -50
  208. package/dist/models/OrderStatusWithCountResource.d.ts +0 -50
  209. package/dist/models/OrderStatusWithCountResource.js +0 -63
  210. package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +0 -33
  211. package/dist/models/OrderStatusWithCountResourceArrayResponse.js +0 -50
  212. package/dist/models/PaginatedAdminNoteResourceResponse.d.ts +0 -40
  213. package/dist/models/PaginatedAdminNoteResourceResponse.js +0 -57
  214. package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
  215. package/dist/models/PaginatedCartListResourceResponse.js +0 -57
  216. package/dist/models/PaginatedCouponListResourceResponse.d.ts +0 -40
  217. package/dist/models/PaginatedCouponListResourceResponse.js +0 -57
  218. package/dist/models/PaginatedCouponLiteResourceResponse.d.ts +0 -40
  219. package/dist/models/PaginatedCouponLiteResourceResponse.js +0 -57
  220. package/dist/models/PaginatedCouponResourceResponse.d.ts +0 -40
  221. package/dist/models/PaginatedCouponResourceResponse.js +0 -57
  222. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
  223. package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
  224. package/dist/models/PaginatedOrderFulfillmentResourceResponse.d.ts +0 -40
  225. package/dist/models/PaginatedOrderFulfillmentResourceResponse.js +0 -57
  226. package/dist/models/PaginatedOrderListResourceResponse.d.ts +0 -40
  227. package/dist/models/PaginatedOrderListResourceResponse.js +0 -57
  228. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
  229. package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
  230. package/dist/models/PaginatedTransactionResourceResponse.d.ts +0 -40
  231. package/dist/models/PaginatedTransactionResourceResponse.js +0 -57
  232. package/dist/models/PaymentMethod.d.ts +0 -30
  233. package/dist/models/PaymentMethod.js +0 -56
  234. package/dist/models/PaymentSource.d.ts +0 -27
  235. package/dist/models/PaymentSource.js +0 -53
  236. package/dist/models/PaymentStatus.d.ts +0 -25
  237. package/dist/models/PaymentStatus.js +0 -51
  238. package/dist/models/ProductChildLineItemLiteResource.d.ts +0 -106
  239. package/dist/models/ProductChildLineItemLiteResource.js +0 -101
  240. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.d.ts +0 -33
  241. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.js +0 -50
  242. package/dist/models/RefundTransactionRequest.d.ts +0 -38
  243. package/dist/models/RefundTransactionRequest.js +0 -53
  244. package/dist/models/SearchAdminNotesRequest.d.ts +0 -102
  245. package/dist/models/SearchAdminNotesRequest.js +0 -82
  246. package/dist/models/SearchAllCouponsRequest.d.ts +0 -101
  247. package/dist/models/SearchAllCouponsRequest.js +0 -85
  248. package/dist/models/SearchAllOrdersRequest.d.ts +0 -105
  249. package/dist/models/SearchAllOrdersRequest.js +0 -85
  250. package/dist/models/SearchCartsRequest.d.ts +0 -152
  251. package/dist/models/SearchCartsRequest.js +0 -100
  252. package/dist/models/SearchCouponsRequest.d.ts +0 -137
  253. package/dist/models/SearchCouponsRequest.js +0 -97
  254. package/dist/models/SearchCustomersRequest.d.ts +0 -99
  255. package/dist/models/SearchCustomersRequest.js +0 -83
  256. package/dist/models/SearchOrderFulfillmentsRequest.d.ts +0 -120
  257. package/dist/models/SearchOrderFulfillmentsRequest.js +0 -88
  258. package/dist/models/SearchOrdersRequest.d.ts +0 -159
  259. package/dist/models/SearchOrdersRequest.js +0 -103
  260. package/dist/models/SearchTransactionsRequest.d.ts +0 -135
  261. package/dist/models/SearchTransactionsRequest.js +0 -98
  262. package/dist/models/ShippingType.d.ts +0 -29
  263. package/dist/models/ShippingType.js +0 -55
  264. package/dist/models/SkuSearchProductChildRequest.d.ts +0 -38
  265. package/dist/models/SkuSearchProductChildRequest.js +0 -55
  266. package/dist/models/StoreTransactionResource.d.ts +0 -39
  267. package/dist/models/StoreTransactionResource.js +0 -56
  268. package/dist/models/StoreTransactionResourceArrayResponse.d.ts +0 -33
  269. package/dist/models/StoreTransactionResourceArrayResponse.js +0 -50
  270. package/dist/models/TransactionListResource.d.ts +0 -116
  271. package/dist/models/TransactionListResource.js +0 -97
  272. package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
  273. package/dist/models/TransactionListResourceArrayResponse.js +0 -50
  274. package/dist/models/TransactionLiteResource.d.ts +0 -98
  275. package/dist/models/TransactionLiteResource.js +0 -89
  276. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +0 -33
  277. package/dist/models/TransactionLiteResourceArrayResponse.js +0 -50
  278. package/dist/models/TransactionResource.d.ts +0 -128
  279. package/dist/models/TransactionResource.js +0 -101
  280. package/dist/models/TransactionResourceArrayResponse.d.ts +0 -33
  281. package/dist/models/TransactionResourceArrayResponse.js +0 -50
  282. package/dist/models/TransactionType.d.ts +0 -25
  283. package/dist/models/TransactionType.js +0 -51
  284. package/dist/models/UpdateCartRequest.d.ts +0 -149
  285. package/dist/models/UpdateCartRequest.js +0 -101
  286. package/dist/models/UpdateCouponRequest.d.ts +0 -128
  287. package/dist/models/UpdateCouponRequest.js +0 -110
  288. package/dist/models/UpdateLineItemRequest.d.ts +0 -38
  289. package/dist/models/UpdateLineItemRequest.js +0 -53
  290. package/dist/models/UpdateOrderRequest.d.ts +0 -131
  291. package/dist/models/UpdateOrderRequest.js +0 -105
  292. package/docs/AddressType.md +0 -32
  293. package/docs/AdminNoteResource.md +0 -42
  294. package/docs/AdminNoteResourceArrayResponse.md +0 -34
  295. package/docs/AdminOrderLineItemResource.md +0 -64
  296. package/docs/AdminOrderLineItemResourceArrayResponse.md +0 -34
  297. package/docs/AdminOrderResource.md +0 -120
  298. package/docs/AdminOrderResourceArrayResponse.md +0 -34
  299. package/docs/AttachCouponRequest.md +0 -34
  300. package/docs/AttachLineItemRequest.md +0 -38
  301. package/docs/CartCouponLiteResource.md +0 -42
  302. package/docs/CartCouponLiteResourceArrayResponse.md +0 -34
  303. package/docs/CartCouponResource.md +0 -40
  304. package/docs/CartCouponResourceArrayResponse.md +0 -34
  305. package/docs/CartListResource.md +0 -52
  306. package/docs/CartListResourceArrayResponse.md +0 -34
  307. package/docs/CartOrderSource.md +0 -32
  308. package/docs/CartResource.md +0 -100
  309. package/docs/CartResourceArrayResponse.md +0 -34
  310. package/docs/CartStatus.md +0 -32
  311. package/docs/CartsApi.md +0 -821
  312. package/docs/CouponListResource.md +0 -56
  313. package/docs/CouponListResourceArrayResponse.md +0 -34
  314. package/docs/CouponLiteResource.md +0 -38
  315. package/docs/CouponLiteResourceArrayResponse.md +0 -34
  316. package/docs/CouponResource.md +0 -78
  317. package/docs/CouponResourceArrayResponse.md +0 -34
  318. package/docs/CouponType.md +0 -32
  319. package/docs/CouponsApi.md +0 -407
  320. package/docs/CreateCartRequest.md +0 -72
  321. package/docs/CreateCartRequestItemsInner.md +0 -38
  322. package/docs/CreateCartRequestShippingAddress.md +0 -48
  323. package/docs/CreateCouponRequest.md +0 -62
  324. package/docs/CreateCouponRequestCouponablesInner.md +0 -36
  325. package/docs/CreateCustomerRequest.md +0 -42
  326. package/docs/CreateTransactionRequest.md +0 -48
  327. package/docs/CustomerListResource.md +0 -44
  328. package/docs/CustomerListResourceArrayResponse.md +0 -34
  329. package/docs/CustomerResource.md +0 -46
  330. package/docs/CustomerResourceArrayResponse.md +0 -34
  331. package/docs/CustomersApi.md +0 -206
  332. package/docs/DetachCouponRequest.md +0 -34
  333. package/docs/DiscountResource.md +0 -46
  334. package/docs/DiscountResourceArrayResponse.md +0 -34
  335. package/docs/DiscountType.md +0 -32
  336. package/docs/DiscountValueType.md +0 -32
  337. package/docs/FrontendCartResource.md +0 -70
  338. package/docs/FrontendCartResourceArrayResponse.md +0 -34
  339. package/docs/FrontendCartResourceCouponsInner.md +0 -42
  340. package/docs/FrontendLineItemResource.md +0 -50
  341. package/docs/FrontendLineItemResourceArrayResponse.md +0 -34
  342. package/docs/FrontendOrderResource.md +0 -80
  343. package/docs/FrontendOrderResourceArrayResponse.md +0 -34
  344. package/docs/LiAddressResource.md +0 -52
  345. package/docs/LiAddressResourceArrayResponse.md +0 -34
  346. package/docs/LiAdminUserLiteResource.md +0 -40
  347. package/docs/LiAdminUserLiteResourceArrayResponse.md +0 -34
  348. package/docs/LineItemDiscountResource.md +0 -40
  349. package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
  350. package/docs/LineItemListResource.md +0 -52
  351. package/docs/LineItemListResourceArrayResponse.md +0 -34
  352. package/docs/OmnisendSyncLiteResource.md +0 -38
  353. package/docs/OmnisendSyncLiteResourceArrayResponse.md +0 -34
  354. package/docs/OrderFulfillmentLineItemResource.md +0 -38
  355. package/docs/OrderFulfillmentLineItemResourceArrayResponse.md +0 -34
  356. package/docs/OrderFulfillmentResource.md +0 -54
  357. package/docs/OrderFulfillmentResourceArrayResponse.md +0 -34
  358. package/docs/OrderListResource.md +0 -58
  359. package/docs/OrderListResourceArrayResponse.md +0 -34
  360. package/docs/OrderLiteResource.md +0 -44
  361. package/docs/OrderLiteResourceArrayResponse.md +0 -34
  362. package/docs/OrderOmnisendEvent.md +0 -32
  363. package/docs/OrderStatusId.md +0 -32
  364. package/docs/OrderStatusLiteResource.md +0 -38
  365. package/docs/OrderStatusLiteResourceArrayResponse.md +0 -34
  366. package/docs/OrderStatusWithCountResource.md +0 -40
  367. package/docs/OrderStatusWithCountResourceArrayResponse.md +0 -34
  368. package/docs/OrdersApi.md +0 -945
  369. package/docs/PaginatedAdminNoteResourceResponse.md +0 -36
  370. package/docs/PaginatedCartListResourceResponse.md +0 -36
  371. package/docs/PaginatedCouponListResourceResponse.md +0 -36
  372. package/docs/PaginatedCouponLiteResourceResponse.md +0 -36
  373. package/docs/PaginatedCouponResourceResponse.md +0 -36
  374. package/docs/PaginatedCustomerListResourceResponse.md +0 -36
  375. package/docs/PaginatedOrderFulfillmentResourceResponse.md +0 -36
  376. package/docs/PaginatedOrderListResourceResponse.md +0 -36
  377. package/docs/PaginatedTransactionListResourceResponse.md +0 -36
  378. package/docs/PaginatedTransactionResourceResponse.md +0 -36
  379. package/docs/PaymentMethod.md +0 -32
  380. package/docs/PaymentSource.md +0 -32
  381. package/docs/PaymentStatus.md +0 -32
  382. package/docs/ProductChildLineItemLiteResource.md +0 -58
  383. package/docs/ProductChildLineItemLiteResourceArrayResponse.md +0 -34
  384. package/docs/RefundTransactionRequest.md +0 -36
  385. package/docs/SearchAdminNotesRequest.md +0 -52
  386. package/docs/SearchAllCouponsRequest.md +0 -50
  387. package/docs/SearchAllOrdersRequest.md +0 -52
  388. package/docs/SearchCartsRequest.md +0 -68
  389. package/docs/SearchCouponsRequest.md +0 -62
  390. package/docs/SearchCustomersRequest.md +0 -50
  391. package/docs/SearchOrderFulfillmentsRequest.md +0 -58
  392. package/docs/SearchOrdersRequest.md +0 -70
  393. package/docs/SearchTransactionsRequest.md +0 -60
  394. package/docs/ShippingType.md +0 -32
  395. package/docs/SkuSearchProductChildRequest.md +0 -36
  396. package/docs/StoreTransactionResource.md +0 -36
  397. package/docs/StoreTransactionResourceArrayResponse.md +0 -34
  398. package/docs/TransactionListResource.md +0 -62
  399. package/docs/TransactionListResourceArrayResponse.md +0 -34
  400. package/docs/TransactionLiteResource.md +0 -56
  401. package/docs/TransactionLiteResourceArrayResponse.md +0 -34
  402. package/docs/TransactionResource.md +0 -66
  403. package/docs/TransactionResourceArrayResponse.md +0 -34
  404. package/docs/TransactionType.md +0 -32
  405. package/docs/TransactionsApi.md +0 -209
  406. package/docs/UpdateCartRequest.md +0 -66
  407. package/docs/UpdateCouponRequest.md +0 -60
  408. package/docs/UpdateLineItemRequest.md +0 -36
  409. package/docs/UpdateOrderRequest.md +0 -60
  410. package/src/apis/CartsApi.ts +0 -693
  411. package/src/apis/CouponsApi.ts +0 -345
  412. package/src/apis/CustomersApi.ts +0 -179
  413. package/src/apis/OrdersApi.ts +0 -789
  414. package/src/apis/TransactionsApi.ts +0 -193
  415. package/src/models/AddressType.ts +0 -53
  416. package/src/models/AdminNoteResource.ts +0 -108
  417. package/src/models/AdminNoteResourceArrayResponse.ts +0 -73
  418. package/src/models/AdminOrderLineItemResource.ts +0 -216
  419. package/src/models/AdminOrderLineItemResourceArrayResponse.ts +0 -73
  420. package/src/models/AdminOrderResource.ts +0 -526
  421. package/src/models/AdminOrderResourceArrayResponse.ts +0 -73
  422. package/src/models/AttachCouponRequest.ts +0 -66
  423. package/src/models/AttachLineItemRequest.ts +0 -83
  424. package/src/models/CartCouponLiteResource.ts +0 -102
  425. package/src/models/CartCouponLiteResourceArrayResponse.ts +0 -73
  426. package/src/models/CartCouponResource.ts +0 -93
  427. package/src/models/CartCouponResourceArrayResponse.ts +0 -73
  428. package/src/models/CartListResource.ts +0 -165
  429. package/src/models/CartListResourceArrayResponse.ts +0 -73
  430. package/src/models/CartOrderSource.ts +0 -53
  431. package/src/models/CartResource.ts +0 -390
  432. package/src/models/CartResourceArrayResponse.ts +0 -73
  433. package/src/models/CartStatus.ts +0 -54
  434. package/src/models/CouponListResource.ts +0 -170
  435. package/src/models/CouponListResourceArrayResponse.ts +0 -73
  436. package/src/models/CouponLiteResource.ts +0 -83
  437. package/src/models/CouponLiteResourceArrayResponse.ts +0 -73
  438. package/src/models/CouponResource.ts +0 -276
  439. package/src/models/CouponResourceArrayResponse.ts +0 -73
  440. package/src/models/CouponType.ts +0 -54
  441. package/src/models/CreateCartRequest.ts +0 -259
  442. package/src/models/CreateCartRequestItemsInner.ts +0 -83
  443. package/src/models/CreateCartRequestShippingAddress.ts +0 -121
  444. package/src/models/CreateCouponRequest.ts +0 -216
  445. package/src/models/CreateCouponRequestCouponablesInner.ts +0 -86
  446. package/src/models/CreateCustomerRequest.ts +0 -101
  447. package/src/models/CreateTransactionRequest.ts +0 -139
  448. package/src/models/CustomerListResource.ts +0 -118
  449. package/src/models/CustomerListResourceArrayResponse.ts +0 -73
  450. package/src/models/CustomerResource.ts +0 -134
  451. package/src/models/CustomerResourceArrayResponse.ts +0 -73
  452. package/src/models/DetachCouponRequest.ts +0 -66
  453. package/src/models/DiscountResource.ts +0 -119
  454. package/src/models/DiscountResourceArrayResponse.ts +0 -73
  455. package/src/models/DiscountType.ts +0 -54
  456. package/src/models/DiscountValueType.ts +0 -53
  457. package/src/models/FrontendCartResource.ts +0 -254
  458. package/src/models/FrontendCartResourceArrayResponse.ts +0 -73
  459. package/src/models/FrontendCartResourceCouponsInner.ts +0 -97
  460. package/src/models/FrontendLineItemResource.ts +0 -145
  461. package/src/models/FrontendLineItemResourceArrayResponse.ts +0 -73
  462. package/src/models/FrontendOrderResource.ts +0 -299
  463. package/src/models/FrontendOrderResourceArrayResponse.ts +0 -73
  464. package/src/models/LiAddressResource.ts +0 -145
  465. package/src/models/LiAddressResourceArrayResponse.ts +0 -73
  466. package/src/models/LiAdminUserLiteResource.ts +0 -92
  467. package/src/models/LiAdminUserLiteResourceArrayResponse.ts +0 -73
  468. package/src/models/LineItemDiscountResource.ts +0 -93
  469. package/src/models/LineItemDiscountResourceArrayResponse.ts +0 -73
  470. package/src/models/LineItemListResource.ts +0 -169
  471. package/src/models/LineItemListResourceArrayResponse.ts +0 -73
  472. package/src/models/OmnisendSyncLiteResource.ts +0 -84
  473. package/src/models/OmnisendSyncLiteResourceArrayResponse.ts +0 -73
  474. package/src/models/OrderFulfillmentLineItemResource.ts +0 -92
  475. package/src/models/OrderFulfillmentLineItemResourceArrayResponse.ts +0 -73
  476. package/src/models/OrderFulfillmentResource.ts +0 -161
  477. package/src/models/OrderFulfillmentResourceArrayResponse.ts +0 -73
  478. package/src/models/OrderListResource.ts +0 -207
  479. package/src/models/OrderListResourceArrayResponse.ts +0 -73
  480. package/src/models/OrderLiteResource.ts +0 -109
  481. package/src/models/OrderLiteResourceArrayResponse.ts +0 -73
  482. package/src/models/OrderOmnisendEvent.ts +0 -53
  483. package/src/models/OrderStatusId.ts +0 -61
  484. package/src/models/OrderStatusLiteResource.ts +0 -84
  485. package/src/models/OrderStatusLiteResourceArrayResponse.ts +0 -73
  486. package/src/models/OrderStatusWithCountResource.ts +0 -93
  487. package/src/models/OrderStatusWithCountResourceArrayResponse.ts +0 -73
  488. package/src/models/PaginatedAdminNoteResourceResponse.ts +0 -90
  489. package/src/models/PaginatedCartListResourceResponse.ts +0 -90
  490. package/src/models/PaginatedCouponListResourceResponse.ts +0 -90
  491. package/src/models/PaginatedCouponLiteResourceResponse.ts +0 -90
  492. package/src/models/PaginatedCouponResourceResponse.ts +0 -90
  493. package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
  494. package/src/models/PaginatedOrderFulfillmentResourceResponse.ts +0 -90
  495. package/src/models/PaginatedOrderListResourceResponse.ts +0 -90
  496. package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
  497. package/src/models/PaginatedTransactionResourceResponse.ts +0 -90
  498. package/src/models/PaymentMethod.ts +0 -58
  499. package/src/models/PaymentSource.ts +0 -55
  500. package/src/models/PaymentStatus.ts +0 -53
  501. package/src/models/ProductChildLineItemLiteResource.ts +0 -189
  502. package/src/models/ProductChildLineItemLiteResourceArrayResponse.ts +0 -73
  503. package/src/models/RefundTransactionRequest.ts +0 -74
  504. package/src/models/SearchAdminNotesRequest.ts +0 -157
  505. package/src/models/SearchAllCouponsRequest.ts +0 -154
  506. package/src/models/SearchAllOrdersRequest.ts +0 -160
  507. package/src/models/SearchCartsRequest.ts +0 -223
  508. package/src/models/SearchCouponsRequest.ts +0 -202
  509. package/src/models/SearchCustomersRequest.ts +0 -152
  510. package/src/models/SearchOrderFulfillmentsRequest.ts +0 -181
  511. package/src/models/SearchOrdersRequest.ts +0 -232
  512. package/src/models/SearchTransactionsRequest.ts +0 -199
  513. package/src/models/ShippingType.ts +0 -57
  514. package/src/models/SkuSearchProductChildRequest.ts +0 -75
  515. package/src/models/StoreTransactionResource.ts +0 -83
  516. package/src/models/StoreTransactionResourceArrayResponse.ts +0 -73
  517. package/src/models/TransactionListResource.ts +0 -187
  518. package/src/models/TransactionListResourceArrayResponse.ts +0 -73
  519. package/src/models/TransactionLiteResource.ts +0 -162
  520. package/src/models/TransactionLiteResourceArrayResponse.ts +0 -73
  521. package/src/models/TransactionResource.ts +0 -203
  522. package/src/models/TransactionResourceArrayResponse.ts +0 -73
  523. package/src/models/TransactionType.ts +0 -53
  524. package/src/models/UpdateCartRequest.ts +0 -225
  525. package/src/models/UpdateCouponRequest.ts +0 -207
  526. package/src/models/UpdateLineItemRequest.ts +0 -74
  527. package/src/models/UpdateOrderRequest.ts +0 -206
@@ -1,34 +0,0 @@
1
-
2
- # TransactionListResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<TransactionListResource>](TransactionListResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { TransactionListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies TransactionListResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as TransactionListResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,56 +0,0 @@
1
-
2
- # TransactionLiteResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `paymentSource` | string
11
- `paymentMethod` | string
12
- `paymentMethodThumbnail` | string
13
- `type` | string
14
- `status` | string
15
- `amount` | number
16
- `surcharge` | number
17
- `totalAmount` | number
18
- `reference` | string
19
- `description` | string
20
- `createdAt` | Date
21
-
22
- ## Example
23
-
24
- ```typescript
25
- import type { TransactionLiteResource } from '@digital8/lighting-illusions-ts-sdk'
26
-
27
- // TODO: Update the object below with actual values
28
- const example = {
29
- "id": null,
30
- "paymentSource": null,
31
- "paymentMethod": null,
32
- "paymentMethodThumbnail": null,
33
- "type": null,
34
- "status": null,
35
- "amount": null,
36
- "surcharge": null,
37
- "totalAmount": null,
38
- "reference": null,
39
- "description": null,
40
- "createdAt": null,
41
- } satisfies TransactionLiteResource
42
-
43
- console.log(example)
44
-
45
- // Convert the instance to a JSON string
46
- const exampleJSON: string = JSON.stringify(example)
47
- console.log(exampleJSON)
48
-
49
- // Parse the JSON string back to an object
50
- const exampleParsed = JSON.parse(exampleJSON) as TransactionLiteResource
51
- console.log(exampleParsed)
52
- ```
53
-
54
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
55
-
56
-
@@ -1,34 +0,0 @@
1
-
2
- # TransactionLiteResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<TransactionLiteResource>](TransactionLiteResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { TransactionLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies TransactionLiteResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as TransactionLiteResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,66 +0,0 @@
1
-
2
- # TransactionResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `paymentSource` | string
11
- `paymentMethod` | string
12
- `type` | string
13
- `status` | string
14
- `amount` | number
15
- `surcharge` | number
16
- `totalAmount` | number
17
- `refundedAmount` | number
18
- `unrefundedAmount` | number
19
- `reference` | string
20
- `description` | string
21
- `extendedData` | string
22
- `riskScore` | string
23
- `fraudDecision` | string
24
- `refundedTransactionId` | number
25
- `createdAt` | Date
26
-
27
- ## Example
28
-
29
- ```typescript
30
- import type { TransactionResource } from '@digital8/lighting-illusions-ts-sdk'
31
-
32
- // TODO: Update the object below with actual values
33
- const example = {
34
- "id": null,
35
- "paymentSource": null,
36
- "paymentMethod": null,
37
- "type": null,
38
- "status": null,
39
- "amount": null,
40
- "surcharge": null,
41
- "totalAmount": null,
42
- "refundedAmount": null,
43
- "unrefundedAmount": null,
44
- "reference": null,
45
- "description": null,
46
- "extendedData": null,
47
- "riskScore": null,
48
- "fraudDecision": null,
49
- "refundedTransactionId": null,
50
- "createdAt": null,
51
- } satisfies TransactionResource
52
-
53
- console.log(example)
54
-
55
- // Convert the instance to a JSON string
56
- const exampleJSON: string = JSON.stringify(example)
57
- console.log(exampleJSON)
58
-
59
- // Parse the JSON string back to an object
60
- const exampleParsed = JSON.parse(exampleJSON) as TransactionResource
61
- console.log(exampleParsed)
62
- ```
63
-
64
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
65
-
66
-
@@ -1,34 +0,0 @@
1
-
2
- # TransactionResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<TransactionResource>](TransactionResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { TransactionResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies TransactionResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as TransactionResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,32 +0,0 @@
1
-
2
- # TransactionType
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import type { TransactionType } from '@digital8/lighting-illusions-ts-sdk'
14
-
15
- // TODO: Update the object below with actual values
16
- const example = {
17
- } satisfies TransactionType
18
-
19
- console.log(example)
20
-
21
- // Convert the instance to a JSON string
22
- const exampleJSON: string = JSON.stringify(example)
23
- console.log(exampleJSON)
24
-
25
- // Parse the JSON string back to an object
26
- const exampleParsed = JSON.parse(exampleJSON) as TransactionType
27
- console.log(exampleParsed)
28
- ```
29
-
30
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
-
32
-
@@ -1,209 +0,0 @@
1
- # TransactionsApi
2
-
3
- All URIs are relative to *http://localhost/api*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**indexTransaction**](TransactionsApi.md#indextransaction) | **POST** /admin-api/transactions/list | Auto-generated: indexTransaction |
8
- | [**refundTransaction**](TransactionsApi.md#refundtransactionoperation) | **POST** /admin-api/transactions/{transaction}/refund | Auto-generated: refundTransaction |
9
- | [**storeTransaction**](TransactionsApi.md#storetransaction) | **POST** /admin-api/transactions/create | Auto-generated: storeTransaction |
10
-
11
-
12
-
13
- ## indexTransaction
14
-
15
- > PaginatedTransactionListResourceResponse indexTransaction(searchTransactionsRequest)
16
-
17
- Auto-generated: indexTransaction
18
-
19
- ### Example
20
-
21
- ```ts
22
- import {
23
- Configuration,
24
- TransactionsApi,
25
- } from '@digital8/lighting-illusions-ts-sdk';
26
- import type { IndexTransactionRequest } from '@digital8/lighting-illusions-ts-sdk';
27
-
28
- async function example() {
29
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
30
- const api = new TransactionsApi();
31
-
32
- const body = {
33
- // SearchTransactionsRequest (optional)
34
- searchTransactionsRequest: ...,
35
- } satisfies IndexTransactionRequest;
36
-
37
- try {
38
- const data = await api.indexTransaction(body);
39
- console.log(data);
40
- } catch (error) {
41
- console.error(error);
42
- }
43
- }
44
-
45
- // Run the test
46
- example().catch(console.error);
47
- ```
48
-
49
- ### Parameters
50
-
51
-
52
- | Name | Type | Description | Notes |
53
- |------------- | ------------- | ------------- | -------------|
54
- | **searchTransactionsRequest** | [SearchTransactionsRequest](SearchTransactionsRequest.md) | | [Optional] |
55
-
56
- ### Return type
57
-
58
- [**PaginatedTransactionListResourceResponse**](PaginatedTransactionListResourceResponse.md)
59
-
60
- ### Authorization
61
-
62
- No authorization required
63
-
64
- ### HTTP request headers
65
-
66
- - **Content-Type**: `application/json`
67
- - **Accept**: `application/json`
68
-
69
-
70
- ### HTTP response details
71
- | Status code | Description | Response headers |
72
- |-------------|-------------|------------------|
73
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\TransactionListResource[]>> | - |
74
-
75
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
76
-
77
-
78
- ## refundTransaction
79
-
80
- > TransactionResource refundTransaction(transaction, refundTransactionRequest)
81
-
82
- Auto-generated: refundTransaction
83
-
84
- ### Example
85
-
86
- ```ts
87
- import {
88
- Configuration,
89
- TransactionsApi,
90
- } from '@digital8/lighting-illusions-ts-sdk';
91
- import type { RefundTransactionOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
92
-
93
- async function example() {
94
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
95
- const api = new TransactionsApi();
96
-
97
- const body = {
98
- // number | The id of the transaction
99
- transaction: 56,
100
- // RefundTransactionRequest (optional)
101
- refundTransactionRequest: ...,
102
- } satisfies RefundTransactionOperationRequest;
103
-
104
- try {
105
- const data = await api.refundTransaction(body);
106
- console.log(data);
107
- } catch (error) {
108
- console.error(error);
109
- }
110
- }
111
-
112
- // Run the test
113
- example().catch(console.error);
114
- ```
115
-
116
- ### Parameters
117
-
118
-
119
- | Name | Type | Description | Notes |
120
- |------------- | ------------- | ------------- | -------------|
121
- | **transaction** | `number` | The id of the transaction | [Defaults to `undefined`] |
122
- | **refundTransactionRequest** | [RefundTransactionRequest](RefundTransactionRequest.md) | | [Optional] |
123
-
124
- ### Return type
125
-
126
- [**TransactionResource**](TransactionResource.md)
127
-
128
- ### Authorization
129
-
130
- No authorization required
131
-
132
- ### HTTP request headers
133
-
134
- - **Content-Type**: `application/json`
135
- - **Accept**: `application/json`
136
-
137
-
138
- ### HTTP response details
139
- | Status code | Description | Response headers |
140
- |-------------|-------------|------------------|
141
- | **200** | Successful resource response | - |
142
-
143
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
144
-
145
-
146
- ## storeTransaction
147
-
148
- > StoreTransactionResource storeTransaction(createTransactionRequest)
149
-
150
- Auto-generated: storeTransaction
151
-
152
- ### Example
153
-
154
- ```ts
155
- import {
156
- Configuration,
157
- TransactionsApi,
158
- } from '@digital8/lighting-illusions-ts-sdk';
159
- import type { StoreTransactionRequest } from '@digital8/lighting-illusions-ts-sdk';
160
-
161
- async function example() {
162
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
163
- const api = new TransactionsApi();
164
-
165
- const body = {
166
- // CreateTransactionRequest (optional)
167
- createTransactionRequest: ...,
168
- } satisfies StoreTransactionRequest;
169
-
170
- try {
171
- const data = await api.storeTransaction(body);
172
- console.log(data);
173
- } catch (error) {
174
- console.error(error);
175
- }
176
- }
177
-
178
- // Run the test
179
- example().catch(console.error);
180
- ```
181
-
182
- ### Parameters
183
-
184
-
185
- | Name | Type | Description | Notes |
186
- |------------- | ------------- | ------------- | -------------|
187
- | **createTransactionRequest** | [CreateTransactionRequest](CreateTransactionRequest.md) | | [Optional] |
188
-
189
- ### Return type
190
-
191
- [**StoreTransactionResource**](StoreTransactionResource.md)
192
-
193
- ### Authorization
194
-
195
- No authorization required
196
-
197
- ### HTTP request headers
198
-
199
- - **Content-Type**: `application/json`
200
- - **Accept**: `application/json`
201
-
202
-
203
- ### HTTP response details
204
- | Status code | Description | Response headers |
205
- |-------------|-------------|------------------|
206
- | **200** | Successful resource response | - |
207
-
208
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
209
-
@@ -1,66 +0,0 @@
1
-
2
- # UpdateCartRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `token` | string
10
- `sessionToken` | string
11
- `paymentToken` | string
12
- `customerId` | number
13
- `source` | string
14
- `guestEmail` | string
15
- `shippingType` | string
16
- `shippingSubtotal` | number
17
- `overrideShipping` | boolean
18
- `insuranceAmount` | number
19
- `includeInsurance` | boolean
20
- `overrideInsurance` | boolean
21
- `useAsBillingAddress` | boolean
22
- `shippingAddressId` | number
23
- `billingAddressId` | number
24
- `shippingAddress` | [CreateCartRequestShippingAddress](CreateCartRequestShippingAddress.md)
25
- `billingAddress` | [CreateCartRequestShippingAddress](CreateCartRequestShippingAddress.md)
26
-
27
- ## Example
28
-
29
- ```typescript
30
- import type { UpdateCartRequest } from '@digital8/lighting-illusions-ts-sdk'
31
-
32
- // TODO: Update the object below with actual values
33
- const example = {
34
- "token": null,
35
- "sessionToken": null,
36
- "paymentToken": null,
37
- "customerId": null,
38
- "source": null,
39
- "guestEmail": null,
40
- "shippingType": null,
41
- "shippingSubtotal": null,
42
- "overrideShipping": null,
43
- "insuranceAmount": null,
44
- "includeInsurance": null,
45
- "overrideInsurance": null,
46
- "useAsBillingAddress": null,
47
- "shippingAddressId": null,
48
- "billingAddressId": null,
49
- "shippingAddress": null,
50
- "billingAddress": null,
51
- } satisfies UpdateCartRequest
52
-
53
- console.log(example)
54
-
55
- // Convert the instance to a JSON string
56
- const exampleJSON: string = JSON.stringify(example)
57
- console.log(exampleJSON)
58
-
59
- // Parse the JSON string back to an object
60
- const exampleParsed = JSON.parse(exampleJSON) as UpdateCartRequest
61
- console.log(exampleParsed)
62
- ```
63
-
64
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
65
-
66
-
@@ -1,60 +0,0 @@
1
-
2
- # UpdateCouponRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `name` | string
10
- `code` | string
11
- `type` | string
12
- `discountType` | string
13
- `discountAmount` | number
14
- `minAmount` | number
15
- `minProducts` | number
16
- `totalUseLimit` | number
17
- `customerUseLimit` | number
18
- `startDate` | Date
19
- `endDate` | Date
20
- `isForAllProducts` | boolean
21
- `isForAllCustomers` | boolean
22
- `couponables` | [Array<CreateCouponRequestCouponablesInner>](CreateCouponRequestCouponablesInner.md)
23
-
24
- ## Example
25
-
26
- ```typescript
27
- import type { UpdateCouponRequest } from '@digital8/lighting-illusions-ts-sdk'
28
-
29
- // TODO: Update the object below with actual values
30
- const example = {
31
- "name": null,
32
- "code": null,
33
- "type": null,
34
- "discountType": null,
35
- "discountAmount": null,
36
- "minAmount": null,
37
- "minProducts": null,
38
- "totalUseLimit": null,
39
- "customerUseLimit": null,
40
- "startDate": null,
41
- "endDate": null,
42
- "isForAllProducts": null,
43
- "isForAllCustomers": null,
44
- "couponables": null,
45
- } satisfies UpdateCouponRequest
46
-
47
- console.log(example)
48
-
49
- // Convert the instance to a JSON string
50
- const exampleJSON: string = JSON.stringify(example)
51
- console.log(exampleJSON)
52
-
53
- // Parse the JSON string back to an object
54
- const exampleParsed = JSON.parse(exampleJSON) as UpdateCouponRequest
55
- console.log(exampleParsed)
56
- ```
57
-
58
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
59
-
60
-
@@ -1,36 +0,0 @@
1
-
2
- # UpdateLineItemRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `quantity` | number
10
- `productPrice` | number
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { UpdateLineItemRequest } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "quantity": null,
20
- "productPrice": null,
21
- } satisfies UpdateLineItemRequest
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as UpdateLineItemRequest
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,60 +0,0 @@
1
-
2
- # UpdateOrderRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `netsuiteId` | string
10
- `statusId` | number
11
- `source` | string
12
- `shippingType` | string
13
- `shippingSubtotal` | number
14
- `overrideShipping` | boolean
15
- `insuranceAmount` | number
16
- `includeInsurance` | boolean
17
- `overrideInsurance` | boolean
18
- `useAsBillingAddress` | boolean
19
- `shippingAddressId` | number
20
- `billingAddressId` | number
21
- `shippingAddress` | [CreateCartRequestShippingAddress](CreateCartRequestShippingAddress.md)
22
- `billingAddress` | [CreateCartRequestShippingAddress](CreateCartRequestShippingAddress.md)
23
-
24
- ## Example
25
-
26
- ```typescript
27
- import type { UpdateOrderRequest } from '@digital8/lighting-illusions-ts-sdk'
28
-
29
- // TODO: Update the object below with actual values
30
- const example = {
31
- "netsuiteId": null,
32
- "statusId": null,
33
- "source": null,
34
- "shippingType": null,
35
- "shippingSubtotal": null,
36
- "overrideShipping": null,
37
- "insuranceAmount": null,
38
- "includeInsurance": null,
39
- "overrideInsurance": null,
40
- "useAsBillingAddress": null,
41
- "shippingAddressId": null,
42
- "billingAddressId": null,
43
- "shippingAddress": null,
44
- "billingAddress": null,
45
- } satisfies UpdateOrderRequest
46
-
47
- console.log(example)
48
-
49
- // Convert the instance to a JSON string
50
- const exampleJSON: string = JSON.stringify(example)
51
- console.log(exampleJSON)
52
-
53
- // Parse the JSON string back to an object
54
- const exampleParsed = JSON.parse(exampleJSON) as UpdateOrderRequest
55
- console.log(exampleParsed)
56
- ```
57
-
58
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
59
-
60
-