@digital8/lighting-illusions-ts-sdk 0.0.2237 → 0.0.2238

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