@contractspec/example.marketplace 1.47.0 → 1.48.0
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/entities/store.d.ts.map +1 -1
- package/dist/marketplace.capability.d.ts +4 -4
- package/dist/marketplace.capability.d.ts.map +1 -1
- package/dist/marketplace.feature.d.ts +2 -2
- package/dist/marketplace.feature.d.ts.map +1 -1
- package/dist/order/order.enum.d.ts +2 -2
- package/dist/order/order.enum.d.ts.map +1 -1
- package/dist/order/order.event.d.ts +39 -39
- package/dist/order/order.event.d.ts.map +1 -1
- package/dist/order/order.operations.d.ts +90 -90
- package/dist/order/order.operations.d.ts.map +1 -1
- package/dist/order/order.presentation.d.ts +4 -4
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/payout/payout.enum.d.ts +2 -2
- package/dist/payout/payout.enum.d.ts.map +1 -1
- package/dist/payout/payout.event.d.ts +17 -17
- package/dist/payout/payout.event.d.ts.map +1 -1
- package/dist/payout/payout.operations.d.ts +24 -24
- package/dist/payout/payout.operations.d.ts.map +1 -1
- package/dist/payout/payout.presentation.d.ts +3 -3
- package/dist/payout/payout.presentation.d.ts.map +1 -1
- package/dist/payout/payout.schema.d.ts +37 -37
- package/dist/payout/payout.schema.d.ts.map +1 -1
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.enum.d.ts.map +1 -1
- package/dist/product/product.event.d.ts +20 -20
- package/dist/product/product.event.d.ts.map +1 -1
- package/dist/product/product.operations.d.ts +68 -68
- package/dist/product/product.operations.d.ts.map +1 -1
- package/dist/product/product.presentation.d.ts +4 -4
- package/dist/product/product.presentation.d.ts.map +1 -1
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/review/review.enum.d.ts +2 -2
- package/dist/review/review.event.d.ts +15 -15
- package/dist/review/review.operations.d.ts +59 -59
- package/dist/review/review.presentation.d.ts +3 -3
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/store/store.enum.d.ts +2 -2
- package/dist/store/store.enum.d.ts.map +1 -1
- package/dist/store/store.event.d.ts +14 -14
- package/dist/store/store.event.d.ts.map +1 -1
- package/dist/store/store.operations.d.ts +33 -33
- package/dist/store/store.operations.d.ts.map +1 -1
- package/dist/store/store.presentation.d.ts +3 -3
- package/dist/store/store.presentation.d.ts.map +1 -1
- package/dist/store/store.presentation.js.map +1 -1
- package/dist/store/store.schema.d.ts +20 -20
- package/dist/store/store.schema.d.ts.map +1 -1
- package/dist/tests/operations.test-spec.d.ts +6 -6
- package/package.json +8 -8
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema684 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/review.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Review status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const ReviewStatusEnum:
|
|
7
|
+
declare const ReviewStatusEnum: _contractspec_lib_schema684.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Review type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const ReviewTypeEnum:
|
|
11
|
+
declare const ReviewTypeEnum: _contractspec_lib_schema684.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Review entity - customer reviews and ratings.
|
|
14
14
|
*/
|
|
15
|
-
declare const ReviewEntity:
|
|
16
|
-
id:
|
|
17
|
-
type:
|
|
18
|
-
productId:
|
|
19
|
-
storeId:
|
|
20
|
-
orderId:
|
|
21
|
-
orderItemId:
|
|
22
|
-
authorId:
|
|
23
|
-
rating:
|
|
24
|
-
title:
|
|
25
|
-
content:
|
|
26
|
-
isVerifiedPurchase:
|
|
27
|
-
status:
|
|
28
|
-
hasMedia:
|
|
29
|
-
helpfulCount:
|
|
30
|
-
notHelpfulCount:
|
|
31
|
-
moderatedBy:
|
|
32
|
-
moderatedAt:
|
|
33
|
-
moderationNote:
|
|
34
|
-
hasResponse:
|
|
35
|
-
createdAt:
|
|
36
|
-
updatedAt:
|
|
37
|
-
product:
|
|
38
|
-
store:
|
|
39
|
-
responses:
|
|
40
|
-
votes:
|
|
15
|
+
declare const ReviewEntity: _contractspec_lib_schema684.EntitySpec<{
|
|
16
|
+
id: _contractspec_lib_schema684.EntityScalarField;
|
|
17
|
+
type: _contractspec_lib_schema684.EntityEnumField;
|
|
18
|
+
productId: _contractspec_lib_schema684.EntityScalarField;
|
|
19
|
+
storeId: _contractspec_lib_schema684.EntityScalarField;
|
|
20
|
+
orderId: _contractspec_lib_schema684.EntityScalarField;
|
|
21
|
+
orderItemId: _contractspec_lib_schema684.EntityScalarField;
|
|
22
|
+
authorId: _contractspec_lib_schema684.EntityScalarField;
|
|
23
|
+
rating: _contractspec_lib_schema684.EntityScalarField;
|
|
24
|
+
title: _contractspec_lib_schema684.EntityScalarField;
|
|
25
|
+
content: _contractspec_lib_schema684.EntityScalarField;
|
|
26
|
+
isVerifiedPurchase: _contractspec_lib_schema684.EntityScalarField;
|
|
27
|
+
status: _contractspec_lib_schema684.EntityEnumField;
|
|
28
|
+
hasMedia: _contractspec_lib_schema684.EntityScalarField;
|
|
29
|
+
helpfulCount: _contractspec_lib_schema684.EntityScalarField;
|
|
30
|
+
notHelpfulCount: _contractspec_lib_schema684.EntityScalarField;
|
|
31
|
+
moderatedBy: _contractspec_lib_schema684.EntityScalarField;
|
|
32
|
+
moderatedAt: _contractspec_lib_schema684.EntityScalarField;
|
|
33
|
+
moderationNote: _contractspec_lib_schema684.EntityScalarField;
|
|
34
|
+
hasResponse: _contractspec_lib_schema684.EntityScalarField;
|
|
35
|
+
createdAt: _contractspec_lib_schema684.EntityScalarField;
|
|
36
|
+
updatedAt: _contractspec_lib_schema684.EntityScalarField;
|
|
37
|
+
product: _contractspec_lib_schema684.EntityRelationField;
|
|
38
|
+
store: _contractspec_lib_schema684.EntityRelationField;
|
|
39
|
+
responses: _contractspec_lib_schema684.EntityRelationField;
|
|
40
|
+
votes: _contractspec_lib_schema684.EntityRelationField;
|
|
41
41
|
}>;
|
|
42
42
|
/**
|
|
43
43
|
* Review response entity - seller responses to reviews.
|
|
44
44
|
*/
|
|
45
|
-
declare const ReviewResponseEntity:
|
|
46
|
-
id:
|
|
47
|
-
reviewId:
|
|
48
|
-
authorId:
|
|
49
|
-
content:
|
|
50
|
-
createdAt:
|
|
51
|
-
updatedAt:
|
|
52
|
-
review:
|
|
45
|
+
declare const ReviewResponseEntity: _contractspec_lib_schema684.EntitySpec<{
|
|
46
|
+
id: _contractspec_lib_schema684.EntityScalarField;
|
|
47
|
+
reviewId: _contractspec_lib_schema684.EntityScalarField;
|
|
48
|
+
authorId: _contractspec_lib_schema684.EntityScalarField;
|
|
49
|
+
content: _contractspec_lib_schema684.EntityScalarField;
|
|
50
|
+
createdAt: _contractspec_lib_schema684.EntityScalarField;
|
|
51
|
+
updatedAt: _contractspec_lib_schema684.EntityScalarField;
|
|
52
|
+
review: _contractspec_lib_schema684.EntityRelationField;
|
|
53
53
|
}>;
|
|
54
54
|
/**
|
|
55
55
|
* Review vote entity - helpfulness votes.
|
|
56
56
|
*/
|
|
57
|
-
declare const ReviewVoteEntity:
|
|
58
|
-
id:
|
|
59
|
-
reviewId:
|
|
60
|
-
userId:
|
|
61
|
-
isHelpful:
|
|
62
|
-
createdAt:
|
|
63
|
-
review:
|
|
57
|
+
declare const ReviewVoteEntity: _contractspec_lib_schema684.EntitySpec<{
|
|
58
|
+
id: _contractspec_lib_schema684.EntityScalarField;
|
|
59
|
+
reviewId: _contractspec_lib_schema684.EntityScalarField;
|
|
60
|
+
userId: _contractspec_lib_schema684.EntityScalarField;
|
|
61
|
+
isHelpful: _contractspec_lib_schema684.EntityScalarField;
|
|
62
|
+
createdAt: _contractspec_lib_schema684.EntityScalarField;
|
|
63
|
+
review: _contractspec_lib_schema684.EntityRelationField;
|
|
64
64
|
}>;
|
|
65
65
|
/**
|
|
66
66
|
* Review report entity - flagged reviews.
|
|
67
67
|
*/
|
|
68
|
-
declare const ReviewReportEntity:
|
|
69
|
-
id:
|
|
70
|
-
reviewId:
|
|
71
|
-
reporterId:
|
|
72
|
-
reason:
|
|
73
|
-
details:
|
|
74
|
-
status:
|
|
75
|
-
resolvedBy:
|
|
76
|
-
resolvedAt:
|
|
77
|
-
resolution:
|
|
78
|
-
createdAt:
|
|
79
|
-
review:
|
|
68
|
+
declare const ReviewReportEntity: _contractspec_lib_schema684.EntitySpec<{
|
|
69
|
+
id: _contractspec_lib_schema684.EntityScalarField;
|
|
70
|
+
reviewId: _contractspec_lib_schema684.EntityScalarField;
|
|
71
|
+
reporterId: _contractspec_lib_schema684.EntityScalarField;
|
|
72
|
+
reason: _contractspec_lib_schema684.EntityScalarField;
|
|
73
|
+
details: _contractspec_lib_schema684.EntityScalarField;
|
|
74
|
+
status: _contractspec_lib_schema684.EntityScalarField;
|
|
75
|
+
resolvedBy: _contractspec_lib_schema684.EntityScalarField;
|
|
76
|
+
resolvedAt: _contractspec_lib_schema684.EntityScalarField;
|
|
77
|
+
resolution: _contractspec_lib_schema684.EntityScalarField;
|
|
78
|
+
createdAt: _contractspec_lib_schema684.EntityScalarField;
|
|
79
|
+
review: _contractspec_lib_schema684.EntityRelationField;
|
|
80
80
|
}>;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { ReviewEntity, ReviewReportEntity, ReviewResponseEntity, ReviewStatusEnum, ReviewTypeEnum, ReviewVoteEntity };
|
package/dist/entities/store.d.ts
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema761 from "@contractspec/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: _contractspec_lib_schema761.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Store type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const StoreTypeEnum:
|
|
11
|
+
declare const StoreTypeEnum: _contractspec_lib_schema761.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: _contractspec_lib_schema761.EntitySpec<{
|
|
16
|
+
id: _contractspec_lib_schema761.EntityScalarField;
|
|
17
|
+
name: _contractspec_lib_schema761.EntityScalarField;
|
|
18
|
+
slug: _contractspec_lib_schema761.EntityScalarField;
|
|
19
|
+
description: _contractspec_lib_schema761.EntityScalarField;
|
|
20
|
+
status: _contractspec_lib_schema761.EntityEnumField;
|
|
21
|
+
type: _contractspec_lib_schema761.EntityEnumField;
|
|
22
|
+
ownerId: _contractspec_lib_schema761.EntityScalarField;
|
|
23
|
+
organizationId: _contractspec_lib_schema761.EntityScalarField;
|
|
24
|
+
logoFileId: _contractspec_lib_schema761.EntityScalarField;
|
|
25
|
+
bannerFileId: _contractspec_lib_schema761.EntityScalarField;
|
|
26
|
+
email: _contractspec_lib_schema761.EntityScalarField;
|
|
27
|
+
phone: _contractspec_lib_schema761.EntityScalarField;
|
|
28
|
+
website: _contractspec_lib_schema761.EntityScalarField;
|
|
29
|
+
country: _contractspec_lib_schema761.EntityScalarField;
|
|
30
|
+
currency: _contractspec_lib_schema761.EntityScalarField;
|
|
31
|
+
timezone: _contractspec_lib_schema761.EntityScalarField;
|
|
32
|
+
commissionRate: _contractspec_lib_schema761.EntityScalarField;
|
|
33
|
+
isVerified: _contractspec_lib_schema761.EntityScalarField;
|
|
34
|
+
verifiedAt: _contractspec_lib_schema761.EntityScalarField;
|
|
35
|
+
settings: _contractspec_lib_schema761.EntityScalarField;
|
|
36
|
+
metadata: _contractspec_lib_schema761.EntityScalarField;
|
|
37
|
+
totalProducts: _contractspec_lib_schema761.EntityScalarField;
|
|
38
|
+
totalOrders: _contractspec_lib_schema761.EntityScalarField;
|
|
39
|
+
totalRevenue: _contractspec_lib_schema761.EntityScalarField;
|
|
40
|
+
averageRating: _contractspec_lib_schema761.EntityScalarField;
|
|
41
|
+
createdAt: _contractspec_lib_schema761.EntityScalarField;
|
|
42
|
+
updatedAt: _contractspec_lib_schema761.EntityScalarField;
|
|
43
|
+
products: _contractspec_lib_schema761.EntityRelationField;
|
|
44
|
+
orders: _contractspec_lib_schema761.EntityRelationField;
|
|
45
|
+
payouts: _contractspec_lib_schema761.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: _contractspec_lib_schema761.EntitySpec<{
|
|
51
|
+
id: _contractspec_lib_schema761.EntityScalarField;
|
|
52
|
+
storeId: _contractspec_lib_schema761.EntityScalarField;
|
|
53
|
+
categoryId: _contractspec_lib_schema761.EntityScalarField;
|
|
54
|
+
isPrimary: _contractspec_lib_schema761.EntityScalarField;
|
|
55
|
+
createdAt: _contractspec_lib_schema761.EntityScalarField;
|
|
56
|
+
store: _contractspec_lib_schema761.EntityRelationField;
|
|
57
57
|
}>;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { StoreCategoryEntity, StoreEntity, StoreStatusEnum, StoreTypeEnum };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","names":[],"sources":["../../src/entities/store.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,eAKX,EAAA,
|
|
1
|
+
{"version":3,"file":"store.d.ts","names":[],"sources":["../../src/entities/store.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,eAKX,EAAA,2BAAA,CAL0B,aAK1B;AAKF;AAUA;;cAVa,eAKX,2BAAA,CALwB;;;;cAUb,yCAAW;MA8EtB,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;8DA9EsB;EAAA,SAAA,+CAAA;EAmFX,SAAA,+CAkBX;EAAA,QAAA,iDAAA;;;;;;;AAlB8B,cAAnB,mBAAmB,8BAAA,UAAA,CAAA;MAkB9B,2BAAA,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/marketplace.capability.d.ts
|
|
4
|
-
declare const MarketplaceCapability:
|
|
5
|
-
declare const EcommerceCapability:
|
|
6
|
-
declare const PaymentsCapability:
|
|
4
|
+
declare const MarketplaceCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
5
|
+
declare const EcommerceCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
6
|
+
declare const PaymentsCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { EcommerceCapability, MarketplaceCapability, PaymentsCapability };
|
|
9
9
|
//# sourceMappingURL=marketplace.capability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace.capability.d.ts","names":[],"sources":["../src/marketplace.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,uBAUX,
|
|
1
|
+
{"version":3,"file":"marketplace.capability.d.ts","names":[],"sources":["../src/marketplace.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,uBAUX,4BAAA,CAVgC;cAYrB,qBAUX,4BAAA,CAV8B;cAYnB,oBAUX,4BAAA,CAV6B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/marketplace.feature.d.ts
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import * as _contractspec_lib_contracts40 from "@contractspec/lib.contracts";
|
|
|
6
6
|
* Marketplace feature module that bundles multi-vendor marketplace
|
|
7
7
|
* capabilities including stores, products, orders, payouts, and reviews.
|
|
8
8
|
*/
|
|
9
|
-
declare const MarketplaceFeature:
|
|
9
|
+
declare const MarketplaceFeature: _contractspec_lib_contracts3.FeatureModuleSpec;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { MarketplaceFeature };
|
|
12
12
|
//# sourceMappingURL=marketplace.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace.feature.d.ts","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;AASA;cAAa,oBAqKX,
|
|
1
|
+
{"version":3,"file":"marketplace.feature.d.ts","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;AASA;cAAa,oBAqKX,4BAAA,CArK6B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/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: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { OrderStatusEnum };
|
|
10
10
|
//# sourceMappingURL=order.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.enum.d.ts","names":[],"sources":["../../src/order/order.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,eAWX,EAAA,
|
|
1
|
+
{"version":3,"file":"order.enum.d.ts","names":[],"sources":["../../src/order/order.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,eAWX,EAAA,yBAAA,CAX0B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA"}
|
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/order/order.event.d.ts
|
|
5
|
-
declare const OrderCreatedEvent:
|
|
5
|
+
declare const OrderCreatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
6
6
|
orderId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
orderNumber: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
buyerId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
storeId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
total: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
currency: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
itemCount: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
timestamp: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>>;
|
|
39
|
-
declare const OrderPaidEvent:
|
|
39
|
+
declare const OrderPaidEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
40
40
|
orderId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
orderNumber: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
total: {
|
|
49
|
-
type:
|
|
49
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
paymentMethod: {
|
|
53
|
-
type:
|
|
53
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
timestamp: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
}>>;
|
|
61
|
-
declare const OrderStatusUpdatedEvent:
|
|
61
|
+
declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
62
62
|
orderId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
orderNumber: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
previousStatus: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
newStatus: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
updatedBy: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
timestamp: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const OrderShippedEvent:
|
|
87
|
+
declare const OrderShippedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
88
88
|
orderId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
orderNumber: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
trackingNumber: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
trackingUrl: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
carrier: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
timestamp: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
}>>;
|
|
113
|
-
declare const OrderCompletedEvent:
|
|
113
|
+
declare const OrderCompletedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
114
114
|
orderId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
orderNumber: {
|
|
119
|
-
type:
|
|
119
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
buyerId: {
|
|
123
|
-
type:
|
|
123
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
storeId: {
|
|
127
|
-
type:
|
|
127
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
total: {
|
|
131
|
-
type:
|
|
131
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
sellerPayout: {
|
|
135
|
-
type:
|
|
135
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
timestamp: {
|
|
139
|
-
type:
|
|
139
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.event.d.ts","names":[],"sources":["../../src/order/order.event.ts"],"sourcesContent":[],"mappings":";;;;cA0Ea,mBAAiB,
|
|
1
|
+
{"version":3,"file":"order.event.d.ts","names":[],"sources":["../../src/order/order.event.ts"],"sourcesContent":[],"mappings":";;;;cA0Ea,mBAAiB,4BAAA,CAAA,oCAAA;;UAU5B,yBAAA,CAAA;;EAVW,CAAA;EAUX,WAAA,EAAA;;;;;;;;;6CAV4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAYjB,KAAA,EAAA;IAUX,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAVyB,SAAA,EAAA;IAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAYd,UAAA,EAAA,KAAA;EAUX,CAAA;;;;;;cAtBW,gBAAc,4BAAA,CAAA,oCAAA;;IAYS,IAAA,EAFlC,yBAAA,CAAA,SAEkC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAYvB,CAAA;EAUX,WAAA,EAAA;;;;;;;;EAV4B,aAAA,EAAA;IAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAYjB,UAAA,EAAA,KAAA;EAUX,CAAA;;;;;;cAlCW,yBAAuB,4BAAA,CAAA,oCAAA;;UAUlC,yBAAA,CAAA,SAc8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;cAZnB,mBAAiB,4BAAA,CAAA,oCAAA;;UAU5B,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAEW,qBAAmB,4BAAA,CAAA,oCAAA;;UAU9B,yBAAA,CAAA"}
|