@digital8/lighting-illusions-ts-sdk 0.0.2004 → 0.0.2006

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 (394) hide show
  1. package/.openapi-generator/FILES +172 -0
  2. package/README.md +117 -2
  3. package/dist/apis/AdminApi.d.ts +17 -0
  4. package/dist/apis/AdminApi.js +60 -0
  5. package/dist/apis/CartsApi.d.ts +215 -0
  6. package/dist/apis/CartsApi.js +814 -0
  7. package/dist/apis/CustomersApi.d.ts +83 -0
  8. package/dist/apis/CustomersApi.js +320 -0
  9. package/dist/apis/OrdersApi.d.ts +213 -0
  10. package/dist/apis/OrdersApi.js +811 -0
  11. package/dist/apis/SiteApi.d.ts +16 -0
  12. package/dist/apis/SiteApi.js +60 -0
  13. package/dist/apis/TransactionsApi.d.ts +69 -0
  14. package/dist/apis/TransactionsApi.js +262 -0
  15. package/dist/apis/index.d.ts +4 -0
  16. package/dist/apis/index.js +4 -0
  17. package/dist/models/AddressFrontendResource.d.ts +2 -2
  18. package/dist/models/AddressFrontendResource.js +2 -6
  19. package/dist/models/AddressResource.d.ts +13 -1
  20. package/dist/models/AddressResource.js +9 -1
  21. package/dist/models/AddressType.d.ts +25 -0
  22. package/dist/models/AddressType.js +51 -0
  23. package/dist/models/AdminNoteResource.d.ts +69 -0
  24. package/dist/models/AdminNoteResource.js +72 -0
  25. package/dist/models/AdminNoteResourceArrayResponse.d.ts +33 -0
  26. package/dist/models/AdminNoteResourceArrayResponse.js +50 -0
  27. package/dist/models/AdminOrderResource.d.ts +306 -0
  28. package/dist/models/AdminOrderResource.js +227 -0
  29. package/dist/models/AdminOrderResourceArrayResponse.d.ts +33 -0
  30. package/dist/models/AdminOrderResourceArrayResponse.js +50 -0
  31. package/dist/models/AttachCartCouponRequest.d.ts +32 -0
  32. package/dist/models/AttachCartCouponRequest.js +51 -0
  33. package/dist/models/AttachCartItemRequest.d.ts +44 -0
  34. package/dist/models/AttachCartItemRequest.js +57 -0
  35. package/dist/models/AttachOrderCouponRequest.d.ts +32 -0
  36. package/dist/models/AttachOrderCouponRequest.js +51 -0
  37. package/dist/models/AttachOrderLineItemRequest.d.ts +44 -0
  38. package/dist/models/AttachOrderLineItemRequest.js +57 -0
  39. package/dist/models/CartCouponResource.d.ts +50 -0
  40. package/dist/models/CartCouponResource.js +63 -0
  41. package/dist/models/CartCouponResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/CartCouponResourceArrayResponse.js +50 -0
  43. package/dist/models/CartListResource.d.ts +137 -0
  44. package/dist/models/CartListResource.js +108 -0
  45. package/dist/models/CartListResourceArrayResponse.d.ts +33 -0
  46. package/dist/models/CartListResourceArrayResponse.js +50 -0
  47. package/dist/models/CartOrderSource.d.ts +29 -0
  48. package/dist/models/CartOrderSource.js +55 -0
  49. package/dist/models/CartResource.d.ts +235 -0
  50. package/dist/models/CartResource.js +170 -0
  51. package/dist/models/CartResourceArrayResponse.d.ts +33 -0
  52. package/dist/models/CartResourceArrayResponse.js +50 -0
  53. package/dist/models/CartStatus.d.ts +26 -0
  54. package/dist/models/CartStatus.js +52 -0
  55. package/dist/models/CreateCartRequest.d.ts +166 -0
  56. package/dist/models/CreateCartRequest.js +114 -0
  57. package/dist/models/CreateCartRequestCustomer.d.ts +50 -0
  58. package/dist/models/CreateCartRequestCustomer.js +55 -0
  59. package/dist/models/CreateCartRequestItemsInner.d.ts +44 -0
  60. package/dist/models/CreateCartRequestItemsInner.js +57 -0
  61. package/dist/models/CreateCartRequestShippingAddress.d.ts +74 -0
  62. package/dist/models/CreateCartRequestShippingAddress.js +63 -0
  63. package/dist/models/CreateCustomerRequest.d.ts +56 -0
  64. package/dist/models/CreateCustomerRequest.js +65 -0
  65. package/dist/models/CreateStoreRequestAddress.d.ts +6 -0
  66. package/dist/models/CreateStoreRequestAddress.js +2 -0
  67. package/dist/models/CreateTransactionRequest.d.ts +81 -0
  68. package/dist/models/CreateTransactionRequest.js +78 -0
  69. package/dist/models/CustomerListResource.d.ts +70 -0
  70. package/dist/models/CustomerListResource.js +75 -0
  71. package/dist/models/CustomerListResourceArrayResponse.d.ts +33 -0
  72. package/dist/models/CustomerListResourceArrayResponse.js +50 -0
  73. package/dist/models/CustomerResource.d.ts +70 -0
  74. package/dist/models/CustomerResource.js +75 -0
  75. package/dist/models/CustomerResourceArrayResponse.d.ts +33 -0
  76. package/dist/models/CustomerResourceArrayResponse.js +50 -0
  77. package/dist/models/DetachCartCouponRequest.d.ts +32 -0
  78. package/dist/models/DetachCartCouponRequest.js +51 -0
  79. package/dist/models/DetachOrderCouponRequest.d.ts +32 -0
  80. package/dist/models/DetachOrderCouponRequest.js +51 -0
  81. package/dist/models/DiscountResource.d.ts +68 -0
  82. package/dist/models/DiscountResource.js +73 -0
  83. package/dist/models/DiscountResourceArrayResponse.d.ts +33 -0
  84. package/dist/models/DiscountResourceArrayResponse.js +50 -0
  85. package/dist/models/DiscountType.d.ts +26 -0
  86. package/dist/models/DiscountType.js +52 -0
  87. package/dist/models/DiscountValueType.d.ts +25 -0
  88. package/dist/models/DiscountValueType.js +51 -0
  89. package/dist/models/LiAddressResource.d.ts +86 -0
  90. package/dist/models/LiAddressResource.js +83 -0
  91. package/dist/models/LiAddressResourceArrayResponse.d.ts +33 -0
  92. package/dist/models/LiAddressResourceArrayResponse.js +50 -0
  93. package/dist/models/LiAdminUserLiteResource.d.ts +50 -0
  94. package/dist/models/LiAdminUserLiteResource.js +61 -0
  95. package/dist/models/LiAdminUserLiteResourceArrayResponse.d.ts +33 -0
  96. package/dist/models/LiAdminUserLiteResourceArrayResponse.js +50 -0
  97. package/dist/models/LineItemDiscountResource.d.ts +50 -0
  98. package/dist/models/LineItemDiscountResource.js +63 -0
  99. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +33 -0
  100. package/dist/models/LineItemDiscountResourceArrayResponse.js +50 -0
  101. package/dist/models/LineItemListResource.d.ts +89 -0
  102. package/dist/models/LineItemListResource.js +90 -0
  103. package/dist/models/LineItemListResourceArrayResponse.d.ts +33 -0
  104. package/dist/models/LineItemListResourceArrayResponse.js +50 -0
  105. package/dist/models/OmnisendSyncLiteResource.d.ts +44 -0
  106. package/dist/models/OmnisendSyncLiteResource.js +59 -0
  107. package/dist/models/OmnisendSyncLiteResourceArrayResponse.d.ts +33 -0
  108. package/dist/models/OmnisendSyncLiteResourceArrayResponse.js +50 -0
  109. package/dist/models/OrderListResource.d.ts +127 -0
  110. package/dist/models/OrderListResource.js +106 -0
  111. package/dist/models/OrderListResourceArrayResponse.d.ts +33 -0
  112. package/dist/models/OrderListResourceArrayResponse.js +50 -0
  113. package/dist/models/OrderLiteResource.d.ts +62 -0
  114. package/dist/models/OrderLiteResource.js +67 -0
  115. package/dist/models/OrderLiteResourceArrayResponse.d.ts +33 -0
  116. package/dist/models/OrderLiteResourceArrayResponse.js +50 -0
  117. package/dist/models/OrderOmnisendEvent.d.ts +25 -0
  118. package/dist/models/OrderOmnisendEvent.js +51 -0
  119. package/dist/models/OrderStatusLiteResource.d.ts +44 -0
  120. package/dist/models/OrderStatusLiteResource.js +59 -0
  121. package/dist/models/OrderStatusLiteResourceArrayResponse.d.ts +33 -0
  122. package/dist/models/OrderStatusLiteResourceArrayResponse.js +50 -0
  123. package/dist/models/OrderStatusWithCountResource.d.ts +50 -0
  124. package/dist/models/OrderStatusWithCountResource.js +63 -0
  125. package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +33 -0
  126. package/dist/models/OrderStatusWithCountResourceArrayResponse.js +50 -0
  127. package/dist/models/PaginatedAdminNoteResourceResponse.d.ts +40 -0
  128. package/dist/models/PaginatedAdminNoteResourceResponse.js +57 -0
  129. package/dist/models/PaginatedCartListResourceResponse.d.ts +40 -0
  130. package/dist/models/PaginatedCartListResourceResponse.js +57 -0
  131. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +40 -0
  132. package/dist/models/PaginatedCustomerListResourceResponse.js +57 -0
  133. package/dist/models/PaginatedOrderListResourceResponse.d.ts +40 -0
  134. package/dist/models/PaginatedOrderListResourceResponse.js +57 -0
  135. package/dist/models/PaginatedTransactionResourceResponse.d.ts +40 -0
  136. package/dist/models/PaginatedTransactionResourceResponse.js +57 -0
  137. package/dist/models/PaymentMethod.d.ts +30 -0
  138. package/dist/models/PaymentMethod.js +56 -0
  139. package/dist/models/PaymentSource.d.ts +26 -0
  140. package/dist/models/PaymentSource.js +52 -0
  141. package/dist/models/PaymentStatus.d.ts +25 -0
  142. package/dist/models/PaymentStatus.js +51 -0
  143. package/dist/models/ProductChildCartLiteResource.d.ts +88 -0
  144. package/dist/models/ProductChildCartLiteResource.js +89 -0
  145. package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +33 -0
  146. package/dist/models/ProductChildCartLiteResourceArrayResponse.js +50 -0
  147. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +7 -0
  148. package/dist/models/ProductChildSiteDetailLiteResource.js +5 -0
  149. package/dist/models/RefundTransactionRequest.d.ts +38 -0
  150. package/dist/models/RefundTransactionRequest.js +53 -0
  151. package/dist/models/SearchAdminNotesRequest.d.ts +102 -0
  152. package/dist/models/SearchAdminNotesRequest.js +82 -0
  153. package/dist/models/SearchAllOrdersRequest.d.ts +105 -0
  154. package/dist/models/SearchAllOrdersRequest.js +85 -0
  155. package/dist/models/SearchCartsRequest.d.ts +154 -0
  156. package/dist/models/SearchCartsRequest.js +105 -0
  157. package/dist/models/SearchCustomersRequest.d.ts +99 -0
  158. package/dist/models/SearchCustomersRequest.js +83 -0
  159. package/dist/models/SearchOrdersRequest.d.ts +141 -0
  160. package/dist/models/SearchOrdersRequest.js +97 -0
  161. package/dist/models/SearchTransactionsRequest.d.ts +127 -0
  162. package/dist/models/SearchTransactionsRequest.js +91 -0
  163. package/dist/models/ShippingType.d.ts +28 -0
  164. package/dist/models/ShippingType.js +54 -0
  165. package/dist/models/SitePaymentConfigResource.d.ts +6 -0
  166. package/dist/models/SitePaymentConfigResource.js +4 -0
  167. package/dist/models/StoreFrontendResource.d.ts +1 -1
  168. package/dist/models/StoreFrontendResource.js +1 -3
  169. package/dist/models/StoreResource.d.ts +1 -1
  170. package/dist/models/StoreResource.js +3 -1
  171. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  172. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  173. package/dist/models/StoreTransactionResource.d.ts +39 -0
  174. package/dist/models/StoreTransactionResource.js +56 -0
  175. package/dist/models/StoreTransactionResourceArrayResponse.d.ts +33 -0
  176. package/dist/models/StoreTransactionResourceArrayResponse.js +50 -0
  177. package/dist/models/TransactionLiteResource.d.ts +86 -0
  178. package/dist/models/TransactionLiteResource.js +85 -0
  179. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +33 -0
  180. package/dist/models/TransactionLiteResourceArrayResponse.js +50 -0
  181. package/dist/models/TransactionResource.d.ts +128 -0
  182. package/dist/models/TransactionResource.js +101 -0
  183. package/dist/models/TransactionResourceArrayResponse.d.ts +33 -0
  184. package/dist/models/TransactionResourceArrayResponse.js +50 -0
  185. package/dist/models/TransactionType.d.ts +25 -0
  186. package/dist/models/TransactionType.js +51 -0
  187. package/dist/models/UpdateCartItemRequest.d.ts +38 -0
  188. package/dist/models/UpdateCartItemRequest.js +53 -0
  189. package/dist/models/UpdateCartRequest.d.ts +141 -0
  190. package/dist/models/UpdateCartRequest.js +101 -0
  191. package/dist/models/UpdateCustomerRequest.d.ts +56 -0
  192. package/dist/models/UpdateCustomerRequest.js +63 -0
  193. package/dist/models/UpdateOrderLineItemRequest.d.ts +38 -0
  194. package/dist/models/UpdateOrderLineItemRequest.js +53 -0
  195. package/dist/models/UpdateOrderRequest.d.ts +128 -0
  196. package/dist/models/UpdateOrderRequest.js +102 -0
  197. package/dist/models/UpdateSiteRequest.d.ts +6 -0
  198. package/dist/models/UpdateSiteRequest.js +4 -0
  199. package/dist/models/index.d.ts +82 -0
  200. package/dist/models/index.js +82 -0
  201. package/docs/AddressResource.md +4 -0
  202. package/docs/AddressType.md +32 -0
  203. package/docs/AdminApi.md +66 -0
  204. package/docs/AdminNoteResource.md +46 -0
  205. package/docs/AdminNoteResourceArrayResponse.md +34 -0
  206. package/docs/AdminOrderResource.md +122 -0
  207. package/docs/AdminOrderResourceArrayResponse.md +34 -0
  208. package/docs/AttachCartCouponRequest.md +34 -0
  209. package/docs/AttachCartItemRequest.md +38 -0
  210. package/docs/AttachOrderCouponRequest.md +34 -0
  211. package/docs/AttachOrderLineItemRequest.md +38 -0
  212. package/docs/CartCouponResource.md +40 -0
  213. package/docs/CartCouponResourceArrayResponse.md +34 -0
  214. package/docs/CartListResource.md +68 -0
  215. package/docs/CartListResourceArrayResponse.md +34 -0
  216. package/docs/CartOrderSource.md +32 -0
  217. package/docs/CartResource.md +100 -0
  218. package/docs/CartResourceArrayResponse.md +34 -0
  219. package/docs/CartStatus.md +32 -0
  220. package/docs/CartsApi.md +821 -0
  221. package/docs/CreateCartRequest.md +70 -0
  222. package/docs/CreateCartRequestCustomer.md +40 -0
  223. package/docs/CreateCartRequestItemsInner.md +38 -0
  224. package/docs/CreateCartRequestShippingAddress.md +48 -0
  225. package/docs/CreateCustomerRequest.md +42 -0
  226. package/docs/CreateStoreRequestAddress.md +2 -0
  227. package/docs/CreateTransactionRequest.md +46 -0
  228. package/docs/CustomerListResource.md +46 -0
  229. package/docs/CustomerListResourceArrayResponse.md +34 -0
  230. package/docs/CustomerResource.md +46 -0
  231. package/docs/CustomerResourceArrayResponse.md +34 -0
  232. package/docs/CustomersApi.md +275 -0
  233. package/docs/DetachCartCouponRequest.md +34 -0
  234. package/docs/DetachOrderCouponRequest.md +34 -0
  235. package/docs/DiscountResource.md +46 -0
  236. package/docs/DiscountResourceArrayResponse.md +34 -0
  237. package/docs/DiscountType.md +32 -0
  238. package/docs/DiscountValueType.md +32 -0
  239. package/docs/LiAddressResource.md +52 -0
  240. package/docs/LiAddressResourceArrayResponse.md +34 -0
  241. package/docs/LiAdminUserLiteResource.md +40 -0
  242. package/docs/LiAdminUserLiteResourceArrayResponse.md +34 -0
  243. package/docs/LineItemDiscountResource.md +40 -0
  244. package/docs/LineItemDiscountResourceArrayResponse.md +34 -0
  245. package/docs/LineItemListResource.md +52 -0
  246. package/docs/LineItemListResourceArrayResponse.md +34 -0
  247. package/docs/OmnisendSyncLiteResource.md +38 -0
  248. package/docs/OmnisendSyncLiteResourceArrayResponse.md +34 -0
  249. package/docs/OrderListResource.md +64 -0
  250. package/docs/OrderListResourceArrayResponse.md +34 -0
  251. package/docs/OrderLiteResource.md +44 -0
  252. package/docs/OrderLiteResourceArrayResponse.md +34 -0
  253. package/docs/OrderOmnisendEvent.md +32 -0
  254. package/docs/OrderStatusLiteResource.md +38 -0
  255. package/docs/OrderStatusLiteResourceArrayResponse.md +34 -0
  256. package/docs/OrderStatusWithCountResource.md +40 -0
  257. package/docs/OrderStatusWithCountResourceArrayResponse.md +34 -0
  258. package/docs/OrdersApi.md +813 -0
  259. package/docs/PaginatedAdminNoteResourceResponse.md +36 -0
  260. package/docs/PaginatedCartListResourceResponse.md +36 -0
  261. package/docs/PaginatedCustomerListResourceResponse.md +36 -0
  262. package/docs/PaginatedOrderListResourceResponse.md +36 -0
  263. package/docs/PaginatedTransactionResourceResponse.md +36 -0
  264. package/docs/PaymentMethod.md +32 -0
  265. package/docs/PaymentSource.md +32 -0
  266. package/docs/PaymentStatus.md +32 -0
  267. package/docs/ProductChildCartLiteResource.md +52 -0
  268. package/docs/ProductChildCartLiteResourceArrayResponse.md +34 -0
  269. package/docs/ProductChildSiteDetailLiteResource.md +2 -0
  270. package/docs/RefundTransactionRequest.md +36 -0
  271. package/docs/SearchAdminNotesRequest.md +52 -0
  272. package/docs/SearchAllOrdersRequest.md +52 -0
  273. package/docs/SearchCartsRequest.md +66 -0
  274. package/docs/SearchCustomersRequest.md +50 -0
  275. package/docs/SearchOrdersRequest.md +64 -0
  276. package/docs/SearchTransactionsRequest.md +60 -0
  277. package/docs/ShippingType.md +32 -0
  278. package/docs/SiteApi.md +66 -0
  279. package/docs/SitePaymentConfigResource.md +2 -0
  280. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  281. package/docs/StoreTransactionResource.md +36 -0
  282. package/docs/StoreTransactionResourceArrayResponse.md +34 -0
  283. package/docs/TransactionLiteResource.md +52 -0
  284. package/docs/TransactionLiteResourceArrayResponse.md +34 -0
  285. package/docs/TransactionResource.md +66 -0
  286. package/docs/TransactionResourceArrayResponse.md +34 -0
  287. package/docs/TransactionType.md +32 -0
  288. package/docs/TransactionsApi.md +209 -0
  289. package/docs/UpdateCartItemRequest.md +36 -0
  290. package/docs/UpdateCartRequest.md +62 -0
  291. package/docs/UpdateCustomerRequest.md +42 -0
  292. package/docs/UpdateOrderLineItemRequest.md +36 -0
  293. package/docs/UpdateOrderRequest.md +58 -0
  294. package/docs/UpdateSiteRequest.md +2 -0
  295. package/package.json +1 -1
  296. package/src/apis/AdminApi.ts +54 -0
  297. package/src/apis/CartsApi.ts +693 -0
  298. package/src/apis/CustomersApi.ts +237 -0
  299. package/src/apis/OrdersApi.ts +686 -0
  300. package/src/apis/SiteApi.ts +54 -0
  301. package/src/apis/TransactionsApi.ts +193 -0
  302. package/src/apis/index.ts +4 -0
  303. package/src/models/AddressFrontendResource.ts +4 -6
  304. package/src/models/AddressResource.ts +20 -2
  305. package/src/models/AddressType.ts +53 -0
  306. package/src/models/AdminNoteResource.ts +126 -0
  307. package/src/models/AdminNoteResourceArrayResponse.ts +73 -0
  308. package/src/models/AdminOrderResource.ts +528 -0
  309. package/src/models/AdminOrderResourceArrayResponse.ts +73 -0
  310. package/src/models/AttachCartCouponRequest.ts +66 -0
  311. package/src/models/AttachCartItemRequest.ts +83 -0
  312. package/src/models/AttachOrderCouponRequest.ts +66 -0
  313. package/src/models/AttachOrderLineItemRequest.ts +83 -0
  314. package/src/models/CartCouponResource.ts +93 -0
  315. package/src/models/CartCouponResourceArrayResponse.ts +73 -0
  316. package/src/models/CartListResource.ts +234 -0
  317. package/src/models/CartListResourceArrayResponse.ts +73 -0
  318. package/src/models/CartOrderSource.ts +57 -0
  319. package/src/models/CartResource.ts +390 -0
  320. package/src/models/CartResourceArrayResponse.ts +73 -0
  321. package/src/models/CartStatus.ts +54 -0
  322. package/src/models/CreateCartRequest.ts +260 -0
  323. package/src/models/CreateCartRequestCustomer.ts +89 -0
  324. package/src/models/CreateCartRequestItemsInner.ts +83 -0
  325. package/src/models/CreateCartRequestShippingAddress.ts +121 -0
  326. package/src/models/CreateCustomerRequest.ts +101 -0
  327. package/src/models/CreateStoreRequestAddress.ts +8 -0
  328. package/src/models/CreateTransactionRequest.ts +131 -0
  329. package/src/models/CustomerListResource.ts +134 -0
  330. package/src/models/CustomerListResourceArrayResponse.ts +73 -0
  331. package/src/models/CustomerResource.ts +134 -0
  332. package/src/models/CustomerResourceArrayResponse.ts +73 -0
  333. package/src/models/DetachCartCouponRequest.ts +66 -0
  334. package/src/models/DetachOrderCouponRequest.ts +66 -0
  335. package/src/models/DiscountResource.ts +119 -0
  336. package/src/models/DiscountResourceArrayResponse.ts +73 -0
  337. package/src/models/DiscountType.ts +54 -0
  338. package/src/models/DiscountValueType.ts +53 -0
  339. package/src/models/LiAddressResource.ts +145 -0
  340. package/src/models/LiAddressResourceArrayResponse.ts +73 -0
  341. package/src/models/LiAdminUserLiteResource.ts +92 -0
  342. package/src/models/LiAdminUserLiteResourceArrayResponse.ts +73 -0
  343. package/src/models/LineItemDiscountResource.ts +93 -0
  344. package/src/models/LineItemDiscountResourceArrayResponse.ts +73 -0
  345. package/src/models/LineItemListResource.ts +169 -0
  346. package/src/models/LineItemListResourceArrayResponse.ts +73 -0
  347. package/src/models/OmnisendSyncLiteResource.ts +84 -0
  348. package/src/models/OmnisendSyncLiteResourceArrayResponse.ts +73 -0
  349. package/src/models/OrderListResource.ts +232 -0
  350. package/src/models/OrderListResourceArrayResponse.ts +73 -0
  351. package/src/models/OrderLiteResource.ts +109 -0
  352. package/src/models/OrderLiteResourceArrayResponse.ts +73 -0
  353. package/src/models/OrderOmnisendEvent.ts +53 -0
  354. package/src/models/OrderStatusLiteResource.ts +84 -0
  355. package/src/models/OrderStatusLiteResourceArrayResponse.ts +73 -0
  356. package/src/models/OrderStatusWithCountResource.ts +93 -0
  357. package/src/models/OrderStatusWithCountResourceArrayResponse.ts +73 -0
  358. package/src/models/PaginatedAdminNoteResourceResponse.ts +90 -0
  359. package/src/models/PaginatedCartListResourceResponse.ts +90 -0
  360. package/src/models/PaginatedCustomerListResourceResponse.ts +90 -0
  361. package/src/models/PaginatedOrderListResourceResponse.ts +90 -0
  362. package/src/models/PaginatedTransactionResourceResponse.ts +90 -0
  363. package/src/models/PaymentMethod.ts +58 -0
  364. package/src/models/PaymentSource.ts +54 -0
  365. package/src/models/PaymentStatus.ts +53 -0
  366. package/src/models/ProductChildCartLiteResource.ts +162 -0
  367. package/src/models/ProductChildCartLiteResourceArrayResponse.ts +73 -0
  368. package/src/models/ProductChildSiteDetailLiteResource.ts +16 -0
  369. package/src/models/RefundTransactionRequest.ts +74 -0
  370. package/src/models/SearchAdminNotesRequest.ts +157 -0
  371. package/src/models/SearchAllOrdersRequest.ts +160 -0
  372. package/src/models/SearchCartsRequest.ts +224 -0
  373. package/src/models/SearchCustomersRequest.ts +152 -0
  374. package/src/models/SearchOrdersRequest.ts +208 -0
  375. package/src/models/SearchTransactionsRequest.ts +190 -0
  376. package/src/models/ShippingType.ts +56 -0
  377. package/src/models/SitePaymentConfigResource.ts +9 -0
  378. package/src/models/StoreFrontendResource.ts +2 -3
  379. package/src/models/StoreResource.ts +3 -2
  380. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  381. package/src/models/StoreTransactionResource.ts +83 -0
  382. package/src/models/StoreTransactionResourceArrayResponse.ts +73 -0
  383. package/src/models/TransactionLiteResource.ts +146 -0
  384. package/src/models/TransactionLiteResourceArrayResponse.ts +73 -0
  385. package/src/models/TransactionResource.ts +203 -0
  386. package/src/models/TransactionResourceArrayResponse.ts +73 -0
  387. package/src/models/TransactionType.ts +53 -0
  388. package/src/models/UpdateCartItemRequest.ts +74 -0
  389. package/src/models/UpdateCartRequest.ts +219 -0
  390. package/src/models/UpdateCustomerRequest.ts +100 -0
  391. package/src/models/UpdateOrderLineItemRequest.ts +74 -0
  392. package/src/models/UpdateOrderRequest.ts +199 -0
  393. package/src/models/UpdateSiteRequest.ts +9 -0
  394. package/src/models/index.ts +82 -0
