@lssm/example.service-business-os 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.
- package/dist/client/client.contracts.js +1 -33
- package/dist/client/client.schema.js +1 -78
- package/dist/client/index.js +1 -4
- package/dist/contracts/index.js +1 -17
- package/dist/docs/index.js +1 -1
- package/dist/docs/service-business-os.docblock.js +5 -62
- package/dist/entities/index.js +1 -289
- package/dist/events.js +1 -178
- package/dist/example.js +1 -45
- package/dist/handlers/index.js +1 -5
- package/dist/index.js +1 -17
- package/dist/invoice/index.js +1 -4
- package/dist/invoice/invoice.contracts.js +1 -33
- package/dist/invoice/invoice.schema.js +1 -78
- package/dist/job/index.js +1 -4
- package/dist/job/job.contracts.js +1 -119
- package/dist/job/job.schema.js +1 -99
- package/dist/payment/index.js +1 -4
- package/dist/payment/payment.contracts.js +1 -33
- package/dist/payment/payment.schema.js +1 -74
- package/dist/presentations/index.js +1 -17
- package/dist/presentations.js +1 -148
- package/dist/quote/index.js +1 -4
- package/dist/quote/quote.contracts.js +1 -57
- package/dist/quote/quote.schema.js +1 -115
- package/dist/service.feature.js +1 -162
- package/package.json +36 -37
- package/dist/client/client.contracts.d.ts +0 -64
- package/dist/client/client.schema.d.ts +0 -67
- package/dist/client/index.d.ts +0 -3
- package/dist/contracts/index.d.ts +0 -11
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/service-business-os.docblock.d.ts +0 -1
- package/dist/entities/index.d.ts +0 -167
- package/dist/events.d.ts +0 -336
- package/dist/example.d.ts +0 -36
- package/dist/handlers/index.d.ts +0 -12
- package/dist/index.d.ts +0 -11
- package/dist/invoice/index.d.ts +0 -3
- package/dist/invoice/invoice.contracts.d.ts +0 -64
- package/dist/invoice/invoice.schema.d.ts +0 -67
- package/dist/job/index.d.ts +0 -3
- package/dist/job/job.contracts.d.ts +0 -237
- package/dist/job/job.schema.d.ts +0 -84
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
- package/dist/libs/contracts/dist/client/index.js +0 -5
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
- package/dist/libs/contracts/dist/client/react/index.js +0 -4
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/index.js +0 -29
- package/dist/libs/contracts/dist/docs/presentations.js +0 -71
- package/dist/libs/contracts/dist/docs/registry.js +0 -44
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
- package/dist/libs/contracts/dist/events.js +0 -10
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -71
- package/dist/libs/contracts/dist/install.js +0 -2
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
- package/dist/libs/contracts/dist/knowledge/index.js +0 -7
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
- package/dist/libs/contracts/dist/llm/exporters.js +0 -19
- package/dist/libs/contracts/dist/llm/index.js +0 -2
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -196
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -21
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +0 -11
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -1
- package/dist/libs/contracts/dist/regenerator/service.js +0 -6
- package/dist/libs/contracts/dist/registry.js +0 -2
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/libs/contracts/dist/server/index.js +0 -8
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/spec.js +0 -34
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -2
- package/dist/libs/contracts/dist/workflow/index.js +0 -1
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/schema/dist/EnumType.js +0 -2
- package/dist/libs/schema/dist/FieldType.js +0 -49
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/schema/dist/SchemaModel.js +0 -39
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
- package/dist/libs/schema/dist/entity/index.js +0 -2
- package/dist/libs/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -6
- package/dist/payment/index.d.ts +0 -3
- package/dist/payment/payment.contracts.d.ts +0 -60
- package/dist/payment/payment.schema.d.ts +0 -63
- package/dist/presentations/index.d.ts +0 -8
- package/dist/presentations.d.ts +0 -12
- package/dist/quote/index.d.ts +0 -3
- package/dist/quote/quote.contracts.d.ts +0 -134
- package/dist/quote/quote.schema.d.ts +0 -100
- package/dist/service.feature.d.ts +0 -6
package/dist/events.d.ts
DELETED
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
|
-
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
|
-
|
|
4
|
-
//#region src/events.d.ts
|
|
5
|
-
declare const QuoteSentEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
6
|
-
quoteId: {
|
|
7
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
8
|
-
isOptional: false;
|
|
9
|
-
};
|
|
10
|
-
clientId: {
|
|
11
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
12
|
-
isOptional: false;
|
|
13
|
-
};
|
|
14
|
-
amount: {
|
|
15
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
16
|
-
isOptional: false;
|
|
17
|
-
};
|
|
18
|
-
status: {
|
|
19
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
20
|
-
isOptional: false;
|
|
21
|
-
};
|
|
22
|
-
orgId: {
|
|
23
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
24
|
-
isOptional: false;
|
|
25
|
-
};
|
|
26
|
-
occurredAt: {
|
|
27
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
28
|
-
isOptional: false;
|
|
29
|
-
};
|
|
30
|
-
}>>;
|
|
31
|
-
declare const QuoteAcceptedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
32
|
-
quoteId: {
|
|
33
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
34
|
-
isOptional: false;
|
|
35
|
-
};
|
|
36
|
-
clientId: {
|
|
37
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
38
|
-
isOptional: false;
|
|
39
|
-
};
|
|
40
|
-
amount: {
|
|
41
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
42
|
-
isOptional: false;
|
|
43
|
-
};
|
|
44
|
-
status: {
|
|
45
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
46
|
-
isOptional: false;
|
|
47
|
-
};
|
|
48
|
-
orgId: {
|
|
49
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
50
|
-
isOptional: false;
|
|
51
|
-
};
|
|
52
|
-
occurredAt: {
|
|
53
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
54
|
-
isOptional: false;
|
|
55
|
-
};
|
|
56
|
-
}>>;
|
|
57
|
-
declare const JobScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
58
|
-
jobId: {
|
|
59
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
60
|
-
isOptional: false;
|
|
61
|
-
};
|
|
62
|
-
quoteId: {
|
|
63
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
64
|
-
isOptional: true;
|
|
65
|
-
};
|
|
66
|
-
clientId: {
|
|
67
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
68
|
-
isOptional: true;
|
|
69
|
-
};
|
|
70
|
-
status: {
|
|
71
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
72
|
-
isOptional: false;
|
|
73
|
-
};
|
|
74
|
-
scheduledAt: {
|
|
75
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
76
|
-
isOptional: true;
|
|
77
|
-
};
|
|
78
|
-
orgId: {
|
|
79
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
80
|
-
isOptional: false;
|
|
81
|
-
};
|
|
82
|
-
occurredAt: {
|
|
83
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
84
|
-
isOptional: false;
|
|
85
|
-
};
|
|
86
|
-
}>>;
|
|
87
|
-
declare const JobCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
88
|
-
jobId: {
|
|
89
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
90
|
-
isOptional: false;
|
|
91
|
-
};
|
|
92
|
-
quoteId: {
|
|
93
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
94
|
-
isOptional: true;
|
|
95
|
-
};
|
|
96
|
-
clientId: {
|
|
97
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
98
|
-
isOptional: true;
|
|
99
|
-
};
|
|
100
|
-
status: {
|
|
101
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
102
|
-
isOptional: false;
|
|
103
|
-
};
|
|
104
|
-
scheduledAt: {
|
|
105
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
106
|
-
isOptional: true;
|
|
107
|
-
};
|
|
108
|
-
orgId: {
|
|
109
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
110
|
-
isOptional: false;
|
|
111
|
-
};
|
|
112
|
-
occurredAt: {
|
|
113
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
114
|
-
isOptional: false;
|
|
115
|
-
};
|
|
116
|
-
}>>;
|
|
117
|
-
declare const InvoiceIssuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
118
|
-
invoiceId: {
|
|
119
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
120
|
-
isOptional: false;
|
|
121
|
-
};
|
|
122
|
-
jobId: {
|
|
123
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
124
|
-
isOptional: false;
|
|
125
|
-
};
|
|
126
|
-
amount: {
|
|
127
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
128
|
-
isOptional: false;
|
|
129
|
-
};
|
|
130
|
-
status: {
|
|
131
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
132
|
-
isOptional: false;
|
|
133
|
-
};
|
|
134
|
-
orgId: {
|
|
135
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
136
|
-
isOptional: false;
|
|
137
|
-
};
|
|
138
|
-
occurredAt: {
|
|
139
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
140
|
-
isOptional: false;
|
|
141
|
-
};
|
|
142
|
-
}>>;
|
|
143
|
-
declare const PaymentReceivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
144
|
-
paymentId: {
|
|
145
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
146
|
-
isOptional: false;
|
|
147
|
-
};
|
|
148
|
-
invoiceId: {
|
|
149
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
150
|
-
isOptional: false;
|
|
151
|
-
};
|
|
152
|
-
amount: {
|
|
153
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
154
|
-
isOptional: false;
|
|
155
|
-
};
|
|
156
|
-
method: {
|
|
157
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
158
|
-
isOptional: false;
|
|
159
|
-
};
|
|
160
|
-
orgId: {
|
|
161
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
162
|
-
isOptional: false;
|
|
163
|
-
};
|
|
164
|
-
receivedAt: {
|
|
165
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
166
|
-
isOptional: false;
|
|
167
|
-
};
|
|
168
|
-
}>>;
|
|
169
|
-
declare const ServiceBusinessEvents: {
|
|
170
|
-
QuoteSentEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
171
|
-
quoteId: {
|
|
172
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
173
|
-
isOptional: false;
|
|
174
|
-
};
|
|
175
|
-
clientId: {
|
|
176
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
177
|
-
isOptional: false;
|
|
178
|
-
};
|
|
179
|
-
amount: {
|
|
180
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
181
|
-
isOptional: false;
|
|
182
|
-
};
|
|
183
|
-
status: {
|
|
184
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
185
|
-
isOptional: false;
|
|
186
|
-
};
|
|
187
|
-
orgId: {
|
|
188
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
189
|
-
isOptional: false;
|
|
190
|
-
};
|
|
191
|
-
occurredAt: {
|
|
192
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
193
|
-
isOptional: false;
|
|
194
|
-
};
|
|
195
|
-
}>>;
|
|
196
|
-
QuoteAcceptedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
197
|
-
quoteId: {
|
|
198
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
199
|
-
isOptional: false;
|
|
200
|
-
};
|
|
201
|
-
clientId: {
|
|
202
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
203
|
-
isOptional: false;
|
|
204
|
-
};
|
|
205
|
-
amount: {
|
|
206
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
207
|
-
isOptional: false;
|
|
208
|
-
};
|
|
209
|
-
status: {
|
|
210
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
211
|
-
isOptional: false;
|
|
212
|
-
};
|
|
213
|
-
orgId: {
|
|
214
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
215
|
-
isOptional: false;
|
|
216
|
-
};
|
|
217
|
-
occurredAt: {
|
|
218
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
219
|
-
isOptional: false;
|
|
220
|
-
};
|
|
221
|
-
}>>;
|
|
222
|
-
JobScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
223
|
-
jobId: {
|
|
224
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
225
|
-
isOptional: false;
|
|
226
|
-
};
|
|
227
|
-
quoteId: {
|
|
228
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
229
|
-
isOptional: true;
|
|
230
|
-
};
|
|
231
|
-
clientId: {
|
|
232
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
233
|
-
isOptional: true;
|
|
234
|
-
};
|
|
235
|
-
status: {
|
|
236
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
237
|
-
isOptional: false;
|
|
238
|
-
};
|
|
239
|
-
scheduledAt: {
|
|
240
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
241
|
-
isOptional: true;
|
|
242
|
-
};
|
|
243
|
-
orgId: {
|
|
244
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
245
|
-
isOptional: false;
|
|
246
|
-
};
|
|
247
|
-
occurredAt: {
|
|
248
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
249
|
-
isOptional: false;
|
|
250
|
-
};
|
|
251
|
-
}>>;
|
|
252
|
-
JobCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
253
|
-
jobId: {
|
|
254
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
255
|
-
isOptional: false;
|
|
256
|
-
};
|
|
257
|
-
quoteId: {
|
|
258
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
259
|
-
isOptional: true;
|
|
260
|
-
};
|
|
261
|
-
clientId: {
|
|
262
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
263
|
-
isOptional: true;
|
|
264
|
-
};
|
|
265
|
-
status: {
|
|
266
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
267
|
-
isOptional: false;
|
|
268
|
-
};
|
|
269
|
-
scheduledAt: {
|
|
270
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
271
|
-
isOptional: true;
|
|
272
|
-
};
|
|
273
|
-
orgId: {
|
|
274
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
275
|
-
isOptional: false;
|
|
276
|
-
};
|
|
277
|
-
occurredAt: {
|
|
278
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
279
|
-
isOptional: false;
|
|
280
|
-
};
|
|
281
|
-
}>>;
|
|
282
|
-
InvoiceIssuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
283
|
-
invoiceId: {
|
|
284
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
285
|
-
isOptional: false;
|
|
286
|
-
};
|
|
287
|
-
jobId: {
|
|
288
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
289
|
-
isOptional: false;
|
|
290
|
-
};
|
|
291
|
-
amount: {
|
|
292
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
293
|
-
isOptional: false;
|
|
294
|
-
};
|
|
295
|
-
status: {
|
|
296
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
297
|
-
isOptional: false;
|
|
298
|
-
};
|
|
299
|
-
orgId: {
|
|
300
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
301
|
-
isOptional: false;
|
|
302
|
-
};
|
|
303
|
-
occurredAt: {
|
|
304
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
305
|
-
isOptional: false;
|
|
306
|
-
};
|
|
307
|
-
}>>;
|
|
308
|
-
PaymentReceivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
309
|
-
paymentId: {
|
|
310
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
311
|
-
isOptional: false;
|
|
312
|
-
};
|
|
313
|
-
invoiceId: {
|
|
314
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
315
|
-
isOptional: false;
|
|
316
|
-
};
|
|
317
|
-
amount: {
|
|
318
|
-
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
319
|
-
isOptional: false;
|
|
320
|
-
};
|
|
321
|
-
method: {
|
|
322
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
323
|
-
isOptional: false;
|
|
324
|
-
};
|
|
325
|
-
orgId: {
|
|
326
|
-
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
327
|
-
isOptional: false;
|
|
328
|
-
};
|
|
329
|
-
receivedAt: {
|
|
330
|
-
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
331
|
-
isOptional: false;
|
|
332
|
-
};
|
|
333
|
-
}>>;
|
|
334
|
-
};
|
|
335
|
-
//#endregion
|
|
336
|
-
export { InvoiceIssuedEvent, JobCompletedEvent, JobScheduledEvent, PaymentReceivedEvent, QuoteAcceptedEvent, QuoteSentEvent, ServiceBusinessEvents };
|
package/dist/example.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
//#region src/example.d.ts
|
|
2
|
-
declare const example: {
|
|
3
|
-
readonly id: "service-business-os";
|
|
4
|
-
readonly title: "Service Business OS";
|
|
5
|
-
readonly summary: "Service business operating system: jobs, clients, scheduling, invoicing, and ops dashboards.";
|
|
6
|
-
readonly tags: readonly ["service-business", "jobs", "scheduling", "invoicing"];
|
|
7
|
-
readonly kind: "template";
|
|
8
|
-
readonly visibility: "public";
|
|
9
|
-
readonly docs: {
|
|
10
|
-
readonly rootDocId: "docs.examples.service-business-os";
|
|
11
|
-
};
|
|
12
|
-
readonly entrypoints: {
|
|
13
|
-
readonly packageName: "@lssm/example.service-business-os";
|
|
14
|
-
readonly feature: "./feature";
|
|
15
|
-
readonly contracts: "./contracts";
|
|
16
|
-
readonly presentations: "./presentations";
|
|
17
|
-
readonly handlers: "./handlers";
|
|
18
|
-
readonly docs: "./docs";
|
|
19
|
-
};
|
|
20
|
-
readonly surfaces: {
|
|
21
|
-
readonly templates: true;
|
|
22
|
-
readonly sandbox: {
|
|
23
|
-
readonly enabled: true;
|
|
24
|
-
readonly modes: readonly ["playground", "specs", "builder", "markdown", "evolution"];
|
|
25
|
-
};
|
|
26
|
-
readonly studio: {
|
|
27
|
-
readonly enabled: true;
|
|
28
|
-
readonly installable: true;
|
|
29
|
-
};
|
|
30
|
-
readonly mcp: {
|
|
31
|
-
readonly enabled: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { example as default };
|
package/dist/handlers/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CreateClientContract } from "../client/client.contracts.js";
|
|
2
|
-
import { AcceptQuoteContract, CreateQuoteContract } from "../quote/quote.contracts.js";
|
|
3
|
-
import { CompleteJobContract, ScheduleJobContract } from "../job/job.contracts.js";
|
|
4
|
-
import { IssueInvoiceContract } from "../invoice/invoice.contracts.js";
|
|
5
|
-
import { RecordPaymentContract } from "../payment/payment.contracts.js";
|
|
6
|
-
|
|
7
|
-
//#region src/handlers/index.d.ts
|
|
8
|
-
|
|
9
|
-
declare function registerServiceBusinessHandlers(): void;
|
|
10
|
-
type ServiceBusinessHandlers = typeof AcceptQuoteContract | typeof CreateClientContract | typeof CreateQuoteContract | typeof ScheduleJobContract | typeof CompleteJobContract | typeof IssueInvoiceContract | typeof RecordPaymentContract;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ServiceBusinessHandlers, registerServiceBusinessHandlers };
|
package/dist/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CreateClientContract } from "./client/client.contracts.js";
|
|
2
|
-
import { ClientModel, CreateClientInputModel } from "./client/client.schema.js";
|
|
3
|
-
import { AcceptQuoteInputModel, CreateQuoteInputModel, QuoteModel } from "./quote/quote.schema.js";
|
|
4
|
-
import { AcceptQuoteContract, CreateQuoteContract } from "./quote/quote.contracts.js";
|
|
5
|
-
import { CompleteJobInputModel, JobModel, ScheduleJobInputModel } from "./job/job.schema.js";
|
|
6
|
-
import { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract } from "./job/job.contracts.js";
|
|
7
|
-
import { InvoiceModel, IssueInvoiceInputModel } from "./invoice/invoice.schema.js";
|
|
8
|
-
import { IssueInvoiceContract } from "./invoice/invoice.contracts.js";
|
|
9
|
-
import { PaymentModel, RecordPaymentInputModel } from "./payment/payment.schema.js";
|
|
10
|
-
import { RecordPaymentContract } from "./payment/payment.contracts.js";
|
|
11
|
-
export { AcceptQuoteContract, AcceptQuoteInputModel, ClientModel, CompleteJobContract, CompleteJobInputModel, CreateClientContract, CreateClientInputModel, CreateQuoteContract, CreateQuoteInputModel, InvoiceModel, IssueInvoiceContract, IssueInvoiceInputModel, JobModel, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, PaymentModel, QuoteModel, RecordPaymentContract, RecordPaymentInputModel, ScheduleJobContract, ScheduleJobInputModel };
|
package/dist/invoice/index.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import * as _lssm_lib_schema271 from "@lssm/lib.schema";
|
|
2
|
-
import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
|
|
3
|
-
|
|
4
|
-
//#region src/invoice/invoice.contracts.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Issue an invoice.
|
|
7
|
-
*/
|
|
8
|
-
declare const IssueInvoiceContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema271.SchemaModel<{
|
|
9
|
-
jobId: {
|
|
10
|
-
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
11
|
-
isOptional: false;
|
|
12
|
-
};
|
|
13
|
-
dueDate: {
|
|
14
|
-
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
15
|
-
isOptional: true;
|
|
16
|
-
};
|
|
17
|
-
notes: {
|
|
18
|
-
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
19
|
-
isOptional: true;
|
|
20
|
-
};
|
|
21
|
-
lineItems: {
|
|
22
|
-
type: _lssm_lib_schema271.FieldType<unknown, unknown>;
|
|
23
|
-
isOptional: true;
|
|
24
|
-
};
|
|
25
|
-
}>, _lssm_lib_schema271.SchemaModel<{
|
|
26
|
-
id: {
|
|
27
|
-
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
28
|
-
isOptional: false;
|
|
29
|
-
};
|
|
30
|
-
jobId: {
|
|
31
|
-
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
32
|
-
isOptional: false;
|
|
33
|
-
};
|
|
34
|
-
invoiceNumber: {
|
|
35
|
-
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
36
|
-
isOptional: false;
|
|
37
|
-
};
|
|
38
|
-
amount: {
|
|
39
|
-
type: _lssm_lib_schema271.FieldType<number, number>;
|
|
40
|
-
isOptional: false;
|
|
41
|
-
};
|
|
42
|
-
currency: {
|
|
43
|
-
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
44
|
-
isOptional: false;
|
|
45
|
-
};
|
|
46
|
-
status: {
|
|
47
|
-
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
48
|
-
isOptional: false;
|
|
49
|
-
};
|
|
50
|
-
dueDate: {
|
|
51
|
-
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
52
|
-
isOptional: true;
|
|
53
|
-
};
|
|
54
|
-
issuedAt: {
|
|
55
|
-
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
56
|
-
isOptional: true;
|
|
57
|
-
};
|
|
58
|
-
paidAt: {
|
|
59
|
-
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
60
|
-
isOptional: true;
|
|
61
|
-
};
|
|
62
|
-
}>, undefined>;
|
|
63
|
-
//#endregion
|
|
64
|
-
export { IssueInvoiceContract };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as _lssm_lib_schema286 from "@lssm/lib.schema";
|
|
2
|
-
|
|
3
|
-
//#region src/invoice/invoice.schema.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Invoice issued for a job.
|
|
6
|
-
*/
|
|
7
|
-
declare const InvoiceModel: _lssm_lib_schema286.SchemaModel<{
|
|
8
|
-
id: {
|
|
9
|
-
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
10
|
-
isOptional: false;
|
|
11
|
-
};
|
|
12
|
-
jobId: {
|
|
13
|
-
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
14
|
-
isOptional: false;
|
|
15
|
-
};
|
|
16
|
-
invoiceNumber: {
|
|
17
|
-
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
18
|
-
isOptional: false;
|
|
19
|
-
};
|
|
20
|
-
amount: {
|
|
21
|
-
type: _lssm_lib_schema286.FieldType<number, number>;
|
|
22
|
-
isOptional: false;
|
|
23
|
-
};
|
|
24
|
-
currency: {
|
|
25
|
-
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
26
|
-
isOptional: false;
|
|
27
|
-
};
|
|
28
|
-
status: {
|
|
29
|
-
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
30
|
-
isOptional: false;
|
|
31
|
-
};
|
|
32
|
-
dueDate: {
|
|
33
|
-
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
34
|
-
isOptional: true;
|
|
35
|
-
};
|
|
36
|
-
issuedAt: {
|
|
37
|
-
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
38
|
-
isOptional: true;
|
|
39
|
-
};
|
|
40
|
-
paidAt: {
|
|
41
|
-
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
42
|
-
isOptional: true;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
/**
|
|
46
|
-
* Input for issuing an invoice.
|
|
47
|
-
*/
|
|
48
|
-
declare const IssueInvoiceInputModel: _lssm_lib_schema286.SchemaModel<{
|
|
49
|
-
jobId: {
|
|
50
|
-
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
51
|
-
isOptional: false;
|
|
52
|
-
};
|
|
53
|
-
dueDate: {
|
|
54
|
-
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
55
|
-
isOptional: true;
|
|
56
|
-
};
|
|
57
|
-
notes: {
|
|
58
|
-
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
59
|
-
isOptional: true;
|
|
60
|
-
};
|
|
61
|
-
lineItems: {
|
|
62
|
-
type: _lssm_lib_schema286.FieldType<unknown, unknown>;
|
|
63
|
-
isOptional: true;
|
|
64
|
-
};
|
|
65
|
-
}>;
|
|
66
|
-
//#endregion
|
|
67
|
-
export { InvoiceModel, IssueInvoiceInputModel };
|
package/dist/job/index.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { CompleteJobInputModel, JobModel, ScheduleJobInputModel } from "./job.schema.js";
|
|
2
|
-
import { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract } from "./job.contracts.js";
|
|
3
|
-
export { CompleteJobContract, CompleteJobInputModel, JobModel, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract, ScheduleJobInputModel };
|