@digital8/lighting-illusions-ts-sdk 0.0.471 → 0.0.473
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 +296 -0
- package/README.md +212 -2
- package/dist/apis/AttributeApi.d.ts +179 -0
- package/dist/apis/AttributeApi.js +735 -0
- package/dist/apis/DocumentApi.d.ts +97 -0
- package/dist/apis/DocumentApi.js +402 -0
- package/dist/apis/ExternalApiLogApi.d.ts +29 -0
- package/dist/apis/ExternalApiLogApi.js +125 -0
- package/dist/apis/OverlayTemplateApi.d.ts +155 -0
- package/dist/apis/OverlayTemplateApi.js +640 -0
- package/dist/apis/ProductApi.d.ts +174 -0
- package/dist/apis/ProductApi.js +721 -0
- package/dist/apis/ProductChildSiteDetailApi.d.ts +42 -0
- package/dist/apis/ProductChildSiteDetailApi.js +176 -0
- package/dist/apis/ProductTypeApi.d.ts +121 -0
- package/dist/apis/ProductTypeApi.js +501 -0
- package/dist/apis/SiteApi.d.ts +23 -1
- package/dist/apis/SiteApi.js +91 -0
- package/dist/apis/SupplierApi.d.ts +12 -1
- package/dist/apis/SupplierApi.js +45 -0
- package/dist/apis/TagApi.d.ts +109 -0
- package/dist/apis/TagApi.js +453 -0
- package/dist/apis/index.d.ts +8 -0
- package/dist/apis/index.js +8 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.js +50 -0
- package/dist/models/AssetLiteResource.d.ts +44 -0
- package/dist/models/AssetLiteResource.js +59 -0
- package/dist/models/AssetLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetLiteResourceArrayResponse.js +50 -0
- package/dist/models/AssetResource.d.ts +19 -6
- package/dist/models/AssetResource.js +13 -4
- package/dist/models/AssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetResourceArrayResponse.js +50 -0
- package/dist/models/AttachDocumentablesDocumentRequest.d.ts +33 -0
- package/dist/models/AttachDocumentablesDocumentRequest.js +52 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +53 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +66 -0
- package/dist/models/AttachDocumentsProductChildSiteDetailRequest.d.ts +33 -0
- package/dist/models/AttachDocumentsProductChildSiteDetailRequest.js +52 -0
- package/dist/models/AttachDocumentsProductChildSiteDetailRequestDocumentsInner.d.ts +38 -0
- package/dist/models/AttachDocumentsProductChildSiteDetailRequestDocumentsInner.js +53 -0
- package/dist/models/AttributeFieldType.d.ts +27 -0
- package/dist/models/AttributeFieldType.js +53 -0
- package/dist/models/AttributeLiteResource.d.ts +38 -0
- package/dist/models/AttributeLiteResource.js +55 -0
- package/dist/models/AttributeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AttributeLiteResourceArrayResponse.js +50 -0
- package/dist/models/AttributeProductTypeRelationResource.d.ts +81 -0
- package/dist/models/AttributeProductTypeRelationResource.js +84 -0
- package/dist/models/AttributeProductTypeRelationResourceArrayResponse.d.ts +33 -0
- package/dist/models/AttributeProductTypeRelationResourceArrayResponse.js +50 -0
- package/dist/models/AttributeResource.d.ts +75 -0
- package/dist/models/AttributeResource.js +80 -0
- package/dist/models/AttributeResourceArrayResponse.d.ts +33 -0
- package/dist/models/AttributeResourceArrayResponse.js +50 -0
- package/dist/models/AttributeType.d.ts +26 -0
- package/dist/models/AttributeType.js +52 -0
- package/dist/models/AttributeValueResource.d.ts +38 -0
- package/dist/models/AttributeValueResource.js +55 -0
- package/dist/models/AttributeValueResourceArrayResponse.d.ts +33 -0
- package/dist/models/AttributeValueResourceArrayResponse.js +50 -0
- package/dist/models/CouponDiscountType.d.ts +25 -0
- package/dist/models/CouponDiscountType.js +51 -0
- package/dist/models/DestroyAttributeValueRequest.d.ts +32 -0
- package/dist/models/DestroyAttributeValueRequest.js +49 -0
- package/dist/models/DetachDocumentablesDocumentRequest.d.ts +33 -0
- package/dist/models/DetachDocumentablesDocumentRequest.js +52 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +47 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +64 -0
- package/dist/models/DetachDocumentsProductChildSiteDetailRequest.d.ts +32 -0
- package/dist/models/DetachDocumentsProductChildSiteDetailRequest.js +51 -0
- package/dist/models/DocumentFileForUploadResource.d.ts +50 -0
- package/dist/models/DocumentFileForUploadResource.js +63 -0
- package/dist/models/DocumentFileForUploadResourceArrayResponse.d.ts +33 -0
- package/dist/models/DocumentFileForUploadResourceArrayResponse.js +50 -0
- package/dist/models/DocumentLiteResource.d.ts +44 -0
- package/dist/models/DocumentLiteResource.js +55 -0
- package/dist/models/DocumentLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/DocumentLiteResourceArrayResponse.js +50 -0
- package/dist/models/DocumentResource.d.ts +75 -0
- package/dist/models/DocumentResource.js +70 -0
- package/dist/models/DocumentResourceArrayResponse.d.ts +33 -0
- package/dist/models/DocumentResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +93 -0
- package/dist/models/ExternalApiLogResource.js +90 -0
- package/dist/models/ExternalApiLogResourceArrayResponse.d.ts +33 -0
- package/dist/models/ExternalApiLogResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiProvider.d.ts +25 -0
- package/dist/models/ExternalApiProvider.js +51 -0
- package/dist/models/ExternalApiSyncStatus.d.ts +27 -0
- package/dist/models/ExternalApiSyncStatus.js +53 -0
- package/dist/models/GetAllAttributeRequest.d.ts +101 -0
- package/dist/models/GetAllAttributeRequest.js +88 -0
- package/dist/models/GetAllDocumentRequest.d.ts +62 -0
- package/dist/models/GetAllDocumentRequest.js +70 -0
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +87 -0
- package/dist/models/GetAllOverlayTemplateRequest.js +82 -0
- package/dist/models/GetAllProductChildRequest.d.ts +122 -0
- package/dist/models/GetAllProductChildRequest.js +101 -0
- package/dist/models/GetAllProductRequest.d.ts +83 -0
- package/dist/models/GetAllProductRequest.js +82 -0
- package/dist/models/GetAllProductTypeRequest.d.ts +82 -0
- package/dist/models/GetAllProductTypeRequest.js +81 -0
- package/dist/models/GetAllSupplierRequest.d.ts +83 -0
- package/dist/models/GetAllSupplierRequest.js +82 -0
- package/dist/models/IndexAttributeRequest.d.ts +92 -0
- package/dist/models/IndexAttributeRequest.js +80 -0
- package/dist/models/IndexDocumentRequest.d.ts +74 -0
- package/dist/models/IndexDocumentRequest.js +74 -0
- package/dist/models/IndexExternalApiLogRequest.d.ts +113 -0
- package/dist/models/IndexExternalApiLogRequest.js +89 -0
- package/dist/models/IndexOverlayTemplateRequest.d.ts +80 -0
- package/dist/models/IndexOverlayTemplateRequest.js +76 -0
- package/dist/models/IndexProductChildRequest.d.ts +134 -0
- package/dist/models/IndexProductChildRequest.js +105 -0
- package/dist/models/IndexProductTypeRequest.d.ts +74 -0
- package/dist/models/IndexProductTypeRequest.js +74 -0
- package/dist/models/IndexSiteNotificationRequest.d.ts +8 -2
- package/dist/models/IndexSiteNotificationRequest.js +2 -0
- package/dist/models/IndexSiteRequest.d.ts +8 -2
- package/dist/models/IndexSiteRequest.js +2 -0
- package/dist/models/IndexSupplierRequest.d.ts +8 -2
- package/dist/models/IndexSupplierRequest.js +2 -0
- package/dist/models/IndexTagRequest.d.ts +87 -0
- package/dist/models/IndexTagRequest.js +79 -0
- package/dist/models/LinkAssetsOverlayTemplateRequest.d.ts +32 -0
- package/dist/models/LinkAssetsOverlayTemplateRequest.js +51 -0
- package/dist/models/LinkAttributeProductTypeRequest.d.ts +48 -0
- package/dist/models/LinkAttributeProductTypeRequest.js +65 -0
- package/dist/models/LinkProductChildrenTagRequest.d.ts +32 -0
- package/dist/models/LinkProductChildrenTagRequest.js +51 -0
- package/dist/models/LinkProductTypeAttributeRequest.d.ts +48 -0
- package/dist/models/LinkProductTypeAttributeRequest.js +65 -0
- package/dist/models/ModelAttributeResource.d.ts +52 -0
- package/dist/models/ModelAttributeResource.js +65 -0
- package/dist/models/ModelAttributeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeResourceArrayResponse.js +50 -0
- package/dist/models/OverlayTemplateAssetPosition.d.ts +30 -0
- package/dist/models/OverlayTemplateAssetPosition.js +56 -0
- package/dist/models/OverlayTemplateAssetResource.d.ts +63 -0
- package/dist/models/OverlayTemplateAssetResource.js +72 -0
- package/dist/models/OverlayTemplateAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateAssetResourceArrayResponse.js +50 -0
- package/dist/models/OverlayTemplateLiteResource.d.ts +45 -0
- package/dist/models/OverlayTemplateLiteResource.js +60 -0
- package/dist/models/OverlayTemplateLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateLiteResourceArrayResponse.js +50 -0
- package/dist/models/OverlayTemplateResource.d.ts +58 -0
- package/dist/models/OverlayTemplateResource.js +69 -0
- package/dist/models/OverlayTemplateResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedAttributeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAttributeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedAttributeProductTypeRelationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAttributeProductTypeRelationResourceResponse.js +57 -0
- package/dist/models/PaginatedAttributeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAttributeResourceResponse.js +57 -0
- package/dist/models/PaginatedDocumentResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDocumentResourceResponse.js +57 -0
- package/dist/models/PaginatedExternalApiLogResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedExternalApiLogResourceResponse.js +57 -0
- package/dist/models/PaginatedOverlayTemplateLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedOverlayTemplateLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedOverlayTemplateResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedOverlayTemplateResourceResponse.js +57 -0
- package/dist/models/PaginatedProductChildLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductChildOverlayRelationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildOverlayRelationResourceResponse.js +57 -0
- package/dist/models/PaginatedProductChildRelationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildRelationResourceResponse.js +57 -0
- package/dist/models/PaginatedProductChildResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildResourceResponse.js +57 -0
- package/dist/models/PaginatedProductLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductResourceResponse.js +57 -0
- package/dist/models/PaginatedProductTypeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductTypeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductTypeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductTypeResourceResponse.js +57 -0
- package/dist/models/PaginatedSiteLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSiteLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedTagLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTagLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedTagResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTagResourceResponse.js +57 -0
- package/dist/models/ProductChildLiteResource.d.ts +75 -0
- package/dist/models/ProductChildLiteResource.js +80 -0
- package/dist/models/ProductChildLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildOverlayRelationResource.d.ts +81 -0
- package/dist/models/ProductChildOverlayRelationResource.js +84 -0
- package/dist/models/ProductChildOverlayRelationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildOverlayRelationResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildRelationResource.d.ts +69 -0
- package/dist/models/ProductChildRelationResource.js +76 -0
- package/dist/models/ProductChildRelationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildRelationResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildResource.d.ts +172 -0
- package/dist/models/ProductChildResource.js +135 -0
- package/dist/models/ProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductChildSiteDetailResource.d.ts +94 -0
- package/dist/models/ProductChildSiteDetailResource.js +93 -0
- package/dist/models/ProductChildSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/ProductLiteResource.d.ts +38 -0
- package/dist/models/ProductLiteResource.js +55 -0
- package/dist/models/ProductLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductResource.d.ts +88 -0
- package/dist/models/ProductResource.js +89 -0
- package/dist/models/ProductResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductResourceArrayResponse.js +50 -0
- package/dist/models/ProductTypeLiteResource.d.ts +44 -0
- package/dist/models/ProductTypeLiteResource.js +59 -0
- package/dist/models/ProductTypeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductTypeLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductTypeResource.d.ts +75 -0
- package/dist/models/ProductTypeResource.js +80 -0
- package/dist/models/ProductTypeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductTypeResourceArrayResponse.js +50 -0
- package/dist/models/SEOResourceArrayResponse.d.ts +33 -0
- package/dist/models/SEOResourceArrayResponse.js +50 -0
- package/dist/models/SiteConfigResource.d.ts +1 -1
- package/dist/models/SiteConfigResource.js +3 -1
- package/dist/models/SiteConfigResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteConfigResourceArrayResponse.js +50 -0
- package/dist/models/SiteLiteResource.d.ts +50 -0
- package/dist/models/SiteLiteResource.js +63 -0
- package/dist/models/SiteLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteLiteResourceArrayResponse.js +50 -0
- package/dist/models/SiteNotificationResource.d.ts +2 -2
- package/dist/models/SiteNotificationResource.js +6 -2
- package/dist/models/SiteNotificationResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteNotificationResourceArrayResponse.js +50 -0
- package/dist/models/SitePaymentConfigResourceArrayResponse.d.ts +33 -0
- package/dist/models/SitePaymentConfigResourceArrayResponse.js +50 -0
- package/dist/models/SiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteResourceArrayResponse.js +50 -0
- package/dist/models/StoreAttributeRequest.d.ts +65 -0
- package/dist/models/StoreAttributeRequest.js +74 -0
- package/dist/models/StoreAttributeValueRequest.d.ts +38 -0
- package/dist/models/StoreAttributeValueRequest.js +55 -0
- package/dist/models/StoreDocumentFileRequest.d.ts +38 -0
- package/dist/models/StoreDocumentFileRequest.js +55 -0
- package/dist/models/StoreDocumentRequest.d.ts +44 -0
- package/dist/models/StoreDocumentRequest.js +57 -0
- package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +87 -0
- package/dist/models/StoreOverlayTemplateAssetRequest.js +84 -0
- package/dist/models/StoreOverlayTemplateRequest.d.ts +38 -0
- package/dist/models/StoreOverlayTemplateRequest.js +55 -0
- package/dist/models/StoreProductChildRequest.d.ts +137 -0
- package/dist/models/StoreProductChildRequest.js +110 -0
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +62 -0
- package/dist/models/StoreProductChildRequestAssetsInner.js +69 -0
- package/dist/models/StoreProductChildRequestAttributeValuesInner.d.ts +44 -0
- package/dist/models/StoreProductChildRequestAttributeValuesInner.js +57 -0
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +98 -0
- package/dist/models/StoreProductChildRequestSitesInner.js +81 -0
- package/dist/models/StoreProductRequest.d.ts +81 -0
- package/dist/models/StoreProductRequest.js +80 -0
- package/dist/models/StoreProductRequestCategoriesInner.d.ts +38 -0
- package/dist/models/StoreProductRequestCategoriesInner.js +55 -0
- package/dist/models/StoreProductTypeRequest.d.ts +32 -0
- package/dist/models/StoreProductTypeRequest.js +51 -0
- package/dist/models/StoreSupplierRequest.d.ts +3 -2
- package/dist/models/StoreSupplierRequest.js +3 -2
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +62 -0
- package/dist/models/StoreSupplierRequestSeoInner.js +61 -0
- package/dist/models/StoreTagRequest.d.ts +88 -0
- package/dist/models/StoreTagRequest.js +81 -0
- package/dist/models/SupplierFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/SupplierFrontendResourceArrayResponse.js +50 -0
- package/dist/models/SupplierLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/SupplierLiteResourceArrayResponse.js +50 -0
- package/dist/models/SupplierResourceArrayResponse.d.ts +33 -0
- package/dist/models/SupplierResourceArrayResponse.js +50 -0
- package/dist/models/TagLiteResource.d.ts +38 -0
- package/dist/models/TagLiteResource.js +55 -0
- package/dist/models/TagLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/TagLiteResourceArrayResponse.js +50 -0
- package/dist/models/TagResource.d.ts +64 -0
- package/dist/models/TagResource.js +73 -0
- package/dist/models/TagResourceArrayResponse.d.ts +33 -0
- package/dist/models/TagResourceArrayResponse.js +50 -0
- package/dist/models/TagType.d.ts +25 -0
- package/dist/models/TagType.js +51 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +45 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +62 -0
- package/dist/models/UpdateAttributeRequest.d.ts +65 -0
- package/dist/models/UpdateAttributeRequest.js +74 -0
- package/dist/models/UpdateAttributeValueRequest.d.ts +32 -0
- package/dist/models/UpdateAttributeValueRequest.js +51 -0
- package/dist/models/UpdateFilterOrderAttributeRequest.d.ts +33 -0
- package/dist/models/UpdateFilterOrderAttributeRequest.js +52 -0
- package/dist/models/UpdateFilterOrderAttributeRequestValuesInner.d.ts +38 -0
- package/dist/models/UpdateFilterOrderAttributeRequestValuesInner.js +55 -0
- package/dist/models/UpdateModelAttributeRequest.d.ts +38 -0
- package/dist/models/UpdateModelAttributeRequest.js +51 -0
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +81 -0
- package/dist/models/UpdateOverlayTemplateAssetRequest.js +80 -0
- package/dist/models/UpdateOverlayTemplateRequest.d.ts +38 -0
- package/dist/models/UpdateOverlayTemplateRequest.js +53 -0
- package/dist/models/UpdateProductChildRequest.d.ts +112 -0
- package/dist/models/UpdateProductChildRequest.js +91 -0
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +50 -0
- package/dist/models/UpdateProductChildRequestAssetsInner.js +61 -0
- package/dist/models/UpdateProductRequest.d.ts +81 -0
- package/dist/models/UpdateProductRequest.js +80 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +57 -0
- package/dist/models/UpdateProductTypeRequest.js +60 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/UpdateSupplierRequest.d.ts +3 -2
- package/dist/models/UpdateSupplierRequest.js +3 -2
- package/dist/models/UpdateTagRequest.d.ts +82 -0
- package/dist/models/UpdateTagRequest.js +77 -0
- package/dist/models/index.d.ts +140 -0
- package/dist/models/index.js +140 -0
- package/docs/AssetFileForUploadResourceArrayResponse.md +34 -0
- package/docs/AssetLiteResource.md +38 -0
- package/docs/AssetLiteResourceArrayResponse.md +34 -0
- package/docs/AssetResource.md +6 -2
- package/docs/AssetResourceArrayResponse.md +34 -0
- package/docs/AttachDocumentablesDocumentRequest.md +34 -0
- package/docs/AttachDocumentablesDocumentRequestDocumentablesInner.md +38 -0
- package/docs/AttachDocumentsProductChildSiteDetailRequest.md +34 -0
- package/docs/AttachDocumentsProductChildSiteDetailRequestDocumentsInner.md +36 -0
- package/docs/AttributeApi.md +953 -0
- package/docs/AttributeFieldType.md +32 -0
- package/docs/AttributeLiteResource.md +36 -0
- package/docs/AttributeLiteResourceArrayResponse.md +34 -0
- package/docs/AttributeProductTypeRelationResource.md +50 -0
- package/docs/AttributeProductTypeRelationResourceArrayResponse.md +34 -0
- package/docs/AttributeResource.md +48 -0
- package/docs/AttributeResourceArrayResponse.md +34 -0
- package/docs/AttributeType.md +32 -0
- package/docs/AttributeValueResource.md +36 -0
- package/docs/AttributeValueResourceArrayResponse.md +34 -0
- package/docs/CouponDiscountType.md +32 -0
- package/docs/DestroyAttributeValueRequest.md +34 -0
- package/docs/DetachDocumentablesDocumentRequest.md +34 -0
- package/docs/DetachDocumentablesDocumentRequestDocumentablesInner.md +36 -0
- package/docs/DetachDocumentsProductChildSiteDetailRequest.md +34 -0
- package/docs/DocumentApi.md +476 -0
- package/docs/DocumentFileForUploadResource.md +40 -0
- package/docs/DocumentFileForUploadResourceArrayResponse.md +34 -0
- package/docs/DocumentLiteResource.md +38 -0
- package/docs/DocumentLiteResourceArrayResponse.md +34 -0
- package/docs/DocumentResource.md +48 -0
- package/docs/DocumentResourceArrayResponse.md +34 -0
- package/docs/ExternalApiLogApi.md +74 -0
- package/docs/ExternalApiLogResource.md +54 -0
- package/docs/ExternalApiLogResourceArrayResponse.md +34 -0
- package/docs/ExternalApiProvider.md +32 -0
- package/docs/ExternalApiSyncStatus.md +32 -0
- package/docs/GetAllAttributeRequest.md +48 -0
- package/docs/GetAllDocumentRequest.md +38 -0
- package/docs/GetAllOverlayTemplateRequest.md +44 -0
- package/docs/GetAllProductChildRequest.md +52 -0
- package/docs/GetAllProductRequest.md +42 -0
- package/docs/GetAllProductTypeRequest.md +42 -0
- package/docs/GetAllSupplierRequest.md +42 -0
- package/docs/IndexAttributeRequest.md +48 -0
- package/docs/IndexDocumentRequest.md +42 -0
- package/docs/IndexExternalApiLogRequest.md +54 -0
- package/docs/IndexOverlayTemplateRequest.md +44 -0
- package/docs/IndexProductChildRequest.md +56 -0
- package/docs/IndexProductTypeRequest.md +42 -0
- package/docs/IndexSiteNotificationRequest.md +3 -1
- package/docs/IndexSiteRequest.md +3 -1
- package/docs/IndexSupplierRequest.md +3 -1
- package/docs/IndexTagRequest.md +46 -0
- package/docs/LinkAssetsOverlayTemplateRequest.md +34 -0
- package/docs/LinkAttributeProductTypeRequest.md +36 -0
- package/docs/LinkProductChildrenTagRequest.md +34 -0
- package/docs/LinkProductTypeAttributeRequest.md +36 -0
- package/docs/ModelAttributeResource.md +40 -0
- package/docs/ModelAttributeResourceArrayResponse.md +34 -0
- package/docs/OverlayTemplateApi.md +815 -0
- package/docs/OverlayTemplateAssetPosition.md +32 -0
- package/docs/OverlayTemplateAssetResource.md +44 -0
- package/docs/OverlayTemplateAssetResourceArrayResponse.md +34 -0
- package/docs/OverlayTemplateLiteResource.md +38 -0
- package/docs/OverlayTemplateLiteResourceArrayResponse.md +34 -0
- package/docs/OverlayTemplateResource.md +42 -0
- package/docs/OverlayTemplateResourceArrayResponse.md +34 -0
- package/docs/PaginatedAttributeLiteResourceResponse.md +36 -0
- package/docs/PaginatedAttributeProductTypeRelationResourceResponse.md +36 -0
- package/docs/PaginatedAttributeResourceResponse.md +36 -0
- package/docs/PaginatedDocumentResourceResponse.md +36 -0
- package/docs/PaginatedExternalApiLogResourceResponse.md +36 -0
- package/docs/PaginatedOverlayTemplateLiteResourceResponse.md +36 -0
- package/docs/PaginatedOverlayTemplateResourceResponse.md +36 -0
- package/docs/PaginatedProductChildLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductChildOverlayRelationResourceResponse.md +36 -0
- package/docs/PaginatedProductChildRelationResourceResponse.md +36 -0
- package/docs/PaginatedProductChildResourceResponse.md +36 -0
- package/docs/PaginatedProductLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductResourceResponse.md +36 -0
- package/docs/PaginatedProductTypeLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductTypeResourceResponse.md +36 -0
- package/docs/PaginatedSiteLiteResourceResponse.md +36 -0
- package/docs/PaginatedTagLiteResourceResponse.md +36 -0
- package/docs/PaginatedTagResourceResponse.md +36 -0
- package/docs/ProductApi.md +938 -0
- package/docs/ProductChildLiteResource.md +48 -0
- package/docs/ProductChildLiteResourceArrayResponse.md +34 -0
- package/docs/ProductChildOverlayRelationResource.md +50 -0
- package/docs/ProductChildOverlayRelationResourceArrayResponse.md +34 -0
- package/docs/ProductChildRelationResource.md +46 -0
- package/docs/ProductChildRelationResourceArrayResponse.md +34 -0
- package/docs/ProductChildResource.md +80 -0
- package/docs/ProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductChildSiteDetailApi.md +146 -0
- package/docs/ProductChildSiteDetailResource.md +54 -0
- package/docs/ProductChildSiteDetailResourceArrayResponse.md +34 -0
- package/docs/ProductLiteResource.md +36 -0
- package/docs/ProductLiteResourceArrayResponse.md +34 -0
- package/docs/ProductResource.md +52 -0
- package/docs/ProductResourceArrayResponse.md +34 -0
- package/docs/ProductTypeApi.md +614 -0
- package/docs/ProductTypeLiteResource.md +38 -0
- package/docs/ProductTypeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductTypeResource.md +48 -0
- package/docs/ProductTypeResourceArrayResponse.md +34 -0
- package/docs/SEOResourceArrayResponse.md +34 -0
- package/docs/SiteApi.md +134 -2
- package/docs/SiteConfigResourceArrayResponse.md +34 -0
- package/docs/SiteLiteResource.md +40 -0
- package/docs/SiteLiteResourceArrayResponse.md +34 -0
- package/docs/SiteNotificationResourceArrayResponse.md +34 -0
- package/docs/SitePaymentConfigResourceArrayResponse.md +34 -0
- package/docs/SiteResourceArrayResponse.md +34 -0
- package/docs/StoreAttributeRequest.md +42 -0
- package/docs/StoreAttributeValueRequest.md +36 -0
- package/docs/StoreDocumentFileRequest.md +36 -0
- package/docs/StoreDocumentRequest.md +38 -0
- package/docs/StoreOverlayTemplateAssetRequest.md +48 -0
- package/docs/StoreOverlayTemplateRequest.md +36 -0
- package/docs/StoreProductChildRequest.md +68 -0
- package/docs/StoreProductChildRequestAssetsInner.md +44 -0
- package/docs/StoreProductChildRequestAttributeValuesInner.md +38 -0
- package/docs/StoreProductChildRequestSitesInner.md +56 -0
- package/docs/StoreProductRequest.md +50 -0
- package/docs/StoreProductRequestCategoriesInner.md +36 -0
- package/docs/StoreProductTypeRequest.md +34 -0
- package/docs/StoreSupplierRequest.md +1 -1
- package/docs/StoreSupplierRequestSeoInner.md +44 -0
- package/docs/StoreTagRequest.md +50 -0
- package/docs/SupplierApi.md +67 -1
- package/docs/SupplierFrontendResourceArrayResponse.md +34 -0
- package/docs/SupplierLiteResourceArrayResponse.md +34 -0
- package/docs/SupplierResourceArrayResponse.md +34 -0
- package/docs/TagApi.md +545 -0
- package/docs/TagLiteResource.md +36 -0
- package/docs/TagLiteResourceArrayResponse.md +34 -0
- package/docs/TagResource.md +44 -0
- package/docs/TagResourceArrayResponse.md +34 -0
- package/docs/TagType.md +32 -0
- package/docs/UnlinkAssetableOverlayTemplateRequest.md +36 -0
- package/docs/UpdateAttributeRequest.md +42 -0
- package/docs/UpdateAttributeValueRequest.md +34 -0
- package/docs/UpdateFilterOrderAttributeRequest.md +34 -0
- package/docs/UpdateFilterOrderAttributeRequestValuesInner.md +36 -0
- package/docs/UpdateModelAttributeRequest.md +36 -0
- package/docs/UpdateOverlayTemplateAssetRequest.md +46 -0
- package/docs/UpdateOverlayTemplateRequest.md +36 -0
- package/docs/UpdateProductChildRequest.md +60 -0
- package/docs/UpdateProductChildRequestAssetsInner.md +40 -0
- package/docs/UpdateProductRequest.md +50 -0
- package/docs/UpdateProductTypeRequest.md +42 -0
- package/docs/UpdateProductTypeRequestPerformanceValuesInner.md +36 -0
- package/docs/UpdateSupplierRequest.md +1 -1
- package/docs/UpdateTagRequest.md +48 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +657 -0
- package/src/apis/DocumentApi.ts +335 -0
- package/src/apis/ExternalApiLogApi.ts +69 -0
- package/src/apis/OverlayTemplateApi.ts +560 -0
- package/src/apis/ProductApi.ts +619 -0
- package/src/apis/ProductChildSiteDetailApi.ts +126 -0
- package/src/apis/ProductTypeApi.ts +429 -0
- package/src/apis/SiteApi.ts +80 -0
- package/src/apis/SupplierApi.ts +42 -0
- package/src/apis/TagApi.ts +384 -0
- package/src/apis/index.ts +8 -0
- package/src/models/AssetFileForUploadResourceArrayResponse.ts +73 -0
- package/src/models/AssetLiteResource.ts +84 -0
- package/src/models/AssetLiteResourceArrayResponse.ts +73 -0
- package/src/models/AssetResource.ts +35 -9
- package/src/models/AssetResourceArrayResponse.ts +73 -0
- package/src/models/AttachDocumentablesDocumentRequest.ts +74 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +95 -0
- package/src/models/AttachDocumentsProductChildSiteDetailRequest.ts +74 -0
- package/src/models/AttachDocumentsProductChildSiteDetailRequestDocumentsInner.ts +74 -0
- package/src/models/AttributeFieldType.ts +55 -0
- package/src/models/AttributeLiteResource.ts +75 -0
- package/src/models/AttributeLiteResourceArrayResponse.ts +73 -0
- package/src/models/AttributeProductTypeRelationResource.ts +146 -0
- package/src/models/AttributeProductTypeRelationResourceArrayResponse.ts +73 -0
- package/src/models/AttributeResource.ts +137 -0
- package/src/models/AttributeResourceArrayResponse.ts +73 -0
- package/src/models/AttributeType.ts +54 -0
- package/src/models/AttributeValueResource.ts +75 -0
- package/src/models/AttributeValueResourceArrayResponse.ts +73 -0
- package/src/models/CouponDiscountType.ts +53 -0
- package/src/models/DestroyAttributeValueRequest.ts +65 -0
- package/src/models/DetachDocumentablesDocumentRequest.ts +74 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +87 -0
- package/src/models/DetachDocumentsProductChildSiteDetailRequest.ts +66 -0
- package/src/models/DocumentFileForUploadResource.ts +93 -0
- package/src/models/DocumentFileForUploadResourceArrayResponse.ts +73 -0
- package/src/models/DocumentLiteResource.ts +82 -0
- package/src/models/DocumentLiteResourceArrayResponse.ts +73 -0
- package/src/models/DocumentResource.ts +132 -0
- package/src/models/DocumentResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +163 -0
- package/src/models/ExternalApiLogResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiProvider.ts +53 -0
- package/src/models/ExternalApiSyncStatus.ts +55 -0
- package/src/models/GetAllAttributeRequest.ts +153 -0
- package/src/models/GetAllDocumentRequest.ts +103 -0
- package/src/models/GetAllOverlayTemplateRequest.ts +135 -0
- package/src/models/GetAllProductChildRequest.ts +178 -0
- package/src/models/GetAllProductRequest.ts +129 -0
- package/src/models/GetAllProductTypeRequest.ts +128 -0
- package/src/models/GetAllSupplierRequest.ts +129 -0
- package/src/models/IndexAttributeRequest.ts +143 -0
- package/src/models/IndexDocumentRequest.ts +119 -0
- package/src/models/IndexExternalApiLogRequest.ts +170 -0
- package/src/models/IndexOverlayTemplateRequest.ts +127 -0
- package/src/models/IndexProductChildRequest.ts +194 -0
- package/src/models/IndexProductTypeRequest.ts +119 -0
- package/src/models/IndexSiteNotificationRequest.ts +10 -2
- package/src/models/IndexSiteRequest.ts +10 -2
- package/src/models/IndexSupplierRequest.ts +10 -2
- package/src/models/IndexTagRequest.ts +136 -0
- package/src/models/LinkAssetsOverlayTemplateRequest.ts +66 -0
- package/src/models/LinkAttributeProductTypeRequest.ts +88 -0
- package/src/models/LinkProductChildrenTagRequest.ts +66 -0
- package/src/models/LinkProductTypeAttributeRequest.ts +88 -0
- package/src/models/ModelAttributeResource.ts +108 -0
- package/src/models/ModelAttributeResourceArrayResponse.ts +73 -0
- package/src/models/OverlayTemplateAssetPosition.ts +58 -0
- package/src/models/OverlayTemplateAssetResource.ts +119 -0
- package/src/models/OverlayTemplateAssetResourceArrayResponse.ts +73 -0
- package/src/models/OverlayTemplateLiteResource.ts +92 -0
- package/src/models/OverlayTemplateLiteResourceArrayResponse.ts +73 -0
- package/src/models/OverlayTemplateResource.ts +117 -0
- package/src/models/OverlayTemplateResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedAttributeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts +90 -0
- package/src/models/PaginatedAttributeResourceResponse.ts +90 -0
- package/src/models/PaginatedDocumentResourceResponse.ts +90 -0
- package/src/models/PaginatedExternalApiLogResourceResponse.ts +90 -0
- package/src/models/PaginatedOverlayTemplateLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedOverlayTemplateResourceResponse.ts +90 -0
- package/src/models/PaginatedProductChildLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductChildOverlayRelationResourceResponse.ts +90 -0
- package/src/models/PaginatedProductChildRelationResourceResponse.ts +90 -0
- package/src/models/PaginatedProductChildResourceResponse.ts +90 -0
- package/src/models/PaginatedProductLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductResourceResponse.ts +90 -0
- package/src/models/PaginatedProductTypeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductTypeResourceResponse.ts +90 -0
- package/src/models/PaginatedSiteLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedTagLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedTagResourceResponse.ts +90 -0
- package/src/models/ProductChildLiteResource.ts +137 -0
- package/src/models/ProductChildLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildOverlayRelationResource.ts +146 -0
- package/src/models/ProductChildOverlayRelationResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildRelationResource.ts +128 -0
- package/src/models/ProductChildRelationResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildResource.ts +283 -0
- package/src/models/ProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductChildSiteDetailResource.ts +171 -0
- package/src/models/ProductChildSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/ProductLiteResource.ts +75 -0
- package/src/models/ProductLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductResource.ts +162 -0
- package/src/models/ProductResourceArrayResponse.ts +73 -0
- package/src/models/ProductTypeLiteResource.ts +84 -0
- package/src/models/ProductTypeLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductTypeResource.ts +137 -0
- package/src/models/ProductTypeResourceArrayResponse.ts +73 -0
- package/src/models/SEOResourceArrayResponse.ts +73 -0
- package/src/models/SiteConfigResource.ts +3 -2
- package/src/models/SiteConfigResourceArrayResponse.ts +73 -0
- package/src/models/SiteLiteResource.ts +93 -0
- package/src/models/SiteLiteResourceArrayResponse.ts +73 -0
- package/src/models/SiteNotificationResource.ts +6 -4
- package/src/models/SiteNotificationResourceArrayResponse.ts +73 -0
- package/src/models/SitePaymentConfigResourceArrayResponse.ts +73 -0
- package/src/models/SiteResourceArrayResponse.ts +73 -0
- package/src/models/StoreAttributeRequest.ts +113 -0
- package/src/models/StoreAttributeValueRequest.ts +75 -0
- package/src/models/StoreDocumentFileRequest.ts +75 -0
- package/src/models/StoreDocumentRequest.ts +83 -0
- package/src/models/StoreOverlayTemplateAssetRequest.ts +141 -0
- package/src/models/StoreOverlayTemplateRequest.ts +75 -0
- package/src/models/StoreProductChildRequest.ts +235 -0
- package/src/models/StoreProductChildRequestAssetsInner.ts +110 -0
- package/src/models/StoreProductChildRequestAttributeValuesInner.ts +83 -0
- package/src/models/StoreProductChildRequestSitesInner.ts +158 -0
- package/src/models/StoreProductRequest.ts +144 -0
- package/src/models/StoreProductRequestCategoriesInner.ts +75 -0
- package/src/models/StoreProductTypeRequest.ts +66 -0
- package/src/models/StoreSupplierRequest.ts +12 -4
- package/src/models/StoreSupplierRequestSeoInner.ts +106 -0
- package/src/models/StoreTagRequest.ts +144 -0
- package/src/models/SupplierFrontendResourceArrayResponse.ts +73 -0
- package/src/models/SupplierLiteResourceArrayResponse.ts +73 -0
- package/src/models/SupplierResourceArrayResponse.ts +73 -0
- package/src/models/TagLiteResource.ts +75 -0
- package/src/models/TagLiteResourceArrayResponse.ts +73 -0
- package/src/models/TagResource.ts +126 -0
- package/src/models/TagResourceArrayResponse.ts +73 -0
- package/src/models/TagType.ts +53 -0
- package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +85 -0
- package/src/models/UpdateAttributeRequest.ts +113 -0
- package/src/models/UpdateAttributeValueRequest.ts +66 -0
- package/src/models/UpdateFilterOrderAttributeRequest.ts +74 -0
- package/src/models/UpdateFilterOrderAttributeRequestValuesInner.ts +75 -0
- package/src/models/UpdateModelAttributeRequest.ts +73 -0
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +132 -0
- package/src/models/UpdateOverlayTemplateRequest.ts +74 -0
- package/src/models/UpdateProductChildRequest.ts +191 -0
- package/src/models/UpdateProductChildRequestAssetsInner.ts +92 -0
- package/src/models/UpdateProductRequest.ts +144 -0
- package/src/models/UpdateProductTypeRequest.ts +106 -0
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/UpdateSupplierRequest.ts +12 -4
- package/src/models/UpdateTagRequest.ts +135 -0
- package/src/models/index.ts +140 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AssetLiteResource } from './AssetLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
AssetLiteResourceFromJSON,
|
|
19
|
+
AssetLiteResourceFromJSONTyped,
|
|
20
|
+
AssetLiteResourceToJSON,
|
|
21
|
+
AssetLiteResourceToJSONTyped,
|
|
22
|
+
} from './AssetLiteResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AssetLiteResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface AssetLiteResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AssetLiteResource>}
|
|
33
|
+
* @memberof AssetLiteResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<AssetLiteResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AssetLiteResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAssetLiteResourceArrayResponse(value: object): value is AssetLiteResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function AssetLiteResourceArrayResponseFromJSON(json: any): AssetLiteResourceArrayResponse {
|
|
46
|
+
return AssetLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AssetLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetLiteResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(AssetLiteResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function AssetLiteResourceArrayResponseToJSON(json: any): AssetLiteResourceArrayResponse {
|
|
60
|
+
return AssetLiteResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AssetLiteResourceArrayResponseToJSONTyped(value?: AssetLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(AssetLiteResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { OverlayTemplateLiteResource } from './OverlayTemplateLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
OverlayTemplateLiteResourceFromJSON,
|
|
19
|
+
OverlayTemplateLiteResourceFromJSONTyped,
|
|
20
|
+
OverlayTemplateLiteResourceToJSON,
|
|
21
|
+
OverlayTemplateLiteResourceToJSONTyped,
|
|
22
|
+
} from './OverlayTemplateLiteResource';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -43,12 +51,6 @@ export interface AssetResource {
|
|
|
43
51
|
* @memberof AssetResource
|
|
44
52
|
*/
|
|
45
53
|
mimeType: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AssetResource
|
|
50
|
-
*/
|
|
51
|
-
type: string;
|
|
52
54
|
/**
|
|
53
55
|
*
|
|
54
56
|
* @type {string}
|
|
@@ -67,6 +69,24 @@ export interface AssetResource {
|
|
|
67
69
|
* @memberof AssetResource
|
|
68
70
|
*/
|
|
69
71
|
assetFileId: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof AssetResource
|
|
76
|
+
*/
|
|
77
|
+
isThumbnail: boolean;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof AssetResource
|
|
82
|
+
*/
|
|
83
|
+
isLifestyle: boolean;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<OverlayTemplateLiteResource>}
|
|
87
|
+
* @memberof AssetResource
|
|
88
|
+
*/
|
|
89
|
+
overlayTemplates: Array<OverlayTemplateLiteResource> | null;
|
|
70
90
|
}
|
|
71
91
|
|
|
72
92
|
/**
|
|
@@ -77,10 +97,12 @@ export function instanceOfAssetResource(value: object): value is AssetResource {
|
|
|
77
97
|
if (!('filePath' in value) || value['filePath'] === undefined) return false;
|
|
78
98
|
if (!('fileName' in value) || value['fileName'] === undefined) return false;
|
|
79
99
|
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
80
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
81
100
|
if (!('altText' in value) || value['altText'] === undefined) return false;
|
|
82
101
|
if (!('index' in value) || value['index'] === undefined) return false;
|
|
83
102
|
if (!('assetFileId' in value) || value['assetFileId'] === undefined) return false;
|
|
103
|
+
if (!('isThumbnail' in value) || value['isThumbnail'] === undefined) return false;
|
|
104
|
+
if (!('isLifestyle' in value) || value['isLifestyle'] === undefined) return false;
|
|
105
|
+
if (!('overlayTemplates' in value) || value['overlayTemplates'] === undefined) return false;
|
|
84
106
|
return true;
|
|
85
107
|
}
|
|
86
108
|
|
|
@@ -98,10 +120,12 @@ export function AssetResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
98
120
|
'filePath': json['filePath'],
|
|
99
121
|
'fileName': json['fileName'],
|
|
100
122
|
'mimeType': json['mimeType'],
|
|
101
|
-
'type': json['type'],
|
|
102
123
|
'altText': json['altText'],
|
|
103
124
|
'index': json['index'],
|
|
104
125
|
'assetFileId': json['assetFileId'],
|
|
126
|
+
'isThumbnail': json['isThumbnail'],
|
|
127
|
+
'isLifestyle': json['isLifestyle'],
|
|
128
|
+
'overlayTemplates': (json['overlayTemplates'] == null ? null : (json['overlayTemplates'] as Array<any>).map(OverlayTemplateLiteResourceFromJSON)),
|
|
105
129
|
};
|
|
106
130
|
}
|
|
107
131
|
|
|
@@ -120,10 +144,12 @@ export function AssetResourceToJSONTyped(value?: AssetResource | null, ignoreDis
|
|
|
120
144
|
'filePath': value['filePath'],
|
|
121
145
|
'fileName': value['fileName'],
|
|
122
146
|
'mimeType': value['mimeType'],
|
|
123
|
-
'type': value['type'],
|
|
124
147
|
'altText': value['altText'],
|
|
125
148
|
'index': value['index'],
|
|
126
149
|
'assetFileId': value['assetFileId'],
|
|
150
|
+
'isThumbnail': value['isThumbnail'],
|
|
151
|
+
'isLifestyle': value['isLifestyle'],
|
|
152
|
+
'overlayTemplates': (value['overlayTemplates'] == null ? null : (value['overlayTemplates'] as Array<any>).map(OverlayTemplateLiteResourceToJSON)),
|
|
127
153
|
};
|
|
128
154
|
}
|
|
129
155
|
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AssetResource } from './AssetResource';
|
|
17
|
+
import {
|
|
18
|
+
AssetResourceFromJSON,
|
|
19
|
+
AssetResourceFromJSONTyped,
|
|
20
|
+
AssetResourceToJSON,
|
|
21
|
+
AssetResourceToJSONTyped,
|
|
22
|
+
} from './AssetResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AssetResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface AssetResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AssetResource>}
|
|
33
|
+
* @memberof AssetResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<AssetResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AssetResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAssetResourceArrayResponse(value: object): value is AssetResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function AssetResourceArrayResponseFromJSON(json: any): AssetResourceArrayResponse {
|
|
46
|
+
return AssetResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AssetResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(AssetResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function AssetResourceArrayResponseToJSON(json: any): AssetResourceArrayResponse {
|
|
60
|
+
return AssetResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AssetResourceArrayResponseToJSONTyped(value?: AssetResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(AssetResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AttachDocumentablesDocumentRequestDocumentablesInner } from './AttachDocumentablesDocumentRequestDocumentablesInner';
|
|
17
|
+
import {
|
|
18
|
+
AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON,
|
|
19
|
+
AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped,
|
|
20
|
+
AttachDocumentablesDocumentRequestDocumentablesInnerToJSON,
|
|
21
|
+
AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped,
|
|
22
|
+
} from './AttachDocumentablesDocumentRequestDocumentablesInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AttachDocumentablesDocumentRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface AttachDocumentablesDocumentRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AttachDocumentablesDocumentRequestDocumentablesInner>}
|
|
33
|
+
* @memberof AttachDocumentablesDocumentRequest
|
|
34
|
+
*/
|
|
35
|
+
documentables: Array<AttachDocumentablesDocumentRequestDocumentablesInner>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AttachDocumentablesDocumentRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAttachDocumentablesDocumentRequest(value: object): value is AttachDocumentablesDocumentRequest {
|
|
42
|
+
if (!('documentables' in value) || value['documentables'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AttachDocumentablesDocumentRequestFromJSON(json: any): AttachDocumentablesDocumentRequest {
|
|
47
|
+
return AttachDocumentablesDocumentRequestFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AttachDocumentablesDocumentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentablesDocumentRequest {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'documentables': ((json['documentables'] as Array<any>).map(AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AttachDocumentablesDocumentRequestToJSON(json: any): AttachDocumentablesDocumentRequest {
|
|
61
|
+
return AttachDocumentablesDocumentRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AttachDocumentablesDocumentRequestToJSONTyped(value?: AttachDocumentablesDocumentRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'documentables': ((value['documentables'] as Array<any>).map(AttachDocumentablesDocumentRequestDocumentablesInnerToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AttachDocumentablesDocumentRequestDocumentablesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AttachDocumentablesDocumentRequestDocumentablesInner
|
|
26
|
+
*/
|
|
27
|
+
documentableType: AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof AttachDocumentablesDocumentRequestDocumentablesInner
|
|
32
|
+
*/
|
|
33
|
+
documentableId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AttachDocumentablesDocumentRequestDocumentablesInner
|
|
38
|
+
*/
|
|
39
|
+
index?: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
47
|
+
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
48
|
+
AppModelsSupplier: 'App\\Models\\Supplier',
|
|
49
|
+
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
50
|
+
} as const;
|
|
51
|
+
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the AttachDocumentablesDocumentRequestDocumentablesInner interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfAttachDocumentablesDocumentRequestDocumentablesInner(value: object): value is AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
58
|
+
if (!('documentableType' in value) || value['documentableType'] === undefined) return false;
|
|
59
|
+
if (!('documentableId' in value) || value['documentableId'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AttachDocumentablesDocumentRequestDocumentablesInnerFromJSON(json: any): AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
64
|
+
return AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function AttachDocumentablesDocumentRequestDocumentablesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'documentableType': json['documentable_type'],
|
|
74
|
+
'documentableId': json['documentable_id'],
|
|
75
|
+
'index': json['index'] == null ? undefined : json['index'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function AttachDocumentablesDocumentRequestDocumentablesInnerToJSON(json: any): AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
80
|
+
return AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped(value?: AttachDocumentablesDocumentRequestDocumentablesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'documentable_type': value['documentableType'],
|
|
91
|
+
'documentable_id': value['documentableId'],
|
|
92
|
+
'index': value['index'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AttachDocumentsProductChildSiteDetailRequestDocumentsInner } from './AttachDocumentsProductChildSiteDetailRequestDocumentsInner';
|
|
17
|
+
import {
|
|
18
|
+
AttachDocumentsProductChildSiteDetailRequestDocumentsInnerFromJSON,
|
|
19
|
+
AttachDocumentsProductChildSiteDetailRequestDocumentsInnerFromJSONTyped,
|
|
20
|
+
AttachDocumentsProductChildSiteDetailRequestDocumentsInnerToJSON,
|
|
21
|
+
AttachDocumentsProductChildSiteDetailRequestDocumentsInnerToJSONTyped,
|
|
22
|
+
} from './AttachDocumentsProductChildSiteDetailRequestDocumentsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AttachDocumentsProductChildSiteDetailRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface AttachDocumentsProductChildSiteDetailRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AttachDocumentsProductChildSiteDetailRequestDocumentsInner>}
|
|
33
|
+
* @memberof AttachDocumentsProductChildSiteDetailRequest
|
|
34
|
+
*/
|
|
35
|
+
documents: Array<AttachDocumentsProductChildSiteDetailRequestDocumentsInner>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AttachDocumentsProductChildSiteDetailRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAttachDocumentsProductChildSiteDetailRequest(value: object): value is AttachDocumentsProductChildSiteDetailRequest {
|
|
42
|
+
if (!('documents' in value) || value['documents'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AttachDocumentsProductChildSiteDetailRequestFromJSON(json: any): AttachDocumentsProductChildSiteDetailRequest {
|
|
47
|
+
return AttachDocumentsProductChildSiteDetailRequestFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AttachDocumentsProductChildSiteDetailRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentsProductChildSiteDetailRequest {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'documents': ((json['documents'] as Array<any>).map(AttachDocumentsProductChildSiteDetailRequestDocumentsInnerFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AttachDocumentsProductChildSiteDetailRequestToJSON(json: any): AttachDocumentsProductChildSiteDetailRequest {
|
|
61
|
+
return AttachDocumentsProductChildSiteDetailRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AttachDocumentsProductChildSiteDetailRequestToJSONTyped(value?: AttachDocumentsProductChildSiteDetailRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'documents': ((value['documents'] as Array<any>).map(AttachDocumentsProductChildSiteDetailRequestDocumentsInnerToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AttachDocumentsProductChildSiteDetailRequestDocumentsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface AttachDocumentsProductChildSiteDetailRequestDocumentsInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AttachDocumentsProductChildSiteDetailRequestDocumentsInner
|
|
26
|
+
*/
|
|
27
|
+
documentId: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof AttachDocumentsProductChildSiteDetailRequestDocumentsInner
|
|
32
|
+
*/
|
|
33
|
+
index?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the AttachDocumentsProductChildSiteDetailRequestDocumentsInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfAttachDocumentsProductChildSiteDetailRequestDocumentsInner(value: object): value is AttachDocumentsProductChildSiteDetailRequestDocumentsInner {
|
|
40
|
+
if (!('documentId' in value) || value['documentId'] === undefined) return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function AttachDocumentsProductChildSiteDetailRequestDocumentsInnerFromJSON(json: any): AttachDocumentsProductChildSiteDetailRequestDocumentsInner {
|
|
45
|
+
return AttachDocumentsProductChildSiteDetailRequestDocumentsInnerFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function AttachDocumentsProductChildSiteDetailRequestDocumentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachDocumentsProductChildSiteDetailRequestDocumentsInner {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
|
|
54
|
+
'documentId': json['document_id'],
|
|
55
|
+
'index': json['index'] == null ? undefined : json['index'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function AttachDocumentsProductChildSiteDetailRequestDocumentsInnerToJSON(json: any): AttachDocumentsProductChildSiteDetailRequestDocumentsInner {
|
|
60
|
+
return AttachDocumentsProductChildSiteDetailRequestDocumentsInnerToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AttachDocumentsProductChildSiteDetailRequestDocumentsInnerToJSONTyped(value?: AttachDocumentsProductChildSiteDetailRequestDocumentsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'document_id': value['documentId'],
|
|
71
|
+
'index': value['index'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const AttributeFieldType = {
|
|
21
|
+
Performance: 'performance',
|
|
22
|
+
Specification: 'specification',
|
|
23
|
+
Dimension: 'dimension',
|
|
24
|
+
Other: 'other'
|
|
25
|
+
} as const;
|
|
26
|
+
export type AttributeFieldType = typeof AttributeFieldType[keyof typeof AttributeFieldType];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfAttributeFieldType(value: any): boolean {
|
|
30
|
+
for (const key in AttributeFieldType) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(AttributeFieldType, key)) {
|
|
32
|
+
if (AttributeFieldType[key as keyof typeof AttributeFieldType] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function AttributeFieldTypeFromJSON(json: any): AttributeFieldType {
|
|
41
|
+
return AttributeFieldTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function AttributeFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeFieldType {
|
|
45
|
+
return json as AttributeFieldType;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function AttributeFieldTypeToJSON(value?: AttributeFieldType | null): any {
|
|
49
|
+
return value as any;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AttributeFieldTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeFieldType {
|
|
53
|
+
return value as AttributeFieldType;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AttributeLiteResource
|
|
20
|
+
*/
|
|
21
|
+
export interface AttributeLiteResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AttributeLiteResource
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AttributeLiteResource
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the AttributeLiteResource interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfAttributeLiteResource(value: object): value is AttributeLiteResource {
|
|
40
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function AttributeLiteResourceFromJSON(json: any): AttributeLiteResource {
|
|
46
|
+
return AttributeLiteResourceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AttributeLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeLiteResource {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AttributeLiteResourceToJSON(json: any): AttributeLiteResource {
|
|
61
|
+
return AttributeLiteResourceToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AttributeLiteResourceToJSONTyped(value?: AttributeLiteResource | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'name': value['name'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|