@digital8/lighting-illusions-ts-sdk 0.0.2042 → 0.0.2044

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