@lssm/example.marketplace 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217062139
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/docs/marketplace.docblock.js +1 -1
- package/dist/entities/index.d.ts +296 -296
- package/dist/entities/order.d.ts +78 -78
- package/dist/entities/order.js +1 -1
- package/dist/entities/payout.d.ts +65 -65
- package/dist/entities/payout.js +1 -1
- package/dist/entities/product.d.ts +70 -70
- package/dist/entities/product.js +1 -1
- package/dist/entities/review.d.ts +56 -56
- package/dist/entities/review.js +1 -1
- package/dist/entities/store.d.ts +41 -41
- package/dist/entities/store.js +1 -1
- package/dist/index.d.ts +0 -5
- package/dist/libs/contracts/dist/capabilities/openbanking.js +1 -0
- package/dist/libs/contracts/dist/client/index.js +1 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +1 -0
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +76 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
- package/dist/libs/contracts/dist/docs/index.js +1 -0
- package/dist/libs/contracts/dist/docs/presentations.js +1 -0
- package/dist/libs/contracts/dist/docs/registry.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +262 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +41 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +1 -0
- package/dist/libs/contracts/dist/events.js +1 -0
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
- package/dist/libs/contracts/dist/index.js +1 -0
- package/dist/libs/contracts/dist/install.js +1 -0
- package/dist/libs/contracts/dist/integrations/contracts.js +1 -0
- package/dist/libs/contracts/dist/integrations/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/registry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +1 -0
- package/dist/libs/contracts/dist/jsonschema.js +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +1 -0
- package/dist/libs/contracts/dist/knowledge/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/contracts/dist/llm/index.js +1 -0
- package/dist/libs/contracts/dist/llm/prompts.js +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +1 -0
- package/dist/libs/contracts/dist/openapi.js +1 -0
- package/dist/libs/contracts/dist/ownership.js +1 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +1 -0
- package/dist/libs/contracts/dist/prompt.js +1 -0
- package/dist/libs/contracts/dist/promptRegistry.js +1 -0
- package/dist/libs/contracts/dist/regenerator/index.js +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +1 -0
- package/dist/libs/contracts/dist/registry.js +1 -0
- package/dist/libs/contracts/dist/resources.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +1 -0
- package/dist/libs/contracts/dist/server/graphql-pothos.js +1 -0
- package/dist/libs/contracts/dist/server/index.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
- package/dist/libs/contracts/dist/server/rest-express.js +1 -0
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
- package/dist/libs/contracts/dist/spec.js +1 -0
- package/dist/libs/contracts/dist/telemetry/index.js +1 -0
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
- package/dist/libs/contracts/dist/tests/index.js +1 -0
- package/dist/libs/contracts/dist/tests/runner.js +1 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/runner.js +1 -0
- package/dist/libs/schema/dist/EnumType.js +1 -0
- package/dist/libs/schema/dist/FieldType.js +1 -0
- package/dist/libs/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/schema/dist/entity/index.js +1 -0
- package/dist/libs/schema/dist/entity/types.js +1 -0
- package/dist/libs/schema/dist/index.js +1 -0
- package/dist/order/order.contracts.d.ts +90 -90
- package/dist/order/order.contracts.js +1 -1
- package/dist/order/order.enum.d.ts +2 -2
- package/dist/order/order.enum.js +1 -1
- package/dist/order/order.event.d.ts +39 -39
- package/dist/order/order.event.js +1 -1
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/order/order.schema.js +1 -1
- package/dist/payout/payout.contracts.d.ts +24 -24
- package/dist/payout/payout.contracts.js +1 -1
- package/dist/payout/payout.enum.d.ts +2 -2
- package/dist/payout/payout.enum.js +1 -1
- package/dist/payout/payout.event.d.ts +17 -17
- package/dist/payout/payout.event.js +1 -1
- package/dist/payout/payout.schema.d.ts +37 -37
- package/dist/payout/payout.schema.js +1 -1
- package/dist/product/product.contracts.d.ts +68 -68
- package/dist/product/product.contracts.js +1 -1
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.enum.js +1 -1
- package/dist/product/product.event.d.ts +20 -20
- package/dist/product/product.event.js +1 -1
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/product/product.schema.js +1 -1
- package/dist/review/review.contracts.d.ts +59 -59
- package/dist/review/review.contracts.js +1 -1
- package/dist/review/review.enum.d.ts +2 -2
- package/dist/review/review.enum.js +1 -1
- package/dist/review/review.event.d.ts +15 -15
- package/dist/review/review.event.js +1 -1
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/review/review.schema.js +1 -1
- package/dist/store/store.contracts.d.ts +33 -33
- package/dist/store/store.contracts.js +1 -1
- package/dist/store/store.enum.d.ts +2 -2
- package/dist/store/store.enum.js +1 -1
- package/dist/store/store.event.d.ts +14 -14
- package/dist/store/store.event.js +1 -1
- package/dist/store/store.schema.d.ts +20 -20
- package/dist/store/store.schema.js +1 -1
- package/package.json +12 -12
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema734 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts14 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/order/order.event.d.ts
|
|
5
|
-
declare const OrderCreatedEvent:
|
|
5
|
+
declare const OrderCreatedEvent: _lssm_lib_contracts14.EventSpec<_lssm_lib_schema734.SchemaModel<{
|
|
6
6
|
orderId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
orderNumber: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
buyerId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
storeId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
total: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema734.FieldType<number, number>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
currency: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
itemCount: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema734.FieldType<number, number>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
timestamp: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema734.FieldType<Date, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>>;
|
|
39
|
-
declare const OrderPaidEvent:
|
|
39
|
+
declare const OrderPaidEvent: _lssm_lib_contracts14.EventSpec<_lssm_lib_schema734.SchemaModel<{
|
|
40
40
|
orderId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
orderNumber: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
total: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema734.FieldType<number, number>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
paymentMethod: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
timestamp: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema734.FieldType<Date, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
}>>;
|
|
61
|
-
declare const OrderStatusUpdatedEvent:
|
|
61
|
+
declare const OrderStatusUpdatedEvent: _lssm_lib_contracts14.EventSpec<_lssm_lib_schema734.SchemaModel<{
|
|
62
62
|
orderId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
orderNumber: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
previousStatus: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
newStatus: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
updatedBy: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
timestamp: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema734.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const OrderShippedEvent:
|
|
87
|
+
declare const OrderShippedEvent: _lssm_lib_contracts14.EventSpec<_lssm_lib_schema734.SchemaModel<{
|
|
88
88
|
orderId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
orderNumber: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
trackingNumber: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
trackingUrl: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
carrier: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
timestamp: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema734.FieldType<Date, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
}>>;
|
|
113
|
-
declare const OrderCompletedEvent:
|
|
113
|
+
declare const OrderCompletedEvent: _lssm_lib_contracts14.EventSpec<_lssm_lib_schema734.SchemaModel<{
|
|
114
114
|
orderId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
orderNumber: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
buyerId: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
storeId: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema734.FieldType<string, string>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
total: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema734.FieldType<number, number>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
sellerPayout: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema734.FieldType<number, number>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
timestamp: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema734.FieldType<Date, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{e as n}from"../libs/contracts/dist/events.js";import"../libs/contracts/dist/index.js";const r=t({name:`OrderCreatedEventPayload`,fields:{orderId:{type:e.String_unsecure(),isOptional:!1},orderNumber:{type:e.String_unsecure(),isOptional:!1},buyerId:{type:e.String_unsecure(),isOptional:!1},storeId:{type:e.String_unsecure(),isOptional:!1},total:{type:e.Float_unsecure(),isOptional:!1},currency:{type:e.String_unsecure(),isOptional:!1},itemCount:{type:e.Int_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`OrderPaidEventPayload`,fields:{orderId:{type:e.String_unsecure(),isOptional:!1},orderNumber:{type:e.String_unsecure(),isOptional:!1},total:{type:e.Float_unsecure(),isOptional:!1},paymentMethod:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=t({name:`OrderStatusUpdatedEventPayload`,fields:{orderId:{type:e.String_unsecure(),isOptional:!1},orderNumber:{type:e.String_unsecure(),isOptional:!1},previousStatus:{type:e.String_unsecure(),isOptional:!1},newStatus:{type:e.String_unsecure(),isOptional:!1},updatedBy:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),o=t({name:`OrderShippedEventPayload`,fields:{orderId:{type:e.String_unsecure(),isOptional:!1},orderNumber:{type:e.String_unsecure(),isOptional:!1},trackingNumber:{type:e.String_unsecure(),isOptional:!0},trackingUrl:{type:e.String_unsecure(),isOptional:!0},carrier:{type:e.String_unsecure(),isOptional:!0},timestamp:{type:e.DateTime(),isOptional:!1}}}),s=t({name:`OrderCompletedEventPayload`,fields:{orderId:{type:e.String_unsecure(),isOptional:!1},orderNumber:{type:e.String_unsecure(),isOptional:!1},buyerId:{type:e.String_unsecure(),isOptional:!1},storeId:{type:e.String_unsecure(),isOptional:!1},total:{type:e.Float_unsecure(),isOptional:!1},sellerPayout:{type:e.Float_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),c=n({name:`marketplace.order.created`,version:1,description:`A new order has been created.`,payload:r}),l=n({name:`marketplace.order.paid`,version:1,description:`An order has been paid.`,payload:i}),u=n({name:`marketplace.order.statusUpdated`,version:1,description:`An order status has been updated.`,payload:a}),d=n({name:`marketplace.order.shipped`,version:1,description:`An order has been shipped.`,payload:o}),f=n({name:`marketplace.order.completed`,version:1,description:`An order has been completed.`,payload:s});export{f as OrderCompletedEvent,c as OrderCreatedEvent,l as OrderPaidEvent,d as OrderShippedEvent,u as OrderStatusUpdatedEvent};
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema98 from "@lssm/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:
|
|
7
|
+
declare const OrderItemModel: _lssm_lib_schema98.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
productId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
productName: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
unitPrice: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
quantity: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
subtotal: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* An order.
|
|
35
35
|
*/
|
|
36
|
-
declare const OrderModel:
|
|
36
|
+
declare const OrderModel: _lssm_lib_schema98.SchemaModel<{
|
|
37
37
|
id: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
orderNumber: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
buyerId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
storeId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
status: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema98.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
subtotal: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
shippingTotal: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
taxTotal: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
total: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
currency: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
items: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema98.SchemaModel<{
|
|
79
79
|
id: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
productId: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
productName: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
unitPrice: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
quantity: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
subtotal: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema98.FieldType<number, number>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
@@ -105,58 +105,58 @@ declare const OrderModel: _lssm_lib_schema916.SchemaModel<{
|
|
|
105
105
|
isOptional: true;
|
|
106
106
|
};
|
|
107
107
|
createdAt: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema98.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:
|
|
115
|
+
declare const CreateOrderInputModel: _lssm_lib_schema98.SchemaModel<{
|
|
116
116
|
storeId: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
items: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema98.FieldType<unknown, unknown>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
description: string;
|
|
124
124
|
};
|
|
125
125
|
shippingAddress: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema98.FieldType<unknown, unknown>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
billingAddress: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema98.FieldType<unknown, unknown>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
buyerNote: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema98.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:
|
|
141
|
+
declare const UpdateOrderStatusInputModel: _lssm_lib_schema98.SchemaModel<{
|
|
142
142
|
orderId: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
status: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema98.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
trackingNumber: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
152
152
|
isOptional: true;
|
|
153
153
|
};
|
|
154
154
|
trackingUrl: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
156
156
|
isOptional: true;
|
|
157
157
|
};
|
|
158
158
|
note: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema98.FieldType<string, string>;
|
|
160
160
|
isOptional: true;
|
|
161
161
|
};
|
|
162
162
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{OrderStatusEnum as n}from"./order.enum.js";const r=t({name:`OrderItemModel`,fields:{id:{type:e.String_unsecure(),isOptional:!1},productId:{type:e.String_unsecure(),isOptional:!1},productName:{type:e.String_unsecure(),isOptional:!1},unitPrice:{type:e.Float_unsecure(),isOptional:!1},quantity:{type:e.Int_unsecure(),isOptional:!1},subtotal:{type:e.Float_unsecure(),isOptional:!1}}}),i=t({name:`OrderModel`,description:`An order`,fields:{id:{type:e.String_unsecure(),isOptional:!1},orderNumber:{type:e.String_unsecure(),isOptional:!1},buyerId:{type:e.String_unsecure(),isOptional:!1},storeId:{type:e.String_unsecure(),isOptional:!1},status:{type:n,isOptional:!1},subtotal:{type:e.Float_unsecure(),isOptional:!1},shippingTotal:{type:e.Float_unsecure(),isOptional:!1},taxTotal:{type:e.Float_unsecure(),isOptional:!1},total:{type:e.Float_unsecure(),isOptional:!1},currency:{type:e.String_unsecure(),isOptional:!1},items:{type:r,isArray:!0,isOptional:!0},createdAt:{type:e.DateTime(),isOptional:!1}}}),a=t({name:`CreateOrderInput`,fields:{storeId:{type:e.String_unsecure(),isOptional:!1},items:{type:e.JSON(),isOptional:!1,description:`Array of {productId, variantId?, quantity}`},shippingAddress:{type:e.JSON(),isOptional:!0},billingAddress:{type:e.JSON(),isOptional:!0},buyerNote:{type:e.String_unsecure(),isOptional:!0}}}),o=t({name:`UpdateOrderStatusInput`,fields:{orderId:{type:e.String_unsecure(),isOptional:!1},status:{type:n,isOptional:!1},trackingNumber:{type:e.String_unsecure(),isOptional:!0},trackingUrl:{type:e.String_unsecure(),isOptional:!0},note:{type:e.String_unsecure(),isOptional:!0}}});export{a as CreateOrderInputModel,r as OrderItemModel,i as OrderModel,o as UpdateOrderStatusInputModel};
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema76 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/payout/payout.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* List payouts for a store.
|
|
7
7
|
*/
|
|
8
|
-
declare const ListPayoutsContract:
|
|
8
|
+
declare const ListPayoutsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema76.SchemaModel<{
|
|
9
9
|
storeId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema76.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
status: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema76.EnumType<[string, string, string, string, string]>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
limit: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
defaultValue: number;
|
|
21
21
|
};
|
|
22
22
|
offset: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
24
24
|
isOptional: true;
|
|
25
25
|
defaultValue: number;
|
|
26
26
|
};
|
|
27
|
-
}>,
|
|
27
|
+
}>, _lssm_lib_schema76.SchemaModel<{
|
|
28
28
|
payouts: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema76.SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema76.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
payoutNumber: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema76.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
storeId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema76.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
status: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema76.EnumType<[string, string, string, string, string]>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
grossAmount: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
platformFees: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
netAmount: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
currency: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema76.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
periodStart: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema76.FieldType<Date, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
periodEnd: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema76.FieldType<Date, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
orderCount: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
createdAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema76.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
paidAt: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema76.FieldType<Date, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
@@ -84,11 +84,11 @@ declare const ListPayoutsContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_
|
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
total: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
totalPending: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema76.FieldType<number, number>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as e}from"../libs/contracts/dist/spec.js";import{ListPayoutsInputModel as t,ListPayoutsOutputModel as n}from"./payout.schema.js";const r=e({meta:{name:`marketplace.payout.list`,version:1,stability:`stable`,owners:[...[`@example.marketplace`]],tags:[`marketplace`,`payout`,`list`],description:`List payouts for a store.`,goal:`View payout history.`,context:`Seller dashboard.`},io:{input:t,output:n},policy:{auth:`user`}});export{r as ListPayoutsContract};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema136 from "@lssm/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:
|
|
7
|
+
declare const PayoutStatusEnum: _lssm_lib_schema136.EnumType<[string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PayoutStatusEnum };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{r as e}from"../libs/schema/dist/EnumType.js";import"../libs/schema/dist/index.js";const t=e(`PayoutStatus`,[`PENDING`,`PROCESSING`,`PAID`,`FAILED`,`CANCELLED`]);export{t as PayoutStatusEnum};
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema772 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts19 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/payout/payout.event.d.ts
|
|
5
|
-
declare const PayoutCreatedEvent:
|
|
5
|
+
declare const PayoutCreatedEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema772.SchemaModel<{
|
|
6
6
|
payoutId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
payoutNumber: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
storeId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
netAmount: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema772.FieldType<number, number>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
currency: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
orderCount: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema772.FieldType<number, number>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
timestamp: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema772.FieldType<Date, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
}>>;
|
|
35
|
-
declare const PayoutPaidEvent:
|
|
35
|
+
declare const PayoutPaidEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema772.SchemaModel<{
|
|
36
36
|
payoutId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
payoutNumber: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
storeId: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
netAmount: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema772.FieldType<number, number>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
paymentReference: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema772.FieldType<string, string>;
|
|
54
54
|
isOptional: true;
|
|
55
55
|
};
|
|
56
56
|
timestamp: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema772.FieldType<Date, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{e as n}from"../libs/contracts/dist/events.js";import"../libs/contracts/dist/index.js";const r=t({name:`PayoutCreatedEventPayload`,fields:{payoutId:{type:e.String_unsecure(),isOptional:!1},payoutNumber:{type:e.String_unsecure(),isOptional:!1},storeId:{type:e.String_unsecure(),isOptional:!1},netAmount:{type:e.Float_unsecure(),isOptional:!1},currency:{type:e.String_unsecure(),isOptional:!1},orderCount:{type:e.Int_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`PayoutPaidEventPayload`,fields:{payoutId:{type:e.String_unsecure(),isOptional:!1},payoutNumber:{type:e.String_unsecure(),isOptional:!1},storeId:{type:e.String_unsecure(),isOptional:!1},netAmount:{type:e.Float_unsecure(),isOptional:!1},paymentReference:{type:e.String_unsecure(),isOptional:!0},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=n({name:`marketplace.payout.created`,version:1,description:`A payout has been created.`,payload:r}),o=n({name:`marketplace.payout.paid`,version:1,description:`A payout has been sent.`,payload:i});export{a as PayoutCreatedEvent,o as PayoutPaidEvent};
|