@digital8/lighting-illusions-ts-sdk 0.0.1948 → 0.0.1950
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.
- package/.openapi-generator/FILES +146 -2
- package/README.md +102 -3
- package/dist/apis/CartsApi.d.ts +215 -0
- package/dist/apis/CartsApi.js +814 -0
- package/dist/apis/CustomersApi.d.ts +83 -0
- package/dist/apis/CustomersApi.js +320 -0
- package/dist/apis/OrdersApi.d.ts +213 -0
- package/dist/apis/OrdersApi.js +811 -0
- package/dist/apis/TransactionsApi.d.ts +69 -0
- package/dist/apis/TransactionsApi.js +262 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +2 -6
- package/dist/models/AddressResource.d.ts +20 -2
- package/dist/models/AddressResource.js +13 -3
- package/dist/models/AddressType.d.ts +25 -0
- package/dist/models/AddressType.js +51 -0
- package/dist/models/AdminOrderResource.d.ts +268 -0
- package/dist/models/AdminOrderResource.js +191 -0
- package/dist/models/AdminOrderResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminOrderResourceArrayResponse.js +50 -0
- package/dist/models/AssetFrontendResource.d.ts +0 -12
- package/dist/models/AssetFrontendResource.js +0 -6
- package/dist/models/AssetLiteResource.d.ts +2 -14
- package/dist/models/AssetLiteResource.js +0 -6
- package/dist/models/AssetResource.d.ts +2 -14
- package/dist/models/AssetResource.js +0 -6
- package/dist/models/AssetWithOverlayLinkResource.d.ts +2 -14
- package/dist/models/AssetWithOverlayLinkResource.js +0 -6
- package/dist/models/AttachCouponCartRequest.d.ts +32 -0
- package/dist/models/AttachCouponCartRequest.js +51 -0
- package/dist/models/AttachCouponOrderRequest.d.ts +32 -0
- package/dist/models/AttachCouponOrderRequest.js +51 -0
- package/dist/models/AttachItemCartRequest.d.ts +44 -0
- package/dist/models/AttachItemCartRequest.js +57 -0
- package/dist/models/AttachItemOrderRequest.d.ts +44 -0
- package/dist/models/AttachItemOrderRequest.js +57 -0
- package/dist/models/CartCouponResource.d.ts +50 -0
- package/dist/models/CartCouponResource.js +63 -0
- package/dist/models/CartCouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/CartCouponResourceArrayResponse.js +50 -0
- package/dist/models/CartListResource.d.ts +131 -0
- package/dist/models/CartListResource.js +104 -0
- package/dist/models/CartListResourceArrayResponse.d.ts +33 -0
- package/dist/models/CartListResourceArrayResponse.js +50 -0
- package/dist/models/CartOrderSource.d.ts +29 -0
- package/dist/models/CartOrderSource.js +55 -0
- package/dist/models/CartResource.d.ts +229 -0
- package/dist/models/CartResource.js +166 -0
- package/dist/models/CartResourceArrayResponse.d.ts +33 -0
- package/dist/models/CartResourceArrayResponse.js +50 -0
- package/dist/models/CartStatus.d.ts +26 -0
- package/dist/models/CartStatus.js +52 -0
- package/dist/models/CustomerListResource.d.ts +70 -0
- package/dist/models/CustomerListResource.js +75 -0
- package/dist/models/CustomerListResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerListResourceArrayResponse.js +50 -0
- package/dist/models/CustomerResource.d.ts +70 -0
- package/dist/models/CustomerResource.js +75 -0
- package/dist/models/CustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerResourceArrayResponse.js +50 -0
- package/dist/models/DetachCouponCartRequest.d.ts +32 -0
- package/dist/models/DetachCouponCartRequest.js +51 -0
- package/dist/models/DetachCouponOrderRequest.d.ts +32 -0
- package/dist/models/DetachCouponOrderRequest.js +51 -0
- package/dist/models/DiscountType.d.ts +26 -0
- package/dist/models/DiscountType.js +52 -0
- package/dist/models/DiscountValueType.d.ts +25 -0
- package/dist/models/DiscountValueType.js +51 -0
- package/dist/models/ExternalApiSyncStatus.d.ts +0 -1
- package/dist/models/ExternalApiSyncStatus.js +1 -2
- package/dist/models/GetAllOrderRequest.d.ts +105 -0
- package/dist/models/GetAllOrderRequest.js +85 -0
- package/dist/models/IndexCartRequest.d.ts +154 -0
- package/dist/models/IndexCartRequest.js +105 -0
- package/dist/models/IndexCustomerRequest.d.ts +99 -0
- package/dist/models/IndexCustomerRequest.js +83 -0
- package/dist/models/IndexOrderRequest.d.ts +141 -0
- package/dist/models/IndexOrderRequest.js +97 -0
- package/dist/models/IndexTransactionRequest.d.ts +127 -0
- package/dist/models/IndexTransactionRequest.js +91 -0
- package/dist/models/LiAddressResource.d.ts +86 -0
- package/dist/models/LiAddressResource.js +83 -0
- package/dist/models/LiAddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/LiAddressResourceArrayResponse.js +50 -0
- package/dist/models/LineItemDiscountResource.d.ts +50 -0
- package/dist/models/LineItemDiscountResource.js +63 -0
- package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +33 -0
- package/dist/models/LineItemDiscountResourceArrayResponse.js +50 -0
- package/dist/models/LineItemListResource.d.ts +82 -0
- package/dist/models/LineItemListResource.js +83 -0
- package/dist/models/LineItemListResourceArrayResponse.d.ts +33 -0
- package/dist/models/LineItemListResourceArrayResponse.js +50 -0
- package/dist/models/MenuPosition.d.ts +1 -0
- package/dist/models/MenuPosition.js +2 -1
- package/dist/models/OrderListResource.d.ts +126 -0
- package/dist/models/OrderListResource.js +105 -0
- package/dist/models/OrderListResourceArrayResponse.d.ts +33 -0
- package/dist/models/OrderListResourceArrayResponse.js +50 -0
- package/dist/models/OrderLiteResource.d.ts +62 -0
- package/dist/models/OrderLiteResource.js +67 -0
- package/dist/models/OrderLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/OrderLiteResourceArrayResponse.js +50 -0
- package/dist/models/OrderStatusWithCountResource.d.ts +50 -0
- package/dist/models/OrderStatusWithCountResource.js +63 -0
- package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +33 -0
- package/dist/models/OrderStatusWithCountResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedCartListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCartListResourceResponse.js +57 -0
- package/dist/models/PaginatedCustomerListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCustomerListResourceResponse.js +57 -0
- package/dist/models/PaginatedOrderListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedOrderListResourceResponse.js +57 -0
- package/dist/models/PaginatedTransactionResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTransactionResourceResponse.js +57 -0
- package/dist/models/PaymentMethod.d.ts +30 -0
- package/dist/models/PaymentMethod.js +56 -0
- package/dist/models/PaymentSource.d.ts +26 -0
- package/dist/models/PaymentSource.js +52 -0
- package/dist/models/PaymentStatus.d.ts +25 -0
- package/dist/models/PaymentStatus.js +51 -0
- package/dist/models/ProductChildCartLiteResource.d.ts +88 -0
- package/dist/models/ProductChildCartLiteResource.js +89 -0
- package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildCartLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildSiteDetailLiteResource.d.ts +7 -0
- package/dist/models/ProductChildSiteDetailLiteResource.js +5 -0
- package/dist/models/RefundTransactionRequest.d.ts +38 -0
- package/dist/models/RefundTransactionRequest.js +53 -0
- package/dist/models/ShippingType.d.ts +28 -0
- package/dist/models/ShippingType.js +54 -0
- package/dist/models/SitePaymentConfigResource.d.ts +6 -0
- package/dist/models/SitePaymentConfigResource.js +4 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -14
- package/dist/models/StoreAssetForAssetableRequest.js +6 -6
- package/dist/models/StoreCartRequest.d.ts +160 -0
- package/dist/models/StoreCartRequest.js +112 -0
- package/dist/models/StoreCartRequestCustomer.d.ts +50 -0
- package/dist/models/StoreCartRequestCustomer.js +55 -0
- package/dist/models/StoreCartRequestItemsInner.d.ts +44 -0
- package/dist/models/StoreCartRequestItemsInner.js +57 -0
- package/dist/models/StoreCartRequestShippingAddress.d.ts +80 -0
- package/dist/models/StoreCartRequestShippingAddress.js +65 -0
- package/dist/models/StoreCustomerRequest.d.ts +56 -0
- package/dist/models/StoreCustomerRequest.js +65 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -13
- package/dist/models/StoreListResource.js +6 -12
- package/dist/models/StoreMenuRequest.d.ts +1 -0
- package/dist/models/StoreMenuRequest.js +2 -1
- package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +2 -14
- package/dist/models/StoreOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/StoreProductCategoryRequest.d.ts +0 -12
- package/dist/models/StoreProductCategoryRequest.js +0 -4
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +2 -14
- package/dist/models/StoreProductChildRequestAssetsInner.js +6 -6
- package/dist/models/StoreResource.d.ts +1 -13
- package/dist/models/StoreResource.js +8 -14
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +7 -5
- package/dist/models/StoreStoreRequest.d.ts +0 -12
- package/dist/models/StoreStoreRequest.js +0 -4
- package/dist/models/StoreStoreRequestAddress.d.ts +6 -0
- package/dist/models/StoreStoreRequestAddress.js +2 -0
- package/dist/models/StoreSupplierRequest.d.ts +2 -14
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/StoreTransactionRequest.d.ts +81 -0
- package/dist/models/StoreTransactionRequest.js +78 -0
- package/dist/models/TransactionLiteResource.d.ts +74 -0
- package/dist/models/TransactionLiteResource.js +77 -0
- package/dist/models/TransactionLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/TransactionLiteResourceArrayResponse.js +50 -0
- package/dist/models/TransactionResource.d.ts +128 -0
- package/dist/models/TransactionResource.js +101 -0
- package/dist/models/TransactionResourceArrayResponse.d.ts +33 -0
- package/dist/models/TransactionResourceArrayResponse.js +50 -0
- package/dist/models/TransactionType.d.ts +25 -0
- package/dist/models/TransactionType.js +51 -0
- package/dist/models/UpdateAssetForAssetableRequest.d.ts +0 -12
- package/dist/models/UpdateAssetForAssetableRequest.js +0 -4
- package/dist/models/UpdateCartRequest.d.ts +135 -0
- package/dist/models/UpdateCartRequest.js +99 -0
- package/dist/models/UpdateCustomerRequest.d.ts +56 -0
- package/dist/models/UpdateCustomerRequest.js +63 -0
- package/dist/models/UpdateItemCartRequest.d.ts +38 -0
- package/dist/models/UpdateItemCartRequest.js +53 -0
- package/dist/models/UpdateItemOrderRequest.d.ts +38 -0
- package/dist/models/UpdateItemOrderRequest.js +53 -0
- package/dist/models/UpdateMenuRequest.d.ts +1 -0
- package/dist/models/UpdateMenuRequest.js +2 -1
- package/dist/models/UpdateOrderRequest.d.ts +111 -0
- package/dist/models/UpdateOrderRequest.js +99 -0
- package/dist/models/UpdateOrderRequestBillingAddress.d.ts +80 -0
- package/dist/models/UpdateOrderRequestBillingAddress.js +67 -0
- package/dist/models/UpdateOrderRequestShippingAddress.d.ts +80 -0
- package/dist/models/UpdateOrderRequestShippingAddress.js +67 -0
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +2 -14
- package/dist/models/UpdateOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/UpdateProductCategoryRequest.d.ts +0 -12
- package/dist/models/UpdateProductCategoryRequest.js +0 -4
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +2 -14
- package/dist/models/UpdateProductChildRequestAssetsInner.js +6 -6
- package/dist/models/UpdateSiteRequest.d.ts +6 -0
- package/dist/models/UpdateSiteRequest.js +4 -0
- package/dist/models/UpdateStoreRequest.d.ts +0 -12
- package/dist/models/UpdateStoreRequest.js +0 -4
- package/dist/models/UpdateSupplierRequest.d.ts +2 -14
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +69 -1
- package/dist/models/index.js +69 -1
- package/docs/AddressResource.md +6 -0
- package/docs/{StoreStockType.md → AddressType.md} +4 -4
- package/docs/AdminOrderResource.md +112 -0
- package/docs/AdminOrderResourceArrayResponse.md +34 -0
- package/docs/AssetFrontendResource.md +0 -4
- package/docs/AssetLiteResource.md +1 -5
- package/docs/AssetResource.md +1 -5
- package/docs/AssetWithOverlayLinkResource.md +1 -5
- package/docs/AttachCouponCartRequest.md +34 -0
- package/docs/AttachCouponOrderRequest.md +34 -0
- package/docs/AttachItemCartRequest.md +38 -0
- package/docs/AttachItemOrderRequest.md +38 -0
- package/docs/CartCouponResource.md +40 -0
- package/docs/CartCouponResourceArrayResponse.md +34 -0
- package/docs/CartListResource.md +66 -0
- package/docs/CartListResourceArrayResponse.md +34 -0
- package/docs/CartOrderSource.md +32 -0
- package/docs/CartResource.md +98 -0
- package/docs/CartResourceArrayResponse.md +34 -0
- package/docs/CartStatus.md +32 -0
- package/docs/CartsApi.md +821 -0
- package/docs/CustomerListResource.md +46 -0
- package/docs/CustomerListResourceArrayResponse.md +34 -0
- package/docs/CustomerResource.md +46 -0
- package/docs/CustomerResourceArrayResponse.md +34 -0
- package/docs/CustomersApi.md +275 -0
- package/docs/DetachCouponCartRequest.md +34 -0
- package/docs/DetachCouponOrderRequest.md +34 -0
- package/docs/DiscountType.md +32 -0
- package/docs/DiscountValueType.md +32 -0
- package/docs/GetAllOrderRequest.md +52 -0
- package/docs/IndexCartRequest.md +66 -0
- package/docs/IndexCustomerRequest.md +50 -0
- package/docs/IndexOrderRequest.md +64 -0
- package/docs/IndexTransactionRequest.md +60 -0
- package/docs/LiAddressResource.md +52 -0
- package/docs/LiAddressResourceArrayResponse.md +34 -0
- package/docs/LineItemDiscountResource.md +40 -0
- package/docs/LineItemDiscountResourceArrayResponse.md +34 -0
- package/docs/LineItemListResource.md +50 -0
- package/docs/LineItemListResourceArrayResponse.md +34 -0
- package/docs/OrderListResource.md +64 -0
- package/docs/OrderListResourceArrayResponse.md +34 -0
- package/docs/OrderLiteResource.md +44 -0
- package/docs/OrderLiteResourceArrayResponse.md +34 -0
- package/docs/OrderStatusWithCountResource.md +40 -0
- package/docs/OrderStatusWithCountResourceArrayResponse.md +34 -0
- package/docs/OrdersApi.md +813 -0
- package/docs/PaginatedCartListResourceResponse.md +36 -0
- package/docs/PaginatedCustomerListResourceResponse.md +36 -0
- package/docs/PaginatedOrderListResourceResponse.md +36 -0
- package/docs/PaginatedTransactionResourceResponse.md +36 -0
- package/docs/PaymentMethod.md +32 -0
- package/docs/PaymentSource.md +32 -0
- package/docs/PaymentStatus.md +32 -0
- package/docs/ProductChildCartLiteResource.md +52 -0
- package/docs/ProductChildCartLiteResourceArrayResponse.md +34 -0
- package/docs/ProductChildSiteDetailLiteResource.md +2 -0
- package/docs/RefundTransactionRequest.md +36 -0
- package/docs/ShippingType.md +32 -0
- package/docs/SitePaymentConfigResource.md +2 -0
- package/docs/StoreAssetForAssetableRequest.md +0 -4
- package/docs/StoreCartRequest.md +68 -0
- package/docs/StoreCartRequestCustomer.md +40 -0
- package/docs/StoreCartRequestItemsInner.md +38 -0
- package/docs/StoreCartRequestShippingAddress.md +50 -0
- package/docs/StoreCustomerRequest.md +42 -0
- package/docs/StoreListResource.md +0 -4
- package/docs/StoreOverlayTemplateAssetRequest.md +0 -4
- package/docs/StoreProductCategoryRequest.md +0 -4
- package/docs/StoreProductChildRequestAssetsInner.md +0 -4
- package/docs/StoreResource.md +0 -4
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/StoreStoreRequest.md +0 -4
- package/docs/StoreStoreRequestAddress.md +2 -0
- package/docs/StoreSupplierRequest.md +0 -4
- package/docs/StoreTransactionRequest.md +46 -0
- package/docs/TransactionLiteResource.md +48 -0
- package/docs/TransactionLiteResourceArrayResponse.md +34 -0
- package/docs/TransactionResource.md +66 -0
- package/docs/TransactionResourceArrayResponse.md +34 -0
- package/docs/TransactionType.md +32 -0
- package/docs/TransactionsApi.md +209 -0
- package/docs/UpdateAssetForAssetableRequest.md +0 -4
- package/docs/UpdateCartRequest.md +60 -0
- package/docs/UpdateCustomerRequest.md +42 -0
- package/docs/UpdateItemCartRequest.md +36 -0
- package/docs/UpdateItemOrderRequest.md +36 -0
- package/docs/UpdateOrderRequest.md +52 -0
- package/docs/UpdateOrderRequestBillingAddress.md +50 -0
- package/docs/UpdateOrderRequestShippingAddress.md +50 -0
- package/docs/UpdateOverlayTemplateAssetRequest.md +0 -4
- package/docs/UpdateProductCategoryRequest.md +0 -4
- package/docs/UpdateProductChildRequestAssetsInner.md +0 -4
- package/docs/UpdateSiteRequest.md +2 -0
- package/docs/UpdateStoreRequest.md +0 -4
- package/docs/UpdateSupplierRequest.md +0 -4
- package/package.json +1 -1
- package/src/apis/CartsApi.ts +693 -0
- package/src/apis/CustomersApi.ts +237 -0
- package/src/apis/OrdersApi.ts +686 -0
- package/src/apis/TransactionsApi.ts +193 -0
- package/src/apis/index.ts +4 -0
- package/src/models/AddressFrontendResource.ts +4 -6
- package/src/models/AddressResource.ts +31 -5
- package/src/models/AddressType.ts +53 -0
- package/src/models/AdminOrderResource.ts +423 -0
- package/src/models/AdminOrderResourceArrayResponse.ts +73 -0
- package/src/models/AssetFrontendResource.ts +0 -17
- package/src/models/AssetLiteResource.ts +2 -19
- package/src/models/AssetResource.ts +2 -19
- package/src/models/AssetWithOverlayLinkResource.ts +2 -19
- package/src/models/AttachCouponCartRequest.ts +66 -0
- package/src/models/AttachCouponOrderRequest.ts +66 -0
- package/src/models/AttachItemCartRequest.ts +83 -0
- package/src/models/AttachItemOrderRequest.ts +83 -0
- package/src/models/CartCouponResource.ts +93 -0
- package/src/models/CartCouponResourceArrayResponse.ts +73 -0
- package/src/models/CartListResource.ts +225 -0
- package/src/models/CartListResourceArrayResponse.ts +73 -0
- package/src/models/CartOrderSource.ts +57 -0
- package/src/models/CartResource.ts +381 -0
- package/src/models/CartResourceArrayResponse.ts +73 -0
- package/src/models/CartStatus.ts +54 -0
- package/src/models/CustomerListResource.ts +134 -0
- package/src/models/CustomerListResourceArrayResponse.ts +73 -0
- package/src/models/CustomerResource.ts +134 -0
- package/src/models/CustomerResourceArrayResponse.ts +73 -0
- package/src/models/DetachCouponCartRequest.ts +66 -0
- package/src/models/DetachCouponOrderRequest.ts +66 -0
- package/src/models/DiscountType.ts +54 -0
- package/src/models/DiscountValueType.ts +53 -0
- package/src/models/ExternalApiSyncStatus.ts +1 -2
- package/src/models/GetAllOrderRequest.ts +160 -0
- package/src/models/IndexCartRequest.ts +224 -0
- package/src/models/IndexCustomerRequest.ts +152 -0
- package/src/models/IndexOrderRequest.ts +208 -0
- package/src/models/IndexTransactionRequest.ts +190 -0
- package/src/models/LiAddressResource.ts +145 -0
- package/src/models/LiAddressResourceArrayResponse.ts +73 -0
- package/src/models/LineItemDiscountResource.ts +93 -0
- package/src/models/LineItemDiscountResourceArrayResponse.ts +73 -0
- package/src/models/LineItemListResource.ts +152 -0
- package/src/models/LineItemListResourceArrayResponse.ts +73 -0
- package/src/models/MenuPosition.ts +2 -1
- package/src/models/OrderListResource.ts +225 -0
- package/src/models/OrderListResourceArrayResponse.ts +73 -0
- package/src/models/OrderLiteResource.ts +109 -0
- package/src/models/OrderLiteResourceArrayResponse.ts +73 -0
- package/src/models/OrderStatusWithCountResource.ts +93 -0
- package/src/models/OrderStatusWithCountResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedCartListResourceResponse.ts +90 -0
- package/src/models/PaginatedCustomerListResourceResponse.ts +90 -0
- package/src/models/PaginatedOrderListResourceResponse.ts +90 -0
- package/src/models/PaginatedTransactionResourceResponse.ts +90 -0
- package/src/models/PaymentMethod.ts +58 -0
- package/src/models/PaymentSource.ts +54 -0
- package/src/models/PaymentStatus.ts +53 -0
- package/src/models/ProductChildCartLiteResource.ts +162 -0
- package/src/models/ProductChildCartLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildSiteDetailLiteResource.ts +16 -0
- package/src/models/RefundTransactionRequest.ts +74 -0
- package/src/models/ShippingType.ts +56 -0
- package/src/models/SitePaymentConfigResource.ts +9 -0
- package/src/models/StoreAssetForAssetableRequest.ts +6 -20
- package/src/models/StoreCartRequest.ts +252 -0
- package/src/models/StoreCartRequestCustomer.ts +89 -0
- package/src/models/StoreCartRequestItemsInner.ts +83 -0
- package/src/models/StoreCartRequestShippingAddress.ts +129 -0
- package/src/models/StoreCustomerRequest.ts +101 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +7 -24
- package/src/models/StoreMenuRequest.ts +2 -1
- package/src/models/StoreOverlayTemplateAssetRequest.ts +6 -20
- package/src/models/StoreProductCategoryRequest.ts +0 -16
- package/src/models/StoreProductChildRequestAssetsInner.ts +6 -20
- package/src/models/StoreResource.ts +8 -25
- package/src/models/StoreSpecialDateResource.ts +8 -7
- package/src/models/StoreStoreRequest.ts +0 -16
- package/src/models/StoreStoreRequestAddress.ts +8 -0
- package/src/models/StoreSupplierRequest.ts +6 -20
- package/src/models/StoreTransactionRequest.ts +131 -0
- package/src/models/TransactionLiteResource.ts +128 -0
- package/src/models/TransactionLiteResourceArrayResponse.ts +73 -0
- package/src/models/TransactionResource.ts +203 -0
- package/src/models/TransactionResourceArrayResponse.ts +73 -0
- package/src/models/TransactionType.ts +53 -0
- package/src/models/UpdateAssetForAssetableRequest.ts +0 -16
- package/src/models/UpdateCartRequest.ts +211 -0
- package/src/models/UpdateCustomerRequest.ts +100 -0
- package/src/models/UpdateItemCartRequest.ts +74 -0
- package/src/models/UpdateItemOrderRequest.ts +74 -0
- package/src/models/UpdateMenuRequest.ts +2 -1
- package/src/models/UpdateOrderRequest.ts +183 -0
- package/src/models/UpdateOrderRequestBillingAddress.ts +130 -0
- package/src/models/UpdateOrderRequestShippingAddress.ts +130 -0
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +6 -20
- package/src/models/UpdateProductCategoryRequest.ts +0 -16
- package/src/models/UpdateProductChildRequestAssetsInner.ts +6 -20
- package/src/models/UpdateSiteRequest.ts +9 -0
- package/src/models/UpdateStoreRequest.ts +0 -16
- package/src/models/UpdateSupplierRequest.ts +6 -20
- package/src/models/index.ts +69 -1
- package/dist/models/StoreStockType.d.ts +0 -25
- package/dist/models/StoreStockType.js +0 -51
- package/src/models/StoreStockType.ts +0 -53
|
@@ -13,8 +13,6 @@ Name | Type
|
|
|
13
13
|
`index` | number
|
|
14
14
|
`isThumbnail` | boolean
|
|
15
15
|
`isLifestyle` | boolean
|
|
16
|
-
`isExternal` | boolean
|
|
17
|
-
`externalUrl` | string
|
|
18
16
|
`overlays` | object
|
|
19
17
|
|
|
20
18
|
## Example
|
|
@@ -31,8 +29,6 @@ const example = {
|
|
|
31
29
|
"index": null,
|
|
32
30
|
"isThumbnail": null,
|
|
33
31
|
"isLifestyle": null,
|
|
34
|
-
"isExternal": null,
|
|
35
|
-
"externalUrl": null,
|
|
36
32
|
"overlays": null,
|
|
37
33
|
} satisfies AssetFrontendResource
|
|
38
34
|
|
|
@@ -7,13 +7,11 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`fileId` |
|
|
10
|
+
`fileId` | string
|
|
11
11
|
`filePath` | string
|
|
12
12
|
`fileName` | string
|
|
13
13
|
`mimeType` | string
|
|
14
14
|
`altText` | string
|
|
15
|
-
`isExternal` | boolean
|
|
16
|
-
`externalUrl` | string
|
|
17
15
|
|
|
18
16
|
## Example
|
|
19
17
|
|
|
@@ -28,8 +26,6 @@ const example = {
|
|
|
28
26
|
"fileName": null,
|
|
29
27
|
"mimeType": null,
|
|
30
28
|
"altText": null,
|
|
31
|
-
"isExternal": null,
|
|
32
|
-
"externalUrl": null,
|
|
33
29
|
} satisfies AssetLiteResource
|
|
34
30
|
|
|
35
31
|
console.log(example)
|
package/docs/AssetResource.md
CHANGED
|
@@ -12,11 +12,9 @@ Name | Type
|
|
|
12
12
|
`mimeType` | string
|
|
13
13
|
`altText` | string
|
|
14
14
|
`index` | number
|
|
15
|
-
`fileId` |
|
|
15
|
+
`fileId` | string
|
|
16
16
|
`isThumbnail` | boolean
|
|
17
17
|
`isLifestyle` | boolean
|
|
18
|
-
`isExternal` | boolean
|
|
19
|
-
`externalUrl` | string
|
|
20
18
|
`overlayTemplates` | [Array<OverlayTemplateLiteResource>](OverlayTemplateLiteResource.md)
|
|
21
19
|
|
|
22
20
|
## Example
|
|
@@ -35,8 +33,6 @@ const example = {
|
|
|
35
33
|
"fileId": null,
|
|
36
34
|
"isThumbnail": null,
|
|
37
35
|
"isLifestyle": null,
|
|
38
|
-
"isExternal": null,
|
|
39
|
-
"externalUrl": null,
|
|
40
36
|
"overlayTemplates": null,
|
|
41
37
|
} satisfies AssetResource
|
|
42
38
|
|
|
@@ -12,11 +12,9 @@ Name | Type
|
|
|
12
12
|
`mimeType` | string
|
|
13
13
|
`altText` | string
|
|
14
14
|
`index` | number
|
|
15
|
-
`fileId` |
|
|
15
|
+
`fileId` | string
|
|
16
16
|
`isThumbnail` | boolean
|
|
17
17
|
`isLifestyle` | boolean
|
|
18
|
-
`isExternal` | boolean
|
|
19
|
-
`externalUrl` | string
|
|
20
18
|
`overlayTemplates` | [Array<OverlayTemplateLiteResource>](OverlayTemplateLiteResource.md)
|
|
21
19
|
`isLinkedToOverlayTemplate` | boolean
|
|
22
20
|
|
|
@@ -36,8 +34,6 @@ const example = {
|
|
|
36
34
|
"fileId": null,
|
|
37
35
|
"isThumbnail": null,
|
|
38
36
|
"isLifestyle": null,
|
|
39
|
-
"isExternal": null,
|
|
40
|
-
"externalUrl": null,
|
|
41
37
|
"overlayTemplates": null,
|
|
42
38
|
"isLinkedToOverlayTemplate": null,
|
|
43
39
|
} satisfies AssetWithOverlayLinkResource
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachCouponCartRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`couponCode` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AttachCouponCartRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"couponCode": null,
|
|
19
|
+
} satisfies AttachCouponCartRequest
|
|
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 AttachCouponCartRequest
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachCouponOrderRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`couponCode` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AttachCouponOrderRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"couponCode": null,
|
|
19
|
+
} satisfies AttachCouponOrderRequest
|
|
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 AttachCouponOrderRequest
|
|
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,38 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachItemCartRequest
|
|
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 { AttachItemCartRequest } 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 AttachItemCartRequest
|
|
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 AttachItemCartRequest
|
|
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,38 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachItemOrderRequest
|
|
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 { AttachItemOrderRequest } 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 AttachItemOrderRequest
|
|
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 AttachItemOrderRequest
|
|
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,40 @@
|
|
|
1
|
+
|
|
2
|
+
# CartCouponResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`code` | string
|
|
11
|
+
`name` | string
|
|
12
|
+
`discountTotal` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { CartCouponResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"code": null,
|
|
23
|
+
"name": null,
|
|
24
|
+
"discountTotal": null,
|
|
25
|
+
} satisfies CartCouponResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as CartCouponResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CartCouponResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CartCouponResource>](CartCouponResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CartCouponResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CartCouponResourceArrayResponse
|
|
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 CartCouponResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
|
|
2
|
+
# CartListResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`guestEmail` | string
|
|
11
|
+
`source` | string
|
|
12
|
+
`shippingType` | string
|
|
13
|
+
`shippingSubtotal` | number
|
|
14
|
+
`overrideShipping` | boolean
|
|
15
|
+
`insuranceAmount` | number
|
|
16
|
+
`overrideInsurance` | boolean
|
|
17
|
+
`useAsBillingAddress` | boolean
|
|
18
|
+
`expiryDate` | Date
|
|
19
|
+
`checkoutCompletedAt` | Date
|
|
20
|
+
`createdAt` | Date
|
|
21
|
+
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
22
|
+
`customer` | [CustomerListResource](CustomerListResource.md)
|
|
23
|
+
`lineItems` | [Array<LineItemListResource>](LineItemListResource.md)
|
|
24
|
+
`subtotal` | number
|
|
25
|
+
`status` | string
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import type { CartListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
31
|
+
|
|
32
|
+
// TODO: Update the object below with actual values
|
|
33
|
+
const example = {
|
|
34
|
+
"id": null,
|
|
35
|
+
"guestEmail": null,
|
|
36
|
+
"source": null,
|
|
37
|
+
"shippingType": null,
|
|
38
|
+
"shippingSubtotal": null,
|
|
39
|
+
"overrideShipping": null,
|
|
40
|
+
"insuranceAmount": null,
|
|
41
|
+
"overrideInsurance": null,
|
|
42
|
+
"useAsBillingAddress": null,
|
|
43
|
+
"expiryDate": null,
|
|
44
|
+
"checkoutCompletedAt": null,
|
|
45
|
+
"createdAt": null,
|
|
46
|
+
"site": null,
|
|
47
|
+
"customer": null,
|
|
48
|
+
"lineItems": null,
|
|
49
|
+
"subtotal": null,
|
|
50
|
+
"status": null,
|
|
51
|
+
} satisfies CartListResource
|
|
52
|
+
|
|
53
|
+
console.log(example)
|
|
54
|
+
|
|
55
|
+
// Convert the instance to a JSON string
|
|
56
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
57
|
+
console.log(exampleJSON)
|
|
58
|
+
|
|
59
|
+
// Parse the JSON string back to an object
|
|
60
|
+
const exampleParsed = JSON.parse(exampleJSON) as CartListResource
|
|
61
|
+
console.log(exampleParsed)
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
65
|
+
|
|
66
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CartListResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CartListResource>](CartListResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CartListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CartListResourceArrayResponse
|
|
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 CartListResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# CartOrderSource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { CartOrderSource } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies CartOrderSource
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as CartOrderSource
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
|
|
2
|
+
# CartResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`guestEmail` | string
|
|
11
|
+
`source` | string
|
|
12
|
+
`sessionToken` | string
|
|
13
|
+
`paymentToken` | string
|
|
14
|
+
`expiryDate` | Date
|
|
15
|
+
`checkoutCompletedAt` | Date
|
|
16
|
+
`createdAt` | Date
|
|
17
|
+
`updatedAt` | Date
|
|
18
|
+
`shippingType` | string
|
|
19
|
+
`shippingSubtotal` | number
|
|
20
|
+
`overrideShipping` | boolean
|
|
21
|
+
`insuranceSubtotal` | string
|
|
22
|
+
`overrideInsurance` | boolean
|
|
23
|
+
`useAsBillingAddress` | boolean
|
|
24
|
+
`admin` | object
|
|
25
|
+
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
26
|
+
`customer` | [CustomerListResource](CustomerListResource.md)
|
|
27
|
+
`lineItems` | [Array<LineItemListResource>](LineItemListResource.md)
|
|
28
|
+
`coupons` | [Array<CartCouponResource>](CartCouponResource.md)
|
|
29
|
+
`shippingAddress` | [AddressResource](AddressResource.md)
|
|
30
|
+
`billingAddress` | [AddressResource](AddressResource.md)
|
|
31
|
+
`discountPreview` | number
|
|
32
|
+
`subtotal` | number
|
|
33
|
+
`shippingAmount` | number
|
|
34
|
+
`insuranceAmount` | number
|
|
35
|
+
`total` | number
|
|
36
|
+
`discountAmount` | number
|
|
37
|
+
`productDiscountAmount` | number
|
|
38
|
+
`shippingDiscountAmount` | number
|
|
39
|
+
`subtotalDiscountAmount` | number
|
|
40
|
+
`finalTotalAmount` | number
|
|
41
|
+
`status` | string
|
|
42
|
+
|
|
43
|
+
## Example
|
|
44
|
+
|
|
45
|
+
```typescript
|
|
46
|
+
import type { CartResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
47
|
+
|
|
48
|
+
// TODO: Update the object below with actual values
|
|
49
|
+
const example = {
|
|
50
|
+
"id": null,
|
|
51
|
+
"guestEmail": null,
|
|
52
|
+
"source": null,
|
|
53
|
+
"sessionToken": null,
|
|
54
|
+
"paymentToken": null,
|
|
55
|
+
"expiryDate": null,
|
|
56
|
+
"checkoutCompletedAt": null,
|
|
57
|
+
"createdAt": null,
|
|
58
|
+
"updatedAt": null,
|
|
59
|
+
"shippingType": null,
|
|
60
|
+
"shippingSubtotal": null,
|
|
61
|
+
"overrideShipping": null,
|
|
62
|
+
"insuranceSubtotal": null,
|
|
63
|
+
"overrideInsurance": null,
|
|
64
|
+
"useAsBillingAddress": null,
|
|
65
|
+
"admin": null,
|
|
66
|
+
"site": null,
|
|
67
|
+
"customer": null,
|
|
68
|
+
"lineItems": null,
|
|
69
|
+
"coupons": null,
|
|
70
|
+
"shippingAddress": null,
|
|
71
|
+
"billingAddress": null,
|
|
72
|
+
"discountPreview": null,
|
|
73
|
+
"subtotal": null,
|
|
74
|
+
"shippingAmount": null,
|
|
75
|
+
"insuranceAmount": null,
|
|
76
|
+
"total": null,
|
|
77
|
+
"discountAmount": null,
|
|
78
|
+
"productDiscountAmount": null,
|
|
79
|
+
"shippingDiscountAmount": null,
|
|
80
|
+
"subtotalDiscountAmount": null,
|
|
81
|
+
"finalTotalAmount": null,
|
|
82
|
+
"status": null,
|
|
83
|
+
} satisfies CartResource
|
|
84
|
+
|
|
85
|
+
console.log(example)
|
|
86
|
+
|
|
87
|
+
// Convert the instance to a JSON string
|
|
88
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
89
|
+
console.log(exampleJSON)
|
|
90
|
+
|
|
91
|
+
// Parse the JSON string back to an object
|
|
92
|
+
const exampleParsed = JSON.parse(exampleJSON) as CartResource
|
|
93
|
+
console.log(exampleParsed)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
97
|
+
|
|
98
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CartResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CartResource>](CartResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CartResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CartResourceArrayResponse
|
|
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 CartResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# CartStatus
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { CartStatus } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies CartStatus
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as CartStatus
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|