@digital8/lighting-illusions-ts-sdk 0.0.1880 → 0.0.1882
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 +144 -90
- package/README.md +94 -74
- package/dist/apis/AdminApi.d.ts +8 -8
- package/dist/apis/AdminApi.js +3 -3
- package/dist/apis/BlogCategoryApi.d.ts +109 -0
- package/dist/apis/BlogCategoryApi.js +433 -0
- package/dist/apis/FrontendComponentApi.d.ts +33 -0
- package/dist/apis/FrontendComponentApi.js +138 -0
- package/dist/apis/PageApi.d.ts +109 -0
- package/dist/apis/PageApi.js +433 -0
- package/dist/apis/PageComponentApi.d.ts +94 -0
- package/dist/apis/{CustomersApi.js → PageComponentApi.js} +114 -55
- package/dist/apis/ProductCategoryApi.d.ts +6 -6
- package/dist/apis/ProductCategoryApi.js +1 -1
- package/dist/apis/index.d.ts +4 -3
- package/dist/apis/index.js +4 -3
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +2 -8
- package/dist/models/AddressResource.js +6 -4
- package/dist/models/AssetFileForUploadResource.d.ts +2 -2
- package/dist/models/AssetFrontendResource.d.ts +12 -0
- package/dist/models/AssetFrontendResource.js +6 -0
- package/dist/models/AssetLiteResource.d.ts +14 -2
- package/dist/models/AssetLiteResource.js +6 -0
- package/dist/models/AssetResource.d.ts +14 -2
- package/dist/models/AssetResource.js +6 -0
- package/dist/models/AssetWithOverlayLinkResource.d.ts +14 -2
- package/dist/models/AssetWithOverlayLinkResource.js +6 -0
- package/dist/models/BlogCategoryListResource.d.ts +50 -0
- package/dist/models/BlogCategoryListResource.js +63 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryLiteResource.d.ts +44 -0
- package/dist/models/BlogCategoryLiteResource.js +59 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryResource.d.ts +58 -0
- package/dist/models/BlogCategoryResource.js +69 -0
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryResourceArrayResponse.js +50 -0
- package/dist/models/BlogFrontendDetailResource.d.ts +88 -0
- package/dist/models/BlogFrontendDetailResource.js +87 -0
- package/dist/models/BlogFrontendDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogFrontendDetailResourceArrayResponse.js +50 -0
- package/dist/models/BlogFrontendResource.d.ts +76 -0
- package/dist/models/BlogFrontendResource.js +79 -0
- package/dist/models/BlogFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogFrontendResourceArrayResponse.js +50 -0
- package/dist/models/BlogResource.d.ts +64 -0
- package/dist/models/BlogResource.js +71 -0
- package/dist/models/BlogResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogResourceArrayResponse.js +50 -0
- package/dist/models/DocumentFileForUploadResource.d.ts +2 -2
- package/dist/models/ExternalApiSyncStatus.d.ts +1 -0
- package/dist/models/ExternalApiSyncStatus.js +2 -1
- package/dist/models/FrontendComponentLiteResource.d.ts +44 -0
- package/dist/models/FrontendComponentLiteResource.js +59 -0
- package/dist/models/FrontendComponentLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/FrontendComponentLiteResourceArrayResponse.js +50 -0
- package/dist/models/FrontendComponentResource.d.ts +51 -0
- package/dist/models/FrontendComponentResource.js +64 -0
- package/dist/models/FrontendComponentResourceArrayResponse.d.ts +33 -0
- package/dist/models/FrontendComponentResourceArrayResponse.js +50 -0
- package/dist/models/GenerateGoogleFeedAdminRequest.d.ts +32 -0
- package/dist/models/GenerateGoogleFeedAdminRequest.js +51 -0
- package/dist/models/GetAllBlogCategoryRequest.d.ts +84 -0
- package/dist/models/GetAllBlogCategoryRequest.js +76 -0
- package/dist/models/GetAllFrontendComponentRequest.d.ts +84 -0
- package/dist/models/{GetAllDocumentRequest.js → GetAllFrontendComponentRequest.js} +17 -27
- package/dist/models/GetAllPageComponentRequest.d.ts +90 -0
- package/dist/models/GetAllPageComponentRequest.js +78 -0
- package/dist/models/GetAllPageRequest.d.ts +99 -0
- package/dist/models/GetAllPageRequest.js +83 -0
- package/dist/models/IndexBlogCategoryRequest.d.ts +96 -0
- package/dist/models/{IndexCustomerRequest.js → IndexBlogCategoryRequest.js} +19 -22
- package/dist/models/IndexPageRequest.d.ts +118 -0
- package/dist/models/{IndexDocumentRequest.js → IndexPageRequest.js} +27 -24
- package/dist/models/MenuPosition.d.ts +0 -1
- package/dist/models/MenuPosition.js +1 -2
- package/dist/models/PageComponentLiteResource.d.ts +44 -0
- package/dist/models/PageComponentLiteResource.js +59 -0
- package/dist/models/PageComponentLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/PageComponentLiteResourceArrayResponse.js +50 -0
- package/dist/models/PageComponentRelationResource.d.ts +63 -0
- package/dist/models/PageComponentRelationResource.js +72 -0
- package/dist/models/PageComponentRelationResourceArrayResponse.d.ts +33 -0
- package/dist/models/PageComponentRelationResourceArrayResponse.js +50 -0
- package/dist/models/PageComponentResource.d.ts +94 -0
- package/dist/models/PageComponentResource.js +83 -0
- package/dist/models/PageComponentResourceArrayResponse.d.ts +33 -0
- package/dist/models/PageComponentResourceArrayResponse.js +50 -0
- package/dist/models/PageFrontendDetailResource.d.ts +63 -0
- package/dist/models/PageFrontendDetailResource.js +70 -0
- package/dist/models/PageFrontendDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/PageFrontendDetailResourceArrayResponse.js +50 -0
- package/dist/models/PageListResource.d.ts +94 -0
- package/dist/models/PageListResource.js +87 -0
- package/dist/models/PageListResourceArrayResponse.d.ts +33 -0
- package/dist/models/PageListResourceArrayResponse.js +50 -0
- package/dist/models/PageLiteResource.d.ts +38 -0
- package/dist/models/PageLiteResource.js +55 -0
- package/dist/models/PageLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/PageLiteResourceArrayResponse.js +50 -0
- package/dist/models/PageResource.d.ts +89 -0
- package/dist/models/PageResource.js +88 -0
- package/dist/models/PageResourceArrayResponse.d.ts +33 -0
- package/dist/models/PageResourceArrayResponse.js +50 -0
- package/dist/models/PageType.d.ts +26 -0
- package/dist/models/PageType.js +52 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogFrontendResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogFrontendResourceResponse.js +57 -0
- package/dist/models/PaginatedFrontendComponentLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedFrontendComponentLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedFrontendComponentResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedFrontendComponentResourceResponse.js +57 -0
- package/dist/models/PaginatedPageComponentLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPageComponentLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedPageListResourceResponse.d.ts +40 -0
- package/dist/models/{PaginatedCartListResourceResponse.js → PaginatedPageListResourceResponse.js} +16 -16
- package/dist/models/PaginatedPageLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPageLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedPageResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedPageResourceResponse.js +57 -0
- package/dist/models/PaginatedProductChildFrontendResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildFrontendResourceResponse.js +57 -0
- package/dist/models/ProductChildFrontendResource.d.ts +77 -0
- package/dist/models/ProductChildFrontendResource.js +82 -0
- package/dist/models/ProductChildFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildSiteDetailFrontendResource.d.ts +75 -0
- package/dist/models/ProductChildSiteDetailFrontendResource.js +78 -0
- package/dist/models/ProductChildSiteDetailFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildSiteDetailFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
- package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
- package/dist/models/ProductRangeSiteDetailFrontendResource.d.ts +68 -0
- package/dist/models/ProductRangeSiteDetailFrontendResource.js +73 -0
- package/dist/models/ProductRangeSiteDetailFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +6 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.js +4 -0
- package/dist/models/ProductResource.d.ts +2 -2
- package/dist/models/ProductSearchResultResource.d.ts +2 -2
- package/dist/models/SearchLinkablesMenuItemRequest.d.ts +0 -1
- package/dist/models/SearchLinkablesMenuItemRequest.js +1 -2
- package/dist/models/SitePaymentConfigResource.d.ts +0 -6
- package/dist/models/SitePaymentConfigResource.js +0 -4
- package/dist/models/StoreAssetForAssetableRequest.d.ts +18 -2
- package/dist/models/StoreAssetForAssetableRequest.js +10 -6
- package/dist/models/StoreBlogCategoryRequest.d.ts +52 -0
- package/dist/models/StoreBlogCategoryRequest.js +65 -0
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreBlogCategoryRequestSeoInner.d.ts +44 -0
- package/dist/models/StoreBlogCategoryRequestSeoInner.js +55 -0
- package/dist/models/StoreListResource.d.ts +12 -0
- package/dist/models/StoreListResource.js +12 -4
- package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +0 -1
- package/dist/models/StoreMenuItemRequestMenuItemLink.js +1 -2
- package/dist/models/StoreMenuRequest.d.ts +0 -1
- package/dist/models/StoreMenuRequest.js +1 -2
- package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +14 -2
- package/dist/models/StoreOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/StorePageComponentRequest.d.ts +81 -0
- package/dist/models/StorePageComponentRequest.js +72 -0
- package/dist/models/StorePageComponentRequestRelationsInner.d.ts +44 -0
- package/dist/models/StorePageComponentRequestRelationsInner.js +53 -0
- package/dist/models/StorePageRequest.d.ts +85 -0
- package/dist/models/StorePageRequest.js +84 -0
- package/dist/models/StorePageRequestBlog.d.ts +51 -0
- package/dist/models/StorePageRequestBlog.js +56 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +18 -6
- package/dist/models/StoreProductCategoryRequest.js +10 -6
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +14 -2
- package/dist/models/StoreProductChildRequestAssetsInner.js +6 -6
- package/dist/models/StoreResource.d.ts +13 -1
- package/dist/models/StoreResource.js +14 -8
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +5 -7
- package/dist/models/StoreStockType.d.ts +25 -0
- package/dist/models/StoreStockType.js +51 -0
- package/dist/models/StoreStoreRequest.d.ts +12 -0
- package/dist/models/StoreStoreRequest.js +4 -0
- package/dist/models/StoreSupplierRequest.d.ts +20 -8
- package/dist/models/StoreSupplierRequest.js +12 -12
- package/dist/models/Thumbnail.d.ts +38 -0
- package/dist/models/Thumbnail.js +51 -0
- package/dist/models/UpdateAssetForAssetableRequest.d.ts +12 -0
- package/dist/models/UpdateAssetForAssetableRequest.js +4 -0
- package/dist/models/UpdateBlogCategoryRequest.d.ts +52 -0
- package/dist/models/UpdateBlogCategoryRequest.js +65 -0
- package/dist/models/UpdateMenuRequest.d.ts +0 -1
- package/dist/models/UpdateMenuRequest.js +1 -2
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +14 -2
- package/dist/models/UpdateOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/UpdatePageComponentRequest.d.ts +69 -0
- package/dist/models/UpdatePageComponentRequest.js +64 -0
- package/dist/models/UpdatePageRequest.d.ts +71 -0
- package/dist/models/UpdatePageRequest.js +70 -0
- package/dist/models/UpdatePageRequestComponentOrderInner.d.ts +38 -0
- package/dist/models/UpdatePageRequestComponentOrderInner.js +55 -0
- package/dist/models/UpdateProductCategoryRequest.d.ts +18 -6
- package/dist/models/UpdateProductCategoryRequest.js +10 -6
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +14 -2
- package/dist/models/UpdateProductChildRequestAssetsInner.js +6 -6
- package/dist/models/UpdateSiteRequest.d.ts +0 -6
- package/dist/models/UpdateSiteRequest.js +0 -4
- package/dist/models/UpdateStoreRequest.d.ts +12 -0
- package/dist/models/UpdateStoreRequest.js +4 -0
- package/dist/models/UpdateSupplierRequest.d.ts +20 -8
- package/dist/models/UpdateSupplierRequest.js +12 -12
- package/dist/models/WishlistToggleResource.d.ts +2 -2
- package/dist/models/index.d.ts +68 -42
- package/dist/models/index.js +68 -42
- package/docs/AddressResource.md +0 -2
- package/docs/AdminApi.md +15 -15
- package/docs/AssetFileForUploadResource.md +1 -1
- package/docs/AssetFrontendResource.md +4 -0
- package/docs/AssetLiteResource.md +5 -1
- package/docs/AssetResource.md +5 -1
- package/docs/AssetWithOverlayLinkResource.md +5 -1
- package/docs/BlogCategoryApi.md +407 -0
- package/docs/{StoreDocumentFileRequest.md → BlogCategoryListResource.md} +12 -8
- package/docs/BlogCategoryListResourceArrayResponse.md +34 -0
- package/docs/{StoreDocumentRequest.md → BlogCategoryLiteResource.md} +8 -8
- package/docs/BlogCategoryLiteResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryResource.md +42 -0
- package/docs/{LineItemListResourceArrayResponse.md → BlogCategoryResourceArrayResponse.md} +5 -5
- package/docs/BlogFrontendDetailResource.md +52 -0
- package/docs/BlogFrontendDetailResourceArrayResponse.md +34 -0
- package/docs/BlogFrontendResource.md +48 -0
- package/docs/{CustomerListResourceArrayResponse.md → BlogFrontendResourceArrayResponse.md} +5 -5
- package/docs/BlogResource.md +44 -0
- package/docs/{CartResourceArrayResponse.md → BlogResourceArrayResponse.md} +5 -5
- package/docs/DocumentFileForUploadResource.md +1 -1
- package/docs/FrontendComponentApi.md +74 -0
- package/docs/{UpdateDocumentRequest.md → FrontendComponentLiteResource.md} +8 -8
- package/docs/FrontendComponentLiteResourceArrayResponse.md +34 -0
- package/docs/{LineItemListResource.md → FrontendComponentResource.md} +10 -10
- package/docs/FrontendComponentResourceArrayResponse.md +34 -0
- package/docs/{GetHierarchyProductCategoryRequest.md → GenerateGoogleFeedAdminRequest.md} +4 -4
- package/docs/GetAllBlogCategoryRequest.md +46 -0
- package/docs/{GetAllDocumentRequest.md → GetAllFrontendComponentRequest.md} +4 -4
- package/docs/GetAllPageComponentRequest.md +48 -0
- package/docs/{IndexCartRequest.md → GetAllPageRequest.md} +10 -26
- package/docs/{IndexDocumentRequest.md → IndexBlogCategoryRequest.md} +6 -6
- package/docs/{IndexCustomerRequest.md → IndexPageRequest.md} +8 -4
- package/docs/PageApi.md +407 -0
- package/docs/PageComponentApi.md +341 -0
- package/docs/PageComponentLiteResource.md +38 -0
- package/docs/PageComponentLiteResourceArrayResponse.md +34 -0
- package/docs/{LiAddressResource.md → PageComponentRelationResource.md} +14 -22
- package/docs/PageComponentRelationResourceArrayResponse.md +34 -0
- package/docs/PageComponentResource.md +54 -0
- package/docs/PageComponentResourceArrayResponse.md +34 -0
- package/docs/{StoreCartRequestItemsInner.md → PageFrontendDetailResource.md} +16 -10
- package/docs/PageFrontendDetailResourceArrayResponse.md +34 -0
- package/docs/{CustomerResource.md → PageListResource.md} +22 -14
- package/docs/{CustomerResourceArrayResponse.md → PageListResourceArrayResponse.md} +5 -5
- package/docs/{CartOrderSource.md → PageLiteResource.md} +8 -4
- package/docs/{CartListResourceArrayResponse.md → PageLiteResourceArrayResponse.md} +5 -5
- package/docs/{CustomerListResource.md → PageResource.md} +20 -14
- package/docs/{AttachCouponCartRequest.md → PageResourceArrayResponse.md} +6 -6
- package/docs/{CartStatus.md → PageType.md} +4 -4
- package/docs/PaginatedBlogCategoryListResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +36 -0
- package/docs/{PaginatedCustomerListResourceResponse.md → PaginatedBlogCategoryResourceResponse.md} +5 -5
- package/docs/PaginatedBlogFrontendResourceResponse.md +36 -0
- package/docs/PaginatedFrontendComponentLiteResourceResponse.md +36 -0
- package/docs/PaginatedFrontendComponentResourceResponse.md +36 -0
- package/docs/PaginatedPageComponentLiteResourceResponse.md +36 -0
- package/docs/{PaginatedCartListResourceResponse.md → PaginatedPageListResourceResponse.md} +5 -5
- package/docs/PaginatedPageLiteResourceResponse.md +36 -0
- package/docs/PaginatedPageResourceResponse.md +36 -0
- package/docs/PaginatedProductChildFrontendResourceResponse.md +36 -0
- package/docs/ProductCategoryApi.md +7 -7
- package/docs/ProductChildFrontendResource.md +48 -0
- package/docs/ProductChildFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductChildSiteDetailFrontendResource.md +48 -0
- package/docs/ProductChildSiteDetailFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductChildSiteDetailLiteResource.md +0 -2
- package/docs/ProductRangeSiteDetailFrontendResource.md +46 -0
- package/docs/ProductRangeSiteDetailFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailLiteResource.md +2 -0
- package/docs/ProductResource.md +1 -1
- package/docs/ProductSearchResultResource.md +1 -1
- package/docs/SitePaymentConfigResource.md +0 -2
- package/docs/StoreAssetForAssetableRequest.md +4 -0
- package/docs/{StoreCartRequestCustomer.md → StoreBlogCategoryRequest.md} +12 -12
- package/docs/{StoreProductCategoryRequestDescriptionsInner.md → StoreBlogCategoryRequestDescriptionsInner.md} +4 -4
- package/docs/{StoreProductCategoryRequestSeoInner.md → StoreBlogCategoryRequestSeoInner.md} +4 -4
- package/docs/StoreListResource.md +4 -0
- package/docs/StoreOverlayTemplateAssetRequest.md +4 -0
- package/docs/StorePageComponentRequest.md +50 -0
- package/docs/{AttachItemCartRequest.md → StorePageComponentRequestRelationsInner.md} +10 -10
- package/docs/StorePageRequest.md +48 -0
- package/docs/{StoreCustomerRequest.md → StorePageRequestBlog.md} +12 -14
- package/docs/StoreProductCategoryRequest.md +6 -2
- package/docs/StoreProductChildRequestAssetsInner.md +4 -0
- package/docs/StoreResource.md +4 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/{AddressType.md → StoreStockType.md} +4 -4
- package/docs/StoreStoreRequest.md +4 -0
- package/docs/StoreSupplierRequest.md +6 -2
- package/docs/{ShippingType.md → Thumbnail.md} +8 -4
- package/docs/UpdateAssetForAssetableRequest.md +4 -0
- package/docs/UpdateBlogCategoryRequest.md +40 -0
- package/docs/UpdateOverlayTemplateAssetRequest.md +4 -0
- package/docs/UpdatePageComponentRequest.md +46 -0
- package/docs/UpdatePageRequest.md +46 -0
- package/docs/UpdatePageRequestComponentOrderInner.md +36 -0
- package/docs/UpdateProductCategoryRequest.md +6 -2
- package/docs/UpdateProductChildRequestAssetsInner.md +4 -0
- package/docs/UpdateSiteRequest.md +0 -2
- package/docs/UpdateStoreRequest.md +4 -0
- package/docs/UpdateSupplierRequest.md +6 -2
- package/docs/WishlistToggleResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +13 -13
- package/src/apis/BlogCategoryApi.ts +334 -0
- package/src/apis/FrontendComponentApi.ts +77 -0
- package/src/apis/PageApi.ts +334 -0
- package/src/apis/PageComponentApi.ts +284 -0
- package/src/apis/ProductCategoryApi.ts +9 -9
- package/src/apis/index.ts +4 -3
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +6 -12
- package/src/models/AssetFileForUploadResource.ts +2 -2
- package/src/models/AssetFrontendResource.ts +17 -0
- package/src/models/AssetLiteResource.ts +19 -2
- package/src/models/AssetResource.ts +19 -2
- package/src/models/AssetWithOverlayLinkResource.ts +19 -2
- package/src/models/BlogCategoryListResource.ts +93 -0
- package/src/models/BlogCategoryListResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryLiteResource.ts +84 -0
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryResource.ts +117 -0
- package/src/models/BlogCategoryResourceArrayResponse.ts +73 -0
- package/src/models/BlogFrontendDetailResource.ts +161 -0
- package/src/models/BlogFrontendDetailResourceArrayResponse.ts +73 -0
- package/src/models/BlogFrontendResource.ts +143 -0
- package/src/models/BlogFrontendResourceArrayResponse.ts +73 -0
- package/src/models/BlogResource.ts +125 -0
- package/src/models/BlogResourceArrayResponse.ts +73 -0
- package/src/models/DocumentFileForUploadResource.ts +2 -2
- package/src/models/ExternalApiSyncStatus.ts +2 -1
- package/src/models/FrontendComponentLiteResource.ts +84 -0
- package/src/models/FrontendComponentLiteResourceArrayResponse.ts +73 -0
- package/src/models/FrontendComponentResource.ts +101 -0
- package/src/models/FrontendComponentResourceArrayResponse.ts +73 -0
- package/src/models/GenerateGoogleFeedAdminRequest.ts +66 -0
- package/src/models/GetAllBlogCategoryRequest.ts +133 -0
- package/src/models/GetAllFrontendComponentRequest.ts +133 -0
- package/src/models/GetAllPageComponentRequest.ts +141 -0
- package/src/models/GetAllPageRequest.ts +152 -0
- package/src/models/{IndexCustomerRequest.ts → IndexBlogCategoryRequest.ts} +31 -34
- package/src/models/IndexPageRequest.ts +176 -0
- package/src/models/MenuPosition.ts +1 -2
- package/src/models/PageComponentLiteResource.ts +84 -0
- package/src/models/PageComponentLiteResourceArrayResponse.ts +73 -0
- package/src/models/PageComponentRelationResource.ts +119 -0
- package/src/models/PageComponentRelationResourceArrayResponse.ts +73 -0
- package/src/models/PageComponentResource.ts +166 -0
- package/src/models/PageComponentResourceArrayResponse.ts +73 -0
- package/src/models/PageFrontendDetailResource.ts +118 -0
- package/src/models/PageFrontendDetailResourceArrayResponse.ts +73 -0
- package/src/models/PageListResource.ts +168 -0
- package/src/models/PageListResourceArrayResponse.ts +73 -0
- package/src/models/PageLiteResource.ts +75 -0
- package/src/models/PageLiteResourceArrayResponse.ts +73 -0
- package/src/models/PageResource.ts +168 -0
- package/src/models/PageResourceArrayResponse.ts +73 -0
- package/src/models/PageType.ts +54 -0
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogFrontendResourceResponse.ts +90 -0
- package/src/models/PaginatedFrontendComponentLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedFrontendComponentResourceResponse.ts +90 -0
- package/src/models/PaginatedPageComponentLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedPageListResourceResponse.ts +90 -0
- package/src/models/PaginatedPageLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedPageResourceResponse.ts +90 -0
- package/src/models/PaginatedProductChildFrontendResourceResponse.ts +90 -0
- package/src/models/ProductChildFrontendResource.ts +151 -0
- package/src/models/ProductChildFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildSiteDetailFrontendResource.ts +136 -0
- package/src/models/ProductChildSiteDetailFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
- package/src/models/ProductRangeSiteDetailFrontendResource.ts +119 -0
- package/src/models/ProductRangeSiteDetailFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailLiteResource.ts +9 -0
- package/src/models/ProductResource.ts +2 -2
- package/src/models/ProductSearchResultResource.ts +2 -2
- package/src/models/SearchLinkablesMenuItemRequest.ts +1 -2
- package/src/models/SitePaymentConfigResource.ts +0 -9
- package/src/models/StoreAssetForAssetableRequest.ts +24 -6
- package/src/models/StoreBlogCategoryRequest.ts +108 -0
- package/src/models/StoreBlogCategoryRequestDescriptionsInner.ts +82 -0
- package/src/models/{StoreProductCategoryRequestSeoInner.ts → StoreBlogCategoryRequestSeoInner.ts} +13 -13
- package/src/models/StoreListResource.ts +22 -4
- package/src/models/StoreMenuItemRequestMenuItemLink.ts +1 -2
- package/src/models/StoreMenuRequest.ts +1 -2
- package/src/models/StoreOverlayTemplateAssetRequest.ts +20 -6
- package/src/models/StorePageComponentRequest.ts +140 -0
- package/src/models/StorePageComponentRequestRelationsInner.ts +81 -0
- package/src/models/StorePageRequest.ts +153 -0
- package/src/models/StorePageRequestBlog.ts +97 -0
- package/src/models/StoreProductCategoryRequest.ts +37 -21
- package/src/models/StoreProductChildRequestAssetsInner.ts +20 -6
- package/src/models/StoreResource.ts +25 -8
- package/src/models/StoreSpecialDateResource.ts +7 -8
- package/src/models/StoreStockType.ts +53 -0
- package/src/models/StoreStoreRequest.ts +16 -0
- package/src/models/StoreSupplierRequest.ts +40 -26
- package/src/models/Thumbnail.ts +73 -0
- package/src/models/UpdateAssetForAssetableRequest.ts +16 -0
- package/src/models/UpdateBlogCategoryRequest.ts +108 -0
- package/src/models/UpdateMenuRequest.ts +1 -2
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +20 -6
- package/src/models/UpdatePageComponentRequest.ts +122 -0
- package/src/models/UpdatePageRequest.ts +138 -0
- package/src/models/UpdatePageRequestComponentOrderInner.ts +75 -0
- package/src/models/UpdateProductCategoryRequest.ts +37 -21
- package/src/models/UpdateProductChildRequestAssetsInner.ts +20 -6
- package/src/models/UpdateSiteRequest.ts +0 -9
- package/src/models/UpdateStoreRequest.ts +16 -0
- package/src/models/UpdateSupplierRequest.ts +40 -26
- package/src/models/WishlistToggleResource.ts +2 -2
- package/src/models/index.ts +68 -42
- package/dist/apis/CartsApi.d.ts +0 -190
- package/dist/apis/CartsApi.js +0 -747
- package/dist/apis/CustomersApi.d.ts +0 -79
- package/dist/apis/DocumentApi.d.ts +0 -156
- package/dist/apis/DocumentApi.js +0 -613
- package/dist/models/AddressType.d.ts +0 -25
- package/dist/models/AddressType.js +0 -51
- package/dist/models/AttachCouponCartRequest.d.ts +0 -32
- package/dist/models/AttachCouponCartRequest.js +0 -51
- package/dist/models/AttachDocumentablesDocumentRequest.d.ts +0 -33
- package/dist/models/AttachDocumentablesDocumentRequest.js +0 -52
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -53
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -66
- package/dist/models/AttachItemCartRequest.d.ts +0 -44
- package/dist/models/AttachItemCartRequest.js +0 -57
- package/dist/models/CartListResource.d.ts +0 -131
- package/dist/models/CartListResource.js +0 -104
- package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartListResourceArrayResponse.js +0 -50
- package/dist/models/CartOrderSource.d.ts +0 -29
- package/dist/models/CartOrderSource.js +0 -55
- package/dist/models/CartResource.d.ts +0 -192
- package/dist/models/CartResource.js +0 -141
- package/dist/models/CartResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartResourceArrayResponse.js +0 -50
- package/dist/models/CartStatus.d.ts +0 -26
- package/dist/models/CartStatus.js +0 -52
- package/dist/models/CustomerListResource.d.ts +0 -70
- package/dist/models/CustomerListResource.js +0 -75
- package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerListResourceArrayResponse.js +0 -50
- package/dist/models/CustomerResource.d.ts +0 -70
- package/dist/models/CustomerResource.js +0 -75
- package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerResourceArrayResponse.js +0 -50
- package/dist/models/DetachDocumentablesDocumentRequest.d.ts +0 -33
- package/dist/models/DetachDocumentablesDocumentRequest.js +0 -52
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -47
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -64
- package/dist/models/GetAllDocumentRequest.d.ts +0 -95
- package/dist/models/GetHierarchyProductCategoryRequest.d.ts +0 -32
- package/dist/models/GetHierarchyProductCategoryRequest.js +0 -51
- package/dist/models/IndexCartRequest.d.ts +0 -154
- package/dist/models/IndexCartRequest.js +0 -105
- package/dist/models/IndexCustomerRequest.d.ts +0 -99
- package/dist/models/IndexDocumentRequest.d.ts +0 -107
- package/dist/models/LiAddressResource.d.ts +0 -86
- package/dist/models/LiAddressResource.js +0 -83
- package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/LiAddressResourceArrayResponse.js +0 -50
- package/dist/models/LineItemListResource.d.ts +0 -51
- package/dist/models/LineItemListResource.js +0 -62
- package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
- package/dist/models/LineItemListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
- package/dist/models/ShippingType.d.ts +0 -28
- package/dist/models/ShippingType.js +0 -54
- package/dist/models/StoreCartRequest.d.ts +0 -160
- package/dist/models/StoreCartRequest.js +0 -112
- package/dist/models/StoreCartRequestCustomer.d.ts +0 -50
- package/dist/models/StoreCartRequestCustomer.js +0 -55
- package/dist/models/StoreCartRequestItemsInner.d.ts +0 -44
- package/dist/models/StoreCartRequestItemsInner.js +0 -57
- package/dist/models/StoreCartRequestShippingAddress.d.ts +0 -68
- package/dist/models/StoreCartRequestShippingAddress.js +0 -61
- package/dist/models/StoreCustomerRequest.d.ts +0 -56
- package/dist/models/StoreCustomerRequest.js +0 -65
- package/dist/models/StoreDocumentFileRequest.d.ts +0 -38
- package/dist/models/StoreDocumentFileRequest.js +0 -55
- package/dist/models/StoreDocumentRequest.d.ts +0 -44
- package/dist/models/StoreDocumentRequest.js +0 -57
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +0 -55
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +0 -44
- package/dist/models/StoreProductCategoryRequestSeoInner.js +0 -55
- package/dist/models/UpdateCartRequest.d.ts +0 -135
- package/dist/models/UpdateCartRequest.js +0 -99
- package/dist/models/UpdateCustomerRequest.d.ts +0 -56
- package/dist/models/UpdateCustomerRequest.js +0 -63
- package/dist/models/UpdateDocumentRequest.d.ts +0 -44
- package/dist/models/UpdateDocumentRequest.js +0 -57
- package/dist/models/UpdateItemCartRequest.d.ts +0 -38
- package/dist/models/UpdateItemCartRequest.js +0 -53
- package/docs/AttachDocumentablesDocumentRequest.md +0 -34
- package/docs/AttachDocumentablesDocumentRequestDocumentablesInner.md +0 -38
- package/docs/CartListResource.md +0 -66
- package/docs/CartResource.md +0 -86
- package/docs/CartsApi.md +0 -755
- package/docs/CustomersApi.md +0 -275
- package/docs/DetachDocumentablesDocumentRequest.md +0 -34
- package/docs/DetachDocumentablesDocumentRequestDocumentablesInner.md +0 -36
- package/docs/DocumentApi.md +0 -611
- package/docs/LiAddressResourceArrayResponse.md +0 -34
- package/docs/StoreCartRequest.md +0 -68
- package/docs/StoreCartRequestShippingAddress.md +0 -46
- package/docs/UpdateCartRequest.md +0 -60
- package/docs/UpdateCustomerRequest.md +0 -42
- package/docs/UpdateItemCartRequest.md +0 -36
- package/src/apis/CartsApi.ts +0 -626
- package/src/apis/CustomersApi.ts +0 -232
- package/src/apis/DocumentApi.ts +0 -496
- package/src/models/AddressType.ts +0 -53
- package/src/models/AttachCouponCartRequest.ts +0 -66
- package/src/models/AttachDocumentablesDocumentRequest.ts +0 -74
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -95
- package/src/models/AttachItemCartRequest.ts +0 -83
- package/src/models/CartListResource.ts +0 -225
- package/src/models/CartListResourceArrayResponse.ts +0 -73
- package/src/models/CartOrderSource.ts +0 -57
- package/src/models/CartResource.ts +0 -320
- package/src/models/CartResourceArrayResponse.ts +0 -73
- package/src/models/CartStatus.ts +0 -54
- package/src/models/CustomerListResource.ts +0 -134
- package/src/models/CustomerListResourceArrayResponse.ts +0 -73
- package/src/models/CustomerResource.ts +0 -134
- package/src/models/CustomerResourceArrayResponse.ts +0 -73
- package/src/models/DetachDocumentablesDocumentRequest.ts +0 -74
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -87
- package/src/models/GetAllDocumentRequest.ts +0 -145
- package/src/models/GetHierarchyProductCategoryRequest.ts +0 -66
- package/src/models/IndexCartRequest.ts +0 -224
- package/src/models/IndexDocumentRequest.ts +0 -161
- package/src/models/LiAddressResource.ts +0 -145
- package/src/models/LiAddressResourceArrayResponse.ts +0 -73
- package/src/models/LineItemListResource.ts +0 -100
- package/src/models/LineItemListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedCartListResourceResponse.ts +0 -90
- package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
- package/src/models/ShippingType.ts +0 -56
- package/src/models/StoreCartRequest.ts +0 -252
- package/src/models/StoreCartRequestCustomer.ts +0 -89
- package/src/models/StoreCartRequestItemsInner.ts +0 -83
- package/src/models/StoreCartRequestShippingAddress.ts +0 -113
- package/src/models/StoreCustomerRequest.ts +0 -101
- package/src/models/StoreDocumentFileRequest.ts +0 -75
- package/src/models/StoreDocumentRequest.ts +0 -83
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +0 -82
- package/src/models/UpdateCartRequest.ts +0 -211
- package/src/models/UpdateCustomerRequest.ts +0 -100
- package/src/models/UpdateDocumentRequest.ts +0 -83
- package/src/models/UpdateItemCartRequest.ts +0 -74
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AddressType = void 0;
|
|
17
|
-
exports.instanceOfAddressType = instanceOfAddressType;
|
|
18
|
-
exports.AddressTypeFromJSON = AddressTypeFromJSON;
|
|
19
|
-
exports.AddressTypeFromJSONTyped = AddressTypeFromJSONTyped;
|
|
20
|
-
exports.AddressTypeToJSON = AddressTypeToJSON;
|
|
21
|
-
exports.AddressTypeToJSONTyped = AddressTypeToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.AddressType = {
|
|
27
|
-
Shipping: 'shipping',
|
|
28
|
-
Billing: 'billing'
|
|
29
|
-
};
|
|
30
|
-
function instanceOfAddressType(value) {
|
|
31
|
-
for (var key in exports.AddressType) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(exports.AddressType, key)) {
|
|
33
|
-
if (exports.AddressType[key] === value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
function AddressTypeFromJSON(json) {
|
|
41
|
-
return AddressTypeFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function AddressTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
function AddressTypeToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
function AddressTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AttachCouponCartRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface AttachCouponCartRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AttachCouponCartRequest
|
|
22
|
-
*/
|
|
23
|
-
couponCode: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the AttachCouponCartRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfAttachCouponCartRequest(value: object): value is AttachCouponCartRequest;
|
|
29
|
-
export declare function AttachCouponCartRequestFromJSON(json: any): AttachCouponCartRequest;
|
|
30
|
-
export declare function AttachCouponCartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachCouponCartRequest;
|
|
31
|
-
export declare function AttachCouponCartRequestToJSON(json: any): AttachCouponCartRequest;
|
|
32
|
-
export declare function AttachCouponCartRequestToJSONTyped(value?: AttachCouponCartRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAttachCouponCartRequest = instanceOfAttachCouponCartRequest;
|
|
17
|
-
exports.AttachCouponCartRequestFromJSON = AttachCouponCartRequestFromJSON;
|
|
18
|
-
exports.AttachCouponCartRequestFromJSONTyped = AttachCouponCartRequestFromJSONTyped;
|
|
19
|
-
exports.AttachCouponCartRequestToJSON = AttachCouponCartRequestToJSON;
|
|
20
|
-
exports.AttachCouponCartRequestToJSONTyped = AttachCouponCartRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AttachCouponCartRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAttachCouponCartRequest(value) {
|
|
25
|
-
if (!('couponCode' in value) || value['couponCode'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function AttachCouponCartRequestFromJSON(json) {
|
|
30
|
-
return AttachCouponCartRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function AttachCouponCartRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'couponCode': json['coupon_code'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function AttachCouponCartRequestToJSON(json) {
|
|
41
|
-
return AttachCouponCartRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function AttachCouponCartRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'coupon_code': value['couponCode'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { AttachDocumentablesDocumentRequestDocumentablesInner } from './AttachDocumentablesDocumentRequestDocumentablesInner';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AttachDocumentablesDocumentRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface AttachDocumentablesDocumentRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<AttachDocumentablesDocumentRequestDocumentablesInner>}
|
|
22
|
-
* @memberof AttachDocumentablesDocumentRequest
|
|
23
|
-
*/
|
|
24
|
-
documentables: Array<AttachDocumentablesDocumentRequestDocumentablesInner>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AttachDocumentablesDocumentRequest interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAttachDocumentablesDocumentRequest(value: object): value is AttachDocumentablesDocumentRequest;
|
|
30
|
-
export declare function AttachDocumentablesDocumentRequestFromJSON(json: any): AttachDocumentablesDocumentRequest;
|
|
31
|
-
export declare function AttachDocumentablesDocumentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentablesDocumentRequest;
|
|
32
|
-
export declare function AttachDocumentablesDocumentRequestToJSON(json: any): AttachDocumentablesDocumentRequest;
|
|
33
|
-
export declare function AttachDocumentablesDocumentRequestToJSONTyped(value?: AttachDocumentablesDocumentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAttachDocumentablesDocumentRequest = instanceOfAttachDocumentablesDocumentRequest;
|
|
17
|
-
exports.AttachDocumentablesDocumentRequestFromJSON = AttachDocumentablesDocumentRequestFromJSON;
|
|
18
|
-
exports.AttachDocumentablesDocumentRequestFromJSONTyped = AttachDocumentablesDocumentRequestFromJSONTyped;
|
|
19
|
-
exports.AttachDocumentablesDocumentRequestToJSON = AttachDocumentablesDocumentRequestToJSON;
|
|
20
|
-
exports.AttachDocumentablesDocumentRequestToJSONTyped = AttachDocumentablesDocumentRequestToJSONTyped;
|
|
21
|
-
var AttachDocumentablesDocumentRequestDocumentablesInner_1 = require("./AttachDocumentablesDocumentRequestDocumentablesInner");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AttachDocumentablesDocumentRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAttachDocumentablesDocumentRequest(value) {
|
|
26
|
-
if (!('documentables' in value) || value['documentables'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function AttachDocumentablesDocumentRequestFromJSON(json) {
|
|
31
|
-
return AttachDocumentablesDocumentRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function AttachDocumentablesDocumentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'documentables': (json['documentables'].map(AttachDocumentablesDocumentRequestDocumentablesInner_1.AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function AttachDocumentablesDocumentRequestToJSON(json) {
|
|
42
|
-
return AttachDocumentablesDocumentRequestToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function AttachDocumentablesDocumentRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'documentables': (value['documentables'].map(AttachDocumentablesDocumentRequestDocumentablesInner_1.AttachDocumentablesDocumentRequestDocumentablesInnerToJSON)),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AttachDocumentablesDocumentRequestDocumentablesInner
|
|
16
|
-
*/
|
|
17
|
-
export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum}
|
|
21
|
-
* @memberof AttachDocumentablesDocumentRequestDocumentablesInner
|
|
22
|
-
*/
|
|
23
|
-
documentableType: AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof AttachDocumentablesDocumentRequestDocumentablesInner
|
|
28
|
-
*/
|
|
29
|
-
documentableId: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof AttachDocumentablesDocumentRequestDocumentablesInner
|
|
34
|
-
*/
|
|
35
|
-
index?: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
|
|
41
|
-
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
42
|
-
readonly AppModelsProductRangesProductRange: "App\\Models\\ProductRanges\\ProductRange";
|
|
43
|
-
readonly AppModelsProductRangesProductRangeSiteDetail: "App\\Models\\ProductRanges\\ProductRangeSiteDetail";
|
|
44
|
-
};
|
|
45
|
-
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the AttachDocumentablesDocumentRequestDocumentablesInner interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfAttachDocumentablesDocumentRequestDocumentablesInner(value: object): value is AttachDocumentablesDocumentRequestDocumentablesInner;
|
|
50
|
-
export declare function AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON(json: any): AttachDocumentablesDocumentRequestDocumentablesInner;
|
|
51
|
-
export declare function AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentablesDocumentRequestDocumentablesInner;
|
|
52
|
-
export declare function AttachDocumentablesDocumentRequestDocumentablesInnerToJSON(json: any): AttachDocumentablesDocumentRequestDocumentablesInner;
|
|
53
|
-
export declare function AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped(value?: AttachDocumentablesDocumentRequestDocumentablesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfAttachDocumentablesDocumentRequestDocumentablesInner = instanceOfAttachDocumentablesDocumentRequestDocumentablesInner;
|
|
18
|
-
exports.AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON = AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON;
|
|
19
|
-
exports.AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped = AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped;
|
|
20
|
-
exports.AttachDocumentablesDocumentRequestDocumentablesInnerToJSON = AttachDocumentablesDocumentRequestDocumentablesInnerToJSON;
|
|
21
|
-
exports.AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
26
|
-
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
-
AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
|
|
28
|
-
AppModelsProductRangesProductRangeSiteDetail: 'App\\Models\\ProductRanges\\ProductRangeSiteDetail'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the AttachDocumentablesDocumentRequestDocumentablesInner interface.
|
|
32
|
-
*/
|
|
33
|
-
function instanceOfAttachDocumentablesDocumentRequestDocumentablesInner(value) {
|
|
34
|
-
if (!('documentableType' in value) || value['documentableType'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('documentableId' in value) || value['documentableId'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
function AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON(json) {
|
|
41
|
-
return AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
if (json == null) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'documentableType': json['documentable_type'],
|
|
49
|
-
'documentableId': json['documentable_id'],
|
|
50
|
-
'index': json['index'] == null ? undefined : json['index'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function AttachDocumentablesDocumentRequestDocumentablesInnerToJSON(json) {
|
|
54
|
-
return AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
function AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
-
if (value == null) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'documentable_type': value['documentableType'],
|
|
63
|
-
'documentable_id': value['documentableId'],
|
|
64
|
-
'index': value['index'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AttachItemCartRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface AttachItemCartRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof AttachItemCartRequest
|
|
22
|
-
*/
|
|
23
|
-
productChildId: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof AttachItemCartRequest
|
|
28
|
-
*/
|
|
29
|
-
quantity: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof AttachItemCartRequest
|
|
34
|
-
*/
|
|
35
|
-
productPrice?: number | null;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the AttachItemCartRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfAttachItemCartRequest(value: object): value is AttachItemCartRequest;
|
|
41
|
-
export declare function AttachItemCartRequestFromJSON(json: any): AttachItemCartRequest;
|
|
42
|
-
export declare function AttachItemCartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachItemCartRequest;
|
|
43
|
-
export declare function AttachItemCartRequestToJSON(json: any): AttachItemCartRequest;
|
|
44
|
-
export declare function AttachItemCartRequestToJSONTyped(value?: AttachItemCartRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAttachItemCartRequest = instanceOfAttachItemCartRequest;
|
|
17
|
-
exports.AttachItemCartRequestFromJSON = AttachItemCartRequestFromJSON;
|
|
18
|
-
exports.AttachItemCartRequestFromJSONTyped = AttachItemCartRequestFromJSONTyped;
|
|
19
|
-
exports.AttachItemCartRequestToJSON = AttachItemCartRequestToJSON;
|
|
20
|
-
exports.AttachItemCartRequestToJSONTyped = AttachItemCartRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AttachItemCartRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAttachItemCartRequest(value) {
|
|
25
|
-
if (!('productChildId' in value) || value['productChildId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function AttachItemCartRequestFromJSON(json) {
|
|
32
|
-
return AttachItemCartRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function AttachItemCartRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'productChildId': json['product_child_id'],
|
|
40
|
-
'quantity': json['quantity'],
|
|
41
|
-
'productPrice': json['product_price'] == null ? undefined : json['product_price'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function AttachItemCartRequestToJSON(json) {
|
|
45
|
-
return AttachItemCartRequestToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function AttachItemCartRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'product_child_id': value['productChildId'],
|
|
54
|
-
'quantity': value['quantity'],
|
|
55
|
-
'product_price': value['productPrice'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
-
import type { LineItemListResource } from './LineItemListResource';
|
|
14
|
-
import type { CustomerListResource } from './CustomerListResource';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface CartListResource
|
|
19
|
-
*/
|
|
20
|
-
export interface CartListResource {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof CartListResource
|
|
25
|
-
*/
|
|
26
|
-
id?: number | null;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof CartListResource
|
|
31
|
-
*/
|
|
32
|
-
guestEmail?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof CartListResource
|
|
37
|
-
*/
|
|
38
|
-
source: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof CartListResource
|
|
43
|
-
*/
|
|
44
|
-
shippingType?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof CartListResource
|
|
49
|
-
*/
|
|
50
|
-
shippingSubtotal?: number | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {boolean}
|
|
54
|
-
* @memberof CartListResource
|
|
55
|
-
*/
|
|
56
|
-
overrideShipping: boolean;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {number}
|
|
60
|
-
* @memberof CartListResource
|
|
61
|
-
*/
|
|
62
|
-
insuranceAmount?: number | null;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {boolean}
|
|
66
|
-
* @memberof CartListResource
|
|
67
|
-
*/
|
|
68
|
-
overrideInsurance: boolean;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {boolean}
|
|
72
|
-
* @memberof CartListResource
|
|
73
|
-
*/
|
|
74
|
-
useAsBillingAddress: boolean;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {Date}
|
|
78
|
-
* @memberof CartListResource
|
|
79
|
-
*/
|
|
80
|
-
expiryDate: Date;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {Date}
|
|
84
|
-
* @memberof CartListResource
|
|
85
|
-
*/
|
|
86
|
-
checkoutCompletedAt?: Date | null;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {Date}
|
|
90
|
-
* @memberof CartListResource
|
|
91
|
-
*/
|
|
92
|
-
createdAt?: Date | null;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {SiteLiteResource}
|
|
96
|
-
* @memberof CartListResource
|
|
97
|
-
*/
|
|
98
|
-
site: SiteLiteResource | null;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {CustomerListResource}
|
|
102
|
-
* @memberof CartListResource
|
|
103
|
-
*/
|
|
104
|
-
customer: CustomerListResource | null;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {Array<LineItemListResource>}
|
|
108
|
-
* @memberof CartListResource
|
|
109
|
-
*/
|
|
110
|
-
lineItems: Array<LineItemListResource> | null;
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @type {number}
|
|
114
|
-
* @memberof CartListResource
|
|
115
|
-
*/
|
|
116
|
-
subtotal: number;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {string}
|
|
120
|
-
* @memberof CartListResource
|
|
121
|
-
*/
|
|
122
|
-
status: string;
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Check if a given object implements the CartListResource interface.
|
|
126
|
-
*/
|
|
127
|
-
export declare function instanceOfCartListResource(value: object): value is CartListResource;
|
|
128
|
-
export declare function CartListResourceFromJSON(json: any): CartListResource;
|
|
129
|
-
export declare function CartListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartListResource;
|
|
130
|
-
export declare function CartListResourceToJSON(json: any): CartListResource;
|
|
131
|
-
export declare function CartListResourceToJSONTyped(value?: CartListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfCartListResource = instanceOfCartListResource;
|
|
17
|
-
exports.CartListResourceFromJSON = CartListResourceFromJSON;
|
|
18
|
-
exports.CartListResourceFromJSONTyped = CartListResourceFromJSONTyped;
|
|
19
|
-
exports.CartListResourceToJSON = CartListResourceToJSON;
|
|
20
|
-
exports.CartListResourceToJSONTyped = CartListResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
var LineItemListResource_1 = require("./LineItemListResource");
|
|
23
|
-
var CustomerListResource_1 = require("./CustomerListResource");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the CartListResource interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfCartListResource(value) {
|
|
28
|
-
if (!('source' in value) || value['source'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('overrideShipping' in value) || value['overrideShipping'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('overrideInsurance' in value) || value['overrideInsurance'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('useAsBillingAddress' in value) || value['useAsBillingAddress'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('expiryDate' in value) || value['expiryDate'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('site' in value) || value['site'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('customer' in value) || value['customer'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('lineItems' in value) || value['lineItems'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('subtotal' in value) || value['subtotal'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
function CartListResourceFromJSON(json) {
|
|
51
|
-
return CartListResourceFromJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
function CartListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
-
if (json == null) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
59
|
-
'guestEmail': json['guest_email'] == null ? undefined : json['guest_email'],
|
|
60
|
-
'source': json['source'],
|
|
61
|
-
'shippingType': json['shipping_type'] == null ? undefined : json['shipping_type'],
|
|
62
|
-
'shippingSubtotal': json['shipping_subtotal'] == null ? undefined : json['shipping_subtotal'],
|
|
63
|
-
'overrideShipping': json['override_shipping'],
|
|
64
|
-
'insuranceAmount': json['insurance_amount'] == null ? undefined : json['insurance_amount'],
|
|
65
|
-
'overrideInsurance': json['override_insurance'],
|
|
66
|
-
'useAsBillingAddress': json['use_as_billing_address'],
|
|
67
|
-
'expiryDate': (new Date(json['expiry_date'])),
|
|
68
|
-
'checkoutCompletedAt': json['checkout_completed_at'] == null ? undefined : (new Date(json['checkout_completed_at'])),
|
|
69
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
70
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
71
|
-
'customer': (0, CustomerListResource_1.CustomerListResourceFromJSON)(json['customer']),
|
|
72
|
-
'lineItems': (json['line_items'] == null ? null : json['line_items'].map(LineItemListResource_1.LineItemListResourceFromJSON)),
|
|
73
|
-
'subtotal': json['subtotal'],
|
|
74
|
-
'status': json['status'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function CartListResourceToJSON(json) {
|
|
78
|
-
return CartListResourceToJSONTyped(json, false);
|
|
79
|
-
}
|
|
80
|
-
function CartListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
81
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
82
|
-
if (value == null) {
|
|
83
|
-
return value;
|
|
84
|
-
}
|
|
85
|
-
return {
|
|
86
|
-
'id': value['id'],
|
|
87
|
-
'guest_email': value['guestEmail'],
|
|
88
|
-
'source': value['source'],
|
|
89
|
-
'shipping_type': value['shippingType'],
|
|
90
|
-
'shipping_subtotal': value['shippingSubtotal'],
|
|
91
|
-
'override_shipping': value['overrideShipping'],
|
|
92
|
-
'insurance_amount': value['insuranceAmount'],
|
|
93
|
-
'override_insurance': value['overrideInsurance'],
|
|
94
|
-
'use_as_billing_address': value['useAsBillingAddress'],
|
|
95
|
-
'expiry_date': value['expiryDate'].toISOString(),
|
|
96
|
-
'checkout_completed_at': value['checkoutCompletedAt'] == null ? value['checkoutCompletedAt'] : value['checkoutCompletedAt'].toISOString(),
|
|
97
|
-
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
98
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
99
|
-
'customer': (0, CustomerListResource_1.CustomerListResourceToJSON)(value['customer']),
|
|
100
|
-
'line_items': (value['lineItems'] == null ? null : value['lineItems'].map(LineItemListResource_1.LineItemListResourceToJSON)),
|
|
101
|
-
'subtotal': value['subtotal'],
|
|
102
|
-
'status': value['status'],
|
|
103
|
-
};
|
|
104
|
-
}
|