@digital8/lighting-illusions-ts-sdk 0.0.580 → 0.0.582

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.580
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.582
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -410,7 +410,7 @@ and is automatically generated by the
410
410
  [OpenAPI Generator](https://openapi-generator.tech) project:
411
411
 
412
412
  - API version: `1.0.0`
413
- - Package version: `0.0.580`
413
+ - Package version: `0.0.582`
414
414
  - Generator version: `7.18.0`
415
415
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
416
416
 
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -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']),
@@ -51,6 +51,12 @@ export interface GetAllDocumentRequest {
51
51
  * @memberof GetAllDocumentRequest
52
52
  */
53
53
  includesRelations?: boolean;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof GetAllDocumentRequest
58
+ */
59
+ sitesId?: Array<string>;
54
60
  }
55
61
  /**
56
62
  * @export
@@ -62,6 +62,7 @@ function GetAllDocumentRequestFromJSONTyped(json, ignoreDiscriminator) {
62
62
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
63
63
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
64
64
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
65
+ 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
65
66
  };
66
67
  }
67
68
  function GetAllDocumentRequestToJSON(json) {
@@ -79,5 +80,6 @@ function GetAllDocumentRequestToJSONTyped(value, ignoreDiscriminator) {
79
80
  'related_id': value['relatedId'],
80
81
  'related_type': value['relatedType'],
81
82
  'includes_relations': value['includesRelations'],
83
+ 'sites-id': value['sitesId'],
82
84
  };
83
85
  }
@@ -81,7 +81,7 @@ export declare const GetAllProductChildRequestSortByEnum: {
81
81
  readonly SiteDetailsSlug: "siteDetails-slug";
82
82
  readonly Sku: "sku";
83
83
  readonly Model: "model";
84
- readonly NetsuiteSyncNetsuiteId: "netsuite_sync-netsuite_id";
84
+ readonly NetsuiteSyncNetsuiteId: "netsuiteSync-netsuite_id";
85
85
  readonly NewArrivalStartDate: "new_arrival_start_date";
86
86
  readonly NewArrivalEndDate: "new_arrival_end_date";
87
87
  readonly CreatedAt: "created_at";
@@ -30,7 +30,7 @@ exports.GetAllProductChildRequestSortByEnum = {
30
30
  SiteDetailsSlug: 'siteDetails-slug',
31
31
  Sku: 'sku',
32
32
  Model: 'model',
33
- NetsuiteSyncNetsuiteId: 'netsuite_sync-netsuite_id',
33
+ NetsuiteSyncNetsuiteId: 'netsuiteSync-netsuite_id',
34
34
  NewArrivalStartDate: 'new_arrival_start_date',
35
35
  NewArrivalEndDate: 'new_arrival_end_date',
36
36
  CreatedAt: 'created_at',
@@ -74,7 +74,7 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
74
74
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
75
75
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
76
76
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
77
- 'netsuiteSyncHasNetsuiteId': json['netsuite_sync-has_netsuite_id'] == null ? undefined : json['netsuite_sync-has_netsuite_id'],
77
+ 'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
78
78
  };
79
79
  }
80
80
  function GetAllProductChildRequestToJSON(json) {
@@ -94,6 +94,6 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
94
94
  'includes_relations': value['includesRelations'],
95
95
  'siteDetails-site_id': value['siteDetailsSiteId'],
96
96
  'is_disabled': value['isDisabled'],
97
- 'netsuite_sync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
97
+ 'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
98
98
  };
99
99
  }
@@ -45,6 +45,12 @@ export interface IndexDocumentRequest {
45
45
  * @memberof IndexDocumentRequest
46
46
  */
47
47
  page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof IndexDocumentRequest
52
+ */
53
+ sitesId?: Array<string>;
48
54
  /**
49
55
  *
50
56
  * @type {number}
@@ -61,6 +61,7 @@ function IndexDocumentRequestFromJSONTyped(json, ignoreDiscriminator) {
61
61
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
62
62
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
63
63
  'page': json['page'] == null ? undefined : json['page'],
64
+ 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
64
65
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
65
66
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
66
67
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -80,6 +81,7 @@ function IndexDocumentRequestToJSONTyped(value, ignoreDiscriminator) {
80
81
  'sortDirection': value['sortDirection'],
81
82
  'per_page': value['perPage'],
82
83
  'page': value['page'],
84
+ 'sites-id': value['sitesId'],
83
85
  'related_id': value['relatedId'],
84
86
  'related_type': value['relatedType'],
85
87
  'includes_relations': value['includesRelations'],
@@ -93,7 +93,7 @@ export declare const IndexProductChildRequestSortByEnum: {
93
93
  readonly SiteDetailsSlug: "siteDetails-slug";
94
94
  readonly Sku: "sku";
95
95
  readonly Model: "model";
96
- readonly NetsuiteSyncNetsuiteId: "netsuite_sync-netsuite_id";
96
+ readonly NetsuiteSyncNetsuiteId: "netsuiteSync-netsuite_id";
97
97
  readonly NewArrivalStartDate: "new_arrival_start_date";
98
98
  readonly NewArrivalEndDate: "new_arrival_end_date";
99
99
  readonly CreatedAt: "created_at";
@@ -116,6 +116,8 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
116
116
  readonly Attribute: "attribute";
117
117
  readonly AttributeValue: "attributeValue";
118
118
  readonly CompatibleProduct: "compatibleProduct";
119
+ readonly Category: "category";
120
+ readonly AutomatedCategory: "automatedCategory";
119
121
  readonly Document: "document";
120
122
  readonly OverlayTemplate: "overlayTemplate";
121
123
  readonly ProductType: "productType";
@@ -30,7 +30,7 @@ exports.IndexProductChildRequestSortByEnum = {
30
30
  SiteDetailsSlug: 'siteDetails-slug',
31
31
  Sku: 'sku',
32
32
  Model: 'model',
33
- NetsuiteSyncNetsuiteId: 'netsuite_sync-netsuite_id',
33
+ NetsuiteSyncNetsuiteId: 'netsuiteSync-netsuite_id',
34
34
  NewArrivalStartDate: 'new_arrival_start_date',
35
35
  NewArrivalEndDate: 'new_arrival_end_date',
36
36
  CreatedAt: 'created_at',
@@ -51,6 +51,8 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
51
51
  Attribute: 'attribute',
52
52
  AttributeValue: 'attributeValue',
53
53
  CompatibleProduct: 'compatibleProduct',
54
+ Category: 'category',
55
+ AutomatedCategory: 'automatedCategory',
54
56
  Document: 'document',
55
57
  OverlayTemplate: 'overlayTemplate',
56
58
  ProductType: 'productType',
@@ -79,7 +81,7 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
79
81
  'page': json['page'] == null ? undefined : json['page'],
80
82
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
81
83
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
82
- 'netsuiteSyncHasNetsuiteId': json['netsuite_sync-has_netsuite_id'] == null ? undefined : json['netsuite_sync-has_netsuite_id'],
84
+ 'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
83
85
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
84
86
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
85
87
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -101,7 +103,7 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
101
103
  'page': value['page'],
102
104
  'siteDetails-site_id': value['siteDetailsSiteId'],
103
105
  'is_disabled': value['isDisabled'],
104
- 'netsuite_sync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
106
+ 'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
105
107
  'related_id': value['relatedId'],
106
108
  'related_type': value['relatedType'],
107
109
  'includes_relations': value['includesRelations'],
@@ -12,6 +12,7 @@ Name | Type
12
12
  `relatedId` | number
13
13
  `relatedType` | string
14
14
  `includesRelations` | boolean
15
+ `sitesId` | Array&lt;string&gt;
15
16
 
16
17
  ## Example
17
18
 
@@ -26,6 +27,7 @@ const example = {
26
27
  "relatedId": null,
27
28
  "relatedType": null,
28
29
  "includesRelations": null,
30
+ "sitesId": null,
29
31
  } satisfies GetAllDocumentRequest
30
32
 
31
33
  console.log(example)
@@ -11,6 +11,7 @@ Name | Type
11
11
  `sortDirection` | string
12
12
  `perPage` | number
13
13
  `page` | number
14
+ `sitesId` | Array&lt;string&gt;
14
15
  `relatedId` | number
15
16
  `relatedType` | string
16
17
  `includesRelations` | boolean
@@ -27,6 +28,7 @@ const example = {
27
28
  "sortDirection": null,
28
29
  "perPage": null,
29
30
  "page": null,
31
+ "sitesId": null,
30
32
  "relatedId": null,
31
33
  "relatedType": null,
32
34
  "includesRelations": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.580",
3
+ "version": "0.0.582",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
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']),
@@ -55,6 +55,12 @@ export interface GetAllDocumentRequest {
55
55
  * @memberof GetAllDocumentRequest
56
56
  */
57
57
  includesRelations?: boolean;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof GetAllDocumentRequest
62
+ */
63
+ sitesId?: Array<string>;
58
64
  }
