@digital8/lighting-illusions-ts-sdk 0.0.1905 → 0.0.1906
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 +48 -0
- package/README.md +33 -2
- package/dist/apis/ReviewApi.d.ts +139 -0
- package/dist/apis/ReviewApi.js +566 -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 +1 -3
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/AdminUserLiteResource.d.ts +50 -0
- package/dist/models/AdminUserLiteResource.js +61 -0
- package/dist/models/AdminUserLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AdminUserLiteResourceArrayResponse.js +50 -0
- package/dist/models/CustomerLiteResource.d.ts +50 -0
- package/dist/models/CustomerLiteResource.js +61 -0
- package/dist/models/CustomerLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerLiteResourceArrayResponse.js +50 -0
- package/dist/models/CustomerReviewableItemFrontendResource.d.ts +50 -0
- package/dist/models/CustomerReviewableItemFrontendResource.js +63 -0
- package/dist/models/CustomerReviewableItemFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CustomerReviewableItemFrontendResourceArrayResponse.js +50 -0
- package/dist/models/IndexReviewRequest.d.ts +110 -0
- package/dist/models/IndexReviewRequest.js +86 -0
- package/dist/models/PaginatedCustomerReviewableItemFrontendResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCustomerReviewableItemFrontendResourceResponse.js +57 -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/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +4 -0
- package/dist/models/ProductChildLiteResource.d.ts +6 -0
- package/dist/models/ProductChildLiteResource.js +4 -0
- package/dist/models/ProductReviewsResource.d.ts +63 -0
- package/dist/models/ProductReviewsResource.js +70 -0
- package/dist/models/ProductReviewsResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductReviewsResourceArrayResponse.js +50 -0
- package/dist/models/ReviewListResource.d.ts +94 -0
- package/dist/models/ReviewListResource.js +87 -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/ReviewPublicResource.d.ts +68 -0
- package/dist/models/ReviewPublicResource.js +73 -0
- package/dist/models/ReviewPublicResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewPublicResourceArrayResponse.js +50 -0
- package/dist/models/ReviewResource.d.ts +126 -0
- package/dist/models/ReviewResource.js +107 -0
- package/dist/models/ReviewResourceArrayResponse.d.ts +33 -0
- package/dist/models/ReviewResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +4 -4
- package/dist/models/StoreReviewRequest.d.ts +80 -0
- package/dist/models/StoreReviewRequest.js +79 -0
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/UpdateReviewRequest.d.ts +68 -0
- package/dist/models/UpdateReviewRequest.js +71 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/docs/AdminUserLiteResource.md +40 -0
- package/docs/AdminUserLiteResourceArrayResponse.md +34 -0
- package/docs/CustomerLiteResource.md +40 -0
- package/docs/CustomerLiteResourceArrayResponse.md +34 -0
- package/docs/CustomerReviewableItemFrontendResource.md +40 -0
- package/docs/CustomerReviewableItemFrontendResourceArrayResponse.md +34 -0
- package/docs/IndexReviewRequest.md +54 -0
- package/docs/PaginatedCustomerReviewableItemFrontendResourceResponse.md +36 -0
- package/docs/PaginatedReviewListResourceResponse.md +36 -0
- package/docs/PaginatedReviewLiteResourceResponse.md +36 -0
- package/docs/PaginatedReviewResourceResponse.md +36 -0
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductChildLiteResource.md +2 -0
- package/docs/ProductReviewsResource.md +44 -0
- package/docs/ProductReviewsResourceArrayResponse.md +34 -0
- package/docs/ReviewApi.md +539 -0
- package/docs/ReviewListResource.md +54 -0
- package/docs/ReviewListResourceArrayResponse.md +34 -0
- package/docs/ReviewLiteResource.md +38 -0
- package/docs/ReviewLiteResourceArrayResponse.md +34 -0
- package/docs/ReviewPublicResource.md +46 -0
- package/docs/ReviewPublicResourceArrayResponse.md +34 -0
- package/docs/ReviewResource.md +64 -0
- package/docs/ReviewResourceArrayResponse.md +34 -0
- package/docs/StoreReviewRequest.md +50 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/UpdateReviewRequest.md +46 -0
- package/package.json +1 -1
- package/src/apis/ReviewApi.ts +444 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AdminUserLiteResource.ts +92 -0
- package/src/models/AdminUserLiteResourceArrayResponse.ts +73 -0
- package/src/models/CustomerLiteResource.ts +92 -0
- package/src/models/CustomerLiteResourceArrayResponse.ts +73 -0
- package/src/models/CustomerReviewableItemFrontendResource.ts +93 -0
- package/src/models/CustomerReviewableItemFrontendResourceArrayResponse.ts +73 -0
- package/src/models/IndexReviewRequest.ts +167 -0
- package/src/models/PaginatedCustomerReviewableItemFrontendResourceResponse.ts +90 -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/ProductChildListResource.ts +9 -0
- package/src/models/ProductChildLiteResource.ts +9 -0
- package/src/models/ProductReviewsResource.ts +118 -0
- package/src/models/ProductReviewsResourceArrayResponse.ts +73 -0
- package/src/models/ReviewListResource.ts +168 -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/ReviewPublicResource.ts +119 -0
- package/src/models/ReviewPublicResourceArrayResponse.ts +73 -0
- package/src/models/ReviewResource.ts +226 -0
- package/src/models/ReviewResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +5 -5
- package/src/models/StoreReviewRequest.ts +136 -0
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/UpdateReviewRequest.ts +118 -0
- package/src/models/index.ts +23 -0
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
if (!('comment' in value) || value['comment'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('location' in value) || value['location'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('reviewDate' in value) || value['reviewDate'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function StoreReviewRequestFromJSON(json) {
|
|
42
|
+
return StoreReviewRequestFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function StoreReviewRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'productChildId': json['product_child_id'],
|
|
50
|
+
'siteId': json['site_id'],
|
|
51
|
+
'customerId': json['customer_id'] == null ? undefined : json['customer_id'],
|
|
52
|
+
'invoiceItemId': json['invoice_item_id'] == null ? undefined : json['invoice_item_id'],
|
|
53
|
+
'reviewerName': json['reviewer_name'],
|
|
54
|
+
'rating': json['rating'],
|
|
55
|
+
'comment': json['comment'],
|
|
56
|
+
'location': json['location'],
|
|
57
|
+
'reviewDate': (new Date(json['review_date'])),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function StoreReviewRequestToJSON(json) {
|
|
61
|
+
return StoreReviewRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function StoreReviewRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'product_child_id': value['productChildId'],
|
|
70
|
+
'site_id': value['siteId'],
|
|
71
|
+
'customer_id': value['customerId'],
|
|
72
|
+
'invoice_item_id': value['invoiceItemId'],
|
|
73
|
+
'reviewer_name': value['reviewerName'],
|
|
74
|
+
'rating': value['rating'],
|
|
75
|
+
'comment': value['comment'],
|
|
76
|
+
'location': value['location'],
|
|
77
|
+
'review_date': value['reviewDate'].toISOString(),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
35
35
|
hours: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof StoreSpecialDateFrontendResource
|
|
40
40
|
*/
|
|
41
|
-
date
|
|
41
|
+
date?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -26,8 +26,6 @@ function instanceOfStoreSpecialDateFrontendResource(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 StoreSpecialDateFrontendResourceFromJSONTyped(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['displayStartDate'],
|
|
53
51
|
'displayEndDate': json['displayEndDate'],
|
|
@@ -0,0 +1,68 @@
|
|
|
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;
|
|
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;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof UpdateReviewRequest
|
|
52
|
+
*/
|
|
53
|
+
approved?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof UpdateReviewRequest
|
|
58
|
+
*/
|
|
59
|
+
reviewDate: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the UpdateReviewRequest interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfUpdateReviewRequest(value: object): value is UpdateReviewRequest;
|
|
65
|
+
export declare function UpdateReviewRequestFromJSON(json: any): UpdateReviewRequest;
|
|
66
|
+
export declare function UpdateReviewRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateReviewRequest;
|
|
67
|
+
export declare function UpdateReviewRequestToJSON(json: any): UpdateReviewRequest;
|
|
68
|
+
export declare function UpdateReviewRequestToJSONTyped(value?: UpdateReviewRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.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
|
+
if (!('comment' in value) || value['comment'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('location' in value) || value['location'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('reviewDate' in value) || value['reviewDate'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function UpdateReviewRequestFromJSON(json) {
|
|
38
|
+
return UpdateReviewRequestFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function UpdateReviewRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'reviewerName': json['reviewer_name'],
|
|
46
|
+
'rating': json['rating'],
|
|
47
|
+
'comment': json['comment'],
|
|
48
|
+
'replyFromAdmin': json['reply_from_admin'] == null ? undefined : json['reply_from_admin'],
|
|
49
|
+
'location': json['location'],
|
|
50
|
+
'approved': json['approved'] == null ? undefined : json['approved'],
|
|
51
|
+
'reviewDate': (new Date(json['review_date'])),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function UpdateReviewRequestToJSON(json) {
|
|
55
|
+
return UpdateReviewRequestToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function UpdateReviewRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'reviewer_name': value['reviewerName'],
|
|
64
|
+
'rating': value['rating'],
|
|
65
|
+
'comment': value['comment'],
|
|
66
|
+
'reply_from_admin': value['replyFromAdmin'],
|
|
67
|
+
'location': value['location'],
|
|
68
|
+
'approved': value['approved'],
|
|
69
|
+
'review_date': value['reviewDate'].toISOString(),
|
|
70
|
+
};
|
|
71
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ export * from './AddressFrontendResource';
|
|
|
2
2
|
export * from './AddressFrontendResourceArrayResponse';
|
|
3
3
|
export * from './AddressResource';
|
|
4
4
|
export * from './AddressResourceArrayResponse';
|
|
5
|
+
export * from './AdminUserLiteResource';
|
|
6
|
+
export * from './AdminUserLiteResourceArrayResponse';
|
|
5
7
|
export * from './AssetFileForUploadResource';
|
|
6
8
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
7
9
|
export * from './AssetFrontendResource';
|
|
@@ -49,6 +51,10 @@ export * from './CategoryFrontendResourceArrayResponse';
|
|
|
49
51
|
export * from './CategoryWithChildrenFrontendResource';
|
|
50
52
|
export * from './CategoryWithChildrenFrontendResourceArrayResponse';
|
|
51
53
|
export * from './CouponDiscountType';
|
|
54
|
+
export * from './CustomerLiteResource';
|
|
55
|
+
export * from './CustomerLiteResourceArrayResponse';
|
|
56
|
+
export * from './CustomerReviewableItemFrontendResource';
|
|
57
|
+
export * from './CustomerReviewableItemFrontendResourceArrayResponse';
|
|
52
58
|
export * from './DefinitionListResource';
|
|
53
59
|
export * from './DefinitionListResourceArrayResponse';
|
|
54
60
|
export * from './DefinitionResource';
|
|
@@ -126,6 +132,7 @@ export * from './IndexProductRegistrationRequest';
|
|
|
126
132
|
export * from './IndexProductRequest';
|
|
127
133
|
export * from './IndexProductTypeRequest';
|
|
128
134
|
export * from './IndexRedirectRequest';
|
|
135
|
+
export * from './IndexReviewRequest';
|
|
129
136
|
export * from './IndexSiteNotificationRequest';
|
|
130
137
|
export * from './IndexSiteRequest';
|
|
131
138
|
export * from './IndexStoreRequest';
|
|
@@ -175,6 +182,7 @@ export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
|
175
182
|
export * from './PaginatedAttributeResourceResponse';
|
|
176
183
|
export * from './PaginatedAttributeValueResourceResponse';
|
|
177
184
|
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
185
|
+
export * from './PaginatedCustomerReviewableItemFrontendResourceResponse';
|
|
178
186
|
export * from './PaginatedDefinitionListResourceResponse';
|
|
179
187
|
export * from './PaginatedDefinitionResourceResponse';
|
|
180
188
|
export * from './PaginatedDocumentResourceResponse';
|
|
@@ -210,6 +218,9 @@ export * from './PaginatedProductTypeListResourceResponse';
|
|
|
210
218
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
211
219
|
export * from './PaginatedProductTypeResourceResponse';
|
|
212
220
|
export * from './PaginatedRedirectListResourceResponse';
|
|
221
|
+
export * from './PaginatedReviewListResourceResponse';
|
|
222
|
+
export * from './PaginatedReviewLiteResourceResponse';
|
|
223
|
+
export * from './PaginatedReviewResourceResponse';
|
|
213
224
|
export * from './PaginatedSiteListResourceResponse';
|
|
214
225
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
215
226
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -304,6 +315,8 @@ export * from './ProductRegistrationResource';
|
|
|
304
315
|
export * from './ProductRegistrationResourceArrayResponse';
|
|
305
316
|
export * from './ProductResource';
|
|
306
317
|
export * from './ProductResourceArrayResponse';
|
|
318
|
+
export * from './ProductReviewsResource';
|
|
319
|
+
export * from './ProductReviewsResourceArrayResponse';
|
|
307
320
|
export * from './ProductSearchResponseResource';
|
|
308
321
|
export * from './ProductSearchResponseResourceArrayResponse';
|
|
309
322
|
export * from './ProductSearchResponseResourceMeta';
|
|
@@ -321,6 +334,14 @@ export * from './RedirectFrontendResource';
|
|
|
321
334
|
export * from './RedirectFrontendResourceArrayResponse';
|
|
322
335
|
export * from './RedirectListResource';
|
|
323
336
|
export * from './RedirectListResourceArrayResponse';
|
|
337
|
+
export * from './ReviewListResource';
|
|
338
|
+
export * from './ReviewListResourceArrayResponse';
|
|
339
|
+
export * from './ReviewLiteResource';
|
|
340
|
+
export * from './ReviewLiteResourceArrayResponse';
|
|
341
|
+
export * from './ReviewPublicResource';
|
|
342
|
+
export * from './ReviewPublicResourceArrayResponse';
|
|
343
|
+
export * from './ReviewResource';
|
|
344
|
+
export * from './ReviewResourceArrayResponse';
|
|
324
345
|
export * from './SEOResource';
|
|
325
346
|
export * from './SEOResourceArrayResponse';
|
|
326
347
|
export * from './SearchLinkablesMenuItemRequest';
|
|
@@ -374,6 +395,7 @@ export * from './StoreProductRequestCategoriesInner';
|
|
|
374
395
|
export * from './StoreProductTypeRequest';
|
|
375
396
|
export * from './StoreResource';
|
|
376
397
|
export * from './StoreResourceArrayResponse';
|
|
398
|
+
export * from './StoreReviewRequest';
|
|
377
399
|
export * from './StoreSiteNotificationRequest';
|
|
378
400
|
export * from './StoreSpecialDateFrontendResource';
|
|
379
401
|
export * from './StoreSpecialDateFrontendResourceArrayResponse';
|
|
@@ -424,6 +446,7 @@ export * from './UpdateProductRangeRequest';
|
|
|
424
446
|
export * from './UpdateProductRangeRequestAttributesInner';
|
|
425
447
|
export * from './UpdateProductRequest';
|
|
426
448
|
export * from './UpdateProductTypeRequest';
|
|
449
|
+
export * from './UpdateReviewRequest';
|
|
427
450
|
export * from './UpdateSiteNotificationRequest';
|
|
428
451
|
export * from './UpdateSiteRequest';
|
|
429
452
|
export * from './UpdateStoreRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,8 @@ __exportStar(require("./AddressFrontendResource"), exports);
|
|
|
20
20
|
__exportStar(require("./AddressFrontendResourceArrayResponse"), exports);
|
|
21
21
|
__exportStar(require("./AddressResource"), exports);
|
|
22
22
|
__exportStar(require("./AddressResourceArrayResponse"), exports);
|
|
23
|
+
__exportStar(require("./AdminUserLiteResource"), exports);
|
|
24
|
+
__exportStar(require("./AdminUserLiteResourceArrayResponse"), exports);
|
|
23
25
|
__exportStar(require("./AssetFileForUploadResource"), exports);
|
|
24
26
|
__exportStar(require("./AssetFileForUploadResourceArrayResponse"), exports);
|
|
25
27
|
__exportStar(require("./AssetFrontendResource"), exports);
|
|
@@ -67,6 +69,10 @@ __exportStar(require("./CategoryFrontendResourceArrayResponse"), exports);
|
|
|
67
69
|
__exportStar(require("./CategoryWithChildrenFrontendResource"), exports);
|
|
68
70
|
__exportStar(require("./CategoryWithChildrenFrontendResourceArrayResponse"), exports);
|
|
69
71
|
__exportStar(require("./CouponDiscountType"), exports);
|
|
72
|
+
__exportStar(require("./CustomerLiteResource"), exports);
|
|
73
|
+
__exportStar(require("./CustomerLiteResourceArrayResponse"), exports);
|
|
74
|
+
__exportStar(require("./CustomerReviewableItemFrontendResource"), exports);
|
|
75
|
+
__exportStar(require("./CustomerReviewableItemFrontendResourceArrayResponse"), exports);
|
|
70
76
|
__exportStar(require("./DefinitionListResource"), exports);
|
|
71
77
|
__exportStar(require("./DefinitionListResourceArrayResponse"), exports);
|
|
72
78
|
__exportStar(require("./DefinitionResource"), exports);
|
|
@@ -144,6 +150,7 @@ __exportStar(require("./IndexProductRegistrationRequest"), exports);
|
|
|
144
150
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
145
151
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
146
152
|
__exportStar(require("./IndexRedirectRequest"), exports);
|
|
153
|
+
__exportStar(require("./IndexReviewRequest"), exports);
|
|
147
154
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
148
155
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
149
156
|
__exportStar(require("./IndexStoreRequest"), exports);
|
|
@@ -193,6 +200,7 @@ __exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"),
|
|
|
193
200
|
__exportStar(require("./PaginatedAttributeResourceResponse"), exports);
|
|
194
201
|
__exportStar(require("./PaginatedAttributeValueResourceResponse"), exports);
|
|
195
202
|
__exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
|
|
203
|
+
__exportStar(require("./PaginatedCustomerReviewableItemFrontendResourceResponse"), exports);
|
|
196
204
|
__exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
|
|
197
205
|
__exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
|
|
198
206
|
__exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
@@ -228,6 +236,9 @@ __exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
|
228
236
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
229
237
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
230
238
|
__exportStar(require("./PaginatedRedirectListResourceResponse"), exports);
|
|
239
|
+
__exportStar(require("./PaginatedReviewListResourceResponse"), exports);
|
|
240
|
+
__exportStar(require("./PaginatedReviewLiteResourceResponse"), exports);
|
|
241
|
+
__exportStar(require("./PaginatedReviewResourceResponse"), exports);
|
|
231
242
|
__exportStar(require("./PaginatedSiteListResourceResponse"), exports);
|
|
232
243
|
__exportStar(require("./PaginatedSiteLiteResourceResponse"), exports);
|
|
233
244
|
__exportStar(require("./PaginatedSiteNotificationListResourceResponse"), exports);
|
|
@@ -322,6 +333,8 @@ __exportStar(require("./ProductRegistrationResource"), exports);
|
|
|
322
333
|
__exportStar(require("./ProductRegistrationResourceArrayResponse"), exports);
|
|
323
334
|
__exportStar(require("./ProductResource"), exports);
|
|
324
335
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
336
|
+
__exportStar(require("./ProductReviewsResource"), exports);
|
|
337
|
+
__exportStar(require("./ProductReviewsResourceArrayResponse"), exports);
|
|
325
338
|
__exportStar(require("./ProductSearchResponseResource"), exports);
|
|
326
339
|
__exportStar(require("./ProductSearchResponseResourceArrayResponse"), exports);
|
|
327
340
|
__exportStar(require("./ProductSearchResponseResourceMeta"), exports);
|
|
@@ -339,6 +352,14 @@ __exportStar(require("./RedirectFrontendResource"), exports);
|
|
|
339
352
|
__exportStar(require("./RedirectFrontendResourceArrayResponse"), exports);
|
|
340
353
|
__exportStar(require("./RedirectListResource"), exports);
|
|
341
354
|
__exportStar(require("./RedirectListResourceArrayResponse"), exports);
|
|
355
|
+
__exportStar(require("./ReviewListResource"), exports);
|
|
356
|
+
__exportStar(require("./ReviewListResourceArrayResponse"), exports);
|
|
357
|
+
__exportStar(require("./ReviewLiteResource"), exports);
|
|
358
|
+
__exportStar(require("./ReviewLiteResourceArrayResponse"), exports);
|
|
359
|
+
__exportStar(require("./ReviewPublicResource"), exports);
|
|
360
|
+
__exportStar(require("./ReviewPublicResourceArrayResponse"), exports);
|
|
361
|
+
__exportStar(require("./ReviewResource"), exports);
|
|
362
|
+
__exportStar(require("./ReviewResourceArrayResponse"), exports);
|
|
342
363
|
__exportStar(require("./SEOResource"), exports);
|
|
343
364
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
344
365
|
__exportStar(require("./SearchLinkablesMenuItemRequest"), exports);
|
|
@@ -392,6 +413,7 @@ __exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
|
392
413
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
393
414
|
__exportStar(require("./StoreResource"), exports);
|
|
394
415
|
__exportStar(require("./StoreResourceArrayResponse"), exports);
|
|
416
|
+
__exportStar(require("./StoreReviewRequest"), exports);
|
|
395
417
|
__exportStar(require("./StoreSiteNotificationRequest"), exports);
|
|
396
418
|
__exportStar(require("./StoreSpecialDateFrontendResource"), exports);
|
|
397
419
|
__exportStar(require("./StoreSpecialDateFrontendResourceArrayResponse"), exports);
|
|
@@ -442,6 +464,7 @@ __exportStar(require("./UpdateProductRangeRequest"), exports);
|
|
|
442
464
|
__exportStar(require("./UpdateProductRangeRequestAttributesInner"), exports);
|
|
443
465
|
__exportStar(require("./UpdateProductRequest"), exports);
|
|
444
466
|
__exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
467
|
+
__exportStar(require("./UpdateReviewRequest"), exports);
|
|
445
468
|
__exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
446
469
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
447
470
|
__exportStar(require("./UpdateStoreRequest"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# AdminUserLiteResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`firstName` | string
|
|
11
|
+
`lastName` | string
|
|
12
|
+
`email` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { AdminUserLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"firstName": null,
|
|
23
|
+
"lastName": null,
|
|
24
|
+
"email": null,
|
|
25
|
+
} satisfies AdminUserLiteResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as AdminUserLiteResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AdminUserLiteResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<AdminUserLiteResource>](AdminUserLiteResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AdminUserLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies AdminUserLiteResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as AdminUserLiteResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerLiteResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`firstName` | string
|
|
11
|
+
`lastName` | string
|
|
12
|
+
`email` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { CustomerLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"firstName": null,
|
|
23
|
+
"lastName": null,
|
|
24
|
+
"email": null,
|
|
25
|
+
} satisfies CustomerLiteResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as CustomerLiteResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerLiteResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CustomerLiteResource>](CustomerLiteResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CustomerLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CustomerLiteResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as CustomerLiteResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerReviewableItemFrontendResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`invoiceId` | number
|
|
10
|
+
`price` | number
|
|
11
|
+
`product` | Array<number>
|
|
12
|
+
`thumbnail` | Array<number>
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { CustomerReviewableItemFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"invoiceId": null,
|
|
22
|
+
"price": null,
|
|
23
|
+
"product": null,
|
|
24
|
+
"thumbnail": null,
|
|
25
|
+
} satisfies CustomerReviewableItemFrontendResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as CustomerReviewableItemFrontendResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CustomerReviewableItemFrontendResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<CustomerReviewableItemFrontendResource>](CustomerReviewableItemFrontendResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CustomerReviewableItemFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies CustomerReviewableItemFrontendResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as CustomerReviewableItemFrontendResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|