@lssm/example.marketplace 0.0.0-canary-20251217073102 → 0.0.0-canary-20251217080011
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/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/order/order.contracts.d.ts +90 -90
- 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 +68 -68
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.event.d.ts +20 -20
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/review/review.contracts.d.ts +59 -59
- package/dist/review/review.enum.d.ts +2 -2
- package/dist/review/review.event.d.ts +14 -14
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/store/store.contracts.d.ts +32 -32
- package/dist/store/store.enum.d.ts +2 -2
- package/dist/store/store.event.d.ts +14 -14
- package/dist/store/store.schema.d.ts +20 -20
- package/package.json +12 -12
package/dist/entities/store.d.ts
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1111 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/store.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Store status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const StoreStatusEnum:
|
|
7
|
+
declare const StoreStatusEnum: _lssm_lib_schema1111.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Store type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const StoreTypeEnum:
|
|
11
|
+
declare const StoreTypeEnum: _lssm_lib_schema1111.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Store entity - a seller's storefront on the marketplace.
|
|
14
14
|
*/
|
|
15
|
-
declare const StoreEntity:
|
|
16
|
-
id:
|
|
17
|
-
name:
|
|
18
|
-
slug:
|
|
19
|
-
description:
|
|
20
|
-
status:
|
|
21
|
-
type:
|
|
22
|
-
ownerId:
|
|
23
|
-
organizationId:
|
|
24
|
-
logoFileId:
|
|
25
|
-
bannerFileId:
|
|
26
|
-
email:
|
|
27
|
-
phone:
|
|
28
|
-
website:
|
|
29
|
-
country:
|
|
30
|
-
currency:
|
|
31
|
-
timezone:
|
|
32
|
-
commissionRate:
|
|
33
|
-
isVerified:
|
|
34
|
-
verifiedAt:
|
|
35
|
-
settings:
|
|
36
|
-
metadata:
|
|
37
|
-
totalProducts:
|
|
38
|
-
totalOrders:
|
|
39
|
-
totalRevenue:
|
|
40
|
-
averageRating:
|
|
41
|
-
createdAt:
|
|
42
|
-
updatedAt:
|
|
43
|
-
products:
|
|
44
|
-
orders:
|
|
45
|
-
payouts:
|
|
15
|
+
declare const StoreEntity: _lssm_lib_schema1111.EntitySpec<{
|
|
16
|
+
id: _lssm_lib_schema1111.EntityScalarField;
|
|
17
|
+
name: _lssm_lib_schema1111.EntityScalarField;
|
|
18
|
+
slug: _lssm_lib_schema1111.EntityScalarField;
|
|
19
|
+
description: _lssm_lib_schema1111.EntityScalarField;
|
|
20
|
+
status: _lssm_lib_schema1111.EntityEnumField;
|
|
21
|
+
type: _lssm_lib_schema1111.EntityEnumField;
|
|
22
|
+
ownerId: _lssm_lib_schema1111.EntityScalarField;
|
|
23
|
+
organizationId: _lssm_lib_schema1111.EntityScalarField;
|
|
24
|
+
logoFileId: _lssm_lib_schema1111.EntityScalarField;
|
|
25
|
+
bannerFileId: _lssm_lib_schema1111.EntityScalarField;
|
|
26
|
+
email: _lssm_lib_schema1111.EntityScalarField;
|
|
27
|
+
phone: _lssm_lib_schema1111.EntityScalarField;
|
|
28
|
+
website: _lssm_lib_schema1111.EntityScalarField;
|
|
29
|
+
country: _lssm_lib_schema1111.EntityScalarField;
|
|
30
|
+
currency: _lssm_lib_schema1111.EntityScalarField;
|
|
31
|
+
timezone: _lssm_lib_schema1111.EntityScalarField;
|
|
32
|
+
commissionRate: _lssm_lib_schema1111.EntityScalarField;
|
|
33
|
+
isVerified: _lssm_lib_schema1111.EntityScalarField;
|
|
34
|
+
verifiedAt: _lssm_lib_schema1111.EntityScalarField;
|
|
35
|
+
settings: _lssm_lib_schema1111.EntityScalarField;
|
|
36
|
+
metadata: _lssm_lib_schema1111.EntityScalarField;
|
|
37
|
+
totalProducts: _lssm_lib_schema1111.EntityScalarField;
|
|
38
|
+
totalOrders: _lssm_lib_schema1111.EntityScalarField;
|
|
39
|
+
totalRevenue: _lssm_lib_schema1111.EntityScalarField;
|
|
40
|
+
averageRating: _lssm_lib_schema1111.EntityScalarField;
|
|
41
|
+
createdAt: _lssm_lib_schema1111.EntityScalarField;
|
|
42
|
+
updatedAt: _lssm_lib_schema1111.EntityScalarField;
|
|
43
|
+
products: _lssm_lib_schema1111.EntityRelationField;
|
|
44
|
+
orders: _lssm_lib_schema1111.EntityRelationField;
|
|
45
|
+
payouts: _lssm_lib_schema1111.EntityRelationField;
|
|
46
46
|
}>;
|
|
47
47
|
/**
|
|
48
48
|
* Store category entity - categorization for stores.
|
|
49
49
|
*/
|
|
50
|
-
declare const StoreCategoryEntity:
|
|
51
|
-
id:
|
|
52
|
-
storeId:
|
|
53
|
-
categoryId:
|
|
54
|
-
isPrimary:
|
|
55
|
-
createdAt:
|
|
56
|
-
store:
|
|
50
|
+
declare const StoreCategoryEntity: _lssm_lib_schema1111.EntitySpec<{
|
|
51
|
+
id: _lssm_lib_schema1111.EntityScalarField;
|
|
52
|
+
storeId: _lssm_lib_schema1111.EntityScalarField;
|
|
53
|
+
categoryId: _lssm_lib_schema1111.EntityScalarField;
|
|
54
|
+
isPrimary: _lssm_lib_schema1111.EntityScalarField;
|
|
55
|
+
createdAt: _lssm_lib_schema1111.EntityScalarField;
|
|
56
|
+
store: _lssm_lib_schema1111.EntityRelationField;
|
|
57
57
|
}>;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { StoreCategoryEntity, StoreEntity, StoreStatusEnum, StoreTypeEnum };
|
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema423 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts6 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/order/order.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new order.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateOrderContract:
|
|
8
|
+
declare const CreateOrderContract: _lssm_lib_contracts6.ContractSpec<_lssm_lib_schema423.SchemaModel<{
|
|
9
9
|
storeId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
items: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema423.FieldType<unknown, unknown>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
description: string;
|
|
17
17
|
};
|
|
18
18
|
shippingAddress: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema423.FieldType<unknown, unknown>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
billingAddress: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema423.FieldType<unknown, unknown>;
|
|
24
24
|
isOptional: true;
|
|
25
25
|
};
|
|
26
26
|
buyerNote: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
|
-
}>,
|
|
30
|
+
}>, _lssm_lib_schema423.SchemaModel<{
|
|
31
31
|
id: {
|
|
32
|
-
type:
|
|
32
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
33
33
|
isOptional: false;
|
|
34
34
|
};
|
|
35
35
|
orderNumber: {
|
|
36
|
-
type:
|
|
36
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
buyerId: {
|
|
40
|
-
type:
|
|
40
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
41
41
|
isOptional: false;
|
|
42
42
|
};
|
|
43
43
|
storeId: {
|
|
44
|
-
type:
|
|
44
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
45
45
|
isOptional: false;
|
|
46
46
|
};
|
|
47
47
|
status: {
|
|
48
|
-
type:
|
|
48
|
+
type: _lssm_lib_schema423.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
subtotal: {
|
|
52
|
-
type:
|
|
52
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
53
53
|
isOptional: false;
|
|
54
54
|
};
|
|
55
55
|
shippingTotal: {
|
|
56
|
-
type:
|
|
56
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
taxTotal: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
total: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
currency: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
items: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema423.SchemaModel<{
|
|
73
73
|
id: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
productId: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
productName: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
unitPrice: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
quantity: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
subtotal: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
95
95
|
isOptional: false;
|
|
96
96
|
};
|
|
97
97
|
}>;
|
|
@@ -99,78 +99,78 @@ declare const CreateOrderContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_s
|
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
createdAt: {
|
|
102
|
-
type:
|
|
102
|
+
type: _lssm_lib_schema423.FieldType<Date, string>;
|
|
103
103
|
isOptional: false;
|
|
104
104
|
};
|
|
105
105
|
}>, {
|
|
106
106
|
name: string;
|
|
107
107
|
version: number;
|
|
108
108
|
when: string;
|
|
109
|
-
payload:
|
|
109
|
+
payload: _lssm_lib_schema423.SchemaModel<{
|
|
110
110
|
id: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
orderNumber: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
buyerId: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
storeId: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
status: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema423.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
subtotal: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
shippingTotal: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
taxTotal: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
total: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
currency: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
items: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema423.SchemaModel<{
|
|
152
152
|
id: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
productId: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
productName: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
unitPrice: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
166
166
|
isOptional: false;
|
|
167
167
|
};
|
|
168
168
|
quantity: {
|
|
169
|
-
type:
|
|
169
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
170
170
|
isOptional: false;
|
|
171
171
|
};
|
|
172
172
|
subtotal: {
|
|
173
|
-
type:
|
|
173
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
174
174
|
isOptional: false;
|
|
175
175
|
};
|
|
176
176
|
}>;
|
|
@@ -178,7 +178,7 @@ declare const CreateOrderContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_s
|
|
|
178
178
|
isOptional: true;
|
|
179
179
|
};
|
|
180
180
|
createdAt: {
|
|
181
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema423.FieldType<Date, string>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
}>;
|
|
@@ -186,92 +186,92 @@ declare const CreateOrderContract: _lssm_lib_contracts8.ContractSpec<_lssm_lib_s
|
|
|
186
186
|
/**
|
|
187
187
|
* Update order status.
|
|
188
188
|
*/
|
|
189
|
-
declare const UpdateOrderStatusContract:
|
|
189
|
+
declare const UpdateOrderStatusContract: _lssm_lib_contracts6.ContractSpec<_lssm_lib_schema423.SchemaModel<{
|
|
190
190
|
orderId: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
status: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema423.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
trackingNumber: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
202
|
trackingUrl: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
note: {
|
|
207
|
-
type:
|
|
207
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
|
-
}>,
|
|
210
|
+
}>, _lssm_lib_schema423.SchemaModel<{
|
|
211
211
|
id: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
213
213
|
isOptional: false;
|
|
214
214
|
};
|
|
215
215
|
orderNumber: {
|
|
216
|
-
type:
|
|
216
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
217
217
|
isOptional: false;
|
|
218
218
|
};
|
|
219
219
|
buyerId: {
|
|
220
|
-
type:
|
|
220
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
221
221
|
isOptional: false;
|
|
222
222
|
};
|
|
223
223
|
storeId: {
|
|
224
|
-
type:
|
|
224
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
225
225
|
isOptional: false;
|
|
226
226
|
};
|
|
227
227
|
status: {
|
|
228
|
-
type:
|
|
228
|
+
type: _lssm_lib_schema423.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
229
229
|
isOptional: false;
|
|
230
230
|
};
|
|
231
231
|
subtotal: {
|
|
232
|
-
type:
|
|
232
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
233
233
|
isOptional: false;
|
|
234
234
|
};
|
|
235
235
|
shippingTotal: {
|
|
236
|
-
type:
|
|
236
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
237
237
|
isOptional: false;
|
|
238
238
|
};
|
|
239
239
|
taxTotal: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
241
241
|
isOptional: false;
|
|
242
242
|
};
|
|
243
243
|
total: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
currency: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
items: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema423.SchemaModel<{
|
|
253
253
|
id: {
|
|
254
|
-
type:
|
|
254
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
255
255
|
isOptional: false;
|
|
256
256
|
};
|
|
257
257
|
productId: {
|
|
258
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
productName: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
unitPrice: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
267
267
|
isOptional: false;
|
|
268
268
|
};
|
|
269
269
|
quantity: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
271
271
|
isOptional: false;
|
|
272
272
|
};
|
|
273
273
|
subtotal: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
275
275
|
isOptional: false;
|
|
276
276
|
};
|
|
277
277
|
}>;
|
|
@@ -279,78 +279,78 @@ declare const UpdateOrderStatusContract: _lssm_lib_contracts8.ContractSpec<_lssm
|
|
|
279
279
|
isOptional: true;
|
|
280
280
|
};
|
|
281
281
|
createdAt: {
|
|
282
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema423.FieldType<Date, string>;
|
|
283
283
|
isOptional: false;
|
|
284
284
|
};
|
|
285
285
|
}>, {
|
|
286
286
|
name: string;
|
|
287
287
|
version: number;
|
|
288
288
|
when: string;
|
|
289
|
-
payload:
|
|
289
|
+
payload: _lssm_lib_schema423.SchemaModel<{
|
|
290
290
|
id: {
|
|
291
|
-
type:
|
|
291
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
292
292
|
isOptional: false;
|
|
293
293
|
};
|
|
294
294
|
orderNumber: {
|
|
295
|
-
type:
|
|
295
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
296
296
|
isOptional: false;
|
|
297
297
|
};
|
|
298
298
|
buyerId: {
|
|
299
|
-
type:
|
|
299
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
300
300
|
isOptional: false;
|
|
301
301
|
};
|
|
302
302
|
storeId: {
|
|
303
|
-
type:
|
|
303
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
304
304
|
isOptional: false;
|
|
305
305
|
};
|
|
306
306
|
status: {
|
|
307
|
-
type:
|
|
307
|
+
type: _lssm_lib_schema423.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
308
308
|
isOptional: false;
|
|
309
309
|
};
|
|
310
310
|
subtotal: {
|
|
311
|
-
type:
|
|
311
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
312
312
|
isOptional: false;
|
|
313
313
|
};
|
|
314
314
|
shippingTotal: {
|
|
315
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
316
316
|
isOptional: false;
|
|
317
317
|
};
|
|
318
318
|
taxTotal: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
total: {
|
|
323
|
-
type:
|
|
323
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
324
324
|
isOptional: false;
|
|
325
325
|
};
|
|
326
326
|
currency: {
|
|
327
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
328
328
|
isOptional: false;
|
|
329
329
|
};
|
|
330
330
|
items: {
|
|
331
|
-
type:
|
|
331
|
+
type: _lssm_lib_schema423.SchemaModel<{
|
|
332
332
|
id: {
|
|
333
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
334
334
|
isOptional: false;
|
|
335
335
|
};
|
|
336
336
|
productId: {
|
|
337
|
-
type:
|
|
337
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
338
338
|
isOptional: false;
|
|
339
339
|
};
|
|
340
340
|
productName: {
|
|
341
|
-
type:
|
|
341
|
+
type: _lssm_lib_schema423.FieldType<string, string>;
|
|
342
342
|
isOptional: false;
|
|
343
343
|
};
|
|
344
344
|
unitPrice: {
|
|
345
|
-
type:
|
|
345
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
346
346
|
isOptional: false;
|
|
347
347
|
};
|
|
348
348
|
quantity: {
|
|
349
|
-
type:
|
|
349
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
350
350
|
isOptional: false;
|
|
351
351
|
};
|
|
352
352
|
subtotal: {
|
|
353
|
-
type:
|
|
353
|
+
type: _lssm_lib_schema423.FieldType<number, number>;
|
|
354
354
|
isOptional: false;
|
|
355
355
|
};
|
|
356
356
|
}>;
|
|
@@ -358,7 +358,7 @@ declare const UpdateOrderStatusContract: _lssm_lib_contracts8.ContractSpec<_lssm
|
|
|
358
358
|
isOptional: true;
|
|
359
359
|
};
|
|
360
360
|
createdAt: {
|
|
361
|
-
type:
|
|
361
|
+
type: _lssm_lib_schema423.FieldType<Date, string>;
|
|
362
362
|
isOptional: false;
|
|
363
363
|
};
|
|
364
364
|
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema76 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/order/order.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Order status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const OrderStatusEnum:
|
|
7
|
+
declare const OrderStatusEnum: _lssm_lib_schema76.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { OrderStatusEnum };
|