@digital8/lighting-illusions-ts-sdk 0.0.1631 → 0.0.1633
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 +18 -2
- package/README.md +11 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +2 -6
- package/dist/models/BlogCategoryListResource.d.ts +44 -0
- package/dist/models/BlogCategoryListResource.js +59 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryLiteResource.d.ts +38 -0
- package/dist/models/BlogCategoryLiteResource.js +55 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryResource.d.ts +51 -0
- package/dist/models/BlogCategoryResource.js +64 -0
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +57 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +0 -12
- package/dist/models/StoreResource.js +0 -4
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/StoreStoreRequest.d.ts +0 -12
- package/dist/models/StoreStoreRequest.js +0 -4
- package/dist/models/UpdateStoreRequest.d.ts +0 -12
- package/dist/models/UpdateStoreRequest.js +0 -4
- package/dist/models/index.d.ts +9 -1
- package/dist/models/index.js +9 -1
- package/docs/BlogCategoryListResource.md +38 -0
- package/docs/BlogCategoryListResourceArrayResponse.md +34 -0
- package/docs/{ProductChildStoreStockType.md → BlogCategoryLiteResource.md} +8 -4
- package/docs/BlogCategoryLiteResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryResource.md +40 -0
- package/docs/BlogCategoryResourceArrayResponse.md +34 -0
- package/docs/PaginatedBlogCategoryListResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryResourceResponse.md +36 -0
- package/docs/StoreResource.md +0 -4
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreStoreRequest.md +0 -4
- package/docs/UpdateStoreRequest.md +0 -4
- package/package.json +1 -1
- package/src/models/AddressResource.ts +4 -6
- package/src/models/BlogCategoryListResource.ts +84 -0
- package/src/models/BlogCategoryListResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryLiteResource.ts +75 -0
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryResource.ts +101 -0
- package/src/models/BlogCategoryResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +90 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +0 -16
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/StoreStoreRequest.ts +0 -16
- package/src/models/UpdateStoreRequest.ts +0 -16
- package/src/models/index.ts +9 -1
- package/dist/models/ProductChildStoreStockType.d.ts +0 -25
- package/dist/models/ProductChildStoreStockType.js +0 -51
- package/src/models/ProductChildStoreStockType.ts +0 -53
|
@@ -88,18 +88,6 @@ export interface UpdateStoreRequest {
|
|
|
88
88
|
* @memberof UpdateStoreRequest
|
|
89
89
|
*/
|
|
90
90
|
openingHours?: Array<string | null>;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof UpdateStoreRequest
|
|
95
|
-
*/
|
|
96
|
-
netsuiteId?: number | null;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {number}
|
|
100
|
-
* @memberof UpdateStoreRequest
|
|
101
|
-
*/
|
|
102
|
-
displayNetsuiteId?: number | null;
|
|
103
91
|
/**
|
|
104
92
|
*
|
|
105
93
|
* @type {Array<number>}
|
|
@@ -152,8 +140,6 @@ export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
152
140
|
'email': json['email'] == null ? undefined : json['email'],
|
|
153
141
|
'website': json['website'] == null ? undefined : json['website'],
|
|
154
142
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
155
|
-
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
156
|
-
'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
|
|
157
143
|
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
158
144
|
'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
|
|
159
145
|
'address': StoreStoreRequestAddressFromJSON(json['address']),
|
|
@@ -180,8 +166,6 @@ export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null,
|
|
|
180
166
|
'email': value['email'],
|
|
181
167
|
'website': value['website'],
|
|
182
168
|
'opening_hours': value['openingHours'],
|
|
183
|
-
'netsuite_id': value['netsuiteId'],
|
|
184
|
-
'display_netsuite_id': value['displayNetsuiteId'],
|
|
185
169
|
'supplier_ids': value['supplierIds'],
|
|
186
170
|
'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),
|
|
187
171
|
'address': StoreStoreRequestAddressToJSON(value['address']),
|
package/src/models/index.ts
CHANGED
|
@@ -41,6 +41,12 @@ export * from './AttributeResourceArrayResponse';
|
|
|
41
41
|
export * from './AttributeType';
|
|
42
42
|
export * from './AttributeValueResource';
|
|
43
43
|
export * from './AttributeValueResourceArrayResponse';
|
|
44
|
+
export * from './BlogCategoryListResource';
|
|
45
|
+
export * from './BlogCategoryListResourceArrayResponse';
|
|
46
|
+
export * from './BlogCategoryLiteResource';
|
|
47
|
+
export * from './BlogCategoryLiteResourceArrayResponse';
|
|
48
|
+
export * from './BlogCategoryResource';
|
|
49
|
+
export * from './BlogCategoryResourceArrayResponse';
|
|
44
50
|
export * from './CategoryAutomationComparisonType';
|
|
45
51
|
export * from './CategoryAutomationConditionType';
|
|
46
52
|
export * from './CategoryAutomationFieldType';
|
|
@@ -155,6 +161,9 @@ export * from './PaginatedAttributeLiteResourceResponse';
|
|
|
155
161
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
156
162
|
export * from './PaginatedAttributeResourceResponse';
|
|
157
163
|
export * from './PaginatedAttributeValueResourceResponse';
|
|
164
|
+
export * from './PaginatedBlogCategoryListResourceResponse';
|
|
165
|
+
export * from './PaginatedBlogCategoryLiteResourceResponse';
|
|
166
|
+
export * from './PaginatedBlogCategoryResourceResponse';
|
|
158
167
|
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
159
168
|
export * from './PaginatedDefinitionListResourceResponse';
|
|
160
169
|
export * from './PaginatedDefinitionResourceResponse';
|
|
@@ -233,7 +242,6 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
233
242
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
234
243
|
export * from './ProductChildSiteDetailResource';
|
|
235
244
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
236
|
-
export * from './ProductChildStoreStockType';
|
|
237
245
|
export * from './ProductClassResource';
|
|
238
246
|
export * from './ProductClassResourceArrayResponse';
|
|
239
247
|
export * from './ProductCompareResource';
|
|
@@ -1,25 +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 ProductChildStoreStockType: {
|
|
17
|
-
readonly Display: "display";
|
|
18
|
-
readonly Available: "available";
|
|
19
|
-
};
|
|
20
|
-
export type ProductChildStoreStockType = typeof ProductChildStoreStockType[keyof typeof ProductChildStoreStockType];
|
|
21
|
-
export declare function instanceOfProductChildStoreStockType(value: any): boolean;
|
|
22
|
-
export declare function ProductChildStoreStockTypeFromJSON(json: any): ProductChildStoreStockType;
|
|
23
|
-
export declare function ProductChildStoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildStoreStockType;
|
|
24
|
-
export declare function ProductChildStoreStockTypeToJSON(value?: ProductChildStoreStockType | null): any;
|
|
25
|
-
export declare function ProductChildStoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductChildStoreStockType;
|
|
@@ -1,51 +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.ProductChildStoreStockType = void 0;
|
|
17
|
-
exports.instanceOfProductChildStoreStockType = instanceOfProductChildStoreStockType;
|
|
18
|
-
exports.ProductChildStoreStockTypeFromJSON = ProductChildStoreStockTypeFromJSON;
|
|
19
|
-
exports.ProductChildStoreStockTypeFromJSONTyped = ProductChildStoreStockTypeFromJSONTyped;
|
|
20
|
-
exports.ProductChildStoreStockTypeToJSON = ProductChildStoreStockTypeToJSON;
|
|
21
|
-
exports.ProductChildStoreStockTypeToJSONTyped = ProductChildStoreStockTypeToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductChildStoreStockType = {
|
|
27
|
-
Display: 'display',
|
|
28
|
-
Available: 'available'
|
|
29
|
-
};
|
|
30
|
-
function instanceOfProductChildStoreStockType(value) {
|
|
31
|
-
for (var key in exports.ProductChildStoreStockType) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductChildStoreStockType, key)) {
|
|
33
|
-
if (exports.ProductChildStoreStockType[key] === value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
function ProductChildStoreStockTypeFromJSON(json) {
|
|
41
|
-
return ProductChildStoreStockTypeFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function ProductChildStoreStockTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
function ProductChildStoreStockTypeToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
function ProductChildStoreStockTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
@@ -1,53 +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
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const ProductChildStoreStockType = {
|
|
21
|
-
Display: 'display',
|
|
22
|
-
Available: 'available'
|
|
23
|
-
} as const;
|
|
24
|
-
export type ProductChildStoreStockType = typeof ProductChildStoreStockType[keyof typeof ProductChildStoreStockType];
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export function instanceOfProductChildStoreStockType(value: any): boolean {
|
|
28
|
-
for (const key in ProductChildStoreStockType) {
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(ProductChildStoreStockType, key)) {
|
|
30
|
-
if (ProductChildStoreStockType[key as keyof typeof ProductChildStoreStockType] === value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function ProductChildStoreStockTypeFromJSON(json: any): ProductChildStoreStockType {
|
|
39
|
-
return ProductChildStoreStockTypeFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function ProductChildStoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildStoreStockType {
|
|
43
|
-
return json as ProductChildStoreStockType;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function ProductChildStoreStockTypeToJSON(value?: ProductChildStoreStockType | null): any {
|
|
47
|
-
return value as any;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function ProductChildStoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductChildStoreStockType {
|
|
51
|
-
return value as ProductChildStoreStockType;
|
|
52
|
-
}
|
|
53
|
-
|