@contractspec/example.marketplace 1.50.0 → 1.52.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.
Files changed (49) hide show
  1. package/dist/entities/index.d.ts +296 -296
  2. package/dist/entities/index.d.ts.map +1 -1
  3. package/dist/entities/order.d.ts +78 -78
  4. package/dist/entities/payout.d.ts +65 -65
  5. package/dist/entities/product.d.ts +70 -70
  6. package/dist/entities/product.d.ts.map +1 -1
  7. package/dist/entities/review.d.ts +56 -56
  8. package/dist/entities/store.d.ts +41 -41
  9. package/dist/entities/store.d.ts.map +1 -1
  10. package/dist/example.d.ts +2 -2
  11. package/dist/example.d.ts.map +1 -1
  12. package/dist/marketplace.capability.d.ts +4 -4
  13. package/dist/marketplace.capability.d.ts.map +1 -1
  14. package/dist/marketplace.feature.d.ts +2 -2
  15. package/dist/marketplace.feature.d.ts.map +1 -1
  16. package/dist/order/order.event.d.ts +6 -6
  17. package/dist/order/order.operations.d.ts +3 -3
  18. package/dist/order/order.presentation.d.ts +4 -4
  19. package/dist/order/order.presentation.d.ts.map +1 -1
  20. package/dist/order/order.schema.d.ts +39 -39
  21. package/dist/payout/payout.enum.d.ts +2 -2
  22. package/dist/payout/payout.event.d.ts +17 -17
  23. package/dist/payout/payout.operations.d.ts +24 -24
  24. package/dist/payout/payout.presentation.d.ts +3 -3
  25. package/dist/payout/payout.presentation.d.ts.map +1 -1
  26. package/dist/payout/payout.schema.d.ts +37 -37
  27. package/dist/product/product.enum.d.ts +2 -2
  28. package/dist/product/product.event.d.ts +20 -20
  29. package/dist/product/product.operations.d.ts +68 -68
  30. package/dist/product/product.presentation.d.ts +4 -4
  31. package/dist/product/product.schema.d.ts +52 -52
  32. package/dist/review/review.enum.d.ts +2 -2
  33. package/dist/review/review.event.d.ts +15 -15
  34. package/dist/review/review.event.d.ts.map +1 -1
  35. package/dist/review/review.operations.d.ts +59 -59
  36. package/dist/review/review.presentation.d.ts +3 -3
  37. package/dist/review/review.schema.d.ts +45 -45
  38. package/dist/review/review.schema.d.ts.map +1 -1
  39. package/dist/store/store.enum.d.ts +2 -2
  40. package/dist/store/store.enum.d.ts.map +1 -1
  41. package/dist/store/store.event.d.ts +14 -14
  42. package/dist/store/store.event.d.ts.map +1 -1
  43. package/dist/store/store.operations.d.ts +33 -33
  44. package/dist/store/store.operations.d.ts.map +1 -1
  45. package/dist/store/store.presentation.d.ts +3 -3
  46. package/dist/store/store.schema.d.ts +20 -20
  47. package/dist/store/store.schema.d.ts.map +1 -1
  48. package/dist/tests/operations.test-spec.d.ts +6 -6
  49. package/package.json +8 -8
@@ -1,82 +1,82 @@
1
- import * as _contractspec_lib_schema923 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema669 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: _contractspec_lib_schema923.EntityEnumDef;
7
+ declare const ReviewStatusEnum: _contractspec_lib_schema669.EntityEnumDef;
8
8
  /**
9
9
  * Review type enum.
10
10
  */
11
- declare const ReviewTypeEnum: _contractspec_lib_schema923.EntityEnumDef;
11
+ declare const ReviewTypeEnum: _contractspec_lib_schema669.EntityEnumDef;
12
12
  /**
13
13
  * Review entity - customer reviews and ratings.
14
14
  */
