@digital8/lighting-illusions-ts-sdk 0.0.985 → 0.0.987
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 +0 -6
- package/README.md +3 -8
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/ProductCategoryApi.d.ts +4 -23
- package/dist/apis/ProductCategoryApi.js +7 -71
- package/dist/models/CategoryAutomationRuleResource.d.ts +3 -3
- package/dist/models/CategoryAutomationRuleResource.js +5 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllProductChildRequest.d.ts +0 -6
- package/dist/models/GetAllProductChildRequest.js +0 -2
- package/dist/models/IndexProductCategoryRequest.d.ts +0 -2
- package/dist/models/IndexProductCategoryRequest.js +1 -3
- package/dist/models/IndexProductChildRequest.d.ts +0 -6
- package/dist/models/IndexProductChildRequest.js +0 -2
- package/dist/models/PreviewAutomationRulesResource.d.ts +6 -0
- package/dist/models/PreviewAutomationRulesResource.js +2 -0
- package/dist/models/ProductAggregationResource.d.ts +2 -2
- package/dist/models/ProductCategoryResource.d.ts +0 -6
- package/dist/models/ProductCategoryResource.js +0 -4
- package/dist/models/ProductChildResource.d.ts +0 -6
- package/dist/models/ProductChildResource.js +0 -4
- package/dist/models/ProductChildSiteDetailResource.d.ts +0 -18
- package/dist/models/ProductChildSiteDetailResource.js +0 -12
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +3 -3
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +5 -3
- package/dist/models/StoreProductChildRequest.d.ts +1 -7
- package/dist/models/StoreProductChildRequest.js +4 -6
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +0 -18
- package/dist/models/StoreProductChildRequestSitesInner.js +0 -12
- package/dist/models/UpdateProductChildRequest.d.ts +0 -12
- package/dist/models/UpdateProductChildRequest.js +0 -6
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/docs/AttributeApi.md +0 -66
- package/docs/CategoryAutomationRuleResource.md +3 -3
- package/docs/GetAllProductChildRequest.md +0 -2
- package/docs/IndexProductChildRequest.md +0 -2
- package/docs/PreviewAutomationRulesResource.md +2 -0
- package/docs/ProductAggregationResource.md +1 -1
- package/docs/ProductCategoryApi.md +6 -83
- package/docs/ProductCategoryResource.md +0 -2
- package/docs/ProductChildResource.md +0 -2
- package/docs/ProductChildSiteDetailResource.md +0 -6
- package/docs/StoreProductCategoryRequestAutomationRulesInner.md +2 -2
- package/docs/StoreProductChildRequest.md +0 -2
- package/docs/StoreProductChildRequestSitesInner.md +0 -6
- package/docs/UpdateProductChildRequest.md +0 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/ProductCategoryApi.ts +6 -72
- package/src/models/CategoryAutomationRuleResource.ts +7 -6
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllProductChildRequest.ts +0 -8
- package/src/models/IndexProductCategoryRequest.ts +1 -3
- package/src/models/IndexProductChildRequest.ts +0 -8
- package/src/models/PreviewAutomationRulesResource.ts +8 -0
- package/src/models/ProductAggregationResource.ts +2 -2
- package/src/models/ProductCategoryResource.ts +0 -9
- package/src/models/ProductChildResource.ts +0 -9
- package/src/models/ProductChildSiteDetailResource.ts +0 -27
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +7 -6
- package/src/models/StoreProductChildRequest.ts +4 -12
- package/src/models/StoreProductChildRequestSitesInner.ts +0 -27
- package/src/models/UpdateProductChildRequest.ts +0 -17
- package/src/models/index.ts +0 -3
- package/dist/models/GetHierarchyProductCategoryRequest.d.ts +0 -32
- package/dist/models/GetHierarchyProductCategoryRequest.js +0 -51
- package/dist/models/IndexAttributeValueRequest.d.ts +0 -105
- package/dist/models/IndexAttributeValueRequest.js +0 -88
- package/dist/models/PaginatedAttributeValueResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAttributeValueResourceResponse.js +0 -57
- package/docs/GetHierarchyProductCategoryRequest.md +0 -34
- package/docs/IndexAttributeValueRequest.md +0 -50
- package/docs/PaginatedAttributeValueResourceResponse.md +0 -36
- package/src/models/GetHierarchyProductCategoryRequest.ts +0 -66
- package/src/models/IndexAttributeValueRequest.ts +0 -159
- package/src/models/PaginatedAttributeValueResourceResponse.ts +0 -90
|
@@ -1,90 +0,0 @@
|
|
|
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 { AttributeValueResource } from './AttributeValueResource';
|
|
17
|
-
import {
|
|
18
|
-
AttributeValueResourceFromJSON,
|
|
19
|
-
AttributeValueResourceFromJSONTyped,
|
|
20
|
-
AttributeValueResourceToJSON,
|
|
21
|
-
AttributeValueResourceToJSONTyped,
|
|
22
|
-
} from './AttributeValueResource';
|
|
23
|
-
import type { PagingMetadata } from './PagingMetadata';
|
|
24
|
-
import {
|
|
25
|
-
PagingMetadataFromJSON,
|
|
26
|
-
PagingMetadataFromJSONTyped,
|
|
27
|
-
PagingMetadataToJSON,
|
|
28
|
-
PagingMetadataToJSONTyped,
|
|
29
|
-
} from './PagingMetadata';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedAttributeValueResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedAttributeValueResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<AttributeValueResource>}
|
|
40
|
-
* @memberof PaginatedAttributeValueResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<AttributeValueResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedAttributeValueResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedAttributeValueResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedAttributeValueResourceResponse(value: object): value is PaginatedAttributeValueResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedAttributeValueResourceResponseFromJSON(json: any): PaginatedAttributeValueResourceResponse {
|
|
61
|
-
return PaginatedAttributeValueResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedAttributeValueResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAttributeValueResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(AttributeValueResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedAttributeValueResourceResponseToJSON(json: any): PaginatedAttributeValueResourceResponse {
|
|
76
|
-
return PaginatedAttributeValueResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedAttributeValueResourceResponseToJSONTyped(value?: PaginatedAttributeValueResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(AttributeValueResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|