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