@digital8/lighting-illusions-ts-sdk 0.0.1567 → 0.0.1569
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 +2 -172
- package/README.md +4 -122
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/ProductApi.js +1 -1
- package/dist/apis/SupplierApi.d.ts +1 -33
- package/dist/apis/SupplierApi.js +0 -122
- package/dist/apis/index.d.ts +0 -3
- package/dist/apis/index.js +0 -3
- package/dist/models/AssetLiteResource.d.ts +0 -12
- package/dist/models/AssetLiteResource.js +0 -6
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +1 -2
- package/dist/models/GetAllDocumentRequest.js +1 -2
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +1 -2
- package/dist/models/IndexDocumentRequest.js +1 -2
- package/dist/models/IndexProductChildRequest.d.ts +0 -2
- package/dist/models/IndexProductChildRequest.js +0 -2
- package/dist/models/LabelResource.d.ts +4 -23
- package/dist/models/LabelResource.js +8 -19
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/ProductSearchResultResource.d.ts +0 -6
- package/dist/models/ProductSearchResultResource.js +0 -4
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -2
- package/dist/models/StoreAssetForAssetableRequest.js +1 -3
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/index.d.ts +1 -83
- package/dist/models/index.js +1 -83
- package/docs/AssetLiteResource.md +0 -4
- package/docs/AttributeApi.md +0 -66
- package/docs/LabelResource.md +6 -12
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/ProductApi.md +1 -1
- package/docs/ProductSearchResultResource.md +0 -2
- package/docs/SupplierApi.md +0 -138
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/ProductApi.ts +1 -1
- package/src/apis/SupplierApi.ts +0 -112
- package/src/apis/index.ts +0 -3
- package/src/models/AssetLiteResource.ts +0 -17
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +1 -2
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +1 -2
- package/src/models/IndexProductChildRequest.ts +0 -2
- package/src/models/LabelResource.ts +12 -46
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/ProductSearchResultResource.ts +0 -9
- package/src/models/StoreAssetForAssetableRequest.ts +1 -3
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/index.ts +1 -83
- package/dist/apis/LabelApi.d.ts +0 -109
- package/dist/apis/LabelApi.js +0 -433
- package/dist/apis/ProductRangeApi.d.ts +0 -269
- package/dist/apis/ProductRangeApi.js +0 -1043
- package/dist/apis/StoreApi.d.ts +0 -190
- package/dist/apis/StoreApi.js +0 -744
- package/dist/models/AddressFrontendResource.d.ts +0 -74
- package/dist/models/AddressFrontendResource.js +0 -75
- package/dist/models/AddressFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressFrontendResourceArrayResponse.js +0 -50
- package/dist/models/AddressResource.d.ts +0 -80
- package/dist/models/AddressResource.js +0 -77
- package/dist/models/AddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressResourceArrayResponse.js +0 -50
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
- package/dist/models/AttachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/AttachStoresSupplierRequest.js +0 -51
- package/dist/models/AttachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/AttachSuppliersStoreRequest.js +0 -51
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
- package/dist/models/DetachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/DetachStoresSupplierRequest.js +0 -51
- package/dist/models/DetachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/DetachSuppliersStoreRequest.js +0 -51
- package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
- package/dist/models/GetAllProductRangeRequest.js +0 -82
- package/dist/models/GetAllStoreRequest.d.ts +0 -93
- package/dist/models/GetAllStoreRequest.js +0 -81
- package/dist/models/IndexLabelRequest.d.ts +0 -109
- package/dist/models/IndexLabelRequest.js +0 -92
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/IndexProductRangeRequest.js +0 -86
- package/dist/models/IndexStoreRequest.d.ts +0 -105
- package/dist/models/IndexStoreRequest.js +0 -85
- package/dist/models/LabelListResource.d.ts +0 -75
- package/dist/models/LabelListResource.js +0 -74
- package/dist/models/LabelListResourceArrayResponse.d.ts +0 -33
- package/dist/models/LabelListResourceArrayResponse.js +0 -50
- package/dist/models/LabelLiteResource.d.ts +0 -56
- package/dist/models/LabelLiteResource.js +0 -65
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/LabelLiteResourceArrayResponse.js +0 -50
- package/dist/models/ModelAttributeFrontendResource.d.ts +0 -38
- package/dist/models/ModelAttributeFrontendResource.js +0 -55
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ModelAttributeListResource.d.ts +0 -64
- package/dist/models/ModelAttributeListResource.js +0 -71
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedLabelListResourceResponse.js +0 -57
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +0 -57
- package/dist/models/PaginatedStoreListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedStoreListResourceResponse.js +0 -57
- package/dist/models/ProductRangeAggregationResource.d.ts +0 -44
- package/dist/models/ProductRangeAggregationResource.js +0 -59
- package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeAggregationResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -124
- package/dist/models/ProductRangeFrontendResource.js +0 -111
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -66
- package/dist/models/ProductRangeListResource.js +0 -75
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeLiteResource.d.ts +0 -38
- package/dist/models/ProductRangeLiteResource.js +0 -55
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeResource.d.ts +0 -89
- package/dist/models/ProductRangeResource.js +0 -86
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResource.d.ts +0 -47
- package/dist/models/ProductRangeSearchResponseResource.js +0 -62
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.js +0 -63
- package/dist/models/ProductRangeSearchResultResource.d.ts +0 -80
- package/dist/models/ProductRangeSearchResultResource.js +0 -83
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
- package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
- package/dist/models/ProductRangeSiteDetailResource.js +0 -98
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSortBy.d.ts +0 -27
- package/dist/models/ProductRangeSortBy.js +0 -53
- package/dist/models/StoreFrontendResource.d.ts +0 -98
- package/dist/models/StoreFrontendResource.js +0 -87
- package/dist/models/StoreFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreFrontendResourceArrayResponse.js +0 -50
- package/dist/models/StoreLabelRequest.d.ts +0 -74
- package/dist/models/StoreLabelRequest.js +0 -71
- package/dist/models/StoreListResource.d.ts +0 -81
- package/dist/models/StoreListResource.js +0 -80
- package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreListResourceArrayResponse.js +0 -50
- package/dist/models/StoreLiteResource.d.ts +0 -45
- package/dist/models/StoreLiteResource.js +0 -58
- package/dist/models/StoreLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreLiteResourceArrayResponse.js +0 -50
- package/dist/models/StoreProductRangeRequest.d.ts +0 -52
- package/dist/models/StoreProductRangeRequest.js +0 -59
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
- package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
- package/dist/models/StoreResource.d.ts +0 -102
- package/dist/models/StoreResource.js +0 -95
- package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +0 -68
- package/dist/models/StoreSpecialDateFrontendResource.js +0 -71
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateResource.d.ts +0 -68
- package/dist/models/StoreSpecialDateResource.js +0 -73
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +0 -50
- package/dist/models/StoreStoreRequest.d.ts +0 -94
- package/dist/models/StoreStoreRequest.js +0 -85
- package/dist/models/StoreStoreRequestAddress.d.ts +0 -68
- package/dist/models/StoreStoreRequestAddress.js +0 -73
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +0 -62
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -61
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -62
- package/dist/models/StoreStoreSpecialDateRequest.js +0 -61
- package/dist/models/UpdateLabelRequest.d.ts +0 -74
- package/dist/models/UpdateLabelRequest.js +0 -63
- package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
- package/dist/models/UpdateProductRangeRequest.js +0 -62
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
- package/dist/models/UpdateStoreRequest.d.ts +0 -94
- package/dist/models/UpdateStoreRequest.js +0 -85
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +0 -56
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +0 -57
- package/docs/AddressFrontendResource.md +0 -48
- package/docs/AddressFrontendResourceArrayResponse.md +0 -34
- package/docs/AddressResource.md +0 -50
- package/docs/AddressResourceArrayResponse.md +0 -34
- package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
- package/docs/AttachDocumentsProductRangeRequest.md +0 -34
- package/docs/AttachStoresSupplierRequest.md +0 -34
- package/docs/AttachSuppliersStoreRequest.md +0 -34
- package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
- package/docs/DetachAttributesProductRangeRequest.md +0 -34
- package/docs/DetachDocumentsProductRangeRequest.md +0 -34
- package/docs/DetachStoresSupplierRequest.md +0 -34
- package/docs/DetachSuppliersStoreRequest.md +0 -34
- package/docs/GetAllProductRangeRequest.md +0 -50
- package/docs/GetAllStoreRequest.md +0 -48
- package/docs/IndexLabelRequest.md +0 -50
- package/docs/IndexModelAttributeRequest.md +0 -54
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/IndexStoreRequest.md +0 -52
- package/docs/LabelApi.md +0 -407
- package/docs/LabelListResource.md +0 -48
- package/docs/LabelListResourceArrayResponse.md +0 -34
- package/docs/LabelLiteResource.md +0 -42
- package/docs/LabelLiteResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeFrontendResource.md +0 -36
- package/docs/ModelAttributeFrontendResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedLabelListResourceResponse.md +0 -36
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/PaginatedStoreListResourceResponse.md +0 -36
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResource.md +0 -44
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -64
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResource.md +0 -36
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResource.md +0 -38
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
- package/docs/ProductRangeSearchResultResource.md +0 -50
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailLiteResource.md +0 -38
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSortBy.md +0 -32
- package/docs/StoreApi.md +0 -755
- package/docs/StoreFrontendResource.md +0 -56
- package/docs/StoreFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreLabelRequest.md +0 -48
- package/docs/StoreListResource.md +0 -50
- package/docs/StoreListResourceArrayResponse.md +0 -34
- package/docs/StoreLiteResource.md +0 -38
- package/docs/StoreLiteResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequest.md +0 -40
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/StoreResource.md +0 -56
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateFrontendResource.md +0 -46
- package/docs/StoreSpecialDateFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateResource.md +0 -46
- package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
- package/docs/StoreStoreRequest.md +0 -54
- package/docs/StoreStoreRequestAddress.md +0 -46
- package/docs/StoreStoreRequestSpecialDatesInner.md +0 -44
- package/docs/StoreStoreSpecialDateRequest.md +0 -44
- package/docs/UpdateLabelRequest.md +0 -48
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/docs/UpdateStoreRequest.md +0 -54
- package/docs/UpdateStoreRequestSpecialDatesInner.md +0 -42
- package/src/apis/LabelApi.ts +0 -328
- package/src/apis/ProductRangeApi.ts +0 -888
- package/src/apis/StoreApi.ts +0 -625
- package/src/models/AddressFrontendResource.ts +0 -127
- package/src/models/AddressFrontendResourceArrayResponse.ts +0 -73
- package/src/models/AddressResource.ts +0 -135
- package/src/models/AddressResourceArrayResponse.ts +0 -73
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
- package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
- package/src/models/AttachStoresSupplierRequest.ts +0 -66
- package/src/models/AttachSuppliersStoreRequest.ts +0 -66
- package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
- package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
- package/src/models/DetachStoresSupplierRequest.ts +0 -66
- package/src/models/DetachSuppliersStoreRequest.ts +0 -66
- package/src/models/GetAllProductRangeRequest.ts +0 -151
- package/src/models/GetAllStoreRequest.ts +0 -144
- package/src/models/IndexLabelRequest.ts +0 -163
- package/src/models/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/IndexStoreRequest.ts +0 -160
- package/src/models/LabelListResource.ts +0 -134
- package/src/models/LabelListResourceArrayResponse.ts +0 -73
- package/src/models/LabelLiteResource.ts +0 -101
- package/src/models/LabelLiteResourceArrayResponse.ts +0 -73
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ModelAttributeListResource.ts +0 -125
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedLabelListResourceResponse.ts +0 -90
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +0 -90
- package/src/models/PaginatedStoreListResourceResponse.ts +0 -90
- package/src/models/ProductRangeAggregationResource.ts +0 -84
- package/src/models/ProductRangeAggregationResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -215
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -140
- package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeLiteResource.ts +0 -75
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeResource.ts +0 -167
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResource.ts +0 -106
- package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResourceMeta.ts +0 -93
- package/src/models/ProductRangeSearchResultResource.ts +0 -138
- package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -187
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSortBy.ts +0 -55
- package/src/models/StoreFrontendResource.ts +0 -161
- package/src/models/StoreFrontendResourceArrayResponse.ts +0 -73
- package/src/models/StoreLabelRequest.ts +0 -125
- package/src/models/StoreListResource.ts +0 -144
- package/src/models/StoreListResourceArrayResponse.ts +0 -73
- package/src/models/StoreLiteResource.ts +0 -91
- package/src/models/StoreLiteResourceArrayResponse.ts +0 -73
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/StoreResource.ts +0 -192
- package/src/models/StoreResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateFrontendResource.ts +0 -118
- package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateResource.ts +0 -119
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
- package/src/models/StoreStoreRequest.ts +0 -167
- package/src/models/StoreStoreRequestAddress.ts +0 -119
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -106
- package/src/models/StoreStoreSpecialDateRequest.ts +0 -106
- package/src/models/UpdateLabelRequest.ts +0 -121
- package/src/models/UpdateProductRangeRequest.ts +0 -120
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
- package/src/models/UpdateStoreRequest.ts +0 -167
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +0 -97
|
@@ -21,12 +21,6 @@ export interface AssetLiteResource {
|
|
|
21
21
|
* @memberof AssetLiteResource
|
|
22
22
|
*/
|
|
23
23
|
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AssetLiteResource
|
|
28
|
-
*/
|
|
29
|
-
fileId?: string | null;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
@@ -39,12 +33,6 @@ export interface AssetLiteResource {
|
|
|
39
33
|
* @memberof AssetLiteResource
|
|
40
34
|
*/
|
|
41
35
|
fileName: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AssetLiteResource
|
|
46
|
-
*/
|
|
47
|
-
mimeType: string;
|
|
48
36
|
/**
|
|
49
37
|
*
|
|
50
38
|
* @type {string}
|
|
@@ -28,8 +28,6 @@ function instanceOfAssetLiteResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
32
|
-
return false;
|
|
33
31
|
if (!('altText' in value) || value['altText'] === undefined)
|
|
34
32
|
return false;
|
|
35
33
|
return true;
|
|
@@ -43,10 +41,8 @@ function AssetLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
41
|
}
|
|
44
42
|
return {
|
|
45
43
|
'id': json['id'],
|
|
46
|
-
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
47
44
|
'filePath': json['filePath'],
|
|
48
45
|
'fileName': json['fileName'],
|
|
49
|
-
'mimeType': json['mimeType'],
|
|
50
46
|
'altText': json['altText'],
|
|
51
47
|
};
|
|
52
48
|
}
|
|
@@ -60,10 +56,8 @@ function AssetLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
56
|
}
|
|
61
57
|
return {
|
|
62
58
|
'id': value['id'],
|
|
63
|
-
'fileId': value['fileId'],
|
|
64
59
|
'filePath': value['filePath'],
|
|
65
60
|
'fileName': value['fileName'],
|
|
66
|
-
'mimeType': value['mimeType'],
|
|
67
61
|
'altText': value['altText'],
|
|
68
62
|
};
|
|
69
63
|
}
|
|
@@ -39,8 +39,7 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
39
39
|
*/
|
|
40
40
|
export declare const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
|
|
41
41
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
42
|
-
readonly
|
|
43
|
-
readonly AppModelsProductRangesProductRangeSiteDetail: "App\\Models\\ProductRanges\\ProductRangeSiteDetail";
|
|
42
|
+
readonly AppModelsProductRangeSite: "App\\Models\\ProductRangeSite";
|
|
44
43
|
};
|
|
45
44
|
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
46
45
|
/**
|
|
@@ -24,8 +24,7 @@ exports.AttachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = Attach
|
|
|
24
24
|
*/
|
|
25
25
|
exports.AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
26
26
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
-
|
|
28
|
-
AppModelsProductRangesProductRangeSiteDetail: 'App\\Models\\ProductRanges\\ProductRangeSiteDetail'
|
|
27
|
+
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
29
28
|
};
|
|
30
29
|
/**
|
|
31
30
|
* Check if a given object implements the AttachDocumentablesDocumentRequestDocumentablesInner interface.
|
|
@@ -33,8 +33,7 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum: {
|
|
35
35
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
36
|
-
readonly
|
|
37
|
-
readonly AppModelsProductRangesProductRangeSiteDetail: "App\\Models\\ProductRanges\\ProductRangeSiteDetail";
|
|
36
|
+
readonly AppModelsProductRangeSite: "App\\Models\\ProductRangeSite";
|
|
38
37
|
};
|
|
39
38
|
export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
40
39
|
/**
|
|
@@ -24,8 +24,7 @@ exports.DetachDocumentablesDocumentRequestDocumentablesInnerToJSONTyped = Detach
|
|
|
24
24
|
*/
|
|
25
25
|
exports.DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
26
26
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
-
|
|
28
|
-
AppModelsProductRangesProductRangeSiteDetail: 'App\\Models\\ProductRanges\\ProductRangeSiteDetail'
|
|
27
|
+
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
29
28
|
};
|
|
30
29
|
/**
|
|
31
30
|
* Check if a given object implements the DetachDocumentablesDocumentRequestDocumentablesInner interface.
|
|
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -81,8 +81,7 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
|
|
|
81
81
|
*/
|
|
82
82
|
export declare const GetAllDocumentRequestRelatedTypeEnum: {
|
|
83
83
|
readonly ProductChild: "productChild";
|
|
84
|
-
readonly
|
|
85
|
-
readonly ProductRangeSiteDetail: "productRangeSiteDetail";
|
|
84
|
+
readonly ProductRangeSite: "productRangeSite";
|
|
86
85
|
};
|
|
87
86
|
export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
|
|
88
87
|
/**
|
|
@@ -40,8 +40,7 @@ exports.GetAllDocumentRequestSortDirectionEnum = {
|
|
|
40
40
|
*/
|
|
41
41
|
exports.GetAllDocumentRequestRelatedTypeEnum = {
|
|
42
42
|
ProductChild: 'productChild',
|
|
43
|
-
|
|
44
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail'
|
|
43
|
+
ProductRangeSite: 'productRangeSite'
|
|
45
44
|
};
|
|
46
45
|
/**
|
|
47
46
|
* Check if a given object implements the GetAllDocumentRequest interface.
|
|
@@ -155,7 +155,6 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
|
|
|
155
155
|
*/
|
|
156
156
|
export declare const GetAllProductChildRequestRelatedTypeEnum: {
|
|
157
157
|
readonly OverlayTemplate: "overlayTemplate";
|
|
158
|
-
readonly ProductRange: "productRange";
|
|
159
158
|
readonly Supplier: "supplier";
|
|
160
159
|
readonly Tag: "tag";
|
|
161
160
|
readonly Document: "document";
|
|
@@ -106,8 +106,6 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
|
|
|
106
106
|
*/
|
|
107
107
|
export declare const IndexAttributeRequestRelatedTypeEnum: {
|
|
108
108
|
readonly ProductType: "productType";
|
|
109
|
-
readonly ProductRange: "productRange";
|
|
110
|
-
readonly Category: "category";
|
|
111
109
|
};
|
|
112
110
|
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
113
111
|
/**
|
|
@@ -40,9 +40,7 @@ exports.IndexAttributeRequestSortDirectionEnum = {
|
|
|
40
40
|
* @export
|
|
41
41
|
*/
|
|
42
42
|
exports.IndexAttributeRequestRelatedTypeEnum = {
|
|
43
|
-
ProductType: 'productType'
|
|
44
|
-
ProductRange: 'productRange',
|
|
45
|
-
Category: 'category'
|
|
43
|
+
ProductType: 'productType'
|
|
46
44
|
};
|
|
47
45
|
/**
|
|
48
46
|
* Check if a given object implements the IndexAttributeRequest interface.
|
|
@@ -93,8 +93,7 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
|
|
|
93
93
|
*/
|
|
94
94
|
export declare const IndexDocumentRequestRelatedTypeEnum: {
|
|
95
95
|
readonly ProductChild: "productChild";
|
|
96
|
-
readonly
|
|
97
|
-
readonly ProductRangeSiteDetail: "productRangeSiteDetail";
|
|
96
|
+
readonly ProductRangeSite: "productRangeSite";
|
|
98
97
|
};
|
|
99
98
|
export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
|
|
100
99
|
/**
|
|
@@ -40,8 +40,7 @@ exports.IndexDocumentRequestSortDirectionEnum = {
|
|
|
40
40
|
*/
|
|
41
41
|
exports.IndexDocumentRequestRelatedTypeEnum = {
|
|
42
42
|
ProductChild: 'productChild',
|
|
43
|
-
|
|
44
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail'
|
|
43
|
+
ProductRangeSite: 'productRangeSite'
|
|
45
44
|
};
|
|
46
45
|
/**
|
|
47
46
|
* Check if a given object implements the IndexDocumentRequest interface.
|
|
@@ -175,10 +175,8 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
175
175
|
readonly Document: "document";
|
|
176
176
|
readonly OverlayTemplate: "overlayTemplate";
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
|
-
readonly ProductRange: "productRange";
|
|
179
178
|
readonly Supplier: "supplier";
|
|
180
179
|
readonly Tag: "tag";
|
|
181
|
-
readonly Label: "label";
|
|
182
180
|
readonly Site: "site";
|
|
183
181
|
};
|
|
184
182
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
@@ -56,10 +56,8 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
|
|
|
56
56
|
Document: 'document',
|
|
57
57
|
OverlayTemplate: 'overlayTemplate',
|
|
58
58
|
ProductType: 'productType',
|
|
59
|
-
ProductRange: 'productRange',
|
|
60
59
|
Supplier: 'supplier',
|
|
61
60
|
Tag: 'tag',
|
|
62
|
-
Label: 'label',
|
|
63
61
|
Site: 'site'
|
|
64
62
|
};
|
|
65
63
|
/**
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -36,40 +35,22 @@ export interface LabelResource {
|
|
|
36
35
|
longName: string;
|
|
37
36
|
/**
|
|
38
37
|
*
|
|
39
|
-
* @type {
|
|
40
|
-
* @memberof LabelResource
|
|
41
|
-
*/
|
|
42
|
-
site: SiteLiteResource | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof LabelResource
|
|
47
|
-
*/
|
|
48
|
-
cartButtonText: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof LabelResource
|
|
53
|
-
*/
|
|
54
|
-
colour: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
38
|
+
* @type {number}
|
|
58
39
|
* @memberof LabelResource
|
|
59
40
|
*/
|
|
60
|
-
|
|
41
|
+
siteId: number;
|
|
61
42
|
/**
|
|
62
43
|
*
|
|
63
44
|
* @type {string}
|
|
64
45
|
* @memberof LabelResource
|
|
65
46
|
*/
|
|
66
|
-
|
|
47
|
+
color: string;
|
|
67
48
|
/**
|
|
68
49
|
*
|
|
69
50
|
* @type {string}
|
|
70
51
|
* @memberof LabelResource
|
|
71
52
|
*/
|
|
72
|
-
|
|
53
|
+
textColor?: string | null;
|
|
73
54
|
}
|
|
74
55
|
/**
|
|
75
56
|
* Check if a given object implements the LabelResource interface.
|
|
@@ -18,7 +18,6 @@ exports.LabelResourceFromJSON = LabelResourceFromJSON;
|
|
|
18
18
|
exports.LabelResourceFromJSONTyped = LabelResourceFromJSONTyped;
|
|
19
19
|
exports.LabelResourceToJSON = LabelResourceToJSON;
|
|
20
20
|
exports.LabelResourceToJSONTyped = LabelResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the LabelResource interface.
|
|
24
23
|
*/
|
|
@@ -27,13 +26,9 @@ function instanceOfLabelResource(value) {
|
|
|
27
26
|
return false;
|
|
28
27
|
if (!('longName' in value) || value['longName'] === undefined)
|
|
29
28
|
return false;
|
|
30
|
-
if (!('
|
|
29
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
31
30
|
return false;
|
|
32
|
-
if (!('
|
|
33
|
-
return false;
|
|
34
|
-
if (!('colour' in value) || value['colour'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('textColour' in value) || value['textColour'] === undefined)
|
|
31
|
+
if (!('color' in value) || value['color'] === undefined)
|
|
37
32
|
return false;
|
|
38
33
|
return true;
|
|
39
34
|
}
|
|
@@ -48,12 +43,9 @@ function LabelResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
43
|
'id': json['id'] == null ? undefined : json['id'],
|
|
49
44
|
'shortName': json['shortName'],
|
|
50
45
|
'longName': json['longName'],
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'textColour': json['textColour'],
|
|
55
|
-
'startDate': json['startDate'] == null ? undefined : json['startDate'],
|
|
56
|
-
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
46
|
+
'siteId': json['siteId'],
|
|
47
|
+
'color': json['color'],
|
|
48
|
+
'textColor': json['textColor'] == null ? undefined : json['textColor'],
|
|
57
49
|
};
|
|
58
50
|
}
|
|
59
51
|
function LabelResourceToJSON(json) {
|
|
@@ -68,11 +60,8 @@ function LabelResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
60
|
'id': value['id'],
|
|
69
61
|
'shortName': value['shortName'],
|
|
70
62
|
'longName': value['longName'],
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'textColour': value['textColour'],
|
|
75
|
-
'startDate': value['startDate'],
|
|
76
|
-
'endDate': value['endDate'],
|
|
63
|
+
'siteId': value['siteId'],
|
|
64
|
+
'color': value['color'],
|
|
65
|
+
'textColor': value['textColor'],
|
|
77
66
|
};
|
|
78
67
|
}
|
|
@@ -43,7 +43,6 @@ function ModelAttributeResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
45
|
'id': json['id'],
|
|
46
|
-
'order': json['order'] == null ? undefined : json['order'],
|
|
47
46
|
'value': json['value'],
|
|
48
47
|
'attribute': (0, AttributeLiteResource_1.AttributeLiteResourceFromJSON)(json['attribute']),
|
|
49
48
|
'attributeValues': (json['attributeValues'] == null ? null : json['attributeValues'].map(AttributeValueResource_1.AttributeValueResourceFromJSON)),
|
|
@@ -59,7 +58,6 @@ function ModelAttributeResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
59
58
|
}
|
|
60
59
|
return {
|
|
61
60
|
'id': value['id'],
|
|
62
|
-
'order': value['order'],
|
|
63
61
|
'value': value['value'],
|
|
64
62
|
'attribute': (0, AttributeLiteResource_1.AttributeLiteResourceToJSON)(value['attribute']),
|
|
65
63
|
'attributeValues': (value['attributeValues'] == null ? null : value['attributeValues'].map(AttributeValueResource_1.AttributeValueResourceToJSON)),
|
|
@@ -28,8 +28,6 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('model' in value) || value['model'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('barcode' in value) || value['barcode'] === undefined)
|
|
32
|
-
return false;
|
|
33
31
|
if (!('name' in value) || value['name'] === undefined)
|
|
34
32
|
return false;
|
|
35
33
|
if (!('slug' in value) || value['slug'] === undefined)
|
|
@@ -69,7 +67,6 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
67
|
'id': json['id'],
|
|
70
68
|
'sku': json['sku'],
|
|
71
69
|
'model': json['model'],
|
|
72
|
-
'barcode': json['barcode'],
|
|
73
70
|
'name': json['name'],
|
|
74
71
|
'slug': json['slug'],
|
|
75
72
|
'price': json['price'],
|
|
@@ -98,7 +95,6 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
98
95
|
'id': value['id'],
|
|
99
96
|
'sku': value['sku'],
|
|
100
97
|
'model': value['model'],
|
|
101
|
-
'barcode': value['barcode'],
|
|
102
98
|
'name': value['name'],
|
|
103
99
|
'slug': value['slug'],
|
|
104
100
|
'price': value['price'],
|
|
@@ -69,9 +69,7 @@ export interface StoreAssetForAssetableRequest {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const StoreAssetForAssetableRequestAssetableTypeEnum: {
|
|
71
71
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
72
|
-
readonly AppModelsProductRangesProductRange: "App\\Models\\ProductRanges\\ProductRange";
|
|
73
72
|
readonly ProductChild: "productChild";
|
|
74
|
-
readonly ProductRange: "productRange";
|
|
75
73
|
};
|
|
76
74
|
export type StoreAssetForAssetableRequestAssetableTypeEnum = typeof StoreAssetForAssetableRequestAssetableTypeEnum[keyof typeof StoreAssetForAssetableRequestAssetableTypeEnum];
|
|
77
75
|
/**
|
|
@@ -24,9 +24,7 @@ exports.StoreAssetForAssetableRequestToJSONTyped = StoreAssetForAssetableRequest
|
|
|
24
24
|
*/
|
|
25
25
|
exports.StoreAssetForAssetableRequestAssetableTypeEnum = {
|
|
26
26
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
-
|
|
28
|
-
ProductChild: 'productChild',
|
|
29
|
-
ProductRange: 'productRange'
|
|
27
|
+
ProductChild: 'productChild'
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Check if a given object implements the StoreAssetForAssetableRequest interface.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { UpdateProductTypeRequestPerformanceValuesInner } from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,28 +24,28 @@ export interface UpdateProductTypeRequest {
|
|
|
24
24
|
name: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
28
28
|
* @memberof UpdateProductTypeRequest
|
|
29
29
|
*/
|
|
30
|
-
performanceValues?: Array<
|
|
30
|
+
performanceValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
34
34
|
* @memberof UpdateProductTypeRequest
|
|
35
35
|
*/
|
|
36
|
-
dimensionValues?: Array<
|
|
36
|
+
dimensionValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {Array<
|
|
39
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
40
40
|
* @memberof UpdateProductTypeRequest
|
|
41
41
|
*/
|
|
42
|
-
specificationValues?: Array<
|
|
42
|
+
specificationValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {Array<
|
|
45
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
46
46
|
* @memberof UpdateProductTypeRequest
|
|
47
47
|
*/
|
|
48
|
-
otherValues?: Array<
|
|
48
|
+
otherValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Check if a given object implements the UpdateProductTypeRequest interface.
|
|
@@ -18,7 +18,7 @@ exports.UpdateProductTypeRequestFromJSON = UpdateProductTypeRequestFromJSON;
|
|
|
18
18
|
exports.UpdateProductTypeRequestFromJSONTyped = UpdateProductTypeRequestFromJSONTyped;
|
|
19
19
|
exports.UpdateProductTypeRequestToJSON = UpdateProductTypeRequestToJSON;
|
|
20
20
|
exports.UpdateProductTypeRequestToJSONTyped = UpdateProductTypeRequestToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var UpdateProductTypeRequestPerformanceValuesInner_1 = require("./UpdateProductTypeRequestPerformanceValuesInner");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the UpdateProductTypeRequest interface.
|
|
24
24
|
*/
|
|
@@ -36,10 +36,10 @@ function UpdateProductTypeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
38
|
'name': json['name'],
|
|
39
|
-
'performanceValues': json['performance_values'] == null ? undefined : (json['performance_values'].map(
|
|
40
|
-
'dimensionValues': json['dimension_values'] == null ? undefined : (json['dimension_values'].map(
|
|
41
|
-
'specificationValues': json['specification_values'] == null ? undefined : (json['specification_values'].map(
|
|
42
|
-
'otherValues': json['other_values'] == null ? undefined : (json['other_values'].map(
|
|
39
|
+
'performanceValues': json['performance_values'] == null ? undefined : (json['performance_values'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
40
|
+
'dimensionValues': json['dimension_values'] == null ? undefined : (json['dimension_values'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
41
|
+
'specificationValues': json['specification_values'] == null ? undefined : (json['specification_values'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
42
|
+
'otherValues': json['other_values'] == null ? undefined : (json['other_values'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
function UpdateProductTypeRequestToJSON(json) {
|
|
@@ -52,9 +52,9 @@ function UpdateProductTypeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
54
|
'name': value['name'],
|
|
55
|
-
'performance_values': value['performanceValues'] == null ? undefined : (value['performanceValues'].map(
|
|
56
|
-
'dimension_values': value['dimensionValues'] == null ? undefined : (value['dimensionValues'].map(
|
|
57
|
-
'specification_values': value['specificationValues'] == null ? undefined : (value['specificationValues'].map(
|
|
58
|
-
'other_values': value['otherValues'] == null ? undefined : (value['otherValues'].map(
|
|
55
|
+
'performance_values': value['performanceValues'] == null ? undefined : (value['performanceValues'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
56
|
+
'dimension_values': value['dimensionValues'] == null ? undefined : (value['dimensionValues'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
57
|
+
'specification_values': value['specificationValues'] == null ? undefined : (value['specificationValues'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
58
|
+
'other_values': value['otherValues'] == null ? undefined : (value['otherValues'].map(UpdateProductTypeRequestPerformanceValuesInner_1.UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateProductTypeRequestPerformanceValuesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateProductTypeRequestPerformanceValuesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateProductTypeRequestPerformanceValuesInner
|
|
22
|
+
*/
|
|
23
|
+
attributeId?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UpdateProductTypeRequestPerformanceValuesInner
|
|
28
|
+
*/
|
|
29
|
+
order?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateProductTypeRequestPerformanceValuesInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateProductTypeRequestPerformanceValuesInner(value: object): value is UpdateProductTypeRequestPerformanceValuesInner;
|
|
35
|
+
export declare function UpdateProductTypeRequestPerformanceValuesInnerFromJSON(json: any): UpdateProductTypeRequestPerformanceValuesInner;
|
|
36
|
+
export declare function UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductTypeRequestPerformanceValuesInner;
|
|
37
|
+
export declare function UpdateProductTypeRequestPerformanceValuesInnerToJSON(json: any): UpdateProductTypeRequestPerformanceValuesInner;
|
|
38
|
+
export declare function UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(value?: UpdateProductTypeRequestPerformanceValuesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdateProductTypeRequestPerformanceValuesInner = instanceOfUpdateProductTypeRequestPerformanceValuesInner;
|
|
17
|
+
exports.UpdateProductTypeRequestPerformanceValuesInnerFromJSON = UpdateProductTypeRequestPerformanceValuesInnerFromJSON;
|
|
18
|
+
exports.UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped = UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped;
|
|
19
|
+
exports.UpdateProductTypeRequestPerformanceValuesInnerToJSON = UpdateProductTypeRequestPerformanceValuesInnerToJSON;
|
|
20
|
+
exports.UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped = UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateProductTypeRequestPerformanceValuesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateProductTypeRequestPerformanceValuesInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateProductTypeRequestPerformanceValuesInnerFromJSON(json) {
|
|
28
|
+
return UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
36
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UpdateProductTypeRequestPerformanceValuesInnerToJSON(json) {
|
|
40
|
+
return UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'attribute_id': value['attributeId'],
|
|
49
|
+
'order': value['order'],
|
|
50
|
+
};
|
|
51
|
+
}
|