@lssm/example.marketplace 0.0.0-canary-20251221165922 → 0.0.0-canary-20251221185840
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 +5 -0
- package/dist/entities/index.d.ts +296 -296
- package/dist/entities/index.d.ts.map +1 -1
- 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/data-views/data-views.js +7 -1
- package/dist/libs/contracts/dist/data-views/data-views.js.map +1 -0
- package/dist/libs/contracts/dist/features.js +7 -1
- package/dist/libs/contracts/dist/features.js.map +1 -0
- package/dist/libs/contracts/dist/operations/registry.js +7 -1
- package/dist/libs/contracts/dist/operations/registry.js.map +1 -0
- package/dist/libs/contracts/dist/presentations/presentations.js +7 -1
- package/dist/libs/contracts/dist/presentations/presentations.js.map +1 -0
- package/dist/libs/contracts/dist/workflow/spec.js +7 -1
- package/dist/libs/contracts/dist/workflow/spec.js.map +1 -0
- package/dist/order/order.contracts.d.ts +90 -90
- package/dist/order/order.contracts.d.ts.map +1 -1
- package/dist/order/order.enum.d.ts +2 -2
- package/dist/order/order.event.d.ts +39 -39
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/payout/payout.contracts.d.ts +24 -24
- package/dist/payout/payout.enum.d.ts +2 -2
- package/dist/payout/payout.event.d.ts +17 -17
- package/dist/payout/payout.schema.d.ts +37 -37
- package/dist/product/product.contracts.d.ts +67 -67
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/review/review.contracts.d.ts +58 -58
- 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 +12 -12
|
@@ -1,163 +1,163 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema857 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/product/product.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new product listing.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateProductContract: _lssm_lib_contracts9.OperationSpec<
|
|
8
|
+
declare const CreateProductContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib_schema857.SchemaModel<{
|
|
9
9
|
storeId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
name: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
slug: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
description: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
price: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
currency: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
33
|
quantity: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
37
|
categoryId: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
41
|
sku: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
43
43
|
isOptional: true;
|
|
44
44
|
};
|
|
45
|
-
}>,
|
|
45
|
+
}>, _lssm_lib_schema857.SchemaModel<{
|
|
46
46
|
id: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
storeId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
name: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
slug: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
description: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
status: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema857.EnumType<[string, string, string, string, string, string]>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
price: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
currency: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
quantity: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
categoryId: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
primaryImageId: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
averageRating: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
totalSold: {
|
|
95
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
96
96
|
isOptional: false;
|
|
97
97
|
};
|
|
98
98
|
createdAt: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema857.FieldType<Date, string>;
|
|
100
100
|
isOptional: false;
|
|
101
101
|
};
|
|
102
102
|
}>, {
|
|
103
103
|
name: string;
|
|
104
104
|
version: number;
|
|
105
105
|
when: string;
|
|
106
|
-
payload:
|
|
106
|
+
payload: _lssm_lib_schema857.SchemaModel<{
|
|
107
107
|
id: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
storeId: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
name: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
slug: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
description: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
status: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema857.EnumType<[string, string, string, string, string, string]>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
price: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
currency: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
quantity: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
categoryId: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
145
145
|
isOptional: true;
|
|
146
146
|
};
|
|
147
147
|
primaryImageId: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
averageRating: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
totalSold: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
createdAt: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema857.FieldType<Date, string>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
}>;
|
|
@@ -165,98 +165,98 @@ declare const CreateProductContract: _lssm_lib_contracts9.OperationSpec<_lssm_li
|
|
|
165
165
|
/**
|
|
166
166
|
* List products with filters.
|
|
167
167
|
*/
|
|
168
|
-
declare const ListProductsContract: _lssm_lib_contracts9.OperationSpec<
|
|
168
|
+
declare const ListProductsContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib_schema857.SchemaModel<{
|
|
169
169
|
storeId: {
|
|
170
|
-
type:
|
|
170
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
171
171
|
isOptional: true;
|
|
172
172
|
};
|
|
173
173
|
categoryId: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
175
175
|
isOptional: true;
|
|
176
176
|
};
|
|
177
177
|
status: {
|
|
178
|
-
type:
|
|
178
|
+
type: _lssm_lib_schema857.EnumType<[string, string, string, string, string, string]>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
search: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
183
183
|
isOptional: true;
|
|
184
184
|
};
|
|
185
185
|
minPrice: {
|
|
186
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
187
187
|
isOptional: true;
|
|
188
188
|
};
|
|
189
189
|
maxPrice: {
|
|
190
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
191
191
|
isOptional: true;
|
|
192
192
|
};
|
|
193
193
|
limit: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
195
195
|
isOptional: true;
|
|
196
196
|
defaultValue: number;
|
|
197
197
|
};
|
|
198
198
|
offset: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
defaultValue: number;
|
|
202
202
|
};
|
|
203
|
-
}>,
|
|
203
|
+
}>, _lssm_lib_schema857.SchemaModel<{
|
|
204
204
|
products: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema857.SchemaModel<{
|
|
206
206
|
id: {
|
|
207
|
-
type:
|
|
207
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
208
208
|
isOptional: false;
|
|
209
209
|
};
|
|
210
210
|
storeId: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
name: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
slug: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
description: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
224
224
|
isOptional: true;
|
|
225
225
|
};
|
|
226
226
|
status: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema857.EnumType<[string, string, string, string, string, string]>;
|
|
228
228
|
isOptional: false;
|
|
229
229
|
};
|
|
230
230
|
price: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
currency: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
quantity: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
categoryId: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
244
244
|
isOptional: true;
|
|
245
245
|
};
|
|
246
246
|
primaryImageId: {
|
|
247
|
-
type:
|
|
247
|
+
type: _lssm_lib_schema857.FieldType<string, string>;
|
|
248
248
|
isOptional: true;
|
|
249
249
|
};
|
|
250
250
|
averageRating: {
|
|
251
|
-
type:
|
|
251
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
totalSold: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
createdAt: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema857.FieldType<Date, string>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
}>;
|
|
@@ -264,7 +264,7 @@ declare const ListProductsContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib
|
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
total: {
|
|
267
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema857.FieldType<number, number>;
|
|
268
268
|
isOptional: false;
|
|
269
269
|
};
|
|
270
270
|
}>, undefined>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema820 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/product/product.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Product status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProductStatusEnum:
|
|
7
|
+
declare const ProductStatusEnum: _lssm_lib_schema820.EnumType<[string, string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ProductStatusEnum };
|
|
10
10
|
//# sourceMappingURL=product.enum.d.ts.map
|
|
@@ -1,143 +1,143 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema998 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/product/product.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A product listing.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProductModel:
|
|
7
|
+
declare const ProductModel: _lssm_lib_schema998.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
storeId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
slug: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
description: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema998.EnumType<[string, string, string, string, string, string]>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
price: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
currency: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
quantity: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
categoryId: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
46
46
|
isOptional: true;
|
|
47
47
|
};
|
|
48
48
|
primaryImageId: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
50
50
|
isOptional: true;
|
|
51
51
|
};
|
|
52
52
|
averageRating: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
totalSold: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
createdAt: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema998.FieldType<Date, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
}>;
|
|
65
65
|
/**
|
|
66
66
|
* Input for creating a product.
|
|
67
67
|
*/
|
|
68
|
-
declare const CreateProductInputModel:
|
|
68
|
+
declare const CreateProductInputModel: _lssm_lib_schema998.SchemaModel<{
|
|
69
69
|
storeId: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
name: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
slug: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
description: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
price: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
currency: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
quantity: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
categoryId: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
sku: {
|
|
102
|
-
type:
|
|
102
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
103
103
|
isOptional: true;
|
|
104
104
|
};
|
|
105
105
|
}>;
|
|
106
106
|
/**
|
|
107
107
|
* Input for listing products.
|
|
108
108
|
*/
|
|
109
|
-
declare const ListProductsInputModel:
|
|
109
|
+
declare const ListProductsInputModel: _lssm_lib_schema998.SchemaModel<{
|
|
110
110
|
storeId: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
112
112
|
isOptional: true;
|
|
113
113
|
};
|
|
114
114
|
categoryId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
116
116
|
isOptional: true;
|
|
117
117
|
};
|
|
118
118
|
status: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema998.EnumType<[string, string, string, string, string, string]>;
|
|
120
120
|
isOptional: true;
|
|
121
121
|
};
|
|
122
122
|
search: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
124
124
|
isOptional: true;
|
|
125
125
|
};
|
|
126
126
|
minPrice: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
128
128
|
isOptional: true;
|
|
129
129
|
};
|
|
130
130
|
maxPrice: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
132
132
|
isOptional: true;
|
|
133
133
|
};
|
|
134
134
|
limit: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
136
136
|
isOptional: true;
|
|
137
137
|
defaultValue: number;
|
|
138
138
|
};
|
|
139
139
|
offset: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
141
141
|
isOptional: true;
|
|
142
142
|
defaultValue: number;
|
|
143
143
|
};
|
|
@@ -145,63 +145,63 @@ declare const ListProductsInputModel: _lssm_lib_schema941.SchemaModel<{
|
|
|
145
145
|
/**
|
|
146
146
|
* Output for listing products.
|
|
147
147
|
*/
|
|
148
|
-
declare const ListProductsOutputModel:
|
|
148
|
+
declare const ListProductsOutputModel: _lssm_lib_schema998.SchemaModel<{
|
|
149
149
|
products: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema998.SchemaModel<{
|
|
151
151
|
id: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
storeId: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
name: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
slug: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
description: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
169
169
|
isOptional: true;
|
|
170
170
|
};
|
|
171
171
|
status: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema998.EnumType<[string, string, string, string, string, string]>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
price: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
currency: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
quantity: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
187
|
categoryId: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
189
189
|
isOptional: true;
|
|
190
190
|
};
|
|
191
191
|
primaryImageId: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema998.FieldType<string, string>;
|
|
193
193
|
isOptional: true;
|
|
194
194
|
};
|
|
195
195
|
averageRating: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
197
197
|
isOptional: false;
|
|
198
198
|
};
|
|
199
199
|
totalSold: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
201
201
|
isOptional: false;
|
|
202
202
|
};
|
|
203
203
|
createdAt: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema998.FieldType<Date, string>;
|
|
205
205
|
isOptional: false;
|
|
206
206
|
};
|
|
207
207
|
}>;
|
|
@@ -209,7 +209,7 @@ declare const ListProductsOutputModel: _lssm_lib_schema941.SchemaModel<{
|
|
|
209
209
|
isOptional: false;
|
|
210
210
|
};
|
|
211
211
|
total: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema998.FieldType<number, number>;
|
|
213
213
|
isOptional: false;
|
|
214
214
|
};
|
|
215
215
|
}>;
|