@@ -0,0 +1,64 @@
1
+
2
+ # SearchOrdersRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `search` | string
10
+ `sortBy` | string
11
+ `sortDirection` | string
12
+ `perPage` | number
13
+ `page` | number
14
+ `siteId` | Array<string>
15
+ `source` | Array<string>
16
+ `statusId` | Array<string>
17
+ `customerId` | Array<string>
18
+ `beforeCreatedAt` | Date
19
+ `afterCreatedAt` | Date
20
+ `beforePlacedAt` | Date
21
+ `afterPlacedAt` | Date
22
+ `relatedId` | number
23
+ `relatedType` | string
24
+ `includesRelations` | boolean
25
+
26
+ ## Example
27
+
28
+ ```typescript
29
+ import type { SearchOrdersRequest } from '@digital8/lighting-illusions-ts-sdk'
30
+
31
+ // TODO: Update the object below with actual values
32
+ const example = {
33
+ "search": null,
34
+ "sortBy": null,
35
+ "sortDirection": null,
36
+ "perPage": null,
37
+ "page": null,
38
+ "siteId": null,
39
+ "source": null,
40
+ "statusId": null,
41
+ "customerId": null,
42
+ "beforeCreatedAt": null,
43
+ "afterCreatedAt": null,
44
+ "beforePlacedAt": null,
45
+ "afterPlacedAt": null,
46
+ "relatedId": null,
47
+ "relatedType": null,
48
+ "includesRelations": null,
49
+ } satisfies SearchOrdersRequest
50
+
51
+ console.log(example)
52
+
53
+ // Convert the instance to a JSON string
54
+ const exampleJSON: string = JSON.stringify(example)
55
+ console.log(exampleJSON)
56
+
57
+ // Parse the JSON string back to an object
58
+ const exampleParsed = JSON.parse(exampleJSON) as SearchOrdersRequest
59
+ console.log(exampleParsed)
60
+ ```
61
+
62
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
63
+
64
+
@@ -0,0 +1,60 @@
1
+
2
+ # SearchTransactionsRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `search` | string
10
+ `sortBy` | string
11
+ `sortDirection` | string
12
+ `perPage` | number
13
+ `page` | number
14
+ `paymentSource` | Array<string>
15
+ `type` | Array<string>
16
+ `paymentMethod` | Array<string>
17
+ `status` | Array<string>
18
+ `beforeCreatedAt` | Date
19
+ `afterCreatedAt` | Date
20
+ `relatedId` | number
21
+ `relatedType` | string
22
+ `includesRelations` | boolean
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import type { SearchTransactionsRequest } from '@digital8/lighting-illusions-ts-sdk'
28
+
29
+ // TODO: Update the object below with actual values
30
+ const example = {
31
+ "search": null,
32
+ "sortBy": null,
33
+ "sortDirection": null,
34
+ "perPage": null,
35
+ "page": null,
36
+ "paymentSource": null,
37
+ "type": null,
38
+ "paymentMethod": null,
39
+ "status": null,
40
+ "beforeCreatedAt": null,
41
+ "afterCreatedAt": null,
42
+ "relatedId": null,
43
+ "relatedType": null,
44
+ "includesRelations": null,
45
+ } satisfies SearchTransactionsRequest
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 SearchTransactionsRequest
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
+
@@ -0,0 +1,32 @@
1
+
2
+ # ShippingType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { ShippingType } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies ShippingType
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 ShippingType
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
+
package/docs/SiteApi.md CHANGED
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost/api*
6
6
  |------------- | ------------- | -------------|
