@digital8/lighting-illusions-ts-sdk 0.0.1948 → 0.0.1949

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 (415) hide show
  1. package/.openapi-generator/FILES +146 -2
  2. package/README.md +102 -3
  3. package/dist/apis/CartsApi.d.ts +215 -0
  4. package/dist/apis/CartsApi.js +814 -0
  5. package/dist/apis/CustomersApi.d.ts +83 -0
  6. package/dist/apis/CustomersApi.js +320 -0
  7. package/dist/apis/OrdersApi.d.ts +213 -0
  8. package/dist/apis/OrdersApi.js +811 -0
  9. package/dist/apis/TransactionsApi.d.ts +69 -0
  10. package/dist/apis/TransactionsApi.js +262 -0
  11. package/dist/apis/index.d.ts +4 -0
  12. package/dist/apis/index.js +4 -0
  13. package/dist/models/AddressResource.d.ts +19 -1
  14. package/dist/models/AddressResource.js +13 -1
  15. package/dist/models/AddressType.d.ts +25 -0
  16. package/dist/models/AddressType.js +51 -0
  17. package/dist/models/AdminOrderResource.d.ts +268 -0
  18. package/dist/models/AdminOrderResource.js +191 -0
  19. package/dist/models/AdminOrderResourceArrayResponse.d.ts +33 -0
  20. package/dist/models/AdminOrderResourceArrayResponse.js +50 -0
  21. package/dist/models/AssetFrontendResource.d.ts +0 -12
  22. package/dist/models/AssetFrontendResource.js +0 -6
  23. package/dist/models/AssetLiteResource.d.ts +2 -14
  24. package/dist/models/AssetLiteResource.js +0 -6
  25. package/dist/models/AssetResource.d.ts +2 -14
  26. package/dist/models/AssetResource.js +0 -6
  27. package/dist/models/AssetWithOverlayLinkResource.d.ts +2 -14
  28. package/dist/models/AssetWithOverlayLinkResource.js +0 -6
  29. package/dist/models/AttachCouponCartRequest.d.ts +32 -0
  30. package/dist/models/AttachCouponCartRequest.js +51 -0
  31. package/dist/models/AttachCouponOrderRequest.d.ts +32 -0
  32. package/dist/models/AttachCouponOrderRequest.js +51 -0
  33. package/dist/models/AttachItemCartRequest.d.ts +44 -0
  34. package/dist/models/AttachItemCartRequest.js +57 -0
  35. package/dist/models/AttachItemOrderRequest.d.ts +44 -0
  36. package/dist/models/AttachItemOrderRequest.js +57 -0
  37. package/dist/models/CartCouponResource.d.ts +50 -0
  38. package/dist/models/CartCouponResource.js +63 -0
  39. package/dist/models/CartCouponResourceArrayResponse.d.ts +33 -0
  40. package/dist/models/CartCouponResourceArrayResponse.js +50 -0
  41. package/dist/models/CartListResource.d.ts +131 -0
  42. package/dist/models/CartListResource.js +104 -0
  43. package/dist/models/CartListResourceArrayResponse.d.ts +33 -0
  44. package/dist/models/CartListResourceArrayResponse.js +50 -0
  45. package/dist/models/CartOrderSource.d.ts +29 -0
  46. package/dist/models/CartOrderSource.js +55 -0
  47. package/dist/models/CartResource.d.ts +229 -0
  48. package/dist/models/CartResource.js +166 -0
  49. package/dist/models/CartResourceArrayResponse.d.ts +33 -0
  50. package/dist/models/CartResourceArrayResponse.js +50 -0
  51. package/dist/models/CartStatus.d.ts +26 -0
  52. package/dist/models/CartStatus.js +52 -0
  53. package/dist/models/CustomerListResource.d.ts +70 -0
  54. package/dist/models/CustomerListResource.js +75 -0
  55. package/dist/models/CustomerListResourceArrayResponse.d.ts +33 -0
  56. package/dist/models/CustomerListResourceArrayResponse.js +50 -0
  57. package/dist/models/CustomerResource.d.ts +70 -0
  58. package/dist/models/CustomerResource.js +75 -0
  59. package/dist/models/CustomerResourceArrayResponse.d.ts +33 -0
  60. package/dist/models/CustomerResourceArrayResponse.js +50 -0
  61. package/dist/models/DetachCouponCartRequest.d.ts +32 -0
  62. package/dist/models/DetachCouponCartRequest.js +51 -0
  63. package/dist/models/DetachCouponOrderRequest.d.ts +32 -0
  64. package/dist/models/DetachCouponOrderRequest.js +51 -0
  65. package/dist/models/DiscountType.d.ts +26 -0
  66. package/dist/models/DiscountType.js +52 -0
  67. package/dist/models/DiscountValueType.d.ts +25 -0
  68. package/dist/models/DiscountValueType.js +51 -0
  69. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  70. package/dist/models/ExternalApiLogResource.js +1 -3
  71. package/dist/models/ExternalApiSyncStatus.d.ts +0 -1
  72. package/dist/models/ExternalApiSyncStatus.js +1 -2
  73. package/dist/models/GetAllOrderRequest.d.ts +105 -0
  74. package/dist/models/GetAllOrderRequest.js +85 -0
  75. package/dist/models/IndexCartRequest.d.ts +154 -0
  76. package/dist/models/IndexCartRequest.js +105 -0
  77. package/dist/models/IndexCustomerRequest.d.ts +99 -0
  78. package/dist/models/IndexCustomerRequest.js +83 -0
  79. package/dist/models/IndexOrderRequest.d.ts +141 -0
  80. package/dist/models/IndexOrderRequest.js +97 -0
  81. package/dist/models/IndexTransactionRequest.d.ts +127 -0
  82. package/dist/models/IndexTransactionRequest.js +91 -0
  83. package/dist/models/LiAddressResource.d.ts +86 -0
  84. package/dist/models/LiAddressResource.js +83 -0
  85. package/dist/models/LiAddressResourceArrayResponse.d.ts +33 -0
  86. package/dist/models/LiAddressResourceArrayResponse.js +50 -0
  87. package/dist/models/LineItemDiscountResource.d.ts +50 -0
  88. package/dist/models/LineItemDiscountResource.js +63 -0
  89. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +33 -0
  90. package/dist/models/LineItemDiscountResourceArrayResponse.js +50 -0
  91. package/dist/models/LineItemListResource.d.ts +82 -0
  92. package/dist/models/LineItemListResource.js +83 -0
  93. package/dist/models/LineItemListResourceArrayResponse.d.ts +33 -0
  94. package/dist/models/LineItemListResourceArrayResponse.js +50 -0
  95. package/dist/models/MenuPosition.d.ts +1 -0
  96. package/dist/models/MenuPosition.js +2 -1
  97. package/dist/models/OrderListResource.d.ts +126 -0
  98. package/dist/models/OrderListResource.js +105 -0
  99. package/dist/models/OrderListResourceArrayResponse.d.ts +33 -0
  100. package/dist/models/OrderListResourceArrayResponse.js +50 -0
  101. package/dist/models/OrderLiteResource.d.ts +62 -0
  102. package/dist/models/OrderLiteResource.js +67 -0
  103. package/dist/models/OrderLiteResourceArrayResponse.d.ts +33 -0
  104. package/dist/models/OrderLiteResourceArrayResponse.js +50 -0
  105. package/dist/models/OrderStatusWithCountResource.d.ts +50 -0
  106. package/dist/models/OrderStatusWithCountResource.js +63 -0
  107. package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +33 -0
  108. package/dist/models/OrderStatusWithCountResourceArrayResponse.js +50 -0
  109. package/dist/models/PaginatedCartListResourceResponse.d.ts +40 -0
  110. package/dist/models/PaginatedCartListResourceResponse.js +57 -0
  111. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +40 -0
  112. package/dist/models/PaginatedCustomerListResourceResponse.js +57 -0
  113. package/dist/models/PaginatedOrderListResourceResponse.d.ts +40 -0
  114. package/dist/models/PaginatedOrderListResourceResponse.js +57 -0
  115. package/dist/models/PaginatedTransactionResourceResponse.d.ts +40 -0
  116. package/dist/models/PaginatedTransactionResourceResponse.js +57 -0
  117. package/dist/models/PaymentMethod.d.ts +30 -0
  118. package/dist/models/PaymentMethod.js +56 -0
  119. package/dist/models/PaymentSource.d.ts +26 -0
  120. package/dist/models/PaymentSource.js +52 -0
  121. package/dist/models/PaymentStatus.d.ts +25 -0
  122. package/dist/models/PaymentStatus.js +51 -0
  123. package/dist/models/ProductChildCartLiteResource.d.ts +88 -0
  124. package/dist/models/ProductChildCartLiteResource.js +89 -0
  125. package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +33 -0
  126. package/dist/models/ProductChildCartLiteResourceArrayResponse.js +50 -0
  127. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +7 -0
  128. package/dist/models/ProductChildSiteDetailLiteResource.js +5 -0
  129. package/dist/models/RefundTransactionRequest.d.ts +38 -0
  130. package/dist/models/RefundTransactionRequest.js +53 -0
  131. package/dist/models/ShippingType.d.ts +28 -0
  132. package/dist/models/ShippingType.js +54 -0
  133. package/dist/models/SitePaymentConfigResource.d.ts +6 -0
  134. package/dist/models/SitePaymentConfigResource.js +4 -0
  135. package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -14
  136. package/dist/models/StoreAssetForAssetableRequest.js +6 -6
  137. package/dist/models/StoreCartRequest.d.ts +160 -0
  138. package/dist/models/StoreCartRequest.js +112 -0
  139. package/dist/models/StoreCartRequestCustomer.d.ts +50 -0
  140. package/dist/models/StoreCartRequestCustomer.js +55 -0
  141. package/dist/models/StoreCartRequestItemsInner.d.ts +44 -0
  142. package/dist/models/StoreCartRequestItemsInner.js +57 -0
  143. package/dist/models/StoreCartRequestShippingAddress.d.ts +80 -0
  144. package/dist/models/StoreCartRequestShippingAddress.js +65 -0
  145. package/dist/models/StoreCustomerRequest.d.ts +56 -0
  146. package/dist/models/StoreCustomerRequest.js +65 -0
  147. package/dist/models/StoreListResource.d.ts +2 -14
  148. package/dist/models/StoreListResource.js +8 -12
  149. package/dist/models/StoreMenuRequest.d.ts +1 -0
  150. package/dist/models/StoreMenuRequest.js +2 -1
  151. package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +2 -14
  152. package/dist/models/StoreOverlayTemplateAssetRequest.js +6 -6
  153. package/dist/models/StoreProductCategoryRequest.d.ts +0 -12
  154. package/dist/models/StoreProductCategoryRequest.js +0 -4
  155. package/dist/models/StoreProductChildRequestAssetsInner.d.ts +2 -14
  156. package/dist/models/StoreProductChildRequestAssetsInner.js +6 -6
  157. package/dist/models/StoreResource.d.ts +1 -13
  158. package/dist/models/StoreResource.js +7 -17
  159. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  160. package/dist/models/StoreSpecialDateResource.js +7 -5
  161. package/dist/models/StoreStoreRequest.d.ts +0 -12
  162. package/dist/models/StoreStoreRequest.js +0 -4
  163. package/dist/models/StoreStoreRequestAddress.d.ts +6 -0
  164. package/dist/models/StoreStoreRequestAddress.js +2 -0
  165. package/dist/models/StoreSupplierRequest.d.ts +2 -14
  166. package/dist/models/StoreSupplierRequest.js +6 -6
  167. package/dist/models/StoreTransactionRequest.d.ts +81 -0
  168. package/dist/models/StoreTransactionRequest.js +78 -0
  169. package/dist/models/TransactionLiteResource.d.ts +74 -0
  170. package/dist/models/TransactionLiteResource.js +77 -0
  171. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +33 -0
  172. package/dist/models/TransactionLiteResourceArrayResponse.js +50 -0
  173. package/dist/models/TransactionResource.d.ts +122 -0
  174. package/dist/models/TransactionResource.js +99 -0
  175. package/dist/models/TransactionResourceArrayResponse.d.ts +33 -0
  176. package/dist/models/TransactionResourceArrayResponse.js +50 -0
  177. package/dist/models/TransactionType.d.ts +25 -0
  178. package/dist/models/TransactionType.js +51 -0
  179. package/dist/models/UpdateAssetForAssetableRequest.d.ts +0 -12
  180. package/dist/models/UpdateAssetForAssetableRequest.js +0 -4
  181. package/dist/models/UpdateCartRequest.d.ts +135 -0
  182. package/dist/models/UpdateCartRequest.js +99 -0
  183. package/dist/models/UpdateCustomerRequest.d.ts +56 -0
  184. package/dist/models/UpdateCustomerRequest.js +63 -0
  185. package/dist/models/UpdateItemCartRequest.d.ts +38 -0
  186. package/dist/models/UpdateItemCartRequest.js +53 -0
  187. package/dist/models/UpdateItemOrderRequest.d.ts +38 -0
  188. package/dist/models/UpdateItemOrderRequest.js +53 -0
  189. package/dist/models/UpdateMenuRequest.d.ts +1 -0
  190. package/dist/models/UpdateMenuRequest.js +2 -1
  191. package/dist/models/UpdateOrderRequest.d.ts +111 -0
  192. package/dist/models/UpdateOrderRequest.js +99 -0
  193. package/dist/models/UpdateOrderRequestBillingAddress.d.ts +80 -0
  194. package/dist/models/UpdateOrderRequestBillingAddress.js +67 -0
  195. package/dist/models/UpdateOrderRequestShippingAddress.d.ts +80 -0
  196. package/dist/models/UpdateOrderRequestShippingAddress.js +67 -0
  197. package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +2 -14
  198. package/dist/models/UpdateOverlayTemplateAssetRequest.js +6 -6
  199. package/dist/models/UpdateProductCategoryRequest.d.ts +0 -12
  200. package/dist/models/UpdateProductCategoryRequest.js +0 -4
  201. package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +2 -14
  202. package/dist/models/UpdateProductChildRequestAssetsInner.js +6 -6
  203. package/dist/models/UpdateSiteRequest.d.ts +6 -0
  204. package/dist/models/UpdateSiteRequest.js +4 -0
  205. package/dist/models/UpdateStoreRequest.d.ts +0 -12
  206. package/dist/models/UpdateStoreRequest.js +0 -4
  207. package/dist/models/UpdateSupplierRequest.d.ts +2 -14
  208. package/dist/models/UpdateSupplierRequest.js +6 -6
  209. package/dist/models/index.d.ts +69 -1
  210. package/dist/models/index.js +69 -1
  211. package/docs/AddressResource.md +6 -0
  212. package/docs/{StoreStockType.md → AddressType.md} +4 -4
  213. package/docs/AdminOrderResource.md +112 -0
  214. package/docs/AdminOrderResourceArrayResponse.md +34 -0
  215. package/docs/AssetFrontendResource.md +0 -4
  216. package/docs/AssetLiteResource.md +1 -5
  217. package/docs/AssetResource.md +1 -5
  218. package/docs/AssetWithOverlayLinkResource.md +1 -5
  219. package/docs/AttachCouponCartRequest.md +34 -0
  220. package/docs/AttachCouponOrderRequest.md +34 -0
  221. package/docs/AttachItemCartRequest.md +38 -0
  222. package/docs/AttachItemOrderRequest.md +38 -0
  223. package/docs/CartCouponResource.md +40 -0
  224. package/docs/CartCouponResourceArrayResponse.md +34 -0
  225. package/docs/CartListResource.md +66 -0
  226. package/docs/CartListResourceArrayResponse.md +34 -0
  227. package/docs/CartOrderSource.md +32 -0
  228. package/docs/CartResource.md +98 -0
  229. package/docs/CartResourceArrayResponse.md +34 -0
  230. package/docs/CartStatus.md +32 -0
  231. package/docs/CartsApi.md +821 -0
  232. package/docs/CustomerListResource.md +46 -0
  233. package/docs/CustomerListResourceArrayResponse.md +34 -0
  234. package/docs/CustomerResource.md +46 -0
  235. package/docs/CustomerResourceArrayResponse.md +34 -0
  236. package/docs/CustomersApi.md +275 -0
  237. package/docs/DetachCouponCartRequest.md +34 -0
  238. package/docs/DetachCouponOrderRequest.md +34 -0
  239. package/docs/DiscountType.md +32 -0
  240. package/docs/DiscountValueType.md +32 -0
  241. package/docs/GetAllOrderRequest.md +52 -0
  242. package/docs/IndexCartRequest.md +66 -0
  243. package/docs/IndexCustomerRequest.md +50 -0
  244. package/docs/IndexOrderRequest.md +64 -0
  245. package/docs/IndexTransactionRequest.md +60 -0
  246. package/docs/LiAddressResource.md +52 -0
  247. package/docs/LiAddressResourceArrayResponse.md +34 -0
  248. package/docs/LineItemDiscountResource.md +40 -0
  249. package/docs/LineItemDiscountResourceArrayResponse.md +34 -0
  250. package/docs/LineItemListResource.md +50 -0
  251. package/docs/LineItemListResourceArrayResponse.md +34 -0
  252. package/docs/OrderListResource.md +64 -0
  253. package/docs/OrderListResourceArrayResponse.md +34 -0
  254. package/docs/OrderLiteResource.md +44 -0
  255. package/docs/OrderLiteResourceArrayResponse.md +34 -0
  256. package/docs/OrderStatusWithCountResource.md +40 -0
  257. package/docs/OrderStatusWithCountResourceArrayResponse.md +34 -0
  258. package/docs/OrdersApi.md +813 -0
  259. package/docs/PaginatedCartListResourceResponse.md +36 -0
  260. package/docs/PaginatedCustomerListResourceResponse.md +36 -0
  261. package/docs/PaginatedOrderListResourceResponse.md +36 -0
  262. package/docs/PaginatedTransactionResourceResponse.md +36 -0
  263. package/docs/PaymentMethod.md +32 -0
  264. package/docs/PaymentSource.md +32 -0
  265. package/docs/PaymentStatus.md +32 -0
  266. package/docs/ProductChildCartLiteResource.md +52 -0
  267. package/docs/ProductChildCartLiteResourceArrayResponse.md +34 -0
  268. package/docs/ProductChildSiteDetailLiteResource.md +2 -0
  269. package/docs/RefundTransactionRequest.md +36 -0
  270. package/docs/ShippingType.md +32 -0
  271. package/docs/SitePaymentConfigResource.md +2 -0
  272. package/docs/StoreAssetForAssetableRequest.md +0 -4
  273. package/docs/StoreCartRequest.md +68 -0
  274. package/docs/StoreCartRequestCustomer.md +40 -0
  275. package/docs/StoreCartRequestItemsInner.md +38 -0
  276. package/docs/StoreCartRequestShippingAddress.md +50 -0
  277. package/docs/StoreCustomerRequest.md +42 -0
  278. package/docs/StoreListResource.md +0 -4
  279. package/docs/StoreOverlayTemplateAssetRequest.md +0 -4
  280. package/docs/StoreProductCategoryRequest.md +0 -4
  281. package/docs/StoreProductChildRequestAssetsInner.md +0 -4
  282. package/docs/StoreResource.md +0 -4
  283. package/docs/StoreSpecialDateResource.md +1 -1
  284. package/docs/StoreStoreRequest.md +0 -4
  285. package/docs/StoreStoreRequestAddress.md +2 -0
  286. package/docs/StoreSupplierRequest.md +0 -4
  287. package/docs/StoreTransactionRequest.md +46 -0
  288. package/docs/TransactionLiteResource.md +48 -0
  289. package/docs/TransactionLiteResourceArrayResponse.md +34 -0
  290. package/docs/TransactionResource.md +64 -0
  291. package/docs/TransactionResourceArrayResponse.md +34 -0
  292. package/docs/TransactionType.md +32 -0
  293. package/docs/TransactionsApi.md +209 -0
  294. package/docs/UpdateAssetForAssetableRequest.md +0 -4
  295. package/docs/UpdateCartRequest.md +60 -0
  296. package/docs/UpdateCustomerRequest.md +42 -0
  297. package/docs/UpdateItemCartRequest.md +36 -0
  298. package/docs/UpdateItemOrderRequest.md +36 -0
  299. package/docs/UpdateOrderRequest.md +52 -0
  300. package/docs/UpdateOrderRequestBillingAddress.md +50 -0
  301. package/docs/UpdateOrderRequestShippingAddress.md +50 -0
  302. package/docs/UpdateOverlayTemplateAssetRequest.md +0 -4
  303. package/docs/UpdateProductCategoryRequest.md +0 -4
  304. package/docs/UpdateProductChildRequestAssetsInner.md +0 -4
  305. package/docs/UpdateSiteRequest.md +2 -0
  306. package/docs/UpdateStoreRequest.md +0 -4
  307. package/docs/UpdateSupplierRequest.md +0 -4
  308. package/package.json +1 -1
  309. package/src/apis/CartsApi.ts +693 -0
  310. package/src/apis/CustomersApi.ts +237 -0
  311. package/src/apis/OrdersApi.ts +686 -0
  312. package/src/apis/TransactionsApi.ts +193 -0
  313. package/src/apis/index.ts +4 -0
  314. package/src/models/AddressResource.ts +29 -2
  315. package/src/models/AddressType.ts +53 -0
  316. package/src/models/AdminOrderResource.ts +423 -0
  317. package/src/models/AdminOrderResourceArrayResponse.ts +73 -0
  318. package/src/models/AssetFrontendResource.ts +0 -17
  319. package/src/models/AssetLiteResource.ts +2 -19
  320. package/src/models/AssetResource.ts +2 -19
  321. package/src/models/AssetWithOverlayLinkResource.ts +2 -19
  322. package/src/models/AttachCouponCartRequest.ts +66 -0
  323. package/src/models/AttachCouponOrderRequest.ts +66 -0
  324. package/src/models/AttachItemCartRequest.ts +83 -0
  325. package/src/models/AttachItemOrderRequest.ts +83 -0
  326. package/src/models/CartCouponResource.ts +93 -0
  327. package/src/models/CartCouponResourceArrayResponse.ts +73 -0
  328. package/src/models/CartListResource.ts +225 -0
  329. package/src/models/CartListResourceArrayResponse.ts +73 -0
  330. package/src/models/CartOrderSource.ts +57 -0
  331. package/src/models/CartResource.ts +381 -0
  332. package/src/models/CartResourceArrayResponse.ts +73 -0
  333. package/src/models/CartStatus.ts +54 -0
  334. package/src/models/CustomerListResource.ts +134 -0
  335. package/src/models/CustomerListResourceArrayResponse.ts +73 -0
  336. package/src/models/CustomerResource.ts +134 -0
  337. package/src/models/CustomerResourceArrayResponse.ts +73 -0
  338. package/src/models/DetachCouponCartRequest.ts +66 -0
  339. package/src/models/DetachCouponOrderRequest.ts +66 -0
  340. package/src/models/DiscountType.ts +54 -0
  341. package/src/models/DiscountValueType.ts +53 -0
  342. package/src/models/ExternalApiLogResource.ts +2 -3
  343. package/src/models/ExternalApiSyncStatus.ts +1 -2
  344. package/src/models/GetAllOrderRequest.ts +160 -0
  345. package/src/models/IndexCartRequest.ts +224 -0
  346. package/src/models/IndexCustomerRequest.ts +152 -0
  347. package/src/models/IndexOrderRequest.ts +208 -0
  348. package/src/models/IndexTransactionRequest.ts +190 -0
  349. package/src/models/LiAddressResource.ts +145 -0
  350. package/src/models/LiAddressResourceArrayResponse.ts +73 -0
  351. package/src/models/LineItemDiscountResource.ts +93 -0
  352. package/src/models/LineItemDiscountResourceArrayResponse.ts +73 -0
  353. package/src/models/LineItemListResource.ts +152 -0
  354. package/src/models/LineItemListResourceArrayResponse.ts +73 -0
  355. package/src/models/MenuPosition.ts +2 -1
  356. package/src/models/OrderListResource.ts +225 -0
  357. package/src/models/OrderListResourceArrayResponse.ts +73 -0
  358. package/src/models/OrderLiteResource.ts +109 -0
  359. package/src/models/OrderLiteResourceArrayResponse.ts +73 -0
  360. package/src/models/OrderStatusWithCountResource.ts +93 -0
  361. package/src/models/OrderStatusWithCountResourceArrayResponse.ts +73 -0
  362. package/src/models/PaginatedCartListResourceResponse.ts +90 -0
  363. package/src/models/PaginatedCustomerListResourceResponse.ts +90 -0
  364. package/src/models/PaginatedOrderListResourceResponse.ts +90 -0
  365. package/src/models/PaginatedTransactionResourceResponse.ts +90 -0
  366. package/src/models/PaymentMethod.ts +58 -0
  367. package/src/models/PaymentSource.ts +54 -0
  368. package/src/models/PaymentStatus.ts +53 -0
  369. package/src/models/ProductChildCartLiteResource.ts +162 -0
  370. package/src/models/ProductChildCartLiteResourceArrayResponse.ts +73 -0
  371. package/src/models/ProductChildSiteDetailLiteResource.ts +16 -0
  372. package/src/models/RefundTransactionRequest.ts +74 -0
  373. package/src/models/ShippingType.ts +56 -0
  374. package/src/models/SitePaymentConfigResource.ts +9 -0
  375. package/src/models/StoreAssetForAssetableRequest.ts +6 -20
  376. package/src/models/StoreCartRequest.ts +252 -0
  377. package/src/models/StoreCartRequestCustomer.ts +89 -0
  378. package/src/models/StoreCartRequestItemsInner.ts +83 -0
  379. package/src/models/StoreCartRequestShippingAddress.ts +129 -0
  380. package/src/models/StoreCustomerRequest.ts +101 -0
  381. package/src/models/StoreListResource.ts +9 -25
  382. package/src/models/StoreMenuRequest.ts +2 -1
  383. package/src/models/StoreOverlayTemplateAssetRequest.ts +6 -20
  384. package/src/models/StoreProductCategoryRequest.ts +0 -16
  385. package/src/models/StoreProductChildRequestAssetsInner.ts +6 -20
  386. package/src/models/StoreResource.ts +8 -27
  387. package/src/models/StoreSpecialDateResource.ts +8 -7
  388. package/src/models/StoreStoreRequest.ts +0 -16
  389. package/src/models/StoreStoreRequestAddress.ts +8 -0
  390. package/src/models/StoreSupplierRequest.ts +6 -20
  391. package/src/models/StoreTransactionRequest.ts +131 -0
  392. package/src/models/TransactionLiteResource.ts +128 -0
  393. package/src/models/TransactionLiteResourceArrayResponse.ts +73 -0
  394. package/src/models/TransactionResource.ts +195 -0
  395. package/src/models/TransactionResourceArrayResponse.ts +73 -0
  396. package/src/models/TransactionType.ts +53 -0
  397. package/src/models/UpdateAssetForAssetableRequest.ts +0 -16
  398. package/src/models/UpdateCartRequest.ts +211 -0
  399. package/src/models/UpdateCustomerRequest.ts +100 -0
  400. package/src/models/UpdateItemCartRequest.ts +74 -0
  401. package/src/models/UpdateItemOrderRequest.ts +74 -0
  402. package/src/models/UpdateMenuRequest.ts +2 -1
  403. package/src/models/UpdateOrderRequest.ts +183 -0
  404. package/src/models/UpdateOrderRequestBillingAddress.ts +130 -0
  405. package/src/models/UpdateOrderRequestShippingAddress.ts +130 -0
  406. package/src/models/UpdateOverlayTemplateAssetRequest.ts +6 -20
  407. package/src/models/UpdateProductCategoryRequest.ts +0 -16
  408. package/src/models/UpdateProductChildRequestAssetsInner.ts +6 -20
  409. package/src/models/UpdateSiteRequest.ts +9 -0
  410. package/src/models/UpdateStoreRequest.ts +0 -16
  411. package/src/models/UpdateSupplierRequest.ts +6 -20
  412. package/src/models/index.ts +69 -1
  413. package/dist/models/StoreStockType.d.ts +0 -25
  414. package/dist/models/StoreStockType.js +0 -51
  415. package/src/models/StoreStockType.ts +0 -53
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { CustomerListResource } from './CustomerListResource';
17
+ import {
18
+ CustomerListResourceFromJSON,
19
+ CustomerListResourceFromJSONTyped,
20
+ CustomerListResourceToJSON,
21
+ CustomerListResourceToJSONTyped,
22
+ } from './CustomerListResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface CustomerListResourceArrayResponse
28
+ */
29
+ export interface CustomerListResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<CustomerListResource>}
33
+ * @memberof CustomerListResourceArrayResponse
34
+ */
35
+ data?: Array<CustomerListResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the CustomerListResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfCustomerListResourceArrayResponse(value: object): value is CustomerListResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function CustomerListResourceArrayResponseFromJSON(json: any): CustomerListResourceArrayResponse {
46
+ return CustomerListResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function CustomerListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerListResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(CustomerListResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function CustomerListResourceArrayResponseToJSON(json: any): CustomerListResourceArrayResponse {
60
+ return CustomerListResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function CustomerListResourceArrayResponseToJSONTyped(value?: CustomerListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(CustomerListResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -0,0 +1,134 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { SiteLiteResource } from './SiteLiteResource';
17
+ import {
18
+ SiteLiteResourceFromJSON,
19
+ SiteLiteResourceFromJSONTyped,
20
+ SiteLiteResourceToJSON,
21
+ SiteLiteResourceToJSONTyped,
22
+ } from './SiteLiteResource';
23
+ import type { LiAddressResource } from './LiAddressResource';
24
+ import {
25
+ LiAddressResourceFromJSON,
26
+ LiAddressResourceFromJSONTyped,
27
+ LiAddressResourceToJSON,
28
+ LiAddressResourceToJSONTyped,
29
+ } from './LiAddressResource';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface CustomerResource
35
+ */
36
+ export interface CustomerResource {
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof CustomerResource
41
+ */
42
+ id?: number | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CustomerResource
47
+ */
48
+ firstName: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof CustomerResource
53
+ */
54
+ lastName: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof CustomerResource
59
+ */
60
+ email: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof CustomerResource
65
+ */
66
+ phone: string;
67
+ /**
68
+ *
69
+ * @type {SiteLiteResource}
70
+ * @memberof CustomerResource
71
+ */
72
+ site: SiteLiteResource | null;
73
+ /**
74
+ *
75
+ * @type {Array<LiAddressResource>}
76
+ * @memberof CustomerResource
77
+ */
78
+ addresses: Array<LiAddressResource> | null;
79
+ }
80
+
81
+ /**
82
+ * Check if a given object implements the CustomerResource interface.
83
+ */
84
+ export function instanceOfCustomerResource(value: object): value is CustomerResource {
85
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
86
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
87
+ if (!('email' in value) || value['email'] === undefined) return false;
88
+ if (!('phone' in value) || value['phone'] === undefined) return false;
89
+ if (!('site' in value) || value['site'] === undefined) return false;
90
+ if (!('addresses' in value) || value['addresses'] === undefined) return false;
91
+ return true;
92
+ }
93
+
94
+ export function CustomerResourceFromJSON(json: any): CustomerResource {
95
+ return CustomerResourceFromJSONTyped(json, false);
96
+ }
97
+
98
+ export function CustomerResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerResource {
99
+ if (json == null) {
100
+ return json;
101
+ }
102
+ return {
103
+
104
+ 'id': json['id'] == null ? undefined : json['id'],
105
+ 'firstName': json['first_name'],
106
+ 'lastName': json['last_name'],
107
+ 'email': json['email'],
108
+ 'phone': json['phone'],
109
+ 'site': SiteLiteResourceFromJSON(json['site']),
110
+ 'addresses': (json['addresses'] == null ? null : (json['addresses'] as Array<any>).map(LiAddressResourceFromJSON)),
111
+ };
112
+ }
113
+
114
+ export function CustomerResourceToJSON(json: any): CustomerResource {
115
+ return CustomerResourceToJSONTyped(json, false);
116
+ }
117
+
118
+ export function CustomerResourceToJSONTyped(value?: CustomerResource | null, ignoreDiscriminator: boolean = false): any {
119
+ if (value == null) {
120
+ return value;
121
+ }
122
+
123
+ return {
124
+
125
+ 'id': value['id'],
126
+ 'first_name': value['firstName'],
127
+ 'last_name': value['lastName'],
128
+ 'email': value['email'],
129
+ 'phone': value['phone'],
130
+ 'site': SiteLiteResourceToJSON(value['site']),
131
+ 'addresses': (value['addresses'] == null ? null : (value['addresses'] as Array<any>).map(LiAddressResourceToJSON)),
132
+ };
133
+ }
134
+
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { CustomerResource } from './CustomerResource';
17
+ import {
18
+ CustomerResourceFromJSON,
19
+ CustomerResourceFromJSONTyped,
20
+ CustomerResourceToJSON,
21
+ CustomerResourceToJSONTyped,
22
+ } from './CustomerResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface CustomerResourceArrayResponse
28
+ */
29
+ export interface CustomerResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<CustomerResource>}
33
+ * @memberof CustomerResourceArrayResponse
34
+ */
35
+ data?: Array<CustomerResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the CustomerResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfCustomerResourceArrayResponse(value: object): value is CustomerResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function CustomerResourceArrayResponseFromJSON(json: any): CustomerResourceArrayResponse {
46
+ return CustomerResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function CustomerResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(CustomerResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function CustomerResourceArrayResponseToJSON(json: any): CustomerResourceArrayResponse {
60
+ return CustomerResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function CustomerResourceArrayResponseToJSONTyped(value?: CustomerResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(CustomerResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface DetachCouponCartRequest
20
+ */
21
+ export interface DetachCouponCartRequest {
22
+ /**
23
+ *
24
+ * @type {Array<number>}
25
+ * @memberof DetachCouponCartRequest
26
+ */
27
+ couponIds: Array<number>;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the DetachCouponCartRequest interface.
32
+ */
33
+ export function instanceOfDetachCouponCartRequest(value: object): value is DetachCouponCartRequest {
34
+ if (!('couponIds' in value) || value['couponIds'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function DetachCouponCartRequestFromJSON(json: any): DetachCouponCartRequest {
39
+ return DetachCouponCartRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function DetachCouponCartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachCouponCartRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'couponIds': json['coupon_ids'],
49
+ };
50
+ }
51
+
52
+ export function DetachCouponCartRequestToJSON(json: any): DetachCouponCartRequest {
53
+ return DetachCouponCartRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function DetachCouponCartRequestToJSONTyped(value?: DetachCouponCartRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'coupon_ids': value['couponIds'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface DetachCouponOrderRequest
20
+ */
21
+ export interface DetachCouponOrderRequest {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof DetachCouponOrderRequest
26
+ */
27
+ couponId: number;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the DetachCouponOrderRequest interface.
32
+ */
33
+ export function instanceOfDetachCouponOrderRequest(value: object): value is DetachCouponOrderRequest {
34
+ if (!('couponId' in value) || value['couponId'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function DetachCouponOrderRequestFromJSON(json: any): DetachCouponOrderRequest {
39
+ return DetachCouponOrderRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function DetachCouponOrderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachCouponOrderRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'couponId': json['coupon_id'],
49
+ };
50
+ }
51
+
52
+ export function DetachCouponOrderRequestToJSON(json: any): DetachCouponOrderRequest {
53
+ return DetachCouponOrderRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function DetachCouponOrderRequestToJSONTyped(value?: DetachCouponOrderRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'coupon_id': value['couponId'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const DiscountType = {
21
+ Shipping: 'shipping',
22
+ Subtotal: 'subtotal',
23
+ Product: 'product'
24
+ } as const;
25
+ export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
26
+
27
+
28
+ export function instanceOfDiscountType(value: any): boolean {
29
+ for (const key in DiscountType) {
30
+ if (Object.prototype.hasOwnProperty.call(DiscountType, key)) {
31
+ if (DiscountType[key as keyof typeof DiscountType] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function DiscountTypeFromJSON(json: any): DiscountType {
40
+ return DiscountTypeFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function DiscountTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscountType {
44
+ return json as DiscountType;
45
+ }
46
+
47
+ export function DiscountTypeToJSON(value?: DiscountType | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function DiscountTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): DiscountType {
52
+ return value as DiscountType;
53
+ }
54
+
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const DiscountValueType = {
21
+ FixedValue: 'fixed_value',
22
+ Percentage: 'percentage'
23
+ } as const;
24
+ export type DiscountValueType = typeof DiscountValueType[keyof typeof DiscountValueType];
25
+
26
+
27
+ export function instanceOfDiscountValueType(value: any): boolean {
28
+ for (const key in DiscountValueType) {
29
+ if (Object.prototype.hasOwnProperty.call(DiscountValueType, key)) {
30
+ if (DiscountValueType[key as keyof typeof DiscountValueType] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function DiscountValueTypeFromJSON(json: any): DiscountValueType {
39
+ return DiscountValueTypeFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function DiscountValueTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscountValueType {
43
+ return json as DiscountValueType;
44
+ }
45
+
46
+ export function DiscountValueTypeToJSON(value?: DiscountValueType | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function DiscountValueTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): DiscountValueType {
51
+ return value as DiscountValueType;
52
+ }
53
+
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -21,8 +21,7 @@ export const ExternalApiSyncStatus = {
21
21
  Unsynced: 'unsynced',
22
22
  Syncing: 'syncing',
23
23
  Synced: 'synced',
24
- UnsyncedChanges: 'unsynced_changes',
25
- Failed: 'failed'
24
+ UnsyncedChanges: 'unsynced_changes'
26
25
  } as const;
27
26
  export type ExternalApiSyncStatus = typeof ExternalApiSyncStatus[keyof typeof ExternalApiSyncStatus];
28
27