@digital8/lighting-illusions-ts-sdk 0.0.1632 → 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 -24
- package/README.md +26 -16
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/StoreApi.d.ts +1 -28
- package/dist/apis/StoreApi.js +0 -113
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -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 -2
- 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 -18
- package/dist/models/StoreResource.js +0 -6
- package/dist/models/StoreStoreRequest.d.ts +4 -22
- package/dist/models/StoreStoreRequest.js +3 -7
- 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 -22
- package/dist/models/UpdateStoreRequest.js +3 -7
- 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 -11
- package/dist/models/index.js +19 -11
- 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/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.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/{RedirectListResourceArrayResponse.md → ProductRegistrationAssetResource.md} +10 -6
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{ProductChildStoreStockType.md → ProductRegistrationAssetType.md} +4 -4
- package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationLiteResource.md} +8 -8
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationProductChildResource.md} +10 -14
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/StoreApi.md +0 -124
- package/docs/StoreFrontendResource.md +0 -2
- package/docs/StoreListResource.md +0 -2
- package/docs/StoreResource.md +0 -6
- package/docs/StoreStoreRequest.md +1 -7
- package/docs/UpdateModelAttributeRequest.md +1 -1
- package/docs/UpdateStoreRequest.md +1 -7
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/StoreApi.ts +0 -84
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- 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 -8
- 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 -24
- package/src/models/StoreStoreRequest.ts +6 -29
- 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 -29
- 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 -11
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- 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/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/ProductChildStoreStockType.d.ts +0 -25
- package/dist/models/ProductChildStoreStockType.js +0 -51
- 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/dist/models/SaveMapStoreStockMigrationRequest.d.ts +0 -33
- package/dist/models/SaveMapStoreStockMigrationRequest.js +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +0 -67
- package/docs/RedirectApi.md +0 -74
- package/docs/SaveMapStoreStockMigrationRequest.md +0 -34
- package/docs/SaveMapStoreStockMigrationRequestAssociationsInner.md +0 -38
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -184
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/ProductChildStoreStockType.ts +0 -53
- 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
- package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetAllProductRegistrationRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAllProductRegistrationRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetAllProductRegistrationRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {GetAllProductRegistrationRequestSortByEnum}
|
|
31
|
+
* @memberof GetAllProductRegistrationRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: GetAllProductRegistrationRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {GetAllProductRegistrationRequestSortDirectionEnum}
|
|
37
|
+
* @memberof GetAllProductRegistrationRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: GetAllProductRegistrationRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof GetAllProductRegistrationRequest
|
|
44
|
+
*/
|
|
45
|
+
relatedId?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof GetAllProductRegistrationRequest
|
|
50
|
+
*/
|
|
51
|
+
relatedType?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof GetAllProductRegistrationRequest
|
|
56
|
+
*/
|
|
57
|
+
includesRelations?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof GetAllProductRegistrationRequest
|
|
62
|
+
*/
|
|
63
|
+
siteId?: Array<string>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const GetAllProductRegistrationRequestSortByEnum = {
|
|
71
|
+
Id: 'id',
|
|
72
|
+
CustomerName: 'customer-name',
|
|
73
|
+
CustomerEmail: 'customer-email',
|
|
74
|
+
CustomerPhone: 'customer-phone',
|
|
75
|
+
CreatedAt: 'created_at',
|
|
76
|
+
PurchasedDate: 'purchased_date'
|
|
77
|
+
} as const;
|
|
78
|
+
export type GetAllProductRegistrationRequestSortByEnum = typeof GetAllProductRegistrationRequestSortByEnum[keyof typeof GetAllProductRegistrationRequestSortByEnum];
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export const GetAllProductRegistrationRequestSortDirectionEnum = {
|
|
84
|
+
Asc: 'asc',
|
|
85
|
+
Desc: 'desc'
|
|
86
|
+
} as const;
|
|
87
|
+
export type GetAllProductRegistrationRequestSortDirectionEnum = typeof GetAllProductRegistrationRequestSortDirectionEnum[keyof typeof GetAllProductRegistrationRequestSortDirectionEnum];
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the GetAllProductRegistrationRequest interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfGetAllProductRegistrationRequest(value: object): value is GetAllProductRegistrationRequest {
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function GetAllProductRegistrationRequestFromJSON(json: any): GetAllProductRegistrationRequest {
|
|
98
|
+
return GetAllProductRegistrationRequestFromJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function GetAllProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRegistrationRequest {
|
|
102
|
+
if (json == null) {
|
|
103
|
+
return json;
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
|
|
107
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
108
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
109
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
110
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
111
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
112
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
113
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function GetAllProductRegistrationRequestToJSON(json: any): GetAllProductRegistrationRequest {
|
|
118
|
+
return GetAllProductRegistrationRequestToJSONTyped(json, false);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function GetAllProductRegistrationRequestToJSONTyped(value?: GetAllProductRegistrationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
122
|
+
if (value == null) {
|
|
123
|
+
return value;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return {
|
|
127
|
+
|
|
128
|
+
'search': value['search'],
|
|
129
|
+
'sortBy': value['sortBy'],
|
|
130
|
+
'sortDirection': value['sortDirection'],
|
|
131
|
+
'related_id': value['relatedId'],
|
|
132
|
+
'related_type': value['relatedType'],
|
|
133
|
+
'includes_relations': value['includesRelations'],
|
|
134
|
+
'site_id': value['siteId'],
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
@@ -37,6 +37,12 @@ export interface GlobalSearchProductResource {
|
|
|
37
37
|
* @memberof GlobalSearchProductResource
|
|
38
38
|
*/
|
|
39
39
|
model: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof GlobalSearchProductResource
|
|
44
|
+
*/
|
|
45
|
+
modelRaw: string;
|
|
40
46
|
/**
|
|
41
47
|
*
|
|
42
48
|
* @type {string}
|
|
@@ -94,6 +100,7 @@ export function instanceOfGlobalSearchProductResource(value: object): value is G
|
|
|
94
100
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
95
101
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
96
102
|
if (!('model' in value) || value['model'] === undefined) return false;
|
|
103
|
+
if (!('modelRaw' in value) || value['modelRaw'] === undefined) return false;
|
|
97
104
|
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
98
105
|
if (!('sku' in value) || value['sku'] === undefined) return false;
|
|
99
106
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
@@ -118,6 +125,7 @@ export function GlobalSearchProductResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
118
125
|
'id': json['id'],
|
|
119
126
|
'name': json['name'],
|
|
120
127
|
'model': json['model'],
|
|
128
|
+
'modelRaw': json['modelRaw'],
|
|
121
129
|
'slug': json['slug'],
|
|
122
130
|
'sku': json['sku'],
|
|
123
131
|
'thumbnail': json['thumbnail'],
|
|
@@ -143,6 +151,7 @@ export function GlobalSearchProductResourceToJSONTyped(value?: GlobalSearchProdu
|
|
|
143
151
|
'id': value['id'],
|
|
144
152
|
'name': value['name'],
|
|
145
153
|
'model': value['model'],
|
|
154
|
+
'modelRaw': value['modelRaw'],
|
|
146
155
|
'slug': value['slug'],
|
|
147
156
|
'sku': value['sku'],
|
|
148
157
|
'thumbnail': value['thumbnail'],
|
|
@@ -24,7 +24,7 @@ export interface IndexProductChildRequest {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof IndexProductChildRequest
|
|
26
26
|
*/
|
|
27
|
-
search?: string
|
|
27
|
+
search?: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {IndexProductChildRequestSortByEnum}
|
|
@@ -184,6 +184,7 @@ export const IndexProductChildRequestRelatedTypeEnum = {
|
|
|
184
184
|
OverlayTemplate: 'overlayTemplate',
|
|
185
185
|
ProductType: 'productType',
|
|
186
186
|
ProductRange: 'productRange',
|
|
187
|
+
ProductRegistration: 'productRegistration',
|
|
187
188
|
Supplier: 'supplier',
|
|
188
189
|
Tag: 'tag',
|
|
189
190
|
Label: 'label',
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface IndexProductRegistrationRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface IndexProductRegistrationRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof IndexProductRegistrationRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
31
|
+
* @memberof IndexProductRegistrationRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
37
|
+
* @memberof IndexProductRegistrationRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof IndexProductRegistrationRequest
|
|
44
|
+
*/
|
|
45
|
+
perPage?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof IndexProductRegistrationRequest
|
|
50
|
+
*/
|
|
51
|
+
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof IndexProductRegistrationRequest
|
|
56
|
+
*/
|
|
57
|
+
siteId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof IndexProductRegistrationRequest
|
|
62
|
+
*/
|
|
63
|
+
beforePurchasedDate?: Date;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof IndexProductRegistrationRequest
|
|
68
|
+
*/
|
|
69
|
+
afterPurchasedDate?: Date;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof IndexProductRegistrationRequest
|
|
74
|
+
*/
|
|
75
|
+
beforeCreatedAt?: Date;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof IndexProductRegistrationRequest
|
|
80
|
+
*/
|
|
81
|
+
afterCreatedAt?: Date;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof IndexProductRegistrationRequest
|
|
86
|
+
*/
|
|
87
|
+
relatedId?: number;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
91
|
+
* @memberof IndexProductRegistrationRequest
|
|
92
|
+
*/
|
|
93
|
+
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof IndexProductRegistrationRequest
|
|
98
|
+
*/
|
|
99
|
+
includesRelations?: boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export const IndexProductRegistrationRequestSortByEnum = {
|
|
107
|
+
Id: 'id',
|
|
108
|
+
CustomerName: 'customer-name',
|
|
109
|
+
CustomerEmail: 'customer-email',
|
|
110
|
+
CustomerPhone: 'customer-phone',
|
|
111
|
+
CreatedAt: 'created_at',
|
|
112
|
+
PurchasedDate: 'purchased_date'
|
|
113
|
+
} as const;
|
|
114
|
+
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @export
|
|
118
|
+
*/
|
|
119
|
+
export const IndexProductRegistrationRequestSortDirectionEnum = {
|
|
120
|
+
Asc: 'asc',
|
|
121
|
+
Desc: 'desc'
|
|
122
|
+
} as const;
|
|
123
|
+
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @export
|
|
127
|
+
*/
|
|
128
|
+
export const IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
129
|
+
ProductChild: 'productChild'
|
|
130
|
+
} as const;
|
|
131
|
+
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
136
|
+
*/
|
|
137
|
+
export function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest {
|
|
138
|
+
return true;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest {
|
|
142
|
+
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest {
|
|
146
|
+
if (json == null) {
|
|
147
|
+
return json;
|
|
148
|
+
}
|
|
149
|
+
return {
|
|
150
|
+
|
|
151
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
152
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
153
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
154
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
155
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
156
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
157
|
+
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
158
|
+
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
159
|
+
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
160
|
+
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
161
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
162
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
163
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest {
|
|
168
|
+
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
172
|
+
if (value == null) {
|
|
173
|
+
return value;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
return {
|
|
177
|
+
|
|
178
|
+
'search': value['search'],
|
|
179
|
+
'sortBy': value['sortBy'],
|
|
180
|
+
'sortDirection': value['sortDirection'],
|
|
181
|
+
'per_page': value['perPage'],
|
|
182
|
+
'page': value['page'],
|
|
183
|
+
'site_id': value['siteId'],
|
|
184
|
+
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
185
|
+
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
186
|
+
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
187
|
+
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
188
|
+
'related_id': value['relatedId'],
|
|
189
|
+
'related_type': value['relatedType'],
|
|
190
|
+
'includes_relations': value['includesRelations'],
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
@@ -45,12 +45,6 @@ export interface LabelListResource {
|
|
|
45
45
|
* @memberof LabelListResource
|
|
46
46
|
*/
|
|
47
47
|
longName: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof LabelListResource
|
|
52
|
-
*/
|
|
53
|
-
productCount: number;
|
|
54
48
|
/**
|
|
55
49
|
*
|
|
56
50
|
* @type {string}
|
|
@@ -89,7 +83,6 @@ export interface LabelListResource {
|
|
|
89
83
|
export function instanceOfLabelListResource(value: object): value is LabelListResource {
|
|
90
84
|
if (!('shortName' in value) || value['shortName'] === undefined) return false;
|
|
91
85
|
if (!('longName' in value) || value['longName'] === undefined) return false;
|
|
92
|
-
if (!('productCount' in value) || value['productCount'] === undefined) return false;
|
|
93
86
|
if (!('colour' in value) || value['colour'] === undefined) return false;
|
|
94
87
|
if (!('textColour' in value) || value['textColour'] === undefined) return false;
|
|
95
88
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
@@ -109,7 +102,6 @@ export function LabelListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
109
102
|
'id': json['id'] == null ? undefined : json['id'],
|
|
110
103
|
'shortName': json['shortName'],
|
|
111
104
|
'longName': json['longName'],
|
|
112
|
-
'productCount': json['productCount'],
|
|
113
105
|
'colour': json['colour'],
|
|
114
106
|
'textColour': json['textColour'],
|
|
115
107
|
'startDate': json['startDate'] == null ? undefined : json['startDate'],
|
|
@@ -132,7 +124,6 @@ export function LabelListResourceToJSONTyped(value?: LabelListResource | null, i
|
|
|
132
124
|
'id': value['id'],
|
|
133
125
|
'shortName': value['shortName'],
|
|
134
126
|
'longName': value['longName'],
|
|
135
|
-
'productCount': value['productCount'],
|
|
136
127
|
'colour': value['colour'],
|
|
137
128
|
'textColour': value['textColour'],
|
|
138
129
|
'startDate': value['startDate'],
|