7
7
  | [**destroySiteNotification**](SiteApi.md#destroysitenotification) | **DELETE** /admin-api/site/notification/{siteNotification}/delete | Auto-generated: destroySiteNotification |
8
8
  | [**getAllSite**](SiteApi.md#getallsite) | **POST** /admin-api/site/all | Auto-generated: getAllSite |
9
+ | [**getPaymentConfigSite**](SiteApi.md#getpaymentconfigsite) | **GET** /admin-api/site/{site}/payment-config | Auto-generated: getPaymentConfigSite |
9
10
  | [**indexSite**](SiteApi.md#indexsite) | **POST** /admin-api/site/list | Auto-generated: indexSite |
10
11
  | [**indexSiteNotification**](SiteApi.md#indexsitenotification) | **POST** /admin-api/site/notification/list | Auto-generated: indexSiteNotification |
11
12
  | [**showSite**](SiteApi.md#showsite) | **GET** /admin-api/site/{site} | Auto-generated: showSite |
@@ -145,6 +146,71 @@ No authorization required
145
146
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
146
147
 
147
148
 
149
+ ## getPaymentConfigSite
150
+
151
+ > SitePaymentConfigResource getPaymentConfigSite(site)
152
+
153
+ Auto-generated: getPaymentConfigSite
154
+
155
+ ### Example
156
+
157
+ ```ts
158
+ import {
159
+ Configuration,
160
+ SiteApi,
161
+ } from '@digital8/lighting-illusions-ts-sdk';
162
+ import type { GetPaymentConfigSiteRequest } from '@digital8/lighting-illusions-ts-sdk';
163
+
164
+ async function example() {
165
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
166
+ const api = new SiteApi();
167
+
168
+ const body = {
169
+ // number | The id of the site
170
+ site: 56,
171
+ } satisfies GetPaymentConfigSiteRequest;
172
+
173
+ try {
174
+ const data = await api.getPaymentConfigSite(body);
175
+ console.log(data);
176
+ } catch (error) {
177
+ console.error(error);
178
+ }
179
+ }
180
+
181
+ // Run the test
182
+ example().catch(console.error);
183
+ ```
184
+
185
+ ### Parameters
186
+
187
+
188
+ | Name | Type | Description | Notes |
189
+ |------------- | ------------- | ------------- | -------------|
190
+ | **site** | `number` | The id of the site | [Defaults to `undefined`] |
191
+
192
+ ### Return type
193
+
194
+ [**SitePaymentConfigResource**](SitePaymentConfigResource.md)
195
+
196
+ ### Authorization
197
+
198
+ No authorization required
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: Not defined
203
+ - **Accept**: `application/json`
204
+
205
+
206
+ ### HTTP response details
207
+ | Status code | Description | Response headers |
208
+ |-------------|-------------|------------------|
209
+ | **200** | Successful resource response | - |
210
+
211
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
212
+
213
+
148
214
  ## indexSite
149
215
 
150
216
  > PaginatedSiteListResourceResponse indexSite(searchSitesRequest)
@@ -16,6 +16,7 @@ Name | Type
16
16
  `acCouponValue` | number
17
17
  `acCouponDiscountType` | string
18
18
  `acCouponExpiryDays` | number
19
+ `cartExpiryDays` | number
19
20
  `acCouponEnabled` | boolean
20
21
 
21
22
  ## Example
@@ -35,6 +36,7 @@ const example = {
35
36
  "acCouponValue": null,
36
37
  "acCouponDiscountType": null,
37
38
  "acCouponExpiryDays": null,
39
+ "cartExpiryDays": null,
38
40
  "acCouponEnabled": null,
39
41
  } satisfies SitePaymentConfigResource
40
42
 
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `hours` | string
12
- `date` | string
12
+ `date` | object
13
13
  `closed` | boolean
14
14
  `displayStartDate` | object
15
15
  `displayEndDate` | object
@@ -0,0 +1,36 @@
1
+
2
+ # StoreTransactionResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `transaction` | [TransactionResource](TransactionResource.md)
10
+ `orderId` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { StoreTransactionResource } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "transaction": null,
20
+ "orderId": null,
21
+ } satisfies StoreTransactionResource
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 StoreTransactionResource
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
+
@@ -0,0 +1,34 @@
1
+
2
+ # StoreTransactionResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<StoreTransactionResource>](StoreTransactionResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { StoreTransactionResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies StoreTransactionResourceArrayResponse
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 StoreTransactionResourceArrayResponse
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
+
@@ -0,0 +1,52 @@
1
+
2
+ # TransactionLiteResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `paymentSource` | string
10
+ `paymentMethod` | string
11
+ `paymentMethodThumbnail` | string
12
+ `type` | string
13
+ `status` | string
14
+ `amount` | number
15
+ `surcharge` | number
16
+ `totalAmount` | number
17
+ `reference` | string
18
+ `createdAt` | Date
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { TransactionLiteResource } from '@digital8/lighting-illusions-ts-sdk'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "paymentSource": null,
28
+ "paymentMethod": null,
29
+ "paymentMethodThumbnail": null,
30
+ "type": null,
31
+ "status": null,
32
+ "amount": null,
33
+ "surcharge": null,
34
+ "totalAmount": null,
35
+ "reference": null,
36
+ "createdAt": null,
37
+ } satisfies TransactionLiteResource
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as TransactionLiteResource
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,34 @@
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
+
@@ -0,0 +1,66 @@
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
+
@@ -0,0 +1,34 @@
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
+
@@ -0,0 +1,32 @@
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
+