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