59
65
 
60
66
 
@@ -111,6 +117,7 @@ export function GetAllDocumentRequestFromJSONTyped(json: any, ignoreDiscriminato
111
117
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
112
118
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
113
119
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
120
+ 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
114
121
  };
115
122
  }
116
123
 
@@ -131,6 +138,7 @@ export function GetAllDocumentRequestToJSONTyped(value?: GetAllDocumentRequest |
131
138
  'related_id': value['relatedId'],
132
139
  'related_type': value['relatedType'],
133
140
  'includes_relations': value['includesRelations'],
141
+ 'sites-id': value['sitesId'],
134
142
  };
135
143
  }
136
144
 
@@ -87,7 +87,7 @@ export const GetAllProductChildRequestSortByEnum = {
87
87
  SiteDetailsSlug: 'siteDetails-slug',
88
88
  Sku: 'sku',
89
89
  Model: 'model',
90
- NetsuiteSyncNetsuiteId: 'netsuite_sync-netsuite_id',
90
+ NetsuiteSyncNetsuiteId: 'netsuiteSync-netsuite_id',
91
91
  NewArrivalStartDate: 'new_arrival_start_date',
92
92
  NewArrivalEndDate: 'new_arrival_end_date',
93
93
  CreatedAt: 'created_at',
@@ -141,7 +141,7 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
141
141
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
142
142
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
143
143
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
144
- 'netsuiteSyncHasNetsuiteId': json['netsuite_sync-has_netsuite_id'] == null ? undefined : json['netsuite_sync-has_netsuite_id'],
144
+ 'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
145
145
  };
