@lssm/example.marketplace 0.0.0-canary-20251217083314 → 1.41.1

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 (205) hide show
  1. package/dist/docs/index.js +1 -1
  2. package/dist/docs/marketplace.docblock.js +5 -61
  3. package/dist/entities/index.js +1 -45
  4. package/dist/entities/order.js +1 -173
  5. package/dist/entities/payout.js +1 -162
  6. package/dist/entities/product.js +1 -161
  7. package/dist/entities/review.js +1 -152
  8. package/dist/entities/store.js +1 -110
  9. package/dist/example.js +1 -50
  10. package/dist/index.js +1 -27
  11. package/dist/marketplace.feature.js +1 -308
  12. package/dist/order/index.js +1 -6
  13. package/dist/order/order.contracts.js +1 -74
  14. package/dist/order/order.enum.js +1 -22
  15. package/dist/order/order.event.js +1 -193
  16. package/dist/order/order.presentation.js +1 -72
  17. package/dist/order/order.schema.js +1 -156
  18. package/dist/payout/index.js +1 -6
  19. package/dist/payout/payout.contracts.js +1 -32
  20. package/dist/payout/payout.enum.js +1 -17
  21. package/dist/payout/payout.event.js +1 -84
  22. package/dist/payout/payout.presentation.js +1 -50
  23. package/dist/payout/payout.schema.js +1 -117
  24. package/dist/product/index.js +1 -6
  25. package/dist/product/product.contracts.js +1 -65
  26. package/dist/product/product.enum.js +1 -18
  27. package/dist/product/product.event.js +1 -103
  28. package/dist/product/product.presentation.js +1 -72
  29. package/dist/product/product.schema.js +1 -177
  30. package/dist/review/index.js +1 -6
  31. package/dist/review/review.contracts.js +1 -65
  32. package/dist/review/review.enum.js +1 -16
  33. package/dist/review/review.event.js +1 -76
  34. package/dist/review/review.presentation.js +1 -50
  35. package/dist/review/review.schema.js +1 -157
  36. package/dist/store/index.js +1 -6
  37. package/dist/store/store.contracts.js +1 -41
  38. package/dist/store/store.enum.js +1 -16
  39. package/dist/store/store.event.js +1 -72
  40. package/dist/store/store.presentation.js +1 -50
  41. package/dist/store/store.schema.js +1 -94
  42. package/dist/tsconfig.tsbuildinfo +1 -0
  43. package/package.json +53 -53
  44. package/dist/docs/index.d.ts +0 -1
  45. package/dist/docs/marketplace.docblock.d.ts +0 -1
  46. package/dist/entities/index.d.ts +0 -308
  47. package/dist/entities/order.d.ts +0 -104
  48. package/dist/entities/payout.d.ts +0 -91
  49. package/dist/entities/product.d.ts +0 -92
  50. package/dist/entities/review.d.ts +0 -82
  51. package/dist/entities/store.d.ts +0 -59
  52. package/dist/example.d.ts +0 -39
  53. package/dist/index.d.ts +0 -21
  54. package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
  55. package/dist/libs/contracts/dist/client/index.js +0 -5
  56. package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
  57. package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
  58. package/dist/libs/contracts/dist/client/react/index.js +0 -4
  59. package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
  60. package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
  61. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  62. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
  63. package/dist/libs/contracts/dist/docs/index.js +0 -29
  64. package/dist/libs/contracts/dist/docs/presentations.js +0 -71
  65. package/dist/libs/contracts/dist/docs/registry.js +0 -44
  66. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  67. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  68. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  69. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  70. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  71. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  72. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  73. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
  74. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  75. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
  76. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  77. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
  78. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
  79. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  80. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  81. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
  82. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
  83. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  84. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
  85. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
  86. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  87. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  88. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  89. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  90. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  91. package/dist/libs/contracts/dist/events.js +0 -10
  92. package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
  93. package/dist/libs/contracts/dist/index.js +0 -71
  94. package/dist/libs/contracts/dist/install.js +0 -2
  95. package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
  96. package/dist/libs/contracts/dist/integrations/index.js +0 -18
  97. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
  98. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
  99. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
  100. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
  101. package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
  102. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
  103. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
  104. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
  105. package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
  106. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
  107. package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
  108. package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
  109. package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
  110. package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
  111. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
  112. package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
  113. package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
  114. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
  115. package/dist/libs/contracts/dist/jsonschema.js +0 -1
  116. package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
  117. package/dist/libs/contracts/dist/knowledge/index.js +0 -7
  118. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
  119. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
  120. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
  121. package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
  122. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
  123. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
  124. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
  125. package/dist/libs/contracts/dist/llm/exporters.js +0 -19
  126. package/dist/libs/contracts/dist/llm/index.js +0 -2
  127. package/dist/libs/contracts/dist/llm/prompts.js +0 -1
  128. package/dist/libs/contracts/dist/onboarding-base.js +0 -196
  129. package/dist/libs/contracts/dist/openapi.js +0 -1
  130. package/dist/libs/contracts/dist/ownership.js +0 -21
  131. package/dist/libs/contracts/dist/presentations.js +0 -1
  132. package/dist/libs/contracts/dist/presentations.v2.js +0 -11
  133. package/dist/libs/contracts/dist/prompt.js +0 -1
  134. package/dist/libs/contracts/dist/promptRegistry.js +0 -1
  135. package/dist/libs/contracts/dist/regenerator/index.js +0 -1
  136. package/dist/libs/contracts/dist/regenerator/service.js +0 -6
  137. package/dist/libs/contracts/dist/registry.js +0 -2
  138. package/dist/libs/contracts/dist/resources.js +0 -1
  139. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  140. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  141. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  142. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
  143. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  144. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  145. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  146. package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
  147. package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
  148. package/dist/libs/contracts/dist/server/index.js +0 -8
  149. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
  150. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
  151. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
  152. package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
  153. package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
  154. package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
  155. package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
  156. package/dist/libs/contracts/dist/server/rest-express.js +0 -1
  157. package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
  158. package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
  159. package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
  160. package/dist/libs/contracts/dist/spec.js +0 -34
  161. package/dist/libs/contracts/dist/telemetry/index.js +0 -1
  162. package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
  163. package/dist/libs/contracts/dist/tests/index.js +0 -1
  164. package/dist/libs/contracts/dist/tests/runner.js +0 -2
  165. package/dist/libs/contracts/dist/workflow/index.js +0 -1
  166. package/dist/libs/contracts/dist/workflow/runner.js +0 -1
  167. package/dist/libs/schema/dist/EnumType.js +0 -56
  168. package/dist/libs/schema/dist/FieldType.js +0 -49
  169. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  170. package/dist/libs/schema/dist/SchemaModel.js +0 -39
  171. package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
  172. package/dist/libs/schema/dist/entity/index.js +0 -2
  173. package/dist/libs/schema/dist/entity/types.js +0 -1
  174. package/dist/libs/schema/dist/index.js +0 -6
  175. package/dist/marketplace.feature.d.ts +0 -11
  176. package/dist/order/index.d.ts +0 -5
  177. package/dist/order/order.contracts.d.ts +0 -367
  178. package/dist/order/order.enum.d.ts +0 -9
  179. package/dist/order/order.event.d.ts +0 -144
  180. package/dist/order/order.presentation.d.ts +0 -8
  181. package/dist/order/order.schema.d.ts +0 -164
  182. package/dist/payout/index.d.ts +0 -5
  183. package/dist/payout/payout.contracts.d.ts +0 -96
  184. package/dist/payout/payout.enum.d.ts +0 -9
  185. package/dist/payout/payout.event.d.ts +0 -62
  186. package/dist/payout/payout.presentation.d.ts +0 -7
  187. package/dist/payout/payout.schema.d.ts +0 -156
  188. package/dist/product/index.d.ts +0 -5
  189. package/dist/product/product.contracts.d.ts +0 -272
  190. package/dist/product/product.enum.d.ts +0 -9
  191. package/dist/product/product.event.d.ts +0 -72
  192. package/dist/product/product.presentation.d.ts +0 -8
  193. package/dist/product/product.schema.d.ts +0 -217
  194. package/dist/review/index.d.ts +0 -5
  195. package/dist/review/review.contracts.d.ts +0 -236
  196. package/dist/review/review.enum.d.ts +0 -9
  197. package/dist/review/review.event.d.ts +0 -54
  198. package/dist/review/review.presentation.d.ts +0 -7
  199. package/dist/review/review.schema.d.ts +0 -189
  200. package/dist/store/index.d.ts +0 -5
  201. package/dist/store/store.contracts.d.ts +0 -130
  202. package/dist/store/store.enum.d.ts +0 -9
  203. package/dist/store/store.event.d.ts +0 -50
  204. package/dist/store/store.presentation.d.ts +0 -7
  205. package/dist/store/store.schema.d.ts +0 -83
