@digital8/lighting-illusions-ts-sdk 0.0.1883 → 0.0.1884
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 -108
- package/README.md +94 -83
- 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/AddressResource.d.ts +1 -7
- package/dist/models/AddressResource.js +3 -3
- 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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- 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/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +13 -1
- package/dist/models/StoreListResource.js +12 -6
- 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.js +4 -4
- 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 -51
- package/dist/models/index.js +68 -51
- 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/{LineItemDiscountResource.md → BlogCategoryListResource.md} +8 -8
- package/docs/{LineItemDiscountResourceArrayResponse.md → BlogCategoryListResourceArrayResponse.md} +5 -5
- package/docs/{CartCouponResource.md → BlogCategoryLiteResource.md} +6 -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/{StoreDocumentRequest.md → FrontendComponentLiteResource.md} +8 -8
- package/docs/FrontendComponentLiteResourceArrayResponse.md +34 -0
- package/docs/{UpdateDocumentRequest.md → FrontendComponentResource.md} +10 -8
- package/docs/{CartCouponResourceArrayResponse.md → FrontendComponentResourceArrayResponse.md} +5 -5
- 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/PageFrontendDetailResource.md +44 -0
- package/docs/PageFrontendDetailResourceArrayResponse.md +34 -0
- package/docs/{CustomerResource.md → PageListResource.md} +22 -14
- package/docs/{CartListResourceArrayResponse.md → PageListResourceArrayResponse.md} +5 -5
- package/docs/{CartOrderSource.md → PageLiteResource.md} +8 -4
- package/docs/{CustomerResourceArrayResponse.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/{ProductChildCartLiteResourceArrayResponse.md → ProductChildFrontendResourceArrayResponse.md} +5 -5
- package/docs/ProductChildSiteDetailFrontendResource.md +48 -0
- package/docs/ProductChildSiteDetailFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductChildSiteDetailLiteResource.md +0 -2
- package/docs/{ProductChildCartLiteResource.md → ProductRangeSiteDetailFrontendResource.md} +13 -13
- 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/StoreBlogCategoryRequest.md +40 -0
- 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/{AddressType.md → StoreStockType.md} +4 -4
- package/docs/StoreStoreRequest.md +4 -0
- package/docs/StoreSupplierRequest.md +6 -2
- package/docs/{DiscountType.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/AddressResource.ts +3 -10
- 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/ExternalApiLogResource.ts +3 -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/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +23 -6
- 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 +4 -4
- 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 -51
- package/dist/apis/CartsApi.d.ts +0 -190
- package/dist/apis/CartsApi.js +0 -745
- 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/CartCouponResource.d.ts +0 -50
- package/dist/models/CartCouponResource.js +0 -63
- package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartCouponResourceArrayResponse.js +0 -50
- 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 -223
- package/dist/models/CartResource.js +0 -164
- 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/DetachCouponCartRequest.d.ts +0 -32
- package/dist/models/DetachCouponCartRequest.js +0 -51
- 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/DiscountType.d.ts +0 -26
- package/dist/models/DiscountType.js +0 -52
- package/dist/models/DiscountValueType.d.ts +0 -25
- package/dist/models/DiscountValueType.js +0 -51
- 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/LineItemDiscountResource.d.ts +0 -50
- package/dist/models/LineItemDiscountResource.js +0 -63
- package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +0 -33
- package/dist/models/LineItemDiscountResourceArrayResponse.js +0 -50
- package/dist/models/LineItemListResource.d.ts +0 -76
- package/dist/models/LineItemListResource.js +0 -81
- 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/ProductChildCartLiteResource.d.ts +0 -70
- package/dist/models/ProductChildCartLiteResource.js +0 -77
- package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductChildCartLiteResourceArrayResponse.js +0 -50
- 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 -96
- package/docs/CartsApi.md +0 -755
- package/docs/CustomersApi.md +0 -275
- package/docs/DetachCouponCartRequest.md +0 -34
- package/docs/DetachDocumentablesDocumentRequest.md +0 -34
- package/docs/DetachDocumentablesDocumentRequestDocumentablesInner.md +0 -36
- package/docs/DiscountValueType.md +0 -32
- package/docs/DocumentApi.md +0 -611
- package/docs/LiAddressResourceArrayResponse.md +0 -34
- package/docs/LineItemListResource.md +0 -48
- package/docs/ShippingType.md +0 -32
- package/docs/StoreCartRequest.md +0 -68
- package/docs/StoreCartRequestCustomer.md +0 -40
- package/docs/StoreCartRequestItemsInner.md +0 -38
- package/docs/StoreCartRequestShippingAddress.md +0 -46
- package/docs/StoreDocumentFileRequest.md +0 -36
- package/docs/UpdateCartRequest.md +0 -60
- package/docs/UpdateCustomerRequest.md +0 -42
- package/docs/UpdateItemCartRequest.md +0 -36
- package/src/apis/CartsApi.ts +0 -624
- 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/CartCouponResource.ts +0 -93
- package/src/models/CartCouponResourceArrayResponse.ts +0 -73
- 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 -373
- 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/DetachCouponCartRequest.ts +0 -66
- package/src/models/DetachDocumentablesDocumentRequest.ts +0 -74
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -87
- package/src/models/DiscountType.ts +0 -54
- package/src/models/DiscountValueType.ts +0 -53
- 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/LineItemDiscountResource.ts +0 -93
- package/src/models/LineItemDiscountResourceArrayResponse.ts +0 -73
- package/src/models/LineItemListResource.ts +0 -144
- package/src/models/LineItemListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedCartListResourceResponse.ts +0 -90
- package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
- package/src/models/ProductChildCartLiteResource.ts +0 -135
- package/src/models/ProductChildCartLiteResourceArrayResponse.ts +0 -73
- 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,50 +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 CartCouponResource
|
|
16
|
-
*/
|
|
17
|
-
export interface CartCouponResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CartCouponResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CartCouponResource
|
|
28
|
-
*/
|
|
29
|
-
code: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CartCouponResource
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof CartCouponResource
|
|
40
|
-
*/
|
|
41
|
-
discountTotal: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the CartCouponResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfCartCouponResource(value: object): value is CartCouponResource;
|
|
47
|
-
export declare function CartCouponResourceFromJSON(json: any): CartCouponResource;
|
|
48
|
-
export declare function CartCouponResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartCouponResource;
|
|
49
|
-
export declare function CartCouponResourceToJSON(json: any): CartCouponResource;
|
|
50
|
-
export declare function CartCouponResourceToJSONTyped(value?: CartCouponResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +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.instanceOfCartCouponResource = instanceOfCartCouponResource;
|
|
17
|
-
exports.CartCouponResourceFromJSON = CartCouponResourceFromJSON;
|
|
18
|
-
exports.CartCouponResourceFromJSONTyped = CartCouponResourceFromJSONTyped;
|
|
19
|
-
exports.CartCouponResourceToJSON = CartCouponResourceToJSON;
|
|
20
|
-
exports.CartCouponResourceToJSONTyped = CartCouponResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the CartCouponResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfCartCouponResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('code' in value) || value['code'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('discountTotal' in value) || value['discountTotal'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function CartCouponResourceFromJSON(json) {
|
|
36
|
-
return CartCouponResourceFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function CartCouponResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'id': json['id'],
|
|
44
|
-
'code': json['code'],
|
|
45
|
-
'name': json['name'],
|
|
46
|
-
'discountTotal': json['discount_total'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function CartCouponResourceToJSON(json) {
|
|
50
|
-
return CartCouponResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function CartCouponResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': value['id'],
|
|
59
|
-
'code': value['code'],
|
|
60
|
-
'name': value['name'],
|
|
61
|
-
'discount_total': value['discountTotal'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -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 { CartCouponResource } from './CartCouponResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CartCouponResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface CartCouponResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CartCouponResource>}
|
|
22
|
-
* @memberof CartCouponResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<CartCouponResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the CartCouponResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfCartCouponResourceArrayResponse(value: object): value is CartCouponResourceArrayResponse;
|
|
30
|
-
export declare function CartCouponResourceArrayResponseFromJSON(json: any): CartCouponResourceArrayResponse;
|
|
31
|
-
export declare function CartCouponResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartCouponResourceArrayResponse;
|
|
32
|
-
export declare function CartCouponResourceArrayResponseToJSON(json: any): CartCouponResourceArrayResponse;
|
|
33
|
-
export declare function CartCouponResourceArrayResponseToJSONTyped(value?: CartCouponResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfCartCouponResourceArrayResponse = instanceOfCartCouponResourceArrayResponse;
|
|
17
|
-
exports.CartCouponResourceArrayResponseFromJSON = CartCouponResourceArrayResponseFromJSON;
|
|
18
|
-
exports.CartCouponResourceArrayResponseFromJSONTyped = CartCouponResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.CartCouponResourceArrayResponseToJSON = CartCouponResourceArrayResponseToJSON;
|
|
20
|
-
exports.CartCouponResourceArrayResponseToJSONTyped = CartCouponResourceArrayResponseToJSONTyped;
|
|
21
|
-
var CartCouponResource_1 = require("./CartCouponResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the CartCouponResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfCartCouponResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function CartCouponResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return CartCouponResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function CartCouponResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(CartCouponResource_1.CartCouponResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function CartCouponResourceArrayResponseToJSON(json) {
|
|
40
|
-
return CartCouponResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function CartCouponResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(CartCouponResource_1.CartCouponResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|