@digital8/lighting-illusions-ts-sdk 0.0.2078 → 0.0.2080

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 (427) hide show
  1. package/.openapi-generator/FILES +182 -0
  2. package/README.md +122 -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 +66 -0
  8. package/dist/apis/CustomersApi.js +258 -0
  9. package/dist/apis/LabelApi.d.ts +2 -3
  10. package/dist/apis/LabelApi.js +1 -2
  11. package/dist/apis/OrdersApi.d.ts +213 -0
  12. package/dist/apis/OrdersApi.js +811 -0
  13. package/dist/apis/ProductApi.d.ts +16 -0
  14. package/dist/apis/ProductApi.js +59 -0
  15. package/dist/apis/SiteApi.d.ts +16 -0
  16. package/dist/apis/SiteApi.js +60 -0
  17. package/dist/apis/TransactionsApi.d.ts +69 -0
  18. package/dist/apis/TransactionsApi.js +262 -0
  19. package/dist/apis/index.d.ts +4 -0
  20. package/dist/apis/index.js +4 -0
  21. package/dist/models/AddressFrontendResource.d.ts +1 -1
  22. package/dist/models/AddressFrontendResource.js +1 -3
  23. package/dist/models/AddressResource.d.ts +19 -1
  24. package/dist/models/AddressResource.js +17 -7
  25. package/dist/models/AddressType.d.ts +25 -0
  26. package/dist/models/AddressType.js +51 -0
  27. package/dist/models/AdminNoteResource.d.ts +57 -0
  28. package/dist/models/AdminNoteResource.js +64 -0
  29. package/dist/models/AdminNoteResourceArrayResponse.d.ts +33 -0
  30. package/dist/models/AdminNoteResourceArrayResponse.js +50 -0
  31. package/dist/models/AdminOrderResource.d.ts +282 -0
  32. package/dist/models/AdminOrderResource.js +211 -0
  33. package/dist/models/AdminOrderResourceArrayResponse.d.ts +33 -0
  34. package/dist/models/AdminOrderResourceArrayResponse.js +50 -0
  35. package/dist/models/AttachCouponRequest.d.ts +32 -0
  36. package/dist/models/AttachCouponRequest.js +51 -0
  37. package/dist/models/AttachLineItemRequest.d.ts +44 -0
  38. package/dist/models/AttachLineItemRequest.js +57 -0
  39. package/dist/models/CartCouponLiteResource.d.ts +56 -0
  40. package/dist/models/CartCouponLiteResource.js +67 -0
  41. package/dist/models/CartCouponLiteResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/CartCouponLiteResourceArrayResponse.js +50 -0
  43. package/dist/models/CartCouponResource.d.ts +50 -0
  44. package/dist/models/CartCouponResource.js +63 -0
  45. package/dist/models/CartCouponResourceArrayResponse.d.ts +33 -0
  46. package/dist/models/CartCouponResourceArrayResponse.js +50 -0
  47. package/dist/models/CartListResource.d.ts +89 -0
  48. package/dist/models/CartListResource.js +82 -0
  49. package/dist/models/CartListResourceArrayResponse.d.ts +33 -0
  50. package/dist/models/CartListResourceArrayResponse.js +50 -0
  51. package/dist/models/CartOrderSource.d.ts +25 -0
  52. package/dist/models/CartOrderSource.js +51 -0
  53. package/dist/models/CartResource.d.ts +235 -0
  54. package/dist/models/CartResource.js +170 -0
  55. package/dist/models/CartResourceArrayResponse.d.ts +33 -0
  56. package/dist/models/CartResourceArrayResponse.js +50 -0
  57. package/dist/models/CartStatus.d.ts +26 -0
  58. package/dist/models/CartStatus.js +52 -0
  59. package/dist/models/CreateCartRequest.d.ts +167 -0
  60. package/dist/models/CreateCartRequest.js +113 -0
  61. package/dist/models/CreateCartRequestItemsInner.d.ts +44 -0
  62. package/dist/models/CreateCartRequestItemsInner.js +57 -0
  63. package/dist/models/CreateCartRequestShippingAddress.d.ts +74 -0
  64. package/dist/models/CreateCartRequestShippingAddress.js +63 -0
  65. package/dist/models/CreateCustomerRequest.d.ts +56 -0
  66. package/dist/models/CreateCustomerRequest.js +65 -0
  67. package/dist/models/CreateStoreRequestAddress.d.ts +6 -0
  68. package/dist/models/CreateStoreRequestAddress.js +2 -0
  69. package/dist/models/CreateTransactionRequest.d.ts +87 -0
  70. package/dist/models/CreateTransactionRequest.js +80 -0
  71. package/dist/models/CustomerListResource.d.ts +63 -0
  72. package/dist/models/CustomerListResource.js +70 -0
  73. package/dist/models/CustomerListResourceArrayResponse.d.ts +33 -0
  74. package/dist/models/CustomerListResourceArrayResponse.js +50 -0
  75. package/dist/models/CustomerResource.d.ts +70 -0
  76. package/dist/models/CustomerResource.js +75 -0
  77. package/dist/models/CustomerResourceArrayResponse.d.ts +33 -0
  78. package/dist/models/CustomerResourceArrayResponse.js +50 -0
  79. package/dist/models/DetachCouponRequest.d.ts +32 -0
  80. package/dist/models/DetachCouponRequest.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/FrontendCartResource.d.ts +138 -0
  90. package/dist/models/FrontendCartResource.js +119 -0
  91. package/dist/models/FrontendCartResourceArrayResponse.d.ts +33 -0
  92. package/dist/models/FrontendCartResourceArrayResponse.js +50 -0
  93. package/dist/models/FrontendCartResourceCouponsInner.d.ts +56 -0
  94. package/dist/models/FrontendCartResourceCouponsInner.js +57 -0
  95. package/dist/models/FrontendLineItemResource.d.ts +81 -0
  96. package/dist/models/FrontendLineItemResource.js +82 -0
  97. package/dist/models/FrontendLineItemResourceArrayResponse.d.ts +33 -0
  98. package/dist/models/FrontendLineItemResourceArrayResponse.js +50 -0
  99. package/dist/models/LabelListResource.d.ts +4 -4
  100. package/dist/models/LabelListResource.js +4 -4
  101. package/dist/models/LabelResource.d.ts +4 -4
  102. package/dist/models/LabelResource.js +4 -4
  103. package/dist/models/LiAddressResource.d.ts +86 -0
  104. package/dist/models/LiAddressResource.js +83 -0
  105. package/dist/models/LiAddressResourceArrayResponse.d.ts +33 -0
  106. package/dist/models/LiAddressResourceArrayResponse.js +50 -0
  107. package/dist/models/LiAdminUserLiteResource.d.ts +50 -0
  108. package/dist/models/LiAdminUserLiteResource.js +61 -0
  109. package/dist/models/LiAdminUserLiteResourceArrayResponse.d.ts +33 -0
  110. package/dist/models/LiAdminUserLiteResourceArrayResponse.js +50 -0
  111. package/dist/models/LineItemDiscountResource.d.ts +50 -0
  112. package/dist/models/LineItemDiscountResource.js +63 -0
  113. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +33 -0
  114. package/dist/models/LineItemDiscountResourceArrayResponse.js +50 -0
  115. package/dist/models/LineItemListResource.d.ts +89 -0
  116. package/dist/models/LineItemListResource.js +90 -0
  117. package/dist/models/LineItemListResourceArrayResponse.d.ts +33 -0
  118. package/dist/models/LineItemListResourceArrayResponse.js +50 -0
  119. package/dist/models/OmnisendSyncLiteResource.d.ts +44 -0
  120. package/dist/models/OmnisendSyncLiteResource.js +59 -0
  121. package/dist/models/OmnisendSyncLiteResourceArrayResponse.d.ts +33 -0
  122. package/dist/models/OmnisendSyncLiteResourceArrayResponse.js +50 -0
  123. package/dist/models/OrderListResource.d.ts +103 -0
  124. package/dist/models/OrderListResource.js +94 -0
  125. package/dist/models/OrderListResourceArrayResponse.d.ts +33 -0
  126. package/dist/models/OrderListResourceArrayResponse.js +50 -0
  127. package/dist/models/OrderLiteResource.d.ts +62 -0
  128. package/dist/models/OrderLiteResource.js +67 -0
  129. package/dist/models/OrderLiteResourceArrayResponse.d.ts +33 -0
  130. package/dist/models/OrderLiteResourceArrayResponse.js +50 -0
  131. package/dist/models/OrderOmnisendEvent.d.ts +25 -0
  132. package/dist/models/OrderOmnisendEvent.js +51 -0
  133. package/dist/models/OrderStatusLiteResource.d.ts +44 -0
  134. package/dist/models/OrderStatusLiteResource.js +59 -0
  135. package/dist/models/OrderStatusLiteResourceArrayResponse.d.ts +33 -0
  136. package/dist/models/OrderStatusLiteResourceArrayResponse.js +50 -0
  137. package/dist/models/OrderStatusWithCountResource.d.ts +50 -0
  138. package/dist/models/OrderStatusWithCountResource.js +63 -0
  139. package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +33 -0
  140. package/dist/models/OrderStatusWithCountResourceArrayResponse.js +50 -0
  141. package/dist/models/PaginatedAdminNoteResourceResponse.d.ts +40 -0
  142. package/dist/models/PaginatedAdminNoteResourceResponse.js +57 -0
  143. package/dist/models/PaginatedCartListResourceResponse.d.ts +40 -0
  144. package/dist/models/PaginatedCartListResourceResponse.js +57 -0
  145. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +40 -0
  146. package/dist/models/PaginatedCustomerListResourceResponse.js +57 -0
  147. package/dist/models/PaginatedOrderListResourceResponse.d.ts +40 -0
  148. package/dist/models/PaginatedOrderListResourceResponse.js +57 -0
  149. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +40 -0
  150. package/dist/models/PaginatedTransactionListResourceResponse.js +57 -0
  151. package/dist/models/PaginatedTransactionResourceResponse.d.ts +40 -0
  152. package/dist/models/PaginatedTransactionResourceResponse.js +57 -0
  153. package/dist/models/PaymentMethod.d.ts +30 -0
  154. package/dist/models/PaymentMethod.js +56 -0
  155. package/dist/models/PaymentSource.d.ts +26 -0
  156. package/dist/models/PaymentSource.js +52 -0
  157. package/dist/models/PaymentStatus.d.ts +25 -0
  158. package/dist/models/PaymentStatus.js +51 -0
  159. package/dist/models/ProductChildFrontendResource.d.ts +2 -3
  160. package/dist/models/ProductChildFrontendResource.js +2 -3
  161. package/dist/models/ProductChildLineItemLiteResource.d.ts +106 -0
  162. package/dist/models/ProductChildLineItemLiteResource.js +101 -0
  163. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.d.ts +33 -0
  164. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.js +50 -0
  165. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +7 -0
  166. package/dist/models/ProductChildSiteDetailLiteResource.js +5 -0
  167. package/dist/models/RefundTransactionRequest.d.ts +38 -0
  168. package/dist/models/RefundTransactionRequest.js +53 -0
  169. package/dist/models/SearchAdminNotesRequest.d.ts +102 -0
  170. package/dist/models/SearchAdminNotesRequest.js +82 -0
  171. package/dist/models/SearchAllOrdersRequest.d.ts +105 -0
  172. package/dist/models/SearchAllOrdersRequest.js +85 -0
  173. package/dist/models/SearchCartsRequest.d.ts +146 -0
  174. package/dist/models/SearchCartsRequest.js +98 -0
  175. package/dist/models/SearchCustomersRequest.d.ts +99 -0
  176. package/dist/models/SearchCustomersRequest.js +83 -0
  177. package/dist/models/SearchOrdersRequest.d.ts +153 -0
  178. package/dist/models/SearchOrdersRequest.js +101 -0
  179. package/dist/models/SearchTransactionsRequest.d.ts +135 -0
  180. package/dist/models/SearchTransactionsRequest.js +98 -0
  181. package/dist/models/ShippingType.d.ts +28 -0
  182. package/dist/models/ShippingType.js +54 -0
  183. package/dist/models/SitePaymentConfigResource.d.ts +6 -0
  184. package/dist/models/SitePaymentConfigResource.js +4 -0
  185. package/dist/models/SkuSearchProductChildRequest.d.ts +38 -0
  186. package/dist/models/SkuSearchProductChildRequest.js +55 -0
  187. package/dist/models/StoreListResource.d.ts +1 -1
  188. package/dist/models/StoreListResource.js +1 -3
  189. package/dist/models/StoreTransactionResource.d.ts +39 -0
  190. package/dist/models/StoreTransactionResource.js +56 -0
  191. package/dist/models/StoreTransactionResourceArrayResponse.d.ts +33 -0
  192. package/dist/models/StoreTransactionResourceArrayResponse.js +50 -0
  193. package/dist/models/TransactionListResource.d.ts +116 -0
  194. package/dist/models/TransactionListResource.js +97 -0
  195. package/dist/models/TransactionListResourceArrayResponse.d.ts +33 -0
  196. package/dist/models/TransactionListResourceArrayResponse.js +50 -0
  197. package/dist/models/TransactionLiteResource.d.ts +98 -0
  198. package/dist/models/TransactionLiteResource.js +89 -0
  199. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +33 -0
  200. package/dist/models/TransactionLiteResourceArrayResponse.js +50 -0
  201. package/dist/models/TransactionResource.d.ts +128 -0
  202. package/dist/models/TransactionResource.js +101 -0
  203. package/dist/models/TransactionResourceArrayResponse.d.ts +33 -0
  204. package/dist/models/TransactionResourceArrayResponse.js +50 -0
  205. package/dist/models/TransactionType.d.ts +25 -0
  206. package/dist/models/TransactionType.js +51 -0
  207. package/dist/models/UpdateCartRequest.d.ts +148 -0
  208. package/dist/models/UpdateCartRequest.js +100 -0
  209. package/dist/models/UpdateLineItemRequest.d.ts +38 -0
  210. package/dist/models/UpdateLineItemRequest.js +53 -0
  211. package/dist/models/UpdateOrderRequest.d.ts +130 -0
  212. package/dist/models/UpdateOrderRequest.js +104 -0
  213. package/dist/models/UpdateSiteRequest.d.ts +6 -0
  214. package/dist/models/UpdateSiteRequest.js +4 -0
  215. package/dist/models/index.d.ts +87 -0
  216. package/dist/models/index.js +87 -0
  217. package/docs/AddressResource.md +6 -0
  218. package/docs/AddressType.md +32 -0
  219. package/docs/AdminApi.md +66 -0
  220. package/docs/AdminNoteResource.md +42 -0
  221. package/docs/AdminNoteResourceArrayResponse.md +34 -0
  222. package/docs/AdminOrderResource.md +114 -0
  223. package/docs/AdminOrderResourceArrayResponse.md +34 -0
  224. package/docs/AttachCouponRequest.md +34 -0
  225. package/docs/AttachLineItemRequest.md +38 -0
  226. package/docs/CartCouponLiteResource.md +42 -0
  227. package/docs/CartCouponLiteResourceArrayResponse.md +34 -0
  228. package/docs/CartCouponResource.md +40 -0
  229. package/docs/CartCouponResourceArrayResponse.md +34 -0
  230. package/docs/CartListResource.md +52 -0
  231. package/docs/CartListResourceArrayResponse.md +34 -0
  232. package/docs/CartOrderSource.md +32 -0
  233. package/docs/CartResource.md +100 -0
  234. package/docs/CartResourceArrayResponse.md +34 -0
  235. package/docs/CartStatus.md +32 -0
  236. package/docs/CartsApi.md +821 -0
  237. package/docs/CreateCartRequest.md +72 -0
  238. package/docs/CreateCartRequestItemsInner.md +38 -0
  239. package/docs/CreateCartRequestShippingAddress.md +48 -0
  240. package/docs/CreateCustomerRequest.md +42 -0
  241. package/docs/CreateStoreRequestAddress.md +2 -0
  242. package/docs/CreateTransactionRequest.md +48 -0
  243. package/docs/CustomerListResource.md +44 -0
  244. package/docs/CustomerListResourceArrayResponse.md +34 -0
  245. package/docs/CustomerResource.md +46 -0
  246. package/docs/CustomerResourceArrayResponse.md +34 -0
  247. package/docs/CustomersApi.md +206 -0
  248. package/docs/DetachCouponRequest.md +34 -0
  249. package/docs/DiscountResource.md +46 -0
  250. package/docs/DiscountResourceArrayResponse.md +34 -0
  251. package/docs/DiscountType.md +32 -0
  252. package/docs/DiscountValueType.md +32 -0
  253. package/docs/FrontendCartResource.md +68 -0
  254. package/docs/FrontendCartResourceArrayResponse.md +34 -0
  255. package/docs/FrontendCartResourceCouponsInner.md +42 -0
  256. package/docs/FrontendLineItemResource.md +50 -0
  257. package/docs/FrontendLineItemResourceArrayResponse.md +34 -0
  258. package/docs/LabelApi.md +3 -3
  259. package/docs/LabelListResource.md +2 -2
  260. package/docs/LabelResource.md +2 -2
  261. package/docs/LiAddressResource.md +52 -0
  262. package/docs/LiAddressResourceArrayResponse.md +34 -0
  263. package/docs/LiAdminUserLiteResource.md +40 -0
  264. package/docs/LiAdminUserLiteResourceArrayResponse.md +34 -0
  265. package/docs/LineItemDiscountResource.md +40 -0
  266. package/docs/LineItemDiscountResourceArrayResponse.md +34 -0
  267. package/docs/LineItemListResource.md +52 -0
  268. package/docs/LineItemListResourceArrayResponse.md +34 -0
  269. package/docs/OmnisendSyncLiteResource.md +38 -0
  270. package/docs/OmnisendSyncLiteResourceArrayResponse.md +34 -0
  271. package/docs/OrderListResource.md +56 -0
  272. package/docs/OrderListResourceArrayResponse.md +34 -0
  273. package/docs/OrderLiteResource.md +44 -0
  274. package/docs/OrderLiteResourceArrayResponse.md +34 -0
  275. package/docs/OrderOmnisendEvent.md +32 -0
  276. package/docs/OrderStatusLiteResource.md +38 -0
  277. package/docs/OrderStatusLiteResourceArrayResponse.md +34 -0
  278. package/docs/OrderStatusWithCountResource.md +40 -0
  279. package/docs/OrderStatusWithCountResourceArrayResponse.md +34 -0
  280. package/docs/OrdersApi.md +813 -0
  281. package/docs/PaginatedAdminNoteResourceResponse.md +36 -0
  282. package/docs/PaginatedCartListResourceResponse.md +36 -0
  283. package/docs/PaginatedCustomerListResourceResponse.md +36 -0
  284. package/docs/PaginatedOrderListResourceResponse.md +36 -0
  285. package/docs/PaginatedTransactionListResourceResponse.md +36 -0
  286. package/docs/PaginatedTransactionResourceResponse.md +36 -0
  287. package/docs/PaymentMethod.md +32 -0
  288. package/docs/PaymentSource.md +32 -0
  289. package/docs/PaymentStatus.md +32 -0
  290. package/docs/ProductApi.md +66 -0
  291. package/docs/ProductChildFrontendResource.md +1 -1
  292. package/docs/ProductChildLineItemLiteResource.md +58 -0
  293. package/docs/ProductChildLineItemLiteResourceArrayResponse.md +34 -0
  294. package/docs/ProductChildSiteDetailLiteResource.md +2 -0
  295. package/docs/RefundTransactionRequest.md +36 -0
  296. package/docs/SearchAdminNotesRequest.md +52 -0
  297. package/docs/SearchAllOrdersRequest.md +52 -0
  298. package/docs/SearchCartsRequest.md +66 -0
  299. package/docs/SearchCustomersRequest.md +50 -0
  300. package/docs/SearchOrdersRequest.md +68 -0
  301. package/docs/SearchTransactionsRequest.md +60 -0
  302. package/docs/ShippingType.md +32 -0
  303. package/docs/SiteApi.md +66 -0
  304. package/docs/SitePaymentConfigResource.md +2 -0
  305. package/docs/SkuSearchProductChildRequest.md +36 -0
  306. package/docs/StoreTransactionResource.md +36 -0
  307. package/docs/StoreTransactionResourceArrayResponse.md +34 -0
  308. package/docs/TransactionListResource.md +62 -0
  309. package/docs/TransactionListResourceArrayResponse.md +34 -0
  310. package/docs/TransactionLiteResource.md +56 -0
  311. package/docs/TransactionLiteResourceArrayResponse.md +34 -0
  312. package/docs/TransactionResource.md +66 -0
  313. package/docs/TransactionResourceArrayResponse.md +34 -0
  314. package/docs/TransactionType.md +32 -0
  315. package/docs/TransactionsApi.md +209 -0
  316. package/docs/UpdateCartRequest.md +66 -0
  317. package/docs/UpdateLineItemRequest.md +36 -0
  318. package/docs/UpdateOrderRequest.md +60 -0
  319. package/docs/UpdateSiteRequest.md +2 -0
  320. package/package.json +1 -1
  321. package/src/apis/AdminApi.ts +54 -0
  322. package/src/apis/CartsApi.ts +693 -0
  323. package/src/apis/CustomersApi.ts +179 -0
  324. package/src/apis/LabelApi.ts +3 -8
  325. package/src/apis/OrdersApi.ts +686 -0
  326. package/src/apis/ProductApi.ts +49 -0
  327. package/src/apis/SiteApi.ts +54 -0
  328. package/src/apis/TransactionsApi.ts +193 -0
  329. package/src/apis/index.ts +4 -0
  330. package/src/models/AddressFrontendResource.ts +2 -3
  331. package/src/models/AddressResource.ts +34 -8
  332. package/src/models/AddressType.ts +53 -0
  333. package/src/models/AdminNoteResource.ts +108 -0
  334. package/src/models/AdminNoteResourceArrayResponse.ts +73 -0
  335. package/src/models/AdminOrderResource.ts +492 -0
  336. package/src/models/AdminOrderResourceArrayResponse.ts +73 -0
  337. package/src/models/AttachCouponRequest.ts +66 -0
  338. package/src/models/AttachLineItemRequest.ts +83 -0
  339. package/src/models/CartCouponLiteResource.ts +102 -0
  340. package/src/models/CartCouponLiteResourceArrayResponse.ts +73 -0
  341. package/src/models/CartCouponResource.ts +93 -0
  342. package/src/models/CartCouponResourceArrayResponse.ts +73 -0
  343. package/src/models/CartListResource.ts +165 -0
  344. package/src/models/CartListResourceArrayResponse.ts +73 -0
  345. package/src/models/CartOrderSource.ts +53 -0
  346. package/src/models/CartResource.ts +390 -0
  347. package/src/models/CartResourceArrayResponse.ts +73 -0
  348. package/src/models/CartStatus.ts +54 -0
  349. package/src/models/CreateCartRequest.ts +258 -0
  350. package/src/models/CreateCartRequestItemsInner.ts +83 -0
  351. package/src/models/CreateCartRequestShippingAddress.ts +121 -0
  352. package/src/models/CreateCustomerRequest.ts +101 -0
  353. package/src/models/CreateStoreRequestAddress.ts +8 -0
  354. package/src/models/CreateTransactionRequest.ts +139 -0
  355. package/src/models/CustomerListResource.ts +118 -0
  356. package/src/models/CustomerListResourceArrayResponse.ts +73 -0
  357. package/src/models/CustomerResource.ts +134 -0
  358. package/src/models/CustomerResourceArrayResponse.ts +73 -0
  359. package/src/models/DetachCouponRequest.ts +66 -0
  360. package/src/models/DiscountResource.ts +119 -0
  361. package/src/models/DiscountResourceArrayResponse.ts +73 -0
  362. package/src/models/DiscountType.ts +54 -0
  363. package/src/models/DiscountValueType.ts +53 -0
  364. package/src/models/FrontendCartResource.ts +246 -0
  365. package/src/models/FrontendCartResourceArrayResponse.ts +73 -0
  366. package/src/models/FrontendCartResourceCouponsInner.ts +97 -0
  367. package/src/models/FrontendLineItemResource.ts +145 -0
  368. package/src/models/FrontendLineItemResourceArrayResponse.ts +73 -0
  369. package/src/models/LabelListResource.ts +8 -8
  370. package/src/models/LabelResource.ts +8 -8
  371. package/src/models/LiAddressResource.ts +145 -0
  372. package/src/models/LiAddressResourceArrayResponse.ts +73 -0
  373. package/src/models/LiAdminUserLiteResource.ts +92 -0
  374. package/src/models/LiAdminUserLiteResourceArrayResponse.ts +73 -0
  375. package/src/models/LineItemDiscountResource.ts +93 -0
  376. package/src/models/LineItemDiscountResourceArrayResponse.ts +73 -0
  377. package/src/models/LineItemListResource.ts +169 -0
  378. package/src/models/LineItemListResourceArrayResponse.ts +73 -0
  379. package/src/models/OmnisendSyncLiteResource.ts +84 -0
  380. package/src/models/OmnisendSyncLiteResourceArrayResponse.ts +73 -0
  381. package/src/models/OrderListResource.ts +198 -0
  382. package/src/models/OrderListResourceArrayResponse.ts +73 -0
  383. package/src/models/OrderLiteResource.ts +109 -0
  384. package/src/models/OrderLiteResourceArrayResponse.ts +73 -0
  385. package/src/models/OrderOmnisendEvent.ts +53 -0
  386. package/src/models/OrderStatusLiteResource.ts +84 -0
  387. package/src/models/OrderStatusLiteResourceArrayResponse.ts +73 -0
  388. package/src/models/OrderStatusWithCountResource.ts +93 -0
  389. package/src/models/OrderStatusWithCountResourceArrayResponse.ts +73 -0
  390. package/src/models/PaginatedAdminNoteResourceResponse.ts +90 -0
  391. package/src/models/PaginatedCartListResourceResponse.ts +90 -0
  392. package/src/models/PaginatedCustomerListResourceResponse.ts +90 -0
  393. package/src/models/PaginatedOrderListResourceResponse.ts +90 -0
  394. package/src/models/PaginatedTransactionListResourceResponse.ts +90 -0
  395. package/src/models/PaginatedTransactionResourceResponse.ts +90 -0
  396. package/src/models/PaymentMethod.ts +58 -0
  397. package/src/models/PaymentSource.ts +54 -0
  398. package/src/models/PaymentStatus.ts +53 -0
  399. package/src/models/ProductChildFrontendResource.ts +4 -11
  400. package/src/models/ProductChildLineItemLiteResource.ts +189 -0
  401. package/src/models/ProductChildLineItemLiteResourceArrayResponse.ts +73 -0
  402. package/src/models/ProductChildSiteDetailLiteResource.ts +16 -0
  403. package/src/models/RefundTransactionRequest.ts +74 -0
  404. package/src/models/SearchAdminNotesRequest.ts +157 -0
  405. package/src/models/SearchAllOrdersRequest.ts +160 -0
  406. package/src/models/SearchCartsRequest.ts +215 -0
  407. package/src/models/SearchCustomersRequest.ts +152 -0
  408. package/src/models/SearchOrdersRequest.ts +224 -0
  409. package/src/models/SearchTransactionsRequest.ts +199 -0
  410. package/src/models/ShippingType.ts +56 -0
  411. package/src/models/SitePaymentConfigResource.ts +9 -0
  412. package/src/models/SkuSearchProductChildRequest.ts +75 -0
  413. package/src/models/StoreListResource.ts +2 -3
  414. package/src/models/StoreTransactionResource.ts +83 -0
  415. package/src/models/StoreTransactionResourceArrayResponse.ts +73 -0
  416. package/src/models/TransactionListResource.ts +187 -0
  417. package/src/models/TransactionListResourceArrayResponse.ts +73 -0
  418. package/src/models/TransactionLiteResource.ts +162 -0
  419. package/src/models/TransactionLiteResourceArrayResponse.ts +73 -0
  420. package/src/models/TransactionResource.ts +203 -0
  421. package/src/models/TransactionResourceArrayResponse.ts +73 -0
  422. package/src/models/TransactionType.ts +53 -0
  423. package/src/models/UpdateCartRequest.ts +224 -0
  424. package/src/models/UpdateLineItemRequest.ts +74 -0
  425. package/src/models/UpdateOrderRequest.ts +205 -0
  426. package/src/models/UpdateSiteRequest.ts +9 -0
  427. package/src/models/index.ts +87 -0
