@digital8/lighting-illusions-ts-sdk 0.0.534 → 0.0.536
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 +28 -4
- package/README.md +16 -4
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductSearchResultResourceResponse.js +57 -0
- package/dist/models/ProductAggregationResource.d.ts +50 -0
- package/dist/models/ProductAggregationResource.js +63 -0
- package/dist/models/ProductAggregationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductAggregationResourceArrayResponse.js +50 -0
- package/dist/models/ProductCategoryResource.d.ts +14 -0
- package/dist/models/ProductCategoryResource.js +10 -0
- package/dist/models/ProductRating.d.ts +26 -0
- package/dist/models/ProductRating.js +52 -0
- package/dist/models/ProductSearchResponseResource.d.ts +54 -0
- package/dist/models/ProductSearchResponseResource.js +67 -0
- package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductSearchResponseResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResponseResourceMeta.d.ts +50 -0
- package/dist/models/ProductSearchResponseResourceMeta.js +63 -0
- package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +50 -0
- package/dist/models/ProductSearchResponseResourcePriceInfo.js +63 -0
- package/dist/models/ProductSearchResultResource.d.ts +116 -0
- package/dist/models/ProductSearchResultResource.js +105 -0
- package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductSearchResultResourceArrayResponse.js +50 -0
- package/dist/models/ProductSortBy.d.ts +32 -0
- package/dist/models/ProductSortBy.js +58 -0
- package/dist/models/ProductStatus.d.ts +24 -0
- package/dist/models/ProductStatus.js +50 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +23 -1
- package/dist/models/StoreProductCategoryRequest.js +14 -0
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +27 -2
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +24 -0
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.js +55 -0
- package/dist/models/StoreSupplierRequest.d.ts +6 -6
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateProductCategoryRequest.d.ts +24 -2
- package/dist/models/UpdateProductCategoryRequest.js +17 -1
- package/dist/models/UpdateSupplierRequest.d.ts +6 -6
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +14 -2
- package/dist/models/index.js +14 -2
- package/docs/PaginatedProductSearchResultResourceResponse.md +36 -0
- package/docs/ProductAggregationResource.md +40 -0
- package/docs/ProductAggregationResourceArrayResponse.md +34 -0
- package/docs/ProductCategoryResource.md +4 -0
- package/docs/ProductRating.md +32 -0
- package/docs/ProductSearchResponseResource.md +40 -0
- package/docs/ProductSearchResponseResourceArrayResponse.md +34 -0
- package/docs/ProductSearchResponseResourceMeta.md +40 -0
- package/docs/ProductSearchResponseResourcePriceInfo.md +40 -0
- package/docs/ProductSearchResultResource.md +62 -0
- package/docs/ProductSearchResultResourceArrayResponse.md +34 -0
- package/docs/ProductSortBy.md +32 -0
- package/docs/ProductStatus.md +32 -0
- package/docs/StoreProductCategoryRequest.md +4 -0
- package/docs/{StoreSupplierRequestDescriptionsInner.md → StoreProductCategoryRequestDescriptionsInner.md} +4 -4
- package/docs/{StoreSupplierRequestSeoInner.md → StoreProductCategoryRequestSeoInner.md} +4 -4
- package/docs/StoreSupplierRequest.md +2 -2
- package/docs/UpdateProductCategoryRequest.md +4 -0
- package/docs/UpdateSupplierRequest.md +2 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/PaginatedProductSearchResultResourceResponse.ts +90 -0
- package/src/models/ProductAggregationResource.ts +93 -0
- package/src/models/ProductAggregationResourceArrayResponse.ts +73 -0
- package/src/models/ProductCategoryResource.ts +32 -0
- package/src/models/ProductRating.ts +54 -0
- package/src/models/ProductSearchResponseResource.ts +122 -0
- package/src/models/ProductSearchResponseResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResponseResourceMeta.ts +93 -0
- package/src/models/ProductSearchResponseResourcePriceInfo.ts +93 -0
- package/src/models/ProductSearchResultResource.ts +191 -0
- package/src/models/ProductSearchResultResourceArrayResponse.ts +73 -0
- package/src/models/ProductSortBy.ts +60 -0
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/StoreProductCategoryRequest.ts +42 -1
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +31 -2
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +82 -0
- package/src/models/{StoreSupplierRequestSeoInner.ts → StoreProductCategoryRequestSeoInner.ts} +13 -13
- package/src/models/StoreSupplierRequest.ts +20 -20
- package/src/models/UpdateProductCategoryRequest.ts +45 -3
- package/src/models/UpdateSupplierRequest.ts +20 -20
- package/src/models/index.ts +14 -2
- package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestSeoInner.js +0 -55
- package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
|
@@ -0,0 +1,33 @@
|
|
|
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 { ProductSearchResultResource } from './ProductSearchResultResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductSearchResultResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductSearchResultResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ProductSearchResultResource>}
|
|
22
|
+
* @memberof ProductSearchResultResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ProductSearchResultResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProductSearchResultResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProductSearchResultResourceArrayResponse(value: object): value is ProductSearchResultResourceArrayResponse;
|
|
30
|
+
export declare function ProductSearchResultResourceArrayResponseFromJSON(json: any): ProductSearchResultResourceArrayResponse;
|
|
31
|
+
export declare function ProductSearchResultResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSearchResultResourceArrayResponse;
|
|
32
|
+
export declare function ProductSearchResultResourceArrayResponseToJSON(json: any): ProductSearchResultResourceArrayResponse;
|
|
33
|
+
export declare function ProductSearchResultResourceArrayResponseToJSONTyped(value?: ProductSearchResultResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfProductSearchResultResourceArrayResponse = instanceOfProductSearchResultResourceArrayResponse;
|
|
17
|
+
exports.ProductSearchResultResourceArrayResponseFromJSON = ProductSearchResultResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ProductSearchResultResourceArrayResponseFromJSONTyped = ProductSearchResultResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ProductSearchResultResourceArrayResponseToJSON = ProductSearchResultResourceArrayResponseToJSON;
|
|
20
|
+
exports.ProductSearchResultResourceArrayResponseToJSONTyped = ProductSearchResultResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ProductSearchResultResource_1 = require("./ProductSearchResultResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProductSearchResultResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProductSearchResultResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProductSearchResultResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ProductSearchResultResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProductSearchResultResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ProductSearchResultResource_1.ProductSearchResultResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProductSearchResultResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ProductSearchResultResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductSearchResultResourceArrayResponseToJSONTyped(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(ProductSearchResultResource_1.ProductSearchResultResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ProductSortBy: {
|
|
17
|
+
readonly Relevance: "relevance";
|
|
18
|
+
readonly MostPopular: "mostPopular";
|
|
19
|
+
readonly HighestRating: "highestRating";
|
|
20
|
+
readonly LowestRating: "lowestRating";
|
|
21
|
+
readonly DescendingPrice: "descendingPrice";
|
|
22
|
+
readonly AscendingPrice: "ascendingPrice";
|
|
23
|
+
readonly DescendingName: "descendingName";
|
|
24
|
+
readonly AscendingName: "ascendingName";
|
|
25
|
+
readonly RecentlyAdded: "recentlyAdded";
|
|
26
|
+
};
|
|
27
|
+
export type ProductSortBy = typeof ProductSortBy[keyof typeof ProductSortBy];
|
|
28
|
+
export declare function instanceOfProductSortBy(value: any): boolean;
|
|
29
|
+
export declare function ProductSortByFromJSON(json: any): ProductSortBy;
|
|
30
|
+
export declare function ProductSortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSortBy;
|
|
31
|
+
export declare function ProductSortByToJSON(value?: ProductSortBy | null): any;
|
|
32
|
+
export declare function ProductSortByToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductSortBy;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.ProductSortBy = void 0;
|
|
17
|
+
exports.instanceOfProductSortBy = instanceOfProductSortBy;
|
|
18
|
+
exports.ProductSortByFromJSON = ProductSortByFromJSON;
|
|
19
|
+
exports.ProductSortByFromJSONTyped = ProductSortByFromJSONTyped;
|
|
20
|
+
exports.ProductSortByToJSON = ProductSortByToJSON;
|
|
21
|
+
exports.ProductSortByToJSONTyped = ProductSortByToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ProductSortBy = {
|
|
27
|
+
Relevance: 'relevance',
|
|
28
|
+
MostPopular: 'mostPopular',
|
|
29
|
+
HighestRating: 'highestRating',
|
|
30
|
+
LowestRating: 'lowestRating',
|
|
31
|
+
DescendingPrice: 'descendingPrice',
|
|
32
|
+
AscendingPrice: 'ascendingPrice',
|
|
33
|
+
DescendingName: 'descendingName',
|
|
34
|
+
AscendingName: 'ascendingName',
|
|
35
|
+
RecentlyAdded: 'recentlyAdded'
|
|
36
|
+
};
|
|
37
|
+
function instanceOfProductSortBy(value) {
|
|
38
|
+
for (var key in exports.ProductSortBy) {
|
|
39
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProductSortBy, key)) {
|
|
40
|
+
if (exports.ProductSortBy[key] === value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
function ProductSortByFromJSON(json) {
|
|
48
|
+
return ProductSortByFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ProductSortByFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
function ProductSortByToJSON(value) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
function ProductSortByToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 ProductStatus: {
|
|
17
|
+
readonly InStock: "in_stock";
|
|
18
|
+
};
|
|
19
|
+
export type ProductStatus = typeof ProductStatus[keyof typeof ProductStatus];
|
|
20
|
+
export declare function instanceOfProductStatus(value: any): boolean;
|
|
21
|
+
export declare function ProductStatusFromJSON(json: any): ProductStatus;
|
|
22
|
+
export declare function ProductStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
23
|
+
export declare function ProductStatusToJSON(value?: ProductStatus | null): any;
|
|
24
|
+
export declare function ProductStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ProductStatus = void 0;
|
|
17
|
+
exports.instanceOfProductStatus = instanceOfProductStatus;
|
|
18
|
+
exports.ProductStatusFromJSON = ProductStatusFromJSON;
|
|
19
|
+
exports.ProductStatusFromJSONTyped = ProductStatusFromJSONTyped;
|
|
20
|
+
exports.ProductStatusToJSON = ProductStatusToJSON;
|
|
21
|
+
exports.ProductStatusToJSONTyped = ProductStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ProductStatus = {
|
|
27
|
+
InStock: 'in_stock'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfProductStatus(value) {
|
|
30
|
+
for (var key in exports.ProductStatus) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProductStatus, key)) {
|
|
32
|
+
if (exports.ProductStatus[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function ProductStatusFromJSON(json) {
|
|
40
|
+
return ProductStatusFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProductStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function ProductStatusToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function ProductStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
|
|
13
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
|
|
12
14
|
import type { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
@@ -69,7 +71,7 @@ export interface StoreProductCategoryRequest {
|
|
|
69
71
|
* @type {string}
|
|
70
72
|
* @memberof StoreProductCategoryRequest
|
|
71
73
|
*/
|
|
72
|
-
automatedConditionType?:
|
|
74
|
+
automatedConditionType?: StoreProductCategoryRequestAutomatedConditionTypeEnum;
|
|
73
75
|
/**
|
|
74
76
|
*
|
|
75
77
|
* @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
|
|
@@ -94,7 +96,27 @@ export interface StoreProductCategoryRequest {
|
|
|
94
96
|
* @memberof StoreProductCategoryRequest
|
|
95
97
|
*/
|
|
96
98
|
fileId: number;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Array<StoreProductCategoryRequestSeoInner>}
|
|
102
|
+
* @memberof StoreProductCategoryRequest
|
|
103
|
+
*/
|
|
104
|
+
seo?: Array<StoreProductCategoryRequestSeoInner>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {Array<StoreProductCategoryRequestDescriptionsInner>}
|
|
108
|
+
* @memberof StoreProductCategoryRequest
|
|
109
|
+
*/
|
|
110
|
+
descriptions?: Array<StoreProductCategoryRequestDescriptionsInner>;
|
|
97
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export declare const StoreProductCategoryRequestAutomatedConditionTypeEnum: {
|
|
116
|
+
readonly And: "and";
|
|
117
|
+
readonly Or: "or";
|
|
118
|
+
};
|
|
119
|
+
export type StoreProductCategoryRequestAutomatedConditionTypeEnum = typeof StoreProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof StoreProductCategoryRequestAutomatedConditionTypeEnum];
|
|
98
120
|
/**
|
|
99
121
|
* Check if a given object implements the StoreProductCategoryRequest interface.
|
|
100
122
|
*/
|
|
@@ -13,12 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.StoreProductCategoryRequestAutomatedConditionTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfStoreProductCategoryRequest = instanceOfStoreProductCategoryRequest;
|
|
17
18
|
exports.StoreProductCategoryRequestFromJSON = StoreProductCategoryRequestFromJSON;
|
|
18
19
|
exports.StoreProductCategoryRequestFromJSONTyped = StoreProductCategoryRequestFromJSONTyped;
|
|
19
20
|
exports.StoreProductCategoryRequestToJSON = StoreProductCategoryRequestToJSON;
|
|
20
21
|
exports.StoreProductCategoryRequestToJSONTyped = StoreProductCategoryRequestToJSONTyped;
|
|
22
|
+
var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
|
|
23
|
+
var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
|
|
21
24
|
var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.StoreProductCategoryRequestAutomatedConditionTypeEnum = {
|
|
29
|
+
And: 'and',
|
|
30
|
+
Or: 'or'
|
|
31
|
+
};
|
|
22
32
|
/**
|
|
23
33
|
* Check if a given object implements the StoreProductCategoryRequest interface.
|
|
24
34
|
*/
|
|
@@ -58,6 +68,8 @@ function StoreProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
68
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
59
69
|
'mimeType': json['mime_type'],
|
|
60
70
|
'fileId': json['file_id'],
|
|
71
|
+
'seo': json['seo'] == null ? undefined : (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
|
|
72
|
+
'descriptions': json['descriptions'] == null ? undefined : (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
|
|
61
73
|
};
|
|
62
74
|
}
|
|
63
75
|
function StoreProductCategoryRequestToJSON(json) {
|
|
@@ -82,5 +94,7 @@ function StoreProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
94
|
'alt_text': value['altText'],
|
|
83
95
|
'mime_type': value['mimeType'],
|
|
84
96
|
'file_id': value['fileId'],
|
|
97
|
+
'seo': value['seo'] == null ? undefined : (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
|
|
98
|
+
'descriptions': value['descriptions'] == null ? undefined : (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
|
|
85
99
|
};
|
|
86
100
|
}
|
|
@@ -20,13 +20,13 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof StoreProductCategoryRequestAutomationRulesInner
|
|
22
22
|
*/
|
|
23
|
-
fieldType:
|
|
23
|
+
fieldType: StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof StoreProductCategoryRequestAutomationRulesInner
|
|
28
28
|
*/
|
|
29
|
-
comparisonType:
|
|
29
|
+
comparisonType: StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
@@ -52,6 +52,31 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
|
|
|
52
52
|
*/
|
|
53
53
|
valueId?: number;
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum: {
|
|
59
|
+
readonly Price: "price";
|
|
60
|
+
readonly Name: "name";
|
|
61
|
+
readonly VariantName: "variant_name";
|
|
62
|
+
readonly Attribute: "attribute";
|
|
63
|
+
readonly Tag: "tag";
|
|
64
|
+
readonly Supplier: "supplier";
|
|
65
|
+
readonly Label: "label";
|
|
66
|
+
};
|
|
67
|
+
export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum: {
|
|
72
|
+
readonly Greater: "greater";
|
|
73
|
+
readonly Less: "less";
|
|
74
|
+
readonly Equal: "equal";
|
|
75
|
+
readonly NotEqual: "notEqual";
|
|
76
|
+
readonly Contains: "contains";
|
|
77
|
+
readonly NotContains: "notContains";
|
|
78
|
+
};
|
|
79
|
+
export type StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum];
|
|
55
80
|
/**
|
|
56
81
|
* Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
|
|
57
82
|
*/
|
|
@@ -13,11 +13,35 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfStoreProductCategoryRequestAutomationRulesInner = instanceOfStoreProductCategoryRequestAutomationRulesInner;
|
|
17
18
|
exports.StoreProductCategoryRequestAutomationRulesInnerFromJSON = StoreProductCategoryRequestAutomationRulesInnerFromJSON;
|
|
18
19
|
exports.StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped = StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped;
|
|
19
20
|
exports.StoreProductCategoryRequestAutomationRulesInnerToJSON = StoreProductCategoryRequestAutomationRulesInnerToJSON;
|
|
20
21
|
exports.StoreProductCategoryRequestAutomationRulesInnerToJSONTyped = StoreProductCategoryRequestAutomationRulesInnerToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
|
|
26
|
+
Price: 'price',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
VariantName: 'variant_name',
|
|
29
|
+
Attribute: 'attribute',
|
|
30
|
+
Tag: 'tag',
|
|
31
|
+
Supplier: 'supplier',
|
|
32
|
+
Label: 'label'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = {
|
|
38
|
+
Greater: 'greater',
|
|
39
|
+
Less: 'less',
|
|
40
|
+
Equal: 'equal',
|
|
41
|
+
NotEqual: 'notEqual',
|
|
42
|
+
Contains: 'contains',
|
|
43
|
+
NotContains: 'notContains'
|
|
44
|
+
};
|
|
21
45
|
/**
|
|
22
46
|
* Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
|
|
23
47
|
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
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 StoreProductCategoryRequestDescriptionsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface StoreProductCategoryRequestDescriptionsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
22
|
+
*/
|
|
23
|
+
headerDescription?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
28
|
+
*/
|
|
29
|
+
footerDescription?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
34
|
+
*/
|
|
35
|
+
siteId: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the StoreProductCategoryRequestDescriptionsInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfStoreProductCategoryRequestDescriptionsInner(value: object): value is StoreProductCategoryRequestDescriptionsInner;
|
|
41
|
+
export declare function StoreProductCategoryRequestDescriptionsInnerFromJSON(json: any): StoreProductCategoryRequestDescriptionsInner;
|
|
42
|
+
export declare function StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestDescriptionsInner;
|
|
43
|
+
export declare function StoreProductCategoryRequestDescriptionsInnerToJSON(json: any): StoreProductCategoryRequestDescriptionsInner;
|
|
44
|
+
export declare function StoreProductCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreProductCategoryRequestDescriptionsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfStoreProductCategoryRequestDescriptionsInner = instanceOfStoreProductCategoryRequestDescriptionsInner;
|
|
17
|
+
exports.StoreProductCategoryRequestDescriptionsInnerFromJSON = StoreProductCategoryRequestDescriptionsInnerFromJSON;
|
|
18
|
+
exports.StoreProductCategoryRequestDescriptionsInnerFromJSONTyped = StoreProductCategoryRequestDescriptionsInnerFromJSONTyped;
|
|
19
|
+
exports.StoreProductCategoryRequestDescriptionsInnerToJSON = StoreProductCategoryRequestDescriptionsInnerToJSON;
|
|
20
|
+
exports.StoreProductCategoryRequestDescriptionsInnerToJSONTyped = StoreProductCategoryRequestDescriptionsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreProductCategoryRequestDescriptionsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreProductCategoryRequestDescriptionsInner(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function StoreProductCategoryRequestDescriptionsInnerFromJSON(json) {
|
|
30
|
+
return StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
|
|
38
|
+
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
39
|
+
'siteId': json['site_id'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function StoreProductCategoryRequestDescriptionsInnerToJSON(json) {
|
|
43
|
+
return StoreProductCategoryRequestDescriptionsInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StoreProductCategoryRequestDescriptionsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'header_description': value['headerDescription'],
|
|
52
|
+
'footer_description': value['footerDescription'],
|
|
53
|
+
'site_id': value['siteId'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 StoreProductCategoryRequestSeoInner
|
|
16
|
+
*/
|
|
17
|
+
export interface StoreProductCategoryRequestSeoInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StoreProductCategoryRequestSeoInner
|
|
22
|
+
*/
|
|
23
|
+
seoTitle?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StoreProductCategoryRequestSeoInner
|
|
28
|
+
*/
|
|
29
|
+
seoDescription?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StoreProductCategoryRequestSeoInner
|
|
34
|
+
*/
|
|
35
|
+
siteId: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the StoreProductCategoryRequestSeoInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfStoreProductCategoryRequestSeoInner(value: object): value is StoreProductCategoryRequestSeoInner;
|
|
41
|
+
export declare function StoreProductCategoryRequestSeoInnerFromJSON(json: any): StoreProductCategoryRequestSeoInner;
|
|
42
|
+
export declare function StoreProductCategoryRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestSeoInner;
|
|
43
|
+
export declare function StoreProductCategoryRequestSeoInnerToJSON(json: any): StoreProductCategoryRequestSeoInner;
|
|
44
|
+
export declare function StoreProductCategoryRequestSeoInnerToJSONTyped(value?: StoreProductCategoryRequestSeoInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfStoreProductCategoryRequestSeoInner = instanceOfStoreProductCategoryRequestSeoInner;
|
|
17
|
+
exports.StoreProductCategoryRequestSeoInnerFromJSON = StoreProductCategoryRequestSeoInnerFromJSON;
|
|
18
|
+
exports.StoreProductCategoryRequestSeoInnerFromJSONTyped = StoreProductCategoryRequestSeoInnerFromJSONTyped;
|
|
19
|
+
exports.StoreProductCategoryRequestSeoInnerToJSON = StoreProductCategoryRequestSeoInnerToJSON;
|
|
20
|
+
exports.StoreProductCategoryRequestSeoInnerToJSONTyped = StoreProductCategoryRequestSeoInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreProductCategoryRequestSeoInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreProductCategoryRequestSeoInner(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function StoreProductCategoryRequestSeoInnerFromJSON(json) {
|
|
30
|
+
return StoreProductCategoryRequestSeoInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function StoreProductCategoryRequestSeoInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
38
|
+
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
|
39
|
+
'siteId': json['site_id'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function StoreProductCategoryRequestSeoInnerToJSON(json) {
|
|
43
|
+
return StoreProductCategoryRequestSeoInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StoreProductCategoryRequestSeoInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'seo_title': value['seoTitle'],
|
|
52
|
+
'seo_description': value['seoDescription'],
|
|
53
|
+
'site_id': value['siteId'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
12
|
+
import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
|
|
13
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -37,10 +37,10 @@ export interface StoreSupplierRequest {
|
|
|
37
37
|
supplierEta: number;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {Array<
|
|
40
|
+
* @type {Array<StoreProductCategoryRequestSeoInner>}
|
|
41
41
|
* @memberof StoreSupplierRequest
|
|
42
42
|
*/
|
|
43
|
-
seo: Array<
|
|
43
|
+
seo: Array<StoreProductCategoryRequestSeoInner>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {string}
|
|
@@ -61,10 +61,10 @@ export interface StoreSupplierRequest {
|
|
|
61
61
|
fileId: number;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {Array<
|
|
64
|
+
* @type {Array<StoreProductCategoryRequestDescriptionsInner>}
|
|
65
65
|
* @memberof StoreSupplierRequest
|
|
66
66
|
*/
|
|
67
|
-
descriptions: Array<
|
|
67
|
+
descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Check if a given object implements the StoreSupplierRequest interface.
|