@digital8/lighting-illusions-ts-sdk 0.0.443 → 0.0.444
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/GetAllAttributeRequest.d.ts +9 -18
- package/dist/models/GetAllAttributeRequest.js +5 -13
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -13
- package/dist/models/GetAllOverlayTemplateRequest.js +3 -9
- package/dist/models/GetAllProductChildRequest.d.ts +1 -10
- package/dist/models/GetAllProductChildRequest.js +1 -9
- package/dist/models/GetAllProductRequest.d.ts +31 -9
- package/dist/models/GetAllProductRequest.js +11 -8
- package/dist/models/GetAllProductTypeRequest.d.ts +1 -9
- package/dist/models/GetAllProductTypeRequest.js +1 -8
- package/dist/models/GetAllSupplierRequest.d.ts +1 -8
- package/dist/models/GetAllSupplierRequest.js +1 -7
- package/dist/models/IndexExternalApiLogRequest.d.ts +12 -12
- package/dist/models/IndexExternalApiLogRequest.js +4 -4
- package/dist/models/IndexProductChildRequest.d.ts +4 -4
- package/dist/models/IndexProductChildRequest.js +2 -2
- package/dist/models/TagLiteResource.d.ts +7 -0
- package/dist/models/TagLiteResource.js +5 -0
- package/docs/GetAllAttributeRequest.md +4 -4
- package/docs/GetAllOverlayTemplateRequest.md +2 -2
- package/docs/GetAllProductRequest.md +10 -0
- package/docs/IndexExternalApiLogRequest.md +4 -4
- package/docs/IndexProductChildRequest.md +2 -2
- package/docs/TagLiteResource.md +2 -0
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllAttributeRequest.ts +13 -23
- package/src/models/GetAllOverlayTemplateRequest.ts +8 -16
- package/src/models/GetAllProductChildRequest.ts +1 -11
- package/src/models/GetAllProductRequest.ts +41 -10
- package/src/models/GetAllProductTypeRequest.ts +1 -10
- package/src/models/GetAllSupplierRequest.ts +1 -9
- package/src/models/IndexExternalApiLogRequest.ts +16 -16
- package/src/models/IndexProductChildRequest.ts +6 -6
- package/src/models/TagLiteResource.ts +17 -0
|
@@ -18,6 +18,7 @@ exports.TagLiteResourceFromJSON = TagLiteResourceFromJSON;
|
|
|
18
18
|
exports.TagLiteResourceFromJSONTyped = TagLiteResourceFromJSONTyped;
|
|
19
19
|
exports.TagLiteResourceToJSON = TagLiteResourceToJSON;
|
|
20
20
|
exports.TagLiteResourceToJSONTyped = TagLiteResourceToJSONTyped;
|
|
21
|
+
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the TagLiteResource interface.
|
|
23
24
|
*/
|
|
@@ -26,6 +27,8 @@ function instanceOfTagLiteResource(value) {
|
|
|
26
27
|
return false;
|
|
27
28
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
29
|
return false;
|
|
30
|
+
if (!('site' in value) || value['site'] === undefined)
|
|
31
|
+
return false;
|
|
29
32
|
return true;
|
|
30
33
|
}
|
|
31
34
|
function TagLiteResourceFromJSON(json) {
|
|
@@ -38,6 +41,7 @@ function TagLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
41
|
return {
|
|
39
42
|
'id': json['id'],
|
|
40
43
|
'name': json['name'],
|
|
44
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
47
|
function TagLiteResourceToJSON(json) {
|
|
@@ -51,5 +55,6 @@ function TagLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
55
|
return {
|
|
52
56
|
'id': value['id'],
|
|
53
57
|
'name': value['name'],
|
|
58
|
+
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
54
59
|
};
|
|
55
60
|
}
|
|
@@ -9,11 +9,11 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
+
`relatedId` | number
|
|
13
|
+
`relatedType` | string
|
|
12
14
|
`type` | Array<string>
|
|
13
15
|
`isFilterable` | Array<string>
|
|
14
16
|
`isExpandedByDefault` | Array<string>
|
|
15
|
-
`relatedId` | number
|
|
16
|
-
`relatedType` | string
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
|
@@ -25,11 +25,11 @@ const example = {
|
|
|
25
25
|
"search": null,
|
|
26
26
|
"sortBy": null,
|
|
27
27
|
"sortDirection": null,
|
|
28
|
+
"relatedId": null,
|
|
29
|
+
"relatedType": null,
|
|
28
30
|
"type": null,
|
|
29
31
|
"isFilterable": null,
|
|
30
32
|
"isExpandedByDefault": null,
|
|
31
|
-
"relatedId": null,
|
|
32
|
-
"relatedType": null,
|
|
33
33
|
} satisfies GetAllAttributeRequest
|
|
34
34
|
|
|
35
35
|
console.log(example)
|
|
@@ -9,9 +9,9 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
-
`sitesId` | Array<string>
|
|
13
12
|
`relatedId` | number
|
|
14
13
|
`relatedType` | string
|
|
14
|
+
`sitesId` | Array<string>
|
|
15
15
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
@@ -23,9 +23,9 @@ const example = {
|
|
|
23
23
|
"search": null,
|
|
24
24
|
"sortBy": null,
|
|
25
25
|
"sortDirection": null,
|
|
26
|
-
"sitesId": null,
|
|
27
26
|
"relatedId": null,
|
|
28
27
|
"relatedType": null,
|
|
28
|
+
"sitesId": null,
|
|
29
29
|
} satisfies GetAllOverlayTemplateRequest
|
|
30
30
|
|
|
31
31
|
console.log(example)
|
|
@@ -11,6 +11,11 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`relatedId` | number
|
|
13
13
|
`relatedType` | string
|
|
14
|
+
`productTypeId` | Array<string>
|
|
15
|
+
`supplierId` | Array<string>
|
|
16
|
+
`isDisabled` | Array<string>
|
|
17
|
+
`isAccessory` | Array<string>
|
|
18
|
+
`categoriesId` | Array<string>
|
|
14
19
|
|
|
15
20
|
## Example
|
|
16
21
|
|
|
@@ -24,6 +29,11 @@ const example = {
|
|
|
24
29
|
"sortDirection": null,
|
|
25
30
|
"relatedId": null,
|
|
26
31
|
"relatedType": null,
|
|
32
|
+
"productTypeId": null,
|
|
33
|
+
"supplierId": null,
|
|
34
|
+
"isDisabled": null,
|
|
35
|
+
"isAccessory": null,
|
|
36
|
+
"categoriesId": null,
|
|
27
37
|
} satisfies GetAllProductRequest
|
|
28
38
|
|
|
29
39
|
console.log(example)
|
|
@@ -9,14 +9,14 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
12
14
|
`provider` | Array<string>
|
|
13
15
|
`responseCode` | Array<string>
|
|
14
16
|
`httpMethod` | Array<string>
|
|
15
17
|
`externalApiLoggableType` | Array<string>
|
|
16
18
|
`externalApiLoggableId` | Array<string>
|
|
17
19
|
`siteId` | Array<string>
|
|
18
|
-
`perPage` | number
|
|
19
|
-
`page` | number
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -28,14 +28,14 @@ const example = {
|
|
|
28
28
|
"search": null,
|
|
29
29
|
"sortBy": null,
|
|
30
30
|
"sortDirection": null,
|
|
31
|
+
"perPage": null,
|
|
32
|
+
"page": null,
|
|
31
33
|
"provider": null,
|
|
32
34
|
"responseCode": null,
|
|
33
35
|
"httpMethod": null,
|
|
34
36
|
"externalApiLoggableType": null,
|
|
35
37
|
"externalApiLoggableId": null,
|
|
36
38
|
"siteId": null,
|
|
37
|
-
"perPage": null,
|
|
38
|
-
"page": null,
|
|
39
39
|
} satisfies IndexExternalApiLogRequest
|
|
40
40
|
|
|
41
41
|
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
|
-
`relatedId` | number
|
|
20
19
|
`relatedType` | string
|
|
20
|
+
`relatedId` | number
|
|
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
|
-
"relatedId": null,
|
|
40
39
|
"relatedType": null,
|
|
40
|
+
"relatedId": null,
|
|
41
41
|
} satisfies IndexProductChildRequest
|
|
42
42
|
|
|
43
43
|
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
|
+
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
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
|
+
"site": 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;
|
|
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']),
|
|
@@ -39,34 +39,34 @@ export interface GetAllAttributeRequest {
|
|
|
39
39
|
sortDirection?: GetAllAttributeRequestSortDirectionEnum;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {number}
|
|
43
43
|
* @memberof GetAllAttributeRequest
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
relatedId?: number;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
|
-
* @type {
|
|
48
|
+
* @type {string}
|
|
49
49
|
* @memberof GetAllAttributeRequest
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
relatedType?: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<string>}
|
|
55
55
|
* @memberof GetAllAttributeRequest
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
type?: Array<string>;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @type {
|
|
60
|
+
* @type {Array<string>}
|
|
61
61
|
* @memberof GetAllAttributeRequest
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
isFilterable?: Array<string>;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
|
-
* @type {string}
|
|
66
|
+
* @type {Array<string>}
|
|
67
67
|
* @memberof GetAllAttributeRequest
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
isExpandedByDefault?: Array<string>;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
@@ -90,16 +90,6 @@ 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
|
-
|
|
103
93
|
|
|
104
94
|
/**
|
|
105
95
|
* Check if a given object implements the GetAllAttributeRequest interface.
|
|
@@ -121,11 +111,11 @@ export function GetAllAttributeRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
121
111
|
'search': json['search'] == null ? undefined : json['search'],
|
|
122
112
|
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
123
113
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
114
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
115
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
124
116
|
'type': json['type'] == null ? undefined : json['type'],
|
|
125
117
|
'isFilterable': json['is_filterable'] == null ? undefined : json['is_filterable'],
|
|
126
118
|
'isExpandedByDefault': json['is_expanded_by_default'] == null ? undefined : json['is_expanded_by_default'],
|
|
127
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
128
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
129
119
|
};
|
|
130
120
|
}
|
|
131
121
|
|
|
@@ -143,11 +133,11 @@ export function GetAllAttributeRequestToJSONTyped(value?: GetAllAttributeRequest
|
|
|
143
133
|
'search': value['search'],
|
|
144
134
|
'sortBy': value['sortBy'],
|
|
145
135
|
'sortDirection': value['sortDirection'],
|
|
136
|
+
'related_id': value['relatedId'],
|
|
137
|
+
'related_type': value['relatedType'],
|
|
146
138
|
'type': value['type'],
|
|
147
139
|
'is_filterable': value['isFilterable'],
|
|
148
140
|
'is_expanded_by_default': value['isExpandedByDefault'],
|
|
149
|
-
'related_id': value['relatedId'],
|
|
150
|
-
'related_type': value['relatedType'],
|
|
151
141
|
};
|
|
152
142
|
}
|
|
153
143
|
|
|
@@ -39,22 +39,22 @@ export interface GetAllOverlayTemplateRequest {
|
|
|
39
39
|
sortDirection?: GetAllOverlayTemplateRequestSortDirectionEnum;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {number}
|
|
43
43
|
* @memberof GetAllOverlayTemplateRequest
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
relatedId?: number;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
|
-
* @type {
|
|
48
|
+
* @type {string}
|
|
49
49
|
* @memberof GetAllOverlayTemplateRequest
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
relatedType?: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
|
-
* @type {string}
|
|
54
|
+
* @type {Array<string>}
|
|
55
55
|
* @memberof GetAllOverlayTemplateRequest
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
sitesId?: Array<string>;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
|
|
@@ -78,14 +78,6 @@ 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
|
-
|
|
89
81
|
|
|
90
82
|
/**
|
|
91
83
|
* Check if a given object implements the GetAllOverlayTemplateRequest interface.
|
|
@@ -107,9 +99,9 @@ export function GetAllOverlayTemplateRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
107
99
|
'search': json['search'] == null ? undefined : json['search'],
|
|
108
100
|
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
109
101
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
110
|
-
'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
|
|
111
102
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
112
103
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
104
|
+
'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
|
|
113
105
|
};
|
|
114
106
|
}
|
|
115
107
|
|
|
@@ -127,9 +119,9 @@ export function GetAllOverlayTemplateRequestToJSONTyped(value?: GetAllOverlayTem
|
|
|
127
119
|
'search': value['search'],
|
|
128
120
|
'sortBy': value['sortBy'],
|
|
129
121
|
'sortDirection': value['sortDirection'],
|
|
130
|
-
'sites-id': value['sitesId'],
|
|
131
122
|
'related_id': value['relatedId'],
|
|
132
123
|
'related_type': value['relatedType'],
|
|
124
|
+
'sites-id': value['sitesId'],
|
|
133
125
|
};
|
|
134
126
|
}
|
|
135
127
|
|
|
@@ -48,7 +48,7 @@ export interface GetAllProductChildRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllProductChildRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<string>}
|
|
@@ -111,16 +111,6 @@ 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
|
-
|
|
124
114
|
|
|
125
115
|
/**
|
|
126
116
|
* Check if a given object implements the GetAllProductChildRequest interface.
|
|
@@ -48,7 +48,37 @@ export interface GetAllProductRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllProductRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof GetAllProductRequest
|
|
56
|
+
*/
|
|
57
|
+
productTypeId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof GetAllProductRequest
|
|
62
|
+
*/
|
|
63
|
+
supplierId?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof GetAllProductRequest
|
|
68
|
+
*/
|
|
69
|
+
isDisabled?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<string>}
|
|
73
|
+
* @memberof GetAllProductRequest
|
|
74
|
+
*/
|
|
75
|
+
isAccessory?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<string>}
|
|
79
|
+
* @memberof GetAllProductRequest
|
|
80
|
+
*/
|
|
81
|
+
categoriesId?: Array<string>;
|
|
52
82
|
}
|
|
53
83
|
|
|
54
84
|
|
|
@@ -73,15 +103,6 @@ export const GetAllProductRequestSortDirectionEnum = {
|
|
|
73
103
|
} as const;
|
|
74
104
|
export type GetAllProductRequestSortDirectionEnum = typeof GetAllProductRequestSortDirectionEnum[keyof typeof GetAllProductRequestSortDirectionEnum];
|
|
75
105
|
|
|
76
|
-
/**
|
|
77
|
-
* @export
|
|
78
|
-
*/
|
|
79
|
-
export const GetAllProductRequestRelatedTypeEnum = {
|
|
80
|
-
Supplier: 'supplier',
|
|
81
|
-
ProductType: 'productType'
|
|
82
|
-
} as const;
|
|
83
|
-
export type GetAllProductRequestRelatedTypeEnum = typeof GetAllProductRequestRelatedTypeEnum[keyof typeof GetAllProductRequestRelatedTypeEnum];
|
|
84
|
-
|
|
85
106
|
|
|
86
107
|
/**
|
|
87
108
|
* Check if a given object implements the GetAllProductRequest interface.
|
|
@@ -105,6 +126,11 @@ export function GetAllProductRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
105
126
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
106
127
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
107
128
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
129
|
+
'productTypeId': json['product_type_id'] == null ? undefined : json['product_type_id'],
|
|
130
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
131
|
+
'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
|
|
132
|
+
'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
|
|
133
|
+
'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
|
|
108
134
|
};
|
|
109
135
|
}
|
|
110
136
|
|
|
@@ -124,6 +150,11 @@ export function GetAllProductRequestToJSONTyped(value?: GetAllProductRequest | n
|
|
|
124
150
|
'sortDirection': value['sortDirection'],
|
|
125
151
|
'related_id': value['relatedId'],
|
|
126
152
|
'related_type': value['relatedType'],
|
|
153
|
+
'product_type_id': value['productTypeId'],
|
|
154
|
+
'supplier_id': value['supplierId'],
|
|
155
|
+
'is_disabled': value['isDisabled'],
|
|
156
|
+
'is_accessory': value['isAccessory'],
|
|
157
|
+
'categories-id': value['categoriesId'],
|
|
127
158
|
};
|
|
128
159
|
}
|
|
129
160
|
|
|
@@ -48,7 +48,7 @@ export interface GetAllProductTypeRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof GetAllProductTypeRequest
|
|
50
50
|
*/
|
|
51
|
-
relatedType?:
|
|
51
|
+
relatedType?: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
|
|
@@ -72,15 +72,6 @@ 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
|
-
|
|
84
75
|
|
|
85
76
|
/**
|
|
86
77
|
* 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?: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
|
|
@@ -74,14 +74,6 @@ 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
|
-
|
|
85
77
|
|
|
86
78
|
/**
|
|
87
79
|
* Check if a given object implements the GetAllSupplierRequest interface.
|
|
@@ -39,52 +39,52 @@ export interface IndexExternalApiLogRequest {
|
|
|
39
39
|
sortDirection?: IndexExternalApiLogRequestSortDirectionEnum;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {number}
|
|
43
43
|
* @memberof IndexExternalApiLogRequest
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
perPage?: number;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
|
-
* @type {
|
|
48
|
+
* @type {number}
|
|
49
49
|
* @memberof IndexExternalApiLogRequest
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
page?: number;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {Array<string>}
|
|
55
55
|
* @memberof IndexExternalApiLogRequest
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
provider?: Array<string>;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {Array<string>}
|
|
61
61
|
* @memberof IndexExternalApiLogRequest
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
responseCode?: Array<string>;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {Array<string>}
|
|
67
67
|
* @memberof IndexExternalApiLogRequest
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
httpMethod?: Array<string>;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {Array<string>}
|
|
73
73
|
* @memberof IndexExternalApiLogRequest
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
externalApiLoggableType?: Array<string>;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
|
-
* @type {
|
|
78
|
+
* @type {Array<string>}
|
|
79
79
|
* @memberof IndexExternalApiLogRequest
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
externalApiLoggableId?: Array<string>;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
|
-
* @type {
|
|
84
|
+
* @type {Array<string>}
|
|
85
85
|
* @memberof IndexExternalApiLogRequest
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
siteId?: Array<string>;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
|
|
@@ -132,14 +132,14 @@ export function IndexExternalApiLogRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
132
132
|
'search': json['search'] == null ? undefined : json['search'],
|
|
133
133
|
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
134
134
|
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
135
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
136
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
135
137
|
'provider': json['provider'] == null ? undefined : json['provider'],
|
|
136
138
|
'responseCode': json['response_code'] == null ? undefined : json['response_code'],
|
|
137
139
|
'httpMethod': json['http_method'] == null ? undefined : json['http_method'],
|
|
138
140
|
'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
|
|
139
141
|
'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
|
|
140
142
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
141
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
142
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -157,14 +157,14 @@ export function IndexExternalApiLogRequestToJSONTyped(value?: IndexExternalApiLo
|
|
|
157
157
|
'search': value['search'],
|
|
158
158
|
'sortBy': value['sortBy'],
|
|
159
159
|
'sortDirection': value['sortDirection'],
|
|
160
|
+
'per_page': value['perPage'],
|
|
161
|
+
'page': value['page'],
|
|
160
162
|
'provider': value['provider'],
|
|
161
163
|
'response_code': value['responseCode'],
|
|
162
164
|
'http_method': value['httpMethod'],
|
|
163
165
|
'external_api_loggable_type': value['externalApiLoggableType'],
|
|
164
166
|
'external_api_loggable_id': value['externalApiLoggableId'],
|
|
165
167
|
'site_id': value['siteId'],
|
|
166
|
-
'per_page': value['perPage'],
|
|
167
|
-
'page': value['page'],
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
|
|
@@ -81,16 +81,16 @@ export interface IndexProductChildRequest {
|
|
|
81
81
|
hasNetsuiteId?: Array<string>;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
|
-
* @type {
|
|
84
|
+
* @type {string}
|
|
85
85
|
* @memberof IndexProductChildRequest
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
relatedType?: IndexProductChildRequestRelatedTypeEnum;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
|
-
* @type {
|
|
90
|
+
* @type {number}
|
|
91
91
|
* @memberof IndexProductChildRequest
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
relatedId?: number;
|
|
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
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
165
164
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
165
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
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_id': value['relatedId'],
|
|
191
190
|
'related_type': value['relatedType'],
|
|
191
|
+
'related_id': value['relatedId'],
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
|