@digital8/lighting-illusions-ts-sdk 0.0.530 → 0.0.532
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 +42 -24
- package/README.md +30 -14
- package/dist/apis/ProductCategoryApi.d.ts +105 -0
- package/dist/apis/ProductCategoryApi.js +445 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/CategoryAutomationComparisonType.d.ts +29 -0
- package/dist/models/CategoryAutomationComparisonType.js +55 -0
- package/dist/models/CategoryAutomationConditionType.d.ts +25 -0
- package/dist/models/CategoryAutomationConditionType.js +51 -0
- package/dist/models/CategoryAutomationFieldType.d.ts +30 -0
- package/dist/models/CategoryAutomationFieldType.js +56 -0
- package/dist/models/CategoryAutomationRuleResource.d.ts +68 -0
- package/dist/models/CategoryAutomationRuleResource.js +67 -0
- package/dist/models/CategoryAutomationRuleResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryAutomationRuleResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllProductCategoryRequest.d.ts +115 -0
- package/dist/models/GetAllProductCategoryRequest.js +94 -0
- package/dist/models/IndexProductCategoryRequest.d.ts +127 -0
- package/dist/models/IndexProductCategoryRequest.js +98 -0
- package/dist/models/PaginatedProductCategoryListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductCategoryListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductCategoryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductCategoryResourceResponse.js +57 -0
- package/dist/models/ProductCategoryHierarchyResource.d.ts +62 -0
- package/dist/models/ProductCategoryHierarchyResource.js +69 -0
- package/dist/models/ProductCategoryHierarchyResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductCategoryHierarchyResourceArrayResponse.js +50 -0
- package/dist/models/ProductCategoryListResource.d.ts +75 -0
- package/dist/models/ProductCategoryListResource.js +78 -0
- package/dist/models/ProductCategoryListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductCategoryListResourceArrayResponse.js +50 -0
- package/dist/models/ProductCategoryLiteResource.d.ts +38 -0
- package/dist/models/ProductCategoryLiteResource.js +53 -0
- package/dist/models/ProductCategoryLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductCategoryLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductCategoryResource.d.ts +107 -0
- package/dist/models/ProductCategoryResource.js +96 -0
- package/dist/models/ProductCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductCategoryResourceArrayResponse.js +50 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +105 -0
- package/dist/models/StoreProductCategoryRequest.js +86 -0
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +62 -0
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +63 -0
- package/dist/models/UpdateProductCategoryRequest.d.ts +105 -0
- package/dist/models/UpdateProductCategoryRequest.js +74 -0
- package/dist/models/index.d.ts +20 -12
- package/dist/models/index.js +20 -12
- package/docs/{ProductSortBy.md → CategoryAutomationComparisonType.md} +4 -4
- package/docs/{ProductStatus.md → CategoryAutomationConditionType.md} +4 -4
- package/docs/{ProductRating.md → CategoryAutomationFieldType.md} +4 -4
- package/docs/CategoryAutomationRuleResource.md +46 -0
- package/docs/CategoryAutomationRuleResourceArrayResponse.md +34 -0
- package/docs/GetAllProductCategoryRequest.md +52 -0
- package/docs/IndexProductCategoryRequest.md +56 -0
- package/docs/{PaginatedProductSearchResultResourceResponse.md → PaginatedProductCategoryListResourceResponse.md} +5 -5
- package/docs/PaginatedProductCategoryResourceResponse.md +36 -0
- package/docs/ProductCategoryApi.md +534 -0
- package/docs/{ProductAggregationResource.md → ProductCategoryHierarchyResource.md} +16 -12
- package/docs/ProductCategoryHierarchyResourceArrayResponse.md +34 -0
- package/docs/ProductCategoryListResource.md +48 -0
- package/docs/{ProductSearchResultResourceArrayResponse.md → ProductCategoryListResourceArrayResponse.md} +5 -5
- package/docs/ProductCategoryLiteResource.md +36 -0
- package/docs/{ProductSearchResponseResourceArrayResponse.md → ProductCategoryLiteResourceArrayResponse.md} +5 -5
- package/docs/ProductCategoryResource.md +58 -0
- package/docs/{ProductAggregationResourceArrayResponse.md → ProductCategoryResourceArrayResponse.md} +5 -5
- package/docs/StoreProductCategoryRequest.md +58 -0
- package/docs/StoreProductCategoryRequestAutomationRulesInner.md +44 -0
- package/docs/UpdateProductCategoryRequest.md +58 -0
- package/package.json +1 -1
- package/src/apis/ProductCategoryApi.ts +363 -0
- package/src/apis/index.ts +1 -0
- package/src/models/CategoryAutomationComparisonType.ts +57 -0
- package/src/models/CategoryAutomationConditionType.ts +53 -0
- package/src/models/CategoryAutomationFieldType.ts +58 -0
- package/src/models/CategoryAutomationRuleResource.ts +116 -0
- package/src/models/CategoryAutomationRuleResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllProductCategoryRequest.ts +171 -0
- package/src/models/IndexProductCategoryRequest.ts +187 -0
- package/src/models/PaginatedProductCategoryListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductCategoryResourceResponse.ts +90 -0
- package/src/models/ProductCategoryHierarchyResource.ts +110 -0
- package/src/models/ProductCategoryHierarchyResourceArrayResponse.ts +73 -0
- package/src/models/ProductCategoryListResource.ts +136 -0
- package/src/models/ProductCategoryListResourceArrayResponse.ts +73 -0
- package/src/models/ProductCategoryLiteResource.ts +74 -0
- package/src/models/ProductCategoryLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductCategoryResource.ts +193 -0
- package/src/models/ProductCategoryResourceArrayResponse.ts +73 -0
- package/src/models/StoreProductCategoryRequest.ts +175 -0
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +107 -0
- package/src/models/UpdateProductCategoryRequest.ts +169 -0
- package/src/models/index.ts +20 -12
- package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductSearchResultResourceResponse.js +0 -57
- package/dist/models/ProductAggregationResource.d.ts +0 -50
- package/dist/models/ProductAggregationResource.js +0 -63
- package/dist/models/ProductAggregationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductAggregationResourceArrayResponse.js +0 -50
- package/dist/models/ProductRating.d.ts +0 -26
- package/dist/models/ProductRating.js +0 -52
- package/dist/models/ProductSearchResponseResource.d.ts +0 -54
- package/dist/models/ProductSearchResponseResource.js +0 -67
- package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductSearchResponseResourceArrayResponse.js +0 -50
- package/dist/models/ProductSearchResponseResourceMeta.d.ts +0 -50
- package/dist/models/ProductSearchResponseResourceMeta.js +0 -63
- package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +0 -50
- package/dist/models/ProductSearchResponseResourcePriceInfo.js +0 -63
- package/dist/models/ProductSearchResultResource.d.ts +0 -116
- package/dist/models/ProductSearchResultResource.js +0 -105
- package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductSearchResultResourceArrayResponse.js +0 -50
- package/dist/models/ProductSortBy.d.ts +0 -32
- package/dist/models/ProductSortBy.js +0 -58
- package/dist/models/ProductStatus.d.ts +0 -24
- package/dist/models/ProductStatus.js +0 -50
- package/docs/ProductSearchResponseResource.md +0 -40
- package/docs/ProductSearchResponseResourceMeta.md +0 -40
- package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
- package/docs/ProductSearchResultResource.md +0 -62
- package/src/models/PaginatedProductSearchResultResourceResponse.ts +0 -90
- package/src/models/ProductAggregationResource.ts +0 -93
- package/src/models/ProductAggregationResourceArrayResponse.ts +0 -73
- package/src/models/ProductRating.ts +0 -54
- package/src/models/ProductSearchResponseResource.ts +0 -122
- package/src/models/ProductSearchResponseResourceArrayResponse.ts +0 -73
- package/src/models/ProductSearchResponseResourceMeta.ts +0 -93
- package/src/models/ProductSearchResponseResourcePriceInfo.ts +0 -93
- package/src/models/ProductSearchResultResource.ts +0 -191
- package/src/models/ProductSearchResultResourceArrayResponse.ts +0 -73
- package/src/models/ProductSortBy.ts +0 -60
- package/src/models/ProductStatus.ts +0 -52
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
|
|
17
|
+
import {
|
|
18
|
+
StoreProductCategoryRequestAutomationRulesInnerFromJSON,
|
|
19
|
+
StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped,
|
|
20
|
+
StoreProductCategoryRequestAutomationRulesInnerToJSON,
|
|
21
|
+
StoreProductCategoryRequestAutomationRulesInnerToJSONTyped,
|
|
22
|
+
} from './StoreProductCategoryRequestAutomationRulesInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateProductCategoryRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateProductCategoryRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateProductCategoryRequest
|
|
34
|
+
*/
|
|
35
|
+
siteId?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateProductCategoryRequest
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateProductCategoryRequest
|
|
46
|
+
*/
|
|
47
|
+
slug?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateProductCategoryRequest
|
|
52
|
+
*/
|
|
53
|
+
parentId?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof UpdateProductCategoryRequest
|
|
58
|
+
*/
|
|
59
|
+
isDisabled?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof UpdateProductCategoryRequest
|
|
64
|
+
*/
|
|
65
|
+
hideFromFrontend?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof UpdateProductCategoryRequest
|
|
70
|
+
*/
|
|
71
|
+
isAutomated?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof UpdateProductCategoryRequest
|
|
76
|
+
*/
|
|
77
|
+
index?: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof UpdateProductCategoryRequest
|
|
82
|
+
*/
|
|
83
|
+
automatedConditionType?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
|
|
87
|
+
* @memberof UpdateProductCategoryRequest
|
|
88
|
+
*/
|
|
89
|
+
automationRules?: Array<StoreProductCategoryRequestAutomationRulesInner>;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof UpdateProductCategoryRequest
|
|
94
|
+
*/
|
|
95
|
+
altText?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof UpdateProductCategoryRequest
|
|
100
|
+
*/
|
|
101
|
+
mimeType?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof UpdateProductCategoryRequest
|
|
106
|
+
*/
|
|
107
|
+
fileId?: number;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Check if a given object implements the UpdateProductCategoryRequest interface.
|
|
112
|
+
*/
|
|
113
|
+
export function instanceOfUpdateProductCategoryRequest(value: object): value is UpdateProductCategoryRequest {
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function UpdateProductCategoryRequestFromJSON(json: any): UpdateProductCategoryRequest {
|
|
118
|
+
return UpdateProductCategoryRequestFromJSONTyped(json, false);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function UpdateProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductCategoryRequest {
|
|
122
|
+
if (json == null) {
|
|
123
|
+
return json;
|
|
124
|
+
}
|
|
125
|
+
return {
|
|
126
|
+
|
|
127
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
128
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
129
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
130
|
+
'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
|
|
131
|
+
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
132
|
+
'hideFromFrontend': json['hide_from_frontend'] == null ? undefined : json['hide_from_frontend'],
|
|
133
|
+
'isAutomated': json['is_automated'] == null ? undefined : json['is_automated'],
|
|
134
|
+
'index': json['index'] == null ? undefined : json['index'],
|
|
135
|
+
'automatedConditionType': json['automated_condition_type'] == null ? undefined : json['automated_condition_type'],
|
|
136
|
+
'automationRules': json['automation_rules'] == null ? undefined : ((json['automation_rules'] as Array<any>).map(StoreProductCategoryRequestAutomationRulesInnerFromJSON)),
|
|
137
|
+
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
138
|
+
'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
|
|
139
|
+
'fileId': json['file_id'] == null ? undefined : json['file_id'],
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function UpdateProductCategoryRequestToJSON(json: any): UpdateProductCategoryRequest {
|
|
144
|
+
return UpdateProductCategoryRequestToJSONTyped(json, false);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function UpdateProductCategoryRequestToJSONTyped(value?: UpdateProductCategoryRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
+
if (value == null) {
|
|
149
|
+
return value;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
|
|
154
|
+
'site_id': value['siteId'],
|
|
155
|
+
'name': value['name'],
|
|
156
|
+
'slug': value['slug'],
|
|
157
|
+
'parent_id': value['parentId'],
|
|
158
|
+
'is_disabled': value['isDisabled'],
|
|
159
|
+
'hide_from_frontend': value['hideFromFrontend'],
|
|
160
|
+
'is_automated': value['isAutomated'],
|
|
161
|
+
'index': value['index'],
|
|
162
|
+
'automated_condition_type': value['automatedConditionType'],
|
|
163
|
+
'automation_rules': value['automationRules'] == null ? undefined : ((value['automationRules'] as Array<any>).map(StoreProductCategoryRequestAutomationRulesInnerToJSON)),
|
|
164
|
+
'alt_text': value['altText'],
|
|
165
|
+
'mime_type': value['mimeType'],
|
|
166
|
+
'file_id': value['fileId'],
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -26,6 +26,11 @@ export * from './AttributeResourceArrayResponse';
|
|
|
26
26
|
export * from './AttributeType';
|
|
27
27
|
export * from './AttributeValueResource';
|
|
28
28
|
export * from './AttributeValueResourceArrayResponse';
|
|
29
|
+
export * from './CategoryAutomationComparisonType';
|
|
30
|
+
export * from './CategoryAutomationConditionType';
|
|
31
|
+
export * from './CategoryAutomationFieldType';
|
|
32
|
+
export * from './CategoryAutomationRuleResource';
|
|
33
|
+
export * from './CategoryAutomationRuleResourceArrayResponse';
|
|
29
34
|
export * from './CouponDiscountType';
|
|
30
35
|
export * from './DescriptionResource';
|
|
31
36
|
export * from './DescriptionResourceArrayResponse';
|
|
@@ -51,6 +56,7 @@ export * from './GetAllAttributeRequest';
|
|
|
51
56
|
export * from './GetAllDocumentRequest';
|
|
52
57
|
export * from './GetAllGoogleCategoryRequest';
|
|
53
58
|
export * from './GetAllOverlayTemplateRequest';
|
|
59
|
+
export * from './GetAllProductCategoryRequest';
|
|
54
60
|
export * from './GetAllProductChildRequest';
|
|
55
61
|
export * from './GetAllProductRequest';
|
|
56
62
|
export * from './GetAllProductTypeRequest';
|
|
@@ -61,6 +67,7 @@ export * from './IndexAttributeRequest';
|
|
|
61
67
|
export * from './IndexDocumentRequest';
|
|
62
68
|
export * from './IndexExternalApiLogRequest';
|
|
63
69
|
export * from './IndexOverlayTemplateRequest';
|
|
70
|
+
export * from './IndexProductCategoryRequest';
|
|
64
71
|
export * from './IndexProductChildRequest';
|
|
65
72
|
export * from './IndexProductRequest';
|
|
66
73
|
export * from './IndexProductTypeRequest';
|
|
@@ -90,6 +97,8 @@ export * from './PaginatedGoogleCategoryResourceResponse';
|
|
|
90
97
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
91
98
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
92
99
|
export * from './PaginatedOverlayTemplateResourceResponse';
|
|
100
|
+
export * from './PaginatedProductCategoryListResourceResponse';
|
|
101
|
+
export * from './PaginatedProductCategoryResourceResponse';
|
|
93
102
|
export * from './PaginatedProductChildListResourceResponse';
|
|
94
103
|
export * from './PaginatedProductChildLiteResourceResponse';
|
|
95
104
|
export * from './PaginatedProductChildOverlayRelationResourceResponse';
|
|
@@ -98,7 +107,6 @@ export * from './PaginatedProductChildResourceResponse';
|
|
|
98
107
|
export * from './PaginatedProductListResourceResponse';
|
|
99
108
|
export * from './PaginatedProductLiteResourceResponse';
|
|
100
109
|
export * from './PaginatedProductResourceResponse';
|
|
101
|
-
export * from './PaginatedProductSearchResultResourceResponse';
|
|
102
110
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
103
111
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
104
112
|
export * from './PaginatedProductTypeResourceResponse';
|
|
@@ -115,8 +123,14 @@ export * from './PaginatedTagListResourceResponse';
|
|
|
115
123
|
export * from './PaginatedTagLiteResourceResponse';
|
|
116
124
|
export * from './PaginatedTagResourceResponse';
|
|
117
125
|
export * from './PagingMetadata';
|
|
118
|
-
export * from './
|
|
119
|
-
export * from './
|
|
126
|
+
export * from './ProductCategoryHierarchyResource';
|
|
127
|
+
export * from './ProductCategoryHierarchyResourceArrayResponse';
|
|
128
|
+
export * from './ProductCategoryListResource';
|
|
129
|
+
export * from './ProductCategoryListResourceArrayResponse';
|
|
130
|
+
export * from './ProductCategoryLiteResource';
|
|
131
|
+
export * from './ProductCategoryLiteResourceArrayResponse';
|
|
132
|
+
export * from './ProductCategoryResource';
|
|
133
|
+
export * from './ProductCategoryResourceArrayResponse';
|
|
120
134
|
export * from './ProductChildListResource';
|
|
121
135
|
export * from './ProductChildListResourceArrayResponse';
|
|
122
136
|
export * from './ProductChildLiteResource';
|
|
@@ -135,17 +149,8 @@ export * from './ProductListResource';
|
|
|
135
149
|
export * from './ProductListResourceArrayResponse';
|
|
136
150
|
export * from './ProductLiteResource';
|
|
137
151
|
export * from './ProductLiteResourceArrayResponse';
|
|
138
|
-
export * from './ProductRating';
|
|
139
152
|
export * from './ProductResource';
|
|
140
153
|
export * from './ProductResourceArrayResponse';
|
|
141
|
-
export * from './ProductSearchResponseResource';
|
|
142
|
-
export * from './ProductSearchResponseResourceArrayResponse';
|
|
143
|
-
export * from './ProductSearchResponseResourceMeta';
|
|
144
|
-
export * from './ProductSearchResponseResourcePriceInfo';
|
|
145
|
-
export * from './ProductSearchResultResource';
|
|
146
|
-
export * from './ProductSearchResultResourceArrayResponse';
|
|
147
|
-
export * from './ProductSortBy';
|
|
148
|
-
export * from './ProductStatus';
|
|
149
154
|
export * from './ProductTypeListResource';
|
|
150
155
|
export * from './ProductTypeListResourceArrayResponse';
|
|
151
156
|
export * from './ProductTypeLiteResource';
|
|
@@ -175,6 +180,8 @@ export * from './StoreDocumentFileRequest';
|
|
|
175
180
|
export * from './StoreDocumentRequest';
|
|
176
181
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
177
182
|
export * from './StoreOverlayTemplateRequest';
|
|
183
|
+
export * from './StoreProductCategoryRequest';
|
|
184
|
+
export * from './StoreProductCategoryRequestAutomationRulesInner';
|
|
178
185
|
export * from './StoreProductChildRequest';
|
|
179
186
|
export * from './StoreProductChildRequestAssetsInner';
|
|
180
187
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
@@ -210,6 +217,7 @@ export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
|
210
217
|
export * from './UpdateModelAttributeRequest';
|
|
211
218
|
export * from './UpdateOverlayTemplateAssetRequest';
|
|
212
219
|
export * from './UpdateOverlayTemplateRequest';
|
|
220
|
+
export * from './UpdateProductCategoryRequest';
|
|
213
221
|
export * from './UpdateProductChildRequest';
|
|
214
222
|
export * from './UpdateProductChildRequestAssetsInner';
|
|
215
223
|
export * from './UpdateProductRequest';
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { ProductSearchResultResource } from './ProductSearchResultResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedProductSearchResultResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedProductSearchResultResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<ProductSearchResultResource>}
|
|
23
|
-
* @memberof PaginatedProductSearchResultResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<ProductSearchResultResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedProductSearchResultResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedProductSearchResultResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedProductSearchResultResourceResponse(value: object): value is PaginatedProductSearchResultResourceResponse;
|
|
37
|
-
export declare function PaginatedProductSearchResultResourceResponseFromJSON(json: any): PaginatedProductSearchResultResourceResponse;
|
|
38
|
-
export declare function PaginatedProductSearchResultResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductSearchResultResourceResponse;
|
|
39
|
-
export declare function PaginatedProductSearchResultResourceResponseToJSON(json: any): PaginatedProductSearchResultResourceResponse;
|
|
40
|
-
export declare function PaginatedProductSearchResultResourceResponseToJSONTyped(value?: PaginatedProductSearchResultResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
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.instanceOfPaginatedProductSearchResultResourceResponse = instanceOfPaginatedProductSearchResultResourceResponse;
|
|
17
|
-
exports.PaginatedProductSearchResultResourceResponseFromJSON = PaginatedProductSearchResultResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedProductSearchResultResourceResponseFromJSONTyped = PaginatedProductSearchResultResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedProductSearchResultResourceResponseToJSON = PaginatedProductSearchResultResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedProductSearchResultResourceResponseToJSONTyped = PaginatedProductSearchResultResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var ProductSearchResultResource_1 = require("./ProductSearchResultResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedProductSearchResultResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedProductSearchResultResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedProductSearchResultResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedProductSearchResultResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedProductSearchResultResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedProductSearchResultResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedProductSearchResultResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedProductSearchResultResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
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 ProductAggregationResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductAggregationResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<object>}
|
|
21
|
-
* @memberof ProductAggregationResource
|
|
22
|
-
*/
|
|
23
|
-
attributes: Array<object>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<object>}
|
|
27
|
-
* @memberof ProductAggregationResource
|
|
28
|
-
*/
|
|
29
|
-
priceRanges: Array<object>;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<object>}
|
|
33
|
-
* @memberof ProductAggregationResource
|
|
34
|
-
*/
|
|
35
|
-
brands: Array<object>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<object>}
|
|
39
|
-
* @memberof ProductAggregationResource
|
|
40
|
-
*/
|
|
41
|
-
ratings: Array<object>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the ProductAggregationResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfProductAggregationResource(value: object): value is ProductAggregationResource;
|
|
47
|
-
export declare function ProductAggregationResourceFromJSON(json: any): ProductAggregationResource;
|
|
48
|
-
export declare function ProductAggregationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAggregationResource;
|
|
49
|
-
export declare function ProductAggregationResourceToJSON(json: any): ProductAggregationResource;
|
|
50
|
-
export declare function ProductAggregationResourceToJSONTyped(value?: ProductAggregationResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
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.instanceOfProductAggregationResource = instanceOfProductAggregationResource;
|
|
17
|
-
exports.ProductAggregationResourceFromJSON = ProductAggregationResourceFromJSON;
|
|
18
|
-
exports.ProductAggregationResourceFromJSONTyped = ProductAggregationResourceFromJSONTyped;
|
|
19
|
-
exports.ProductAggregationResourceToJSON = ProductAggregationResourceToJSON;
|
|
20
|
-
exports.ProductAggregationResourceToJSONTyped = ProductAggregationResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductAggregationResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductAggregationResource(value) {
|
|
25
|
-
if (!('attributes' in value) || value['attributes'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('priceRanges' in value) || value['priceRanges'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('brands' in value) || value['brands'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('ratings' in value) || value['ratings'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function ProductAggregationResourceFromJSON(json) {
|
|
36
|
-
return ProductAggregationResourceFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function ProductAggregationResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'attributes': json['attributes'],
|
|
44
|
-
'priceRanges': json['priceRanges'],
|
|
45
|
-
'brands': json['brands'],
|
|
46
|
-
'ratings': json['ratings'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function ProductAggregationResourceToJSON(json) {
|
|
50
|
-
return ProductAggregationResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function ProductAggregationResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'attributes': value['attributes'],
|
|
59
|
-
'priceRanges': value['priceRanges'],
|
|
60
|
-
'brands': value['brands'],
|
|
61
|
-
'ratings': value['ratings'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
import type { ProductAggregationResource } from './ProductAggregationResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductAggregationResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductAggregationResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductAggregationResource>}
|
|
22
|
-
* @memberof ProductAggregationResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductAggregationResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductAggregationResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductAggregationResourceArrayResponse(value: object): value is ProductAggregationResourceArrayResponse;
|
|
30
|
-
export declare function ProductAggregationResourceArrayResponseFromJSON(json: any): ProductAggregationResourceArrayResponse;
|
|
31
|
-
export declare function ProductAggregationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAggregationResourceArrayResponse;
|
|
32
|
-
export declare function ProductAggregationResourceArrayResponseToJSON(json: any): ProductAggregationResourceArrayResponse;
|
|
33
|
-
export declare function ProductAggregationResourceArrayResponseToJSONTyped(value?: ProductAggregationResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfProductAggregationResourceArrayResponse = instanceOfProductAggregationResourceArrayResponse;
|
|
17
|
-
exports.ProductAggregationResourceArrayResponseFromJSON = ProductAggregationResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductAggregationResourceArrayResponseFromJSONTyped = ProductAggregationResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductAggregationResourceArrayResponseToJSON = ProductAggregationResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductAggregationResourceArrayResponseToJSONTyped = ProductAggregationResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductAggregationResource_1 = require("./ProductAggregationResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductAggregationResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductAggregationResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductAggregationResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductAggregationResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductAggregationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductAggregationResource_1.ProductAggregationResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductAggregationResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductAggregationResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductAggregationResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductAggregationResource_1.ProductAggregationResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
*/
|
|
16
|
-
export declare const ProductRating: {
|
|
17
|
-
readonly _5: "5";
|
|
18
|
-
readonly _4: "4";
|
|
19
|
-
readonly _3: "3";
|
|
20
|
-
};
|
|
21
|
-
export type ProductRating = typeof ProductRating[keyof typeof ProductRating];
|
|
22
|
-
export declare function instanceOfProductRating(value: any): boolean;
|
|
23
|
-
export declare function ProductRatingFromJSON(json: any): ProductRating;
|
|
24
|
-
export declare function ProductRatingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRating;
|
|
25
|
-
export declare function ProductRatingToJSON(value?: ProductRating | null): any;
|
|
26
|
-
export declare function ProductRatingToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRating;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.ProductRating = void 0;
|
|
17
|
-
exports.instanceOfProductRating = instanceOfProductRating;
|
|
18
|
-
exports.ProductRatingFromJSON = ProductRatingFromJSON;
|
|
19
|
-
exports.ProductRatingFromJSONTyped = ProductRatingFromJSONTyped;
|
|
20
|
-
exports.ProductRatingToJSON = ProductRatingToJSON;
|
|
21
|
-
exports.ProductRatingToJSONTyped = ProductRatingToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductRating = {
|
|
27
|
-
_5: '5',
|
|
28
|
-
_4: '4',
|
|
29
|
-
_3: '3'
|
|
30
|
-
};
|
|
31
|
-
function instanceOfProductRating(value) {
|
|
32
|
-
for (var key in exports.ProductRating) {
|
|
33
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductRating, key)) {
|
|
34
|
-
if (exports.ProductRating[key] === value) {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
function ProductRatingFromJSON(json) {
|
|
42
|
-
return ProductRatingFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function ProductRatingFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
function ProductRatingToJSON(value) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
function ProductRatingToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|