@digital8/lighting-illusions-ts-sdk 0.0.1638 → 0.0.1639
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/.openapi-generator/FILES +26 -0
- package/README.md +20 -2
- package/dist/apis/ReviewApi.d.ts +109 -0
- package/dist/apis/ReviewApi.js +433 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/IndexReviewRequest.d.ts +110 -0
- package/dist/models/IndexReviewRequest.js +86 -0
- package/dist/models/PaginatedReviewListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewListResourceResponse.js +57 -0
- package/dist/models/PaginatedReviewLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedReviewResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedReviewResourceResponse.js +57 -0
- package/dist/models/ReviewListResource.d.ts +87 -0
- package/dist/models/ReviewListResource.js +82 -0
- package/dist/models/ReviewListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewListResourceArrayResponse.js +50 -0
- package/dist/models/ReviewLiteResource.d.ts +44 -0
- package/dist/models/ReviewLiteResource.js +59 -0
- package/dist/models/ReviewLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewLiteResourceArrayResponse.js +50 -0
- package/dist/models/ReviewResource.d.ts +117 -0
- package/dist/models/ReviewResource.js +100 -0
- package/dist/models/ReviewResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewResourceArrayResponse.js +50 -0
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +6 -2
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreReviewRequest.d.ts +74 -0
- package/dist/models/StoreReviewRequest.js +71 -0
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/UpdateReviewRequest.d.ts +62 -0
- package/dist/models/UpdateReviewRequest.js +63 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/docs/IndexReviewRequest.md +54 -0
- package/docs/PaginatedReviewListResourceResponse.md +36 -0
- package/docs/PaginatedReviewLiteResourceResponse.md +36 -0
- package/docs/PaginatedReviewResourceResponse.md +36 -0
- package/docs/ReviewApi.md +407 -0
- package/docs/ReviewListResource.md +52 -0
- package/docs/ReviewListResourceArrayResponse.md +34 -0
- package/docs/ReviewLiteResource.md +38 -0
- package/docs/ReviewLiteResourceArrayResponse.md +34 -0
- package/docs/ReviewResource.md +62 -0
- package/docs/ReviewResourceArrayResponse.md +34 -0
- package/docs/StoreReviewRequest.md +48 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/UpdateReviewRequest.md +44 -0
- package/package.json +1 -1
- package/src/apis/ReviewApi.ts +331 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +2 -3
- package/src/models/IndexReviewRequest.ts +167 -0
- package/src/models/PaginatedReviewListResourceResponse.ts +90 -0
- package/src/models/PaginatedReviewLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedReviewResourceResponse.ts +90 -0
- package/src/models/ReviewListResource.ts +152 -0
- package/src/models/ReviewListResourceArrayResponse.ts +73 -0
- package/src/models/ReviewLiteResource.ts +84 -0
- package/src/models/ReviewLiteResourceArrayResponse.ts +73 -0
- package/src/models/ReviewResource.ts +196 -0
- package/src/models/ReviewResourceArrayResponse.ts +73 -0
- package/src/models/StoreFrontendResource.ts +6 -4
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreReviewRequest.ts +125 -0
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/UpdateReviewRequest.ts +107 -0
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStoreReviewRequest = instanceOfStoreReviewRequest;
|
|
17
|
+
exports.StoreReviewRequestFromJSON = StoreReviewRequestFromJSON;
|
|
18
|
+
exports.StoreReviewRequestFromJSONTyped = StoreReviewRequestFromJSONTyped;
|
|
19
|
+
exports.StoreReviewRequestToJSON = StoreReviewRequestToJSON;
|
|
20
|
+
exports.StoreReviewRequestToJSONTyped = StoreReviewRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreReviewRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreReviewRequest(value) {
|
|
25
|
+
if (!('productChildId' in value) || value['productChildId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('reviewerName' in value) || value['reviewerName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('rating' in value) || value['rating'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function StoreReviewRequestFromJSON(json) {
|
|
36
|
+
return StoreReviewRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function StoreReviewRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'productChildId': json['product_child_id'],
|
|
44
|
+
'siteId': json['site_id'],
|
|
45
|
+
'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
|
|
46
|
+
'invoiceItemId': json['invoice_item_id'] == null ? undefined : json['invoice_item_id'],
|
|
47
|
+
'reviewerName': json['reviewer_name'],
|
|
48
|
+
'rating': json['rating'],
|
|
49
|
+
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
50
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function StoreReviewRequestToJSON(json) {
|
|
54
|
+
return StoreReviewRequestToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function StoreReviewRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'product_child_id': value['productChildId'],
|
|
63
|
+
'site_id': value['siteId'],
|
|
64
|
+
'customer_id': value['customerId'],
|
|
65
|
+
'invoice_item_id': value['invoiceItemId'],
|
|
66
|
+
'reviewer_name': value['reviewerName'],
|
|
67
|
+
'rating': value['rating'],
|
|
68
|
+
'comment': value['comment'],
|
|
69
|
+
'location': value['location'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -26,8 +26,6 @@ function instanceOfStoreSpecialDateResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('hours' in value) || value['hours'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -47,7 +45,7 @@ function StoreSpecialDateResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
45
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
46
|
'name': json['name'],
|
|
49
47
|
'hours': json['hours'],
|
|
50
|
-
'date': json['date'],
|
|
48
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
51
49
|
'closed': json['closed'],
|
|
52
50
|
'displayStartDate': json['display_start_date'],
|
|
53
51
|
'displayEndDate': json['display_end_date'],
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateReviewRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateReviewRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateReviewRequest
|
|
22
|
+
*/
|
|
23
|
+
reviewerName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UpdateReviewRequest
|
|
28
|
+
*/
|
|
29
|
+
rating: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateReviewRequest
|
|
34
|
+
*/
|
|
35
|
+
comment?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateReviewRequest
|
|
40
|
+
*/
|
|
41
|
+
replyFromAdmin?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateReviewRequest
|
|
46
|
+
*/
|
|
47
|
+
location?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof UpdateReviewRequest
|
|
52
|
+
*/
|
|
53
|
+
approved?: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the UpdateReviewRequest interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfUpdateReviewRequest(value: object): value is UpdateReviewRequest;
|
|
59
|
+
export declare function UpdateReviewRequestFromJSON(json: any): UpdateReviewRequest;
|
|
60
|
+
export declare function UpdateReviewRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateReviewRequest;
|
|
61
|
+
export declare function UpdateReviewRequestToJSON(json: any): UpdateReviewRequest;
|
|
62
|
+
export declare function UpdateReviewRequestToJSONTyped(value?: UpdateReviewRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdateReviewRequest = instanceOfUpdateReviewRequest;
|
|
17
|
+
exports.UpdateReviewRequestFromJSON = UpdateReviewRequestFromJSON;
|
|
18
|
+
exports.UpdateReviewRequestFromJSONTyped = UpdateReviewRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateReviewRequestToJSON = UpdateReviewRequestToJSON;
|
|
20
|
+
exports.UpdateReviewRequestToJSONTyped = UpdateReviewRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateReviewRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateReviewRequest(value) {
|
|
25
|
+
if (!('reviewerName' in value) || value['reviewerName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('rating' in value) || value['rating'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UpdateReviewRequestFromJSON(json) {
|
|
32
|
+
return UpdateReviewRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UpdateReviewRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'reviewerName': json['reviewer_name'],
|
|
40
|
+
'rating': json['rating'],
|
|
41
|
+
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
42
|
+
'replyFromAdmin': json['reply_from_admin'] == null ? undefined : json['reply_from_admin'],
|
|
43
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
44
|
+
'approved': json['approved'] == null ? undefined : json['approved'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function UpdateReviewRequestToJSON(json) {
|
|
48
|
+
return UpdateReviewRequestToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function UpdateReviewRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'reviewer_name': value['reviewerName'],
|
|
57
|
+
'rating': value['rating'],
|
|
58
|
+
'comment': value['comment'],
|
|
59
|
+
'reply_from_admin': value['replyFromAdmin'],
|
|
60
|
+
'location': value['location'],
|
|
61
|
+
'approved': value['approved'],
|
|
62
|
+
};
|
|
63
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export * from './IndexProductRangeRequest';
|
|
|
120
120
|
export * from './IndexProductRequest';
|
|
121
121
|
export * from './IndexProductTypeRequest';
|
|
122
122
|
export * from './IndexRedirectRequest';
|
|
123
|
+
export * from './IndexReviewRequest';
|
|
123
124
|
export * from './IndexSiteNotificationRequest';
|
|
124
125
|
export * from './IndexSiteRequest';
|
|
125
126
|
export * from './IndexStoreRequest';
|
|
@@ -185,6 +186,9 @@ export * from './PaginatedProductTypeListResourceResponse';
|
|
|
185
186
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
186
187
|
export * from './PaginatedProductTypeResourceResponse';
|
|
187
188
|
export * from './PaginatedRedirectListResourceResponse';
|
|
189
|
+
export * from './PaginatedReviewListResourceResponse';
|
|
190
|
+
export * from './PaginatedReviewLiteResourceResponse';
|
|
191
|
+
export * from './PaginatedReviewResourceResponse';
|
|
188
192
|
export * from './PaginatedSiteListResourceResponse';
|
|
189
193
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
190
194
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -281,6 +285,12 @@ export * from './RedirectFrontendResource';
|
|
|
281
285
|
export * from './RedirectFrontendResourceArrayResponse';
|
|
282
286
|
export * from './RedirectListResource';
|
|
283
287
|
export * from './RedirectListResourceArrayResponse';
|
|
288
|
+
export * from './ReviewListResource';
|
|
289
|
+
export * from './ReviewListResourceArrayResponse';
|
|
290
|
+
export * from './ReviewLiteResource';
|
|
291
|
+
export * from './ReviewLiteResourceArrayResponse';
|
|
292
|
+
export * from './ReviewResource';
|
|
293
|
+
export * from './ReviewResourceArrayResponse';
|
|
284
294
|
export * from './SEOResource';
|
|
285
295
|
export * from './SEOResourceArrayResponse';
|
|
286
296
|
export * from './ShowAssetsProductChildRequest';
|
|
@@ -330,6 +340,7 @@ export * from './StoreProductRequestCategoriesInner';
|
|
|
330
340
|
export * from './StoreProductTypeRequest';
|
|
331
341
|
export * from './StoreResource';
|
|
332
342
|
export * from './StoreResourceArrayResponse';
|
|
343
|
+
export * from './StoreReviewRequest';
|
|
333
344
|
export * from './StoreSiteNotificationRequest';
|
|
334
345
|
export * from './StoreSpecialDateFrontendResource';
|
|
335
346
|
export * from './StoreSpecialDateFrontendResourceArrayResponse';
|
|
@@ -376,6 +387,7 @@ export * from './UpdateProductRangeRequest';
|
|
|
376
387
|
export * from './UpdateProductRangeRequestAttributesInner';
|
|
377
388
|
export * from './UpdateProductRequest';
|
|
378
389
|
export * from './UpdateProductTypeRequest';
|
|
390
|
+
export * from './UpdateReviewRequest';
|
|
379
391
|
export * from './UpdateSiteNotificationRequest';
|
|
380
392
|
export * from './UpdateSiteRequest';
|
|
381
393
|
export * from './UpdateStoreRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -138,6 +138,7 @@ __exportStar(require("./IndexProductRangeRequest"), exports);
|
|
|
138
138
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
139
139
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
140
140
|
__exportStar(require("./IndexRedirectRequest"), exports);
|
|
141
|
+
__exportStar(require("./IndexReviewRequest"), exports);
|
|
141
142
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
142
143
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
143
144
|
__exportStar(require("./IndexStoreRequest"), exports);
|
|
@@ -203,6 +204,9 @@ __exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
|
203
204
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
204
205
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
205
206
|
__exportStar(require("./PaginatedRedirectListResourceResponse"), exports);
|
|
207
|
+
__exportStar(require("./PaginatedReviewListResourceResponse"), exports);
|
|
208
|
+
__exportStar(require("./PaginatedReviewLiteResourceResponse"), exports);
|
|
209
|
+
__exportStar(require("./PaginatedReviewResourceResponse"), exports);
|
|
206
210
|
__exportStar(require("./PaginatedSiteListResourceResponse"), exports);
|
|
207
211
|
__exportStar(require("./PaginatedSiteLiteResourceResponse"), exports);
|
|
208
212
|
__exportStar(require("./PaginatedSiteNotificationListResourceResponse"), exports);
|
|
@@ -299,6 +303,12 @@ __exportStar(require("./RedirectFrontendResource"), exports);
|
|
|
299
303
|
__exportStar(require("./RedirectFrontendResourceArrayResponse"), exports);
|
|
300
304
|
__exportStar(require("./RedirectListResource"), exports);
|
|
301
305
|
__exportStar(require("./RedirectListResourceArrayResponse"), exports);
|
|
306
|
+
__exportStar(require("./ReviewListResource"), exports);
|
|
307
|
+
__exportStar(require("./ReviewListResourceArrayResponse"), exports);
|
|
308
|
+
__exportStar(require("./ReviewLiteResource"), exports);
|
|
309
|
+
__exportStar(require("./ReviewLiteResourceArrayResponse"), exports);
|
|
310
|
+
__exportStar(require("./ReviewResource"), exports);
|
|
311
|
+
__exportStar(require("./ReviewResourceArrayResponse"), exports);
|
|
302
312
|
__exportStar(require("./SEOResource"), exports);
|
|
303
313
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
304
314
|
__exportStar(require("./ShowAssetsProductChildRequest"), exports);
|
|
@@ -348,6 +358,7 @@ __exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
|
348
358
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
349
359
|
__exportStar(require("./StoreResource"), exports);
|
|
350
360
|
__exportStar(require("./StoreResourceArrayResponse"), exports);
|
|
361
|
+
__exportStar(require("./StoreReviewRequest"), exports);
|
|
351
362
|
__exportStar(require("./StoreSiteNotificationRequest"), exports);
|
|
352
363
|
__exportStar(require("./StoreSpecialDateFrontendResource"), exports);
|
|
353
364
|
__exportStar(require("./StoreSpecialDateFrontendResourceArrayResponse"), exports);
|
|
@@ -394,6 +405,7 @@ __exportStar(require("./UpdateProductRangeRequest"), exports);
|
|
|
394
405
|
__exportStar(require("./UpdateProductRangeRequestAttributesInner"), exports);
|
|
395
406
|
__exportStar(require("./UpdateProductRequest"), exports);
|
|
396
407
|
__exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
408
|
+
__exportStar(require("./UpdateReviewRequest"), exports);
|
|
397
409
|
__exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
398
410
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
399
411
|
__exportStar(require("./UpdateStoreRequest"), exports);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
# IndexReviewRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`siteId` | Array<string>
|
|
15
|
+
`createdByAdmin` | Array<string>
|
|
16
|
+
`hasApprovedAt` | Array<string>
|
|
17
|
+
`relatedId` | number
|
|
18
|
+
`relatedType` | string
|
|
19
|
+
`includesRelations` | boolean
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import type { IndexReviewRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
25
|
+
|
|
26
|
+
// TODO: Update the object below with actual values
|
|
27
|
+
const example = {
|
|
28
|
+
"search": null,
|
|
29
|
+
"sortBy": null,
|
|
30
|
+
"sortDirection": null,
|
|
31
|
+
"perPage": null,
|
|
32
|
+
"page": null,
|
|
33
|
+
"siteId": null,
|
|
34
|
+
"createdByAdmin": null,
|
|
35
|
+
"hasApprovedAt": null,
|
|
36
|
+
"relatedId": null,
|
|
37
|
+
"relatedType": null,
|
|
38
|
+
"includesRelations": null,
|
|
39
|
+
} satisfies IndexReviewRequest
|
|
40
|
+
|
|
41
|
+
console.log(example)
|
|
42
|
+
|
|
43
|
+
// Convert the instance to a JSON string
|
|
44
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
45
|
+
console.log(exampleJSON)
|
|
46
|
+
|
|
47
|
+
// Parse the JSON string back to an object
|
|
48
|
+
const exampleParsed = JSON.parse(exampleJSON) as IndexReviewRequest
|
|
49
|
+
console.log(exampleParsed)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedReviewListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ReviewListResource>](ReviewListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedReviewListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedReviewListResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedReviewListResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedReviewLiteResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ReviewLiteResource>](ReviewLiteResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedReviewLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedReviewLiteResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedReviewLiteResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedReviewResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ReviewResource>](ReviewResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedReviewResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedReviewResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedReviewResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|