146
146
  }
147
147
 
@@ -164,7 +164,7 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
164
164
  'includes_relations': value['includesRelations'],
165
165
  'siteDetails-site_id': value['siteDetailsSiteId'],
166
166
  'is_disabled': value['isDisabled'],
167
- 'netsuite_sync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
167
+ 'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
168
168
  };
169
169
  }
170
170
 
@@ -49,6 +49,12 @@ export interface IndexDocumentRequest {
49
49
  * @memberof IndexDocumentRequest
50
50
  */
51
51
  page?: number;
52
+ /**
53
+ *
54
+ * @type {Array<string>}
55
+ * @memberof IndexDocumentRequest
56
+ */
57
+ sitesId?: Array<string>;
52
58
  /**
53
59
  *
54
60
  * @type {number}
@@ -122,6 +128,7 @@ export function IndexDocumentRequestFromJSONTyped(json: any, ignoreDiscriminator
122
128
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
123
129
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
124
130
  'page': json['page'] == null ? undefined : json['page'],
131
+ 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
125
132
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
126
133
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
127
134
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -144,6 +151,7 @@ export function IndexDocumentRequestToJSONTyped(value?: IndexDocumentRequest | n
144
151
  'sortDirection': value['sortDirection'],
145
152
  'per_page': value['perPage'],
146
153
  'page': value['page'],
154
+ 'sites-id': value['sitesId'],
147
155
  'related_id': value['relatedId'],
148
156
  'related_type': value['relatedType'],
149
157
  'includes_relations': value['includesRelations'],
@@ -99,7 +99,7 @@ export const IndexProductChildRequestSortByEnum = {
99
99
  SiteDetailsSlug: 'siteDetails-slug',
100
100
  Sku: 'sku',
101
101
  Model: 'model',
102
- NetsuiteSyncNetsuiteId: 'netsuite_sync-netsuite_id',
102
+ NetsuiteSyncNetsuiteId: 'netsuiteSync-netsuite_id',
103
103
  NewArrivalStartDate: 'new_arrival_start_date',
104
104
  NewArrivalEndDate: 'new_arrival_end_date',
105
105
  CreatedAt: 'created_at',
@@ -124,6 +124,8 @@ export const IndexProductChildRequestRelatedTypeEnum = {
124
124
  Attribute: 'attribute',
125
125
  AttributeValue: 'attributeValue',
126
126
  CompatibleProduct: 'compatibleProduct',
127
+ Category: 'category',
128
+ AutomatedCategory: 'automatedCategory',
127
129
  Document: 'document',
128
130
  OverlayTemplate: 'overlayTemplate',
129
131
  ProductType: 'productType',
@@ -158,7 +160,7 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
158
160
  'page': json['page'] == null ? undefined : json['page'],
159
161
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
160
162
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
161
- 'netsuiteSyncHasNetsuiteId': json['netsuite_sync-has_netsuite_id'] == null ? undefined : json['netsuite_sync-has_netsuite_id'],
163
+ 'netsuiteSyncHasNetsuiteId': json['netsuiteSync-has_netsuite_id'] == null ? undefined : json['netsuiteSync-has_netsuite_id'],
162
164
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
163
165
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
164
166
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -183,7 +185,7 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
183
185
  'page': value['page'],
184
186
  'siteDetails-site_id': value['siteDetailsSiteId'],
185
187
  'is_disabled': value['isDisabled'],
186
- 'netsuite_sync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
188
+ 'netsuiteSync-has_netsuite_id': value['netsuiteSyncHasNetsuiteId'],
187
189
  'related_id': value['relatedId'],
188
190
  'related_type': value['relatedType'],
189
191
  'includes_relations': value['includesRelations'],