15
- declare const ReviewEntity: _contractspec_lib_schema923.EntitySpec<{
16
- id: _contractspec_lib_schema923.EntityScalarField;
17
- type: _contractspec_lib_schema923.EntityEnumField;
18
- productId: _contractspec_lib_schema923.EntityScalarField;
19
- storeId: _contractspec_lib_schema923.EntityScalarField;
20
- orderId: _contractspec_lib_schema923.EntityScalarField;
21
- orderItemId: _contractspec_lib_schema923.EntityScalarField;
22
- authorId: _contractspec_lib_schema923.EntityScalarField;
23
- rating: _contractspec_lib_schema923.EntityScalarField;
24
- title: _contractspec_lib_schema923.EntityScalarField;
25
- content: _contractspec_lib_schema923.EntityScalarField;
26
- isVerifiedPurchase: _contractspec_lib_schema923.EntityScalarField;
27
- status: _contractspec_lib_schema923.EntityEnumField;
28
- hasMedia: _contractspec_lib_schema923.EntityScalarField;
29
- helpfulCount: _contractspec_lib_schema923.EntityScalarField;
30
- notHelpfulCount: _contractspec_lib_schema923.EntityScalarField;
31
- moderatedBy: _contractspec_lib_schema923.EntityScalarField;
32
- moderatedAt: _contractspec_lib_schema923.EntityScalarField;
33
- moderationNote: _contractspec_lib_schema923.EntityScalarField;
34
- hasResponse: _contractspec_lib_schema923.EntityScalarField;
35
- createdAt: _contractspec_lib_schema923.EntityScalarField;
36
- updatedAt: _contractspec_lib_schema923.EntityScalarField;
37
- product: _contractspec_lib_schema923.EntityRelationField;
38
- store: _contractspec_lib_schema923.EntityRelationField;
39
- responses: _contractspec_lib_schema923.EntityRelationField;
40
- votes: _contractspec_lib_schema923.EntityRelationField;
15
+ declare const ReviewEntity: _contractspec_lib_schema669.EntitySpec<{
16
+ id: _contractspec_lib_schema669.EntityScalarField;
17
+ type: _contractspec_lib_schema669.EntityEnumField;
18
+ productId: _contractspec_lib_schema669.EntityScalarField;
19
+ storeId: _contractspec_lib_schema669.EntityScalarField;
20
+ orderId: _contractspec_lib_schema669.EntityScalarField;
21
+ orderItemId: _contractspec_lib_schema669.EntityScalarField;
22
+ authorId: _contractspec_lib_schema669.EntityScalarField;
23
+ rating: _contractspec_lib_schema669.EntityScalarField;
24
+ title: _contractspec_lib_schema669.EntityScalarField;
25
+ content: _contractspec_lib_schema669.EntityScalarField;
26
+ isVerifiedPurchase: _contractspec_lib_schema669.EntityScalarField;
27
+ status: _contractspec_lib_schema669.EntityEnumField;
28
+ hasMedia: _contractspec_lib_schema669.EntityScalarField;
29
+ helpfulCount: _contractspec_lib_schema669.EntityScalarField;
30
+ notHelpfulCount: _contractspec_lib_schema669.EntityScalarField;
31
+ moderatedBy: _contractspec_lib_schema669.EntityScalarField;
32
+ moderatedAt: _contractspec_lib_schema669.EntityScalarField;
33
+ moderationNote: _contractspec_lib_schema669.EntityScalarField;
34
+ hasResponse: _contractspec_lib_schema669.EntityScalarField;
35
+ createdAt: _contractspec_lib_schema669.EntityScalarField;
36
+ updatedAt: _contractspec_lib_schema669.EntityScalarField;
37
+ product: _contractspec_lib_schema669.EntityRelationField;
38
+ store: _contractspec_lib_schema669.EntityRelationField;
39
+ responses: _contractspec_lib_schema669.EntityRelationField;
40
+ votes: _contractspec_lib_schema669.EntityRelationField;
41
41
  }>;
42
42
  /**
43
43
  * Review response entity - seller responses to reviews.
44
44
  */
45
- declare const ReviewResponseEntity: _contractspec_lib_schema923.EntitySpec<{
46
- id: _contractspec_lib_schema923.EntityScalarField;
47
- reviewId: _contractspec_lib_schema923.EntityScalarField;
48
- authorId: _contractspec_lib_schema923.EntityScalarField;
49
- content: _contractspec_lib_schema923.EntityScalarField;
50
- createdAt: _contractspec_lib_schema923.EntityScalarField;
51
- updatedAt: _contractspec_lib_schema923.EntityScalarField;
52
- review: _contractspec_lib_schema923.EntityRelationField;
45
+ declare const ReviewResponseEntity: _contractspec_lib_schema669.EntitySpec<{
46
+ id: _contractspec_lib_schema669.EntityScalarField;
47
+ reviewId: _contractspec_lib_schema669.EntityScalarField;
48
+ authorId: _contractspec_lib_schema669.EntityScalarField;
49
+ content: _contractspec_lib_schema669.EntityScalarField;
50
+ createdAt: _contractspec_lib_schema669.EntityScalarField;
51
+ updatedAt: _contractspec_lib_schema669.EntityScalarField;
52
+ review: _contractspec_lib_schema669.EntityRelationField;
53
53
  }>;
54
54
  /**
55
55
  * Review vote entity - helpfulness votes.
56
56
  */
57
- declare const ReviewVoteEntity: _contractspec_lib_schema923.EntitySpec<{
58
- id: _contractspec_lib_schema923.EntityScalarField;
59
- reviewId: _contractspec_lib_schema923.EntityScalarField;
60
- userId: _contractspec_lib_schema923.EntityScalarField;
61
- isHelpful: _contractspec_lib_schema923.EntityScalarField;
62
- createdAt: _contractspec_lib_schema923.EntityScalarField;
63
- review: _contractspec_lib_schema923.EntityRelationField;
57
+ declare const ReviewVoteEntity: _contractspec_lib_schema669.EntitySpec<{
58
+ id: _contractspec_lib_schema669.EntityScalarField;
59
+ reviewId: _contractspec_lib_schema669.EntityScalarField;
60
+ userId: _contractspec_lib_schema669.EntityScalarField;
61
+ isHelpful: _contractspec_lib_schema669.EntityScalarField;
62
+ createdAt: _contractspec_lib_schema669.EntityScalarField;
63
+ review: _contractspec_lib_schema669.EntityRelationField;
64
64
  }>;
65
65
  /**
66
66
  * Review report entity - flagged reviews.
67
67
  */
68
- declare const ReviewReportEntity: _contractspec_lib_schema923.EntitySpec<{
69
- id: _contractspec_lib_schema923.EntityScalarField;
70
- reviewId: _contractspec_lib_schema923.EntityScalarField;
71
- reporterId: _contractspec_lib_schema923.EntityScalarField;
72
- reason: _contractspec_lib_schema923.EntityScalarField;
73
- details: _contractspec_lib_schema923.EntityScalarField;
74
- status: _contractspec_lib_schema923.EntityScalarField;
75
- resolvedBy: _contractspec_lib_schema923.EntityScalarField;
76
- resolvedAt: _contractspec_lib_schema923.EntityScalarField;
77
- resolution: _contractspec_lib_schema923.EntityScalarField;
78
- createdAt: _contractspec_lib_schema923.EntityScalarField;
79
- review: _contractspec_lib_schema923.EntityRelationField;
68
+ declare const ReviewReportEntity: _contractspec_lib_schema669.EntitySpec<{
69
+ id: _contractspec_lib_schema669.EntityScalarField;
70
+ reviewId: _contractspec_lib_schema669.EntityScalarField;
71
+ reporterId: _contractspec_lib_schema669.EntityScalarField;
72
+ reason: _contractspec_lib_schema669.EntityScalarField;
73
+ details: _contractspec_lib_schema669.EntityScalarField;
74
+ status: _contractspec_lib_schema669.EntityScalarField;
75
+ resolvedBy: _contractspec_lib_schema669.EntityScalarField;
76
+ resolvedAt: _contractspec_lib_schema669.EntityScalarField;
77
+ resolution: _contractspec_lib_schema669.EntityScalarField;
78
+ createdAt: _contractspec_lib_schema669.EntityScalarField;
79
+ review: _contractspec_lib_schema669.EntityRelationField;
80
80
  }>;
81
81
  //#endregion
82
82
  export { ReviewEntity, ReviewReportEntity, ReviewResponseEntity, ReviewStatusEnum, ReviewTypeEnum, ReviewVoteEntity };
@@ -1,59 +1,59 @@
1
- import * as _contractspec_lib_schema1111 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema746 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: _contractspec_lib_schema1111.EntityEnumDef;
7
+ declare const StoreStatusEnum: _contractspec_lib_schema746.EntityEnumDef;
8
8
  /**
9
9
  * Store type enum.
10
10
  */
11
- declare const StoreTypeEnum: _contractspec_lib_schema1111.EntityEnumDef;
11
+ declare const StoreTypeEnum: _contractspec_lib_schema746.EntityEnumDef;
12
12
  /**
13
13
  * Store entity - a seller's storefront on the marketplace.
14
14
  */
15
- declare const StoreEntity: _contractspec_lib_schema1111.EntitySpec<{
16
- id: _contractspec_lib_schema1111.EntityScalarField;
17
- name: _contractspec_lib_schema1111.EntityScalarField;
18
- slug: _contractspec_lib_schema1111.EntityScalarField;
19
- description: _contractspec_lib_schema1111.EntityScalarField;
20
- status: _contractspec_lib_schema1111.EntityEnumField;
21
- type: _contractspec_lib_schema1111.EntityEnumField;
22
- ownerId: _contractspec_lib_schema1111.EntityScalarField;
23
- organizationId: _contractspec_lib_schema1111.EntityScalarField;
24
- logoFileId: _contractspec_lib_schema1111.EntityScalarField;
25
- bannerFileId: _contractspec_lib_schema1111.EntityScalarField;
26
- email: _contractspec_lib_schema1111.EntityScalarField;
27
- phone: _contractspec_lib_schema1111.EntityScalarField;
28
- website: _contractspec_lib_schema1111.EntityScalarField;
29
- country: _contractspec_lib_schema1111.EntityScalarField;
30
- currency: _contractspec_lib_schema1111.EntityScalarField;
31
- timezone: _contractspec_lib_schema1111.EntityScalarField;
32
- commissionRate: _contractspec_lib_schema1111.EntityScalarField;
33
- isVerified: _contractspec_lib_schema1111.EntityScalarField;
34
- verifiedAt: _contractspec_lib_schema1111.EntityScalarField;
35
- settings: _contractspec_lib_schema1111.EntityScalarField;
36
- metadata: _contractspec_lib_schema1111.EntityScalarField;
37
- totalProducts: _contractspec_lib_schema1111.EntityScalarField;
38
- totalOrders: _contractspec_lib_schema1111.EntityScalarField;
39
- totalRevenue: _contractspec_lib_schema1111.EntityScalarField;
40
- averageRating: _contractspec_lib_schema1111.EntityScalarField;
41
- createdAt: _contractspec_lib_schema1111.EntityScalarField;
42
- updatedAt: _contractspec_lib_schema1111.EntityScalarField;
43
- products: _contractspec_lib_schema1111.EntityRelationField;
44
- orders: _contractspec_lib_schema1111.EntityRelationField;
45
- payouts: _contractspec_lib_schema1111.EntityRelationField;
15
+ declare const StoreEntity: _contractspec_lib_schema746.EntitySpec<{
16
+ id: _contractspec_lib_schema746.EntityScalarField;
17
+ name: _contractspec_lib_schema746.EntityScalarField;
18
+ slug: _contractspec_lib_schema746.EntityScalarField;
19
+ description: _contractspec_lib_schema746.EntityScalarField;
20
+ status: _contractspec_lib_schema746.EntityEnumField;
21
+ type: _contractspec_lib_schema746.EntityEnumField;
22
+ ownerId: _contractspec_lib_schema746.EntityScalarField;
23
+ organizationId: _contractspec_lib_schema746.EntityScalarField;
24
+ logoFileId: _contractspec_lib_schema746.EntityScalarField;
25
+ bannerFileId: _contractspec_lib_schema746.EntityScalarField;
26
+ email: _contractspec_lib_schema746.EntityScalarField;
27
+ phone: _contractspec_lib_schema746.EntityScalarField;
28
+ website: _contractspec_lib_schema746.EntityScalarField;
29
+ country: _contractspec_lib_schema746.EntityScalarField;
30
+ currency: _contractspec_lib_schema746.EntityScalarField;
31
+ timezone: _contractspec_lib_schema746.EntityScalarField;
32
+ commissionRate: _contractspec_lib_schema746.EntityScalarField;
33
+ isVerified: _contractspec_lib_schema746.EntityScalarField;
34
+ verifiedAt: _contractspec_lib_schema746.EntityScalarField;
35
+ settings: _contractspec_lib_schema746.EntityScalarField;
36
+ metadata: _contractspec_lib_schema746.EntityScalarField;
37
+ totalProducts: _contractspec_lib_schema746.EntityScalarField;
38
+ totalOrders: _contractspec_lib_schema746.EntityScalarField;
39
+ totalRevenue: _contractspec_lib_schema746.EntityScalarField;
40
+ averageRating: _contractspec_lib_schema746.EntityScalarField;
41
+ createdAt: _contractspec_lib_schema746.EntityScalarField;
42
+ updatedAt: _contractspec_lib_schema746.EntityScalarField;
43
+ products: _contractspec_lib_schema746.EntityRelationField;
44
+ orders: _contractspec_lib_schema746.EntityRelationField;
45
+ payouts: _contractspec_lib_schema746.EntityRelationField;
46
46
  }>;
47
47
  /**
48
48
  * Store category entity - categorization for stores.
49
49
  */
50
- declare const StoreCategoryEntity: _contractspec_lib_schema1111.EntitySpec<{
51
- id: _contractspec_lib_schema1111.EntityScalarField;
52
- storeId: _contractspec_lib_schema1111.EntityScalarField;
53
- categoryId: _contractspec_lib_schema1111.EntityScalarField;
54
- isPrimary: _contractspec_lib_schema1111.EntityScalarField;
55
- createdAt: _contractspec_lib_schema1111.EntityScalarField;
56
- store: _contractspec_lib_schema1111.EntityRelationField;
50
+ declare const StoreCategoryEntity: _contractspec_lib_schema746.EntitySpec<{
51
+ id: _contractspec_lib_schema746.EntityScalarField;
52
+ storeId: _contractspec_lib_schema746.EntityScalarField;
53
+ categoryId: _contractspec_lib_schema746.EntityScalarField;
54
+ isPrimary: _contractspec_lib_schema746.EntityScalarField;
55
+ createdAt: _contractspec_lib_schema746.EntityScalarField;
56
+ store: _contractspec_lib_schema746.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,4BAAA,CAL0B,aAK1B;AAKF;AAUA;;cAVa,eAKX,4BAAA,CALwB;;;;cAUb,0CAAW;MA8EtB,4BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;+DA9EsB;EAAA,SAAA,gDAAA;EAmFX,SAAA,gDAkBX;EAAA,QAAA,kDAAA;;;;;;;AAlB8B,cAAnB,mBAAmB,+BAAA,UAAA,CAAA;MAkB9B,4BAAA,CAAA"}
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"}
package/dist/example.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts42 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/example.d.ts
4
- declare const example: _contractspec_lib_contracts42.ExampleSpec;
4
+ declare const example: _contractspec_lib_contracts0.ExampleSpec;
5
5
  //#endregion
6
6
  export { example as default };
7
7
  //# sourceMappingURL=example.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAoCJ,6BAAA,CApCW"}
1
+ {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAoCJ,4BAAA,CApCW"}
@@ -1,9 +1,9 @@
1
- import * as _contractspec_lib_contracts38 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/marketplace.capability.d.ts
4
- declare const MarketplaceCapability: _contractspec_lib_contracts38.CapabilitySpec;
5
- declare const EcommerceCapability: _contractspec_lib_contracts38.CapabilitySpec;
6
- declare const PaymentsCapability: _contractspec_lib_contracts38.CapabilitySpec;
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,6BAAA,CAVgC;cAYrB,qBAUX,6BAAA,CAV8B;cAYnB,oBAUX,6BAAA,CAV6B"}
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 _contractspec_lib_contracts41 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/marketplace.feature.d.ts
4
4
 
@@ -6,7 +6,7 @@ import * as _contractspec_lib_contracts41 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: _contractspec_lib_contracts41.FeatureModuleSpec;
9
+ declare const MarketplaceFeature: _contractspec_lib_contracts8.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,6BAAA,CArK6B"}
1
+ {"version":3,"file":"marketplace.feature.d.ts","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;AASA;cAAa,oBAqKX,4BAAA,CArK6B"}
@@ -1,8 +1,8 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
2
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: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
5
+ declare const OrderCreatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
6
6
  orderId: {
7
7
  type: _contractspec_lib_schema0.FieldType<string, string>;
8
8
  isOptional: false;
@@ -36,7 +36,7 @@ declare const OrderCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contrac
36
36
  isOptional: false;
37
37
  };
38
38
  }>>;
39
- declare const OrderPaidEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
39
+ declare const OrderPaidEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
40
40
  orderId: {
41
41
  type: _contractspec_lib_schema0.FieldType<string, string>;
42
42
  isOptional: false;
@@ -58,7 +58,7 @@ declare const OrderPaidEvent: _contractspec_lib_contracts0.EventSpec<_contractsp
58
58
  isOptional: false;
59
59
  };
60
60
  }>>;
61
- declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
61
+ declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
62
62
  orderId: {
63
63
  type: _contractspec_lib_schema0.FieldType<string, string>;
64
64
  isOptional: false;
@@ -84,7 +84,7 @@ declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts0.EventSpec<_c
84
84
  isOptional: false;
85
85
  };
86
86
  }>>;
87
- declare const OrderShippedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
87
+ declare const OrderShippedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
88
88
  orderId: {
89
89
  type: _contractspec_lib_schema0.FieldType<string, string>;
90
90
  isOptional: false;
@@ -110,7 +110,7 @@ declare const OrderShippedEvent: _contractspec_lib_contracts0.EventSpec<_contrac
110
110
  isOptional: false;
111
111
  };
112
112
  }>>;
113
- declare const OrderCompletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
113
+ declare const OrderCompletedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
114
114
  orderId: {
115
115
  type: _contractspec_lib_schema0.FieldType<string, string>;
116
116
  isOptional: false;
@@ -1,11 +1,11 @@
1
- import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts9 from "@contractspec/lib.contracts";
2
2
  import * as _contractspec_lib_schema37 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/order/order.operations.d.ts
5
5
  /**
6
6
  * Create a new order.
7
7
  */
8
- declare const CreateOrderContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema37.SchemaModel<{
8
+ declare const CreateOrderContract: _contractspec_lib_contracts9.OperationSpec<_contractspec_lib_schema37.SchemaModel<{
9
9
  storeId: {
10
10
  type: _contractspec_lib_schema37.FieldType<string, string>;
11
11
  isOptional: false;
@@ -186,7 +186,7 @@ declare const CreateOrderContract: _contractspec_lib_contracts4.OperationSpec<_c
186
186
  /**
187
187
  * Update order status.
188
188
  */
189
- declare const UpdateOrderStatusContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema37.SchemaModel<{
189
+ declare const UpdateOrderStatusContract: _contractspec_lib_contracts9.OperationSpec<_contractspec_lib_schema37.SchemaModel<{
190
190
  orderId: {
191
191
  type: _contractspec_lib_schema37.FieldType<string, string>;
192
192
  isOptional: false;
@@ -1,9 +1,9 @@
1
- import * as _contractspec_lib_contracts6 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/order/order.presentation.d.ts
4
- declare const OrderListPresentation: _contractspec_lib_contracts6.PresentationSpec;
5
- declare const OrderDetailPresentation: _contractspec_lib_contracts6.PresentationSpec;
6
- declare const CheckoutPresentation: _contractspec_lib_contracts6.PresentationSpec;
4
+ declare const OrderListPresentation: _contractspec_lib_contracts11.PresentationSpec;
5
+ declare const OrderDetailPresentation: _contractspec_lib_contracts11.PresentationSpec;
6
+ declare const CheckoutPresentation: _contractspec_lib_contracts11.PresentationSpec;
7
7
  //#endregion
8
8
  export { CheckoutPresentation, OrderDetailPresentation, OrderListPresentation };
9
9
  //# sourceMappingURL=order.presentation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"order.presentation.d.ts","names":[],"sources":["../../src/order/order.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,uBAuBX,4BAAA,CAvBgC;cAyBrB,yBAwBX,4BAAA,CAxBkC;cA0BvB,sBAuBX,4BAAA,CAvB+B"}
1
+ {"version":3,"file":"order.presentation.d.ts","names":[],"sources":["../../src/order/order.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,uBAuBX,6BAAA,CAvBgC;cAyBrB,yBAwBX,6BAAA,CAxBkC;cA0BvB,sBAuBX,6BAAA,CAvB+B"}
@@ -1,103 +1,103 @@
1
- import * as _contractspec_lib_schema125 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema420 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/order/order.schema.d.ts
4
4
  /**
5
5
  * An order item.
6
6
  */
7
- declare const OrderItemModel: _contractspec_lib_schema125.SchemaModel<{
7
+ declare const OrderItemModel: _contractspec_lib_schema420.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema125.FieldType<string, string>;
9
+ type: _contractspec_lib_schema420.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  productId: {
13
- type: _contractspec_lib_schema125.FieldType<string, string>;
13
+ type: _contractspec_lib_schema420.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  productName: {
17
- type: _contractspec_lib_schema125.FieldType<string, string>;
17
+ type: _contractspec_lib_schema420.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  unitPrice: {
21
- type: _contractspec_lib_schema125.FieldType<number, number>;
21
+ type: _contractspec_lib_schema420.FieldType<number, number>;
22
22
  isOptional: false;
23
23
  };
24
24
  quantity: {
25
- type: _contractspec_lib_schema125.FieldType<number, number>;
25
+ type: _contractspec_lib_schema420.FieldType<number, number>;
26
26
  isOptional: false;
27
27
  };
28
28
  subtotal: {
29
- type: _contractspec_lib_schema125.FieldType<number, number>;
29
+ type: _contractspec_lib_schema420.FieldType<number, number>;
30
30
  isOptional: false;
31
31
  };
32
32
  }>;
33
33
  /**
34
34
  * An order.
35
35
  */
36
- declare const OrderModel: _contractspec_lib_schema125.SchemaModel<{
36
+ declare const OrderModel: _contractspec_lib_schema420.SchemaModel<{
37
37
  id: {
38
- type: _contractspec_lib_schema125.FieldType<string, string>;
38
+ type: _contractspec_lib_schema420.FieldType<string, string>;
39
39
  isOptional: false;
40
40
  };
41
41
  orderNumber: {
42
- type: _contractspec_lib_schema125.FieldType<string, string>;
42
+ type: _contractspec_lib_schema420.FieldType<string, string>;
43
43
  isOptional: false;
44
44
  };
45
45
  buyerId: {
46
- type: _contractspec_lib_schema125.FieldType<string, string>;
46
+ type: _contractspec_lib_schema420.FieldType<string, string>;
47
47
  isOptional: false;
48
48
  };
49
49
  storeId: {
50
- type: _contractspec_lib_schema125.FieldType<string, string>;
50
+ type: _contractspec_lib_schema420.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  status: {
54
- type: _contractspec_lib_schema125.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
54
+ type: _contractspec_lib_schema420.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
55
55
  isOptional: false;
56
56
  };
57
57
  subtotal: {
58
- type: _contractspec_lib_schema125.FieldType<number, number>;
58
+ type: _contractspec_lib_schema420.FieldType<number, number>;
59
59
  isOptional: false;
60
60
  };
61
61
  shippingTotal: {
62
- type: _contractspec_lib_schema125.FieldType<number, number>;
62
+ type: _contractspec_lib_schema420.FieldType<number, number>;
63
63
  isOptional: false;
64
64
  };
65
65
  taxTotal: {
66
- type: _contractspec_lib_schema125.FieldType<number, number>;
66
+ type: _contractspec_lib_schema420.FieldType<number, number>;
67
67
  isOptional: false;
68
68
  };
69
69
  total: {
70
- type: _contractspec_lib_schema125.FieldType<number, number>;
70
+ type: _contractspec_lib_schema420.FieldType<number, number>;
71
71
  isOptional: false;
72
72
  };
73
73
  currency: {
74
- type: _contractspec_lib_schema125.FieldType<string, string>;
74
+ type: _contractspec_lib_schema420.FieldType<string, string>;
75
75
  isOptional: false;
76
76
  };
77
77
  items: {
78
- type: _contractspec_lib_schema125.SchemaModel<{
78
+ type: _contractspec_lib_schema420.SchemaModel<{
79
79
  id: {
80
- type: _contractspec_lib_schema125.FieldType<string, string>;
80
+ type: _contractspec_lib_schema420.FieldType<string, string>;
81
81
  isOptional: false;
82
82
  };
83
83
  productId: {
84
- type: _contractspec_lib_schema125.FieldType<string, string>;
84
+ type: _contractspec_lib_schema420.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  productName: {
88
- type: _contractspec_lib_schema125.FieldType<string, string>;
88
+ type: _contractspec_lib_schema420.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  unitPrice: {
92
- type: _contractspec_lib_schema125.FieldType<number, number>;
92
+ type: _contractspec_lib_schema420.FieldType<number, number>;
93
93
  isOptional: false;
94
94
  };
95
95
  quantity: {
96
- type: _contractspec_lib_schema125.FieldType<number, number>;
96
+ type: _contractspec_lib_schema420.FieldType<number, number>;
97
97
  isOptional: false;
98
98
  };
99
99
  subtotal: {
100
- type: _contractspec_lib_schema125.FieldType<number, number>;
100
+ type: _contractspec_lib_schema420.FieldType<number, number>;
101
101
  isOptional: false;
102
102
  };
103
103
  }>;
@@ -105,58 +105,58 @@ declare const OrderModel: _contractspec_lib_schema125.SchemaModel<{
105
105
  isOptional: true;
106
106
  };
107
107
  createdAt: {
108
- type: _contractspec_lib_schema125.FieldType<Date, string>;
108
+ type: _contractspec_lib_schema420.FieldType<Date, string>;
109
109
  isOptional: false;
110
110
  };
111
111
  }>;
112
112
  /**
113
113
  * Input for creating an order.
114
114
  */
115
- declare const CreateOrderInputModel: _contractspec_lib_schema125.SchemaModel<{
115
+ declare const CreateOrderInputModel: _contractspec_lib_schema420.SchemaModel<{
116
116
  storeId: {
117
- type: _contractspec_lib_schema125.FieldType<string, string>;
117
+ type: _contractspec_lib_schema420.FieldType<string, string>;
118
118
  isOptional: false;
119
119
  };
120
120
  items: {
121
- type: _contractspec_lib_schema125.FieldType<unknown, unknown>;
121
+ type: _contractspec_lib_schema420.FieldType<unknown, unknown>;
122
122
  isOptional: false;
123
123
  description: string;
124
124
  };
125
125
  shippingAddress: {
126
- type: _contractspec_lib_schema125.FieldType<unknown, unknown>;
126
+ type: _contractspec_lib_schema420.FieldType<unknown, unknown>;
127
127
  isOptional: true;
128
128
  };
129
129
  billingAddress: {
130
- type: _contractspec_lib_schema125.FieldType<unknown, unknown>;
130
+ type: _contractspec_lib_schema420.FieldType<unknown, unknown>;
131
131
  isOptional: true;
132
132
  };
133
133
  buyerNote: {
134
- type: _contractspec_lib_schema125.FieldType<string, string>;
134
+ type: _contractspec_lib_schema420.FieldType<string, string>;
135
135
  isOptional: true;
136
136
  };
137
137
  }>;
138
138
  /**
139
139
  * Input for updating order status.
140
140
  */
141
- declare const UpdateOrderStatusInputModel: _contractspec_lib_schema125.SchemaModel<{
141
+ declare const UpdateOrderStatusInputModel: _contractspec_lib_schema420.SchemaModel<{
142
142
  orderId: {
143
- type: _contractspec_lib_schema125.FieldType<string, string>;
143
+ type: _contractspec_lib_schema420.FieldType<string, string>;
144
144
  isOptional: false;
145
145
  };
146
146
  status: {
147
- type: _contractspec_lib_schema125.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
147
+ type: _contractspec_lib_schema420.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
148
148
  isOptional: false;
149
149
  };
150
150
  trackingNumber: {
151
- type: _contractspec_lib_schema125.FieldType<string, string>;
151
+ type: _contractspec_lib_schema420.FieldType<string, string>;
152
152
  isOptional: true;
153
153
  };
154
154
  trackingUrl: {
155
- type: _contractspec_lib_schema125.FieldType<string, string>;
155
+ type: _contractspec_lib_schema420.FieldType<string, string>;
156
156
  isOptional: true;
157
157
  };
158
158
  note: {
159
- type: _contractspec_lib_schema125.FieldType<string, string>;
159
+ type: _contractspec_lib_schema420.FieldType<string, string>;
160
160
  isOptional: true;
161
161
  };
162
162
  }>;
@@ -1,10 +1,10 @@
1
- import * as _contractspec_lib_schema163 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema599 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/payout/payout.enum.d.ts
4
4
  /**
5
5
  * Payout status enum.
6
6
  */
7
- declare const PayoutStatusEnum: _contractspec_lib_schema163.EnumType<[string, string, string, string, string]>;
7
+ declare const PayoutStatusEnum: _contractspec_lib_schema599.EnumType<[string, string, string, string, string]>;
8
8
  //#endregion
9
9
  export { PayoutStatusEnum };
10
10
  //# sourceMappingURL=payout.enum.d.ts.map