@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
package/docs/SupplierApi.md
CHANGED
|
@@ -4,9 +4,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
| [**attachStoresSupplier**](SupplierApi.md#attachstoressupplieroperation) | **POST** /admin-api/supplier/{supplier}/attach-stores | Auto-generated: attachStoresSupplier |
|
|
8
7
|
| [**destroySupplier**](SupplierApi.md#destroysupplier) | **DELETE** /admin-api/supplier/{supplier}/delete | Auto-generated: destroySupplier |
|
|
9
|
-
| [**detachStoresSupplier**](SupplierApi.md#detachstoressupplieroperation) | **POST** /admin-api/supplier/{supplier}/detach-stores | Auto-generated: detachStoresSupplier |
|
|
10
8
|
| [**exportSupplier**](SupplierApi.md#exportsupplier) | **POST** /admin-api/supplier/export | Auto-generated: exportSupplier |
|
|
11
9
|
| [**getAllSupplier**](SupplierApi.md#getallsupplieroperation) | **POST** /admin-api/supplier/all | Auto-generated: getAllSupplier |
|
|
12
10
|
| [**importSupplier**](SupplierApi.md#importsupplier) | **POST** /admin-api/supplier/import | Auto-generated: importSupplier |
|
|
@@ -17,74 +15,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
17
15
|
|
|
18
16
|
|
|
19
17
|
|
|
20
|
-
## attachStoresSupplier
|
|
21
|
-
|
|
22
|
-
> SupplierResource attachStoresSupplier(supplier, attachStoresSupplierRequest)
|
|
23
|
-
|
|
24
|
-
Auto-generated: attachStoresSupplier
|
|
25
|
-
|
|
26
|
-
### Example
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
import {
|
|
30
|
-
Configuration,
|
|
31
|
-
SupplierApi,
|
|
32
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
33
|
-
import type { AttachStoresSupplierOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
34
|
-
|
|
35
|
-
async function example() {
|
|
36
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
37
|
-
const api = new SupplierApi();
|
|
38
|
-
|
|
39
|
-
const body = {
|
|
40
|
-
// number | The id of the supplier
|
|
41
|
-
supplier: 56,
|
|
42
|
-
// AttachStoresSupplierRequest (optional)
|
|
43
|
-
attachStoresSupplierRequest: ...,
|
|
44
|
-
} satisfies AttachStoresSupplierOperationRequest;
|
|
45
|
-
|
|
46
|
-
try {
|
|
47
|
-
const data = await api.attachStoresSupplier(body);
|
|
48
|
-
console.log(data);
|
|
49
|
-
} catch (error) {
|
|
50
|
-
console.error(error);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Run the test
|
|
55
|
-
example().catch(console.error);
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Parameters
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
| Name | Type | Description | Notes |
|
|
62
|
-
|------------- | ------------- | ------------- | -------------|
|
|
63
|
-
| **supplier** | `number` | The id of the supplier | [Defaults to `undefined`] |
|
|
64
|
-
| **attachStoresSupplierRequest** | [AttachStoresSupplierRequest](AttachStoresSupplierRequest.md) | | [Optional] |
|
|
65
|
-
|
|
66
|
-
### Return type
|
|
67
|
-
|
|
68
|
-
[**SupplierResource**](SupplierResource.md)
|
|
69
|
-
|
|
70
|
-
### Authorization
|
|
71
|
-
|
|
72
|
-
No authorization required
|
|
73
|
-
|
|
74
|
-
### HTTP request headers
|
|
75
|
-
|
|
76
|
-
- **Content-Type**: `application/json`
|
|
77
|
-
- **Accept**: `application/json`
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
### HTTP response details
|
|
81
|
-
| Status code | Description | Response headers |
|
|
82
|
-
|-------------|-------------|------------------|
|
|
83
|
-
| **200** | Successful resource response | - |
|
|
84
|
-
|
|
85
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
86
|
-
|
|
87
|
-
|
|
88
18
|
## destroySupplier
|
|
89
19
|
|
|
90
20
|
> GenericResponse destroySupplier(supplier)
|
|
@@ -150,74 +80,6 @@ No authorization required
|
|
|
150
80
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
151
81
|
|
|
152
82
|
|
|
153
|
-
## detachStoresSupplier
|
|
154
|
-
|
|
155
|
-
> SupplierResource detachStoresSupplier(supplier, detachStoresSupplierRequest)
|
|
156
|
-
|
|
157
|
-
Auto-generated: detachStoresSupplier
|
|
158
|
-
|
|
159
|
-
### Example
|
|
160
|
-
|
|
161
|
-
```ts
|
|
162
|
-
import {
|
|
163
|
-
Configuration,
|
|
164
|
-
SupplierApi,
|
|
165
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
166
|
-
import type { DetachStoresSupplierOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
167
|
-
|
|
168
|
-
async function example() {
|
|
169
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
170
|
-
const api = new SupplierApi();
|
|
171
|
-
|
|
172
|
-
const body = {
|
|
173
|
-
// number | The id of the supplier
|
|
174
|
-
supplier: 56,
|
|
175
|
-
// DetachStoresSupplierRequest (optional)
|
|
176
|
-
detachStoresSupplierRequest: ...,
|
|
177
|
-
} satisfies DetachStoresSupplierOperationRequest;
|
|
178
|
-
|
|
179
|
-
try {
|
|
180
|
-
const data = await api.detachStoresSupplier(body);
|
|
181
|
-
console.log(data);
|
|
182
|
-
} catch (error) {
|
|
183
|
-
console.error(error);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// Run the test
|
|
188
|
-
example().catch(console.error);
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
### Parameters
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
| Name | Type | Description | Notes |
|
|
195
|
-
|------------- | ------------- | ------------- | -------------|
|
|
196
|
-
| **supplier** | `number` | The id of the supplier | [Defaults to `undefined`] |
|
|
197
|
-
| **detachStoresSupplierRequest** | [DetachStoresSupplierRequest](DetachStoresSupplierRequest.md) | | [Optional] |
|
|
198
|
-
|
|
199
|
-
### Return type
|
|
200
|
-
|
|
201
|
-
[**SupplierResource**](SupplierResource.md)
|
|
202
|
-
|
|
203
|
-
### Authorization
|
|
204
|
-
|
|
205
|
-
No authorization required
|
|
206
|
-
|
|
207
|
-
### HTTP request headers
|
|
208
|
-
|
|
209
|
-
- **Content-Type**: `application/json`
|
|
210
|
-
- **Accept**: `application/json`
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
### HTTP response details
|
|
214
|
-
| Status code | Description | Response headers |
|
|
215
|
-
|-------------|-------------|------------------|
|
|
216
|
-
| **200** | Successful resource response | - |
|
|
217
|
-
|
|
218
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
219
|
-
|
|
220
|
-
|
|
221
83
|
## exportSupplier
|
|
222
84
|
|
|
223
85
|
> Blob exportSupplier(indexSupplierRequest)
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`name` | string
|
|
10
|
-
`performanceValues` | [Array<
|
|
11
|
-
`dimensionValues` | [Array<
|
|
12
|
-
`specificationValues` | [Array<
|
|
13
|
-
`otherValues` | [Array<
|
|
10
|
+
`performanceValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
11
|
+
`dimensionValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
12
|
+
`specificationValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
13
|
+
`otherValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# UpdateProductTypeRequestPerformanceValuesInner
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -12,13 +12,13 @@ Name | Type
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import type {
|
|
15
|
+
import type { UpdateProductTypeRequestPerformanceValuesInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
16
|
|
|
17
17
|
// TODO: Update the object below with actual values
|
|
18
18
|
const example = {
|
|
19
19
|
"attributeId": null,
|
|
20
20
|
"order": null,
|
|
21
|
-
} satisfies
|
|
21
|
+
} satisfies UpdateProductTypeRequestPerformanceValuesInner
|
|
22
22
|
|
|
23
23
|
console.log(example)
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
27
27
|
console.log(exampleJSON)
|
|
28
28
|
|
|
29
29
|
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as UpdateProductTypeRequestPerformanceValuesInner
|
|
31
31
|
console.log(exampleParsed)
|
|
32
32
|
```
|
|
33
33
|
|
package/package.json
CHANGED
package/src/apis/AttributeApi.ts
CHANGED
|
@@ -26,11 +26,9 @@ import type {
|
|
|
26
26
|
GetAllAttributeValueRequest,
|
|
27
27
|
IndexAttributeRequest,
|
|
28
28
|
IndexAttributeValueRequest,
|
|
29
|
-
IndexModelAttributeRequest,
|
|
30
29
|
ModelAttributeResourceArrayResponse,
|
|
31
30
|
PaginatedAttributeListResourceResponse,
|
|
32
31
|
PaginatedAttributeValueResourceResponse,
|
|
33
|
-
PaginatedModelAttributeListResourceResponse,
|
|
34
32
|
StoreAttributeRequest,
|
|
35
33
|
StoreAttributeValueRequest,
|
|
36
34
|
UpdateAttributeRequest,
|
|
@@ -61,16 +59,12 @@ import {
|
|
|
61
59
|
IndexAttributeRequestToJSON,
|
|
62
60
|
IndexAttributeValueRequestFromJSON,
|
|
63
61
|
IndexAttributeValueRequestToJSON,
|
|
64
|
-
IndexModelAttributeRequestFromJSON,
|
|
65
|
-
IndexModelAttributeRequestToJSON,
|
|
66
62
|
ModelAttributeResourceArrayResponseFromJSON,
|
|
67
63
|
ModelAttributeResourceArrayResponseToJSON,
|
|
68
64
|
PaginatedAttributeListResourceResponseFromJSON,
|
|
69
65
|
PaginatedAttributeListResourceResponseToJSON,
|
|
70
66
|
PaginatedAttributeValueResourceResponseFromJSON,
|
|
71
67
|
PaginatedAttributeValueResourceResponseToJSON,
|
|
72
|
-
PaginatedModelAttributeListResourceResponseFromJSON,
|
|
73
|
-
PaginatedModelAttributeListResourceResponseToJSON,
|
|
74
68
|
StoreAttributeRequestFromJSON,
|
|
75
69
|
StoreAttributeRequestToJSON,
|
|
76
70
|
StoreAttributeValueRequestFromJSON,
|
|
@@ -120,10 +114,6 @@ export interface IndexAttributeValueOperationRequest {
|
|
|
120
114
|
indexAttributeValueRequest?: IndexAttributeValueRequest;
|
|
121
115
|
}
|
|
122
116
|
|
|
123
|
-
export interface IndexModelAttributeOperationRequest {
|
|
124
|
-
indexModelAttributeRequest?: IndexModelAttributeRequest;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
117
|
export interface ShowAttributeRequest {
|
|
128
118
|
attribute: number;
|
|
129
119
|
}
|
|
@@ -519,46 +509,6 @@ export class AttributeApi extends runtime.BaseAPI {
|
|
|
519
509
|
return await response.value();
|
|
520
510
|
}
|
|
521
511
|
|
|
522
|
-
/**
|
|
523
|
-
* Creates request options for indexModelAttribute without sending the request
|
|
524
|
-
*/
|
|
525
|
-
async indexModelAttributeRequestOpts(requestParameters: IndexModelAttributeOperationRequest): Promise<runtime.RequestOpts> {
|
|
526
|
-
const queryParameters: any = {};
|
|
527
|
-
|
|
528
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
529
|
-
|
|
530
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
let urlPath = `/admin-api/attribute/model-attribute/list`;
|
|
534
|
-
|
|
535
|
-
return {
|
|
536
|
-
path: urlPath,
|
|
537
|
-
method: 'POST',
|
|
538
|
-
headers: headerParameters,
|
|
539
|
-
query: queryParameters,
|
|
540
|
-
body: IndexModelAttributeRequestToJSON(requestParameters['indexModelAttributeRequest']),
|
|
541
|
-
};
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* Auto-generated: indexModelAttribute
|
|
546
|
-
*/
|
|
547
|
-
async indexModelAttributeRaw(requestParameters: IndexModelAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedModelAttributeListResourceResponse>> {
|
|
548
|
-
const requestOptions = await this.indexModelAttributeRequestOpts(requestParameters);
|
|
549
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
550
|
-
|
|
551
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedModelAttributeListResourceResponseFromJSON(jsonValue));
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* Auto-generated: indexModelAttribute
|
|
556
|
-
*/
|
|
557
|
-
async indexModelAttribute(requestParameters: IndexModelAttributeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedModelAttributeListResourceResponse> {
|
|
558
|
-
const response = await this.indexModelAttributeRaw(requestParameters, initOverrides);
|
|
559
|
-
return await response.value();
|
|
560
|
-
}
|
|
561
|
-
|
|
562
512
|
/**
|
|
563
513
|
* Creates request options for showAttribute without sending the request
|
|
564
514
|
*/
|
package/src/apis/ProductApi.ts
CHANGED
|
@@ -860,7 +860,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
860
860
|
|
|
861
861
|
return {
|
|
862
862
|
path: urlPath,
|
|
863
|
-
method: '
|
|
863
|
+
method: 'GET',
|
|
864
864
|
headers: headerParameters,
|
|
865
865
|
query: queryParameters,
|
|
866
866
|
body: ShowAssetsProductChildRequestToJSON(requestParameters['showAssetsProductChildRequest']),
|
package/src/apis/SupplierApi.ts
CHANGED
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
AttachStoresSupplierRequest,
|
|
19
|
-
DetachStoresSupplierRequest,
|
|
20
18
|
GenericResponse,
|
|
21
19
|
GetAllSupplierRequest,
|
|
22
20
|
IndexSupplierRequest,
|
|
@@ -27,10 +25,6 @@ import type {
|
|
|
27
25
|
UpdateSupplierRequest,
|
|
28
26
|
} from '../models/index';
|
|
29
27
|
import {
|
|
30
|
-
AttachStoresSupplierRequestFromJSON,
|
|
31
|
-
AttachStoresSupplierRequestToJSON,
|
|
32
|
-
DetachStoresSupplierRequestFromJSON,
|
|
33
|
-
DetachStoresSupplierRequestToJSON,
|
|
34
28
|
GenericResponseFromJSON,
|
|
35
29
|
GenericResponseToJSON,
|
|
36
30
|
GetAllSupplierRequestFromJSON,
|
|
@@ -49,20 +43,10 @@ import {
|
|
|
49
43
|
UpdateSupplierRequestToJSON,
|
|
50
44
|
} from '../models/index';
|
|
51
45
|
|
|
52
|
-
export interface AttachStoresSupplierOperationRequest {
|
|
53
|
-
supplier: number;
|
|
54
|
-
attachStoresSupplierRequest?: AttachStoresSupplierRequest;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
46
|
export interface DestroySupplierRequest {
|
|
58
47
|
supplier: number;
|
|
59
48
|
}
|
|
60
49
|
|
|
61
|
-
export interface DetachStoresSupplierOperationRequest {
|
|
62
|
-
supplier: number;
|
|
63
|
-
detachStoresSupplierRequest?: DetachStoresSupplierRequest;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
50
|
export interface ExportSupplierRequest {
|
|
67
51
|
indexSupplierRequest?: IndexSupplierRequest;
|
|
68
52
|
}
|
|
@@ -97,54 +81,6 @@ export interface UpdateSupplierOperationRequest {
|
|
|
97
81
|
*/
|
|
98
82
|
export class SupplierApi extends runtime.BaseAPI {
|
|
99
83
|
|
|
100
|
-
/**
|
|
101
|
-
* Creates request options for attachStoresSupplier without sending the request
|
|
102
|
-
*/
|
|
103
|
-
async attachStoresSupplierRequestOpts(requestParameters: AttachStoresSupplierOperationRequest): Promise<runtime.RequestOpts> {
|
|
104
|
-
if (requestParameters['supplier'] == null) {
|
|
105
|
-
throw new runtime.RequiredError(
|
|
106
|
-
'supplier',
|
|
107
|
-
'Required parameter "supplier" was null or undefined when calling attachStoresSupplier().'
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
const queryParameters: any = {};
|
|
112
|
-
|
|
113
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
114
|
-
|
|
115
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
let urlPath = `/admin-api/supplier/{supplier}/attach-stores`;
|
|
119
|
-
urlPath = urlPath.replace(`{${"supplier"}}`, encodeURIComponent(String(requestParameters['supplier'])));
|
|
120
|
-
|
|
121
|
-
return {
|
|
122
|
-
path: urlPath,
|
|
123
|
-
method: 'POST',
|
|
124
|
-
headers: headerParameters,
|
|
125
|
-
query: queryParameters,
|
|
126
|
-
body: AttachStoresSupplierRequestToJSON(requestParameters['attachStoresSupplierRequest']),
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Auto-generated: attachStoresSupplier
|
|
132
|
-
*/
|
|
133
|
-
async attachStoresSupplierRaw(requestParameters: AttachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupplierResource>> {
|
|
134
|
-
const requestOptions = await this.attachStoresSupplierRequestOpts(requestParameters);
|
|
135
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
136
|
-
|
|
137
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => SupplierResourceFromJSON(jsonValue));
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Auto-generated: attachStoresSupplier
|
|
142
|
-
*/
|
|
143
|
-
async attachStoresSupplier(requestParameters: AttachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupplierResource> {
|
|
144
|
-
const response = await this.attachStoresSupplierRaw(requestParameters, initOverrides);
|
|
145
|
-
return await response.value();
|
|
146
|
-
}
|
|
147
|
-
|
|
148
84
|
/**
|
|
149
85
|
* Creates request options for destroySupplier without sending the request
|
|
150
86
|
*/
|
|
@@ -190,54 +126,6 @@ export class SupplierApi extends runtime.BaseAPI {
|
|
|
190
126
|
return await response.value();
|
|
191
127
|
}
|
|
192
128
|
|
|
193
|
-
/**
|
|
194
|
-
* Creates request options for detachStoresSupplier without sending the request
|
|
195
|
-
*/
|
|
196
|
-
async detachStoresSupplierRequestOpts(requestParameters: DetachStoresSupplierOperationRequest): Promise<runtime.RequestOpts> {
|
|
197
|
-
if (requestParameters['supplier'] == null) {
|
|
198
|
-
throw new runtime.RequiredError(
|
|
199
|
-
'supplier',
|
|
200
|
-
'Required parameter "supplier" was null or undefined when calling detachStoresSupplier().'
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
const queryParameters: any = {};
|
|
205
|
-
|
|
206
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
207
|
-
|
|
208
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
let urlPath = `/admin-api/supplier/{supplier}/detach-stores`;
|
|
212
|
-
urlPath = urlPath.replace(`{${"supplier"}}`, encodeURIComponent(String(requestParameters['supplier'])));
|
|
213
|
-
|
|
214
|
-
return {
|
|
215
|
-
path: urlPath,
|
|
216
|
-
method: 'POST',
|
|
217
|
-
headers: headerParameters,
|
|
218
|
-
query: queryParameters,
|
|
219
|
-
body: DetachStoresSupplierRequestToJSON(requestParameters['detachStoresSupplierRequest']),
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Auto-generated: detachStoresSupplier
|
|
225
|
-
*/
|
|
226
|
-
async detachStoresSupplierRaw(requestParameters: DetachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupplierResource>> {
|
|
227
|
-
const requestOptions = await this.detachStoresSupplierRequestOpts(requestParameters);
|
|
228
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
229
|
-
|
|
230
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => SupplierResourceFromJSON(jsonValue));
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Auto-generated: detachStoresSupplier
|
|
235
|
-
*/
|
|
236
|
-
async detachStoresSupplier(requestParameters: DetachStoresSupplierOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupplierResource> {
|
|
237
|
-
const response = await this.detachStoresSupplierRaw(requestParameters, initOverrides);
|
|
238
|
-
return await response.value();
|
|
239
|
-
}
|
|
240
|
-
|
|
241
129
|
/**
|
|
242
130
|
* Creates request options for exportSupplier without sending the request
|
|
243
131
|
*/
|
package/src/apis/index.ts
CHANGED
|
@@ -7,13 +7,10 @@ export * from './DefinitionApi';
|
|
|
7
7
|
export * from './DocumentApi';
|
|
8
8
|
export * from './ExternalApiLogApi';
|
|
9
9
|
export * from './GoogleCategoryApi';
|
|
10
|
-
export * from './LabelApi';
|
|
11
10
|
export * from './OverlayTemplateApi';
|
|
12
11
|
export * from './ProductApi';
|
|
13
12
|
export * from './ProductCategoryApi';
|
|
14
|
-
export * from './ProductRangeApi';
|
|
15
13
|
export * from './ProductTypeApi';
|
|
16
14
|
export * from './SiteApi';
|
|
17
|
-
export * from './StoreApi';
|
|
18
15
|
export * from './SupplierApi';
|
|
19
16
|
export * from './TagApi';
|
|
@@ -25,12 +25,6 @@ export interface AssetLiteResource {
|
|
|
25
25
|
* @memberof AssetLiteResource
|
|
26
26
|
*/
|
|
27
27
|
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AssetLiteResource
|
|
32
|
-
*/
|
|
33
|
-
fileId?: string | null;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {string}
|
|
@@ -43,12 +37,6 @@ export interface AssetLiteResource {
|
|
|
43
37
|
* @memberof AssetLiteResource
|
|
44
38
|
*/
|
|
45
39
|
fileName: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AssetLiteResource
|
|
50
|
-
*/
|
|
51
|
-
mimeType: string;
|
|
52
40
|
/**
|
|
53
41
|
*
|
|
54
42
|
* @type {string}
|
|
@@ -64,7 +52,6 @@ export function instanceOfAssetLiteResource(value: object): value is AssetLiteRe
|
|
|
64
52
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
53
|
if (!('filePath' in value) || value['filePath'] === undefined) return false;
|
|
66
54
|
if (!('fileName' in value) || value['fileName'] === undefined) return false;
|
|
67
|
-
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
68
55
|
if (!('altText' in value) || value['altText'] === undefined) return false;
|
|
69
56
|
return true;
|
|
70
57
|
}
|
|
@@ -80,10 +67,8 @@ export function AssetLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
80
67
|
return {
|
|
81
68
|
|
|
82
69
|
'id': json['id'],
|
|
83
|
-
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
84
70
|
'filePath': json['filePath'],
|
|
85
71
|
'fileName': json['fileName'],
|
|
86
|
-
'mimeType': json['mimeType'],
|
|
87
72
|
'altText': json['altText'],
|
|
88
73
|
};
|
|
89
74
|
}
|
|
@@ -100,10 +85,8 @@ export function AssetLiteResourceToJSONTyped(value?: AssetLiteResource | null, i
|
|
|
100
85
|
return {
|
|
101
86
|
|
|
102
87
|
'id': value['id'],
|
|
103
|
-
'fileId': value['fileId'],
|
|
104
88
|
'filePath': value['filePath'],
|
|
105
89
|
'fileName': value['fileName'],
|
|
106
|
-
'mimeType': value['mimeType'],
|
|
107
90
|
'altText': value['altText'],
|
|
108
91
|
};
|
|
109
92
|
}
|
|
@@ -45,8 +45,7 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
45
45
|
*/
|
|
46
46
|
export const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
47
47
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
48
|
-
|
|
49
|
-
AppModelsProductRangesProductRangeSiteDetail: 'App\\Models\\ProductRanges\\ProductRangeSiteDetail'
|
|
48
|
+
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
50
49
|
} as const;
|
|
51
50
|
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
52
51
|
|
|
@@ -39,8 +39,7 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
39
39
|
*/
|
|
40
40
|
export const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
41
41
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
42
|
-
|
|
43
|
-
AppModelsProductRangesProductRangeSiteDetail: 'App\\Models\\ProductRanges\\ProductRangeSiteDetail'
|
|
42
|
+
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
44
43
|
} as const;
|
|
45
44
|
export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
46
45
|
|
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
110
109
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
111
110
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
112
111
|
return true;
|
|
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
129
128
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
130
129
|
'endpoint': json['endpoint'],
|
|
131
130
|
'responseCode': json['responseCode'],
|
|
132
|
-
'requestPayload': json['requestPayload'],
|
|
131
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
133
132
|
'responsePayload': json['responsePayload'],
|
|
134
133
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
135
134
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -89,8 +89,7 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
|
|
|
89
89
|
*/
|
|
90
90
|
export const GetAllDocumentRequestRelatedTypeEnum = {
|
|
91
91
|
ProductChild: 'productChild',
|
|
92
|
-
|
|
93
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail'
|
|
92
|
+
ProductRangeSite: 'productRangeSite'
|
|
94
93
|
} as const;
|
|
95
94
|
export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
|
|
96
95
|
|
|
@@ -163,7 +163,6 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
|
|
|
163
163
|
*/
|
|
164
164
|
export const GetAllProductChildRequestRelatedTypeEnum = {
|
|
165
165
|
OverlayTemplate: 'overlayTemplate',
|
|
166
|
-
ProductRange: 'productRange',
|
|
167
166
|
Supplier: 'supplier',
|
|
168
167
|
Tag: 'tag',
|
|
169
168
|
Document: 'document'
|
|
@@ -113,9 +113,7 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
|
|
|
113
113
|
* @export
|
|
114
114
|
*/
|
|
115
115
|
export const IndexAttributeRequestRelatedTypeEnum = {
|
|
116
|
-
ProductType: 'productType'
|
|
117
|
-
ProductRange: 'productRange',
|
|
118
|
-
Category: 'category'
|
|
116
|
+
ProductType: 'productType'
|
|
119
117
|
} as const;
|
|
120
118
|
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
121
119
|
|
|
@@ -101,8 +101,7 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
|
|
|
101
101
|
*/
|
|
102
102
|
export const IndexDocumentRequestRelatedTypeEnum = {
|
|
103
103
|
ProductChild: 'productChild',
|
|
104
|
-
|
|
105
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail'
|
|
104
|
+
ProductRangeSite: 'productRangeSite'
|
|
106
105
|
} as const;
|
|
107
106
|
export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
|
|
108
107
|
|
|
@@ -183,10 +183,8 @@ export const IndexProductChildRequestRelatedTypeEnum = {
|
|
|
183
183
|
Document: 'document',
|
|
184
184
|
OverlayTemplate: 'overlayTemplate',
|
|
185
185
|
ProductType: 'productType',
|
|
186
|
-
ProductRange: 'productRange',
|
|
187
186
|
Supplier: 'supplier',
|
|
188
187
|
Tag: 'tag',
|
|
189
|
-
Label: 'label',
|
|
190
188
|
Site: 'site'
|
|
191
189
|
} as const;
|
|
192
190
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|