@digital8/lighting-illusions-ts-sdk 0.0.1032 → 0.0.1033
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/README.md +2 -2
- package/dist/models/GetAllProductChildRequest.d.ts +12 -0
- package/dist/models/GetAllProductChildRequest.js +4 -0
- package/dist/models/IndexProductChildRequest.d.ts +12 -0
- package/dist/models/IndexProductChildRequest.js +4 -0
- package/dist/models/ProductChildResource.d.ts +0 -6
- package/dist/models/ProductChildResource.js +0 -4
- package/dist/models/StoreProductChildRequest.d.ts +0 -6
- package/dist/models/StoreProductChildRequest.js +0 -2
- package/dist/models/UpdateProductChildRequest.d.ts +0 -6
- package/dist/models/UpdateProductChildRequest.js +0 -2
- package/docs/GetAllProductChildRequest.md +4 -0
- package/docs/IndexProductChildRequest.md +4 -0
- package/docs/ProductChildResource.md +0 -2
- package/docs/StoreProductChildRequest.md +0 -2
- package/docs/UpdateProductChildRequest.md +0 -2
- package/package.json +1 -1
- package/src/models/GetAllProductChildRequest.ts +16 -0
- package/src/models/IndexProductChildRequest.ts +16 -0
- package/src/models/ProductChildResource.ts +0 -9
- package/src/models/StoreProductChildRequest.ts +0 -8
- package/src/models/UpdateProductChildRequest.ts +0 -8
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1033
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -468,7 +468,7 @@ and is automatically generated by the
|
|
|
468
468
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
469
469
|
|
|
470
470
|
- API version: `1.0.0`
|
|
471
|
-
- Package version: `0.0.
|
|
471
|
+
- Package version: `0.0.1033`
|
|
472
472
|
- Generator version: `7.20.0`
|
|
473
473
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
474
474
|
|
|
@@ -93,6 +93,18 @@ export interface GetAllProductChildRequest {
|
|
|
93
93
|
* @memberof GetAllProductChildRequest
|
|
94
94
|
*/
|
|
95
95
|
parentIsAccessory?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<string>}
|
|
99
|
+
* @memberof GetAllProductChildRequest
|
|
100
|
+
*/
|
|
101
|
+
availableSitesId?: Array<string>;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof GetAllProductChildRequest
|
|
106
|
+
*/
|
|
107
|
+
enabledSitesId?: Array<string>;
|
|
96
108
|
}
|
|
97
109
|
/**
|
|
98
110
|
* @export
|
|
@@ -79,6 +79,8 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
79
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
80
80
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
81
81
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
82
|
+
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
83
|
+
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
82
84
|
};
|
|
83
85
|
}
|
|
84
86
|
function GetAllProductChildRequestToJSON(json) {
|
|
@@ -103,5 +105,7 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
103
105
|
'supplier-id': value['supplierId'],
|
|
104
106
|
'productType-id': value['productTypeId'],
|
|
105
107
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
108
|
+
'availableSites-id': value['availableSitesId'],
|
|
109
|
+
'enabledSites-id': value['enabledSitesId'],
|
|
106
110
|
};
|
|
107
111
|
}
|
|
@@ -87,6 +87,18 @@ export interface IndexProductChildRequest {
|
|
|
87
87
|
* @memberof IndexProductChildRequest
|
|
88
88
|
*/
|
|
89
89
|
parentIsAccessory?: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Array<string>}
|
|
93
|
+
* @memberof IndexProductChildRequest
|
|
94
|
+
*/
|
|
95
|
+
availableSitesId?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<string>}
|
|
99
|
+
* @memberof IndexProductChildRequest
|
|
100
|
+
*/
|
|
101
|
+
enabledSitesId?: Array<string>;
|
|
90
102
|
/**
|
|
91
103
|
*
|
|
92
104
|
* @type {number}
|
|
@@ -86,6 +86,8 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
86
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
87
87
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
88
88
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
89
|
+
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
90
|
+
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
89
91
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
90
92
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
91
93
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -112,6 +114,8 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
112
114
|
'supplier-id': value['supplierId'],
|
|
113
115
|
'productType-id': value['productTypeId'],
|
|
114
116
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
117
|
+
'availableSites-id': value['availableSitesId'],
|
|
118
|
+
'enabledSites-id': value['enabledSitesId'],
|
|
115
119
|
'related_id': value['relatedId'],
|
|
116
120
|
'related_type': value['relatedType'],
|
|
117
121
|
'includes_relations': value['includesRelations'],
|
|
@@ -137,12 +137,6 @@ export interface ProductChildResource {
|
|
|
137
137
|
* @memberof ProductChildResource
|
|
138
138
|
*/
|
|
139
139
|
netsuiteSyncStatus?: string | null;
|
|
140
|
-
/**
|
|
141
|
-
*
|
|
142
|
-
* @type {boolean}
|
|
143
|
-
* @memberof ProductChildResource
|
|
144
|
-
*/
|
|
145
|
-
hasSyncedToNetsuite: boolean;
|
|
146
140
|
/**
|
|
147
141
|
*
|
|
148
142
|
* @type {string}
|
|
@@ -58,8 +58,6 @@ function instanceOfProductChildResource(value) {
|
|
|
58
58
|
return false;
|
|
59
59
|
if (!('googleStockStatus' in value) || value['googleStockStatus'] === undefined)
|
|
60
60
|
return false;
|
|
61
|
-
if (!('hasSyncedToNetsuite' in value) || value['hasSyncedToNetsuite'] === undefined)
|
|
62
|
-
return false;
|
|
63
61
|
if (!('newArrivalStartDate' in value) || value['newArrivalStartDate'] === undefined)
|
|
64
62
|
return false;
|
|
65
63
|
if (!('newArrivalEndDate' in value) || value['newArrivalEndDate'] === undefined)
|
|
@@ -104,7 +102,6 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
104
102
|
'googleStockStatus': json['googleStockStatus'],
|
|
105
103
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
106
104
|
'netsuiteSyncStatus': json['netsuiteSyncStatus'] == null ? undefined : json['netsuiteSyncStatus'],
|
|
107
|
-
'hasSyncedToNetsuite': json['hasSyncedToNetsuite'],
|
|
108
105
|
'newArrivalStartDate': json['newArrivalStartDate'],
|
|
109
106
|
'newArrivalEndDate': json['newArrivalEndDate'],
|
|
110
107
|
'isDisabled': json['isDisabled'],
|
|
@@ -143,7 +140,6 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
143
140
|
'googleStockStatus': value['googleStockStatus'],
|
|
144
141
|
'netsuiteId': value['netsuiteId'],
|
|
145
142
|
'netsuiteSyncStatus': value['netsuiteSyncStatus'],
|
|
146
|
-
'hasSyncedToNetsuite': value['hasSyncedToNetsuite'],
|
|
147
143
|
'newArrivalStartDate': value['newArrivalStartDate'],
|
|
148
144
|
'newArrivalEndDate': value['newArrivalEndDate'],
|
|
149
145
|
'isDisabled': value['isDisabled'],
|
|
@@ -71,7 +71,6 @@ function StoreProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
71
|
'excludeFromSearch': json['exclude_from_search'],
|
|
72
72
|
'allowOversell': json['allow_oversell'],
|
|
73
73
|
'isOversized': json['is_oversized'],
|
|
74
|
-
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
75
74
|
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
76
75
|
'stock': json['stock'],
|
|
77
76
|
'sites': (json['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerFromJSON)),
|
|
@@ -102,7 +101,6 @@ function StoreProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
101
|
'exclude_from_search': value['excludeFromSearch'],
|
|
103
102
|
'allow_oversell': value['allowOversell'],
|
|
104
103
|
'is_oversized': value['isOversized'],
|
|
105
|
-
'netsuite_id': value['netsuiteId'],
|
|
106
104
|
'popularity_score': value['popularityScore'],
|
|
107
105
|
'stock': value['stock'],
|
|
108
106
|
'sites': (value['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerToJSON)),
|
|
@@ -83,12 +83,6 @@ export interface UpdateProductChildRequest {
|
|
|
83
83
|
* @memberof UpdateProductChildRequest
|
|
84
84
|
*/
|
|
85
85
|
isOversized: boolean;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {number}
|
|
89
|
-
* @memberof UpdateProductChildRequest
|
|
90
|
-
*/
|
|
91
|
-
netsuiteId?: number;
|
|
92
86
|
/**
|
|
93
87
|
*
|
|
94
88
|
* @type {number}
|
|
@@ -67,7 +67,6 @@ function UpdateProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
67
67
|
'excludeFromSearch': json['exclude_from_search'],
|
|
68
68
|
'allowOversell': json['allow_oversell'],
|
|
69
69
|
'isOversized': json['is_oversized'],
|
|
70
|
-
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
71
70
|
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
72
71
|
'stock': json['stock'],
|
|
73
72
|
'sites': (json['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerFromJSON)),
|
|
@@ -95,7 +94,6 @@ function UpdateProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
95
94
|
'exclude_from_search': value['excludeFromSearch'],
|
|
96
95
|
'allow_oversell': value['allowOversell'],
|
|
97
96
|
'is_oversized': value['isOversized'],
|
|
98
|
-
'netsuite_id': value['netsuiteId'],
|
|
99
97
|
'popularity_score': value['popularityScore'],
|
|
100
98
|
'stock': value['stock'],
|
|
101
99
|
'sites': (value['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerToJSON)),
|
|
@@ -19,6 +19,8 @@ Name | Type
|
|
|
19
19
|
`supplierId` | Array<string>
|
|
20
20
|
`productTypeId` | Array<string>
|
|
21
21
|
`parentIsAccessory` | Array<string>
|
|
22
|
+
`availableSitesId` | Array<string>
|
|
23
|
+
`enabledSitesId` | Array<string>
|
|
22
24
|
|
|
23
25
|
## Example
|
|
24
26
|
|
|
@@ -40,6 +42,8 @@ const example = {
|
|
|
40
42
|
"supplierId": null,
|
|
41
43
|
"productTypeId": null,
|
|
42
44
|
"parentIsAccessory": null,
|
|
45
|
+
"availableSitesId": null,
|
|
46
|
+
"enabledSitesId": null,
|
|
43
47
|
} satisfies GetAllProductChildRequest
|
|
44
48
|
|
|
45
49
|
console.log(example)
|
|
@@ -18,6 +18,8 @@ Name | Type
|
|
|
18
18
|
`supplierId` | Array<string>
|
|
19
19
|
`productTypeId` | Array<string>
|
|
20
20
|
`parentIsAccessory` | Array<string>
|
|
21
|
+
`availableSitesId` | Array<string>
|
|
22
|
+
`enabledSitesId` | Array<string>
|
|
21
23
|
`relatedId` | number
|
|
22
24
|
`relatedType` | string
|
|
23
25
|
`includesRelations` | boolean
|
|
@@ -41,6 +43,8 @@ const example = {
|
|
|
41
43
|
"supplierId": null,
|
|
42
44
|
"productTypeId": null,
|
|
43
45
|
"parentIsAccessory": null,
|
|
46
|
+
"availableSitesId": null,
|
|
47
|
+
"enabledSitesId": null,
|
|
44
48
|
"relatedId": null,
|
|
45
49
|
"relatedType": null,
|
|
46
50
|
"includesRelations": null,
|
|
@@ -26,7 +26,6 @@ Name | Type
|
|
|
26
26
|
`googleStockStatus` | number
|
|
27
27
|
`netsuiteId` | string
|
|
28
28
|
`netsuiteSyncStatus` | string
|
|
29
|
-
`hasSyncedToNetsuite` | boolean
|
|
30
29
|
`newArrivalStartDate` | string
|
|
31
30
|
`newArrivalEndDate` | string
|
|
32
31
|
`isDisabled` | boolean
|
|
@@ -62,7 +61,6 @@ const example = {
|
|
|
62
61
|
"googleStockStatus": null,
|
|
63
62
|
"netsuiteId": null,
|
|
64
63
|
"netsuiteSyncStatus": null,
|
|
65
|
-
"hasSyncedToNetsuite": null,
|
|
66
64
|
"newArrivalStartDate": null,
|
|
67
65
|
"newArrivalEndDate": null,
|
|
68
66
|
"isDisabled": null,
|
|
@@ -18,7 +18,6 @@ Name | Type
|
|
|
18
18
|
`excludeFromSearch` | boolean
|
|
19
19
|
`allowOversell` | boolean
|
|
20
20
|
`isOversized` | boolean
|
|
21
|
-
`netsuiteId` | number
|
|
22
21
|
`popularityScore` | number
|
|
23
22
|
`stock` | number
|
|
24
23
|
`sites` | [Array<StoreProductChildRequestSitesInner>](StoreProductChildRequestSitesInner.md)
|
|
@@ -46,7 +45,6 @@ const example = {
|
|
|
46
45
|
"excludeFromSearch": null,
|
|
47
46
|
"allowOversell": null,
|
|
48
47
|
"isOversized": null,
|
|
49
|
-
"netsuiteId": null,
|
|
50
48
|
"popularityScore": null,
|
|
51
49
|
"stock": null,
|
|
52
50
|
"sites": null,
|
|
@@ -17,7 +17,6 @@ Name | Type
|
|
|
17
17
|
`excludeFromSearch` | boolean
|
|
18
18
|
`allowOversell` | boolean
|
|
19
19
|
`isOversized` | boolean
|
|
20
|
-
`netsuiteId` | number
|
|
21
20
|
`popularityScore` | number
|
|
22
21
|
`stock` | number
|
|
23
22
|
`sites` | [Array<StoreProductChildRequestSitesInner>](StoreProductChildRequestSitesInner.md)
|
|
@@ -42,7 +41,6 @@ const example = {
|
|
|
42
41
|
"excludeFromSearch": null,
|
|
43
42
|
"allowOversell": null,
|
|
44
43
|
"isOversized": null,
|
|
45
|
-
"netsuiteId": null,
|
|
46
44
|
"popularityScore": null,
|
|
47
45
|
"stock": null,
|
|
48
46
|
"sites": null,
|
package/package.json
CHANGED
|
@@ -97,6 +97,18 @@ export interface GetAllProductChildRequest {
|
|
|
97
97
|
* @memberof GetAllProductChildRequest
|
|
98
98
|
*/
|
|
99
99
|
parentIsAccessory?: Array<string>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {Array<string>}
|
|
103
|
+
* @memberof GetAllProductChildRequest
|
|
104
|
+
*/
|
|
105
|
+
availableSitesId?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof GetAllProductChildRequest
|
|
110
|
+
*/
|
|
111
|
+
enabledSitesId?: Array<string>;
|
|
100
112
|
}
|
|
101
113
|
|
|
102
114
|
|
|
@@ -170,6 +182,8 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
170
182
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
171
183
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
172
184
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
185
|
+
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
186
|
+
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
173
187
|
};
|
|
174
188
|
}
|
|
175
189
|
|
|
@@ -197,6 +211,8 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
|
|
|
197
211
|
'supplier-id': value['supplierId'],
|
|
198
212
|
'productType-id': value['productTypeId'],
|
|
199
213
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
214
|
+
'availableSites-id': value['availableSitesId'],
|
|
215
|
+
'enabledSites-id': value['enabledSitesId'],
|
|
200
216
|
};
|
|
201
217
|
}
|
|
202
218
|
|
|
@@ -91,6 +91,18 @@ export interface IndexProductChildRequest {
|
|
|
91
91
|
* @memberof IndexProductChildRequest
|
|
92
92
|
*/
|
|
93
93
|
parentIsAccessory?: Array<string>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Array<string>}
|
|
97
|
+
* @memberof IndexProductChildRequest
|
|
98
|
+
*/
|
|
99
|
+
availableSitesId?: Array<string>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {Array<string>}
|
|
103
|
+
* @memberof IndexProductChildRequest
|
|
104
|
+
*/
|
|
105
|
+
enabledSitesId?: Array<string>;
|
|
94
106
|
/**
|
|
95
107
|
*
|
|
96
108
|
* @type {number}
|
|
@@ -189,6 +201,8 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
189
201
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
190
202
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
191
203
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
204
|
+
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
205
|
+
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
192
206
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
193
207
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
194
208
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -218,6 +232,8 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
218
232
|
'supplier-id': value['supplierId'],
|
|
219
233
|
'productType-id': value['productTypeId'],
|
|
220
234
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
235
|
+
'availableSites-id': value['availableSitesId'],
|
|
236
|
+
'enabledSites-id': value['enabledSitesId'],
|
|
221
237
|
'related_id': value['relatedId'],
|
|
222
238
|
'related_type': value['relatedType'],
|
|
223
239
|
'includes_relations': value['includesRelations'],
|
|
@@ -154,12 +154,6 @@ export interface ProductChildResource {
|
|
|
154
154
|
* @memberof ProductChildResource
|
|
155
155
|
*/
|
|
156
156
|
netsuiteSyncStatus?: string | null;
|
|
157
|
-
/**
|
|
158
|
-
*
|
|
159
|
-
* @type {boolean}
|
|
160
|
-
* @memberof ProductChildResource
|
|
161
|
-
*/
|
|
162
|
-
hasSyncedToNetsuite: boolean;
|
|
163
157
|
/**
|
|
164
158
|
*
|
|
165
159
|
* @type {string}
|
|
@@ -225,7 +219,6 @@ export function instanceOfProductChildResource(value: object): value is ProductC
|
|
|
225
219
|
if (!('isBundle' in value) || value['isBundle'] === undefined) return false;
|
|
226
220
|
if (!('displayInSocialFeed' in value) || value['displayInSocialFeed'] === undefined) return false;
|
|
227
221
|
if (!('googleStockStatus' in value) || value['googleStockStatus'] === undefined) return false;
|
|
228
|
-
if (!('hasSyncedToNetsuite' in value) || value['hasSyncedToNetsuite'] === undefined) return false;
|
|
229
222
|
if (!('newArrivalStartDate' in value) || value['newArrivalStartDate'] === undefined) return false;
|
|
230
223
|
if (!('newArrivalEndDate' in value) || value['newArrivalEndDate'] === undefined) return false;
|
|
231
224
|
if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
|
|
@@ -266,7 +259,6 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
266
259
|
'googleStockStatus': json['googleStockStatus'],
|
|
267
260
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
268
261
|
'netsuiteSyncStatus': json['netsuiteSyncStatus'] == null ? undefined : json['netsuiteSyncStatus'],
|
|
269
|
-
'hasSyncedToNetsuite': json['hasSyncedToNetsuite'],
|
|
270
262
|
'newArrivalStartDate': json['newArrivalStartDate'],
|
|
271
263
|
'newArrivalEndDate': json['newArrivalEndDate'],
|
|
272
264
|
'isDisabled': json['isDisabled'],
|
|
@@ -308,7 +300,6 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
|
|
|
308
300
|
'googleStockStatus': value['googleStockStatus'],
|
|
309
301
|
'netsuiteId': value['netsuiteId'],
|
|
310
302
|
'netsuiteSyncStatus': value['netsuiteSyncStatus'],
|
|
311
|
-
'hasSyncedToNetsuite': value['hasSyncedToNetsuite'],
|
|
312
303
|
'newArrivalStartDate': value['newArrivalStartDate'],
|
|
313
304
|
'newArrivalEndDate': value['newArrivalEndDate'],
|
|
314
305
|
'isDisabled': value['isDisabled'],
|
|
@@ -113,12 +113,6 @@ export interface StoreProductChildRequest {
|
|
|
113
113
|
* @memberof StoreProductChildRequest
|
|
114
114
|
*/
|
|
115
115
|
isOversized: boolean;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {number}
|
|
119
|
-
* @memberof StoreProductChildRequest
|
|
120
|
-
*/
|
|
121
|
-
netsuiteId?: number;
|
|
122
116
|
/**
|
|
123
117
|
*
|
|
124
118
|
* @type {number}
|
|
@@ -204,7 +198,6 @@ export function StoreProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
204
198
|
'excludeFromSearch': json['exclude_from_search'],
|
|
205
199
|
'allowOversell': json['allow_oversell'],
|
|
206
200
|
'isOversized': json['is_oversized'],
|
|
207
|
-
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
208
201
|
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
209
202
|
'stock': json['stock'],
|
|
210
203
|
'sites': ((json['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerFromJSON)),
|
|
@@ -238,7 +231,6 @@ export function StoreProductChildRequestToJSONTyped(value?: StoreProductChildReq
|
|
|
238
231
|
'exclude_from_search': value['excludeFromSearch'],
|
|
239
232
|
'allow_oversell': value['allowOversell'],
|
|
240
233
|
'is_oversized': value['isOversized'],
|
|
241
|
-
'netsuite_id': value['netsuiteId'],
|
|
242
234
|
'popularity_score': value['popularityScore'],
|
|
243
235
|
'stock': value['stock'],
|
|
244
236
|
'sites': ((value['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerToJSON)),
|
|
@@ -100,12 +100,6 @@ export interface UpdateProductChildRequest {
|
|
|
100
100
|
* @memberof UpdateProductChildRequest
|
|
101
101
|
*/
|
|
102
102
|
isOversized: boolean;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {number}
|
|
106
|
-
* @memberof UpdateProductChildRequest
|
|
107
|
-
*/
|
|
108
|
-
netsuiteId?: number;
|
|
109
103
|
/**
|
|
110
104
|
*
|
|
111
105
|
* @type {number}
|
|
@@ -177,7 +171,6 @@ export function UpdateProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
177
171
|
'excludeFromSearch': json['exclude_from_search'],
|
|
178
172
|
'allowOversell': json['allow_oversell'],
|
|
179
173
|
'isOversized': json['is_oversized'],
|
|
180
|
-
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
181
174
|
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
182
175
|
'stock': json['stock'],
|
|
183
176
|
'sites': ((json['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerFromJSON)),
|
|
@@ -208,7 +201,6 @@ export function UpdateProductChildRequestToJSONTyped(value?: UpdateProductChildR
|
|
|
208
201
|
'exclude_from_search': value['excludeFromSearch'],
|
|
209
202
|
'allow_oversell': value['allowOversell'],
|
|
210
203
|
'is_oversized': value['isOversized'],
|
|
211
|
-
'netsuite_id': value['netsuiteId'],
|
|
212
204
|
'popularity_score': value['popularityScore'],
|
|
213
205
|
'stock': value['stock'],
|
|
214
206
|
'sites': ((value['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerToJSON)),
|