@lssm/example.marketplace 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804

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.
Files changed (43) hide show
  1. package/dist/docs/index.d.ts +1 -0
  2. package/dist/docs/marketplace.docblock.d.ts +1 -0
  3. package/dist/entities/index.d.ts +308 -0
  4. package/dist/entities/order.d.ts +104 -0
  5. package/dist/entities/payout.d.ts +91 -0
  6. package/dist/entities/product.d.ts +92 -0
  7. package/dist/entities/review.d.ts +82 -0
  8. package/dist/entities/store.d.ts +59 -0
  9. package/dist/example.d.ts +39 -0
  10. package/dist/index.d.ts +26 -0
  11. package/dist/marketplace.feature.d.ts +11 -0
  12. package/dist/order/index.d.ts +5 -0
  13. package/dist/order/order.contracts.d.ts +367 -0
  14. package/dist/order/order.enum.d.ts +9 -0
  15. package/dist/order/order.event.d.ts +144 -0
  16. package/dist/order/order.presentation.d.ts +8 -0
  17. package/dist/order/order.schema.d.ts +164 -0
  18. package/dist/payout/index.d.ts +5 -0
  19. package/dist/payout/payout.contracts.d.ts +96 -0
  20. package/dist/payout/payout.enum.d.ts +9 -0
  21. package/dist/payout/payout.event.d.ts +62 -0
  22. package/dist/payout/payout.presentation.d.ts +7 -0
  23. package/dist/payout/payout.schema.d.ts +156 -0
  24. package/dist/product/index.d.ts +5 -0
  25. package/dist/product/product.contracts.d.ts +272 -0
  26. package/dist/product/product.enum.d.ts +9 -0
  27. package/dist/product/product.event.d.ts +72 -0
  28. package/dist/product/product.presentation.d.ts +8 -0
  29. package/dist/product/product.schema.d.ts +217 -0
  30. package/dist/review/index.d.ts +5 -0
  31. package/dist/review/review.contracts.d.ts +236 -0
  32. package/dist/review/review.enum.d.ts +9 -0
  33. package/dist/review/review.event.d.ts +54 -0
  34. package/dist/review/review.presentation.d.ts +7 -0
  35. package/dist/review/review.schema.d.ts +189 -0
  36. package/dist/store/index.d.ts +5 -0
  37. package/dist/store/store.contracts.d.ts +130 -0
  38. package/dist/store/store.enum.d.ts +9 -0
  39. package/dist/store/store.event.d.ts +50 -0
  40. package/dist/store/store.presentation.d.ts +7 -0
  41. package/dist/store/store.schema.d.ts +83 -0
  42. package/package.json +53 -53
  43. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,82 @@
