@digital8/lighting-illusions-ts-sdk 0.0.1539 → 0.0.1540
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 +208 -2
- package/README.md +144 -4
- package/dist/apis/AttributeApi.d.ts +16 -1
- package/dist/apis/AttributeApi.js +58 -0
- package/dist/apis/LabelApi.d.ts +109 -0
- package/dist/apis/LabelApi.js +433 -0
- package/dist/apis/ProductApi.js +1 -1
- package/dist/apis/ProductRangeApi.d.ts +269 -0
- package/dist/apis/ProductRangeApi.js +1043 -0
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/StoreApi.d.ts +190 -0
- package/dist/apis/StoreApi.js +744 -0
- package/dist/apis/SupplierApi.d.ts +33 -1
- package/dist/apis/SupplierApi.js +122 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/models/AddressFrontendResource.d.ts +74 -0
- package/dist/models/AddressFrontendResource.js +77 -0
- package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
- package/dist/models/AddressResource.d.ts +80 -0
- package/dist/models/AddressResource.js +79 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/AssetLiteResource.d.ts +12 -0
- package/dist/models/AssetLiteResource.js +6 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
- package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/AttachStoresSupplierRequest.js +51 -0
- package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/AttachSuppliersStoreRequest.js +51 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
- package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/DetachStoresSupplierRequest.js +51 -0
- package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/DetachSuppliersStoreRequest.js +51 -0
- package/dist/models/GetAllDocumentRequest.d.ts +2 -1
- package/dist/models/GetAllDocumentRequest.js +2 -1
- package/dist/models/GetAllProductChildRequest.d.ts +1 -0
- package/dist/models/GetAllProductChildRequest.js +1 -0
- package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
- package/dist/models/GetAllProductRangeRequest.js +82 -0
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/GetAllStoreRequest.d.ts +93 -0
- package/dist/models/GetAllStoreRequest.js +81 -0
- package/dist/models/IndexAttributeRequest.d.ts +2 -0
- package/dist/models/IndexAttributeRequest.js +3 -1
- package/dist/models/IndexDocumentRequest.d.ts +2 -1
- package/dist/models/IndexDocumentRequest.js +2 -1
- package/dist/models/IndexLabelRequest.d.ts +109 -0
- package/dist/models/IndexLabelRequest.js +92 -0
- package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
- package/dist/models/IndexModelAttributeRequest.js +93 -0
- package/dist/models/IndexProductChildRequest.d.ts +3 -0
- package/dist/models/IndexProductChildRequest.js +3 -0
- package/dist/models/IndexProductRangeRequest.d.ts +110 -0
- package/dist/models/IndexProductRangeRequest.js +86 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/IndexStoreRequest.d.ts +105 -0
- package/dist/models/IndexStoreRequest.js +85 -0
- package/dist/models/LabelListResource.d.ts +75 -0
- package/dist/models/LabelListResource.js +74 -0
- package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelListResourceArrayResponse.js +50 -0
- package/dist/models/LabelLiteResource.d.ts +56 -0
- package/dist/models/LabelLiteResource.js +65 -0
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
- package/dist/models/LabelResource.d.ts +23 -4
- package/dist/models/LabelResource.js +19 -8
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/ModelAttributeListResource.d.ts +64 -0
- package/dist/models/ModelAttributeListResource.js +71 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
- package/dist/models/ModelAttributeResource.d.ts +6 -0
- package/dist/models/ModelAttributeResource.js +2 -0
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -0
- package/dist/models/ProductRangeAggregationResource.d.ts +44 -0
- package/dist/models/ProductRangeAggregationResource.js +59 -0
- package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeAggregationResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
- package/dist/models/ProductRangeFrontendListResource.js +71 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +117 -0
- package/dist/models/ProductRangeFrontendResource.js +106 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeListResource.d.ts +66 -0
- package/dist/models/ProductRangeListResource.js +75 -0
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeLiteResource.d.ts +38 -0
- package/dist/models/ProductRangeLiteResource.js +55 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeResource.d.ts +89 -0
- package/dist/models/ProductRangeResource.js +86 -0
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSearchResponseResource.d.ts +47 -0
- package/dist/models/ProductRangeSearchResponseResource.js +62 -0
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +50 -0
- package/dist/models/ProductRangeSearchResponseResourceMeta.js +63 -0
- package/dist/models/ProductRangeSearchResultResource.d.ts +80 -0
- package/dist/models/ProductRangeSearchResultResource.js +83 -0
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +44 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.js +59 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailResource.d.ts +101 -0
- package/dist/models/ProductRangeSiteDetailResource.js +98 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSortBy.d.ts +27 -0
- package/dist/models/ProductRangeSortBy.js +53 -0
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
- package/dist/models/StoreAssetForAssetableRequest.js +3 -1
- package/dist/models/StoreFrontendResource.d.ts +98 -0
- package/dist/models/StoreFrontendResource.js +89 -0
- package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreLabelRequest.d.ts +74 -0
- package/dist/models/StoreLabelRequest.js +71 -0
- package/dist/models/StoreListResource.d.ts +81 -0
- package/dist/models/StoreListResource.js +80 -0
- package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreListResourceArrayResponse.js +50 -0
- package/dist/models/StoreLiteResource.d.ts +45 -0
- package/dist/models/StoreLiteResource.js +58 -0
- package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
- package/dist/models/StoreProductRangeRequest.d.ts +52 -0
- package/dist/models/StoreProductRangeRequest.js +59 -0
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
- package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
- package/dist/models/StoreResource.d.ts +102 -0
- package/dist/models/StoreResource.js +95 -0
- package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +68 -0
- package/dist/models/StoreSpecialDateFrontendResource.js +73 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateResource.d.ts +68 -0
- package/dist/models/StoreSpecialDateResource.js +73 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
- package/dist/models/StoreStoreRequest.d.ts +94 -0
- package/dist/models/StoreStoreRequest.js +85 -0
- package/dist/models/StoreStoreRequestAddress.d.ts +68 -0
- package/dist/models/StoreStoreRequestAddress.js +73 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +62 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +61 -0
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +62 -0
- package/dist/models/StoreStoreSpecialDateRequest.js +61 -0
- package/dist/models/UpdateLabelRequest.d.ts +74 -0
- package/dist/models/UpdateLabelRequest.js +63 -0
- package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
- package/dist/models/UpdateProductRangeRequest.js +62 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateStoreRequest.d.ts +94 -0
- package/dist/models/UpdateStoreRequest.js +85 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/index.d.ts +100 -1
- package/dist/models/index.js +100 -1
- package/docs/AddressFrontendResource.md +48 -0
- package/docs/AddressFrontendResourceArrayResponse.md +34 -0
- package/docs/AddressResource.md +50 -0
- package/docs/AddressResourceArrayResponse.md +34 -0
- package/docs/AssetLiteResource.md +4 -0
- package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
- package/docs/AttachDocumentsProductRangeRequest.md +34 -0
- package/docs/AttachStoresSupplierRequest.md +34 -0
- package/docs/AttachSuppliersStoreRequest.md +34 -0
- package/docs/AttributeApi.md +66 -0
- package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
- package/docs/DetachAttributesProductRangeRequest.md +34 -0
- package/docs/DetachDocumentsProductRangeRequest.md +34 -0
- package/docs/DetachStoresSupplierRequest.md +34 -0
- package/docs/DetachSuppliersStoreRequest.md +34 -0
- package/docs/GetAllProductRangeRequest.md +50 -0
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GetAllStoreRequest.md +48 -0
- package/docs/IndexLabelRequest.md +50 -0
- package/docs/IndexModelAttributeRequest.md +54 -0
- package/docs/IndexProductRangeRequest.md +54 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/IndexStoreRequest.md +52 -0
- package/docs/LabelApi.md +407 -0
- package/docs/LabelListResource.md +48 -0
- package/docs/LabelListResourceArrayResponse.md +34 -0
- package/docs/LabelLiteResource.md +42 -0
- package/docs/LabelLiteResourceArrayResponse.md +34 -0
- package/docs/LabelResource.md +12 -6
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/ModelAttributeListResource.md +44 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
- package/docs/ModelAttributeResource.md +2 -0
- package/docs/PaginatedLabelListResourceResponse.md +36 -0
- package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationResourceResponse.md +36 -0
- package/docs/PaginatedStoreListResourceResponse.md +36 -0
- package/docs/ProductApi.md +1 -1
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRangeAggregationResource.md +38 -0
- package/docs/ProductRangeAggregationResourceArrayResponse.md +34 -0
- package/docs/ProductRangeApi.md +1097 -0
- package/docs/ProductRangeFrontendListResource.md +44 -0
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeFrontendResource.md +62 -0
- package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductRangeListResource.md +44 -0
- package/docs/ProductRangeListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeLiteResource.md +36 -0
- package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeResource.md +52 -0
- package/docs/ProductRangeResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSearchResponseResource.md +38 -0
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSearchResponseResourceMeta.md +40 -0
- package/docs/ProductRangeSearchResultResource.md +50 -0
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailResource.md +56 -0
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSortBy.md +32 -0
- package/docs/ProductRegistrationApi.md +344 -0
- package/docs/ProductRegistrationAssetResource.md +38 -0
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationAssetType.md +32 -0
- package/docs/ProductRegistrationCustomerResource.md +44 -0
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationLiteResource.md +36 -0
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationProductChildResource.md +40 -0
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/ProductRegistrationResourceArrayResponse.md +34 -0
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/StoreApi.md +755 -0
- package/docs/StoreFrontendResource.md +56 -0
- package/docs/StoreFrontendResourceArrayResponse.md +34 -0
- package/docs/StoreLabelRequest.md +48 -0
- package/docs/StoreListResource.md +50 -0
- package/docs/StoreListResourceArrayResponse.md +34 -0
- package/docs/StoreLiteResource.md +38 -0
- package/docs/StoreLiteResourceArrayResponse.md +34 -0
- package/docs/StoreProductRangeRequest.md +40 -0
- package/docs/StoreProductRangeRequestSitesInner.md +54 -0
- package/docs/StoreResource.md +56 -0
- package/docs/StoreResourceArrayResponse.md +34 -0
- package/docs/StoreSpecialDateFrontendResource.md +46 -0
- package/docs/StoreSpecialDateFrontendResourceArrayResponse.md +34 -0
- package/docs/StoreSpecialDateResource.md +46 -0
- package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
- package/docs/StoreStoreRequest.md +54 -0
- package/docs/StoreStoreRequestAddress.md +46 -0
- package/docs/StoreStoreRequestSpecialDatesInner.md +44 -0
- package/docs/StoreStoreSpecialDateRequest.md +44 -0
- package/docs/SupplierApi.md +138 -0
- package/docs/UpdateLabelRequest.md +48 -0
- package/docs/UpdateProductRangeRequest.md +42 -0
- package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/UpdateStoreRequest.md +54 -0
- package/docs/UpdateStoreRequestSpecialDatesInner.md +42 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +50 -0
- package/src/apis/LabelApi.ts +328 -0
- package/src/apis/ProductApi.ts +1 -1
- package/src/apis/ProductRangeApi.ts +888 -0
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/StoreApi.ts +625 -0
- package/src/apis/SupplierApi.ts +112 -0
- package/src/apis/index.ts +4 -0
- package/src/models/AddressFrontendResource.ts +128 -0
- package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
- package/src/models/AddressResource.ts +136 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/AssetLiteResource.ts +17 -0
- package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
- package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
- package/src/models/AttachStoresSupplierRequest.ts +66 -0
- package/src/models/AttachSuppliersStoreRequest.ts +66 -0
- package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
- package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
- package/src/models/DetachStoresSupplierRequest.ts +66 -0
- package/src/models/DetachSuppliersStoreRequest.ts +66 -0
- package/src/models/GetAllDocumentRequest.ts +2 -1
- package/src/models/GetAllProductChildRequest.ts +1 -0
- package/src/models/GetAllProductRangeRequest.ts +151 -0
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/GetAllStoreRequest.ts +144 -0
- package/src/models/IndexAttributeRequest.ts +3 -1
- package/src/models/IndexDocumentRequest.ts +2 -1
- package/src/models/IndexLabelRequest.ts +163 -0
- package/src/models/IndexModelAttributeRequest.ts +176 -0
- package/src/models/IndexProductChildRequest.ts +3 -0
- package/src/models/IndexProductRangeRequest.ts +167 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/IndexStoreRequest.ts +160 -0
- package/src/models/LabelListResource.ts +134 -0
- package/src/models/LabelListResourceArrayResponse.ts +73 -0
- package/src/models/LabelLiteResource.ts +101 -0
- package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
- package/src/models/LabelResource.ts +46 -12
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/ModelAttributeListResource.ts +125 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
- package/src/models/ModelAttributeResource.ts +8 -0
- package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +8 -0
- package/src/models/ProductRangeAggregationResource.ts +84 -0
- package/src/models/ProductRangeAggregationResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendListResource.ts +111 -0
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +199 -0
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeListResource.ts +140 -0
- package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeLiteResource.ts +75 -0
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeResource.ts +167 -0
- package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSearchResponseResource.ts +106 -0
- package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSearchResponseResourceMeta.ts +93 -0
- package/src/models/ProductRangeSearchResultResource.ts +138 -0
- package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailResource.ts +187 -0
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSortBy.ts +55 -0
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +9 -0
- package/src/models/StoreAssetForAssetableRequest.ts +3 -1
- package/src/models/StoreFrontendResource.ts +162 -0
- package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreLabelRequest.ts +125 -0
- package/src/models/StoreListResource.ts +144 -0
- package/src/models/StoreListResourceArrayResponse.ts +73 -0
- package/src/models/StoreLiteResource.ts +91 -0
- package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
- package/src/models/StoreResource.ts +192 -0
- package/src/models/StoreResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateFrontendResource.ts +119 -0
- package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateResource.ts +119 -0
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
- package/src/models/StoreStoreRequest.ts +167 -0
- package/src/models/StoreStoreRequestAddress.ts +119 -0
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +106 -0
- package/src/models/StoreStoreSpecialDateRequest.ts +106 -0
- package/src/models/UpdateLabelRequest.ts +121 -0
- package/src/models/UpdateProductRangeRequest.ts +120 -0
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateStoreRequest.ts +167 -0
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
- package/src/models/index.ts +100 -1
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
|
@@ -0,0 +1,106 @@
|
|
|
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 StoreStoreRequestSpecialDatesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface StoreStoreRequestSpecialDatesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof StoreStoreRequestSpecialDatesInner
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof StoreStoreRequestSpecialDatesInner
|
|
32
|
+
*/
|
|
33
|
+
hours?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof StoreStoreRequestSpecialDatesInner
|
|
38
|
+
*/
|
|
39
|
+
date?: Date;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof StoreStoreRequestSpecialDatesInner
|
|
44
|
+
*/
|
|
45
|
+
closed?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof StoreStoreRequestSpecialDatesInner
|
|
50
|
+
*/
|
|
51
|
+
displayStartDate?: Date;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof StoreStoreRequestSpecialDatesInner
|
|
56
|
+
*/
|
|
57
|
+
displayEndDate?: Date;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the StoreStoreRequestSpecialDatesInner interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfStoreStoreRequestSpecialDatesInner(value: object): value is StoreStoreRequestSpecialDatesInner {
|
|
64
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function StoreStoreRequestSpecialDatesInnerFromJSON(json: any): StoreStoreRequestSpecialDatesInner {
|
|
69
|
+
return StoreStoreRequestSpecialDatesInnerFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function StoreStoreRequestSpecialDatesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStoreRequestSpecialDatesInner {
|
|
73
|
+
if (json == null) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'name': json['name'],
|
|
79
|
+
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
80
|
+
'date': json['date'] == null ? undefined : (new Date(json['date'])),
|
|
81
|
+
'closed': json['closed'] == null ? undefined : json['closed'],
|
|
82
|
+
'displayStartDate': json['display_start_date'] == null ? undefined : (new Date(json['display_start_date'])),
|
|
83
|
+
'displayEndDate': json['display_end_date'] == null ? undefined : (new Date(json['display_end_date'])),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function StoreStoreRequestSpecialDatesInnerToJSON(json: any): StoreStoreRequestSpecialDatesInner {
|
|
88
|
+
return StoreStoreRequestSpecialDatesInnerToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function StoreStoreRequestSpecialDatesInnerToJSONTyped(value?: StoreStoreRequestSpecialDatesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'name': value['name'],
|
|
99
|
+
'hours': value['hours'],
|
|
100
|
+
'date': value['date'] == null ? value['date'] : value['date'].toISOString(),
|
|
101
|
+
'closed': value['closed'],
|
|
102
|
+
'display_start_date': value['displayStartDate'] == null ? value['displayStartDate'] : value['displayStartDate'].toISOString(),
|
|
103
|
+
'display_end_date': value['displayEndDate'] == null ? value['displayEndDate'] : value['displayEndDate'].toISOString(),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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 StoreStoreSpecialDateRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface StoreStoreSpecialDateRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof StoreStoreSpecialDateRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof StoreStoreSpecialDateRequest
|
|
32
|
+
*/
|
|
33
|
+
hours?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof StoreStoreSpecialDateRequest
|
|
38
|
+
*/
|
|
39
|
+
date?: Date;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof StoreStoreSpecialDateRequest
|
|
44
|
+
*/
|
|
45
|
+
closed?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof StoreStoreSpecialDateRequest
|
|
50
|
+
*/
|
|
51
|
+
displayStartDate?: Date;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof StoreStoreSpecialDateRequest
|
|
56
|
+
*/
|
|
57
|
+
displayEndDate?: Date;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the StoreStoreSpecialDateRequest interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfStoreStoreSpecialDateRequest(value: object): value is StoreStoreSpecialDateRequest {
|
|
64
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function StoreStoreSpecialDateRequestFromJSON(json: any): StoreStoreSpecialDateRequest {
|
|
69
|
+
return StoreStoreSpecialDateRequestFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function StoreStoreSpecialDateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStoreSpecialDateRequest {
|
|
73
|
+
if (json == null) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'name': json['name'],
|
|
79
|
+
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
80
|
+
'date': json['date'] == null ? undefined : (new Date(json['date'])),
|
|
81
|
+
'closed': json['closed'] == null ? undefined : json['closed'],
|
|
82
|
+
'displayStartDate': json['display_start_date'] == null ? undefined : (new Date(json['display_start_date'])),
|
|
83
|
+
'displayEndDate': json['display_end_date'] == null ? undefined : (new Date(json['display_end_date'])),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function StoreStoreSpecialDateRequestToJSON(json: any): StoreStoreSpecialDateRequest {
|
|
88
|
+
return StoreStoreSpecialDateRequestToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function StoreStoreSpecialDateRequestToJSONTyped(value?: StoreStoreSpecialDateRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'name': value['name'],
|
|
99
|
+
'hours': value['hours'],
|
|
100
|
+
'date': value['date'] == null ? value['date'] : value['date'].toISOString(),
|
|
101
|
+
'closed': value['closed'],
|
|
102
|
+
'display_start_date': value['displayStartDate'] == null ? value['displayStartDate'] : value['displayStartDate'].toISOString(),
|
|
103
|
+
'display_end_date': value['displayEndDate'] == null ? value['displayEndDate'] : value['displayEndDate'].toISOString(),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
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 UpdateLabelRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateLabelRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateLabelRequest
|
|
26
|
+
*/
|
|
27
|
+
siteId?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateLabelRequest
|
|
32
|
+
*/
|
|
33
|
+
shortName?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateLabelRequest
|
|
38
|
+
*/
|
|
39
|
+
longName?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateLabelRequest
|
|
44
|
+
*/
|
|
45
|
+
cartButtonText?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateLabelRequest
|
|
50
|
+
*/
|
|
51
|
+
colour?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UpdateLabelRequest
|
|
56
|
+
*/
|
|
57
|
+
textColour?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof UpdateLabelRequest
|
|
62
|
+
*/
|
|
63
|
+
startDate?: Date;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof UpdateLabelRequest
|
|
68
|
+
*/
|
|
69
|
+
endDate?: Date;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the UpdateLabelRequest interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfUpdateLabelRequest(value: object): value is UpdateLabelRequest {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function UpdateLabelRequestFromJSON(json: any): UpdateLabelRequest {
|
|
80
|
+
return UpdateLabelRequestFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function UpdateLabelRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLabelRequest {
|
|
84
|
+
if (json == null) {
|
|
85
|
+
return json;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
90
|
+
'shortName': json['short_name'] == null ? undefined : json['short_name'],
|
|
91
|
+
'longName': json['long_name'] == null ? undefined : json['long_name'],
|
|
92
|
+
'cartButtonText': json['cart_button_text'] == null ? undefined : json['cart_button_text'],
|
|
93
|
+
'colour': json['colour'] == null ? undefined : json['colour'],
|
|
94
|
+
'textColour': json['text_colour'] == null ? undefined : json['text_colour'],
|
|
95
|
+
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
96
|
+
'endDate': json['end_date'] == null ? undefined : (new Date(json['end_date'])),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function UpdateLabelRequestToJSON(json: any): UpdateLabelRequest {
|
|
101
|
+
return UpdateLabelRequestToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function UpdateLabelRequestToJSONTyped(value?: UpdateLabelRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'site_id': value['siteId'],
|
|
112
|
+
'short_name': value['shortName'],
|
|
113
|
+
'long_name': value['longName'],
|
|
114
|
+
'cart_button_text': value['cartButtonText'],
|
|
115
|
+
'colour': value['colour'],
|
|
116
|
+
'text_colour': value['textColour'],
|
|
117
|
+
'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
|
|
118
|
+
'end_date': value['endDate'] == null ? value['endDate'] : value['endDate'].toISOString(),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { UpdateProductChildRequestAssetsInner } from './UpdateProductChildRequestAssetsInner';
|
|
17
|
+
import {
|
|
18
|
+
UpdateProductChildRequestAssetsInnerFromJSON,
|
|
19
|
+
UpdateProductChildRequestAssetsInnerFromJSONTyped,
|
|
20
|
+
UpdateProductChildRequestAssetsInnerToJSON,
|
|
21
|
+
UpdateProductChildRequestAssetsInnerToJSONTyped,
|
|
22
|
+
} from './UpdateProductChildRequestAssetsInner';
|
|
23
|
+
import type { StoreProductRangeRequestSitesInner } from './StoreProductRangeRequestSitesInner';
|
|
24
|
+
import {
|
|
25
|
+
StoreProductRangeRequestSitesInnerFromJSON,
|
|
26
|
+
StoreProductRangeRequestSitesInnerFromJSONTyped,
|
|
27
|
+
StoreProductRangeRequestSitesInnerToJSON,
|
|
28
|
+
StoreProductRangeRequestSitesInnerToJSONTyped,
|
|
29
|
+
} from './StoreProductRangeRequestSitesInner';
|
|
30
|
+
import type { UpdateProductRangeRequestAttributesInner } from './UpdateProductRangeRequestAttributesInner';
|
|
31
|
+
import {
|
|
32
|
+
UpdateProductRangeRequestAttributesInnerFromJSON,
|
|
33
|
+
UpdateProductRangeRequestAttributesInnerFromJSONTyped,
|
|
34
|
+
UpdateProductRangeRequestAttributesInnerToJSON,
|
|
35
|
+
UpdateProductRangeRequestAttributesInnerToJSONTyped,
|
|
36
|
+
} from './UpdateProductRangeRequestAttributesInner';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface UpdateProductRangeRequest
|
|
42
|
+
*/
|
|
43
|
+
export interface UpdateProductRangeRequest {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof UpdateProductRangeRequest
|
|
48
|
+
*/
|
|
49
|
+
name: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof UpdateProductRangeRequest
|
|
54
|
+
*/
|
|
55
|
+
supplierId?: number;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
59
|
+
* @memberof UpdateProductRangeRequest
|
|
60
|
+
*/
|
|
61
|
+
attributes?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<StoreProductRangeRequestSitesInner>}
|
|
65
|
+
* @memberof UpdateProductRangeRequest
|
|
66
|
+
*/
|
|
67
|
+
sites?: Array<StoreProductRangeRequestSitesInner>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Array<UpdateProductChildRequestAssetsInner>}
|
|
71
|
+
* @memberof UpdateProductRangeRequest
|
|
72
|
+
*/
|
|
73
|
+
assets?: Array<UpdateProductChildRequestAssetsInner>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the UpdateProductRangeRequest interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfUpdateProductRangeRequest(value: object): value is UpdateProductRangeRequest {
|
|
80
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function UpdateProductRangeRequestFromJSON(json: any): UpdateProductRangeRequest {
|
|
85
|
+
return UpdateProductRangeRequestFromJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function UpdateProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequest {
|
|
89
|
+
if (json == null) {
|
|
90
|
+
return json;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'name': json['name'],
|
|
95
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
96
|
+
'attributes': json['attributes'] == null ? undefined : ((json['attributes'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
97
|
+
'sites': json['sites'] == null ? undefined : ((json['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerFromJSON)),
|
|
98
|
+
'assets': json['assets'] == null ? undefined : ((json['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerFromJSON)),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function UpdateProductRangeRequestToJSON(json: any): UpdateProductRangeRequest {
|
|
103
|
+
return UpdateProductRangeRequestToJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function UpdateProductRangeRequestToJSONTyped(value?: UpdateProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
107
|
+
if (value == null) {
|
|
108
|
+
return value;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return {
|
|
112
|
+
|
|
113
|
+
'name': value['name'],
|
|
114
|
+
'supplier_id': value['supplierId'],
|
|
115
|
+
'attributes': value['attributes'] == null ? undefined : ((value['attributes'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
116
|
+
'sites': value['sites'] == null ? undefined : ((value['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerToJSON)),
|
|
117
|
+
'assets': value['assets'] == null ? undefined : ((value['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerToJSON)),
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateProductRangeRequestAttributesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateProductRangeRequestAttributesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateProductRangeRequestAttributesInner
|
|
26
|
+
*/
|
|
27
|
+
attributeId?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdateProductRangeRequestAttributesInner
|
|
32
|
+
*/
|
|
33
|
+
order?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateProductRangeRequestAttributesInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateProductRangeRequestAttributesInner(value: object): value is UpdateProductRangeRequestAttributesInner {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function UpdateProductRangeRequestAttributesInnerFromJSON(json: any): UpdateProductRangeRequestAttributesInner {
|
|
44
|
+
return UpdateProductRangeRequestAttributesInnerFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function UpdateProductRangeRequestAttributesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequestAttributesInner {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
54
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function UpdateProductRangeRequestAttributesInnerToJSON(json: any): UpdateProductRangeRequestAttributesInner {
|
|
59
|
+
return UpdateProductRangeRequestAttributesInnerToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function UpdateProductRangeRequestAttributesInnerToJSONTyped(value?: UpdateProductRangeRequestAttributesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'attribute_id': value['attributeId'],
|
|
70
|
+
'order': value['order'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { UpdateProductRangeRequestAttributesInner } from './UpdateProductRangeRequestAttributesInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
UpdateProductRangeRequestAttributesInnerFromJSON,
|
|
19
|
+
UpdateProductRangeRequestAttributesInnerFromJSONTyped,
|
|
20
|
+
UpdateProductRangeRequestAttributesInnerToJSON,
|
|
21
|
+
UpdateProductRangeRequestAttributesInnerToJSONTyped,
|
|
22
|
+
} from './UpdateProductRangeRequestAttributesInner';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -35,28 +35,28 @@ export interface UpdateProductTypeRequest {
|
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
39
39
|
* @memberof UpdateProductTypeRequest
|
|
40
40
|
*/
|
|
41
|
-
performanceValues?: Array<
|
|
41
|
+
performanceValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {Array<
|
|
44
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
45
45
|
* @memberof UpdateProductTypeRequest
|
|
46
46
|
*/
|
|
47
|
-
dimensionValues?: Array<
|
|
47
|
+
dimensionValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {Array<
|
|
50
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
51
51
|
* @memberof UpdateProductTypeRequest
|
|
52
52
|
*/
|
|
53
|
-
specificationValues?: Array<
|
|
53
|
+
specificationValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {Array<
|
|
56
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
57
57
|
* @memberof UpdateProductTypeRequest
|
|
58
58
|
*/
|
|
59
|
-
otherValues?: Array<
|
|
59
|
+
otherValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -78,10 +78,10 @@ export function UpdateProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
78
78
|
return {
|
|
79
79
|
|
|
80
80
|
'name': json['name'],
|
|
81
|
-
'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(
|
|
82
|
-
'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(
|
|
83
|
-
'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(
|
|
84
|
-
'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(
|
|
81
|
+
'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
82
|
+
'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
83
|
+
'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
84
|
+
'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -97,10 +97,10 @@ export function UpdateProductTypeRequestToJSONTyped(value?: UpdateProductTypeReq
|
|
|
97
97
|
return {
|
|
98
98
|
|
|
99
99
|
'name': value['name'],
|
|
100
|
-
'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(
|
|
101
|
-
'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(
|
|
102
|
-
'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(
|
|
103
|
-
'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(
|
|
100
|
+
'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
101
|
+
'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
102
|
+
'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
103
|
+
'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|