@@ -1,367 +0,0 @@
1
- import * as _lssm_lib_schema572 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts4 from "@lssm/lib.contracts";
3
-
4
- //#region src/order/order.contracts.d.ts
5
- /**
6
- * Create a new order.
7
- */
8
- declare const CreateOrderContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema572.SchemaModel<{
9
- storeId: {
10
- type: _lssm_lib_schema572.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- items: {
14
- type: _lssm_lib_schema572.FieldType<unknown, unknown>;
15
- isOptional: false;
16
- description: string;
17
- };
18
- shippingAddress: {
19
- type: _lssm_lib_schema572.FieldType<unknown, unknown>;
20
- isOptional: true;
21
- };
22
- billingAddress: {
23
- type: _lssm_lib_schema572.FieldType<unknown, unknown>;
24
- isOptional: true;
25
- };
26
- buyerNote: {
27
- type: _lssm_lib_schema572.FieldType<string, string>;
28
- isOptional: true;
29
- };
30
- }>, _lssm_lib_schema572.SchemaModel<{
31
- id: {
32
- type: _lssm_lib_schema572.FieldType<string, string>;
33
- isOptional: false;
34
- };
35
- orderNumber: {
36
- type: _lssm_lib_schema572.FieldType<string, string>;
37
- isOptional: false;
38
- };
39
- buyerId: {
40
- type: _lssm_lib_schema572.FieldType<string, string>;
41
- isOptional: false;
42
- };
43
- storeId: {
44
- type: _lssm_lib_schema572.FieldType<string, string>;
45
- isOptional: false;
46
- };
47
- status: {
48
- type: _lssm_lib_schema572.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
49
- isOptional: false;
50
- };
51
- subtotal: {
52
- type: _lssm_lib_schema572.FieldType<number, number>;
53
- isOptional: false;
54
- };
55
- shippingTotal: {
56
- type: _lssm_lib_schema572.FieldType<number, number>;
57
- isOptional: false;
58
- };
59
- taxTotal: {
60
- type: _lssm_lib_schema572.FieldType<number, number>;
61
- isOptional: false;
62
- };
63
- total: {
64
- type: _lssm_lib_schema572.FieldType<number, number>;
65
- isOptional: false;
66
- };
67
- currency: {
68
- type: _lssm_lib_schema572.FieldType<string, string>;
69
- isOptional: false;
70
- };
71
- items: {
72
- type: _lssm_lib_schema572.SchemaModel<{
73
- id: {
74
- type: _lssm_lib_schema572.FieldType<string, string>;
75
- isOptional: false;
76
- };
77
- productId: {
78
- type: _lssm_lib_schema572.FieldType<string, string>;
79
- isOptional: false;
80
- };
81
- productName: {
82
- type: _lssm_lib_schema572.FieldType<string, string>;
83
- isOptional: false;
84
- };
85
- unitPrice: {
86
- type: _lssm_lib_schema572.FieldType<number, number>;
87
- isOptional: false;
88
- };
89
- quantity: {
90
- type: _lssm_lib_schema572.FieldType<number, number>;
91
- isOptional: false;
92
- };
93
- subtotal: {
94
- type: _lssm_lib_schema572.FieldType<number, number>;
95
- isOptional: false;
96
- };
97
- }>;
98
- isArray: true;
99
- isOptional: true;
100
- };
101
- createdAt: {
102
- type: _lssm_lib_schema572.FieldType<Date, string>;
103
- isOptional: false;
104
- };
105
- }>, {
106
- name: string;
107
- version: number;
108
- when: string;
109
- payload: _lssm_lib_schema572.SchemaModel<{
110
- id: {
111
- type: _lssm_lib_schema572.FieldType<string, string>;
112
- isOptional: false;
113
- };
114
- orderNumber: {
115
- type: _lssm_lib_schema572.FieldType<string, string>;
116
- isOptional: false;
117
- };
118
- buyerId: {
119
- type: _lssm_lib_schema572.FieldType<string, string>;
120
- isOptional: false;
121
- };
122
- storeId: {
123
- type: _lssm_lib_schema572.FieldType<string, string>;
124
- isOptional: false;
125
- };
126
- status: {
127
- type: _lssm_lib_schema572.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
128
- isOptional: false;
129
- };
130
- subtotal: {
131
- type: _lssm_lib_schema572.FieldType<number, number>;
132
- isOptional: false;
133
- };
134
- shippingTotal: {
135
- type: _lssm_lib_schema572.FieldType<number, number>;
136
- isOptional: false;
137
- };
138
- taxTotal: {
139
- type: _lssm_lib_schema572.FieldType<number, number>;
140
- isOptional: false;
141
- };
142
- total: {
143
- type: _lssm_lib_schema572.FieldType<number, number>;
144
- isOptional: false;
145
- };
146
- currency: {
147
- type: _lssm_lib_schema572.FieldType<string, string>;
148
- isOptional: false;
149
- };
150
- items: {
151
- type: _lssm_lib_schema572.SchemaModel<{
152
- id: {
153
- type: _lssm_lib_schema572.FieldType<string, string>;
154
- isOptional: false;
155
- };
156
- productId: {
157
- type: _lssm_lib_schema572.FieldType<string, string>;
158
- isOptional: false;
159
- };
160
- productName: {
161
- type: _lssm_lib_schema572.FieldType<string, string>;
162
- isOptional: false;
163
- };
164
- unitPrice: {
165
- type: _lssm_lib_schema572.FieldType<number, number>;
166
- isOptional: false;
167
- };
168
- quantity: {
169
- type: _lssm_lib_schema572.FieldType<number, number>;
170
- isOptional: false;
171
- };
172
- subtotal: {
173
- type: _lssm_lib_schema572.FieldType<number, number>;
174
- isOptional: false;
175
- };
176
- }>;
177
- isArray: true;
178
- isOptional: true;
179
- };
180
- createdAt: {
181
- type: _lssm_lib_schema572.FieldType<Date, string>;
182
- isOptional: false;
183
- };
184
- }>;
185
- }[]>;
186
- /**
187
- * Update order status.
188
- */
189
- declare const UpdateOrderStatusContract: _lssm_lib_contracts4.ContractSpec<_lssm_lib_schema572.SchemaModel<{
190
- orderId: {
191
- type: _lssm_lib_schema572.FieldType<string, string>;
192
- isOptional: false;
193
- };
194
- status: {
195
- type: _lssm_lib_schema572.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
196
- isOptional: false;
197
- };
198
- trackingNumber: {
199
- type: _lssm_lib_schema572.FieldType<string, string>;
200
- isOptional: true;
201
- };
202
- trackingUrl: {
203
- type: _lssm_lib_schema572.FieldType<string, string>;
204
- isOptional: true;
205
- };
206
- note: {
207
- type: _lssm_lib_schema572.FieldType<string, string>;
208
- isOptional: true;
209
- };
210
- }>, _lssm_lib_schema572.SchemaModel<{
211
- id: {
212
- type: _lssm_lib_schema572.FieldType<string, string>;
213
- isOptional: false;
214
- };
215
- orderNumber: {
216
- type: _lssm_lib_schema572.FieldType<string, string>;
217
- isOptional: false;
218
- };
219
- buyerId: {
220
- type: _lssm_lib_schema572.FieldType<string, string>;
221
- isOptional: false;
222
- };
223
- storeId: {
224
- type: _lssm_lib_schema572.FieldType<string, string>;
225
- isOptional: false;
226
- };
227
- status: {
228
- type: _lssm_lib_schema572.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
229
- isOptional: false;
230
- };
231
- subtotal: {
232
- type: _lssm_lib_schema572.FieldType<number, number>;
233
- isOptional: false;
234
- };
235
- shippingTotal: {
236
- type: _lssm_lib_schema572.FieldType<number, number>;
237
- isOptional: false;
238
- };
239
- taxTotal: {
240
- type: _lssm_lib_schema572.FieldType<number, number>;
241
- isOptional: false;
242
- };
243
- total: {
244
- type: _lssm_lib_schema572.FieldType<number, number>;
245
- isOptional: false;
246
- };
247
- currency: {
248
- type: _lssm_lib_schema572.FieldType<string, string>;
249
- isOptional: false;
250
- };
251
- items: {
252
- type: _lssm_lib_schema572.SchemaModel<{
253
- id: {
254
- type: _lssm_lib_schema572.FieldType<string, string>;
255
- isOptional: false;
256
- };
257
- productId: {
258
- type: _lssm_lib_schema572.FieldType<string, string>;
259
- isOptional: false;
260
- };
261
- productName: {
262
- type: _lssm_lib_schema572.FieldType<string, string>;
263
- isOptional: false;
264
- };
265
- unitPrice: {
266
- type: _lssm_lib_schema572.FieldType<number, number>;
267
- isOptional: false;
268
- };
269
- quantity: {
270
- type: _lssm_lib_schema572.FieldType<number, number>;
271
- isOptional: false;
272
- };
273
- subtotal: {
274
- type: _lssm_lib_schema572.FieldType<number, number>;
275
- isOptional: false;
276
- };
277
- }>;
278
- isArray: true;
279
- isOptional: true;
280
- };
281
- createdAt: {
282
- type: _lssm_lib_schema572.FieldType<Date, string>;
283
- isOptional: false;
284
- };
285
- }>, {
286
- name: string;
287
- version: number;
288
- when: string;
289
- payload: _lssm_lib_schema572.SchemaModel<{
290
- id: {
291
- type: _lssm_lib_schema572.FieldType<string, string>;
292
- isOptional: false;
293
- };
294
- orderNumber: {
295
- type: _lssm_lib_schema572.FieldType<string, string>;
296
- isOptional: false;
297
- };
298
- buyerId: {
299
- type: _lssm_lib_schema572.FieldType<string, string>;
300
- isOptional: false;
301
- };
302
- storeId: {
303
- type: _lssm_lib_schema572.FieldType<string, string>;
304
- isOptional: false;
305
- };
306
- status: {
307
- type: _lssm_lib_schema572.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
308
- isOptional: false;
309
- };
310
- subtotal: {
311
- type: _lssm_lib_schema572.FieldType<number, number>;
312
- isOptional: false;
313
- };
314
- shippingTotal: {
315
- type: _lssm_lib_schema572.FieldType<number, number>;
316
- isOptional: false;
317
- };
318
- taxTotal: {
319
- type: _lssm_lib_schema572.FieldType<number, number>;
320
- isOptional: false;
321
- };
322
- total: {
323
- type: _lssm_lib_schema572.FieldType<number, number>;
324
- isOptional: false;
325
- };
326
- currency: {
327
- type: _lssm_lib_schema572.FieldType<string, string>;
328
- isOptional: false;
329
- };
330
- items: {
331
- type: _lssm_lib_schema572.SchemaModel<{
332
- id: {
333
- type: _lssm_lib_schema572.FieldType<string, string>;
334
- isOptional: false;
335
- };
336
- productId: {
337
- type: _lssm_lib_schema572.FieldType<string, string>;
338
- isOptional: false;
339
- };
340
- productName: {
341
- type: _lssm_lib_schema572.FieldType<string, string>;
342
- isOptional: false;
343
- };
344
- unitPrice: {
345
- type: _lssm_lib_schema572.FieldType<number, number>;
346
- isOptional: false;
347
- };
348
- quantity: {
349
- type: _lssm_lib_schema572.FieldType<number, number>;
350
- isOptional: false;
351
- };
352
- subtotal: {
353
- type: _lssm_lib_schema572.FieldType<number, number>;
354
- isOptional: false;
355
- };
356
- }>;
357
- isArray: true;
358
- isOptional: true;
359
- };
360
- createdAt: {
361
- type: _lssm_lib_schema572.FieldType<Date, string>;
362
- isOptional: false;
363
- };
364
- }>;
365
- }[]>;
366
- //#endregion
367
- export { CreateOrderContract, UpdateOrderStatusContract };
@@ -1,9 +0,0 @@
1
- import * as _lssm_lib_schema494 from "@lssm/lib.schema";
2
-
3
- //#region src/order/order.enum.d.ts
4
- /**
5
- * Order status enum.
6
- */
7
- declare const OrderStatusEnum: _lssm_lib_schema494.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
8
- //#endregion
9
- export { OrderStatusEnum };
@@ -1,144 +0,0 @@
1
- import * as _lssm_lib_schema819 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
3
-
4
- //#region src/order/order.event.d.ts
5
- declare const OrderCreatedEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema819.SchemaModel<{
6
- orderId: {
7
- type: _lssm_lib_schema819.FieldType<string, string>;
8
- isOptional: false;
9
- };
10
- orderNumber: {
11
- type: _lssm_lib_schema819.FieldType<string, string>;
12
- isOptional: false;
13
- };
14
- buyerId: {
15
- type: _lssm_lib_schema819.FieldType<string, string>;
16
- isOptional: false;
17
- };
18
- storeId: {
19
- type: _lssm_lib_schema819.FieldType<string, string>;
20
- isOptional: false;
21
- };
22
- total: {
23
- type: _lssm_lib_schema819.FieldType<number, number>;
24
- isOptional: false;
25
- };
26
- currency: {
27
- type: _lssm_lib_schema819.FieldType<string, string>;
28
- isOptional: false;
29
- };
30
- itemCount: {
31
- type: _lssm_lib_schema819.FieldType<number, number>;
32
- isOptional: false;
33
- };
34
- timestamp: {
35
- type: _lssm_lib_schema819.FieldType<Date, string>;
36
- isOptional: false;
37
- };
38
- }>>;
39
- declare const OrderPaidEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema819.SchemaModel<{
40
- orderId: {
41
- type: _lssm_lib_schema819.FieldType<string, string>;
42
- isOptional: false;
43
- };
44
- orderNumber: {
45
- type: _lssm_lib_schema819.FieldType<string, string>;
46
- isOptional: false;
47
- };
48
- total: {
49
- type: _lssm_lib_schema819.FieldType<number, number>;
50
- isOptional: false;
51
- };
52
- paymentMethod: {
53
- type: _lssm_lib_schema819.FieldType<string, string>;
54
- isOptional: false;
55
- };
56
- timestamp: {
57
- type: _lssm_lib_schema819.FieldType<Date, string>;
58
- isOptional: false;
59
- };
60
- }>>;
61
- declare const OrderStatusUpdatedEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema819.SchemaModel<{
62
- orderId: {
63
- type: _lssm_lib_schema819.FieldType<string, string>;
64
- isOptional: false;
65
- };
66
- orderNumber: {
67
- type: _lssm_lib_schema819.FieldType<string, string>;
68
- isOptional: false;
69
- };
70
- previousStatus: {
71
- type: _lssm_lib_schema819.FieldType<string, string>;
72
- isOptional: false;
73
- };
74
- newStatus: {
75
- type: _lssm_lib_schema819.FieldType<string, string>;
76
- isOptional: false;
77
- };
78
- updatedBy: {
79
- type: _lssm_lib_schema819.FieldType<string, string>;
80
- isOptional: false;
81
- };
82
- timestamp: {
83
- type: _lssm_lib_schema819.FieldType<Date, string>;
84
- isOptional: false;
85
- };
86
- }>>;
87
- declare const OrderShippedEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema819.SchemaModel<{
88
- orderId: {
89
- type: _lssm_lib_schema819.FieldType<string, string>;
90
- isOptional: false;
91
- };
92
- orderNumber: {
93
- type: _lssm_lib_schema819.FieldType<string, string>;
94
- isOptional: false;
95
- };
96
- trackingNumber: {
97
- type: _lssm_lib_schema819.FieldType<string, string>;
98
- isOptional: true;
99
- };
100
- trackingUrl: {
101
- type: _lssm_lib_schema819.FieldType<string, string>;
102
- isOptional: true;
103
- };
104
- carrier: {
105
- type: _lssm_lib_schema819.FieldType<string, string>;
106
- isOptional: true;
107
- };
108
- timestamp: {
109
- type: _lssm_lib_schema819.FieldType<Date, string>;
110
- isOptional: false;
111
- };
112
- }>>;
113
- declare const OrderCompletedEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema819.SchemaModel<{
114
- orderId: {
115
- type: _lssm_lib_schema819.FieldType<string, string>;
116
- isOptional: false;
117
- };
118
- orderNumber: {
119
- type: _lssm_lib_schema819.FieldType<string, string>;
120
- isOptional: false;
121
- };
122
- buyerId: {
123
- type: _lssm_lib_schema819.FieldType<string, string>;
124
- isOptional: false;
125
- };
126
- storeId: {
127
- type: _lssm_lib_schema819.FieldType<string, string>;
128
- isOptional: false;
129
- };
130
- total: {
131
- type: _lssm_lib_schema819.FieldType<number, number>;
132
- isOptional: false;
133
- };
134
- sellerPayout: {
135
- type: _lssm_lib_schema819.FieldType<number, number>;
136
- isOptional: false;
137
- };
138
- timestamp: {
139
- type: _lssm_lib_schema819.FieldType<Date, string>;
140
- isOptional: false;
141
- };
142
- }>>;
143
- //#endregion
144
- export { OrderCompletedEvent, OrderCreatedEvent, OrderPaidEvent, OrderShippedEvent, OrderStatusUpdatedEvent };
@@ -1,8 +0,0 @@
1
- import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
2
-
3
- //#region src/order/order.presentation.d.ts
4
- declare const OrderListPresentation: PresentationDescriptorV2;
5
- declare const OrderDetailPresentation: PresentationDescriptorV2;
6
- declare const CheckoutPresentation: PresentationDescriptorV2;
7
- //#endregion
8
- export { CheckoutPresentation, OrderDetailPresentation, OrderListPresentation };
@@ -1,164 +0,0 @@
1
- import * as _lssm_lib_schema856 from "@lssm/lib.schema";
2
-
3
- //#region src/order/order.schema.d.ts
4
- /**
5
- * An order item.
6
- */
7
- declare const OrderItemModel: _lssm_lib_schema856.SchemaModel<{
8
- id: {
9
- type: _lssm_lib_schema856.FieldType<string, string>;
10
- isOptional: false;
11
- };
12
- productId: {
13
- type: _lssm_lib_schema856.FieldType<string, string>;
14
- isOptional: false;
15
- };
16
- productName: {
17
- type: _lssm_lib_schema856.FieldType<string, string>;
18
- isOptional: false;
19
- };
20
- unitPrice: {
21
- type: _lssm_lib_schema856.FieldType<number, number>;
22
- isOptional: false;
23
- };
24
- quantity: {
25
- type: _lssm_lib_schema856.FieldType<number, number>;
26
- isOptional: false;
27
- };
28
- subtotal: {
29
- type: _lssm_lib_schema856.FieldType<number, number>;
30
- isOptional: false;
31
- };
32
- }>;
33
- /**
34
- * An order.
35
- */
36
- declare const OrderModel: _lssm_lib_schema856.SchemaModel<{
37
- id: {
38
- type: _lssm_lib_schema856.FieldType<string, string>;
39
- isOptional: false;
40
- };
41
- orderNumber: {
42
- type: _lssm_lib_schema856.FieldType<string, string>;
43
- isOptional: false;
44
- };
45
- buyerId: {
46
- type: _lssm_lib_schema856.FieldType<string, string>;
47
- isOptional: false;
48
- };
49
- storeId: {
50
- type: _lssm_lib_schema856.FieldType<string, string>;
51
- isOptional: false;
52
- };
53
- status: {
54
- type: _lssm_lib_schema856.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
55
- isOptional: false;
56
- };
57
- subtotal: {
58
- type: _lssm_lib_schema856.FieldType<number, number>;
59
- isOptional: false;
60
- };
61
- shippingTotal: {
62
- type: _lssm_lib_schema856.FieldType<number, number>;
63
- isOptional: false;
64
- };
65
- taxTotal: {
66
- type: _lssm_lib_schema856.FieldType<number, number>;
67
- isOptional: false;
68
- };
69
- total: {
70
- type: _lssm_lib_schema856.FieldType<number, number>;
71
- isOptional: false;
72
- };
73
- currency: {
74
- type: _lssm_lib_schema856.FieldType<string, string>;
75
- isOptional: false;
76
- };
77
- items: {
78
- type: _lssm_lib_schema856.SchemaModel<{
79
- id: {
80
- type: _lssm_lib_schema856.FieldType<string, string>;
81
- isOptional: false;
82
- };
83
- productId: {
84
- type: _lssm_lib_schema856.FieldType<string, string>;
85
- isOptional: false;
86
- };
87
- productName: {
88
- type: _lssm_lib_schema856.FieldType<string, string>;
89
- isOptional: false;
90
- };
91
- unitPrice: {
92
- type: _lssm_lib_schema856.FieldType<number, number>;
93
- isOptional: false;
94
- };
95
- quantity: {
96
- type: _lssm_lib_schema856.FieldType<number, number>;
97
- isOptional: false;
98
- };
99
- subtotal: {
100
- type: _lssm_lib_schema856.FieldType<number, number>;
101
- isOptional: false;
102
- };
103
- }>;
104
- isArray: true;
105
- isOptional: true;
106
- };
107
- createdAt: {
108
- type: _lssm_lib_schema856.FieldType<Date, string>;
109
- isOptional: false;
110
- };
111
- }>;
112
- /**
113
- * Input for creating an order.
114
- */
115
- declare const CreateOrderInputModel: _lssm_lib_schema856.SchemaModel<{
116
- storeId: {
117
- type: _lssm_lib_schema856.FieldType<string, string>;
118
- isOptional: false;
119
- };
120
- items: {
121
- type: _lssm_lib_schema856.FieldType<unknown, unknown>;
122
- isOptional: false;
123
- description: string;
124
- };
125
- shippingAddress: {
126
- type: _lssm_lib_schema856.FieldType<unknown, unknown>;
127
- isOptional: true;
128
- };
129
- billingAddress: {
130
- type: _lssm_lib_schema856.FieldType<unknown, unknown>;
131
- isOptional: true;
132
- };
133
- buyerNote: {
134
- type: _lssm_lib_schema856.FieldType<string, string>;
135
- isOptional: true;
136
- };
137
- }>;
138
- /**
139
- * Input for updating order status.
140
- */
141
- declare const UpdateOrderStatusInputModel: _lssm_lib_schema856.SchemaModel<{
142
- orderId: {
143
- type: _lssm_lib_schema856.FieldType<string, string>;
144
- isOptional: false;
145
- };
146
- status: {
147
- type: _lssm_lib_schema856.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
148
- isOptional: false;
149
- };
150
- trackingNumber: {
151
- type: _lssm_lib_schema856.FieldType<string, string>;
152
- isOptional: true;
153
- };
154
- trackingUrl: {
155
- type: _lssm_lib_schema856.FieldType<string, string>;
156
- isOptional: true;
157
- };
158
- note: {
159
- type: _lssm_lib_schema856.FieldType<string, string>;
160
- isOptional: true;
161
- };
162
- }>;
163
- //#endregion
164
- export { CreateOrderInputModel, OrderItemModel, OrderModel, UpdateOrderStatusInputModel };
@@ -1,5 +0,0 @@
1
- import { PayoutStatusEnum } from "./payout.enum.js";
2
- import { ListPayoutsInputModel, ListPayoutsOutputModel, PayoutModel } from "./payout.schema.js";
3
- import { ListPayoutsContract } from "./payout.contracts.js";
4
- import { PayoutCreatedEvent, PayoutPaidEvent } from "./payout.event.js";
5
- export { ListPayoutsContract, ListPayoutsInputModel, ListPayoutsOutputModel, PayoutCreatedEvent, PayoutModel, PayoutPaidEvent, PayoutStatusEnum };