@digital8/lighting-illusions-ts-sdk 0.0.1633 → 0.0.1634
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 +40 -36
- package/README.md +26 -20
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/DestroyAttributeValueRequest.d.ts +1 -1
- package/dist/models/GetAllAttributeRequest.d.ts +1 -1
- package/dist/models/GetAllAttributeValueRequest.d.ts +1 -1
- package/dist/models/GetAllDefinitionRequest.d.ts +1 -1
- package/dist/models/GetAllDocumentRequest.d.ts +1 -1
- package/dist/models/GetAllGoogleCategoryRequest.d.ts +1 -1
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +1 -1
- package/dist/models/GetAllProductCategoryRequest.d.ts +1 -1
- package/dist/models/GetAllProductChildRequest.d.ts +1 -1
- package/dist/models/GetAllProductRangeRequest.d.ts +1 -1
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/GetAllProductRequest.d.ts +1 -1
- package/dist/models/GetAllProductTypeRequest.d.ts +1 -1
- package/dist/models/GetAllStoreRequest.d.ts +1 -1
- package/dist/models/GetAllSupplierRequest.d.ts +1 -1
- package/dist/models/GlobalSearchProductResource.d.ts +6 -0
- package/dist/models/GlobalSearchProductResource.js +4 -0
- package/dist/models/IndexAttributeRequest.d.ts +1 -1
- package/dist/models/IndexAttributeValueRequest.d.ts +1 -1
- package/dist/models/IndexDefinitionRequest.d.ts +1 -1
- package/dist/models/IndexDocumentRequest.d.ts +1 -1
- package/dist/models/IndexExternalApiLogRequest.d.ts +1 -1
- package/dist/models/IndexLabelRequest.d.ts +1 -1
- package/dist/models/IndexModelAttributeRequest.d.ts +1 -1
- package/dist/models/IndexOverlayTemplateRequest.d.ts +1 -1
- package/dist/models/IndexProductCategoryRequest.d.ts +1 -1
- package/dist/models/IndexProductChildRequest.d.ts +2 -1
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRangeRequest.d.ts +1 -1
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/IndexProductRequest.d.ts +1 -1
- package/dist/models/IndexProductTypeRequest.d.ts +1 -1
- package/dist/models/IndexSiteNotificationRequest.d.ts +1 -1
- package/dist/models/IndexSiteRequest.d.ts +1 -1
- package/dist/models/IndexStoreRequest.d.ts +1 -1
- package/dist/models/IndexSupplierRequest.d.ts +1 -1
- package/dist/models/IndexTagRequest.d.ts +1 -1
- package/dist/models/LabelListResource.d.ts +0 -6
- package/dist/models/LabelListResource.js +0 -4
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -7
- package/dist/models/ProductRangeFrontendResource.js +0 -5
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/ShowAssetsProductChildRequest.d.ts +1 -1
- package/dist/models/ShowAttributesProductChildRequest.d.ts +1 -1
- package/dist/models/StoreAssetForAssetableRequest.d.ts +1 -1
- package/dist/models/StoreFrontendResource.d.ts +1 -7
- package/dist/models/StoreFrontendResource.js +1 -5
- package/dist/models/StoreLabelRequest.d.ts +4 -4
- package/dist/models/StoreListResource.d.ts +0 -6
- package/dist/models/StoreListResource.js +0 -4
- package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/StoreProductCategoryRequest.d.ts +4 -4
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +2 -2
- package/dist/models/StoreProductChildRequest.d.ts +4 -4
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +1 -1
- package/dist/models/StoreProductChildRequestAttributeValuesInner.d.ts +1 -1
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +5 -5
- package/dist/models/StoreProductRangeRequest.d.ts +1 -1
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +5 -5
- package/dist/models/StoreProductRequest.d.ts +1 -1
- package/dist/models/StoreResource.d.ts +0 -6
- package/dist/models/StoreResource.js +0 -2
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreStoreRequest.d.ts +4 -10
- package/dist/models/StoreStoreRequest.js +3 -3
- package/dist/models/StoreStoreRequestAddress.d.ts +1 -1
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +5 -5
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +5 -5
- package/dist/models/StoreSupplierRequest.d.ts +1 -1
- package/dist/models/StoreTagRequest.d.ts +4 -4
- package/dist/models/UpdateAssetForAssetableRequest.d.ts +3 -3
- package/dist/models/UpdateLabelRequest.d.ts +4 -4
- package/dist/models/UpdateModelAttributeRequest.d.ts +3 -3
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/UpdateProductCategoryRequest.d.ts +4 -4
- package/dist/models/UpdateProductChildRequest.d.ts +4 -4
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +1 -1
- package/dist/models/UpdateProductRangeRequest.d.ts +1 -1
- package/dist/models/UpdateProductRequest.d.ts +1 -1
- package/dist/models/UpdateSiteRequest.d.ts +5 -5
- package/dist/models/UpdateStoreRequest.d.ts +4 -10
- package/dist/models/UpdateStoreRequest.js +3 -3
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +5 -5
- package/dist/models/UpdateSupplierRequest.d.ts +1 -1
- package/dist/models/UpdateTagRequest.d.ts +4 -4
- package/dist/models/index.d.ts +19 -17
- package/dist/models/index.js +19 -17
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GlobalSearchProductResource.md +2 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/LabelListResource.md +0 -2
- package/docs/{IndexRedirectRequest.md → ListAssetsProductRegistrationRequest.md} +8 -12
- package/docs/{PaginatedBlogCategoryResourceResponse.md → PaginatedProductRegistrationAssetResourceResponse.md} +5 -5
- package/docs/{PaginatedBlogCategoryLiteResourceResponse.md → PaginatedProductRegistrationListResourceResponse.md} +5 -5
- package/docs/{PaginatedBlogCategoryListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRangeFrontendResource.md +0 -2
- package/docs/ProductRegistrationApi.md +344 -0
- package/docs/{BlogCategoryListResourceArrayResponse.md → ProductRegistrationAssetResource.md} +10 -6
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{BlogCategoryLiteResource.md → ProductRegistrationAssetType.md} +4 -8
- package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationCustomerResource.md} +14 -6
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationListResource.md} +12 -14
- package/docs/{BlogCategoryLiteResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{BlogCategoryListResource.md → ProductRegistrationLiteResource.md} +6 -8
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationLiteResourceArrayResponse.md} +5 -5
- package/docs/{BlogCategoryResource.md → ProductRegistrationProductChildResource.md} +8 -8
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{BlogCategoryResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/StoreFrontendResource.md +0 -2
- package/docs/StoreListResource.md +0 -2
- package/docs/StoreResource.md +0 -2
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreStoreRequest.md +1 -3
- package/docs/UpdateModelAttributeRequest.md +1 -1
- package/docs/UpdateStoreRequest.md +1 -3
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/index.ts +1 -1
- package/src/models/DestroyAttributeValueRequest.ts +1 -1
- package/src/models/GetAllAttributeRequest.ts +1 -1
- package/src/models/GetAllAttributeValueRequest.ts +1 -1
- package/src/models/GetAllDefinitionRequest.ts +1 -1
- package/src/models/GetAllDocumentRequest.ts +1 -1
- package/src/models/GetAllGoogleCategoryRequest.ts +1 -1
- package/src/models/GetAllOverlayTemplateRequest.ts +1 -1
- package/src/models/GetAllProductCategoryRequest.ts +1 -1
- package/src/models/GetAllProductChildRequest.ts +1 -1
- package/src/models/GetAllProductRangeRequest.ts +1 -1
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/GetAllProductRequest.ts +1 -1
- package/src/models/GetAllProductTypeRequest.ts +1 -1
- package/src/models/GetAllStoreRequest.ts +1 -1
- package/src/models/GetAllSupplierRequest.ts +1 -1
- package/src/models/GlobalSearchProductResource.ts +9 -0
- package/src/models/IndexAttributeRequest.ts +1 -1
- package/src/models/IndexAttributeValueRequest.ts +1 -1
- package/src/models/IndexDefinitionRequest.ts +1 -1
- package/src/models/IndexDocumentRequest.ts +1 -1
- package/src/models/IndexExternalApiLogRequest.ts +1 -1
- package/src/models/IndexLabelRequest.ts +1 -1
- package/src/models/IndexModelAttributeRequest.ts +1 -1
- package/src/models/IndexOverlayTemplateRequest.ts +1 -1
- package/src/models/IndexProductCategoryRequest.ts +1 -1
- package/src/models/IndexProductChildRequest.ts +2 -1
- package/src/models/IndexProductRangeRequest.ts +1 -1
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/IndexProductRequest.ts +1 -1
- package/src/models/IndexProductTypeRequest.ts +1 -1
- package/src/models/IndexSiteNotificationRequest.ts +1 -1
- package/src/models/IndexSiteRequest.ts +1 -1
- package/src/models/IndexStoreRequest.ts +1 -1
- package/src/models/IndexSupplierRequest.ts +1 -1
- package/src/models/IndexTagRequest.ts +1 -1
- package/src/models/LabelListResource.ts +0 -9
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +8 -0
- package/src/models/ProductRangeFrontendResource.ts +0 -16
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +9 -0
- package/src/models/ShowAssetsProductChildRequest.ts +1 -1
- package/src/models/ShowAttributesProductChildRequest.ts +1 -1
- package/src/models/StoreAssetForAssetableRequest.ts +1 -1
- package/src/models/StoreFrontendResource.ts +2 -11
- package/src/models/StoreLabelRequest.ts +4 -4
- package/src/models/StoreListResource.ts +0 -9
- package/src/models/StoreOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/StoreProductCategoryRequest.ts +4 -4
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +2 -2
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +2 -2
- package/src/models/StoreProductCategoryRequestSeoInner.ts +2 -2
- package/src/models/StoreProductChildRequest.ts +4 -4
- package/src/models/StoreProductChildRequestAssetsInner.ts +1 -1
- package/src/models/StoreProductChildRequestAttributeValuesInner.ts +1 -1
- package/src/models/StoreProductChildRequestSitesInner.ts +5 -5
- package/src/models/StoreProductRangeRequest.ts +1 -1
- package/src/models/StoreProductRangeRequestSitesInner.ts +5 -5
- package/src/models/StoreProductRequest.ts +1 -1
- package/src/models/StoreResource.ts +0 -8
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreStoreRequest.ts +6 -13
- package/src/models/StoreStoreRequestAddress.ts +1 -1
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +5 -5
- package/src/models/StoreStoreSpecialDateRequest.ts +5 -5
- package/src/models/StoreSupplierRequest.ts +1 -1
- package/src/models/StoreTagRequest.ts +4 -4
- package/src/models/UpdateAssetForAssetableRequest.ts +3 -3
- package/src/models/UpdateLabelRequest.ts +4 -4
- package/src/models/UpdateModelAttributeRequest.ts +3 -3
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/UpdateProductCategoryRequest.ts +4 -4
- package/src/models/UpdateProductChildRequest.ts +4 -4
- package/src/models/UpdateProductChildRequestAssetsInner.ts +1 -1
- package/src/models/UpdateProductRangeRequest.ts +1 -1
- package/src/models/UpdateProductRequest.ts +1 -1
- package/src/models/UpdateSiteRequest.ts +5 -5
- package/src/models/UpdateStoreRequest.ts +6 -13
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +5 -5
- package/src/models/UpdateSupplierRequest.ts +1 -1
- package/src/models/UpdateTagRequest.ts +4 -4
- package/src/models/index.ts +19 -17
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- package/dist/models/BlogCategoryListResource.d.ts +0 -44
- package/dist/models/BlogCategoryListResource.js +0 -59
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryListResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryLiteResource.d.ts +0 -38
- package/dist/models/BlogCategoryLiteResource.js +0 -55
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryResource.d.ts +0 -51
- package/dist/models/BlogCategoryResource.js +0 -64
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryResourceArrayResponse.js +0 -50
- package/dist/models/IndexRedirectRequest.d.ts +0 -124
- package/dist/models/IndexRedirectRequest.js +0 -95
- 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/PaginatedBlogCategoryListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +0 -57
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/RedirectFrontendResource.d.ts +0 -62
- package/dist/models/RedirectFrontendResource.js +0 -71
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
- package/dist/models/RedirectListResource.d.ts +0 -69
- package/dist/models/RedirectListResource.js +0 -76
- package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectListResourceArrayResponse.js +0 -50
- package/docs/PaginatedRedirectListResourceResponse.md +0 -36
- package/docs/RedirectApi.md +0 -74
- package/docs/RedirectFrontendResourceArrayResponse.md +0 -34
- package/docs/RedirectListResource.md +0 -46
- package/docs/RedirectListResourceArrayResponse.md +0 -34
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/BlogCategoryListResource.ts +0 -84
- package/src/models/BlogCategoryListResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryLiteResource.ts +0 -75
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryResource.ts +0 -101
- package/src/models/BlogCategoryResourceArrayResponse.ts +0 -73
- package/src/models/IndexRedirectRequest.ts +0 -184
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +0 -90
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/RedirectFrontendResource.ts +0 -111
- package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
- package/src/models/RedirectListResource.ts +0 -128
- package/src/models/RedirectListResourceArrayResponse.ts +0 -73
|
@@ -28,6 +28,8 @@ function instanceOfGlobalSearchProductResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('model' in value) || value['model'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('modelRaw' in value) || value['modelRaw'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('slug' in value) || value['slug'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('sku' in value) || value['sku'] === undefined)
|
|
@@ -57,6 +59,7 @@ function GlobalSearchProductResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
59
|
'id': json['id'],
|
|
58
60
|
'name': json['name'],
|
|
59
61
|
'model': json['model'],
|
|
62
|
+
'modelRaw': json['modelRaw'],
|
|
60
63
|
'slug': json['slug'],
|
|
61
64
|
'sku': json['sku'],
|
|
62
65
|
'thumbnail': json['thumbnail'],
|
|
@@ -79,6 +82,7 @@ function GlobalSearchProductResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
79
82
|
'id': value['id'],
|
|
80
83
|
'name': value['name'],
|
|
81
84
|
'model': value['model'],
|
|
85
|
+
'modelRaw': value['modelRaw'],
|
|
82
86
|
'slug': value['slug'],
|
|
83
87
|
'sku': value['sku'],
|
|
84
88
|
'thumbnail': value['thumbnail'],
|
|
@@ -20,7 +20,7 @@ export interface IndexProductChildRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof IndexProductChildRequest
|
|
22
22
|
*/
|
|
23
|
-
search?: string
|
|
23
|
+
search?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {IndexProductChildRequestSortByEnum}
|
|
@@ -176,6 +176,7 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
176
176
|
readonly OverlayTemplate: "overlayTemplate";
|
|
177
177
|
readonly ProductType: "productType";
|
|
178
178
|
readonly ProductRange: "productRange";
|
|
179
|
+
readonly ProductRegistration: "productRegistration";
|
|
179
180
|
readonly Supplier: "supplier";
|
|
180
181
|
readonly Tag: "tag";
|
|
181
182
|
readonly Label: "label";
|
|
@@ -0,0 +1,131 @@
|
|
|
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 IndexProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof IndexProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
siteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof IndexProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
beforePurchasedDate?: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof IndexProductRegistrationRequest
|
|
64
|
+
*/
|
|
65
|
+
afterPurchasedDate?: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof IndexProductRegistrationRequest
|
|
70
|
+
*/
|
|
71
|
+
beforeCreatedAt?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof IndexProductRegistrationRequest
|
|
76
|
+
*/
|
|
77
|
+
afterCreatedAt?: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof IndexProductRegistrationRequest
|
|
82
|
+
*/
|
|
83
|
+
relatedId?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
87
|
+
* @memberof IndexProductRegistrationRequest
|
|
88
|
+
*/
|
|
89
|
+
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IndexProductRegistrationRequest
|
|
94
|
+
*/
|
|
95
|
+
includesRelations?: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const IndexProductRegistrationRequestSortByEnum: {
|
|
101
|
+
readonly Id: "id";
|
|
102
|
+
readonly CustomerName: "customer-name";
|
|
103
|
+
readonly CustomerEmail: "customer-email";
|
|
104
|
+
readonly CustomerPhone: "customer-phone";
|
|
105
|
+
readonly CreatedAt: "created_at";
|
|
106
|
+
readonly PurchasedDate: "purchased_date";
|
|
107
|
+
};
|
|
108
|
+
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const IndexProductRegistrationRequestSortDirectionEnum: {
|
|
113
|
+
readonly Asc: "asc";
|
|
114
|
+
readonly Desc: "desc";
|
|
115
|
+
};
|
|
116
|
+
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
117
|
+
/**
|
|
118
|
+
* @export
|
|
119
|
+
*/
|
|
120
|
+
export declare const IndexProductRegistrationRequestRelatedTypeEnum: {
|
|
121
|
+
readonly ProductChild: "productChild";
|
|
122
|
+
};
|
|
123
|
+
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
124
|
+
/**
|
|
125
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
126
|
+
*/
|
|
127
|
+
export declare function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest;
|
|
128
|
+
export declare function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest;
|
|
129
|
+
export declare function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest;
|
|
130
|
+
export declare function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest;
|
|
131
|
+
export declare function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,98 @@
|
|
|
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.IndexProductRegistrationRequestRelatedTypeEnum = exports.IndexProductRegistrationRequestSortDirectionEnum = exports.IndexProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexProductRegistrationRequest = instanceOfIndexProductRegistrationRequest;
|
|
18
|
+
exports.IndexProductRegistrationRequestFromJSON = IndexProductRegistrationRequestFromJSON;
|
|
19
|
+
exports.IndexProductRegistrationRequestFromJSONTyped = IndexProductRegistrationRequestFromJSONTyped;
|
|
20
|
+
exports.IndexProductRegistrationRequestToJSON = IndexProductRegistrationRequestToJSON;
|
|
21
|
+
exports.IndexProductRegistrationRequestToJSONTyped = IndexProductRegistrationRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexProductRegistrationRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
CustomerName: 'customer-name',
|
|
28
|
+
CustomerEmail: 'customer-email',
|
|
29
|
+
CustomerPhone: 'customer-phone',
|
|
30
|
+
CreatedAt: 'created_at',
|
|
31
|
+
PurchasedDate: 'purchased_date'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.IndexProductRegistrationRequestSortDirectionEnum = {
|
|
37
|
+
Asc: 'asc',
|
|
38
|
+
Desc: 'desc'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
44
|
+
ProductChild: 'productChild'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
48
|
+
*/
|
|
49
|
+
function instanceOfIndexProductRegistrationRequest(value) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function IndexProductRegistrationRequestFromJSON(json) {
|
|
53
|
+
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function IndexProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
61
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
62
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
63
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
64
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
65
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
66
|
+
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
67
|
+
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
68
|
+
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
69
|
+
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
70
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
71
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
72
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function IndexProductRegistrationRequestToJSON(json) {
|
|
76
|
+
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function IndexProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
79
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'search': value['search'],
|
|
85
|
+
'sortBy': value['sortBy'],
|
|
86
|
+
'sortDirection': value['sortDirection'],
|
|
87
|
+
'per_page': value['perPage'],
|
|
88
|
+
'page': value['page'],
|
|
89
|
+
'site_id': value['siteId'],
|
|
90
|
+
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
91
|
+
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
92
|
+
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
93
|
+
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
94
|
+
'related_id': value['relatedId'],
|
|
95
|
+
'related_type': value['relatedType'],
|
|
96
|
+
'includes_relations': value['includesRelations'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -27,8 +27,6 @@ function instanceOfLabelListResource(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('longName' in value) || value['longName'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
-
if (!('productCount' in value) || value['productCount'] === undefined)
|
|
31
|
-
return false;
|
|
32
30
|
if (!('colour' in value) || value['colour'] === undefined)
|
|
33
31
|
return false;
|
|
34
32
|
if (!('textColour' in value) || value['textColour'] === undefined)
|
|
@@ -48,7 +46,6 @@ function LabelListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
46
|
'id': json['id'] == null ? undefined : json['id'],
|
|
49
47
|
'shortName': json['shortName'],
|
|
50
48
|
'longName': json['longName'],
|
|
51
|
-
'productCount': json['productCount'],
|
|
52
49
|
'colour': json['colour'],
|
|
53
50
|
'textColour': json['textColour'],
|
|
54
51
|
'startDate': json['startDate'] == null ? undefined : json['startDate'],
|
|
@@ -68,7 +65,6 @@ function LabelListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
65
|
'id': value['id'],
|
|
69
66
|
'shortName': value['shortName'],
|
|
70
67
|
'longName': value['longName'],
|
|
71
|
-
'productCount': value['productCount'],
|
|
72
68
|
'colour': value['colour'],
|
|
73
69
|
'textColour': value['textColour'],
|
|
74
70
|
'startDate': value['startDate'],
|
|
@@ -0,0 +1,103 @@
|
|
|
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 ListAssetsProductRegistrationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ListAssetsProductRegistrationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {ListAssetsProductRegistrationRequestSortByEnum}
|
|
27
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: ListAssetsProductRegistrationRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ListAssetsProductRegistrationRequestSortDirectionEnum}
|
|
33
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: ListAssetsProductRegistrationRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
52
|
+
*/
|
|
53
|
+
productRegistrationId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
58
|
+
*/
|
|
59
|
+
type?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedType?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof ListAssetsProductRegistrationRequest
|
|
76
|
+
*/
|
|
77
|
+
includesRelations?: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const ListAssetsProductRegistrationRequestSortByEnum: {
|
|
83
|
+
readonly Id: "id";
|
|
84
|
+
readonly Type: "type";
|
|
85
|
+
readonly CreatedAt: "created_at";
|
|
86
|
+
};
|
|
87
|
+
export type ListAssetsProductRegistrationRequestSortByEnum = typeof ListAssetsProductRegistrationRequestSortByEnum[keyof typeof ListAssetsProductRegistrationRequestSortByEnum];
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const ListAssetsProductRegistrationRequestSortDirectionEnum: {
|
|
92
|
+
readonly Asc: "asc";
|
|
93
|
+
readonly Desc: "desc";
|
|
94
|
+
};
|
|
95
|
+
export type ListAssetsProductRegistrationRequestSortDirectionEnum = typeof ListAssetsProductRegistrationRequestSortDirectionEnum[keyof typeof ListAssetsProductRegistrationRequestSortDirectionEnum];
|
|
96
|
+
/**
|
|
97
|
+
* Check if a given object implements the ListAssetsProductRegistrationRequest interface.
|
|
98
|
+
*/
|
|
99
|
+
export declare function instanceOfListAssetsProductRegistrationRequest(value: object): value is ListAssetsProductRegistrationRequest;
|
|
100
|
+
export declare function ListAssetsProductRegistrationRequestFromJSON(json: any): ListAssetsProductRegistrationRequest;
|
|
101
|
+
export declare function ListAssetsProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAssetsProductRegistrationRequest;
|
|
102
|
+
export declare function ListAssetsProductRegistrationRequestToJSON(json: any): ListAssetsProductRegistrationRequest;
|
|
103
|
+
export declare function ListAssetsProductRegistrationRequestToJSONTyped(value?: ListAssetsProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|