1
+ import * as _lssm_lib_schema788 from "@lssm/lib.schema";
2
+
3
+ //#region src/entities/review.d.ts
4
+ /**
5
+ * Review status enum.
6
+ */
7
+ declare const ReviewStatusEnum: _lssm_lib_schema788.EntityEnumDef;
8
+ /**
9
+ * Review type enum.
10
+ */
11
+ declare const ReviewTypeEnum: _lssm_lib_schema788.EntityEnumDef;
12
+ /**
13
+ * Review entity - customer reviews and ratings.
14
+ */
15
+ declare const ReviewEntity: _lssm_lib_schema788.EntitySpec<{
16
+ id: _lssm_lib_schema788.EntityScalarField;
17
+ type: _lssm_lib_schema788.EntityEnumField;
18
+ productId: _lssm_lib_schema788.EntityScalarField;
19
+ storeId: _lssm_lib_schema788.EntityScalarField;
20
+ orderId: _lssm_lib_schema788.EntityScalarField;
21
+ orderItemId: _lssm_lib_schema788.EntityScalarField;
22
+ authorId: _lssm_lib_schema788.EntityScalarField;
23
+ rating: _lssm_lib_schema788.EntityScalarField;
24
+ title: _lssm_lib_schema788.EntityScalarField;
25
+ content: _lssm_lib_schema788.EntityScalarField;
26
+ isVerifiedPurchase: _lssm_lib_schema788.EntityScalarField;
27
+ status: _lssm_lib_schema788.EntityEnumField;
28
+ hasMedia: _lssm_lib_schema788.EntityScalarField;
29
+ helpfulCount: _lssm_lib_schema788.EntityScalarField;
30
+ notHelpfulCount: _lssm_lib_schema788.EntityScalarField;
31
+ moderatedBy: _lssm_lib_schema788.EntityScalarField;
32
+ moderatedAt: _lssm_lib_schema788.EntityScalarField;
33
+ moderationNote: _lssm_lib_schema788.EntityScalarField;
34
+ hasResponse: _lssm_lib_schema788.EntityScalarField;
35
+ createdAt: _lssm_lib_schema788.EntityScalarField;
36
+ updatedAt: _lssm_lib_schema788.EntityScalarField;
37
+ product: _lssm_lib_schema788.EntityRelationField;
38
+ store: _lssm_lib_schema788.EntityRelationField;
39
+ responses: _lssm_lib_schema788.EntityRelationField;
40
+ votes: _lssm_lib_schema788.EntityRelationField;
41
+ }>;
42
+ /**
43
+ * Review response entity - seller responses to reviews.
44
+ */
45
+ declare const ReviewResponseEntity: _lssm_lib_schema788.EntitySpec<{
46
+ id: _lssm_lib_schema788.EntityScalarField;
47
+ reviewId: _lssm_lib_schema788.EntityScalarField;
48
+ authorId: _lssm_lib_schema788.EntityScalarField;
49
+ content: _lssm_lib_schema788.EntityScalarField;
50
+ createdAt: _lssm_lib_schema788.EntityScalarField;
51
+ updatedAt: _lssm_lib_schema788.EntityScalarField;
52
+ review: _lssm_lib_schema788.EntityRelationField;
53
+ }>;
54
+ /**
55
+ * Review vote entity - helpfulness votes.
56
+ */
57
+ declare const ReviewVoteEntity: _lssm_lib_schema788.EntitySpec<{
58
+ id: _lssm_lib_schema788.EntityScalarField;
59
+ reviewId: _lssm_lib_schema788.EntityScalarField;
60
+ userId: _lssm_lib_schema788.EntityScalarField;
61
+ isHelpful: _lssm_lib_schema788.EntityScalarField;
62
+ createdAt: _lssm_lib_schema788.EntityScalarField;
63
+ review: _lssm_lib_schema788.EntityRelationField;
64
+ }>;
65
+ /**
66
+ * Review report entity - flagged reviews.
67
+ */
68
+ declare const ReviewReportEntity: _lssm_lib_schema788.EntitySpec<{
69
+ id: _lssm_lib_schema788.EntityScalarField;
70
+ reviewId: _lssm_lib_schema788.EntityScalarField;
71
+ reporterId: _lssm_lib_schema788.EntityScalarField;
72
+ reason: _lssm_lib_schema788.EntityScalarField;
73
+ details: _lssm_lib_schema788.EntityScalarField;
74
+ status: _lssm_lib_schema788.EntityScalarField;
75
+ resolvedBy: _lssm_lib_schema788.EntityScalarField;
76
+ resolvedAt: _lssm_lib_schema788.EntityScalarField;
77
+ resolution: _lssm_lib_schema788.EntityScalarField;
78
+ createdAt: _lssm_lib_schema788.EntityScalarField;
79
+ review: _lssm_lib_schema788.EntityRelationField;
80
+ }>;
81
+ //#endregion
82
+ export { ReviewEntity, ReviewReportEntity, ReviewResponseEntity, ReviewStatusEnum, ReviewTypeEnum, ReviewVoteEntity };
@@ -0,0 +1,59 @@
1
+ import * as _lssm_lib_schema992 from "@lssm/lib.schema";
2
+
3
+ //#region src/entities/store.d.ts
4
+ /**
5
+ * Store status enum.
6
+ */
7
+ declare const StoreStatusEnum: _lssm_lib_schema992.EntityEnumDef;
8
+ /**
9
+ * Store type enum.
10
+ */
11
+ declare const StoreTypeEnum: _lssm_lib_schema992.EntityEnumDef;
12
+ /**
13
+ * Store entity - a seller's storefront on the marketplace.
14
+ */
15
+ declare const StoreEntity: _lssm_lib_schema992.EntitySpec<{
16
+ id: _lssm_lib_schema992.EntityScalarField;
17
+ name: _lssm_lib_schema992.EntityScalarField;
18
+ slug: _lssm_lib_schema992.EntityScalarField;
19
+ description: _lssm_lib_schema992.EntityScalarField;
20
+ status: _lssm_lib_schema992.EntityEnumField;
21
+ type: _lssm_lib_schema992.EntityEnumField;
22
+ ownerId: _lssm_lib_schema992.EntityScalarField;
23
+ organizationId: _lssm_lib_schema992.EntityScalarField;
24
+ logoFileId: _lssm_lib_schema992.EntityScalarField;
25
+ bannerFileId: _lssm_lib_schema992.EntityScalarField;
26
+ email: _lssm_lib_schema992.EntityScalarField;
27
+ phone: _lssm_lib_schema992.EntityScalarField;
28
+ website: _lssm_lib_schema992.EntityScalarField;
29
+ country: _lssm_lib_schema992.EntityScalarField;
30
+ currency: _lssm_lib_schema992.EntityScalarField;
31
+ timezone: _lssm_lib_schema992.EntityScalarField;
32
+ commissionRate: _lssm_lib_schema992.EntityScalarField;
33
+ isVerified: _lssm_lib_schema992.EntityScalarField;
34
+ verifiedAt: _lssm_lib_schema992.EntityScalarField;
35
+ settings: _lssm_lib_schema992.EntityScalarField;
36
+ metadata: _lssm_lib_schema992.EntityScalarField;
37
+ totalProducts: _lssm_lib_schema992.EntityScalarField;
38
+ totalOrders: _lssm_lib_schema992.EntityScalarField;
39
+ totalRevenue: _lssm_lib_schema992.EntityScalarField;
40
+ averageRating: _lssm_lib_schema992.EntityScalarField;
41
+ createdAt: _lssm_lib_schema992.EntityScalarField;
42
+ updatedAt: _lssm_lib_schema992.EntityScalarField;
43
+ products: _lssm_lib_schema992.EntityRelationField;
44
+ orders: _lssm_lib_schema992.EntityRelationField;
45
+ payouts: _lssm_lib_schema992.EntityRelationField;
46
+ }>;
47
+ /**
48
+ * Store category entity - categorization for stores.
49
+ */
50
+ declare const StoreCategoryEntity: _lssm_lib_schema992.EntitySpec<{
51
+ id: _lssm_lib_schema992.EntityScalarField;
52
+ storeId: _lssm_lib_schema992.EntityScalarField;
53
+ categoryId: _lssm_lib_schema992.EntityScalarField;
54
+ isPrimary: _lssm_lib_schema992.EntityScalarField;
55
+ createdAt: _lssm_lib_schema992.EntityScalarField;
56
+ store: _lssm_lib_schema992.EntityRelationField;
57
+ }>;
58
+ //#endregion
59
+ export { StoreCategoryEntity, StoreEntity, StoreStatusEnum, StoreTypeEnum };
@@ -0,0 +1,39 @@
1
+ //#region src/example.d.ts
2
+ declare const example: {
3
+ readonly id: "marketplace";
4
+ readonly title: "Marketplace (2-sided)";
5
+ readonly summary: "Two-sided marketplace with stores, products, orders, payouts, and reviews (multi-actor flows).";
6
+ readonly tags: readonly ["marketplace", "orders", "payouts", "reviews"];
7
+ readonly kind: "template";
8
+ readonly visibility: "public";
9
+ readonly docs: {
10
+ readonly rootDocId: "docs.examples.marketplace";
11
+ readonly goalDocId: "docs.examples.marketplace.goal";
12
+ readonly usageDocId: "docs.examples.marketplace.usage";
13
+ readonly constraintsDocId: "docs.examples.marketplace.constraints";
14
+ };
15
+ readonly entrypoints: {
16
+ readonly packageName: "@lssm/example.marketplace";
17
+ readonly feature: "./feature";
18
+ readonly contracts: "./contracts";
19
+ readonly presentations: "./presentations";
20
+ readonly handlers: "./handlers";
21
+ readonly docs: "./docs";
22
+ };
23
+ readonly surfaces: {
24
+ readonly templates: true;
25
+ readonly sandbox: {
26
+ readonly enabled: true;
27
+ readonly modes: readonly ["playground", "specs", "builder", "markdown", "evolution"];
28
+ };
29
+ readonly studio: {
30
+ readonly enabled: true;
31
+ readonly installable: true;
32
+ };
33
+ readonly mcp: {
34
+ readonly enabled: true;
35
+ };
36
+ };
37
+ };
38
+ //#endregion
39
+ export { example as default };
@@ -0,0 +1,26 @@
1
+ import { StoreStatusEnum } from "./store/store.enum.js";
2
+ import { CreateStoreInputModel, StoreModel } from "./store/store.schema.js";
3
+ import { CreateStoreContract } from "./store/store.contracts.js";
4
+ import { StoreCreatedEvent, StoreStatusChangedEvent } from "./store/store.event.js";
5
+ import "./store/index.js";
6
+ import { ProductStatusEnum } from "./product/product.enum.js";
7
+ import { CreateProductInputModel, ListProductsInputModel, ListProductsOutputModel, ProductModel } from "./product/product.schema.js";
8
+ import { CreateProductContract, ListProductsContract } from "./product/product.contracts.js";
9
+ import { InventoryUpdatedEvent, ProductCreatedEvent, ProductPublishedEvent } from "./product/product.event.js";
10
+ import "./product/index.js";
11
+ import { OrderStatusEnum } from "./order/order.enum.js";
12
+ import { CreateOrderInputModel, OrderItemModel, OrderModel, UpdateOrderStatusInputModel } from "./order/order.schema.js";
13
+ import { CreateOrderContract, UpdateOrderStatusContract } from "./order/order.contracts.js";
14
+ import { OrderCompletedEvent, OrderCreatedEvent, OrderPaidEvent, OrderShippedEvent, OrderStatusUpdatedEvent } from "./order/order.event.js";
15
+ import "./order/index.js";
16
+ import { PayoutStatusEnum } from "./payout/payout.enum.js";
17
+ import { ListPayoutsInputModel, ListPayoutsOutputModel, PayoutModel } from "./payout/payout.schema.js";
18
+ import { ListPayoutsContract } from "./payout/payout.contracts.js";
19
+ import { PayoutCreatedEvent, PayoutPaidEvent } from "./payout/payout.event.js";
20
+ import "./payout/index.js";
21
+ import { ReviewStatusEnum } from "./review/review.enum.js";
22
+ import { CreateReviewInputModel, ListReviewsInputModel, ListReviewsOutputModel, ReviewModel } from "./review/review.schema.js";
23
+ import { CreateReviewContract, ListReviewsContract } from "./review/review.contracts.js";
24
+ import { ReviewCreatedEvent, ReviewRespondedEvent } from "./review/review.event.js";
25
+ import "./review/index.js";
26
+ export { CreateOrderContract, CreateOrderInputModel, CreateProductContract, CreateProductInputModel, CreateReviewContract, CreateReviewInputModel, CreateStoreContract, CreateStoreInputModel, InventoryUpdatedEvent, ListPayoutsContract, ListPayoutsInputModel, ListPayoutsOutputModel, ListProductsContract, ListProductsInputModel, ListProductsOutputModel, ListReviewsContract, ListReviewsInputModel, ListReviewsOutputModel, OrderCompletedEvent, OrderCreatedEvent, OrderItemModel, OrderModel, OrderPaidEvent, OrderShippedEvent, OrderStatusEnum, OrderStatusUpdatedEvent, PayoutCreatedEvent, PayoutModel, PayoutPaidEvent, PayoutStatusEnum, ProductCreatedEvent, ProductModel, ProductPublishedEvent, ProductStatusEnum, ReviewCreatedEvent, ReviewModel, ReviewRespondedEvent, ReviewStatusEnum, StoreCreatedEvent, StoreModel, StoreStatusChangedEvent, StoreStatusEnum, UpdateOrderStatusContract, UpdateOrderStatusInputModel };
@@ -0,0 +1,11 @@
1
+ import { FeatureModuleSpec } from "@lssm/lib.contracts";
2
+
3
+ //#region src/marketplace.feature.d.ts
4
+
5
+ /**
6
+ * Marketplace feature module that bundles multi-vendor marketplace
7
+ * capabilities including stores, products, orders, payouts, and reviews.
8
+ */
9
+ declare const MarketplaceFeature: FeatureModuleSpec;
10
+ //#endregion
11
+ export { MarketplaceFeature };
@@ -0,0 +1,5 @@
1
+ import { OrderStatusEnum } from "./order.enum.js";
2
+ import { CreateOrderInputModel, OrderItemModel, OrderModel, UpdateOrderStatusInputModel } from "./order.schema.js";
3
+ import { CreateOrderContract, UpdateOrderStatusContract } from "./order.contracts.js";
4
+ import { OrderCompletedEvent, OrderCreatedEvent, OrderPaidEvent, OrderShippedEvent, OrderStatusUpdatedEvent } from "./order.event.js";
5
+ export { CreateOrderContract, CreateOrderInputModel, OrderCompletedEvent, OrderCreatedEvent, OrderItemModel, OrderModel, OrderPaidEvent, OrderShippedEvent, OrderStatusEnum, OrderStatusUpdatedEvent, UpdateOrderStatusContract, UpdateOrderStatusInputModel };
@@ -0,0 +1,367 @@
1
+ import * as _lssm_lib_schema14 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts1 from "@lssm/lib.contracts";
3
+
4
+ //#region src/order/order.contracts.d.ts
5
+ /**
6
+ * Create a new order.
7
+ */
8
+ declare const CreateOrderContract: _lssm_lib_contracts1.ContractSpec<_lssm_lib_schema14.SchemaModel<{
9
+ storeId: {
10
+ type: _lssm_lib_schema14.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ items: {
14
+ type: _lssm_lib_schema14.FieldType<unknown, unknown>;
15
+ isOptional: false;
16
+ description: string;
17
+ };
18
+ shippingAddress: {
19
+ type: _lssm_lib_schema14.FieldType<unknown, unknown>;
20
+ isOptional: true;
21
+ };
22
+ billingAddress: {
23
+ type: _lssm_lib_schema14.FieldType<unknown, unknown>;
24
+ isOptional: true;
25
+ };
26
+ buyerNote: {
27
+ type: _lssm_lib_schema14.FieldType<string, string>;
28
+ isOptional: true;
29
+ };
30
+ }>, _lssm_lib_schema14.SchemaModel<{
31
+ id: {
32
+ type: _lssm_lib_schema14.FieldType<string, string>;
33
+ isOptional: false;
34
+ };
35
+ orderNumber: {
36
+ type: _lssm_lib_schema14.FieldType<string, string>;
37
+ isOptional: false;
38
+ };
39
+ buyerId: {
40
+ type: _lssm_lib_schema14.FieldType<string, string>;
41
+ isOptional: false;
42
+ };
43
+ storeId: {
44
+ type: _lssm_lib_schema14.FieldType<string, string>;
45
+ isOptional: false;
46
+ };
47
+ status: {
48
+ type: _lssm_lib_schema14.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
49
+ isOptional: false;
50
+ };
51
+ subtotal: {
52
+ type: _lssm_lib_schema14.FieldType<number, number>;
53
+ isOptional: false;
54
+ };
55
+ shippingTotal: {
56
+ type: _lssm_lib_schema14.FieldType<number, number>;
57
+ isOptional: false;
58
+ };
59
+ taxTotal: {
60
+ type: _lssm_lib_schema14.FieldType<number, number>;
61
+ isOptional: false;
62
+ };
63
+ total: {
64
+ type: _lssm_lib_schema14.FieldType<number, number>;
65
+ isOptional: false;
66
+ };
67
+ currency: {
68
+ type: _lssm_lib_schema14.FieldType<string, string>;
69
+ isOptional: false;
70
+ };
71
+ items: {
72
+ type: _lssm_lib_schema14.SchemaModel<{
73
+ id: {
74
+ type: _lssm_lib_schema14.FieldType<string, string>;
75
+ isOptional: false;
76
+ };
77
+ productId: {
78
+ type: _lssm_lib_schema14.FieldType<string, string>;
79
+ isOptional: false;
80
+ };
81
+ productName: {
82
+ type: _lssm_lib_schema14.FieldType<string, string>;
83
+ isOptional: false;
84
+ };
85
+ unitPrice: {
86
+ type: _lssm_lib_schema14.FieldType<number, number>;
87
+ isOptional: false;
88
+ };
89
+ quantity: {
90
+ type: _lssm_lib_schema14.FieldType<number, number>;
91
+ isOptional: false;
92
+ };
93
+ subtotal: {
94
+ type: _lssm_lib_schema14.FieldType<number, number>;
95
+ isOptional: false;
96
+ };
97
+ }>;
98
+ isArray: true;
99
+ isOptional: true;
100
+ };
101
+ createdAt: {
102
+ type: _lssm_lib_schema14.FieldType<Date, string>;
103
+ isOptional: false;
104
+ };
105
+ }>, {
106
+ name: string;
107
+ version: number;
108
+ when: string;
109
+ payload: _lssm_lib_schema14.SchemaModel<{
110
+ id: {
111
+ type: _lssm_lib_schema14.FieldType<string, string>;
112
+ isOptional: false;
113
+ };
114
+ orderNumber: {
115
+ type: _lssm_lib_schema14.FieldType<string, string>;
116
+ isOptional: false;
117
+ };
118
+ buyerId: {
119
+ type: _lssm_lib_schema14.FieldType<string, string>;
120
+ isOptional: false;
121
+ };
122
+ storeId: {
123
+ type: _lssm_lib_schema14.FieldType<string, string>;
124
+ isOptional: false;
125
+ };
126
+ status: {
127
+ type: _lssm_lib_schema14.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
128
+ isOptional: false;
129
+ };
130
+ subtotal: {
131
+ type: _lssm_lib_schema14.FieldType<number, number>;
132
+ isOptional: false;
133
+ };
134
+ shippingTotal: {
135
+ type: _lssm_lib_schema14.FieldType<number, number>;
136
+ isOptional: false;
137
+ };
138
+ taxTotal: {
139
+ type: _lssm_lib_schema14.FieldType<number, number>;
140
+ isOptional: false;
141
+ };
142
+ total: {
143
+ type: _lssm_lib_schema14.FieldType<number, number>;
144
+ isOptional: false;
145
+ };
146
+ currency: {
147
+ type: _lssm_lib_schema14.FieldType<string, string>;
148
+ isOptional: false;
149
+ };
150
+ items: {
151
+ type: _lssm_lib_schema14.SchemaModel<{
152
+ id: {
153
+ type: _lssm_lib_schema14.FieldType<string, string>;
154
+ isOptional: false;
155
+ };
156
+ productId: {
157
+ type: _lssm_lib_schema14.FieldType<string, string>;
158
+ isOptional: false;
159
+ };
160
+ productName: {
161
+ type: _lssm_lib_schema14.FieldType<string, string>;
162
+ isOptional: false;
163
+ };
164
+ unitPrice: {
165
+ type: _lssm_lib_schema14.FieldType<number, number>;
166
+ isOptional: false;
167
+ };
168
+ quantity: {
169
+ type: _lssm_lib_schema14.FieldType<number, number>;
170
+ isOptional: false;
171
+ };
172
+ subtotal: {
173
+ type: _lssm_lib_schema14.FieldType<number, number>;
174
+ isOptional: false;
175
+ };
176
+ }>;
177
+ isArray: true;
178
+ isOptional: true;
179
+ };
180
+ createdAt: {
181
+ type: _lssm_lib_schema14.FieldType<Date, string>;
182
+ isOptional: false;
183
+ };
184
+ }>;
185
+ }[]>;
186
+ /**
187
+ * Update order status.
188
+ */
189
+ declare const UpdateOrderStatusContract: _lssm_lib_contracts1.ContractSpec<_lssm_lib_schema14.SchemaModel<{
190
+ orderId: {
191
+ type: _lssm_lib_schema14.FieldType<string, string>;
192
+ isOptional: false;
193
+ };
194
+ status: {
195
+ type: _lssm_lib_schema14.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
196
+ isOptional: false;
197
+ };
198
+ trackingNumber: {
199
+ type: _lssm_lib_schema14.FieldType<string, string>;
200
+ isOptional: true;
201
+ };
202
+ trackingUrl: {
203
+ type: _lssm_lib_schema14.FieldType<string, string>;
204
+ isOptional: true;
205
+ };
206
+ note: {
207
+ type: _lssm_lib_schema14.FieldType<string, string>;
208
+ isOptional: true;
209
+ };
210
+ }>, _lssm_lib_schema14.SchemaModel<{
211
+ id: {
212
+ type: _lssm_lib_schema14.FieldType<string, string>;
213
+ isOptional: false;
214
+ };
215
+ orderNumber: {
216
+ type: _lssm_lib_schema14.FieldType<string, string>;
217
+ isOptional: false;
218
+ };
219
+ buyerId: {
220
+ type: _lssm_lib_schema14.FieldType<string, string>;
221
+ isOptional: false;
222
+ };
223
+ storeId: {
224
+ type: _lssm_lib_schema14.FieldType<string, string>;
225
+ isOptional: false;
226
+ };
227
+ status: {
228
+ type: _lssm_lib_schema14.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
229
+ isOptional: false;
230
+ };
231
+ subtotal: {
232
+ type: _lssm_lib_schema14.FieldType<number, number>;
233
+ isOptional: false;
234
+ };
235
+ shippingTotal: {
236
+ type: _lssm_lib_schema14.FieldType<number, number>;
237
+ isOptional: false;
238
+ };
239
+ taxTotal: {
240
+ type: _lssm_lib_schema14.FieldType<number, number>;
241
+ isOptional: false;
242
+ };
243
+ total: {
244
+ type: _lssm_lib_schema14.FieldType<number, number>;
245
+ isOptional: false;
246
+ };
247
+ currency: {
248
+ type: _lssm_lib_schema14.FieldType<string, string>;
249
+ isOptional: false;
250
+ };
251
+ items: {
252
+ type: _lssm_lib_schema14.SchemaModel<{
253
+ id: {
254
+ type: _lssm_lib_schema14.FieldType<string, string>;
255
+ isOptional: false;
256
+ };
257
+ productId: {
258
+ type: _lssm_lib_schema14.FieldType<string, string>;
259
+ isOptional: false;
260
+ };
261
+ productName: {
262
+ type: _lssm_lib_schema14.FieldType<string, string>;
263
+ isOptional: false;
264
+ };
265
+ unitPrice: {
266
+ type: _lssm_lib_schema14.FieldType<number, number>;
267
+ isOptional: false;
268
+ };
269
+ quantity: {
270
+ type: _lssm_lib_schema14.FieldType<number, number>;
271
+ isOptional: false;
272
+ };
273
+ subtotal: {
274
+ type: _lssm_lib_schema14.FieldType<number, number>;
275
+ isOptional: false;
276
+ };
277
+ }>;
278
+ isArray: true;
279
+ isOptional: true;
280
+ };
281
+ createdAt: {
282
+ type: _lssm_lib_schema14.FieldType<Date, string>;
283
+ isOptional: false;
284
+ };
285
+ }>, {
286
+ name: string;
287
+ version: number;
288
+ when: string;
289
+ payload: _lssm_lib_schema14.SchemaModel<{
290
+ id: {
291
+ type: _lssm_lib_schema14.FieldType<string, string>;
292
+ isOptional: false;
293
+ };
294
+ orderNumber: {
295
+ type: _lssm_lib_schema14.FieldType<string, string>;
296
+ isOptional: false;
297
+ };
298
+ buyerId: {
299
+ type: _lssm_lib_schema14.FieldType<string, string>;
300
+ isOptional: false;
301
+ };
302
+ storeId: {
303
+ type: _lssm_lib_schema14.FieldType<string, string>;
304
+ isOptional: false;
305
+ };
306
+ status: {
307
+ type: _lssm_lib_schema14.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
308
+ isOptional: false;
309
+ };
310
+ subtotal: {
311
+ type: _lssm_lib_schema14.FieldType<number, number>;
312
+ isOptional: false;
313
+ };
314
+ shippingTotal: {
315
+ type: _lssm_lib_schema14.FieldType<number, number>;
316
+ isOptional: false;
317
+ };
318
+ taxTotal: {
319
+ type: _lssm_lib_schema14.FieldType<number, number>;
320
+ isOptional: false;
321
+ };
322
+ total: {
323
+ type: _lssm_lib_schema14.FieldType<number, number>;
324
+ isOptional: false;
325
+ };
326
+ currency: {
327
+ type: _lssm_lib_schema14.FieldType<string, string>;
328
+ isOptional: false;
329
+ };
330
+ items: {
331
+ type: _lssm_lib_schema14.SchemaModel<{
332
+ id: {
333
+ type: _lssm_lib_schema14.FieldType<string, string>;
334
+ isOptional: false;
335
+ };
336
+ productId: {
337
+ type: _lssm_lib_schema14.FieldType<string, string>;
338
+ isOptional: false;
339
+ };
340
+ productName: {
341
+ type: _lssm_lib_schema14.FieldType<string, string>;
342
+ isOptional: false;
343
+ };
344
+ unitPrice: {
345
+ type: _lssm_lib_schema14.FieldType<number, number>;
346
+ isOptional: false;
347
+ };
348
+ quantity: {
349
+ type: _lssm_lib_schema14.FieldType<number, number>;
350
+ isOptional: false;
351
+ };
352
+ subtotal: {
353
+ type: _lssm_lib_schema14.FieldType<number, number>;
354
+ isOptional: false;
355
+ };
356
+ }>;
357
+ isArray: true;
358
+ isOptional: true;
359
+ };
360
+ createdAt: {
361
+ type: _lssm_lib_schema14.FieldType<Date, string>;
362
+ isOptional: false;
363
+ };
364
+ }>;
365
+ }[]>;
366
+ //#endregion
367
+ export { CreateOrderContract, UpdateOrderStatusContract };
@@ -0,0 +1,9 @@
1
+ import * as _lssm_lib_schema102 from "@lssm/lib.schema";
2
+
3
+ //#region src/order/order.enum.d.ts
4
+ /**
5
+ * Order status enum.
6
+ */
7
+ declare const OrderStatusEnum: _lssm_lib_schema102.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
8
+ //#endregion
9
+ export { OrderStatusEnum };