@digital8/lighting-illusions-ts-sdk 0.0.1140 → 0.0.1142
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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllProductChildRequest.d.ts +13 -1
- package/dist/models/GetAllProductChildRequest.js +6 -2
- package/dist/models/IndexProductChildRequest.d.ts +13 -1
- package/dist/models/IndexProductChildRequest.js +6 -2
- package/dist/models/ProductTypeListResource.d.ts +0 -6
- package/dist/models/ProductTypeListResource.js +0 -4
- package/dist/models/TagLiteResource.d.ts +0 -6
- package/dist/models/TagLiteResource.js +0 -4
- package/docs/GetAllProductChildRequest.md +6 -2
- package/docs/IndexProductChildRequest.md +6 -2
- package/docs/ProductTypeListResource.md +0 -2
- package/docs/TagLiteResource.md +0 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllProductChildRequest.ts +19 -3
- package/src/models/IndexProductChildRequest.ts +19 -3
- package/src/models/ProductTypeListResource.ts +0 -9
- package/src/models/TagLiteResource.ts +0 -9
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1142
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -474,7 +474,7 @@ and is automatically generated by the
|
|
|
474
474
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
475
475
|
|
|
476
476
|
- API version: `1.0.0`
|
|
477
|
-
- Package version: `0.0.
|
|
477
|
+
- Package version: `0.0.1142`
|
|
478
478
|
- Generator version: `7.20.0`
|
|
479
479
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
480
480
|
|
|
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -81,6 +81,12 @@ export interface GetAllProductChildRequest {
|
|
|
81
81
|
* @memberof GetAllProductChildRequest
|
|
82
82
|
*/
|
|
83
83
|
supplierId?: Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<string>}
|
|
87
|
+
* @memberof GetAllProductChildRequest
|
|
88
|
+
*/
|
|
89
|
+
tagsId?: Array<string>;
|
|
84
90
|
/**
|
|
85
91
|
*
|
|
86
92
|
* @type {Array<string>}
|
|
@@ -110,7 +116,13 @@ export interface GetAllProductChildRequest {
|
|
|
110
116
|
* @type {Array<string>}
|
|
111
117
|
* @memberof GetAllProductChildRequest
|
|
112
118
|
*/
|
|
113
|
-
|
|
119
|
+
siteDetailsSeoHasSeoTitle?: Array<string>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {Array<string>}
|
|
123
|
+
* @memberof GetAllProductChildRequest
|
|
124
|
+
*/
|
|
125
|
+
siteDetailsSeoHasSeoDescription?: Array<string>;
|
|
114
126
|
}
|
|
115
127
|
/**
|
|
116
128
|
* @export
|
|
@@ -77,11 +77,13 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
77
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
78
78
|
'categoryId': json['category-id'] == null ? undefined : json['category-id'],
|
|
79
79
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
80
|
+
'tagsId': json['tags-id'] == null ? undefined : json['tags-id'],
|
|
80
81
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
81
82
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
82
83
|
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
83
84
|
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
84
|
-
'
|
|
85
|
+
'siteDetailsSeoHasSeoTitle': json['siteDetailsSeo-has_seo_title'] == null ? undefined : json['siteDetailsSeo-has_seo_title'],
|
|
86
|
+
'siteDetailsSeoHasSeoDescription': json['siteDetailsSeo-has_seo_description'] == null ? undefined : json['siteDetailsSeo-has_seo_description'],
|
|
85
87
|
};
|
|
86
88
|
}
|
|
87
89
|
function GetAllProductChildRequestToJSON(json) {
|
|
@@ -104,10 +106,12 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
104
106
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
105
107
|
'category-id': value['categoryId'],
|
|
106
108
|
'supplier-id': value['supplierId'],
|
|
109
|
+
'tags-id': value['tagsId'],
|
|
107
110
|
'productType-id': value['productTypeId'],
|
|
108
111
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
109
112
|
'availableSites-id': value['availableSitesId'],
|
|
110
113
|
'enabledSites-id': value['enabledSitesId'],
|
|
111
|
-
'
|
|
114
|
+
'siteDetailsSeo-has_seo_title': value['siteDetailsSeoHasSeoTitle'],
|
|
115
|
+
'siteDetailsSeo-has_seo_description': value['siteDetailsSeoHasSeoDescription'],
|
|
112
116
|
};
|
|
113
117
|
}
|
|
@@ -75,6 +75,12 @@ export interface IndexProductChildRequest {
|
|
|
75
75
|
* @memberof IndexProductChildRequest
|
|
76
76
|
*/
|
|
77
77
|
supplierId?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof IndexProductChildRequest
|
|
82
|
+
*/
|
|
83
|
+
tagsId?: Array<string>;
|
|
78
84
|
/**
|
|
79
85
|
*
|
|
80
86
|
* @type {Array<string>}
|
|
@@ -104,7 +110,13 @@ export interface IndexProductChildRequest {
|
|
|
104
110
|
* @type {Array<string>}
|
|
105
111
|
* @memberof IndexProductChildRequest
|
|
106
112
|
*/
|
|
107
|
-
|
|
113
|
+
siteDetailsSeoHasSeoTitle?: Array<string>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {Array<string>}
|
|
117
|
+
* @memberof IndexProductChildRequest
|
|
118
|
+
*/
|
|
119
|
+
siteDetailsSeoHasSeoDescription?: Array<string>;
|
|
108
120
|
/**
|
|
109
121
|
*
|
|
110
122
|
* @type {number}
|
|
@@ -84,11 +84,13 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
84
84
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
85
85
|
'categoryId': json['category-id'] == null ? undefined : json['category-id'],
|
|
86
86
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
87
|
+
'tagsId': json['tags-id'] == null ? undefined : json['tags-id'],
|
|
87
88
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
88
89
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
89
90
|
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
90
91
|
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
91
|
-
'
|
|
92
|
+
'siteDetailsSeoHasSeoTitle': json['siteDetailsSeo-has_seo_title'] == null ? undefined : json['siteDetailsSeo-has_seo_title'],
|
|
93
|
+
'siteDetailsSeoHasSeoDescription': json['siteDetailsSeo-has_seo_description'] == null ? undefined : json['siteDetailsSeo-has_seo_description'],
|
|
92
94
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
93
95
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
94
96
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -113,11 +115,13 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
113
115
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
114
116
|
'category-id': value['categoryId'],
|
|
115
117
|
'supplier-id': value['supplierId'],
|
|
118
|
+
'tags-id': value['tagsId'],
|
|
116
119
|
'productType-id': value['productTypeId'],
|
|
117
120
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
118
121
|
'availableSites-id': value['availableSitesId'],
|
|
119
122
|
'enabledSites-id': value['enabledSitesId'],
|
|
120
|
-
'
|
|
123
|
+
'siteDetailsSeo-has_seo_title': value['siteDetailsSeoHasSeoTitle'],
|
|
124
|
+
'siteDetailsSeo-has_seo_description': value['siteDetailsSeoHasSeoDescription'],
|
|
121
125
|
'related_id': value['relatedId'],
|
|
122
126
|
'related_type': value['relatedType'],
|
|
123
127
|
'includes_relations': value['includesRelations'],
|
|
@@ -33,12 +33,6 @@ export interface ProductTypeListResource {
|
|
|
33
33
|
* @memberof ProductTypeListResource
|
|
34
34
|
*/
|
|
35
35
|
totalAttributes: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ProductTypeListResource
|
|
40
|
-
*/
|
|
41
|
-
totalProducts: number;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Check if a given object implements the ProductTypeListResource interface.
|
|
@@ -28,8 +28,6 @@ function instanceOfProductTypeListResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('totalAttributes' in value) || value['totalAttributes'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('totalProducts' in value) || value['totalProducts'] === undefined)
|
|
32
|
-
return false;
|
|
33
31
|
return true;
|
|
34
32
|
}
|
|
35
33
|
function ProductTypeListResourceFromJSON(json) {
|
|
@@ -43,7 +41,6 @@ function ProductTypeListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
41
|
'id': json['id'],
|
|
44
42
|
'name': json['name'],
|
|
45
43
|
'totalAttributes': json['totalAttributes'],
|
|
46
|
-
'totalProducts': json['totalProducts'],
|
|
47
44
|
};
|
|
48
45
|
}
|
|
49
46
|
function ProductTypeListResourceToJSON(json) {
|
|
@@ -58,6 +55,5 @@ function ProductTypeListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
55
|
'id': value['id'],
|
|
59
56
|
'name': value['name'],
|
|
60
57
|
'totalAttributes': value['totalAttributes'],
|
|
61
|
-
'totalProducts': value['totalProducts'],
|
|
62
58
|
};
|
|
63
59
|
}
|
|
@@ -27,12 +27,6 @@ export interface TagLiteResource {
|
|
|
27
27
|
* @memberof TagLiteResource
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof TagLiteResource
|
|
34
|
-
*/
|
|
35
|
-
siteId: number;
|
|
36
30
|
}
|
|
37
31
|
/**
|
|
38
32
|
* Check if a given object implements the TagLiteResource interface.
|
|
@@ -26,8 +26,6 @@ function instanceOfTagLiteResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
return true;
|
|
32
30
|
}
|
|
33
31
|
function TagLiteResourceFromJSON(json) {
|
|
@@ -40,7 +38,6 @@ function TagLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
38
|
return {
|
|
41
39
|
'id': json['id'],
|
|
42
40
|
'name': json['name'],
|
|
43
|
-
'siteId': json['siteId'],
|
|
44
41
|
};
|
|
45
42
|
}
|
|
46
43
|
function TagLiteResourceToJSON(json) {
|
|
@@ -54,6 +51,5 @@ function TagLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
54
51
|
return {
|
|
55
52
|
'id': value['id'],
|
|
56
53
|
'name': value['name'],
|
|
57
|
-
'siteId': value['siteId'],
|
|
58
54
|
};
|
|
59
55
|
}
|
|
@@ -17,11 +17,13 @@ Name | Type
|
|
|
17
17
|
`netsuiteSyncHasNetsuiteId` | Array<string>
|
|
18
18
|
`categoryId` | Array<string>
|
|
19
19
|
`supplierId` | Array<string>
|
|
20
|
+
`tagsId` | Array<string>
|
|
20
21
|
`productTypeId` | Array<string>
|
|
21
22
|
`parentIsAccessory` | Array<string>
|
|
22
23
|
`availableSitesId` | Array<string>
|
|
23
24
|
`enabledSitesId` | Array<string>
|
|
24
|
-
`
|
|
25
|
+
`siteDetailsSeoHasSeoTitle` | Array<string>
|
|
26
|
+
`siteDetailsSeoHasSeoDescription` | Array<string>
|
|
25
27
|
|
|
26
28
|
## Example
|
|
27
29
|
|
|
@@ -41,11 +43,13 @@ const example = {
|
|
|
41
43
|
"netsuiteSyncHasNetsuiteId": null,
|
|
42
44
|
"categoryId": null,
|
|
43
45
|
"supplierId": null,
|
|
46
|
+
"tagsId": null,
|
|
44
47
|
"productTypeId": null,
|
|
45
48
|
"parentIsAccessory": null,
|
|
46
49
|
"availableSitesId": null,
|
|
47
50
|
"enabledSitesId": null,
|
|
48
|
-
"
|
|
51
|
+
"siteDetailsSeoHasSeoTitle": null,
|
|
52
|
+
"siteDetailsSeoHasSeoDescription": null,
|
|
49
53
|
} satisfies GetAllProductChildRequest
|
|
50
54
|
|
|
51
55
|
console.log(example)
|
|
@@ -16,11 +16,13 @@ Name | Type
|
|
|
16
16
|
`netsuiteSyncHasNetsuiteId` | Array<string>
|
|
17
17
|
`categoryId` | Array<string>
|
|
18
18
|
`supplierId` | Array<string>
|
|
19
|
+
`tagsId` | Array<string>
|
|
19
20
|
`productTypeId` | Array<string>
|
|
20
21
|
`parentIsAccessory` | Array<string>
|
|
21
22
|
`availableSitesId` | Array<string>
|
|
22
23
|
`enabledSitesId` | Array<string>
|
|
23
|
-
`
|
|
24
|
+
`siteDetailsSeoHasSeoTitle` | Array<string>
|
|
25
|
+
`siteDetailsSeoHasSeoDescription` | Array<string>
|
|
24
26
|
`relatedId` | number
|
|
25
27
|
`relatedType` | string
|
|
26
28
|
`includesRelations` | boolean
|
|
@@ -42,11 +44,13 @@ const example = {
|
|
|
42
44
|
"netsuiteSyncHasNetsuiteId": null,
|
|
43
45
|
"categoryId": null,
|
|
44
46
|
"supplierId": null,
|
|
47
|
+
"tagsId": null,
|
|
45
48
|
"productTypeId": null,
|
|
46
49
|
"parentIsAccessory": null,
|
|
47
50
|
"availableSitesId": null,
|
|
48
51
|
"enabledSitesId": null,
|
|
49
|
-
"
|
|
52
|
+
"siteDetailsSeoHasSeoTitle": null,
|
|
53
|
+
"siteDetailsSeoHasSeoDescription": null,
|
|
50
54
|
"relatedId": null,
|
|
51
55
|
"relatedType": null,
|
|
52
56
|
"includesRelations": null,
|
|
@@ -9,7 +9,6 @@ Name | Type
|
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
11
|
`totalAttributes` | number
|
|
12
|
-
`totalProducts` | number
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const example = {
|
|
|
21
20
|
"id": null,
|
|
22
21
|
"name": null,
|
|
23
22
|
"totalAttributes": null,
|
|
24
|
-
"totalProducts": null,
|
|
25
23
|
} satisfies ProductTypeListResource
|
|
26
24
|
|
|
27
25
|
console.log(example)
|
package/docs/TagLiteResource.md
CHANGED
|
@@ -8,7 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
-
`siteId` | number
|
|
12
11
|
|
|
13
12
|
## Example
|
|
14
13
|
|
|
@@ -19,7 +18,6 @@ import type { TagLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
|
19
18
|
const example = {
|
|
20
19
|
"id": null,
|
|
21
20
|
"name": null,
|
|
22
|
-
"siteId": null,
|
|
23
21
|
} satisfies TagLiteResource
|
|
24
22
|
|
|
25
23
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
109
110
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
110
111
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
111
112
|
return true;
|
|
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
128
129
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
129
130
|
'endpoint': json['endpoint'],
|
|
130
131
|
'responseCode': json['responseCode'],
|
|
131
|
-
'requestPayload': json['requestPayload']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -85,6 +85,12 @@ export interface GetAllProductChildRequest {
|
|
|
85
85
|
* @memberof GetAllProductChildRequest
|
|
86
86
|
*/
|
|
87
87
|
supplierId?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Array<string>}
|
|
91
|
+
* @memberof GetAllProductChildRequest
|
|
92
|
+
*/
|
|
93
|
+
tagsId?: Array<string>;
|
|
88
94
|
/**
|
|
89
95
|
*
|
|
90
96
|
* @type {Array<string>}
|
|
@@ -114,7 +120,13 @@ export interface GetAllProductChildRequest {
|
|
|
114
120
|
* @type {Array<string>}
|
|
115
121
|
* @memberof GetAllProductChildRequest
|
|
116
122
|
*/
|
|
117
|
-
|
|
123
|
+
siteDetailsSeoHasSeoTitle?: Array<string>;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {Array<string>}
|
|
127
|
+
* @memberof GetAllProductChildRequest
|
|
128
|
+
*/
|
|
129
|
+
siteDetailsSeoHasSeoDescription?: Array<string>;
|
|
118
130
|
}
|
|
119
131
|
|
|
120
132
|
|
|
@@ -186,11 +198,13 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
186
198
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
187
199
|
'categoryId': json['category-id'] == null ? undefined : json['category-id'],
|
|
188
200
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
201
|
+
'tagsId': json['tags-id'] == null ? undefined : json['tags-id'],
|
|
189
202
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
190
203
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
191
204
|
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
192
205
|
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
193
|
-
'
|
|
206
|
+
'siteDetailsSeoHasSeoTitle': json['siteDetailsSeo-has_seo_title'] == null ? undefined : json['siteDetailsSeo-has_seo_title'],
|
|
207
|
+
'siteDetailsSeoHasSeoDescription': json['siteDetailsSeo-has_seo_description'] == null ? undefined : json['siteDetailsSeo-has_seo_description'],
|
|
194
208
|
};
|
|
195
209
|
}
|
|
196
210
|
|
|
@@ -216,11 +230,13 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
|
|
|
216
230
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
217
231
|
'category-id': value['categoryId'],
|
|
218
232
|
'supplier-id': value['supplierId'],
|
|
233
|
+
'tags-id': value['tagsId'],
|
|
219
234
|
'productType-id': value['productTypeId'],
|
|
220
235
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
221
236
|
'availableSites-id': value['availableSitesId'],
|
|
222
237
|
'enabledSites-id': value['enabledSitesId'],
|
|
223
|
-
'
|
|
238
|
+
'siteDetailsSeo-has_seo_title': value['siteDetailsSeoHasSeoTitle'],
|
|
239
|
+
'siteDetailsSeo-has_seo_description': value['siteDetailsSeoHasSeoDescription'],
|
|
224
240
|
};
|
|
225
241
|
}
|
|
226
242
|
|
|
@@ -79,6 +79,12 @@ export interface IndexProductChildRequest {
|
|
|
79
79
|
* @memberof IndexProductChildRequest
|
|
80
80
|
*/
|
|
81
81
|
supplierId?: Array<string>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Array<string>}
|
|
85
|
+
* @memberof IndexProductChildRequest
|
|
86
|
+
*/
|
|
87
|
+
tagsId?: Array<string>;
|
|
82
88
|
/**
|
|
83
89
|
*
|
|
84
90
|
* @type {Array<string>}
|
|
@@ -108,7 +114,13 @@ export interface IndexProductChildRequest {
|
|
|
108
114
|
* @type {Array<string>}
|
|
109
115
|
* @memberof IndexProductChildRequest
|
|
110
116
|
*/
|
|
111
|
-
|
|
117
|
+
siteDetailsSeoHasSeoTitle?: Array<string>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {Array<string>}
|
|
121
|
+
* @memberof IndexProductChildRequest
|
|
122
|
+
*/
|
|
123
|
+
siteDetailsSeoHasSeoDescription?: Array<string>;
|
|
112
124
|
/**
|
|
113
125
|
*
|
|
114
126
|
* @type {number}
|
|
@@ -205,11 +217,13 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
205
217
|
'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
|
|
206
218
|
'categoryId': json['category-id'] == null ? undefined : json['category-id'],
|
|
207
219
|
'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
|
|
220
|
+
'tagsId': json['tags-id'] == null ? undefined : json['tags-id'],
|
|
208
221
|
'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
|
|
209
222
|
'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
|
|
210
223
|
'availableSitesId': json['availableSites-id'] == null ? undefined : json['availableSites-id'],
|
|
211
224
|
'enabledSitesId': json['enabledSites-id'] == null ? undefined : json['enabledSites-id'],
|
|
212
|
-
'
|
|
225
|
+
'siteDetailsSeoHasSeoTitle': json['siteDetailsSeo-has_seo_title'] == null ? undefined : json['siteDetailsSeo-has_seo_title'],
|
|
226
|
+
'siteDetailsSeoHasSeoDescription': json['siteDetailsSeo-has_seo_description'] == null ? undefined : json['siteDetailsSeo-has_seo_description'],
|
|
213
227
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
214
228
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
215
229
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -237,11 +251,13 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
237
251
|
'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
|
|
238
252
|
'category-id': value['categoryId'],
|
|
239
253
|
'supplier-id': value['supplierId'],
|
|
254
|
+
'tags-id': value['tagsId'],
|
|
240
255
|
'productType-id': value['productTypeId'],
|
|
241
256
|
'parent-is_accessory': value['parentIsAccessory'],
|
|
242
257
|
'availableSites-id': value['availableSitesId'],
|
|
243
258
|
'enabledSites-id': value['enabledSitesId'],
|
|
244
|
-
'
|
|
259
|
+
'siteDetailsSeo-has_seo_title': value['siteDetailsSeoHasSeoTitle'],
|
|
260
|
+
'siteDetailsSeo-has_seo_description': value['siteDetailsSeoHasSeoDescription'],
|
|
245
261
|
'related_id': value['relatedId'],
|
|
246
262
|
'related_type': value['relatedType'],
|
|
247
263
|
'includes_relations': value['includesRelations'],
|
|
@@ -37,12 +37,6 @@ export interface ProductTypeListResource {
|
|
|
37
37
|
* @memberof ProductTypeListResource
|
|
38
38
|
*/
|
|
39
39
|
totalAttributes: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof ProductTypeListResource
|
|
44
|
-
*/
|
|
45
|
-
totalProducts: number;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
42
|
/**
|
|
@@ -52,7 +46,6 @@ export function instanceOfProductTypeListResource(value: object): value is Produ
|
|
|
52
46
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
47
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
54
48
|
if (!('totalAttributes' in value) || value['totalAttributes'] === undefined) return false;
|
|
55
|
-
if (!('totalProducts' in value) || value['totalProducts'] === undefined) return false;
|
|
56
49
|
return true;
|
|
57
50
|
}
|
|
58
51
|
|
|
@@ -69,7 +62,6 @@ export function ProductTypeListResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
69
62
|
'id': json['id'],
|
|
70
63
|
'name': json['name'],
|
|
71
64
|
'totalAttributes': json['totalAttributes'],
|
|
72
|
-
'totalProducts': json['totalProducts'],
|
|
73
65
|
};
|
|
74
66
|
}
|
|
75
67
|
|
|
@@ -87,7 +79,6 @@ export function ProductTypeListResourceToJSONTyped(value?: ProductTypeListResour
|
|
|
87
79
|
'id': value['id'],
|
|
88
80
|
'name': value['name'],
|
|
89
81
|
'totalAttributes': value['totalAttributes'],
|
|
90
|
-
'totalProducts': value['totalProducts'],
|
|
91
82
|
};
|
|
92
83
|
}
|
|
93
84
|
|
|
@@ -31,12 +31,6 @@ export interface TagLiteResource {
|
|
|
31
31
|
* @memberof TagLiteResource
|
|
32
32
|
*/
|
|
33
33
|
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof TagLiteResource
|
|
38
|
-
*/
|
|
39
|
-
siteId: number;
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
/**
|
|
@@ -45,7 +39,6 @@ export interface TagLiteResource {
|
|
|
45
39
|
export function instanceOfTagLiteResource(value: object): value is TagLiteResource {
|
|
46
40
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
41
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
49
42
|
return true;
|
|
50
43
|
}
|
|
51
44
|
|
|
@@ -61,7 +54,6 @@ export function TagLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
61
54
|
|
|
62
55
|
'id': json['id'],
|
|
63
56
|
'name': json['name'],
|
|
64
|
-
'siteId': json['siteId'],
|
|
65
57
|
};
|
|
66
58
|
}
|
|
67
59
|
|
|
@@ -78,7 +70,6 @@ export function TagLiteResourceToJSONTyped(value?: TagLiteResource | null, ignor
|
|
|
78
70
|
|
|
79
71
|
'id': value['id'],
|
|
80
72
|
'name': value['name'],
|
|
81
|
-
'siteId': value['siteId'],
|
|
82
73
|
};
|
|
83
74
|
}
|
|
84
75
|
|