@lssm/example.marketplace 0.0.0-canary-20251219202229 → 0.0.0-canary-20251220015515
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 +1 -0
- package/dist/entities/index.d.ts +296 -296
- package/dist/entities/order.d.ts +78 -78
- package/dist/entities/payout.d.ts +65 -65
- package/dist/entities/product.d.ts +70 -70
- package/dist/entities/review.d.ts +56 -56
- package/dist/entities/store.d.ts +41 -41
- package/dist/libs/contracts/dist/capabilities/openbanking.js.map +1 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js.map +1 -1
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/meta.docs.js.map +1 -1
- package/dist/libs/contracts/dist/docs/presentations.js.map +1 -1
- package/dist/libs/contracts/dist/docs/registry.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +1 -1
- package/dist/libs/contracts/dist/events.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -1
- package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/contracts/dist/ownership.js +1 -0
- package/dist/libs/contracts/dist/ownership.js.map +1 -1
- package/dist/libs/contracts/dist/presentations.v2.js.map +1 -1
- package/dist/libs/contracts/dist/regenerator/service.js.map +1 -1
- package/dist/libs/contracts/dist/schema/dist/index.js.map +1 -1
- package/dist/libs/contracts/dist/spec.js.map +1 -1
- package/dist/order/order.contracts.d.ts +90 -90
- package/dist/order/order.enum.d.ts +2 -2
- package/dist/order/order.event.d.ts +38 -38
- package/dist/payout/payout.contracts.d.ts +24 -24
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.event.d.ts +20 -20
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/product/product.schema.d.ts.map +1 -1
- package/dist/review/review.contracts.d.ts +58 -58
- package/dist/review/review.contracts.d.ts.map +1 -1
- package/dist/review/review.event.d.ts +15 -15
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/store/store.contracts.d.ts +33 -33
- package/dist/store/store.enum.d.ts +2 -2
- package/dist/store/store.event.d.ts +14 -14
- package/package.json +20 -14
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema968 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts16 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/review/review.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a product/store review.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateReviewContract: _lssm_lib_contracts16.ContractSpec<
|
|
8
|
+
declare const CreateReviewContract: _lssm_lib_contracts16.ContractSpec<_lssm_lib_schema968.SchemaModel<{
|
|
9
9
|
productId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
11
11
|
isOptional: true;
|
|
12
12
|
};
|
|
13
13
|
storeId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
orderId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
rating: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
title: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
content: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema968.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
productId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
40
40
|
isOptional: true;
|
|
41
41
|
};
|
|
42
42
|
storeId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
authorId: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
rating: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
title: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
content: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
status: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema968.EnumType<[string, string, string, string]>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
isVerifiedPurchase: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema968.FieldType<boolean, boolean>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
helpfulCount: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
hasResponse: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema968.FieldType<boolean, boolean>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
createdAt: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema968.FieldType<Date, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
}>, {
|
|
83
83
|
name: string;
|
|
84
84
|
version: number;
|
|
85
85
|
when: string;
|
|
86
|
-
payload:
|
|
86
|
+
payload: _lssm_lib_schema968.SchemaModel<{
|
|
87
87
|
id: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
productId: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
storeId: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
authorId: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
rating: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
title: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
content: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
status: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema968.EnumType<[string, string, string, string]>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
isVerifiedPurchase: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema968.FieldType<boolean, boolean>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
helpfulCount: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
hasResponse: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema968.FieldType<boolean, boolean>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
createdAt: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema968.FieldType<Date, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
}>;
|
|
@@ -137,82 +137,82 @@ declare const CreateReviewContract: _lssm_lib_contracts16.ContractSpec<_lssm_lib
|
|
|
137
137
|
/**
|
|
138
138
|
* List reviews with filters.
|
|
139
139
|
*/
|
|
140
|
-
declare const ListReviewsContract: _lssm_lib_contracts16.ContractSpec<
|
|
140
|
+
declare const ListReviewsContract: _lssm_lib_contracts16.ContractSpec<_lssm_lib_schema968.SchemaModel<{
|
|
141
141
|
productId: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
143
143
|
isOptional: true;
|
|
144
144
|
};
|
|
145
145
|
storeId: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
149
|
status: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema968.EnumType<[string, string, string, string]>;
|
|
151
151
|
isOptional: true;
|
|
152
152
|
};
|
|
153
153
|
minRating: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
limit: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
159
159
|
isOptional: true;
|
|
160
160
|
defaultValue: number;
|
|
161
161
|
};
|
|
162
162
|
offset: {
|
|
163
|
-
type:
|
|
163
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
164
164
|
isOptional: true;
|
|
165
165
|
defaultValue: number;
|
|
166
166
|
};
|
|
167
|
-
}>,
|
|
167
|
+
}>, _lssm_lib_schema968.SchemaModel<{
|
|
168
168
|
reviews: {
|
|
169
|
-
type:
|
|
169
|
+
type: _lssm_lib_schema968.SchemaModel<{
|
|
170
170
|
id: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
productId: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
176
176
|
isOptional: true;
|
|
177
177
|
};
|
|
178
178
|
storeId: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
180
180
|
isOptional: true;
|
|
181
181
|
};
|
|
182
182
|
authorId: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
184
184
|
isOptional: false;
|
|
185
185
|
};
|
|
186
186
|
rating: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
title: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
content: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
status: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema968.EnumType<[string, string, string, string]>;
|
|
200
200
|
isOptional: false;
|
|
201
201
|
};
|
|
202
202
|
isVerifiedPurchase: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema968.FieldType<boolean, boolean>;
|
|
204
204
|
isOptional: false;
|
|
205
205
|
};
|
|
206
206
|
helpfulCount: {
|
|
207
|
-
type:
|
|
207
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
208
208
|
isOptional: false;
|
|
209
209
|
};
|
|
210
210
|
hasResponse: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema968.FieldType<boolean, boolean>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
createdAt: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema968.FieldType<Date, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
}>;
|
|
@@ -220,15 +220,15 @@ declare const ListReviewsContract: _lssm_lib_contracts16.ContractSpec<_lssm_lib_
|
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
total: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
224
224
|
isOptional: false;
|
|
225
225
|
};
|
|
226
226
|
averageRating: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
228
228
|
isOptional: false;
|
|
229
229
|
};
|
|
230
230
|
ratingDistribution: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema968.FieldType<unknown, unknown>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.contracts.d.ts","names":[],"sources":["../../src/review/review.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAaa,4CAAoB,
|
|
1
|
+
{"version":3,"file":"review.contracts.d.ts","names":[],"sources":["../../src/review/review.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAaa,4CAAoB,iCAAA;EAApB,SAAA,EAAA;IAwBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAxB+B,OAAA,EAAA;;;;;;;;;;;;;;;;;;UAAA,mBAAA,CAAA;;;;;;;;;;;EAAA,QAAA,EAAA;IA6BpB,IAAA,+BAaX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IAb8B,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;EAAA,WAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAnB,2CAAmB,iCAAA;;UAa9B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAb8B,mBAAA,CAAA"}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1137 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts19 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/review/review.event.d.ts
|
|
5
|
-
declare const ReviewCreatedEvent:
|
|
5
|
+
declare const ReviewCreatedEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema1137.SchemaModel<{
|
|
6
6
|
reviewId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema1137.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
productId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema1137.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
storeId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema1137.FieldType<string, string>;
|
|
16
16
|
isOptional: true;
|
|
17
17
|
};
|
|
18
18
|
authorId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema1137.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
rating: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema1137.FieldType<number, number>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
isVerifiedPurchase: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema1137.FieldType<boolean, boolean>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
timestamp: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema1137.FieldType<Date, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
}>>;
|
|
35
|
-
declare const ReviewRespondedEvent:
|
|
35
|
+
declare const ReviewRespondedEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema1137.SchemaModel<{
|
|
36
36
|
reviewId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema1137.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
responseId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema1137.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
authorId: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema1137.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
timestamp: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema1137.FieldType<Date, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
}>>;
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema659 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/review/review.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A customer review.
|
|
6
6
|
*/
|
|
7
|
-
declare const ReviewModel:
|
|
7
|
+
declare const ReviewModel: _lssm_lib_schema659.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
productId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
14
14
|
isOptional: true;
|
|
15
15
|
};
|
|
16
16
|
storeId: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
authorId: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
rating: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
title: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
content: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
status: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema659.EnumType<[string, string, string, string]>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
isVerifiedPurchase: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema659.FieldType<boolean, boolean>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
helpfulCount: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
hasResponse: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema659.FieldType<boolean, boolean>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
createdAt: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema659.FieldType<Date, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
}>;
|
|
57
57
|
/**
|
|
58
58
|
* Input for creating a review.
|
|
59
59
|
*/
|
|
60
|
-
declare const CreateReviewInputModel:
|
|
60
|
+
declare const CreateReviewInputModel: _lssm_lib_schema659.SchemaModel<{
|
|
61
61
|
productId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
storeId: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
67
67
|
isOptional: true;
|
|
68
68
|
};
|
|
69
69
|
orderId: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
rating: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
title: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
content: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
}>;
|
|
86
86
|
/**
|
|
87
87
|
* Input for listing reviews.
|
|
88
88
|
*/
|
|
89
|
-
declare const ListReviewsInputModel:
|
|
89
|
+
declare const ListReviewsInputModel: _lssm_lib_schema659.SchemaModel<{
|
|
90
90
|
productId: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
92
92
|
isOptional: true;
|
|
93
93
|
};
|
|
94
94
|
storeId: {
|
|
95
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
96
96
|
isOptional: true;
|
|
97
97
|
};
|
|
98
98
|
status: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema659.EnumType<[string, string, string, string]>;
|
|
100
100
|
isOptional: true;
|
|
101
101
|
};
|
|
102
102
|
minRating: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
104
104
|
isOptional: true;
|
|
105
105
|
};
|
|
106
106
|
limit: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
108
108
|
isOptional: true;
|
|
109
109
|
defaultValue: number;
|
|
110
110
|
};
|
|
111
111
|
offset: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
defaultValue: number;
|
|
115
115
|
};
|
|
@@ -117,55 +117,55 @@ declare const ListReviewsInputModel: _lssm_lib_schema135.SchemaModel<{
|
|
|
117
117
|
/**
|
|
118
118
|
* Output for listing reviews.
|
|
119
119
|
*/
|
|
120
|
-
declare const ListReviewsOutputModel:
|
|
120
|
+
declare const ListReviewsOutputModel: _lssm_lib_schema659.SchemaModel<{
|
|
121
121
|
reviews: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema659.SchemaModel<{
|
|
123
123
|
id: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
productId: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
storeId: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
authorId: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
rating: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
title: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
145
145
|
isOptional: true;
|
|
146
146
|
};
|
|
147
147
|
content: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema659.FieldType<string, string>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
status: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema659.EnumType<[string, string, string, string]>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
isVerifiedPurchase: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema659.FieldType<boolean, boolean>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
helpfulCount: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
hasResponse: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema659.FieldType<boolean, boolean>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
createdAt: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema659.FieldType<Date, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
@@ -173,15 +173,15 @@ declare const ListReviewsOutputModel: _lssm_lib_schema135.SchemaModel<{
|
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
total: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
averageRating: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema659.FieldType<number, number>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
ratingDistribution: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema659.FieldType<unknown, unknown>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
187
|
}>;
|