@lssm/example.marketplace 0.0.0-canary-20251206160926 → 0.0.0-canary-20251206181705
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/dist/contracts/index.d.ts +454 -454
- 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/events.d.ts +192 -192
- package/dist/index.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,268 +1,268 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema560 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/index.d.ts
|
|
5
|
-
declare const StoreModel:
|
|
5
|
+
declare const StoreModel: _lssm_lib_schema560.SchemaModel<{
|
|
6
6
|
id: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
name: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
slug: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
description: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
status: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
ownerId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
logoFileId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
isVerified: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
totalProducts: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
averageRating: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
createdAt: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
}>;
|
|
51
|
-
declare const CreateStoreInputModel:
|
|
51
|
+
declare const CreateStoreInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
52
52
|
name: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
slug: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
description: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
62
62
|
isOptional: true;
|
|
63
63
|
};
|
|
64
64
|
email: {
|
|
65
|
-
type:
|
|
65
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
66
66
|
isOptional: true;
|
|
67
67
|
};
|
|
68
68
|
country: {
|
|
69
|
-
type:
|
|
69
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
70
70
|
isOptional: true;
|
|
71
71
|
};
|
|
72
72
|
currency: {
|
|
73
|
-
type:
|
|
73
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
74
74
|
isOptional: true;
|
|
75
75
|
};
|
|
76
76
|
}>;
|
|
77
|
-
declare const ProductModel:
|
|
77
|
+
declare const ProductModel: _lssm_lib_schema560.SchemaModel<{
|
|
78
78
|
id: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
storeId: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
name: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
slug: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
description: {
|
|
95
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
96
96
|
isOptional: true;
|
|
97
97
|
};
|
|
98
98
|
status: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string]>;
|
|
100
100
|
isOptional: false;
|
|
101
101
|
};
|
|
102
102
|
price: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
currency: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
quantity: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
categoryId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
116
116
|
isOptional: true;
|
|
117
117
|
};
|
|
118
118
|
primaryImageId: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
120
120
|
isOptional: true;
|
|
121
121
|
};
|
|
122
122
|
averageRating: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
totalSold: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
createdAt: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
}>;
|
|
135
|
-
declare const CreateProductInputModel:
|
|
135
|
+
declare const CreateProductInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
136
136
|
storeId: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
name: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
slug: {
|
|
145
|
-
type:
|
|
145
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
146
146
|
isOptional: false;
|
|
147
147
|
};
|
|
148
148
|
description: {
|
|
149
|
-
type:
|
|
149
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
150
150
|
isOptional: true;
|
|
151
151
|
};
|
|
152
152
|
price: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
currency: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
158
158
|
isOptional: true;
|
|
159
159
|
};
|
|
160
160
|
quantity: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
162
162
|
isOptional: true;
|
|
163
163
|
};
|
|
164
164
|
categoryId: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
166
166
|
isOptional: true;
|
|
167
167
|
};
|
|
168
168
|
sku: {
|
|
169
|
-
type:
|
|
169
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
170
170
|
isOptional: true;
|
|
171
171
|
};
|
|
172
172
|
}>;
|
|
173
|
-
declare const ListProductsInputModel:
|
|
173
|
+
declare const ListProductsInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
174
174
|
storeId: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
176
176
|
isOptional: true;
|
|
177
177
|
};
|
|
178
178
|
categoryId: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
180
180
|
isOptional: true;
|
|
181
181
|
};
|
|
182
182
|
status: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string]>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
search: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
minPrice: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
maxPrice: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
limit: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
defaultValue: number;
|
|
202
202
|
};
|
|
203
203
|
offset: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
defaultValue: number;
|
|
207
207
|
};
|
|
208
208
|
}>;
|
|
209
|
-
declare const ListProductsOutputModel:
|
|
209
|
+
declare const ListProductsOutputModel: _lssm_lib_schema560.SchemaModel<{
|
|
210
210
|
products: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
212
212
|
id: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
214
214
|
isOptional: false;
|
|
215
215
|
};
|
|
216
216
|
storeId: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
218
218
|
isOptional: false;
|
|
219
219
|
};
|
|
220
220
|
name: {
|
|
221
|
-
type:
|
|
221
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
222
222
|
isOptional: false;
|
|
223
223
|
};
|
|
224
224
|
slug: {
|
|
225
|
-
type:
|
|
225
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
226
226
|
isOptional: false;
|
|
227
227
|
};
|
|
228
228
|
description: {
|
|
229
|
-
type:
|
|
229
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
230
230
|
isOptional: true;
|
|
231
231
|
};
|
|
232
232
|
status: {
|
|
233
|
-
type:
|
|
233
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string]>;
|
|
234
234
|
isOptional: false;
|
|
235
235
|
};
|
|
236
236
|
price: {
|
|
237
|
-
type:
|
|
237
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
238
238
|
isOptional: false;
|
|
239
239
|
};
|
|
240
240
|
currency: {
|
|
241
|
-
type:
|
|
241
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
242
242
|
isOptional: false;
|
|
243
243
|
};
|
|
244
244
|
quantity: {
|
|
245
|
-
type:
|
|
245
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
246
246
|
isOptional: false;
|
|
247
247
|
};
|
|
248
248
|
categoryId: {
|
|
249
|
-
type:
|
|
249
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
250
250
|
isOptional: true;
|
|
251
251
|
};
|
|
252
252
|
primaryImageId: {
|
|
253
|
-
type:
|
|
253
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
254
254
|
isOptional: true;
|
|
255
255
|
};
|
|
256
256
|
averageRating: {
|
|
257
|
-
type:
|
|
257
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
258
258
|
isOptional: false;
|
|
259
259
|
};
|
|
260
260
|
totalSold: {
|
|
261
|
-
type:
|
|
261
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
262
262
|
isOptional: false;
|
|
263
263
|
};
|
|
264
264
|
createdAt: {
|
|
265
|
-
type:
|
|
265
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
266
266
|
isOptional: false;
|
|
267
267
|
};
|
|
268
268
|
}>;
|
|
@@ -270,101 +270,101 @@ declare const ListProductsOutputModel: _lssm_lib_schema189.SchemaModel<{
|
|
|
270
270
|
isOptional: false;
|
|
271
271
|
};
|
|
272
272
|
total: {
|
|
273
|
-
type:
|
|
273
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
274
274
|
isOptional: false;
|
|
275
275
|
};
|
|
276
276
|
}>;
|
|
277
|
-
declare const OrderItemModel:
|
|
277
|
+
declare const OrderItemModel: _lssm_lib_schema560.SchemaModel<{
|
|
278
278
|
id: {
|
|
279
|
-
type:
|
|
279
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
280
280
|
isOptional: false;
|
|
281
281
|
};
|
|
282
282
|
productId: {
|
|
283
|
-
type:
|
|
283
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
284
284
|
isOptional: false;
|
|
285
285
|
};
|
|
286
286
|
productName: {
|
|
287
|
-
type:
|
|
287
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
288
288
|
isOptional: false;
|
|
289
289
|
};
|
|
290
290
|
unitPrice: {
|
|
291
|
-
type:
|
|
291
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
292
292
|
isOptional: false;
|
|
293
293
|
};
|
|
294
294
|
quantity: {
|
|
295
|
-
type:
|
|
295
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
296
296
|
isOptional: false;
|
|
297
297
|
};
|
|
298
298
|
subtotal: {
|
|
299
|
-
type:
|
|
299
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
300
300
|
isOptional: false;
|
|
301
301
|
};
|
|
302
302
|
}>;
|
|
303
|
-
declare const OrderModel:
|
|
303
|
+
declare const OrderModel: _lssm_lib_schema560.SchemaModel<{
|
|
304
304
|
id: {
|
|
305
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
306
306
|
isOptional: false;
|
|
307
307
|
};
|
|
308
308
|
orderNumber: {
|
|
309
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
310
310
|
isOptional: false;
|
|
311
311
|
};
|
|
312
312
|
buyerId: {
|
|
313
|
-
type:
|
|
313
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
314
314
|
isOptional: false;
|
|
315
315
|
};
|
|
316
316
|
storeId: {
|
|
317
|
-
type:
|
|
317
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
318
318
|
isOptional: false;
|
|
319
319
|
};
|
|
320
320
|
status: {
|
|
321
|
-
type:
|
|
321
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
322
322
|
isOptional: false;
|
|
323
323
|
};
|
|
324
324
|
subtotal: {
|
|
325
|
-
type:
|
|
325
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
326
326
|
isOptional: false;
|
|
327
327
|
};
|
|
328
328
|
shippingTotal: {
|
|
329
|
-
type:
|
|
329
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
330
330
|
isOptional: false;
|
|
331
331
|
};
|
|
332
332
|
taxTotal: {
|
|
333
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
334
334
|
isOptional: false;
|
|
335
335
|
};
|
|
336
336
|
total: {
|
|
337
|
-
type:
|
|
337
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
338
338
|
isOptional: false;
|
|
339
339
|
};
|
|
340
340
|
currency: {
|
|
341
|
-
type:
|
|
341
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
342
342
|
isOptional: false;
|
|
343
343
|
};
|
|
344
344
|
items: {
|
|
345
|
-
type:
|
|
345
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
346
346
|
id: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
348
348
|
isOptional: false;
|
|
349
349
|
};
|
|
350
350
|
productId: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
352
352
|
isOptional: false;
|
|
353
353
|
};
|
|
354
354
|
productName: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
356
356
|
isOptional: false;
|
|
357
357
|
};
|
|
358
358
|
unitPrice: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
360
360
|
isOptional: false;
|
|
361
361
|
};
|
|
362
362
|
quantity: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
364
364
|
isOptional: false;
|
|
365
365
|
};
|
|
366
366
|
subtotal: {
|
|
367
|
-
type:
|
|
367
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
}>;
|
|
@@ -372,182 +372,182 @@ declare const OrderModel: _lssm_lib_schema189.SchemaModel<{
|
|
|
372
372
|
isOptional: true;
|
|
373
373
|
};
|
|
374
374
|
createdAt: {
|
|
375
|
-
type:
|
|
375
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
376
376
|
isOptional: false;
|
|
377
377
|
};
|
|
378
378
|
}>;
|
|
379
|
-
declare const CreateOrderInputModel:
|
|
379
|
+
declare const CreateOrderInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
380
380
|
storeId: {
|
|
381
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
382
382
|
isOptional: false;
|
|
383
383
|
};
|
|
384
384
|
items: {
|
|
385
|
-
type:
|
|
385
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
386
386
|
isOptional: false;
|
|
387
387
|
description: string;
|
|
388
388
|
};
|
|
389
389
|
shippingAddress: {
|
|
390
|
-
type:
|
|
390
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
391
391
|
isOptional: true;
|
|
392
392
|
};
|
|
393
393
|
billingAddress: {
|
|
394
|
-
type:
|
|
394
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
395
395
|
isOptional: true;
|
|
396
396
|
};
|
|
397
397
|
buyerNote: {
|
|
398
|
-
type:
|
|
398
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
399
399
|
isOptional: true;
|
|
400
400
|
};
|
|
401
401
|
}>;
|
|
402
|
-
declare const UpdateOrderStatusInputModel:
|
|
402
|
+
declare const UpdateOrderStatusInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
403
403
|
orderId: {
|
|
404
|
-
type:
|
|
404
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
405
405
|
isOptional: false;
|
|
406
406
|
};
|
|
407
407
|
status: {
|
|
408
|
-
type:
|
|
408
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
409
409
|
isOptional: false;
|
|
410
410
|
};
|
|
411
411
|
trackingNumber: {
|
|
412
|
-
type:
|
|
412
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
413
413
|
isOptional: true;
|
|
414
414
|
};
|
|
415
415
|
trackingUrl: {
|
|
416
|
-
type:
|
|
416
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
417
417
|
isOptional: true;
|
|
418
418
|
};
|
|
419
419
|
note: {
|
|
420
|
-
type:
|
|
420
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
421
421
|
isOptional: true;
|
|
422
422
|
};
|
|
423
423
|
}>;
|
|
424
|
-
declare const PayoutModel:
|
|
424
|
+
declare const PayoutModel: _lssm_lib_schema560.SchemaModel<{
|
|
425
425
|
id: {
|
|
426
|
-
type:
|
|
426
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
427
427
|
isOptional: false;
|
|
428
428
|
};
|
|
429
429
|
payoutNumber: {
|
|
430
|
-
type:
|
|
430
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
431
431
|
isOptional: false;
|
|
432
432
|
};
|
|
433
433
|
storeId: {
|
|
434
|
-
type:
|
|
434
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
435
435
|
isOptional: false;
|
|
436
436
|
};
|
|
437
437
|
status: {
|
|
438
|
-
type:
|
|
438
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string]>;
|
|
439
439
|
isOptional: false;
|
|
440
440
|
};
|
|
441
441
|
grossAmount: {
|
|
442
|
-
type:
|
|
442
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
443
443
|
isOptional: false;
|
|
444
444
|
};
|
|
445
445
|
platformFees: {
|
|
446
|
-
type:
|
|
446
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
447
447
|
isOptional: false;
|
|
448
448
|
};
|
|
449
449
|
netAmount: {
|
|
450
|
-
type:
|
|
450
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
451
451
|
isOptional: false;
|
|
452
452
|
};
|
|
453
453
|
currency: {
|
|
454
|
-
type:
|
|
454
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
455
455
|
isOptional: false;
|
|
456
456
|
};
|
|
457
457
|
periodStart: {
|
|
458
|
-
type:
|
|
458
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
459
459
|
isOptional: false;
|
|
460
460
|
};
|
|
461
461
|
periodEnd: {
|
|
462
|
-
type:
|
|
462
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
463
463
|
isOptional: false;
|
|
464
464
|
};
|
|
465
465
|
orderCount: {
|
|
466
|
-
type:
|
|
466
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
467
467
|
isOptional: false;
|
|
468
468
|
};
|
|
469
469
|
createdAt: {
|
|
470
|
-
type:
|
|
470
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
471
471
|
isOptional: false;
|
|
472
472
|
};
|
|
473
473
|
paidAt: {
|
|
474
|
-
type:
|
|
474
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
475
475
|
isOptional: true;
|
|
476
476
|
};
|
|
477
477
|
}>;
|
|
478
|
-
declare const ListPayoutsInputModel:
|
|
478
|
+
declare const ListPayoutsInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
479
479
|
storeId: {
|
|
480
|
-
type:
|
|
480
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
481
481
|
isOptional: false;
|
|
482
482
|
};
|
|
483
483
|
status: {
|
|
484
|
-
type:
|
|
484
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string]>;
|
|
485
485
|
isOptional: true;
|
|
486
486
|
};
|
|
487
487
|
limit: {
|
|
488
|
-
type:
|
|
488
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
489
489
|
isOptional: true;
|
|
490
490
|
defaultValue: number;
|
|
491
491
|
};
|
|
492
492
|
offset: {
|
|
493
|
-
type:
|
|
493
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
494
494
|
isOptional: true;
|
|
495
495
|
defaultValue: number;
|
|
496
496
|
};
|
|
497
497
|
}>;
|
|
498
|
-
declare const ListPayoutsOutputModel:
|
|
498
|
+
declare const ListPayoutsOutputModel: _lssm_lib_schema560.SchemaModel<{
|
|
499
499
|
payouts: {
|
|
500
|
-
type:
|
|
500
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
501
501
|
id: {
|
|
502
|
-
type:
|
|
502
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
503
503
|
isOptional: false;
|
|
504
504
|
};
|
|
505
505
|
payoutNumber: {
|
|
506
|
-
type:
|
|
506
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
507
507
|
isOptional: false;
|
|
508
508
|
};
|
|
509
509
|
storeId: {
|
|
510
|
-
type:
|
|
510
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
511
511
|
isOptional: false;
|
|
512
512
|
};
|
|
513
513
|
status: {
|
|
514
|
-
type:
|
|
514
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string]>;
|
|
515
515
|
isOptional: false;
|
|
516
516
|
};
|
|
517
517
|
grossAmount: {
|
|
518
|
-
type:
|
|
518
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
519
519
|
isOptional: false;
|
|
520
520
|
};
|
|
521
521
|
platformFees: {
|
|
522
|
-
type:
|
|
522
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
523
523
|
isOptional: false;
|
|
524
524
|
};
|
|
525
525
|
netAmount: {
|
|
526
|
-
type:
|
|
526
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
527
527
|
isOptional: false;
|
|
528
528
|
};
|
|
529
529
|
currency: {
|
|
530
|
-
type:
|
|
530
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
531
531
|
isOptional: false;
|
|
532
532
|
};
|
|
533
533
|
periodStart: {
|
|
534
|
-
type:
|
|
534
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
535
535
|
isOptional: false;
|
|
536
536
|
};
|
|
537
537
|
periodEnd: {
|
|
538
|
-
type:
|
|
538
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
539
539
|
isOptional: false;
|
|
540
540
|
};
|
|
541
541
|
orderCount: {
|
|
542
|
-
type:
|
|
542
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
543
543
|
isOptional: false;
|
|
544
544
|
};
|
|
545
545
|
createdAt: {
|
|
546
|
-
type:
|
|
546
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
547
547
|
isOptional: false;
|
|
548
548
|
};
|
|
549
549
|
paidAt: {
|
|
550
|
-
type:
|
|
550
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
551
551
|
isOptional: true;
|
|
552
552
|
};
|
|
553
553
|
}>;
|
|
@@ -555,167 +555,167 @@ declare const ListPayoutsOutputModel: _lssm_lib_schema189.SchemaModel<{
|
|
|
555
555
|
isOptional: false;
|
|
556
556
|
};
|
|
557
557
|
total: {
|
|
558
|
-
type:
|
|
558
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
559
559
|
isOptional: false;
|
|
560
560
|
};
|
|
561
561
|
totalPending: {
|
|
562
|
-
type:
|
|
562
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
563
563
|
isOptional: false;
|
|
564
564
|
};
|
|
565
565
|
}>;
|
|
566
|
-
declare const ReviewModel:
|
|
566
|
+
declare const ReviewModel: _lssm_lib_schema560.SchemaModel<{
|
|
567
567
|
id: {
|
|
568
|
-
type:
|
|
568
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
569
569
|
isOptional: false;
|
|
570
570
|
};
|
|
571
571
|
productId: {
|
|
572
|
-
type:
|
|
572
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
573
573
|
isOptional: true;
|
|
574
574
|
};
|
|
575
575
|
storeId: {
|
|
576
|
-
type:
|
|
576
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
577
577
|
isOptional: true;
|
|
578
578
|
};
|
|
579
579
|
authorId: {
|
|
580
|
-
type:
|
|
580
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
581
581
|
isOptional: false;
|
|
582
582
|
};
|
|
583
583
|
rating: {
|
|
584
|
-
type:
|
|
584
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
585
585
|
isOptional: false;
|
|
586
586
|
};
|
|
587
587
|
title: {
|
|
588
|
-
type:
|
|
588
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
589
589
|
isOptional: true;
|
|
590
590
|
};
|
|
591
591
|
content: {
|
|
592
|
-
type:
|
|
592
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
593
593
|
isOptional: true;
|
|
594
594
|
};
|
|
595
595
|
status: {
|
|
596
|
-
type:
|
|
596
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
597
597
|
isOptional: false;
|
|
598
598
|
};
|
|
599
599
|
isVerifiedPurchase: {
|
|
600
|
-
type:
|
|
600
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
601
601
|
isOptional: false;
|
|
602
602
|
};
|
|
603
603
|
helpfulCount: {
|
|
604
|
-
type:
|
|
604
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
605
605
|
isOptional: false;
|
|
606
606
|
};
|
|
607
607
|
hasResponse: {
|
|
608
|
-
type:
|
|
608
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
609
609
|
isOptional: false;
|
|
610
610
|
};
|
|
611
611
|
createdAt: {
|
|
612
|
-
type:
|
|
612
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
613
613
|
isOptional: false;
|
|
614
614
|
};
|
|
615
615
|
}>;
|
|
616
|
-
declare const CreateReviewInputModel:
|
|
616
|
+
declare const CreateReviewInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
617
617
|
productId: {
|
|
618
|
-
type:
|
|
618
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
619
619
|
isOptional: true;
|
|
620
620
|
};
|
|
621
621
|
storeId: {
|
|
622
|
-
type:
|
|
622
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
623
623
|
isOptional: true;
|
|
624
624
|
};
|
|
625
625
|
orderId: {
|
|
626
|
-
type:
|
|
626
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
627
627
|
isOptional: true;
|
|
628
628
|
};
|
|
629
629
|
rating: {
|
|
630
|
-
type:
|
|
630
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
631
631
|
isOptional: false;
|
|
632
632
|
};
|
|
633
633
|
title: {
|
|
634
|
-
type:
|
|
634
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
635
635
|
isOptional: true;
|
|
636
636
|
};
|
|
637
637
|
content: {
|
|
638
|
-
type:
|
|
638
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
639
639
|
isOptional: true;
|
|
640
640
|
};
|
|
641
641
|
}>;
|
|
642
|
-
declare const ListReviewsInputModel:
|
|
642
|
+
declare const ListReviewsInputModel: _lssm_lib_schema560.SchemaModel<{
|
|
643
643
|
productId: {
|
|
644
|
-
type:
|
|
644
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
645
645
|
isOptional: true;
|
|
646
646
|
};
|
|
647
647
|
storeId: {
|
|
648
|
-
type:
|
|
648
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
649
649
|
isOptional: true;
|
|
650
650
|
};
|
|
651
651
|
status: {
|
|
652
|
-
type:
|
|
652
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
653
653
|
isOptional: true;
|
|
654
654
|
};
|
|
655
655
|
minRating: {
|
|
656
|
-
type:
|
|
656
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
657
657
|
isOptional: true;
|
|
658
658
|
};
|
|
659
659
|
limit: {
|
|
660
|
-
type:
|
|
660
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
661
661
|
isOptional: true;
|
|
662
662
|
defaultValue: number;
|
|
663
663
|
};
|
|
664
664
|
offset: {
|
|
665
|
-
type:
|
|
665
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
666
666
|
isOptional: true;
|
|
667
667
|
defaultValue: number;
|
|
668
668
|
};
|
|
669
669
|
}>;
|
|
670
|
-
declare const ListReviewsOutputModel:
|
|
670
|
+
declare const ListReviewsOutputModel: _lssm_lib_schema560.SchemaModel<{
|
|
671
671
|
reviews: {
|
|
672
|
-
type:
|
|
672
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
673
673
|
id: {
|
|
674
|
-
type:
|
|
674
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
675
675
|
isOptional: false;
|
|
676
676
|
};
|
|
677
677
|
productId: {
|
|
678
|
-
type:
|
|
678
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
679
679
|
isOptional: true;
|
|
680
680
|
};
|
|
681
681
|
storeId: {
|
|
682
|
-
type:
|
|
682
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
683
683
|
isOptional: true;
|
|
684
684
|
};
|
|
685
685
|
authorId: {
|
|
686
|
-
type:
|
|
686
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
687
687
|
isOptional: false;
|
|
688
688
|
};
|
|
689
689
|
rating: {
|
|
690
|
-
type:
|
|
690
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
691
691
|
isOptional: false;
|
|
692
692
|
};
|
|
693
693
|
title: {
|
|
694
|
-
type:
|
|
694
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
695
695
|
isOptional: true;
|
|
696
696
|
};
|
|
697
697
|
content: {
|
|
698
|
-
type:
|
|
698
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
699
699
|
isOptional: true;
|
|
700
700
|
};
|
|
701
701
|
status: {
|
|
702
|
-
type:
|
|
702
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
703
703
|
isOptional: false;
|
|
704
704
|
};
|
|
705
705
|
isVerifiedPurchase: {
|
|
706
|
-
type:
|
|
706
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
707
707
|
isOptional: false;
|
|
708
708
|
};
|
|
709
709
|
helpfulCount: {
|
|
710
|
-
type:
|
|
710
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
711
711
|
isOptional: false;
|
|
712
712
|
};
|
|
713
713
|
hasResponse: {
|
|
714
|
-
type:
|
|
714
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
715
715
|
isOptional: false;
|
|
716
716
|
};
|
|
717
717
|
createdAt: {
|
|
718
|
-
type:
|
|
718
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
719
719
|
isOptional: false;
|
|
720
720
|
};
|
|
721
721
|
}>;
|
|
@@ -723,388 +723,388 @@ declare const ListReviewsOutputModel: _lssm_lib_schema189.SchemaModel<{
|
|
|
723
723
|
isOptional: false;
|
|
724
724
|
};
|
|
725
725
|
total: {
|
|
726
|
-
type:
|
|
726
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
727
727
|
isOptional: false;
|
|
728
728
|
};
|
|
729
729
|
averageRating: {
|
|
730
|
-
type:
|
|
730
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
731
731
|
isOptional: false;
|
|
732
732
|
};
|
|
733
733
|
ratingDistribution: {
|
|
734
|
-
type:
|
|
734
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
735
735
|
isOptional: false;
|
|
736
736
|
};
|
|
737
737
|
}>;
|
|
738
|
-
declare const CreateStoreContract:
|
|
738
|
+
declare const CreateStoreContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
739
739
|
name: {
|
|
740
|
-
type:
|
|
740
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
741
741
|
isOptional: false;
|
|
742
742
|
};
|
|
743
743
|
slug: {
|
|
744
|
-
type:
|
|
744
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
745
745
|
isOptional: false;
|
|
746
746
|
};
|
|
747
747
|
description: {
|
|
748
|
-
type:
|
|
748
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
749
749
|
isOptional: true;
|
|
750
750
|
};
|
|
751
751
|
email: {
|
|
752
|
-
type:
|
|
752
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
753
753
|
isOptional: true;
|
|
754
754
|
};
|
|
755
755
|
country: {
|
|
756
|
-
type:
|
|
756
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
757
757
|
isOptional: true;
|
|
758
758
|
};
|
|
759
759
|
currency: {
|
|
760
|
-
type:
|
|
760
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
761
761
|
isOptional: true;
|
|
762
762
|
};
|
|
763
|
-
}>,
|
|
763
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
764
764
|
id: {
|
|
765
|
-
type:
|
|
765
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
766
766
|
isOptional: false;
|
|
767
767
|
};
|
|
768
768
|
name: {
|
|
769
|
-
type:
|
|
769
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
770
770
|
isOptional: false;
|
|
771
771
|
};
|
|
772
772
|
slug: {
|
|
773
|
-
type:
|
|
773
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
774
774
|
isOptional: false;
|
|
775
775
|
};
|
|
776
776
|
description: {
|
|
777
|
-
type:
|
|
777
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
778
778
|
isOptional: true;
|
|
779
779
|
};
|
|
780
780
|
status: {
|
|
781
|
-
type:
|
|
781
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
782
782
|
isOptional: false;
|
|
783
783
|
};
|
|
784
784
|
ownerId: {
|
|
785
|
-
type:
|
|
785
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
786
786
|
isOptional: false;
|
|
787
787
|
};
|
|
788
788
|
logoFileId: {
|
|
789
|
-
type:
|
|
789
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
790
790
|
isOptional: true;
|
|
791
791
|
};
|
|
792
792
|
isVerified: {
|
|
793
|
-
type:
|
|
793
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
794
794
|
isOptional: false;
|
|
795
795
|
};
|
|
796
796
|
totalProducts: {
|
|
797
|
-
type:
|
|
797
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
798
798
|
isOptional: false;
|
|
799
799
|
};
|
|
800
800
|
averageRating: {
|
|
801
|
-
type:
|
|
801
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
802
802
|
isOptional: false;
|
|
803
803
|
};
|
|
804
804
|
createdAt: {
|
|
805
|
-
type:
|
|
805
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
806
806
|
isOptional: false;
|
|
807
807
|
};
|
|
808
808
|
}>, {
|
|
809
809
|
name: string;
|
|
810
810
|
version: number;
|
|
811
811
|
when: string;
|
|
812
|
-
payload:
|
|
812
|
+
payload: _lssm_lib_schema560.SchemaModel<{
|
|
813
813
|
id: {
|
|
814
|
-
type:
|
|
814
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
815
815
|
isOptional: false;
|
|
816
816
|
};
|
|
817
817
|
name: {
|
|
818
|
-
type:
|
|
818
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
819
819
|
isOptional: false;
|
|
820
820
|
};
|
|
821
821
|
slug: {
|
|
822
|
-
type:
|
|
822
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
823
823
|
isOptional: false;
|
|
824
824
|
};
|
|
825
825
|
description: {
|
|
826
|
-
type:
|
|
826
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
827
827
|
isOptional: true;
|
|
828
828
|
};
|
|
829
829
|
status: {
|
|
830
|
-
type:
|
|
830
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
831
831
|
isOptional: false;
|
|
832
832
|
};
|
|
833
833
|
ownerId: {
|
|
834
|
-
type:
|
|
834
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
835
835
|
isOptional: false;
|
|
836
836
|
};
|
|
837
837
|
logoFileId: {
|
|
838
|
-
type:
|
|
838
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
839
839
|
isOptional: true;
|
|
840
840
|
};
|
|
841
841
|
isVerified: {
|
|
842
|
-
type:
|
|
842
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
843
843
|
isOptional: false;
|
|
844
844
|
};
|
|
845
845
|
totalProducts: {
|
|
846
|
-
type:
|
|
846
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
847
847
|
isOptional: false;
|
|
848
848
|
};
|
|
849
849
|
averageRating: {
|
|
850
|
-
type:
|
|
850
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
851
851
|
isOptional: false;
|
|
852
852
|
};
|
|
853
853
|
createdAt: {
|
|
854
|
-
type:
|
|
854
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
855
855
|
isOptional: false;
|
|
856
856
|
};
|
|
857
857
|
}>;
|
|
858
858
|
}[]>;
|
|
859
|
-
declare const CreateProductContract:
|
|
859
|
+
declare const CreateProductContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
860
860
|
storeId: {
|
|
861
|
-
type:
|
|
861
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
862
862
|
isOptional: false;
|
|
863
863
|
};
|
|
864
864
|
name: {
|
|
865
|
-
type:
|
|
865
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
866
866
|
isOptional: false;
|
|
867
867
|
};
|
|
868
868
|
slug: {
|
|
869
|
-
type:
|
|
869
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
870
870
|
isOptional: false;
|
|
871
871
|
};
|
|
872
872
|
description: {
|
|
873
|
-
type:
|
|
873
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
874
874
|
isOptional: true;
|
|
875
875
|
};
|
|
876
876
|
price: {
|
|
877
|
-
type:
|
|
877
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
878
878
|
isOptional: false;
|
|
879
879
|
};
|
|
880
880
|
currency: {
|
|
881
|
-
type:
|
|
881
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
882
882
|
isOptional: true;
|
|
883
883
|
};
|
|
884
884
|
quantity: {
|
|
885
|
-
type:
|
|
885
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
886
886
|
isOptional: true;
|
|
887
887
|
};
|
|
888
888
|
categoryId: {
|
|
889
|
-
type:
|
|
889
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
890
890
|
isOptional: true;
|
|
891
891
|
};
|
|
892
892
|
sku: {
|
|
893
|
-
type:
|
|
893
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
894
894
|
isOptional: true;
|
|
895
895
|
};
|
|
896
|
-
}>,
|
|
896
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
897
897
|
id: {
|
|
898
|
-
type:
|
|
898
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
899
899
|
isOptional: false;
|
|
900
900
|
};
|
|
901
901
|
storeId: {
|
|
902
|
-
type:
|
|
902
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
903
903
|
isOptional: false;
|
|
904
904
|
};
|
|
905
905
|
name: {
|
|
906
|
-
type:
|
|
906
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
907
907
|
isOptional: false;
|
|
908
908
|
};
|
|
909
909
|
slug: {
|
|
910
|
-
type:
|
|
910
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
911
911
|
isOptional: false;
|
|
912
912
|
};
|
|
913
913
|
description: {
|
|
914
|
-
type:
|
|
914
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
915
915
|
isOptional: true;
|
|
916
916
|
};
|
|
917
917
|
status: {
|
|
918
|
-
type:
|
|
918
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string]>;
|
|
919
919
|
isOptional: false;
|
|
920
920
|
};
|
|
921
921
|
price: {
|
|
922
|
-
type:
|
|
922
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
923
923
|
isOptional: false;
|
|
924
924
|
};
|
|
925
925
|
currency: {
|
|
926
|
-
type:
|
|
926
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
927
927
|
isOptional: false;
|
|
928
928
|
};
|
|
929
929
|
quantity: {
|
|
930
|
-
type:
|
|
930
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
931
931
|
isOptional: false;
|
|
932
932
|
};
|
|
933
933
|
categoryId: {
|
|
934
|
-
type:
|
|
934
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
935
935
|
isOptional: true;
|
|
936
936
|
};
|
|
937
937
|
primaryImageId: {
|
|
938
|
-
type:
|
|
938
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
939
939
|
isOptional: true;
|
|
940
940
|
};
|
|
941
941
|
averageRating: {
|
|
942
|
-
type:
|
|
942
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
943
943
|
isOptional: false;
|
|
944
944
|
};
|
|
945
945
|
totalSold: {
|
|
946
|
-
type:
|
|
946
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
947
947
|
isOptional: false;
|
|
948
948
|
};
|
|
949
949
|
createdAt: {
|
|
950
|
-
type:
|
|
950
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
951
951
|
isOptional: false;
|
|
952
952
|
};
|
|
953
953
|
}>, {
|
|
954
954
|
name: string;
|
|
955
955
|
version: number;
|
|
956
956
|
when: string;
|
|
957
|
-
payload:
|
|
957
|
+
payload: _lssm_lib_schema560.SchemaModel<{
|
|
958
958
|
id: {
|
|
959
|
-
type:
|
|
959
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
960
960
|
isOptional: false;
|
|
961
961
|
};
|
|
962
962
|
storeId: {
|
|
963
|
-
type:
|
|
963
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
964
964
|
isOptional: false;
|
|
965
965
|
};
|
|
966
966
|
name: {
|
|
967
|
-
type:
|
|
967
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
968
968
|
isOptional: false;
|
|
969
969
|
};
|
|
970
970
|
slug: {
|
|
971
|
-
type:
|
|
971
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
972
972
|
isOptional: false;
|
|
973
973
|
};
|
|
974
974
|
description: {
|
|
975
|
-
type:
|
|
975
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
976
976
|
isOptional: true;
|
|
977
977
|
};
|
|
978
978
|
status: {
|
|
979
|
-
type:
|
|
979
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string]>;
|
|
980
980
|
isOptional: false;
|
|
981
981
|
};
|
|
982
982
|
price: {
|
|
983
|
-
type:
|
|
983
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
984
984
|
isOptional: false;
|
|
985
985
|
};
|
|
986
986
|
currency: {
|
|
987
|
-
type:
|
|
987
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
988
988
|
isOptional: false;
|
|
989
989
|
};
|
|
990
990
|
quantity: {
|
|
991
|
-
type:
|
|
991
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
992
992
|
isOptional: false;
|
|
993
993
|
};
|
|
994
994
|
categoryId: {
|
|
995
|
-
type:
|
|
995
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
996
996
|
isOptional: true;
|
|
997
997
|
};
|
|
998
998
|
primaryImageId: {
|
|
999
|
-
type:
|
|
999
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1000
1000
|
isOptional: true;
|
|
1001
1001
|
};
|
|
1002
1002
|
averageRating: {
|
|
1003
|
-
type:
|
|
1003
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1004
1004
|
isOptional: false;
|
|
1005
1005
|
};
|
|
1006
1006
|
totalSold: {
|
|
1007
|
-
type:
|
|
1007
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1008
1008
|
isOptional: false;
|
|
1009
1009
|
};
|
|
1010
1010
|
createdAt: {
|
|
1011
|
-
type:
|
|
1011
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1012
1012
|
isOptional: false;
|
|
1013
1013
|
};
|
|
1014
1014
|
}>;
|
|
1015
1015
|
}[]>;
|
|
1016
|
-
declare const ListProductsContract:
|
|
1016
|
+
declare const ListProductsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
1017
1017
|
storeId: {
|
|
1018
|
-
type:
|
|
1018
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1019
1019
|
isOptional: true;
|
|
1020
1020
|
};
|
|
1021
1021
|
categoryId: {
|
|
1022
|
-
type:
|
|
1022
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1023
1023
|
isOptional: true;
|
|
1024
1024
|
};
|
|
1025
1025
|
status: {
|
|
1026
|
-
type:
|
|
1026
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string]>;
|
|
1027
1027
|
isOptional: true;
|
|
1028
1028
|
};
|
|
1029
1029
|
search: {
|
|
1030
|
-
type:
|
|
1030
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1031
1031
|
isOptional: true;
|
|
1032
1032
|
};
|
|
1033
1033
|
minPrice: {
|
|
1034
|
-
type:
|
|
1034
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1035
1035
|
isOptional: true;
|
|
1036
1036
|
};
|
|
1037
1037
|
maxPrice: {
|
|
1038
|
-
type:
|
|
1038
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1039
1039
|
isOptional: true;
|
|
1040
1040
|
};
|
|
1041
1041
|
limit: {
|
|
1042
|
-
type:
|
|
1042
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1043
1043
|
isOptional: true;
|
|
1044
1044
|
defaultValue: number;
|
|
1045
1045
|
};
|
|
1046
1046
|
offset: {
|
|
1047
|
-
type:
|
|
1047
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1048
1048
|
isOptional: true;
|
|
1049
1049
|
defaultValue: number;
|
|
1050
1050
|
};
|
|
1051
|
-
}>,
|
|
1051
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
1052
1052
|
products: {
|
|
1053
|
-
type:
|
|
1053
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
1054
1054
|
id: {
|
|
1055
|
-
type:
|
|
1055
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1056
1056
|
isOptional: false;
|
|
1057
1057
|
};
|
|
1058
1058
|
storeId: {
|
|
1059
|
-
type:
|
|
1059
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1060
1060
|
isOptional: false;
|
|
1061
1061
|
};
|
|
1062
1062
|
name: {
|
|
1063
|
-
type:
|
|
1063
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1064
1064
|
isOptional: false;
|
|
1065
1065
|
};
|
|
1066
1066
|
slug: {
|
|
1067
|
-
type:
|
|
1067
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1068
1068
|
isOptional: false;
|
|
1069
1069
|
};
|
|
1070
1070
|
description: {
|
|
1071
|
-
type:
|
|
1071
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1072
1072
|
isOptional: true;
|
|
1073
1073
|
};
|
|
1074
1074
|
status: {
|
|
1075
|
-
type:
|
|
1075
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string]>;
|
|
1076
1076
|
isOptional: false;
|
|
1077
1077
|
};
|
|
1078
1078
|
price: {
|
|
1079
|
-
type:
|
|
1079
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1080
1080
|
isOptional: false;
|
|
1081
1081
|
};
|
|
1082
1082
|
currency: {
|
|
1083
|
-
type:
|
|
1083
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1084
1084
|
isOptional: false;
|
|
1085
1085
|
};
|
|
1086
1086
|
quantity: {
|
|
1087
|
-
type:
|
|
1087
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1088
1088
|
isOptional: false;
|
|
1089
1089
|
};
|
|
1090
1090
|
categoryId: {
|
|
1091
|
-
type:
|
|
1091
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1092
1092
|
isOptional: true;
|
|
1093
1093
|
};
|
|
1094
1094
|
primaryImageId: {
|
|
1095
|
-
type:
|
|
1095
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1096
1096
|
isOptional: true;
|
|
1097
1097
|
};
|
|
1098
1098
|
averageRating: {
|
|
1099
|
-
type:
|
|
1099
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1100
1100
|
isOptional: false;
|
|
1101
1101
|
};
|
|
1102
1102
|
totalSold: {
|
|
1103
|
-
type:
|
|
1103
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1104
1104
|
isOptional: false;
|
|
1105
1105
|
};
|
|
1106
1106
|
createdAt: {
|
|
1107
|
-
type:
|
|
1107
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1108
1108
|
isOptional: false;
|
|
1109
1109
|
};
|
|
1110
1110
|
}>;
|
|
@@ -1112,97 +1112,97 @@ declare const ListProductsContract: _lssm_lib_contracts27.ContractSpec<_lssm_lib
|
|
|
1112
1112
|
isOptional: false;
|
|
1113
1113
|
};
|
|
1114
1114
|
total: {
|
|
1115
|
-
type:
|
|
1115
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1116
1116
|
isOptional: false;
|
|
1117
1117
|
};
|
|
1118
1118
|
}>, undefined>;
|
|
1119
|
-
declare const CreateOrderContract:
|
|
1119
|
+
declare const CreateOrderContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
1120
1120
|
storeId: {
|
|
1121
|
-
type:
|
|
1121
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1122
1122
|
isOptional: false;
|
|
1123
1123
|
};
|
|
1124
1124
|
items: {
|
|
1125
|
-
type:
|
|
1125
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
1126
1126
|
isOptional: false;
|
|
1127
1127
|
description: string;
|
|
1128
1128
|
};
|
|
1129
1129
|
shippingAddress: {
|
|
1130
|
-
type:
|
|
1130
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
1131
1131
|
isOptional: true;
|
|
1132
1132
|
};
|
|
1133
1133
|
billingAddress: {
|
|
1134
|
-
type:
|
|
1134
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
1135
1135
|
isOptional: true;
|
|
1136
1136
|
};
|
|
1137
1137
|
buyerNote: {
|
|
1138
|
-
type:
|
|
1138
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1139
1139
|
isOptional: true;
|
|
1140
1140
|
};
|
|
1141
|
-
}>,
|
|
1141
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
1142
1142
|
id: {
|
|
1143
|
-
type:
|
|
1143
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1144
1144
|
isOptional: false;
|
|
1145
1145
|
};
|
|
1146
1146
|
orderNumber: {
|
|
1147
|
-
type:
|
|
1147
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1148
1148
|
isOptional: false;
|
|
1149
1149
|
};
|
|
1150
1150
|
buyerId: {
|
|
1151
|
-
type:
|
|
1151
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1152
1152
|
isOptional: false;
|
|
1153
1153
|
};
|
|
1154
1154
|
storeId: {
|
|
1155
|
-
type:
|
|
1155
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1156
1156
|
isOptional: false;
|
|
1157
1157
|
};
|
|
1158
1158
|
status: {
|
|
1159
|
-
type:
|
|
1159
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
1160
1160
|
isOptional: false;
|
|
1161
1161
|
};
|
|
1162
1162
|
subtotal: {
|
|
1163
|
-
type:
|
|
1163
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1164
1164
|
isOptional: false;
|
|
1165
1165
|
};
|
|
1166
1166
|
shippingTotal: {
|
|
1167
|
-
type:
|
|
1167
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1168
1168
|
isOptional: false;
|
|
1169
1169
|
};
|
|
1170
1170
|
taxTotal: {
|
|
1171
|
-
type:
|
|
1171
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1172
1172
|
isOptional: false;
|
|
1173
1173
|
};
|
|
1174
1174
|
total: {
|
|
1175
|
-
type:
|
|
1175
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1176
1176
|
isOptional: false;
|
|
1177
1177
|
};
|
|
1178
1178
|
currency: {
|
|
1179
|
-
type:
|
|
1179
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1180
1180
|
isOptional: false;
|
|
1181
1181
|
};
|
|
1182
1182
|
items: {
|
|
1183
|
-
type:
|
|
1183
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
1184
1184
|
id: {
|
|
1185
|
-
type:
|
|
1185
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1186
1186
|
isOptional: false;
|
|
1187
1187
|
};
|
|
1188
1188
|
productId: {
|
|
1189
|
-
type:
|
|
1189
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1190
1190
|
isOptional: false;
|
|
1191
1191
|
};
|
|
1192
1192
|
productName: {
|
|
1193
|
-
type:
|
|
1193
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1194
1194
|
isOptional: false;
|
|
1195
1195
|
};
|
|
1196
1196
|
unitPrice: {
|
|
1197
|
-
type:
|
|
1197
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1198
1198
|
isOptional: false;
|
|
1199
1199
|
};
|
|
1200
1200
|
quantity: {
|
|
1201
|
-
type:
|
|
1201
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1202
1202
|
isOptional: false;
|
|
1203
1203
|
};
|
|
1204
1204
|
subtotal: {
|
|
1205
|
-
type:
|
|
1205
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1206
1206
|
isOptional: false;
|
|
1207
1207
|
};
|
|
1208
1208
|
}>;
|
|
@@ -1210,78 +1210,78 @@ declare const CreateOrderContract: _lssm_lib_contracts27.ContractSpec<_lssm_lib_
|
|
|
1210
1210
|
isOptional: true;
|
|
1211
1211
|
};
|
|
1212
1212
|
createdAt: {
|
|
1213
|
-
type:
|
|
1213
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1214
1214
|
isOptional: false;
|
|
1215
1215
|
};
|
|
1216
1216
|
}>, {
|
|
1217
1217
|
name: string;
|
|
1218
1218
|
version: number;
|
|
1219
1219
|
when: string;
|
|
1220
|
-
payload:
|
|
1220
|
+
payload: _lssm_lib_schema560.SchemaModel<{
|
|
1221
1221
|
id: {
|
|
1222
|
-
type:
|
|
1222
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1223
1223
|
isOptional: false;
|
|
1224
1224
|
};
|
|
1225
1225
|
orderNumber: {
|
|
1226
|
-
type:
|
|
1226
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1227
1227
|
isOptional: false;
|
|
1228
1228
|
};
|
|
1229
1229
|
buyerId: {
|
|
1230
|
-
type:
|
|
1230
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1231
1231
|
isOptional: false;
|
|
1232
1232
|
};
|
|
1233
1233
|
storeId: {
|
|
1234
|
-
type:
|
|
1234
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1235
1235
|
isOptional: false;
|
|
1236
1236
|
};
|
|
1237
1237
|
status: {
|
|
1238
|
-
type:
|
|
1238
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
1239
1239
|
isOptional: false;
|
|
1240
1240
|
};
|
|
1241
1241
|
subtotal: {
|
|
1242
|
-
type:
|
|
1242
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1243
1243
|
isOptional: false;
|
|
1244
1244
|
};
|
|
1245
1245
|
shippingTotal: {
|
|
1246
|
-
type:
|
|
1246
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1247
1247
|
isOptional: false;
|
|
1248
1248
|
};
|
|
1249
1249
|
taxTotal: {
|
|
1250
|
-
type:
|
|
1250
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1251
1251
|
isOptional: false;
|
|
1252
1252
|
};
|
|
1253
1253
|
total: {
|
|
1254
|
-
type:
|
|
1254
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1255
1255
|
isOptional: false;
|
|
1256
1256
|
};
|
|
1257
1257
|
currency: {
|
|
1258
|
-
type:
|
|
1258
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1259
1259
|
isOptional: false;
|
|
1260
1260
|
};
|
|
1261
1261
|
items: {
|
|
1262
|
-
type:
|
|
1262
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
1263
1263
|
id: {
|
|
1264
|
-
type:
|
|
1264
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1265
1265
|
isOptional: false;
|
|
1266
1266
|
};
|
|
1267
1267
|
productId: {
|
|
1268
|
-
type:
|
|
1268
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1269
1269
|
isOptional: false;
|
|
1270
1270
|
};
|
|
1271
1271
|
productName: {
|
|
1272
|
-
type:
|
|
1272
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1273
1273
|
isOptional: false;
|
|
1274
1274
|
};
|
|
1275
1275
|
unitPrice: {
|
|
1276
|
-
type:
|
|
1276
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1277
1277
|
isOptional: false;
|
|
1278
1278
|
};
|
|
1279
1279
|
quantity: {
|
|
1280
|
-
type:
|
|
1280
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1281
1281
|
isOptional: false;
|
|
1282
1282
|
};
|
|
1283
1283
|
subtotal: {
|
|
1284
|
-
type:
|
|
1284
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1285
1285
|
isOptional: false;
|
|
1286
1286
|
};
|
|
1287
1287
|
}>;
|
|
@@ -1289,97 +1289,97 @@ declare const CreateOrderContract: _lssm_lib_contracts27.ContractSpec<_lssm_lib_
|
|
|
1289
1289
|
isOptional: true;
|
|
1290
1290
|
};
|
|
1291
1291
|
createdAt: {
|
|
1292
|
-
type:
|
|
1292
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1293
1293
|
isOptional: false;
|
|
1294
1294
|
};
|
|
1295
1295
|
}>;
|
|
1296
1296
|
}[]>;
|
|
1297
|
-
declare const UpdateOrderStatusContract:
|
|
1297
|
+
declare const UpdateOrderStatusContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
1298
1298
|
orderId: {
|
|
1299
|
-
type:
|
|
1299
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1300
1300
|
isOptional: false;
|
|
1301
1301
|
};
|
|
1302
1302
|
status: {
|
|
1303
|
-
type:
|
|
1303
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
1304
1304
|
isOptional: false;
|
|
1305
1305
|
};
|
|
1306
1306
|
trackingNumber: {
|
|
1307
|
-
type:
|
|
1307
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1308
1308
|
isOptional: true;
|
|
1309
1309
|
};
|
|
1310
1310
|
trackingUrl: {
|
|
1311
|
-
type:
|
|
1311
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1312
1312
|
isOptional: true;
|
|
1313
1313
|
};
|
|
1314
1314
|
note: {
|
|
1315
|
-
type:
|
|
1315
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1316
1316
|
isOptional: true;
|
|
1317
1317
|
};
|
|
1318
|
-
}>,
|
|
1318
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
1319
1319
|
id: {
|
|
1320
|
-
type:
|
|
1320
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1321
1321
|
isOptional: false;
|
|
1322
1322
|
};
|
|
1323
1323
|
orderNumber: {
|
|
1324
|
-
type:
|
|
1324
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1325
1325
|
isOptional: false;
|
|
1326
1326
|
};
|
|
1327
1327
|
buyerId: {
|
|
1328
|
-
type:
|
|
1328
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1329
1329
|
isOptional: false;
|
|
1330
1330
|
};
|
|
1331
1331
|
storeId: {
|
|
1332
|
-
type:
|
|
1332
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1333
1333
|
isOptional: false;
|
|
1334
1334
|
};
|
|
1335
1335
|
status: {
|
|
1336
|
-
type:
|
|
1336
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
1337
1337
|
isOptional: false;
|
|
1338
1338
|
};
|
|
1339
1339
|
subtotal: {
|
|
1340
|
-
type:
|
|
1340
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1341
1341
|
isOptional: false;
|
|
1342
1342
|
};
|
|
1343
1343
|
shippingTotal: {
|
|
1344
|
-
type:
|
|
1344
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1345
1345
|
isOptional: false;
|
|
1346
1346
|
};
|
|
1347
1347
|
taxTotal: {
|
|
1348
|
-
type:
|
|
1348
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1349
1349
|
isOptional: false;
|
|
1350
1350
|
};
|
|
1351
1351
|
total: {
|
|
1352
|
-
type:
|
|
1352
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1353
1353
|
isOptional: false;
|
|
1354
1354
|
};
|
|
1355
1355
|
currency: {
|
|
1356
|
-
type:
|
|
1356
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1357
1357
|
isOptional: false;
|
|
1358
1358
|
};
|
|
1359
1359
|
items: {
|
|
1360
|
-
type:
|
|
1360
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
1361
1361
|
id: {
|
|
1362
|
-
type:
|
|
1362
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1363
1363
|
isOptional: false;
|
|
1364
1364
|
};
|
|
1365
1365
|
productId: {
|
|
1366
|
-
type:
|
|
1366
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1367
1367
|
isOptional: false;
|
|
1368
1368
|
};
|
|
1369
1369
|
productName: {
|
|
1370
|
-
type:
|
|
1370
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1371
1371
|
isOptional: false;
|
|
1372
1372
|
};
|
|
1373
1373
|
unitPrice: {
|
|
1374
|
-
type:
|
|
1374
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1375
1375
|
isOptional: false;
|
|
1376
1376
|
};
|
|
1377
1377
|
quantity: {
|
|
1378
|
-
type:
|
|
1378
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1379
1379
|
isOptional: false;
|
|
1380
1380
|
};
|
|
1381
1381
|
subtotal: {
|
|
1382
|
-
type:
|
|
1382
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1383
1383
|
isOptional: false;
|
|
1384
1384
|
};
|
|
1385
1385
|
}>;
|
|
@@ -1387,78 +1387,78 @@ declare const UpdateOrderStatusContract: _lssm_lib_contracts27.ContractSpec<_lss
|
|
|
1387
1387
|
isOptional: true;
|
|
1388
1388
|
};
|
|
1389
1389
|
createdAt: {
|
|
1390
|
-
type:
|
|
1390
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1391
1391
|
isOptional: false;
|
|
1392
1392
|
};
|
|
1393
1393
|
}>, {
|
|
1394
1394
|
name: string;
|
|
1395
1395
|
version: number;
|
|
1396
1396
|
when: string;
|
|
1397
|
-
payload:
|
|
1397
|
+
payload: _lssm_lib_schema560.SchemaModel<{
|
|
1398
1398
|
id: {
|
|
1399
|
-
type:
|
|
1399
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1400
1400
|
isOptional: false;
|
|
1401
1401
|
};
|
|
1402
1402
|
orderNumber: {
|
|
1403
|
-
type:
|
|
1403
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1404
1404
|
isOptional: false;
|
|
1405
1405
|
};
|
|
1406
1406
|
buyerId: {
|
|
1407
|
-
type:
|
|
1407
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1408
1408
|
isOptional: false;
|
|
1409
1409
|
};
|
|
1410
1410
|
storeId: {
|
|
1411
|
-
type:
|
|
1411
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1412
1412
|
isOptional: false;
|
|
1413
1413
|
};
|
|
1414
1414
|
status: {
|
|
1415
|
-
type:
|
|
1415
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
1416
1416
|
isOptional: false;
|
|
1417
1417
|
};
|
|
1418
1418
|
subtotal: {
|
|
1419
|
-
type:
|
|
1419
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1420
1420
|
isOptional: false;
|
|
1421
1421
|
};
|
|
1422
1422
|
shippingTotal: {
|
|
1423
|
-
type:
|
|
1423
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1424
1424
|
isOptional: false;
|
|
1425
1425
|
};
|
|
1426
1426
|
taxTotal: {
|
|
1427
|
-
type:
|
|
1427
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1428
1428
|
isOptional: false;
|
|
1429
1429
|
};
|
|
1430
1430
|
total: {
|
|
1431
|
-
type:
|
|
1431
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1432
1432
|
isOptional: false;
|
|
1433
1433
|
};
|
|
1434
1434
|
currency: {
|
|
1435
|
-
type:
|
|
1435
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1436
1436
|
isOptional: false;
|
|
1437
1437
|
};
|
|
1438
1438
|
items: {
|
|
1439
|
-
type:
|
|
1439
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
1440
1440
|
id: {
|
|
1441
|
-
type:
|
|
1441
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1442
1442
|
isOptional: false;
|
|
1443
1443
|
};
|
|
1444
1444
|
productId: {
|
|
1445
|
-
type:
|
|
1445
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1446
1446
|
isOptional: false;
|
|
1447
1447
|
};
|
|
1448
1448
|
productName: {
|
|
1449
|
-
type:
|
|
1449
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1450
1450
|
isOptional: false;
|
|
1451
1451
|
};
|
|
1452
1452
|
unitPrice: {
|
|
1453
|
-
type:
|
|
1453
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1454
1454
|
isOptional: false;
|
|
1455
1455
|
};
|
|
1456
1456
|
quantity: {
|
|
1457
|
-
type:
|
|
1457
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1458
1458
|
isOptional: false;
|
|
1459
1459
|
};
|
|
1460
1460
|
subtotal: {
|
|
1461
|
-
type:
|
|
1461
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1462
1462
|
isOptional: false;
|
|
1463
1463
|
};
|
|
1464
1464
|
}>;
|
|
@@ -1466,83 +1466,83 @@ declare const UpdateOrderStatusContract: _lssm_lib_contracts27.ContractSpec<_lss
|
|
|
1466
1466
|
isOptional: true;
|
|
1467
1467
|
};
|
|
1468
1468
|
createdAt: {
|
|
1469
|
-
type:
|
|
1469
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1470
1470
|
isOptional: false;
|
|
1471
1471
|
};
|
|
1472
1472
|
}>;
|
|
1473
1473
|
}[]>;
|
|
1474
|
-
declare const ListPayoutsContract:
|
|
1474
|
+
declare const ListPayoutsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
1475
1475
|
storeId: {
|
|
1476
|
-
type:
|
|
1476
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1477
1477
|
isOptional: false;
|
|
1478
1478
|
};
|
|
1479
1479
|
status: {
|
|
1480
|
-
type:
|
|
1480
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string]>;
|
|
1481
1481
|
isOptional: true;
|
|
1482
1482
|
};
|
|
1483
1483
|
limit: {
|
|
1484
|
-
type:
|
|
1484
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1485
1485
|
isOptional: true;
|
|
1486
1486
|
defaultValue: number;
|
|
1487
1487
|
};
|
|
1488
1488
|
offset: {
|
|
1489
|
-
type:
|
|
1489
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1490
1490
|
isOptional: true;
|
|
1491
1491
|
defaultValue: number;
|
|
1492
1492
|
};
|
|
1493
|
-
}>,
|
|
1493
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
1494
1494
|
payouts: {
|
|
1495
|
-
type:
|
|
1495
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
1496
1496
|
id: {
|
|
1497
|
-
type:
|
|
1497
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1498
1498
|
isOptional: false;
|
|
1499
1499
|
};
|
|
1500
1500
|
payoutNumber: {
|
|
1501
|
-
type:
|
|
1501
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1502
1502
|
isOptional: false;
|
|
1503
1503
|
};
|
|
1504
1504
|
storeId: {
|
|
1505
|
-
type:
|
|
1505
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1506
1506
|
isOptional: false;
|
|
1507
1507
|
};
|
|
1508
1508
|
status: {
|
|
1509
|
-
type:
|
|
1509
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string, string]>;
|
|
1510
1510
|
isOptional: false;
|
|
1511
1511
|
};
|
|
1512
1512
|
grossAmount: {
|
|
1513
|
-
type:
|
|
1513
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1514
1514
|
isOptional: false;
|
|
1515
1515
|
};
|
|
1516
1516
|
platformFees: {
|
|
1517
|
-
type:
|
|
1517
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1518
1518
|
isOptional: false;
|
|
1519
1519
|
};
|
|
1520
1520
|
netAmount: {
|
|
1521
|
-
type:
|
|
1521
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1522
1522
|
isOptional: false;
|
|
1523
1523
|
};
|
|
1524
1524
|
currency: {
|
|
1525
|
-
type:
|
|
1525
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1526
1526
|
isOptional: false;
|
|
1527
1527
|
};
|
|
1528
1528
|
periodStart: {
|
|
1529
|
-
type:
|
|
1529
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1530
1530
|
isOptional: false;
|
|
1531
1531
|
};
|
|
1532
1532
|
periodEnd: {
|
|
1533
|
-
type:
|
|
1533
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1534
1534
|
isOptional: false;
|
|
1535
1535
|
};
|
|
1536
1536
|
orderCount: {
|
|
1537
|
-
type:
|
|
1537
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1538
1538
|
isOptional: false;
|
|
1539
1539
|
};
|
|
1540
1540
|
createdAt: {
|
|
1541
|
-
type:
|
|
1541
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1542
1542
|
isOptional: false;
|
|
1543
1543
|
};
|
|
1544
1544
|
paidAt: {
|
|
1545
|
-
type:
|
|
1545
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1546
1546
|
isOptional: true;
|
|
1547
1547
|
};
|
|
1548
1548
|
}>;
|
|
@@ -1550,219 +1550,219 @@ declare const ListPayoutsContract: _lssm_lib_contracts27.ContractSpec<_lssm_lib_
|
|
|
1550
1550
|
isOptional: false;
|
|
1551
1551
|
};
|
|
1552
1552
|
total: {
|
|
1553
|
-
type:
|
|
1553
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1554
1554
|
isOptional: false;
|
|
1555
1555
|
};
|
|
1556
1556
|
totalPending: {
|
|
1557
|
-
type:
|
|
1557
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1558
1558
|
isOptional: false;
|
|
1559
1559
|
};
|
|
1560
1560
|
}>, undefined>;
|
|
1561
|
-
declare const CreateReviewContract:
|
|
1561
|
+
declare const CreateReviewContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
1562
1562
|
productId: {
|
|
1563
|
-
type:
|
|
1563
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1564
1564
|
isOptional: true;
|
|
1565
1565
|
};
|
|
1566
1566
|
storeId: {
|
|
1567
|
-
type:
|
|
1567
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1568
1568
|
isOptional: true;
|
|
1569
1569
|
};
|
|
1570
1570
|
orderId: {
|
|
1571
|
-
type:
|
|
1571
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1572
1572
|
isOptional: true;
|
|
1573
1573
|
};
|
|
1574
1574
|
rating: {
|
|
1575
|
-
type:
|
|
1575
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1576
1576
|
isOptional: false;
|
|
1577
1577
|
};
|
|
1578
1578
|
title: {
|
|
1579
|
-
type:
|
|
1579
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1580
1580
|
isOptional: true;
|
|
1581
1581
|
};
|
|
1582
1582
|
content: {
|
|
1583
|
-
type:
|
|
1583
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1584
1584
|
isOptional: true;
|
|
1585
1585
|
};
|
|
1586
|
-
}>,
|
|
1586
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
1587
1587
|
id: {
|
|
1588
|
-
type:
|
|
1588
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1589
1589
|
isOptional: false;
|
|
1590
1590
|
};
|
|
1591
1591
|
productId: {
|
|
1592
|
-
type:
|
|
1592
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1593
1593
|
isOptional: true;
|
|
1594
1594
|
};
|
|
1595
1595
|
storeId: {
|
|
1596
|
-
type:
|
|
1596
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1597
1597
|
isOptional: true;
|
|
1598
1598
|
};
|
|
1599
1599
|
authorId: {
|
|
1600
|
-
type:
|
|
1600
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1601
1601
|
isOptional: false;
|
|
1602
1602
|
};
|
|
1603
1603
|
rating: {
|
|
1604
|
-
type:
|
|
1604
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1605
1605
|
isOptional: false;
|
|
1606
1606
|
};
|
|
1607
1607
|
title: {
|
|
1608
|
-
type:
|
|
1608
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1609
1609
|
isOptional: true;
|
|
1610
1610
|
};
|
|
1611
1611
|
content: {
|
|
1612
|
-
type:
|
|
1612
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1613
1613
|
isOptional: true;
|
|
1614
1614
|
};
|
|
1615
1615
|
status: {
|
|
1616
|
-
type:
|
|
1616
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
1617
1617
|
isOptional: false;
|
|
1618
1618
|
};
|
|
1619
1619
|
isVerifiedPurchase: {
|
|
1620
|
-
type:
|
|
1620
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
1621
1621
|
isOptional: false;
|
|
1622
1622
|
};
|
|
1623
1623
|
helpfulCount: {
|
|
1624
|
-
type:
|
|
1624
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1625
1625
|
isOptional: false;
|
|
1626
1626
|
};
|
|
1627
1627
|
hasResponse: {
|
|
1628
|
-
type:
|
|
1628
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
1629
1629
|
isOptional: false;
|
|
1630
1630
|
};
|
|
1631
1631
|
createdAt: {
|
|
1632
|
-
type:
|
|
1632
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1633
1633
|
isOptional: false;
|
|
1634
1634
|
};
|
|
1635
1635
|
}>, {
|
|
1636
1636
|
name: string;
|
|
1637
1637
|
version: number;
|
|
1638
1638
|
when: string;
|
|
1639
|
-
payload:
|
|
1639
|
+
payload: _lssm_lib_schema560.SchemaModel<{
|
|
1640
1640
|
id: {
|
|
1641
|
-
type:
|
|
1641
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1642
1642
|
isOptional: false;
|
|
1643
1643
|
};
|
|
1644
1644
|
productId: {
|
|
1645
|
-
type:
|
|
1645
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1646
1646
|
isOptional: true;
|
|
1647
1647
|
};
|
|
1648
1648
|
storeId: {
|
|
1649
|
-
type:
|
|
1649
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1650
1650
|
isOptional: true;
|
|
1651
1651
|
};
|
|
1652
1652
|
authorId: {
|
|
1653
|
-
type:
|
|
1653
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1654
1654
|
isOptional: false;
|
|
1655
1655
|
};
|
|
1656
1656
|
rating: {
|
|
1657
|
-
type:
|
|
1657
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1658
1658
|
isOptional: false;
|
|
1659
1659
|
};
|
|
1660
1660
|
title: {
|
|
1661
|
-
type:
|
|
1661
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1662
1662
|
isOptional: true;
|
|
1663
1663
|
};
|
|
1664
1664
|
content: {
|
|
1665
|
-
type:
|
|
1665
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1666
1666
|
isOptional: true;
|
|
1667
1667
|
};
|
|
1668
1668
|
status: {
|
|
1669
|
-
type:
|
|
1669
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
1670
1670
|
isOptional: false;
|
|
1671
1671
|
};
|
|
1672
1672
|
isVerifiedPurchase: {
|
|
1673
|
-
type:
|
|
1673
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
1674
1674
|
isOptional: false;
|
|
1675
1675
|
};
|
|
1676
1676
|
helpfulCount: {
|
|
1677
|
-
type:
|
|
1677
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1678
1678
|
isOptional: false;
|
|
1679
1679
|
};
|
|
1680
1680
|
hasResponse: {
|
|
1681
|
-
type:
|
|
1681
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
1682
1682
|
isOptional: false;
|
|
1683
1683
|
};
|
|
1684
1684
|
createdAt: {
|
|
1685
|
-
type:
|
|
1685
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1686
1686
|
isOptional: false;
|
|
1687
1687
|
};
|
|
1688
1688
|
}>;
|
|
1689
1689
|
}[]>;
|
|
1690
|
-
declare const ListReviewsContract:
|
|
1690
|
+
declare const ListReviewsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema560.SchemaModel<{
|
|
1691
1691
|
productId: {
|
|
1692
|
-
type:
|
|
1692
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1693
1693
|
isOptional: true;
|
|
1694
1694
|
};
|
|
1695
1695
|
storeId: {
|
|
1696
|
-
type:
|
|
1696
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1697
1697
|
isOptional: true;
|
|
1698
1698
|
};
|
|
1699
1699
|
status: {
|
|
1700
|
-
type:
|
|
1700
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
1701
1701
|
isOptional: true;
|
|
1702
1702
|
};
|
|
1703
1703
|
minRating: {
|
|
1704
|
-
type:
|
|
1704
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1705
1705
|
isOptional: true;
|
|
1706
1706
|
};
|
|
1707
1707
|
limit: {
|
|
1708
|
-
type:
|
|
1708
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1709
1709
|
isOptional: true;
|
|
1710
1710
|
defaultValue: number;
|
|
1711
1711
|
};
|
|
1712
1712
|
offset: {
|
|
1713
|
-
type:
|
|
1713
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1714
1714
|
isOptional: true;
|
|
1715
1715
|
defaultValue: number;
|
|
1716
1716
|
};
|
|
1717
|
-
}>,
|
|
1717
|
+
}>, _lssm_lib_schema560.SchemaModel<{
|
|
1718
1718
|
reviews: {
|
|
1719
|
-
type:
|
|
1719
|
+
type: _lssm_lib_schema560.SchemaModel<{
|
|
1720
1720
|
id: {
|
|
1721
|
-
type:
|
|
1721
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1722
1722
|
isOptional: false;
|
|
1723
1723
|
};
|
|
1724
1724
|
productId: {
|
|
1725
|
-
type:
|
|
1725
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1726
1726
|
isOptional: true;
|
|
1727
1727
|
};
|
|
1728
1728
|
storeId: {
|
|
1729
|
-
type:
|
|
1729
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1730
1730
|
isOptional: true;
|
|
1731
1731
|
};
|
|
1732
1732
|
authorId: {
|
|
1733
|
-
type:
|
|
1733
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1734
1734
|
isOptional: false;
|
|
1735
1735
|
};
|
|
1736
1736
|
rating: {
|
|
1737
|
-
type:
|
|
1737
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1738
1738
|
isOptional: false;
|
|
1739
1739
|
};
|
|
1740
1740
|
title: {
|
|
1741
|
-
type:
|
|
1741
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1742
1742
|
isOptional: true;
|
|
1743
1743
|
};
|
|
1744
1744
|
content: {
|
|
1745
|
-
type:
|
|
1745
|
+
type: _lssm_lib_schema560.FieldType<string, string>;
|
|
1746
1746
|
isOptional: true;
|
|
1747
1747
|
};
|
|
1748
1748
|
status: {
|
|
1749
|
-
type:
|
|
1749
|
+
type: _lssm_lib_schema560.EnumType<[string, string, string, string]>;
|
|
1750
1750
|
isOptional: false;
|
|
1751
1751
|
};
|
|
1752
1752
|
isVerifiedPurchase: {
|
|
1753
|
-
type:
|
|
1753
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
1754
1754
|
isOptional: false;
|
|
1755
1755
|
};
|
|
1756
1756
|
helpfulCount: {
|
|
1757
|
-
type:
|
|
1757
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1758
1758
|
isOptional: false;
|
|
1759
1759
|
};
|
|
1760
1760
|
hasResponse: {
|
|
1761
|
-
type:
|
|
1761
|
+
type: _lssm_lib_schema560.FieldType<boolean, boolean>;
|
|
1762
1762
|
isOptional: false;
|
|
1763
1763
|
};
|
|
1764
1764
|
createdAt: {
|
|
1765
|
-
type:
|
|
1765
|
+
type: _lssm_lib_schema560.FieldType<Date, string>;
|
|
1766
1766
|
isOptional: false;
|
|
1767
1767
|
};
|
|
1768
1768
|
}>;
|
|
@@ -1770,15 +1770,15 @@ declare const ListReviewsContract: _lssm_lib_contracts27.ContractSpec<_lssm_lib_
|
|
|
1770
1770
|
isOptional: false;
|
|
1771
1771
|
};
|
|
1772
1772
|
total: {
|
|
1773
|
-
type:
|
|
1773
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1774
1774
|
isOptional: false;
|
|
1775
1775
|
};
|
|
1776
1776
|
averageRating: {
|
|
1777
|
-
type:
|
|
1777
|
+
type: _lssm_lib_schema560.FieldType<number, number>;
|
|
1778
1778
|
isOptional: false;
|
|
1779
1779
|
};
|
|
1780
1780
|
ratingDistribution: {
|
|
1781
|
-
type:
|
|
1781
|
+
type: _lssm_lib_schema560.FieldType<unknown, unknown>;
|
|
1782
1782
|
isOptional: false;
|
|
1783
1783
|
};
|
|
1784
1784
|
}>, undefined>;
|