@digital8/lighting-illusions-ts-sdk 0.0.444 → 0.0.445
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/GetAllAttributeRequest.d.ts +10 -1
- package/dist/models/GetAllAttributeRequest.js +9 -1
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +8 -1
- package/dist/models/GetAllOverlayTemplateRequest.js +7 -1
- package/dist/models/GetAllProductChildRequest.d.ts +10 -1
- package/dist/models/GetAllProductChildRequest.js +9 -1
- package/dist/models/GetAllProductRequest.d.ts +9 -1
- package/dist/models/GetAllProductRequest.js +8 -1
- package/dist/models/GetAllProductTypeRequest.d.ts +9 -1
- package/dist/models/GetAllProductTypeRequest.js +8 -1
- package/dist/models/GetAllSupplierRequest.d.ts +8 -1
- package/dist/models/GetAllSupplierRequest.js +7 -1
- package/dist/models/IndexAttributeRequest.d.ts +12 -0
- package/dist/models/IndexAttributeRequest.js +4 -0
- package/dist/models/IndexExternalApiLogRequest.d.ts +12 -0
- package/dist/models/IndexExternalApiLogRequest.js +4 -0
- package/dist/models/IndexOverlayTemplateRequest.d.ts +12 -0
- package/dist/models/IndexOverlayTemplateRequest.js +4 -0
- package/dist/models/IndexProductChildRequest.d.ts +4 -4
- package/dist/models/IndexProductChildRequest.js +2 -2
- package/dist/models/IndexProductTypeRequest.d.ts +19 -0
- package/dist/models/IndexProductTypeRequest.js +11 -1
- package/dist/models/IndexSiteNotificationRequest.d.ts +12 -0
- package/dist/models/IndexSiteNotificationRequest.js +4 -0
- package/dist/models/IndexSiteRequest.d.ts +12 -0
- package/dist/models/IndexSiteRequest.js +4 -0
- package/dist/models/IndexSupplierRequest.d.ts +12 -0
- package/dist/models/IndexSupplierRequest.js +4 -0
- package/dist/models/IndexTagRequest.d.ts +12 -0
- package/dist/models/IndexTagRequest.js +4 -0
- package/docs/IndexAttributeRequest.md +4 -0
- package/docs/IndexExternalApiLogRequest.md +4 -0
- package/docs/IndexOverlayTemplateRequest.md +4 -0
- package/docs/IndexProductChildRequest.md +2 -2
- package/docs/IndexProductTypeRequest.md +4 -0
- package/docs/IndexSiteNotificationRequest.md +4 -0
- package/docs/IndexSiteRequest.md +4 -0
- package/docs/IndexSupplierRequest.md +4 -0
- package/docs/IndexTagRequest.md +4 -0
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllAttributeRequest.ts +11 -1
- package/src/models/GetAllOverlayTemplateRequest.ts +9 -1
- package/src/models/GetAllProductChildRequest.ts +11 -1
- package/src/models/GetAllProductRequest.ts +10 -1
- package/src/models/GetAllProductTypeRequest.ts +10 -1
- package/src/models/GetAllSupplierRequest.ts +9 -1
- package/src/models/IndexAttributeRequest.ts +16 -0
- package/src/models/IndexExternalApiLogRequest.ts +16 -0
- package/src/models/IndexOverlayTemplateRequest.ts +16 -0
- package/src/models/IndexProductChildRequest.ts +6 -6
- package/src/models/IndexProductTypeRequest.ts +24 -0
- package/src/models/IndexSiteNotificationRequest.ts +16 -0
- package/src/models/IndexSiteRequest.ts +16 -0
- package/src/models/IndexSupplierRequest.ts +16 -0
- package/src/models/IndexTagRequest.ts +16 -0
|
@@ -56,6 +56,8 @@ function IndexSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
57
57
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
58
58
|
'page': json['page'] == null ? undefined : json['page'],
|
|
59
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
60
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
function IndexSupplierRequestToJSON(json) {
|
|
@@ -72,5 +74,7 @@ function IndexSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
74
|
'sortDirection': value['sortDirection'],
|
|
73
75
|
'per_page': value['perPage'],
|
|
74
76
|
'page': value['page'],
|
|
77
|
+
'related_id': value['relatedId'],
|
|
78
|
+
'related_type': value['relatedType'],
|
|
75
79
|
};
|
|
76
80
|
}
|
|
@@ -57,6 +57,18 @@ export interface IndexTagRequest {
|
|
|
57
57
|
* @memberof IndexTagRequest
|
|
58
58
|
*/
|
|
59
59
|
type?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof IndexTagRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof IndexTagRequest
|
|
70
|
+
*/
|
|
71
|
+
relatedType?: string;
|
|
60
72
|
}
|
|
61
73
|
/**
|
|
62
74
|
* @export
|
|
@@ -57,6 +57,8 @@ function IndexTagRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'page': json['page'] == null ? undefined : json['page'],
|
|
58
58
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
59
59
|
'type': json['type'] == null ? undefined : json['type'],
|
|
60
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
61
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
function IndexTagRequestToJSON(json) {
|
|
@@ -75,5 +77,7 @@ function IndexTagRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
77
|
'page': value['page'],
|
|
76
78
|
'site_id': value['siteId'],
|
|
77
79
|
'type': value['type'],
|
|
80
|
+
'related_id': value['relatedId'],
|
|
81
|
+
'related_type': value['relatedType'],
|
|
78
82
|
};
|
|
79
83
|
}
|
|
@@ -14,6 +14,8 @@ Name | Type
|
|
|
14
14
|
`type` | Array<string>
|
|
15
15
|
`isFilterable` | Array<string>
|
|
16
16
|
`isExpandedByDefault` | Array<string>
|
|
17
|
+
`relatedId` | number
|
|
18
|
+
`relatedType` | string
|
|
17
19
|
|
|
18
20
|
## Example
|
|
19
21
|
|
|
@@ -30,6 +32,8 @@ const example = {
|
|
|
30
32
|
"type": null,
|
|
31
33
|
"isFilterable": null,
|
|
32
34
|
"isExpandedByDefault": null,
|
|
35
|
+
"relatedId": null,
|
|
36
|
+
"relatedType": null,
|
|
33
37
|
} satisfies IndexAttributeRequest
|
|
34
38
|
|
|
35
39
|
console.log(example)
|
|
@@ -17,6 +17,8 @@ Name | Type
|
|
|
17
17
|
`externalApiLoggableType` | Array<string>
|
|
18
18
|
`externalApiLoggableId` | Array<string>
|
|
19
19
|
`siteId` | Array<string>
|
|
20
|
+
`relatedId` | number
|
|
21
|
+
`relatedType` | string
|
|
20
22
|
|
|
21
23
|
## Example
|
|
22
24
|
|
|
@@ -36,6 +38,8 @@ const example = {
|
|
|
36
38
|
"externalApiLoggableType": null,
|
|
37
39
|
"externalApiLoggableId": null,
|
|
38
40
|
"siteId": null,
|
|
41
|
+
"relatedId": null,
|
|
42
|
+
"relatedType": null,
|
|
39
43
|
} satisfies IndexExternalApiLogRequest
|
|
40
44
|
|
|
41
45
|
console.log(example)
|
|
@@ -12,6 +12,8 @@ Name | Type
|
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
14
|
`sitesId` | Array<string>
|
|
15
|
+
`relatedId` | number
|
|
16
|
+
`relatedType` | string
|
|
15
17
|
|
|
16
18
|
## Example
|
|
17
19
|
|
|
@@ -26,6 +28,8 @@ const example = {
|
|
|
26
28
|
"perPage": null,
|
|
27
29
|
"page": null,
|
|
28
30
|
"sitesId": null,
|
|
31
|
+
"relatedId": null,
|
|
32
|
+
"relatedType": null,
|
|
29
33
|
} satisfies IndexOverlayTemplateRequest
|
|
30
34
|
|
|
31
35
|
console.log(example)
|
|
@@ -16,8 +16,8 @@ Name | Type
|
|
|
16
16
|
`siteDetailsSiteId` | Array<string>
|
|
17
17
|
`isDisabled` | Array<string>
|
|
18
18
|
`hasNetsuiteId` | Array<string>
|
|
19
|
-
`relatedType` | string
|
|
20
19
|
`relatedId` | number
|
|
20
|
+
`relatedType` | string
|
|
21
21
|
|
|
22
22
|
## Example
|
|
23
23
|
|
|
@@ -36,8 +36,8 @@ const example = {
|
|
|
36
36
|
"siteDetailsSiteId": null,
|
|
37
37
|
"isDisabled": null,
|
|
38
38
|
"hasNetsuiteId": null,
|
|
39
|
-
"relatedType": null,
|
|
40
39
|
"relatedId": null,
|
|
40
|
+
"relatedType": null,
|
|
41
41
|
} satisfies IndexProductChildRequest
|
|
42
42
|
|
|
43
43
|
console.log(example)
|
|
@@ -11,6 +11,8 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
+
`relatedId` | number
|
|
15
|
+
`relatedType` | string
|
|
14
16
|
|
|
15
17
|
## Example
|
|
16
18
|
|
|
@@ -24,6 +26,8 @@ const example = {
|
|
|
24
26
|
"sortDirection": null,
|
|
25
27
|
"perPage": null,
|
|
26
28
|
"page": null,
|
|
29
|
+
"relatedId": null,
|
|
30
|
+
"relatedType": null,
|
|
27
31
|
} satisfies IndexProductTypeRequest
|
|
28
32
|
|
|
29
33
|
console.log(example)
|
|
@@ -12,6 +12,8 @@ Name | Type
|
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
14
|
`siteId` | Array<string>
|
|
15
|
+
`relatedId` | number
|
|
16
|
+
`relatedType` | string
|
|
15
17
|
|
|
16
18
|
## Example
|
|
17
19
|
|
|
@@ -26,6 +28,8 @@ const example = {
|
|
|
26
28
|
"perPage": null,
|
|
27
29
|
"page": null,
|
|
28
30
|
"siteId": null,
|
|
31
|
+
"relatedId": null,
|
|
32
|
+
"relatedType": null,
|
|
29
33
|
} satisfies IndexSiteNotificationRequest
|
|
30
34
|
|
|
31
35
|
console.log(example)
|
package/docs/IndexSiteRequest.md
CHANGED
|
@@ -11,6 +11,8 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
+
`relatedId` | number
|
|
15
|
+
`relatedType` | string
|
|
14
16
|
|
|
15
17
|
## Example
|
|
16
18
|
|
|
@@ -24,6 +26,8 @@ const example = {
|
|
|
24
26
|
"sortDirection": null,
|
|
25
27
|
"perPage": null,
|
|
26
28
|
"page": null,
|
|
29
|
+
"relatedId": null,
|
|
30
|
+
"relatedType": null,
|
|
27
31
|
} satisfies IndexSiteRequest
|
|
28
32
|
|
|
29
33
|
console.log(example)
|
|
@@ -11,6 +11,8 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
+
`relatedId` | number
|
|
15
|
+
`relatedType` | string
|
|
14
16
|
|
|
15
17
|
## Example
|
|
16
18
|
|
|
@@ -24,6 +26,8 @@ const example = {
|
|
|
24
26
|
"sortDirection": null,
|
|
25
27
|
"perPage": null,
|
|
26
28
|
"page": null,
|
|
29
|
+
"relatedId": null,
|
|
30
|
+
"relatedType": null,
|
|
27
31
|
} satisfies IndexSupplierRequest
|
|
28
32
|
|
|
29
33
|
console.log(example)
|
package/docs/IndexTagRequest.md
CHANGED
|
@@ -13,6 +13,8 @@ Name | Type
|
|
|
13
13
|
`page` | number
|
|
14
14
|
`siteId` | Array<string>
|
|
15
15
|
`type` | Array<string>
|
|
16
|
+
`relatedId` | number
|
|
17
|
+
`relatedType` | string
|
|
16
18
|
|
|
17
19
|
## Example
|
|
18
20
|
|
|
@@ -28,6 +30,8 @@ const example = {
|
|
|
28
30
|
"page": null,
|
|
29
31
|
"siteId": null,
|
|
30
32
|
"type": null,
|
|
33
|
+
"relatedId": null,
|
|
34
|
+
"relatedType": null,
|
|
31
35
|
} satisfies IndexTagRequest
|
|
32
36
|
|
|
33
37
|
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']),
|
|
@@ -48,7 +48,7 @@ export interface GetAllAttributeRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllAttributeRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: GetAllAttributeRequestRelatedTypeEnum;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<string>}
|
|
@@ -90,6 +90,16 @@ export const GetAllAttributeRequestSortDirectionEnum = {
|
|
|
90
90
|
} as const;
|
|
91
91
|
export type GetAllAttributeRequestSortDirectionEnum = typeof GetAllAttributeRequestSortDirectionEnum[keyof typeof GetAllAttributeRequestSortDirectionEnum];
|
|
92
92
|
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export const GetAllAttributeRequestRelatedTypeEnum = {
|
|
97
|
+
ProductType: 'productType',
|
|
98
|
+
Category: 'category',
|
|
99
|
+
ProductRange: 'productRange'
|
|
100
|
+
} as const;
|
|
101
|
+
export type GetAllAttributeRequestRelatedTypeEnum = typeof GetAllAttributeRequestRelatedTypeEnum[keyof typeof GetAllAttributeRequestRelatedTypeEnum];
|
|
102
|
+
|
|
93
103
|
|
|
94
104
|
/**
|
|
95
105
|
* Check if a given object implements the GetAllAttributeRequest interface.
|
|
@@ -48,7 +48,7 @@ export interface GetAllOverlayTemplateRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllOverlayTemplateRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: GetAllOverlayTemplateRequestRelatedTypeEnum;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<string>}
|
|
@@ -78,6 +78,14 @@ export const GetAllOverlayTemplateRequestSortDirectionEnum = {
|
|
|
78
78
|
} as const;
|
|
79
79
|
export type GetAllOverlayTemplateRequestSortDirectionEnum = typeof GetAllOverlayTemplateRequestSortDirectionEnum[keyof typeof GetAllOverlayTemplateRequestSortDirectionEnum];
|
|
80
80
|
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export const GetAllOverlayTemplateRequestRelatedTypeEnum = {
|
|
85
|
+
Asset: 'asset'
|
|
86
|
+
} as const;
|
|
87
|
+
export type GetAllOverlayTemplateRequestRelatedTypeEnum = typeof GetAllOverlayTemplateRequestRelatedTypeEnum[keyof typeof GetAllOverlayTemplateRequestRelatedTypeEnum];
|
|
88
|
+
|
|
81
89
|
|
|
82
90
|
/**
|
|
83
91
|
* Check if a given object implements the GetAllOverlayTemplateRequest interface.
|
|
@@ -48,7 +48,7 @@ export interface GetAllProductChildRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllProductChildRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: GetAllProductChildRequestRelatedTypeEnum;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<string>}
|
|
@@ -111,6 +111,16 @@ export const GetAllProductChildRequestSortDirectionEnum = {
|
|
|
111
111
|
} as const;
|
|
112
112
|
export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChildRequestSortDirectionEnum[keyof typeof GetAllProductChildRequestSortDirectionEnum];
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
export const GetAllProductChildRequestRelatedTypeEnum = {
|
|
118
|
+
OverlayTemplate: 'overlayTemplate',
|
|
119
|
+
Supplier: 'supplier',
|
|
120
|
+
Tag: 'tag'
|
|
121
|
+
} as const;
|
|
122
|
+
export type GetAllProductChildRequestRelatedTypeEnum = typeof GetAllProductChildRequestRelatedTypeEnum[keyof typeof GetAllProductChildRequestRelatedTypeEnum];
|
|
123
|
+
|
|
114
124
|
|
|
115
125
|
/**
|
|
116
126
|
* Check if a given object implements the GetAllProductChildRequest interface.
|
|
@@ -48,7 +48,7 @@ export interface GetAllProductRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllProductRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: GetAllProductRequestRelatedTypeEnum;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<string>}
|
|
@@ -103,6 +103,15 @@ export const GetAllProductRequestSortDirectionEnum = {
|
|
|
103
103
|
} as const;
|
|
104
104
|
export type GetAllProductRequestSortDirectionEnum = typeof GetAllProductRequestSortDirectionEnum[keyof typeof GetAllProductRequestSortDirectionEnum];
|
|
105
105
|
|
|
106
|
+
/**
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export const GetAllProductRequestRelatedTypeEnum = {
|
|
110
|
+
Supplier: 'supplier',
|
|
111
|
+
ProductType: 'productType'
|
|
112
|
+
} as const;
|
|
113
|
+
export type GetAllProductRequestRelatedTypeEnum = typeof GetAllProductRequestRelatedTypeEnum[keyof typeof GetAllProductRequestRelatedTypeEnum];
|
|
114
|
+
|
|
106
115
|
|
|
107
116
|
/**
|
|
108
117
|
* Check if a given object implements the GetAllProductRequest interface.
|
|
@@ -48,7 +48,7 @@ export interface GetAllProductTypeRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllProductTypeRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: GetAllProductTypeRequestRelatedTypeEnum;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
|
|
@@ -72,6 +72,15 @@ export const GetAllProductTypeRequestSortDirectionEnum = {
|
|
|
72
72
|
} as const;
|
|
73
73
|
export type GetAllProductTypeRequestSortDirectionEnum = typeof GetAllProductTypeRequestSortDirectionEnum[keyof typeof GetAllProductTypeRequestSortDirectionEnum];
|
|
74
74
|
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export const GetAllProductTypeRequestRelatedTypeEnum = {
|
|
79
|
+
Attribute: 'attribute',
|
|
80
|
+
Product: 'product'
|
|
81
|
+
} as const;
|
|
82
|
+
export type GetAllProductTypeRequestRelatedTypeEnum = typeof GetAllProductTypeRequestRelatedTypeEnum[keyof typeof GetAllProductTypeRequestRelatedTypeEnum];
|
|
83
|
+
|
|
75
84
|
|
|
76
85
|
/**
|
|
77
86
|
* Check if a given object implements the GetAllProductTypeRequest interface.
|
|
@@ -48,7 +48,7 @@ export interface GetAllSupplierRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllSupplierRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: GetAllSupplierRequestRelatedTypeEnum;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
|
|
@@ -74,6 +74,14 @@ export const GetAllSupplierRequestSortDirectionEnum = {
|
|
|
74
74
|
} as const;
|
|
75
75
|
export type GetAllSupplierRequestSortDirectionEnum = typeof GetAllSupplierRequestSortDirectionEnum[keyof typeof GetAllSupplierRequestSortDirectionEnum];
|
|
76
76
|
|
|
77
|
+
/**
|
|
78
|
+
* @export
|
|
79
|
+
*/
|
|
80
|
+
export const GetAllSupplierRequestRelatedTypeEnum = {
|
|
81
|
+
Product: 'product'
|
|
82
|
+
} as const;
|
|
83
|
+
export type GetAllSupplierRequestRelatedTypeEnum = typeof GetAllSupplierRequestRelatedTypeEnum[keyof typeof GetAllSupplierRequestRelatedTypeEnum];
|
|
84
|
+
|
|
77
85
|
|
|
78
86
|
/**
|
|
79
87
|
* Check if a given object implements the GetAllSupplierRequest interface.
|
|
@@ -67,6 +67,18 @@ export interface IndexAttributeRequest {
|
|
|
67
67
|
* @memberof IndexAttributeRequest
|
|
68
68
|
*/
|
|
69
69
|
isExpandedByDefault?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof IndexAttributeRequest
|
|
74
|
+
*/
|
|
75
|
+
relatedId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof IndexAttributeRequest
|
|
80
|
+
*/
|
|
81
|
+
relatedType?: string;
|
|
70
82
|
}
|
|
71
83
|
|
|
72
84
|
|
|
@@ -116,6 +128,8 @@ export function IndexAttributeRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
116
128
|
'type': json['type'] == null ? undefined : json['type'],
|
|
117
129
|
'isFilterable': json['is_filterable'] == null ? undefined : json['is_filterable'],
|
|
118
130
|
'isExpandedByDefault': json['is_expanded_by_default'] == null ? undefined : json['is_expanded_by_default'],
|
|
131
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
132
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
119
133
|
};
|
|
120
134
|
}
|
|
121
135
|
|
|
@@ -138,6 +152,8 @@ export function IndexAttributeRequestToJSONTyped(value?: IndexAttributeRequest |
|
|
|
138
152
|
'type': value['type'],
|
|
139
153
|
'is_filterable': value['isFilterable'],
|
|
140
154
|
'is_expanded_by_default': value['isExpandedByDefault'],
|
|
155
|
+
'related_id': value['relatedId'],
|
|
156
|
+
'related_type': value['relatedType'],
|
|
141
157
|
};
|
|
142
158
|
}
|
|
143
159
|
|
|
@@ -85,6 +85,18 @@ export interface IndexExternalApiLogRequest {
|
|
|
85
85
|
* @memberof IndexExternalApiLogRequest
|
|
86
86
|
*/
|
|
87
87
|
siteId?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {number}
|
|
91
|
+
* @memberof IndexExternalApiLogRequest
|
|
92
|
+
*/
|
|
93
|
+
relatedId?: number;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof IndexExternalApiLogRequest
|
|
98
|
+
*/
|
|
99
|
+
relatedType?: string;
|
|
88
100
|
}
|
|
89
101
|
|
|
90
102
|
|
|
@@ -140,6 +152,8 @@ export function IndexExternalApiLogRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
140
152
|
'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
|
|
141
153
|
'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
|
|
142
154
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
155
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
156
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
143
157
|
};
|
|
144
158
|
}
|
|
145
159
|
|
|
@@ -165,6 +179,8 @@ export function IndexExternalApiLogRequestToJSONTyped(value?: IndexExternalApiLo
|
|
|
165
179
|
'external_api_loggable_type': value['externalApiLoggableType'],
|
|
166
180
|
'external_api_loggable_id': value['externalApiLoggableId'],
|
|
167
181
|
'site_id': value['siteId'],
|
|
182
|
+
'related_id': value['relatedId'],
|
|
183
|
+
'related_type': value['relatedType'],
|
|
168
184
|
};
|
|
169
185
|
}
|
|
170
186
|
|
|
@@ -55,6 +55,18 @@ export interface IndexOverlayTemplateRequest {
|
|
|
55
55
|
* @memberof IndexOverlayTemplateRequest
|
|
56
56
|
*/
|
|
57
57
|
sitesId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof IndexOverlayTemplateRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedId?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof IndexOverlayTemplateRequest
|
|
68
|
+
*/
|
|
69
|
+
relatedType?: string;
|
|
58
70
|
}
|
|
59
71
|
|
|
60
72
|
|
|
@@ -102,6 +114,8 @@ export function IndexOverlayTemplateRequestFromJSONTyped(json: any, ignoreDiscri
|
|
|
102
114
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
103
115
|
'page': json['page'] == null ? undefined : json['page'],
|
|
104
116
|
'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
|
|
117
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
118
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
105
119
|
};
|
|
106
120
|
}
|
|
107
121
|
|
|
@@ -122,6 +136,8 @@ export function IndexOverlayTemplateRequestToJSONTyped(value?: IndexOverlayTempl
|
|
|
122
136
|
'per_page': value['perPage'],
|
|
123
137
|
'page': value['page'],
|
|
124
138
|
'sites-id': value['sitesId'],
|
|
139
|
+
'related_id': value['relatedId'],
|
|
140
|
+
'related_type': value['relatedType'],
|
|
125
141
|
};
|
|
126
142
|
}
|
|
127
143
|
|
|
@@ -81,16 +81,16 @@ export interface IndexProductChildRequest {
|
|
|
81
81
|
hasNetsuiteId?: Array<string>;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
|
-
* @type {
|
|
84
|
+
* @type {number}
|
|
85
85
|
* @memberof IndexProductChildRequest
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
relatedId?: number;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
|
-
* @type {
|
|
90
|
+
* @type {string}
|
|
91
91
|
* @memberof IndexProductChildRequest
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
relatedType?: IndexProductChildRequestRelatedTypeEnum;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
|
|
@@ -161,8 +161,8 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
161
161
|
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
162
162
|
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
163
163
|
'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
|
|
164
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
165
164
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
165
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -187,8 +187,8 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
|
|
|
187
187
|
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
188
188
|
'is_disabled': value['isDisabled'],
|
|
189
189
|
'has_netsuite_id': value['hasNetsuiteId'],
|
|
190
|
-
'related_type': value['relatedType'],
|
|
191
190
|
'related_id': value['relatedId'],
|
|
191
|
+
'related_type': value['relatedType'],
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
|
|
@@ -49,6 +49,18 @@ export interface IndexProductTypeRequest {
|
|
|
49
49
|
* @memberof IndexProductTypeRequest
|
|
50
50
|
*/
|
|
51
51
|
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof IndexProductTypeRequest
|
|
56
|
+
*/
|
|
57
|
+
relatedId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof IndexProductTypeRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedType?: IndexProductTypeRequestRelatedTypeEnum;
|
|
52
64
|
}
|
|
53
65
|
|
|
54
66
|
|
|
@@ -72,6 +84,14 @@ export const IndexProductTypeRequestSortDirectionEnum = {
|
|
|
72
84
|
} as const;
|
|
73
85
|
export type IndexProductTypeRequestSortDirectionEnum = typeof IndexProductTypeRequestSortDirectionEnum[keyof typeof IndexProductTypeRequestSortDirectionEnum];
|
|
74
86
|
|
|
87
|
+
/**
|
|
88
|
+
* @export
|
|
89
|
+
*/
|
|
90
|
+
export const IndexProductTypeRequestRelatedTypeEnum = {
|
|
91
|
+
Attribute: 'attribute'
|
|
92
|
+
} as const;
|
|
93
|
+
export type IndexProductTypeRequestRelatedTypeEnum = typeof IndexProductTypeRequestRelatedTypeEnum[keyof typeof IndexProductTypeRequestRelatedTypeEnum];
|
|
94
|
+
|
|
75
95
|
|
|
76
96
|
/**
|
|
77
97
|
* Check if a given object implements the IndexProductTypeRequest interface.
|
|
@@ -95,6 +115,8 @@ export function IndexProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
95
115
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
96
116
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
97
117
|
'page': json['page'] == null ? undefined : json['page'],
|
|
118
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
119
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
98
120
|
};
|
|
99
121
|
}
|
|
100
122
|
|
|
@@ -114,6 +136,8 @@ export function IndexProductTypeRequestToJSONTyped(value?: IndexProductTypeReque
|
|
|
114
136
|
'sortDirection': value['sortDirection'],
|
|
115
137
|
'per_page': value['perPage'],
|
|
116
138
|
'page': value['page'],
|
|
139
|
+
'related_id': value['relatedId'],
|
|
140
|
+
'related_type': value['relatedType'],
|
|
117
141
|
};
|
|
118
142
|
}
|
|
119
143
|
|
|
@@ -55,6 +55,18 @@ export interface IndexSiteNotificationRequest {
|
|
|
55
55
|
* @memberof IndexSiteNotificationRequest
|
|
56
56
|
*/
|
|
57
57
|
siteId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof IndexSiteNotificationRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedId?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof IndexSiteNotificationRequest
|
|
68
|
+
*/
|
|
69
|
+
relatedType?: string;
|
|
58
70
|
}
|
|
59
71
|
|
|
60
72
|
|
|
@@ -103,6 +115,8 @@ export function IndexSiteNotificationRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
103
115
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
104
116
|
'page': json['page'] == null ? undefined : json['page'],
|
|
105
117
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
118
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
119
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
106
120
|
};
|
|
107
121
|
}
|
|
108
122
|
|
|
@@ -123,6 +137,8 @@ export function IndexSiteNotificationRequestToJSONTyped(value?: IndexSiteNotific
|
|
|
123
137
|
'per_page': value['perPage'],
|
|
124
138
|
'page': value['page'],
|
|
125
139
|
'site_id': value['siteId'],
|
|
140
|
+
'related_id': value['relatedId'],
|
|
141
|
+
'related_type': value['relatedType'],
|
|
126
142
|
};
|
|
127
143
|
}
|
|
128
144
|
|