@digital8/lighting-illusions-ts-sdk 0.0.2303 → 0.0.2304
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 +32 -14
- package/README.md +23 -9
- package/dist/apis/CouponsApi.d.ts +116 -0
- package/dist/apis/CouponsApi.js +440 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +3 -3
- package/dist/models/AddressResource.js +5 -7
- package/dist/models/AdminOrderResource.d.ts +3 -2
- package/dist/models/AdminOrderResource.js +3 -2
- package/dist/models/CartListResource.d.ts +0 -6
- package/dist/models/CartListResource.js +0 -4
- package/dist/models/CategoryAutomationFieldType.d.ts +0 -2
- package/dist/models/CategoryAutomationFieldType.js +1 -3
- package/dist/models/CouponListResource.d.ts +99 -0
- package/dist/models/CouponListResource.js +90 -0
- package/dist/models/CouponListResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponListResourceArrayResponse.js +50 -0
- package/dist/models/CouponLiteResource.d.ts +44 -0
- package/dist/models/CouponLiteResource.js +57 -0
- package/dist/models/CouponLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponLiteResourceArrayResponse.js +50 -0
- package/dist/models/CouponResource.d.ts +169 -0
- package/dist/models/CouponResource.js +138 -0
- package/dist/models/CouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/CouponResourceArrayResponse.js +50 -0
- package/dist/models/CouponType.d.ts +26 -0
- package/dist/models/CouponType.js +52 -0
- package/dist/models/CreateCouponRequest.d.ts +134 -0
- package/dist/models/CreateCouponRequest.js +114 -0
- package/dist/models/CreateCouponRequestCouponablesInner.d.ts +48 -0
- package/dist/models/CreateCouponRequestCouponablesInner.js +61 -0
- package/dist/models/CreatePageComponentRequest.d.ts +4 -4
- package/dist/models/CreatePageComponentRequest.js +4 -4
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +0 -2
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +1 -3
- package/dist/models/CreateSupplierRequest.d.ts +0 -6
- package/dist/models/CreateSupplierRequest.js +0 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/FrontendCartResource.d.ts +0 -18
- package/dist/models/FrontendCartResource.js +0 -12
- package/dist/models/OrderFulfillmentResource.d.ts +3 -3
- package/dist/models/OrderFulfillmentResource.js +4 -6
- package/dist/models/OrderStatusWithCountResource.d.ts +0 -12
- package/dist/models/OrderStatusWithCountResource.js +0 -8
- package/dist/models/PaginatedCouponListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCouponListResourceResponse.js +57 -0
- package/dist/models/PaginatedCouponLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCouponLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedCouponResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCouponResourceResponse.js +57 -0
- package/dist/models/ProductClassResource.d.ts +2 -2
- package/dist/models/SearchAllCouponsRequest.d.ts +101 -0
- package/dist/models/SearchAllCouponsRequest.js +85 -0
- package/dist/models/SearchAllOrdersRequest.d.ts +0 -6
- package/dist/models/SearchAllOrdersRequest.js +0 -2
- package/dist/models/SearchCartsRequest.d.ts +6 -0
- package/dist/models/SearchCartsRequest.js +2 -0
- package/dist/models/SearchCouponsRequest.d.ts +137 -0
- package/dist/models/SearchCouponsRequest.js +97 -0
- package/dist/models/SearchOrdersRequest.d.ts +6 -6
- package/dist/models/SearchOrdersRequest.js +2 -2
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +4 -4
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/SupplierFrontendResource.d.ts +0 -6
- package/dist/models/SupplierFrontendResource.js +0 -4
- package/dist/models/SupplierResource.d.ts +0 -6
- package/dist/models/SupplierResource.js +0 -4
- package/dist/models/UpdateCouponRequest.d.ts +128 -0
- package/dist/models/UpdateCouponRequest.js +110 -0
- package/dist/models/UpdatePageComponentRequest.d.ts +4 -4
- package/dist/models/UpdatePageComponentRequest.js +4 -4
- package/dist/models/UpdateSupplierRequest.d.ts +0 -6
- package/dist/models/UpdateSupplierRequest.js +0 -2
- package/dist/models/index.d.ts +15 -6
- package/dist/models/index.js +15 -6
- package/docs/AdminOrderResource.md +1 -1
- package/docs/CartListResource.md +0 -2
- package/docs/CouponListResource.md +56 -0
- package/docs/{OrderCouponResourceArrayResponse.md → CouponListResourceArrayResponse.md} +5 -5
- package/docs/{OrderCouponResource.md → CouponLiteResource.md} +6 -8
- package/docs/{ProductClassLiteResourceArrayResponse.md → CouponLiteResourceArrayResponse.md} +5 -5
- package/docs/CouponResource.md +78 -0
- package/docs/CouponResourceArrayResponse.md +34 -0
- package/docs/CouponType.md +32 -0
- package/docs/CouponsApi.md +407 -0
- package/docs/CreateCouponRequest.md +62 -0
- package/docs/{ProductClassLiteResource.md → CreateCouponRequestCouponablesInner.md} +6 -8
- package/docs/CreatePageComponentRequest.md +2 -2
- package/docs/CreateSupplierRequest.md +0 -2
- package/docs/FrontendCartResource.md +0 -6
- package/docs/OrderStatusWithCountResource.md +0 -4
- package/docs/{PaginatedProductClassLiteResourceResponse.md → PaginatedCouponListResourceResponse.md} +5 -5
- package/docs/PaginatedCouponLiteResourceResponse.md +36 -0
- package/docs/PaginatedCouponResourceResponse.md +36 -0
- package/docs/ProductClassResource.md +1 -1
- package/docs/{SearchAllProductClassesRequest.md → SearchAllCouponsRequest.md} +10 -4
- package/docs/SearchAllOrdersRequest.md +0 -2
- package/docs/SearchCartsRequest.md +2 -0
- package/docs/SearchCouponsRequest.md +62 -0
- package/docs/SearchOrdersRequest.md +2 -2
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/SupplierFrontendResource.md +0 -2
- package/docs/SupplierResource.md +0 -2
- package/docs/UpdateCouponRequest.md +60 -0
- package/docs/UpdatePageComponentRequest.md +2 -2
- package/docs/UpdateSupplierRequest.md +0 -2
- package/package.json +1 -1
- package/src/apis/CouponsApi.ts +345 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +7 -8
- package/src/models/AdminOrderResource.ts +11 -4
- package/src/models/CartListResource.ts +0 -9
- package/src/models/CategoryAutomationFieldType.ts +1 -3
- package/src/models/CouponListResource.ts +170 -0
- package/src/models/CouponListResourceArrayResponse.ts +73 -0
- package/src/models/CouponLiteResource.ts +83 -0
- package/src/models/CouponLiteResourceArrayResponse.ts +73 -0
- package/src/models/CouponResource.ts +297 -0
- package/src/models/CouponResourceArrayResponse.ts +73 -0
- package/src/models/CouponType.ts +54 -0
- package/src/models/CreateCouponRequest.ts +216 -0
- package/src/models/CreateCouponRequestCouponablesInner.ts +86 -0
- package/src/models/CreatePageComponentRequest.ts +8 -8
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +1 -3
- package/src/models/CreateSupplierRequest.ts +0 -8
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/FrontendCartResource.ts +0 -27
- package/src/models/OrderFulfillmentResource.ts +7 -8
- package/src/models/OrderStatusWithCountResource.ts +0 -18
- package/src/models/PaginatedCouponListResourceResponse.ts +90 -0
- package/src/models/PaginatedCouponLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedCouponResourceResponse.ts +90 -0
- package/src/models/ProductClassResource.ts +2 -2
- package/src/models/SearchAllCouponsRequest.ts +154 -0
- package/src/models/SearchAllOrdersRequest.ts +0 -8
- package/src/models/SearchCartsRequest.ts +8 -0
- package/src/models/SearchCouponsRequest.ts +202 -0
- package/src/models/SearchOrdersRequest.ts +8 -8
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreResource.ts +5 -5
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +4 -3
- package/src/models/SupplierFrontendResource.ts +0 -9
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/UpdateCouponRequest.ts +207 -0
- package/src/models/UpdatePageComponentRequest.ts +8 -8
- package/src/models/UpdateSupplierRequest.ts +0 -8
- package/src/models/index.ts +15 -6
- package/dist/apis/ProductClassApi.d.ts +0 -34
- package/dist/apis/ProductClassApi.js +0 -139
- package/dist/models/OrderCouponResource.d.ts +0 -50
- package/dist/models/OrderCouponResource.js +0 -63
- package/dist/models/OrderCouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/OrderCouponResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductClassLiteResourceResponse.js +0 -57
- package/dist/models/ProductClassLiteResource.d.ts +0 -44
- package/dist/models/ProductClassLiteResource.js +0 -57
- package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductClassLiteResourceArrayResponse.js +0 -50
- package/dist/models/SearchAllProductClassesRequest.d.ts +0 -78
- package/dist/models/SearchAllProductClassesRequest.js +0 -74
- package/docs/ProductClassApi.md +0 -74
- package/src/apis/ProductClassApi.ts +0 -76
- package/src/models/OrderCouponResource.ts +0 -93
- package/src/models/OrderCouponResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedProductClassLiteResourceResponse.ts +0 -90
- package/src/models/ProductClassLiteResource.ts +0 -83
- package/src/models/ProductClassLiteResourceArrayResponse.ts +0 -73
- package/src/models/SearchAllProductClassesRequest.ts +0 -125
|
@@ -0,0 +1,101 @@
|
|
|
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 SearchAllCouponsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchAllCouponsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SearchAllCouponsRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SearchAllCouponsRequestSortByEnum}
|
|
27
|
+
* @memberof SearchAllCouponsRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: SearchAllCouponsRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SearchAllCouponsRequestSortDirectionEnum}
|
|
33
|
+
* @memberof SearchAllCouponsRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: SearchAllCouponsRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SearchAllCouponsRequest
|
|
40
|
+
*/
|
|
41
|
+
relatedId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SearchAllCouponsRequest
|
|
46
|
+
*/
|
|
47
|
+
relatedType?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof SearchAllCouponsRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof SearchAllCouponsRequest
|
|
58
|
+
*/
|
|
59
|
+
type?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof SearchAllCouponsRequest
|
|
64
|
+
*/
|
|
65
|
+
siteId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof SearchAllCouponsRequest
|
|
70
|
+
*/
|
|
71
|
+
isAbandonedCart?: Array<string>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const SearchAllCouponsRequestSortByEnum: {
|
|
77
|
+
readonly Id: "id";
|
|
78
|
+
readonly Name: "name";
|
|
79
|
+
readonly Code: "code";
|
|
80
|
+
readonly Type: "type";
|
|
81
|
+
readonly StartDate: "start_date";
|
|
82
|
+
readonly EndDate: "end_date";
|
|
83
|
+
readonly CreatedAt: "created_at";
|
|
84
|
+
};
|
|
85
|
+
export type SearchAllCouponsRequestSortByEnum = typeof SearchAllCouponsRequestSortByEnum[keyof typeof SearchAllCouponsRequestSortByEnum];
|
|
86
|
+
/**
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const SearchAllCouponsRequestSortDirectionEnum: {
|
|
90
|
+
readonly Asc: "asc";
|
|
91
|
+
readonly Desc: "desc";
|
|
92
|
+
};
|
|
93
|
+
export type SearchAllCouponsRequestSortDirectionEnum = typeof SearchAllCouponsRequestSortDirectionEnum[keyof typeof SearchAllCouponsRequestSortDirectionEnum];
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the SearchAllCouponsRequest interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfSearchAllCouponsRequest(value: object): value is SearchAllCouponsRequest;
|
|
98
|
+
export declare function SearchAllCouponsRequestFromJSON(json: any): SearchAllCouponsRequest;
|
|
99
|
+
export declare function SearchAllCouponsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchAllCouponsRequest;
|
|
100
|
+
export declare function SearchAllCouponsRequestToJSON(json: any): SearchAllCouponsRequest;
|
|
101
|
+
export declare function SearchAllCouponsRequestToJSONTyped(value?: SearchAllCouponsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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.SearchAllCouponsRequestSortDirectionEnum = exports.SearchAllCouponsRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfSearchAllCouponsRequest = instanceOfSearchAllCouponsRequest;
|
|
18
|
+
exports.SearchAllCouponsRequestFromJSON = SearchAllCouponsRequestFromJSON;
|
|
19
|
+
exports.SearchAllCouponsRequestFromJSONTyped = SearchAllCouponsRequestFromJSONTyped;
|
|
20
|
+
exports.SearchAllCouponsRequestToJSON = SearchAllCouponsRequestToJSON;
|
|
21
|
+
exports.SearchAllCouponsRequestToJSONTyped = SearchAllCouponsRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SearchAllCouponsRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
Code: 'code',
|
|
29
|
+
Type: 'type',
|
|
30
|
+
StartDate: 'start_date',
|
|
31
|
+
EndDate: 'end_date',
|
|
32
|
+
CreatedAt: 'created_at'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.SearchAllCouponsRequestSortDirectionEnum = {
|
|
38
|
+
Asc: 'asc',
|
|
39
|
+
Desc: 'desc'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the SearchAllCouponsRequest interface.
|
|
43
|
+
*/
|
|
44
|
+
function instanceOfSearchAllCouponsRequest(value) {
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function SearchAllCouponsRequestFromJSON(json) {
|
|
48
|
+
return SearchAllCouponsRequestFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function SearchAllCouponsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
56
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
57
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
58
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
59
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
60
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
61
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
62
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
63
|
+
'isAbandonedCart': json['is_abandoned_cart'] == null ? undefined : json['is_abandoned_cart'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function SearchAllCouponsRequestToJSON(json) {
|
|
67
|
+
return SearchAllCouponsRequestToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function SearchAllCouponsRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
70
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'search': value['search'],
|
|
76
|
+
'sortBy': value['sortBy'],
|
|
77
|
+
'sortDirection': value['sortDirection'],
|
|
78
|
+
'related_id': value['relatedId'],
|
|
79
|
+
'related_type': value['relatedType'],
|
|
80
|
+
'includes_relations': value['includesRelations'],
|
|
81
|
+
'type': value['type'],
|
|
82
|
+
'site_id': value['siteId'],
|
|
83
|
+
'is_abandoned_cart': value['isAbandonedCart'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -75,12 +75,6 @@ export interface SearchAllOrdersRequest {
|
|
|
75
75
|
* @memberof SearchAllOrdersRequest
|
|
76
76
|
*/
|
|
77
77
|
customerId?: Array<string>;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {Array<string>}
|
|
81
|
-
* @memberof SearchAllOrdersRequest
|
|
82
|
-
*/
|
|
83
|
-
lineItemsLabelId?: Array<string>;
|
|
84
78
|
}
|
|
85
79
|
/**
|
|
86
80
|
* @export
|
|
@@ -60,7 +60,6 @@ function SearchAllOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'source': json['source'] == null ? undefined : json['source'],
|
|
61
61
|
'statusId': json['status_id'] == null ? undefined : json['status_id'],
|
|
62
62
|
'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
|
|
63
|
-
'lineItemsLabelId': json['lineItems-label_id'] == null ? undefined : json['lineItems-label_id'],
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
65
|
function SearchAllOrdersRequestToJSON(json) {
|
|
@@ -82,6 +81,5 @@ function SearchAllOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
81
|
'source': value['source'],
|
|
83
82
|
'status_id': value['statusId'],
|
|
84
83
|
'customer_id': value['customerId'],
|
|
85
|
-
'lineItems-label_id': value['lineItemsLabelId'],
|
|
86
84
|
};
|
|
87
85
|
}
|
|
@@ -117,6 +117,12 @@ export interface SearchCartsRequest {
|
|
|
117
117
|
* @memberof SearchCartsRequest
|
|
118
118
|
*/
|
|
119
119
|
includesRelations?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof SearchCartsRequest
|
|
124
|
+
*/
|
|
125
|
+
couponId?: number | null;
|
|
120
126
|
}
|
|
121
127
|
/**
|
|
122
128
|
* @export
|
|
@@ -66,6 +66,7 @@ function SearchCartsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
67
67
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
68
68
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
69
|
+
'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
|
|
69
70
|
};
|
|
70
71
|
}
|
|
71
72
|
function SearchCartsRequestToJSON(json) {
|
|
@@ -94,5 +95,6 @@ function SearchCartsRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
94
95
|
'related_id': value['relatedId'],
|
|
95
96
|
'related_type': value['relatedType'],
|
|
96
97
|
'includes_relations': value['includesRelations'],
|
|
98
|
+
'coupon_id': value['couponId'],
|
|
97
99
|
};
|
|
98
100
|
}
|
|
@@ -0,0 +1,137 @@
|
|
|
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 SearchCouponsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchCouponsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SearchCouponsRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SearchCouponsRequestSortByEnum}
|
|
27
|
+
* @memberof SearchCouponsRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: SearchCouponsRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SearchCouponsRequestSortDirectionEnum}
|
|
33
|
+
* @memberof SearchCouponsRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: SearchCouponsRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SearchCouponsRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SearchCouponsRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof SearchCouponsRequest
|
|
52
|
+
*/
|
|
53
|
+
type?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof SearchCouponsRequest
|
|
58
|
+
*/
|
|
59
|
+
siteId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof SearchCouponsRequest
|
|
64
|
+
*/
|
|
65
|
+
isAbandonedCart?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof SearchCouponsRequest
|
|
70
|
+
*/
|
|
71
|
+
beforeStartDate?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof SearchCouponsRequest
|
|
76
|
+
*/
|
|
77
|
+
afterStartDate?: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof SearchCouponsRequest
|
|
82
|
+
*/
|
|
83
|
+
beforeEndDate?: Date;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Date}
|
|
87
|
+
* @memberof SearchCouponsRequest
|
|
88
|
+
*/
|
|
89
|
+
afterEndDate?: Date;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof SearchCouponsRequest
|
|
94
|
+
*/
|
|
95
|
+
relatedId?: number;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SearchCouponsRequest
|
|
100
|
+
*/
|
|
101
|
+
relatedType?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof SearchCouponsRequest
|
|
106
|
+
*/
|
|
107
|
+
includesRelations?: boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const SearchCouponsRequestSortByEnum: {
|
|
113
|
+
readonly Id: "id";
|
|
114
|
+
readonly Name: "name";
|
|
115
|
+
readonly Code: "code";
|
|
116
|
+
readonly Type: "type";
|
|
117
|
+
readonly StartDate: "start_date";
|
|
118
|
+
readonly EndDate: "end_date";
|
|
119
|
+
readonly CreatedAt: "created_at";
|
|
120
|
+
};
|
|
121
|
+
export type SearchCouponsRequestSortByEnum = typeof SearchCouponsRequestSortByEnum[keyof typeof SearchCouponsRequestSortByEnum];
|
|
122
|
+
/**
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
125
|
+
export declare const SearchCouponsRequestSortDirectionEnum: {
|
|
126
|
+
readonly Asc: "asc";
|
|
127
|
+
readonly Desc: "desc";
|
|
128
|
+
};
|
|
129
|
+
export type SearchCouponsRequestSortDirectionEnum = typeof SearchCouponsRequestSortDirectionEnum[keyof typeof SearchCouponsRequestSortDirectionEnum];
|
|
130
|
+
/**
|
|
131
|
+
* Check if a given object implements the SearchCouponsRequest interface.
|
|
132
|
+
*/
|
|
133
|
+
export declare function instanceOfSearchCouponsRequest(value: object): value is SearchCouponsRequest;
|
|
134
|
+
export declare function SearchCouponsRequestFromJSON(json: any): SearchCouponsRequest;
|
|
135
|
+
export declare function SearchCouponsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCouponsRequest;
|
|
136
|
+
export declare function SearchCouponsRequestToJSON(json: any): SearchCouponsRequest;
|
|
137
|
+
export declare function SearchCouponsRequestToJSONTyped(value?: SearchCouponsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,97 @@
|
|
|
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.SearchCouponsRequestSortDirectionEnum = exports.SearchCouponsRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfSearchCouponsRequest = instanceOfSearchCouponsRequest;
|
|
18
|
+
exports.SearchCouponsRequestFromJSON = SearchCouponsRequestFromJSON;
|
|
19
|
+
exports.SearchCouponsRequestFromJSONTyped = SearchCouponsRequestFromJSONTyped;
|
|
20
|
+
exports.SearchCouponsRequestToJSON = SearchCouponsRequestToJSON;
|
|
21
|
+
exports.SearchCouponsRequestToJSONTyped = SearchCouponsRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SearchCouponsRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
Code: 'code',
|
|
29
|
+
Type: 'type',
|
|
30
|
+
StartDate: 'start_date',
|
|
31
|
+
EndDate: 'end_date',
|
|
32
|
+
CreatedAt: 'created_at'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.SearchCouponsRequestSortDirectionEnum = {
|
|
38
|
+
Asc: 'asc',
|
|
39
|
+
Desc: 'desc'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the SearchCouponsRequest interface.
|
|
43
|
+
*/
|
|
44
|
+
function instanceOfSearchCouponsRequest(value) {
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function SearchCouponsRequestFromJSON(json) {
|
|
48
|
+
return SearchCouponsRequestFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function SearchCouponsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
56
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
57
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
58
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
59
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
60
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
61
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
62
|
+
'isAbandonedCart': json['is_abandoned_cart'] == null ? undefined : json['is_abandoned_cart'],
|
|
63
|
+
'beforeStartDate': json['before_start_date'] == null ? undefined : (new Date(json['before_start_date'])),
|
|
64
|
+
'afterStartDate': json['after_start_date'] == null ? undefined : (new Date(json['after_start_date'])),
|
|
65
|
+
'beforeEndDate': json['before_end_date'] == null ? undefined : (new Date(json['before_end_date'])),
|
|
66
|
+
'afterEndDate': json['after_end_date'] == null ? undefined : (new Date(json['after_end_date'])),
|
|
67
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
68
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
69
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function SearchCouponsRequestToJSON(json) {
|
|
73
|
+
return SearchCouponsRequestToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
function SearchCouponsRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
76
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'search': value['search'],
|
|
82
|
+
'sortBy': value['sortBy'],
|
|
83
|
+
'sortDirection': value['sortDirection'],
|
|
84
|
+
'per_page': value['perPage'],
|
|
85
|
+
'page': value['page'],
|
|
86
|
+
'type': value['type'],
|
|
87
|
+
'site_id': value['siteId'],
|
|
88
|
+
'is_abandoned_cart': value['isAbandonedCart'],
|
|
89
|
+
'before_start_date': value['beforeStartDate'] == null ? value['beforeStartDate'] : value['beforeStartDate'].toISOString(),
|
|
90
|
+
'after_start_date': value['afterStartDate'] == null ? value['afterStartDate'] : value['afterStartDate'].toISOString(),
|
|
91
|
+
'before_end_date': value['beforeEndDate'] == null ? value['beforeEndDate'] : value['beforeEndDate'].toISOString(),
|
|
92
|
+
'after_end_date': value['afterEndDate'] == null ? value['afterEndDate'] : value['afterEndDate'].toISOString(),
|
|
93
|
+
'related_id': value['relatedId'],
|
|
94
|
+
'related_type': value['relatedType'],
|
|
95
|
+
'includes_relations': value['includesRelations'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -69,12 +69,6 @@ export interface SearchOrdersRequest {
|
|
|
69
69
|
* @memberof SearchOrdersRequest
|
|
70
70
|
*/
|
|
71
71
|
customerId?: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {Array<string>}
|
|
75
|
-
* @memberof SearchOrdersRequest
|
|
76
|
-
*/
|
|
77
|
-
lineItemsLabelId?: Array<string>;
|
|
78
72
|
/**
|
|
79
73
|
*
|
|
80
74
|
* @type {Date}
|
|
@@ -129,6 +123,12 @@ export interface SearchOrdersRequest {
|
|
|
129
123
|
* @memberof SearchOrdersRequest
|
|
130
124
|
*/
|
|
131
125
|
includesRelations?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {number}
|
|
129
|
+
* @memberof SearchOrdersRequest
|
|
130
|
+
*/
|
|
131
|
+
couponId?: number | null;
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
134
|
* @export
|
|
@@ -59,7 +59,6 @@ function SearchOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
'source': json['source'] == null ? undefined : json['source'],
|
|
60
60
|
'statusId': json['status_id'] == null ? undefined : json['status_id'],
|
|
61
61
|
'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
|
|
62
|
-
'lineItemsLabelId': json['lineItems-label_id'] == null ? undefined : json['lineItems-label_id'],
|
|
63
62
|
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
64
63
|
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
65
64
|
'beforePlacedAt': json['before_placed_at'] == null ? undefined : (new Date(json['before_placed_at'])),
|
|
@@ -69,6 +68,7 @@ function SearchOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
68
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
70
69
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
71
70
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
71
|
+
'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
function SearchOrdersRequestToJSON(json) {
|
|
@@ -89,7 +89,6 @@ function SearchOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
89
89
|
'source': value['source'],
|
|
90
90
|
'status_id': value['statusId'],
|
|
91
91
|
'customer_id': value['customerId'],
|
|
92
|
-
'lineItems-label_id': value['lineItemsLabelId'],
|
|
93
92
|
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
94
93
|
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
95
94
|
'before_placed_at': value['beforePlacedAt'] == null ? value['beforePlacedAt'] : value['beforePlacedAt'].toISOString(),
|
|
@@ -99,5 +98,6 @@ function SearchOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
99
98
|
'related_id': value['relatedId'],
|
|
100
99
|
'related_type': value['relatedType'],
|
|
101
100
|
'includes_relations': value['includesRelations'],
|
|
101
|
+
'coupon_id': value['couponId'],
|
|
102
102
|
};
|
|
103
103
|
}
|
|
@@ -36,8 +36,6 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
-
return false;
|
|
41
39
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
42
40
|
return false;
|
|
43
41
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -61,7 +59,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
59
|
'address': json['address'] == null ? undefined : json['address'],
|
|
62
60
|
'latitude': json['latitude'],
|
|
63
61
|
'longitude': json['longitude'],
|
|
64
|
-
'tagLine': json['tagLine'],
|
|
62
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
65
63
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
66
64
|
'specialDates': json['specialDates'],
|
|
67
65
|
'suppliers': json['suppliers'],
|
|
@@ -60,7 +60,7 @@ export interface StoreResource {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof StoreResource
|
|
62
62
|
*/
|
|
63
|
-
tagLine
|
|
63
|
+
tagLine: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -72,7 +72,7 @@ export interface StoreResource {
|
|
|
72
72
|
* @type {string}
|
|
73
73
|
* @memberof StoreResource
|
|
74
74
|
*/
|
|
75
|
-
website
|
|
75
|
+
website?: string | null;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {number}
|
|
@@ -36,9 +36,9 @@ function instanceOfStoreResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('
|
|
39
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
-
if (!('
|
|
41
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
42
42
|
return false;
|
|
43
43
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
44
44
|
return false;
|
|
@@ -66,9 +66,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
'phone': json['phone'],
|
|
67
67
|
'longitude': json['longitude'],
|
|
68
68
|
'latitude': json['latitude'],
|
|
69
|
-
'tagLine': json['tagLine']
|
|
69
|
+
'tagLine': json['tagLine'],
|
|
70
70
|
'email': json['email'],
|
|
71
|
-
'website': json['website'],
|
|
71
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
72
72
|
'netsuiteId': json['netsuiteId'],
|
|
73
73
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
74
74
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
35
35
|
hours: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {object}
|
|
39
39
|
* @memberof StoreSpecialDateFrontendResource
|
|
40
40
|
*/
|
|
41
|
-
date
|
|
41
|
+
date: object;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateFrontendResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('hours' in value) || value['hours'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -45,7 +47,7 @@ function StoreSpecialDateFrontendResourceFromJSONTyped(json, ignoreDiscriminator
|
|
|
45
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
46
48
|
'name': json['name'],
|
|
47
49
|
'hours': json['hours'],
|
|
48
|
-
'date': json['date']
|
|
50
|
+
'date': json['date'],
|
|
49
51
|
'closed': json['closed'],
|
|
50
52
|
'displayStartDate': json['displayStartDate'],
|
|
51
53
|
'displayEndDate': json['displayEndDate'],
|
|
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('hours' in value) || value['hours'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -45,7 +47,7 @@ function StoreSpecialDateResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
46
48
|
'name': json['name'],
|
|
47
49
|
'hours': json['hours'],
|
|
48
|
-
'date': json['date']
|
|
50
|
+
'date': json['date'],
|
|
49
51
|
'closed': json['closed'],
|
|
50
52
|
'displayStartDate': json['displayStartDate'],
|
|
51
53
|
'displayEndDate': json['displayEndDate'],
|