@lssm/example.marketplace 0.0.0-canary-20251217080011 → 1.41.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 (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 -54
  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,96 +0,0 @@
1
- import * as _lssm_lib_schema1074 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts18 from "@lssm/lib.contracts";
3
-
4
- //#region src/payout/payout.contracts.d.ts
5
- /**
6
- * List payouts for a store.
7
- */
8
- declare const ListPayoutsContract: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema1074.SchemaModel<{
9
- storeId: {
10
- type: _lssm_lib_schema1074.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- status: {
14
- type: _lssm_lib_schema1074.EnumType<[string, string, string, string, string]>;
15
- isOptional: true;
16
- };
17
- limit: {
18
- type: _lssm_lib_schema1074.FieldType<number, number>;
19
- isOptional: true;
20
- defaultValue: number;
21
- };
22
- offset: {
23
- type: _lssm_lib_schema1074.FieldType<number, number>;
24
- isOptional: true;
25
- defaultValue: number;
26
- };
27
- }>, _lssm_lib_schema1074.SchemaModel<{
28
- payouts: {
29
- type: _lssm_lib_schema1074.SchemaModel<{
30
- id: {
31
- type: _lssm_lib_schema1074.FieldType<string, string>;
32
- isOptional: false;
33
- };
34
- payoutNumber: {
35
- type: _lssm_lib_schema1074.FieldType<string, string>;
36
- isOptional: false;
37
- };
38
- storeId: {
39
- type: _lssm_lib_schema1074.FieldType<string, string>;
40
- isOptional: false;
41
- };
42
- status: {
43
- type: _lssm_lib_schema1074.EnumType<[string, string, string, string, string]>;
44
- isOptional: false;
45
- };
46
- grossAmount: {
47
- type: _lssm_lib_schema1074.FieldType<number, number>;
48
- isOptional: false;
49
- };
50
- platformFees: {
51
- type: _lssm_lib_schema1074.FieldType<number, number>;
52
- isOptional: false;
53
- };
54
- netAmount: {
55
- type: _lssm_lib_schema1074.FieldType<number, number>;
56
- isOptional: false;
57
- };
58
- currency: {
59
- type: _lssm_lib_schema1074.FieldType<string, string>;
60
- isOptional: false;
61
- };
62
- periodStart: {
63
- type: _lssm_lib_schema1074.FieldType<Date, string>;
64
- isOptional: false;
65
- };
66
- periodEnd: {
67
- type: _lssm_lib_schema1074.FieldType<Date, string>;
68
- isOptional: false;
69
- };
70
- orderCount: {
71
- type: _lssm_lib_schema1074.FieldType<number, number>;
72
- isOptional: false;
73
- };
74
- createdAt: {
75
- type: _lssm_lib_schema1074.FieldType<Date, string>;
76
- isOptional: false;
77
- };
78
- paidAt: {
79
- type: _lssm_lib_schema1074.FieldType<Date, string>;
80
- isOptional: true;
81
- };
82
- }>;
83
- isArray: true;
84
- isOptional: false;
85
- };
86
- total: {
87
- type: _lssm_lib_schema1074.FieldType<number, number>;
88
- isOptional: false;
89
- };
90
- totalPending: {
91
- type: _lssm_lib_schema1074.FieldType<number, number>;
92
- isOptional: false;
93
- };
94
- }>, undefined>;
95
- //#endregion
96
- export { ListPayoutsContract };
@@ -1,9 +0,0 @@
1
- import * as _lssm_lib_schema511 from "@lssm/lib.schema";
2
-
3
- //#region src/payout/payout.enum.d.ts
4
- /**
5
- * Payout status enum.
6
- */
7
- declare const PayoutStatusEnum: _lssm_lib_schema511.EnumType<[string, string, string, string, string]>;
8
- //#endregion
9
- export { PayoutStatusEnum };
@@ -1,62 +0,0 @@
1
- import * as _lssm_lib_schema1096 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts19 from "@lssm/lib.contracts";
3
-
4
- //#region src/payout/payout.event.d.ts
5
- declare const PayoutCreatedEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema1096.SchemaModel<{
6
- payoutId: {
7
- type: _lssm_lib_schema1096.FieldType<string, string>;
8
- isOptional: false;
9
- };
10
- payoutNumber: {
11
- type: _lssm_lib_schema1096.FieldType<string, string>;
12
- isOptional: false;
13
- };
14
- storeId: {
15
- type: _lssm_lib_schema1096.FieldType<string, string>;
16
- isOptional: false;
17
- };
18
- netAmount: {
19
- type: _lssm_lib_schema1096.FieldType<number, number>;
20
- isOptional: false;
21
- };
22
- currency: {
23
- type: _lssm_lib_schema1096.FieldType<string, string>;
24
- isOptional: false;
25
- };
26
- orderCount: {
27
- type: _lssm_lib_schema1096.FieldType<number, number>;
28
- isOptional: false;
29
- };
30
- timestamp: {
31
- type: _lssm_lib_schema1096.FieldType<Date, string>;
32
- isOptional: false;
33
- };
34
- }>>;
35
- declare const PayoutPaidEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema1096.SchemaModel<{
36
- payoutId: {
37
- type: _lssm_lib_schema1096.FieldType<string, string>;
38
- isOptional: false;
39
- };
40
- payoutNumber: {
41
- type: _lssm_lib_schema1096.FieldType<string, string>;
42
- isOptional: false;
43
- };
44
- storeId: {
45
- type: _lssm_lib_schema1096.FieldType<string, string>;
46
- isOptional: false;
47
- };
48
- netAmount: {
49
- type: _lssm_lib_schema1096.FieldType<number, number>;
50
- isOptional: false;
51
- };
52
- paymentReference: {
53
- type: _lssm_lib_schema1096.FieldType<string, string>;
54
- isOptional: true;
55
- };
56
- timestamp: {
57
- type: _lssm_lib_schema1096.FieldType<Date, string>;
58
- isOptional: false;
59
- };
60
- }>>;
61
- //#endregion
62
- export { PayoutCreatedEvent, PayoutPaidEvent };
@@ -1,7 +0,0 @@
1
- import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
2
-
3
- //#region src/payout/payout.presentation.d.ts
4
- declare const PayoutListPresentation: PresentationDescriptorV2;
5
- declare const PayoutDetailPresentation: PresentationDescriptorV2;
6
- //#endregion
7
- export { PayoutDetailPresentation, PayoutListPresentation };
@@ -1,156 +0,0 @@
1
- import * as _lssm_lib_schema549 from "@lssm/lib.schema";
2
-
3
- //#region src/payout/payout.schema.d.ts
4
- /**
5
- * A payout to seller.
6
- */
7
- declare const PayoutModel: _lssm_lib_schema549.SchemaModel<{
8
- id: {
9
- type: _lssm_lib_schema549.FieldType<string, string>;
10
- isOptional: false;
11
- };
12
- payoutNumber: {
13
- type: _lssm_lib_schema549.FieldType<string, string>;
14
- isOptional: false;
15
- };
16
- storeId: {
17
- type: _lssm_lib_schema549.FieldType<string, string>;
18
- isOptional: false;
19
- };
20
- status: {
21
- type: _lssm_lib_schema549.EnumType<[string, string, string, string, string]>;
22
- isOptional: false;
23
- };
24
- grossAmount: {
25
- type: _lssm_lib_schema549.FieldType<number, number>;
26
- isOptional: false;
27
- };
28
- platformFees: {
29
- type: _lssm_lib_schema549.FieldType<number, number>;
30
- isOptional: false;
31
- };
32
- netAmount: {
33
- type: _lssm_lib_schema549.FieldType<number, number>;
34
- isOptional: false;
35
- };
36
- currency: {
37
- type: _lssm_lib_schema549.FieldType<string, string>;
38
- isOptional: false;
39
- };
40
- periodStart: {
41
- type: _lssm_lib_schema549.FieldType<Date, string>;
42
- isOptional: false;
43
- };
44
- periodEnd: {
45
- type: _lssm_lib_schema549.FieldType<Date, string>;
46
- isOptional: false;
47
- };
48
- orderCount: {
49
- type: _lssm_lib_schema549.FieldType<number, number>;
50
- isOptional: false;
51
- };
52
- createdAt: {
53
- type: _lssm_lib_schema549.FieldType<Date, string>;
54
- isOptional: false;
55
- };
56
- paidAt: {
57
- type: _lssm_lib_schema549.FieldType<Date, string>;
58
- isOptional: true;
59
- };
60
- }>;
61
- /**
62
- * Input for listing payouts.
63
- */
64
- declare const ListPayoutsInputModel: _lssm_lib_schema549.SchemaModel<{
65
- storeId: {
66
- type: _lssm_lib_schema549.FieldType<string, string>;
67
- isOptional: false;
68
- };
69
- status: {
70
- type: _lssm_lib_schema549.EnumType<[string, string, string, string, string]>;
71
- isOptional: true;
72
- };
73
- limit: {
74
- type: _lssm_lib_schema549.FieldType<number, number>;
75
- isOptional: true;
76
- defaultValue: number;
77
- };
78
- offset: {
79
- type: _lssm_lib_schema549.FieldType<number, number>;
80
- isOptional: true;
81
- defaultValue: number;
82
- };
83
- }>;
84
- /**
85
- * Output for listing payouts.
86
- */
87
- declare const ListPayoutsOutputModel: _lssm_lib_schema549.SchemaModel<{
88
- payouts: {
89
- type: _lssm_lib_schema549.SchemaModel<{
90
- id: {
91
- type: _lssm_lib_schema549.FieldType<string, string>;
92
- isOptional: false;
93
- };
94
- payoutNumber: {
95
- type: _lssm_lib_schema549.FieldType<string, string>;
96
- isOptional: false;
97
- };
98
- storeId: {
99
- type: _lssm_lib_schema549.FieldType<string, string>;
100
- isOptional: false;
101
- };
102
- status: {
103
- type: _lssm_lib_schema549.EnumType<[string, string, string, string, string]>;
104
- isOptional: false;
105
- };
106
- grossAmount: {
107
- type: _lssm_lib_schema549.FieldType<number, number>;
108
- isOptional: false;
109
- };
110
- platformFees: {
111
- type: _lssm_lib_schema549.FieldType<number, number>;
112
- isOptional: false;
113
- };
114
- netAmount: {
115
- type: _lssm_lib_schema549.FieldType<number, number>;
116
- isOptional: false;
117
- };
118
- currency: {
119
- type: _lssm_lib_schema549.FieldType<string, string>;
120
- isOptional: false;
121
- };
122
- periodStart: {
123
- type: _lssm_lib_schema549.FieldType<Date, string>;
124
- isOptional: false;
125
- };
126
- periodEnd: {
127
- type: _lssm_lib_schema549.FieldType<Date, string>;
128
- isOptional: false;
129
- };
130
- orderCount: {
131
- type: _lssm_lib_schema549.FieldType<number, number>;
132
- isOptional: false;
133
- };
134
- createdAt: {
135
- type: _lssm_lib_schema549.FieldType<Date, string>;
136
- isOptional: false;
137
- };
138
- paidAt: {
139
- type: _lssm_lib_schema549.FieldType<Date, string>;
140
- isOptional: true;
141
- };
142
- }>;
143
- isArray: true;
144
- isOptional: false;
145
- };
146
- total: {
147
- type: _lssm_lib_schema549.FieldType<number, number>;
148
- isOptional: false;
149
- };
150
- totalPending: {
151
- type: _lssm_lib_schema549.FieldType<number, number>;
152
- isOptional: false;
153
- };
154
- }>;
155
- //#endregion
156
- export { ListPayoutsInputModel, ListPayoutsOutputModel, PayoutModel };
@@ -1,5 +0,0 @@
1
- import { ProductStatusEnum } from "./product.enum.js";
2
- import { CreateProductInputModel, ListProductsInputModel, ListProductsOutputModel, ProductModel } from "./product.schema.js";
3
- import { CreateProductContract, ListProductsContract } from "./product.contracts.js";
4
- import { InventoryUpdatedEvent, ProductCreatedEvent, ProductPublishedEvent } from "./product.event.js";
5
- export { CreateProductContract, CreateProductInputModel, InventoryUpdatedEvent, ListProductsContract, ListProductsInputModel, ListProductsOutputModel, ProductCreatedEvent, ProductModel, ProductPublishedEvent, ProductStatusEnum };
@@ -1,272 +0,0 @@
1
- import * as _lssm_lib_schema287 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts1 from "@lssm/lib.contracts";
3
-
4
- //#region src/product/product.contracts.d.ts
5
- /**
6
- * Create a new product listing.
7
- */
8
- declare const CreateProductContract: _lssm_lib_contracts1.ContractSpec<_lssm_lib_schema287.SchemaModel<{
9
- storeId: {
10
- type: _lssm_lib_schema287.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- name: {
14
- type: _lssm_lib_schema287.FieldType<string, string>;
15
- isOptional: false;
16
- };
17
- slug: {
18
- type: _lssm_lib_schema287.FieldType<string, string>;
19
- isOptional: false;
20
- };
21
- description: {
22
- type: _lssm_lib_schema287.FieldType<string, string>;
23
- isOptional: true;
24
- };
25
- price: {
26
- type: _lssm_lib_schema287.FieldType<number, number>;
27
- isOptional: false;
28
- };
29
- currency: {
30
- type: _lssm_lib_schema287.FieldType<string, string>;
31
- isOptional: true;
32
- };
33
- quantity: {
34
- type: _lssm_lib_schema287.FieldType<number, number>;
35
- isOptional: true;
36
- };
37
- categoryId: {
38
- type: _lssm_lib_schema287.FieldType<string, string>;
39
- isOptional: true;
40
- };
41
- sku: {
42
- type: _lssm_lib_schema287.FieldType<string, string>;
43
- isOptional: true;
44
- };
45
- }>, _lssm_lib_schema287.SchemaModel<{
46
- id: {
47
- type: _lssm_lib_schema287.FieldType<string, string>;
48
- isOptional: false;
49
- };
50
- storeId: {
51
- type: _lssm_lib_schema287.FieldType<string, string>;
52
- isOptional: false;
53
- };
54
- name: {
55
- type: _lssm_lib_schema287.FieldType<string, string>;
56
- isOptional: false;
57
- };
58
- slug: {
59
- type: _lssm_lib_schema287.FieldType<string, string>;
60
- isOptional: false;
61
- };
62
- description: {
63
- type: _lssm_lib_schema287.FieldType<string, string>;
64
- isOptional: true;
65
- };
66
- status: {
67
- type: _lssm_lib_schema287.EnumType<[string, string, string, string, string, string]>;
68
- isOptional: false;
69
- };
70
- price: {
71
- type: _lssm_lib_schema287.FieldType<number, number>;
72
- isOptional: false;
73
- };
74
- currency: {
75
- type: _lssm_lib_schema287.FieldType<string, string>;
76
- isOptional: false;
77
- };
78
- quantity: {
79
- type: _lssm_lib_schema287.FieldType<number, number>;
80
- isOptional: false;
81
- };
82
- categoryId: {
83
- type: _lssm_lib_schema287.FieldType<string, string>;
84
- isOptional: true;
85
- };
86
- primaryImageId: {
87
- type: _lssm_lib_schema287.FieldType<string, string>;
88
- isOptional: true;
89
- };
90
- averageRating: {
91
- type: _lssm_lib_schema287.FieldType<number, number>;
92
- isOptional: false;
93
- };
94
- totalSold: {
95
- type: _lssm_lib_schema287.FieldType<number, number>;
96
- isOptional: false;
97
- };
98
- createdAt: {
99
- type: _lssm_lib_schema287.FieldType<Date, string>;
100
- isOptional: false;
101
- };
102
- }>, {
103
- name: string;
104
- version: number;
105
- when: string;
106
- payload: _lssm_lib_schema287.SchemaModel<{
107
- id: {
108
- type: _lssm_lib_schema287.FieldType<string, string>;
109
- isOptional: false;
110
- };
111
- storeId: {
112
- type: _lssm_lib_schema287.FieldType<string, string>;
113
- isOptional: false;
114
- };
115
- name: {
116
- type: _lssm_lib_schema287.FieldType<string, string>;
117
- isOptional: false;
118
- };
119
- slug: {
120
- type: _lssm_lib_schema287.FieldType<string, string>;
121
- isOptional: false;
122
- };
123
- description: {
124
- type: _lssm_lib_schema287.FieldType<string, string>;
125
- isOptional: true;
126
- };
127
- status: {
128
- type: _lssm_lib_schema287.EnumType<[string, string, string, string, string, string]>;
129
- isOptional: false;
130
- };
131
- price: {
132
- type: _lssm_lib_schema287.FieldType<number, number>;
133
- isOptional: false;
134
- };
135
- currency: {
136
- type: _lssm_lib_schema287.FieldType<string, string>;
137
- isOptional: false;
138
- };
139
- quantity: {
140
- type: _lssm_lib_schema287.FieldType<number, number>;
141
- isOptional: false;
142
- };
143
- categoryId: {
144
- type: _lssm_lib_schema287.FieldType<string, string>;
145
- isOptional: true;
146
- };
147
- primaryImageId: {
148
- type: _lssm_lib_schema287.FieldType<string, string>;
149
- isOptional: true;
150
- };
151
- averageRating: {
152
- type: _lssm_lib_schema287.FieldType<number, number>;
153
- isOptional: false;
154
- };
155
- totalSold: {
156
- type: _lssm_lib_schema287.FieldType<number, number>;
157
- isOptional: false;
158
- };
159
- createdAt: {
160
- type: _lssm_lib_schema287.FieldType<Date, string>;
161
- isOptional: false;
162
- };
163
- }>;
164
- }[]>;
165
- /**
166
- * List products with filters.
167
- */
168
- declare const ListProductsContract: _lssm_lib_contracts1.ContractSpec<_lssm_lib_schema287.SchemaModel<{
169
- storeId: {
170
- type: _lssm_lib_schema287.FieldType<string, string>;
171
- isOptional: true;
172
- };
173
- categoryId: {
174
- type: _lssm_lib_schema287.FieldType<string, string>;
175
- isOptional: true;
176
- };
177
- status: {
178
- type: _lssm_lib_schema287.EnumType<[string, string, string, string, string, string]>;
179
- isOptional: true;
180
- };
181
- search: {
182
- type: _lssm_lib_schema287.FieldType<string, string>;
183
- isOptional: true;
184
- };
185
- minPrice: {
186
- type: _lssm_lib_schema287.FieldType<number, number>;
187
- isOptional: true;
188
- };
189
- maxPrice: {
190
- type: _lssm_lib_schema287.FieldType<number, number>;
191
- isOptional: true;
192
- };
193
- limit: {
194
- type: _lssm_lib_schema287.FieldType<number, number>;
195
- isOptional: true;
196
- defaultValue: number;
197
- };
198
- offset: {
199
- type: _lssm_lib_schema287.FieldType<number, number>;
200
- isOptional: true;
201
- defaultValue: number;
202
- };
203
- }>, _lssm_lib_schema287.SchemaModel<{
204
- products: {
205
- type: _lssm_lib_schema287.SchemaModel<{
206
- id: {
207
- type: _lssm_lib_schema287.FieldType<string, string>;
208
- isOptional: false;
209
- };
210
- storeId: {
211
- type: _lssm_lib_schema287.FieldType<string, string>;
212
- isOptional: false;
213
- };
214
- name: {
215
- type: _lssm_lib_schema287.FieldType<string, string>;
216
- isOptional: false;
217
- };
218
- slug: {
219
- type: _lssm_lib_schema287.FieldType<string, string>;
220
- isOptional: false;
221
- };
222
- description: {
223
- type: _lssm_lib_schema287.FieldType<string, string>;
224
- isOptional: true;
225
- };
226
- status: {
227
- type: _lssm_lib_schema287.EnumType<[string, string, string, string, string, string]>;
228
- isOptional: false;
229
- };
230
- price: {
231
- type: _lssm_lib_schema287.FieldType<number, number>;
232
- isOptional: false;
233
- };
234
- currency: {
235
- type: _lssm_lib_schema287.FieldType<string, string>;
236
- isOptional: false;
237
- };
238
- quantity: {
239
- type: _lssm_lib_schema287.FieldType<number, number>;
240
- isOptional: false;
241
- };
242
- categoryId: {
243
- type: _lssm_lib_schema287.FieldType<string, string>;
244
- isOptional: true;
245
- };
246
- primaryImageId: {
247
- type: _lssm_lib_schema287.FieldType<string, string>;
248
- isOptional: true;
249
- };
250
- averageRating: {
251
- type: _lssm_lib_schema287.FieldType<number, number>;
252
- isOptional: false;
253
- };
254
- totalSold: {
255
- type: _lssm_lib_schema287.FieldType<number, number>;
256
- isOptional: false;
257
- };
258
- createdAt: {
259
- type: _lssm_lib_schema287.FieldType<Date, string>;
260
- isOptional: false;
261
- };
262
- }>;
263
- isArray: true;
264
- isOptional: false;
265
- };
266
- total: {
267
- type: _lssm_lib_schema287.FieldType<number, number>;
268
- isOptional: false;
269
- };
270
- }>, undefined>;
271
- //#endregion
272
- export { CreateProductContract, ListProductsContract };
@@ -1,9 +0,0 @@
1
- import * as _lssm_lib_schema353 from "@lssm/lib.schema";
2
-
3
- //#region src/product/product.enum.d.ts
4
- /**
5
- * Product status enum.
6
- */
7
- declare const ProductStatusEnum: _lssm_lib_schema353.EnumType<[string, string, string, string, string, string]>;
8
- //#endregion
9
- export { ProductStatusEnum };
@@ -1,72 +0,0 @@
1
- import * as _lssm_lib_schema405 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts3 from "@lssm/lib.contracts";
3
-
4
- //#region src/product/product.event.d.ts
5
- declare const ProductCreatedEvent: _lssm_lib_contracts3.EventSpec<_lssm_lib_schema405.SchemaModel<{
6
- productId: {
7
- type: _lssm_lib_schema405.FieldType<string, string>;
8
- isOptional: false;
9
- };
10
- storeId: {
11
- type: _lssm_lib_schema405.FieldType<string, string>;
12
- isOptional: false;
13
- };
14
- name: {
15
- type: _lssm_lib_schema405.FieldType<string, string>;
16
- isOptional: false;
17
- };
18
- price: {
19
- type: _lssm_lib_schema405.FieldType<number, number>;
20
- isOptional: false;
21
- };
22
- currency: {
23
- type: _lssm_lib_schema405.FieldType<string, string>;
24
- isOptional: false;
25
- };
26
- timestamp: {
27
- type: _lssm_lib_schema405.FieldType<Date, string>;
28
- isOptional: false;
29
- };
30
- }>>;
31
- declare const ProductPublishedEvent: _lssm_lib_contracts3.EventSpec<_lssm_lib_schema405.SchemaModel<{
32
- productId: {
33
- type: _lssm_lib_schema405.FieldType<string, string>;
34
- isOptional: false;
35
- };
36
- storeId: {
37
- type: _lssm_lib_schema405.FieldType<string, string>;
38
- isOptional: false;
39
- };
40
- timestamp: {
41
- type: _lssm_lib_schema405.FieldType<Date, string>;
42
- isOptional: false;
43
- };
44
- }>>;
45
- declare const InventoryUpdatedEvent: _lssm_lib_contracts3.EventSpec<_lssm_lib_schema405.SchemaModel<{
46
- productId: {
47
- type: _lssm_lib_schema405.FieldType<string, string>;
48
- isOptional: false;
49
- };
50
- variantId: {
51
- type: _lssm_lib_schema405.FieldType<string, string>;
52
- isOptional: true;
53
- };
54
- previousQuantity: {
55
- type: _lssm_lib_schema405.FieldType<number, number>;
56
- isOptional: false;
57
- };
58
- newQuantity: {
59
- type: _lssm_lib_schema405.FieldType<number, number>;
60
- isOptional: false;
61
- };
62
- reason: {
63
- type: _lssm_lib_schema405.FieldType<string, string>;
64
- isOptional: false;
65
- };
66
- timestamp: {
67
- type: _lssm_lib_schema405.FieldType<Date, string>;
68
- isOptional: false;
69
- };
70
- }>>;
71
- //#endregion
72
- export { InventoryUpdatedEvent, ProductCreatedEvent, ProductPublishedEvent };
@@ -1,8 +0,0 @@
1
- import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
2
-
3
- //#region src/product/product.presentation.d.ts
4
- declare const ProductCatalogPresentation: PresentationDescriptorV2;
5
- declare const ProductDetailPresentation: PresentationDescriptorV2;
6
- declare const ProductEditorPresentation: PresentationDescriptorV2;
7
- //#endregion
8
- export { ProductCatalogPresentation, ProductDetailPresentation, ProductEditorPresentation };