@digital8/lighting-illusions-ts-sdk 0.0.2348 → 0.0.2349
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 +34 -14
- package/README.md +24 -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 +1 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +2 -6
- package/dist/models/AdminOrderResource.d.ts +3 -2
- package/dist/models/AdminOrderResource.js +3 -2
- package/dist/models/CartCouponResource.d.ts +50 -0
- package/dist/models/{AppliedCouponResource.js → CartCouponResource.js} +13 -13
- package/dist/models/CartCouponResourceArrayResponse.d.ts +33 -0
- package/dist/models/CartCouponResourceArrayResponse.js +50 -0
- 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 +163 -0
- package/dist/models/CouponResource.js +134 -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/FrontendOrderResource.d.ts +3 -3
- package/dist/models/FrontendOrderResource.js +3 -3
- package/dist/models/OrderFulfillmentResource.d.ts +3 -3
- package/dist/models/OrderFulfillmentResource.js +6 -4
- 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/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 +2 -2
- package/dist/models/StoreFrontendResource.js +4 -4
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +2 -6
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- 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 +16 -6
- package/dist/models/index.js +16 -6
- package/docs/AdminOrderResource.md +1 -1
- package/docs/{AppliedCouponResource.md → CartCouponResource.md} +4 -4
- package/docs/{AppliedCouponResourceArrayResponse.md → CartCouponResourceArrayResponse.md} +5 -5
- package/docs/CartListResource.md +0 -2
- package/docs/CouponListResource.md +56 -0
- package/docs/{ProductClassLiteResourceArrayResponse.md → CouponListResourceArrayResponse.md} +5 -5
- package/docs/{ProductClassLiteResource.md → CouponLiteResource.md} +6 -6
- package/docs/CouponLiteResourceArrayResponse.md +34 -0
- package/docs/CouponResource.md +76 -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/CreateCouponRequestCouponablesInner.md +36 -0
- package/docs/CreatePageComponentRequest.md +2 -2
- package/docs/CreateSupplierRequest.md +0 -2
- package/docs/FrontendCartResource.md +0 -6
- package/docs/FrontendOrderResource.md +1 -1
- package/docs/OrderStatusWithCountResource.md +0 -4
- package/docs/{PaginatedProductClassLiteResourceResponse.md → PaginatedCouponListResourceResponse.md} +5 -5
- 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/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 +2 -3
- package/src/models/AddressResource.ts +4 -6
- package/src/models/AdminOrderResource.ts +11 -4
- package/src/models/{AppliedCouponResource.ts → CartCouponResource.ts} +14 -14
- package/src/models/CartCouponResourceArrayResponse.ts +73 -0
- 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 +288 -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/FrontendOrderResource.ts +11 -11
- package/src/models/OrderFulfillmentResource.ts +8 -7
- package/src/models/OrderStatusWithCountResource.ts +0 -18
- package/src/models/PaginatedCouponListResourceResponse.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 +5 -5
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +4 -6
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- 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 +16 -6
- package/dist/apis/ProductClassApi.d.ts +0 -34
- package/dist/apis/ProductClassApi.js +0 -139
- package/dist/models/AppliedCouponResource.d.ts +0 -50
- package/dist/models/AppliedCouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/AppliedCouponResourceArrayResponse.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/AppliedCouponResourceArrayResponse.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,154 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SearchAllCouponsRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SearchAllCouponsRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SearchAllCouponsRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {SearchAllCouponsRequestSortByEnum}
|
|
31
|
+
* @memberof SearchAllCouponsRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: SearchAllCouponsRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {SearchAllCouponsRequestSortDirectionEnum}
|
|
37
|
+
* @memberof SearchAllCouponsRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: SearchAllCouponsRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof SearchAllCouponsRequest
|
|
44
|
+
*/
|
|
45
|
+
relatedId?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SearchAllCouponsRequest
|
|
50
|
+
*/
|
|
51
|
+
relatedType?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof SearchAllCouponsRequest
|
|
56
|
+
*/
|
|
57
|
+
includesRelations?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof SearchAllCouponsRequest
|
|
62
|
+
*/
|
|
63
|
+
type?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof SearchAllCouponsRequest
|
|
68
|
+
*/
|
|
69
|
+
siteId?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<string>}
|
|
73
|
+
* @memberof SearchAllCouponsRequest
|
|
74
|
+
*/
|
|
75
|
+
isAbandonedCart?: Array<string>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const SearchAllCouponsRequestSortByEnum = {
|
|
83
|
+
Id: 'id',
|
|
84
|
+
Name: 'name',
|
|
85
|
+
Code: 'code',
|
|
86
|
+
Type: 'type',
|
|
87
|
+
StartDate: 'start_date',
|
|
88
|
+
EndDate: 'end_date',
|
|
89
|
+
CreatedAt: 'created_at'
|
|
90
|
+
} as const;
|
|
91
|
+
export type SearchAllCouponsRequestSortByEnum = typeof SearchAllCouponsRequestSortByEnum[keyof typeof SearchAllCouponsRequestSortByEnum];
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export const SearchAllCouponsRequestSortDirectionEnum = {
|
|
97
|
+
Asc: 'asc',
|
|
98
|
+
Desc: 'desc'
|
|
99
|
+
} as const;
|
|
100
|
+
export type SearchAllCouponsRequestSortDirectionEnum = typeof SearchAllCouponsRequestSortDirectionEnum[keyof typeof SearchAllCouponsRequestSortDirectionEnum];
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the SearchAllCouponsRequest interface.
|
|
105
|
+
*/
|
|
106
|
+
export function instanceOfSearchAllCouponsRequest(value: object): value is SearchAllCouponsRequest {
|
|
107
|
+
return true;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function SearchAllCouponsRequestFromJSON(json: any): SearchAllCouponsRequest {
|
|
111
|
+
return SearchAllCouponsRequestFromJSONTyped(json, false);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function SearchAllCouponsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchAllCouponsRequest {
|
|
115
|
+
if (json == null) {
|
|
116
|
+
return json;
|
|
117
|
+
}
|
|
118
|
+
return {
|
|
119
|
+
|
|
120
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
121
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
122
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
123
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
124
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
125
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
126
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
127
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
128
|
+
'isAbandonedCart': json['is_abandoned_cart'] == null ? undefined : json['is_abandoned_cart'],
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function SearchAllCouponsRequestToJSON(json: any): SearchAllCouponsRequest {
|
|
133
|
+
return SearchAllCouponsRequestToJSONTyped(json, false);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function SearchAllCouponsRequestToJSONTyped(value?: SearchAllCouponsRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
137
|
+
if (value == null) {
|
|
138
|
+
return value;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return {
|
|
142
|
+
|
|
143
|
+
'search': value['search'],
|
|
144
|
+
'sortBy': value['sortBy'],
|
|
145
|
+
'sortDirection': value['sortDirection'],
|
|
146
|
+
'related_id': value['relatedId'],
|
|
147
|
+
'related_type': value['relatedType'],
|
|
148
|
+
'includes_relations': value['includesRelations'],
|
|
149
|
+
'type': value['type'],
|
|
150
|
+
'site_id': value['siteId'],
|
|
151
|
+
'is_abandoned_cart': value['isAbandonedCart'],
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
@@ -79,12 +79,6 @@ export interface SearchAllOrdersRequest {
|
|
|
79
79
|
* @memberof SearchAllOrdersRequest
|
|
80
80
|
*/
|
|
81
81
|
customerId?: Array<string>;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {Array<string>}
|
|
85
|
-
* @memberof SearchAllOrdersRequest
|
|
86
|
-
*/
|
|
87
|
-
lineItemsLabelId?: Array<string>;
|
|
88
82
|
}
|
|
89
83
|
|
|
90
84
|
|
|
@@ -137,7 +131,6 @@ export function SearchAllOrdersRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
137
131
|
'source': json['source'] == null ? undefined : json['source'],
|
|
138
132
|
'statusId': json['status_id'] == null ? undefined : json['status_id'],
|
|
139
133
|
'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
|
|
140
|
-
'lineItemsLabelId': json['lineItems-label_id'] == null ? undefined : json['lineItems-label_id'],
|
|
141
134
|
};
|
|
142
135
|
}
|
|
143
136
|
|
|
@@ -162,7 +155,6 @@ export function SearchAllOrdersRequestToJSONTyped(value?: SearchAllOrdersRequest
|
|
|
162
155
|
'source': value['source'],
|
|
163
156
|
'status_id': value['statusId'],
|
|
164
157
|
'customer_id': value['customerId'],
|
|
165
|
-
'lineItems-label_id': value['lineItemsLabelId'],
|
|
166
158
|
};
|
|
167
159
|
}
|
|
168
160
|
|
|
@@ -121,6 +121,12 @@ export interface SearchCartsRequest {
|
|
|
121
121
|
* @memberof SearchCartsRequest
|
|
122
122
|
*/
|
|
123
123
|
includesRelations?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {number}
|
|
127
|
+
* @memberof SearchCartsRequest
|
|
128
|
+
*/
|
|
129
|
+
couponId?: number | null;
|
|
124
130
|
}
|
|
125
131
|
|
|
126
132
|
|
|
@@ -179,6 +185,7 @@ export function SearchCartsRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
179
185
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
180
186
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
181
187
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
188
|
+
'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
|
|
182
189
|
};
|
|
183
190
|
}
|
|
184
191
|
|
|
@@ -210,6 +217,7 @@ export function SearchCartsRequestToJSONTyped(value?: SearchCartsRequest | null,
|
|
|
210
217
|
'related_id': value['relatedId'],
|
|
211
218
|
'related_type': value['relatedType'],
|
|
212
219
|
'includes_relations': value['includesRelations'],
|
|
220
|
+
'coupon_id': value['couponId'],
|
|
213
221
|
};
|
|
214
222
|
}
|
|
215
223
|
|
|
@@ -0,0 +1,202 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SearchCouponsRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SearchCouponsRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SearchCouponsRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {SearchCouponsRequestSortByEnum}
|
|
31
|
+
* @memberof SearchCouponsRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: SearchCouponsRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {SearchCouponsRequestSortDirectionEnum}
|
|
37
|
+
* @memberof SearchCouponsRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: SearchCouponsRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof SearchCouponsRequest
|
|
44
|
+
*/
|
|
45
|
+
perPage?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof SearchCouponsRequest
|
|
50
|
+
*/
|
|
51
|
+
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof SearchCouponsRequest
|
|
56
|
+
*/
|
|
57
|
+
type?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof SearchCouponsRequest
|
|
62
|
+
*/
|
|
63
|
+
siteId?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof SearchCouponsRequest
|
|
68
|
+
*/
|
|
69
|
+
isAbandonedCart?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof SearchCouponsRequest
|
|
74
|
+
*/
|
|
75
|
+
beforeStartDate?: Date;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof SearchCouponsRequest
|
|
80
|
+
*/
|
|
81
|
+
afterStartDate?: Date;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof SearchCouponsRequest
|
|
86
|
+
*/
|
|
87
|
+
beforeEndDate?: Date;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Date}
|
|
91
|
+
* @memberof SearchCouponsRequest
|
|
92
|
+
*/
|
|
93
|
+
afterEndDate?: Date;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof SearchCouponsRequest
|
|
98
|
+
*/
|
|
99
|
+
relatedId?: number;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof SearchCouponsRequest
|
|
104
|
+
*/
|
|
105
|
+
relatedType?: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {boolean}
|
|
109
|
+
* @memberof SearchCouponsRequest
|
|
110
|
+
*/
|
|
111
|
+
includesRelations?: boolean;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @export
|
|
117
|
+
*/
|
|
118
|
+
export const SearchCouponsRequestSortByEnum = {
|
|
119
|
+
Id: 'id',
|
|
120
|
+
Name: 'name',
|
|
121
|
+
Code: 'code',
|
|
122
|
+
Type: 'type',
|
|
123
|
+
StartDate: 'start_date',
|
|
124
|
+
EndDate: 'end_date',
|
|
125
|
+
CreatedAt: 'created_at'
|
|
126
|
+
} as const;
|
|
127
|
+
export type SearchCouponsRequestSortByEnum = typeof SearchCouponsRequestSortByEnum[keyof typeof SearchCouponsRequestSortByEnum];
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @export
|
|
131
|
+
*/
|
|
132
|
+
export const SearchCouponsRequestSortDirectionEnum = {
|
|
133
|
+
Asc: 'asc',
|
|
134
|
+
Desc: 'desc'
|
|
135
|
+
} as const;
|
|
136
|
+
export type SearchCouponsRequestSortDirectionEnum = typeof SearchCouponsRequestSortDirectionEnum[keyof typeof SearchCouponsRequestSortDirectionEnum];
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Check if a given object implements the SearchCouponsRequest interface.
|
|
141
|
+
*/
|
|
142
|
+
export function instanceOfSearchCouponsRequest(value: object): value is SearchCouponsRequest {
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function SearchCouponsRequestFromJSON(json: any): SearchCouponsRequest {
|
|
147
|
+
return SearchCouponsRequestFromJSONTyped(json, false);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function SearchCouponsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCouponsRequest {
|
|
151
|
+
if (json == null) {
|
|
152
|
+
return json;
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
|
|
156
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
157
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
158
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
159
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
160
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
161
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
162
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
163
|
+
'isAbandonedCart': json['is_abandoned_cart'] == null ? undefined : json['is_abandoned_cart'],
|
|
164
|
+
'beforeStartDate': json['before_start_date'] == null ? undefined : (new Date(json['before_start_date'])),
|
|
165
|
+
'afterStartDate': json['after_start_date'] == null ? undefined : (new Date(json['after_start_date'])),
|
|
166
|
+
'beforeEndDate': json['before_end_date'] == null ? undefined : (new Date(json['before_end_date'])),
|
|
167
|
+
'afterEndDate': json['after_end_date'] == null ? undefined : (new Date(json['after_end_date'])),
|
|
168
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
169
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
170
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function SearchCouponsRequestToJSON(json: any): SearchCouponsRequest {
|
|
175
|
+
return SearchCouponsRequestToJSONTyped(json, false);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function SearchCouponsRequestToJSONTyped(value?: SearchCouponsRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
179
|
+
if (value == null) {
|
|
180
|
+
return value;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
return {
|
|
184
|
+
|
|
185
|
+
'search': value['search'],
|
|
186
|
+
'sortBy': value['sortBy'],
|
|
187
|
+
'sortDirection': value['sortDirection'],
|
|
188
|
+
'per_page': value['perPage'],
|
|
189
|
+
'page': value['page'],
|
|
190
|
+
'type': value['type'],
|
|
191
|
+
'site_id': value['siteId'],
|
|
192
|
+
'is_abandoned_cart': value['isAbandonedCart'],
|
|
193
|
+
'before_start_date': value['beforeStartDate'] == null ? value['beforeStartDate'] : value['beforeStartDate'].toISOString(),
|
|
194
|
+
'after_start_date': value['afterStartDate'] == null ? value['afterStartDate'] : value['afterStartDate'].toISOString(),
|
|
195
|
+
'before_end_date': value['beforeEndDate'] == null ? value['beforeEndDate'] : value['beforeEndDate'].toISOString(),
|
|
196
|
+
'after_end_date': value['afterEndDate'] == null ? value['afterEndDate'] : value['afterEndDate'].toISOString(),
|
|
197
|
+
'related_id': value['relatedId'],
|
|
198
|
+
'related_type': value['relatedType'],
|
|
199
|
+
'includes_relations': value['includesRelations'],
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
@@ -73,12 +73,6 @@ export interface SearchOrdersRequest {
|
|
|
73
73
|
* @memberof SearchOrdersRequest
|
|
74
74
|
*/
|
|
75
75
|
customerId?: Array<string>;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {Array<string>}
|
|
79
|
-
* @memberof SearchOrdersRequest
|
|
80
|
-
*/
|
|
81
|
-
lineItemsLabelId?: Array<string>;
|
|
82
76
|
/**
|
|
83
77
|
*
|
|
84
78
|
* @type {Date}
|
|
@@ -133,6 +127,12 @@ export interface SearchOrdersRequest {
|
|
|
133
127
|
* @memberof SearchOrdersRequest
|
|
134
128
|
*/
|
|
135
129
|
includesRelations?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {number}
|
|
133
|
+
* @memberof SearchOrdersRequest
|
|
134
|
+
*/
|
|
135
|
+
couponId?: number | null;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
@@ -184,7 +184,6 @@ export function SearchOrdersRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
184
184
|
'source': json['source'] == null ? undefined : json['source'],
|
|
185
185
|
'statusId': json['status_id'] == null ? undefined : json['status_id'],
|
|
186
186
|
'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
|
|
187
|
-
'lineItemsLabelId': json['lineItems-label_id'] == null ? undefined : json['lineItems-label_id'],
|
|
188
187
|
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
189
188
|
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
190
189
|
'beforePlacedAt': json['before_placed_at'] == null ? undefined : (new Date(json['before_placed_at'])),
|
|
@@ -194,6 +193,7 @@ export function SearchOrdersRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
194
193
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
195
194
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
196
195
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
196
|
+
'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
|
|
@@ -217,7 +217,6 @@ export function SearchOrdersRequestToJSONTyped(value?: SearchOrdersRequest | nul
|
|
|
217
217
|
'source': value['source'],
|
|
218
218
|
'status_id': value['statusId'],
|
|
219
219
|
'customer_id': value['customerId'],
|
|
220
|
-
'lineItems-label_id': value['lineItemsLabelId'],
|
|
221
220
|
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
222
221
|
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
223
222
|
'before_placed_at': value['beforePlacedAt'] == null ? value['beforePlacedAt'] : value['beforePlacedAt'].toISOString(),
|
|
@@ -227,6 +226,7 @@ export function SearchOrdersRequestToJSONTyped(value?: SearchOrdersRequest | nul
|
|
|
227
226
|
'related_id': value['relatedId'],
|
|
228
227
|
'related_type': value['relatedType'],
|
|
229
228
|
'includes_relations': value['includesRelations'],
|
|
229
|
+
'coupon_id': value['couponId'],
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
232
|
|
|
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof StoreFrontendResource
|
|
50
50
|
*/
|
|
51
|
-
website
|
|
51
|
+
website: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
|
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof StoreFrontendResource
|
|
80
80
|
*/
|
|
81
|
-
tagLine
|
|
81
|
+
tagLine?: string | null;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {string}
|
|
@@ -106,10 +106,10 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
|
|
|
106
106
|
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
107
107
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
108
108
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
109
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
109
110
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
110
111
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
111
112
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
112
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
113
113
|
if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
|
|
114
114
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
115
115
|
return true;
|
|
@@ -129,12 +129,12 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
129
129
|
'siteId': json['siteId'],
|
|
130
130
|
'name': json['name'],
|
|
131
131
|
'email': json['email'],
|
|
132
|
-
'website': json['website']
|
|
132
|
+
'website': json['website'],
|
|
133
133
|
'phone': json['phone'],
|
|
134
134
|
'address': json['address'] == null ? undefined : json['address'],
|
|
135
135
|
'latitude': json['latitude'],
|
|
136
136
|
'longitude': json['longitude'],
|
|
137
|
-
'tagLine': json['tagLine'],
|
|
137
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
138
138
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
139
139
|
'specialDates': json['specialDates'],
|
|
140
140
|
'suppliers': json['suppliers'],
|
|
@@ -68,7 +68,7 @@ export interface StoreListResource {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreListResource
|
|
70
70
|
*/
|
|
71
|
-
tagLine
|
|
71
|
+
tagLine?: string | null;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
@@ -110,7 +110,6 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
110
110
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
111
111
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
112
112
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
113
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
114
113
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
115
114
|
if (!('website' in value) || value['website'] === undefined) return false;
|
|
116
115
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
@@ -134,7 +133,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
134
133
|
'phone': json['phone'],
|
|
135
134
|
'longitude': json['longitude'],
|
|
136
135
|
'latitude': json['latitude'],
|
|
137
|
-
'tagLine': json['tagLine'],
|
|
136
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
138
137
|
'email': json['email'],
|
|
139
138
|
'website': json['website'],
|
|
140
139
|
'netsuiteId': json['netsuiteId'],
|
|
@@ -89,7 +89,7 @@ export interface StoreResource {
|
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof StoreResource
|
|
91
91
|
*/
|
|
92
|
-
tagLine
|
|
92
|
+
tagLine?: string | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -101,7 +101,7 @@ export interface StoreResource {
|
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof StoreResource
|
|
103
103
|
*/
|
|
104
|
-
website
|
|
104
|
+
website?: string | null;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @type {number}
|
|
@@ -149,9 +149,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
149
149
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
150
150
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
151
151
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
152
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
153
152
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
154
|
-
if (!('website' in value) || value['website'] === undefined) return false;
|
|
155
153
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
156
154
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
157
155
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
@@ -176,9 +174,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
176
174
|
'phone': json['phone'],
|
|
177
175
|
'longitude': json['longitude'],
|
|
178
176
|
'latitude': json['latitude'],
|
|
179
|
-
'tagLine': json['tagLine'],
|
|
177
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
180
178
|
'email': json['email'],
|
|
181
|
-
'website': json['website'],
|
|
179
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
182
180
|
'netsuiteId': json['netsuiteId'],
|
|
183
181
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
184
182
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {string}
|
|
43
43
|
* @memberof StoreSpecialDateFrontendResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date?: string | null;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,7 +69,6 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateFrontendResource(value: object): value is StoreSpecialDateFrontendResource {
|
|
70
70
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
71
71
|
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
72
|
-
if (!('date' in value) || value['date'] === undefined) return false;
|
|
73
72
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
74
73
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
75
74
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -89,7 +88,7 @@ export function StoreSpecialDateFrontendResourceFromJSONTyped(json: any, ignoreD
|
|
|
89
88
|
'id': json['id'] == null ? undefined : json['id'],
|
|
90
89
|
'name': json['name'],
|
|
91
90
|
'hours': json['hours'],
|
|
92
|
-
'date': json['date'],
|
|
91
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
93
92
|
'closed': json['closed'],
|
|
94
93
|
'displayStartDate': json['displayStartDate'],
|
|
95
94
|
'displayEndDate': json['displayEndDate'],
|
|
@@ -64,12 +64,6 @@ export interface SupplierFrontendResource {
|
|
|
64
64
|
* @memberof SupplierFrontendResource
|
|
65
65
|
*/
|
|
66
66
|
supplierEta: number;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof SupplierFrontendResource
|
|
71
|
-
*/
|
|
72
|
-
productEnquiriesOnly: boolean;
|
|
73
67
|
/**
|
|
74
68
|
*
|
|
75
69
|
* @type {object}
|
|
@@ -93,7 +87,6 @@ export function instanceOfSupplierFrontendResource(value: object): value is Supp
|
|
|
93
87
|
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
94
88
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
95
89
|
if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
|
|
96
|
-
if (!('productEnquiriesOnly' in value) || value['productEnquiriesOnly'] === undefined) return false;
|
|
97
90
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
98
91
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
99
92
|
return true;
|
|
@@ -114,7 +107,6 @@ export function SupplierFrontendResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
114
107
|
'slug': json['slug'],
|
|
115
108
|
'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
|
|
116
109
|
'supplierEta': json['supplierEta'],
|
|
117
|
-
'productEnquiriesOnly': json['productEnquiriesOnly'],
|
|
118
110
|
'seo': json['seo'],
|
|
119
111
|
'description': DescriptionResourceFromJSON(json['description']),
|
|
120
112
|
};
|
|
@@ -136,7 +128,6 @@ export function SupplierFrontendResourceToJSONTyped(value?: SupplierFrontendReso
|
|
|
136
128
|
'slug': value['slug'],
|
|
137
129
|
'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
|
|
138
130
|
'supplierEta': value['supplierEta'],
|
|
139
|
-
'productEnquiriesOnly': value['productEnquiriesOnly'],
|
|
140
131
|
'seo': value['seo'],
|
|
141
132
|
'description': DescriptionResourceToJSON(value['description']),
|
|
142
133
|
};
|