@@ -0,0 +1,46 @@
1
+
2
+ # DiscountResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `discountType` | string
11
+ `discountValueType` | string
12
+ `discountValue` | number
13
+ `itemId` | number
14
+ `name` | string
15
+ `couponCode` | string
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { DiscountResource } from '@digital8/lighting-illusions-ts-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "id": null,
25
+ "discountType": null,
26
+ "discountValueType": null,
27
+ "discountValue": null,
28
+ "itemId": null,
29
+ "name": null,
30
+ "couponCode": null,
31
+ } satisfies DiscountResource
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as DiscountResource
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,34 @@
1
+
2
+ # DiscountResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<DiscountResource>](DiscountResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { DiscountResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies DiscountResourceArrayResponse
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 DiscountResourceArrayResponse
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
+ # DiscountType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { DiscountType } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies DiscountType
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 DiscountType
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
+
@@ -0,0 +1,32 @@
1
+
2
+ # DiscountValueType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { DiscountValueType } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies DiscountValueType
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 DiscountValueType
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
+
@@ -0,0 +1,68 @@
1
+
2
+ # FrontendCartResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `lifecycleStatus` | string
11
+ `siteId` | number
12
+ `sessionToken` | string
13
+ `customer` | [CustomerListResource](CustomerListResource.md)
14
+ `shippingType` | string
15
+ `shippingAddress` | [AddressResource](AddressResource.md)
16
+ `billingAddress` | [AddressResource](AddressResource.md)
17
+ `lineItems` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
18
+ `coupons` | [Array<FrontendCartResourceCouponsInner>](FrontendCartResourceCouponsInner.md)
19
+ `subtotal` | number
20
+ `promotionalDiscount` | number
21
+ `couponSubtotalDiscount` | number
22
+ `couponShippingDiscount` | number
23
+ `shipping` | number
24
+ `transitInsurance` | number
25
+ `gst` | number
26
+ `grandTotal` | number
27
+
28
+ ## Example
29
+
30
+ ```typescript
31
+ import type { FrontendCartResource } from '@digital8/lighting-illusions-ts-sdk'
32
+
33
+ // TODO: Update the object below with actual values
34
+ const example = {
35
+ "id": null,
36
+ "lifecycleStatus": null,
37
+ "siteId": null,
38
+ "sessionToken": null,
39
+ "customer": null,
40
+ "shippingType": null,
41
+ "shippingAddress": null,
42
+ "billingAddress": null,
43
+ "lineItems": null,
44
+ "coupons": null,
45
+ "subtotal": null,
46
+ "promotionalDiscount": null,
47
+ "couponSubtotalDiscount": null,
48
+ "couponShippingDiscount": null,
49
+ "shipping": null,
50
+ "transitInsurance": null,
51
+ "gst": null,
52
+ "grandTotal": null,
53
+ } satisfies FrontendCartResource
54
+
55
+ console.log(example)
56
+
57
+ // Convert the instance to a JSON string
58
+ const exampleJSON: string = JSON.stringify(example)
59
+ console.log(exampleJSON)
60
+
61
+ // Parse the JSON string back to an object
62
+ const exampleParsed = JSON.parse(exampleJSON) as FrontendCartResource
63
+ console.log(exampleParsed)
64
+ ```
65
+
66
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
67
+
68
+
@@ -0,0 +1,34 @@
1
+
2
+ # FrontendCartResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<FrontendCartResource>](FrontendCartResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { FrontendCartResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies FrontendCartResourceArrayResponse
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 FrontendCartResourceArrayResponse
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,42 @@
1
+
2
+ # FrontendCartResourceCouponsInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `code` | string
11
+ `name` | string
12
+ `discount` | number
13
+ `appliesTo` | string
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { FrontendCartResourceCouponsInner } from '@digital8/lighting-illusions-ts-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "id": null,
23
+ "code": null,
24
+ "name": null,
25
+ "discount": null,
26
+ "appliesTo": null,
27
+ } satisfies FrontendCartResourceCouponsInner
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as FrontendCartResourceCouponsInner
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,50 @@
1
+
2
+ # FrontendLineItemResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `quantity` | number
11
+ `productPrice` | number
12
+ `subtotalAmount` | number
13
+ `totalAmount` | number
14
+ `promotionalSaving` | number
15
+ `isAvailable` | boolean
16
+ `isInStock` | boolean
17
+ `productChild` | [ProductChildLineItemLiteResource](ProductChildLineItemLiteResource.md)
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { FrontendLineItemResource } from '@digital8/lighting-illusions-ts-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "id": null,
27
+ "quantity": null,
28
+ "productPrice": null,
29
+ "subtotalAmount": null,
30
+ "totalAmount": null,
31
+ "promotionalSaving": null,
32
+ "isAvailable": null,
33
+ "isInStock": null,
34
+ "productChild": null,
35
+ } satisfies FrontendLineItemResource
36
+
37
+ console.log(example)
38
+
39
+ // Convert the instance to a JSON string
40
+ const exampleJSON: string = JSON.stringify(example)
41
+ console.log(exampleJSON)
42
+
43
+ // Parse the JSON string back to an object
44
+ const exampleParsed = JSON.parse(exampleJSON) as FrontendLineItemResource
45
+ console.log(exampleParsed)
46
+ ```
47
+
48
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
+
50
+
@@ -0,0 +1,34 @@
1
+
2
+ # FrontendLineItemResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { FrontendLineItemResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies FrontendLineItemResourceArrayResponse
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 FrontendLineItemResourceArrayResponse
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
+
package/docs/LabelApi.md CHANGED
@@ -80,7 +80,7 @@ No authorization required
80
80
 
81
81
  ## getAllLabel
82
82
 
83
- > LabelLiteResourceArrayResponse getAllLabel(searchLabelsRequest)
83
+ > GenericResponse getAllLabel(searchLabelsRequest)
84
84
 
85
85
  Auto-generated: getAllLabel
86
86
 
@@ -123,7 +123,7 @@ example().catch(console.error);
123
123
 
124
124
  ### Return type
125
125
 
126
- [**LabelLiteResourceArrayResponse**](LabelLiteResourceArrayResponse.md)
126
+ [**GenericResponse**](GenericResponse.md)
127
127
 
128
128
  ### Authorization
129
129
 
@@ -138,7 +138,7 @@ No authorization required
138
138
  ### HTTP response details
139
139
  | Status code | Description | Response headers |
140
140
  |-------------|-------------|------------------|
141
- | **200** | Successful resource response | - |
141
+ | **200** | \\JsonResponse<array{data: \\LabelLiteResource[]}> | - |
142
142
 
143
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
144
 
@@ -12,8 +12,8 @@ Name | Type
12
12
  `productCount` | number
13
13
  `colour` | string
14
14
  `textColour` | string
15
- `startDate` | Date
16
- `endDate` | Date
15
+ `startDate` | string
16
+ `endDate` | string
17
17
  `site` | [SiteLiteResource](SiteLiteResource.md)
18
18
 
19
19
  ## Example
@@ -13,8 +13,8 @@ Name | Type
13
13
  `cartButtonText` | string
14
14
  `colour` | string
15
15
  `textColour` | string
16
- `startDate` | Date
17
- `endDate` | Date
16
+ `startDate` | string
17
+ `endDate` | string
18
18
 
19
19
  ## Example
20
20
 
@@ -0,0 +1,52 @@
1
+
2
+ # LiAddressResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `type` | string
11
+ `company` | string
12
+ `line1` | string
13
+ `line2` | string
14
+ `suburb` | string
15
+ `state` | string
16
+ `postcode` | string
17
+ `country` | string
18
+ `fullAddress` | string
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { LiAddressResource } from '@digital8/lighting-illusions-ts-sdk'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "id": null,
28
+ "type": null,
29
+ "company": null,
30
+ "line1": null,
31
+ "line2": null,
32
+ "suburb": null,
33
+ "state": null,
34
+ "postcode": null,
35
+ "country": null,
36
+ "fullAddress": null,
37
+ } satisfies LiAddressResource
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 LiAddressResource
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
+ # LiAddressResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<LiAddressResource>](LiAddressResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { LiAddressResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies LiAddressResourceArrayResponse
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 LiAddressResourceArrayResponse
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,40 @@
1
+
2
+ # LiAdminUserLiteResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `firstName` | string
11
+ `lastName` | string
12
+ `email` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { LiAdminUserLiteResource } from '@digital8/lighting-illusions-ts-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "firstName": null,
23
+ "lastName": null,
24
+ "email": null,
25
+ } satisfies LiAdminUserLiteResource
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as LiAdminUserLiteResource
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,34 @@
1
+
2
+ # LiAdminUserLiteResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<LiAdminUserLiteResource>](LiAdminUserLiteResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { LiAdminUserLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies LiAdminUserLiteResourceArrayResponse
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 LiAdminUserLiteResourceArrayResponse
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,40 @@
1
+
2
+ # LineItemDiscountResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+ `discountTotal` | number
12
+ `couponCode` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { LineItemDiscountResource } from '@digital8/lighting-illusions-ts-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "name": null,
23
+ "discountTotal": null,
24
+ "couponCode": null,
25
+ } satisfies LineItemDiscountResource
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as LineItemDiscountResource
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,34 @@
1
+
2
+ # LineItemDiscountResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<LineItemDiscountResource>](LineItemDiscountResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { LineItemDiscountResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies LineItemDiscountResourceArrayResponse
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 LineItemDiscountResourceArrayResponse
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
+