@digital8/lighting-illusions-ts-sdk 0.0.639 → 0.0.641
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 +38 -4
- package/README.md +26 -4
- package/dist/apis/DefinitionApi.d.ts +85 -0
- package/dist/apis/DefinitionApi.js +355 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AssetFrontendResource.d.ts +74 -0
- package/dist/models/AssetFrontendResource.js +79 -0
- package/dist/models/AssetFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetFrontendResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionListResource.d.ts +38 -0
- package/dist/models/DefinitionListResource.js +55 -0
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionListResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionResource.d.ts +44 -0
- package/dist/models/DefinitionResource.js +59 -0
- package/dist/models/DefinitionResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionResourceArrayResponse.js +50 -0
- package/dist/models/DocumentFrontendResource.d.ts +44 -0
- package/dist/models/DocumentFrontendResource.js +57 -0
- package/dist/models/DocumentFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/DocumentFrontendResourceArrayResponse.js +50 -0
- package/dist/models/GetAllDefinitionRequest.d.ts +80 -0
- package/dist/models/GetAllDefinitionRequest.js +76 -0
- package/dist/models/IndexDefinitionRequest.d.ts +92 -0
- package/dist/models/IndexDefinitionRequest.js +80 -0
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +62 -0
- package/dist/models/OverlayTemplateAssetFrontendResource.js +71 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.js +57 -0
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionResourceResponse.js +57 -0
- package/dist/models/ProductCompareResource.d.ts +141 -0
- package/dist/models/ProductCompareResource.js +124 -0
- package/dist/models/ProductCompareResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductCompareResourceArrayResponse.js +50 -0
- package/dist/models/StoreDefinitionRequest.d.ts +38 -0
- package/dist/models/StoreDefinitionRequest.js +55 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/UpdateDefinitionRequest.d.ts +38 -0
- package/dist/models/UpdateDefinitionRequest.js +55 -0
- package/dist/models/index.d.ts +18 -1
- package/dist/models/index.js +18 -1
- package/docs/AssetFrontendResource.md +48 -0
- package/docs/AssetFrontendResourceArrayResponse.md +34 -0
- package/docs/DefinitionApi.md +407 -0
- package/docs/DefinitionListResource.md +36 -0
- package/docs/DefinitionListResourceArrayResponse.md +34 -0
- package/docs/DefinitionResource.md +38 -0
- package/docs/DefinitionResourceArrayResponse.md +34 -0
- package/docs/DocumentFrontendResource.md +38 -0
- package/docs/DocumentFrontendResourceArrayResponse.md +34 -0
- package/docs/GetAllDefinitionRequest.md +44 -0
- package/docs/IndexDefinitionRequest.md +48 -0
- package/docs/OverlayTemplateAssetFrontendResource.md +44 -0
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +34 -0
- package/docs/PaginatedDefinitionListResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionResourceResponse.md +36 -0
- package/docs/ProductCompareResource.md +70 -0
- package/docs/ProductCompareResourceArrayResponse.md +34 -0
- package/docs/StoreDefinitionRequest.md +36 -0
- package/docs/StoreProductCategoryRequest.md +1 -1
- package/docs/UpdateDefinitionRequest.md +36 -0
- package/package.json +1 -1
- package/src/apis/DefinitionApi.ts +286 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AssetFrontendResource.ts +129 -0
- package/src/models/AssetFrontendResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionListResource.ts +75 -0
- package/src/models/DefinitionListResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionResource.ts +84 -0
- package/src/models/DefinitionResourceArrayResponse.ts +73 -0
- package/src/models/DocumentFrontendResource.ts +83 -0
- package/src/models/DocumentFrontendResourceArrayResponse.ts +73 -0
- package/src/models/GetAllDefinitionRequest.ts +127 -0
- package/src/models/IndexDefinitionRequest.ts +143 -0
- package/src/models/OverlayTemplateAssetFrontendResource.ts +111 -0
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
- package/src/models/ProductCompareResource.ts +236 -0
- package/src/models/ProductCompareResourceArrayResponse.ts +73 -0
- package/src/models/StoreDefinitionRequest.ts +75 -0
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/UpdateDefinitionRequest.ts +75 -0
- package/src/models/index.ts +18 -1
- package/dist/apis/NetsuiteApi.d.ts +0 -29
- package/dist/apis/NetsuiteApi.js +0 -125
- package/dist/models/SyncProductNetsuiteProductRequest.d.ts +0 -182
- package/dist/models/SyncProductNetsuiteProductRequest.js +0 -101
- package/docs/NetsuiteApi.md +0 -74
- package/docs/SyncProductNetsuiteProductRequest.md +0 -84
- package/src/apis/NetsuiteApi.ts +0 -69
- package/src/models/SyncProductNetsuiteProductRequest.ts +0 -266
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# SyncProductNetsuiteProductRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`internalId` | number
|
|
10
|
-
`productType` | string
|
|
11
|
-
`upccode` | string
|
|
12
|
-
`vendorname` | string
|
|
13
|
-
`custitemAnxRetailId` | string
|
|
14
|
-
`weight` | number
|
|
15
|
-
`custitemAnxAllowOversell` | string
|
|
16
|
-
`onlineLocationCost` | number
|
|
17
|
-
`popularityScore` | number
|
|
18
|
-
`excludeFrontend` | string
|
|
19
|
-
`excludeSearch` | string
|
|
20
|
-
`oversized` | string
|
|
21
|
-
`isBundle` | string
|
|
22
|
-
`bundleUpccode` | string
|
|
23
|
-
`published` | Array<string>
|
|
24
|
-
`custitemrrpGst` | number
|
|
25
|
-
`liPrice` | string
|
|
26
|
-
`cfdPrice` | string
|
|
27
|
-
`labelLi` | string
|
|
28
|
-
`labelCfd` | string
|
|
29
|
-
`priceFeedLi` | string
|
|
30
|
-
`priceFeedCfd` | string
|
|
31
|
-
`socialFeed` | string
|
|
32
|
-
`attribRoom` | Array<string>
|
|
33
|
-
`attribStyle` | Array<string>
|
|
34
|
-
`attribPrimarycolour` | string
|
|
35
|
-
|
|
36
|
-
## Example
|
|
37
|
-
|
|
38
|
-
```typescript
|
|
39
|
-
import type { SyncProductNetsuiteProductRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
40
|
-
|
|
41
|
-
// TODO: Update the object below with actual values
|
|
42
|
-
const example = {
|
|
43
|
-
"internalId": null,
|
|
44
|
-
"productType": null,
|
|
45
|
-
"upccode": null,
|
|
46
|
-
"vendorname": null,
|
|
47
|
-
"custitemAnxRetailId": null,
|
|
48
|
-
"weight": null,
|
|
49
|
-
"custitemAnxAllowOversell": null,
|
|
50
|
-
"onlineLocationCost": null,
|
|
51
|
-
"popularityScore": null,
|
|
52
|
-
"excludeFrontend": null,
|
|
53
|
-
"excludeSearch": null,
|
|
54
|
-
"oversized": null,
|
|
55
|
-
"isBundle": null,
|
|
56
|
-
"bundleUpccode": null,
|
|
57
|
-
"published": null,
|
|
58
|
-
"custitemrrpGst": null,
|
|
59
|
-
"liPrice": null,
|
|
60
|
-
"cfdPrice": null,
|
|
61
|
-
"labelLi": null,
|
|
62
|
-
"labelCfd": null,
|
|
63
|
-
"priceFeedLi": null,
|
|
64
|
-
"priceFeedCfd": null,
|
|
65
|
-
"socialFeed": null,
|
|
66
|
-
"attribRoom": null,
|
|
67
|
-
"attribStyle": null,
|
|
68
|
-
"attribPrimarycolour": null,
|
|
69
|
-
} satisfies SyncProductNetsuiteProductRequest
|
|
70
|
-
|
|
71
|
-
console.log(example)
|
|
72
|
-
|
|
73
|
-
// Convert the instance to a JSON string
|
|
74
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
75
|
-
console.log(exampleJSON)
|
|
76
|
-
|
|
77
|
-
// Parse the JSON string back to an object
|
|
78
|
-
const exampleParsed = JSON.parse(exampleJSON) as SyncProductNetsuiteProductRequest
|
|
79
|
-
console.log(exampleParsed)
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
83
|
-
|
|
84
|
-
|
package/src/apis/NetsuiteApi.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
GenericResponse,
|
|
19
|
-
SyncProductNetsuiteProductRequest,
|
|
20
|
-
} from '../models/index';
|
|
21
|
-
import {
|
|
22
|
-
GenericResponseFromJSON,
|
|
23
|
-
GenericResponseToJSON,
|
|
24
|
-
SyncProductNetsuiteProductRequestFromJSON,
|
|
25
|
-
SyncProductNetsuiteProductRequestToJSON,
|
|
26
|
-
} from '../models/index';
|
|
27
|
-
|
|
28
|
-
export interface SyncProductNetsuiteProductOperationRequest {
|
|
29
|
-
syncProductNetsuiteProductRequest?: SyncProductNetsuiteProductRequest;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
export class NetsuiteApi extends runtime.BaseAPI {
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Auto-generated: syncProductNetsuiteProduct
|
|
39
|
-
*/
|
|
40
|
-
async syncProductNetsuiteProductRaw(requestParameters: SyncProductNetsuiteProductOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
41
|
-
const queryParameters: any = {};
|
|
42
|
-
|
|
43
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
44
|
-
|
|
45
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
let urlPath = `/admin-api/netsuite/products/sync`;
|
|
49
|
-
|
|
50
|
-
const response = await this.request({
|
|
51
|
-
path: urlPath,
|
|
52
|
-
method: 'POST',
|
|
53
|
-
headers: headerParameters,
|
|
54
|
-
query: queryParameters,
|
|
55
|
-
body: SyncProductNetsuiteProductRequestToJSON(requestParameters['syncProductNetsuiteProductRequest']),
|
|
56
|
-
}, initOverrides);
|
|
57
|
-
|
|
58
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Auto-generated: syncProductNetsuiteProduct
|
|
63
|
-
*/
|
|
64
|
-
async syncProductNetsuiteProduct(requestParameters: SyncProductNetsuiteProductOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
|
|
65
|
-
const response = await this.syncProductNetsuiteProductRaw(requestParameters, initOverrides);
|
|
66
|
-
return await response.value();
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
}
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SyncProductNetsuiteProductRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface SyncProductNetsuiteProductRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
26
|
-
*/
|
|
27
|
-
internalId: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
32
|
-
*/
|
|
33
|
-
productType?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
38
|
-
*/
|
|
39
|
-
upccode?: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
44
|
-
*/
|
|
45
|
-
vendorname?: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
50
|
-
*/
|
|
51
|
-
custitemAnxRetailId?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
56
|
-
*/
|
|
57
|
-
weight?: number;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
62
|
-
*/
|
|
63
|
-
custitemAnxAllowOversell?: string;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
68
|
-
*/
|
|
69
|
-
onlineLocationCost?: number;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
74
|
-
*/
|
|
75
|
-
popularityScore?: number;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
80
|
-
*/
|
|
81
|
-
excludeFrontend?: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
86
|
-
*/
|
|
87
|
-
excludeSearch?: string;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
92
|
-
*/
|
|
93
|
-
oversized?: string;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
98
|
-
*/
|
|
99
|
-
isBundle?: string;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
104
|
-
*/
|
|
105
|
-
bundleUpccode?: string;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {Array<string>}
|
|
109
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
110
|
-
*/
|
|
111
|
-
published?: Array<string>;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {number}
|
|
115
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
116
|
-
*/
|
|
117
|
-
custitemrrpGst?: number;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
122
|
-
*/
|
|
123
|
-
liPrice?: string;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
128
|
-
*/
|
|
129
|
-
cfdPrice?: string;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {string}
|
|
133
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
134
|
-
*/
|
|
135
|
-
labelLi?: string;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {string}
|
|
139
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
140
|
-
*/
|
|
141
|
-
labelCfd?: string;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {string}
|
|
145
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
146
|
-
*/
|
|
147
|
-
priceFeedLi?: string;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
152
|
-
*/
|
|
153
|
-
priceFeedCfd?: string;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @type {string}
|
|
157
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
158
|
-
*/
|
|
159
|
-
socialFeed?: string;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @type {Array<string>}
|
|
163
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
164
|
-
*/
|
|
165
|
-
attribRoom?: Array<string>;
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @type {Array<string>}
|
|
169
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
170
|
-
*/
|
|
171
|
-
attribStyle?: Array<string>;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {string}
|
|
175
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
176
|
-
*/
|
|
177
|
-
attribPrimarycolour?: string;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Check if a given object implements the SyncProductNetsuiteProductRequest interface.
|
|
182
|
-
*/
|
|
183
|
-
export function instanceOfSyncProductNetsuiteProductRequest(value: object): value is SyncProductNetsuiteProductRequest {
|
|
184
|
-
if (!('internalId' in value) || value['internalId'] === undefined) return false;
|
|
185
|
-
return true;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
export function SyncProductNetsuiteProductRequestFromJSON(json: any): SyncProductNetsuiteProductRequest {
|
|
189
|
-
return SyncProductNetsuiteProductRequestFromJSONTyped(json, false);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export function SyncProductNetsuiteProductRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncProductNetsuiteProductRequest {
|
|
193
|
-
if (json == null) {
|
|
194
|
-
return json;
|
|
195
|
-
}
|
|
196
|
-
return {
|
|
197
|
-
|
|
198
|
-
'internalId': json['internalId'],
|
|
199
|
-
'productType': json['productType'] == null ? undefined : json['productType'],
|
|
200
|
-
'upccode': json['upccode'] == null ? undefined : json['upccode'],
|
|
201
|
-
'vendorname': json['vendorname'] == null ? undefined : json['vendorname'],
|
|
202
|
-
'custitemAnxRetailId': json['custitem_anx_retail_id'] == null ? undefined : json['custitem_anx_retail_id'],
|
|
203
|
-
'weight': json['weight'] == null ? undefined : json['weight'],
|
|
204
|
-
'custitemAnxAllowOversell': json['custitem_anx_allow_oversell'] == null ? undefined : json['custitem_anx_allow_oversell'],
|
|
205
|
-
'onlineLocationCost': json['online_location_cost'] == null ? undefined : json['online_location_cost'],
|
|
206
|
-
'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
|
|
207
|
-
'excludeFrontend': json['exclude_frontend'] == null ? undefined : json['exclude_frontend'],
|
|
208
|
-
'excludeSearch': json['exclude_search'] == null ? undefined : json['exclude_search'],
|
|
209
|
-
'oversized': json['oversized'] == null ? undefined : json['oversized'],
|
|
210
|
-
'isBundle': json['is_bundle'] == null ? undefined : json['is_bundle'],
|
|
211
|
-
'bundleUpccode': json['bundle_upccode'] == null ? undefined : json['bundle_upccode'],
|
|
212
|
-
'published': json['published'] == null ? undefined : json['published'],
|
|
213
|
-
'custitemrrpGst': json['custitemrrp_gst'] == null ? undefined : json['custitemrrp_gst'],
|
|
214
|
-
'liPrice': json['li_price'] == null ? undefined : json['li_price'],
|
|
215
|
-
'cfdPrice': json['cfd_price'] == null ? undefined : json['cfd_price'],
|
|
216
|
-
'labelLi': json['label_li'] == null ? undefined : json['label_li'],
|
|
217
|
-
'labelCfd': json['label_cfd'] == null ? undefined : json['label_cfd'],
|
|
218
|
-
'priceFeedLi': json['price_feed_li'] == null ? undefined : json['price_feed_li'],
|
|
219
|
-
'priceFeedCfd': json['price_feed_cfd'] == null ? undefined : json['price_feed_cfd'],
|
|
220
|
-
'socialFeed': json['social_feed'] == null ? undefined : json['social_feed'],
|
|
221
|
-
'attribRoom': json['attrib_room'] == null ? undefined : json['attrib_room'],
|
|
222
|
-
'attribStyle': json['attrib_style'] == null ? undefined : json['attrib_style'],
|
|
223
|
-
'attribPrimarycolour': json['attrib_primarycolour'] == null ? undefined : json['attrib_primarycolour'],
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export function SyncProductNetsuiteProductRequestToJSON(json: any): SyncProductNetsuiteProductRequest {
|
|
228
|
-
return SyncProductNetsuiteProductRequestToJSONTyped(json, false);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export function SyncProductNetsuiteProductRequestToJSONTyped(value?: SyncProductNetsuiteProductRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
232
|
-
if (value == null) {
|
|
233
|
-
return value;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
return {
|
|
237
|
-
|
|
238
|
-
'internalId': value['internalId'],
|
|
239
|
-
'productType': value['productType'],
|
|
240
|
-
'upccode': value['upccode'],
|
|
241
|
-
'vendorname': value['vendorname'],
|
|
242
|
-
'custitem_anx_retail_id': value['custitemAnxRetailId'],
|
|
243
|
-
'weight': value['weight'],
|
|
244
|
-
'custitem_anx_allow_oversell': value['custitemAnxAllowOversell'],
|
|
245
|
-
'online_location_cost': value['onlineLocationCost'],
|
|
246
|
-
'popularity_score': value['popularityScore'],
|
|
247
|
-
'exclude_frontend': value['excludeFrontend'],
|
|
248
|
-
'exclude_search': value['excludeSearch'],
|
|
249
|
-
'oversized': value['oversized'],
|
|
250
|
-
'is_bundle': value['isBundle'],
|
|
251
|
-
'bundle_upccode': value['bundleUpccode'],
|
|
252
|
-
'published': value['published'],
|
|
253
|
-
'custitemrrp_gst': value['custitemrrpGst'],
|
|
254
|
-
'li_price': value['liPrice'],
|
|
255
|
-
'cfd_price': value['cfdPrice'],
|
|
256
|
-
'label_li': value['labelLi'],
|
|
257
|
-
'label_cfd': value['labelCfd'],
|
|
258
|
-
'price_feed_li': value['priceFeedLi'],
|
|
259
|
-
'price_feed_cfd': value['priceFeedCfd'],
|
|
260
|
-
'social_feed': value['socialFeed'],
|
|
261
|
-
'attrib_room': value['attribRoom'],
|
|
262
|
-
'attrib_style': value['attribStyle'],
|
|
263
|
-
'attrib_primarycolour': value['attribPrimarycolour'],
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
|