@lssm/example.service-business-os 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217060834
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.d.ts +17 -17
- package/dist/client/client.contracts.js +1 -1
- package/dist/client/client.schema.d.ts +16 -16
- package/dist/client/client.schema.js +1 -1
- package/dist/contracts/index.d.ts +5 -0
- package/dist/docs/service-business-os.docblock.js +1 -1
- package/dist/entities/index.d.ts +155 -155
- package/dist/entities/index.js +1 -1
- package/dist/events.d.ts +90 -90
- package/dist/events.js +1 -1
- package/dist/handlers/index.d.ts +5 -1
- package/dist/index.d.ts +5 -0
- package/dist/invoice/invoice.contracts.d.ts +17 -17
- package/dist/invoice/invoice.contracts.js +1 -1
- package/dist/invoice/invoice.schema.d.ts +16 -16
- package/dist/invoice/invoice.schema.js +1 -1
- package/dist/job/job.contracts.d.ts +62 -62
- package/dist/job/job.contracts.js +1 -1
- package/dist/job/job.schema.d.ts +20 -20
- package/dist/job/job.schema.js +1 -1
- package/dist/payment/payment.contracts.d.ts +16 -16
- package/dist/payment/payment.contracts.js +1 -1
- package/dist/payment/payment.schema.d.ts +15 -15
- package/dist/payment/payment.schema.js +1 -1
- package/dist/quote/quote.contracts.d.ts +35 -35
- package/dist/quote/quote.contracts.js +1 -1
- package/dist/quote/quote.schema.d.ts +24 -24
- package/dist/quote/quote.schema.js +1 -1
- package/package.json +11 -11
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -1
- package/dist/libs/contracts/dist/client/index.js +0 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -350
- package/dist/libs/contracts/dist/docs/index.js +0 -1
- package/dist/libs/contracts/dist/docs/presentations.js +0 -1
- package/dist/libs/contracts/dist/docs/registry.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -58
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -38
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -289
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -63
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -36
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -65
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -41
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -122
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -1
- package/dist/libs/contracts/dist/events.js +0 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -1
- package/dist/libs/contracts/dist/install.js +0 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -1
- package/dist/libs/contracts/dist/integrations/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -1
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -1
- package/dist/libs/contracts/dist/knowledge/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -1
- package/dist/libs/contracts/dist/llm/exporters.js +0 -1
- package/dist/libs/contracts/dist/llm/index.js +0 -1
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -1
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -1
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +0 -1
- 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 -1
- package/dist/libs/contracts/dist/registry.js +0 -1
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -1
- package/dist/libs/contracts/dist/server/index.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -1
- 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 -1
- 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 -1
- 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 -1
- package/dist/libs/schema/dist/FieldType.js +0 -1
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/schema/dist/entity/index.js +0 -1
- package/dist/libs/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -1
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema217 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts14 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/job/job.contracts.d.ts
|
|
5
|
-
declare const ListJobsInputModel:
|
|
5
|
+
declare const ListJobsInputModel: _lssm_lib_schema217.SchemaModel<{
|
|
6
6
|
status: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
8
8
|
isOptional: true;
|
|
9
9
|
};
|
|
10
10
|
clientId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
limit: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema217.FieldType<number, number>;
|
|
16
16
|
isOptional: true;
|
|
17
17
|
};
|
|
18
18
|
offset: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema217.FieldType<number, number>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
-
declare const ListJobsOutputModel:
|
|
23
|
+
declare const ListJobsOutputModel: _lssm_lib_schema217.SchemaModel<{
|
|
24
24
|
jobs: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema217.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
quoteId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
clientId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
title: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
status: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
scheduledAt: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
completedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
assignedTo: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
}>;
|
|
@@ -60,60 +60,60 @@ declare const ListJobsOutputModel: _lssm_lib_schema29.SchemaModel<{
|
|
|
60
60
|
isList: boolean;
|
|
61
61
|
};
|
|
62
62
|
total: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema217.FieldType<number, number>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
}>;
|
|
67
|
-
declare const ListJobsOperation:
|
|
67
|
+
declare const ListJobsOperation: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema217.SchemaModel<{
|
|
68
68
|
status: {
|
|
69
|
-
type:
|
|
69
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
70
70
|
isOptional: true;
|
|
71
71
|
};
|
|
72
72
|
clientId: {
|
|
73
|
-
type:
|
|
73
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
74
74
|
isOptional: true;
|
|
75
75
|
};
|
|
76
76
|
limit: {
|
|
77
|
-
type:
|
|
77
|
+
type: _lssm_lib_schema217.FieldType<number, number>;
|
|
78
78
|
isOptional: true;
|
|
79
79
|
};
|
|
80
80
|
offset: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema217.FieldType<number, number>;
|
|
82
82
|
isOptional: true;
|
|
83
83
|
};
|
|
84
|
-
}>,
|
|
84
|
+
}>, _lssm_lib_schema217.SchemaModel<{
|
|
85
85
|
jobs: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema217.SchemaModel<{
|
|
87
87
|
id: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
quoteId: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
clientId: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
title: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
status: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
scheduledAt: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
completedAt: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
assignedTo: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
117
117
|
isOptional: true;
|
|
118
118
|
};
|
|
119
119
|
}>;
|
|
@@ -121,115 +121,115 @@ declare const ListJobsOperation: _lssm_lib_contracts0.ContractSpec<_lssm_lib_sch
|
|
|
121
121
|
isList: boolean;
|
|
122
122
|
};
|
|
123
123
|
total: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema217.FieldType<number, number>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
}>, undefined>;
|
|
128
128
|
/**
|
|
129
129
|
* Schedule a job.
|
|
130
130
|
*/
|
|
131
|
-
declare const ScheduleJobContract:
|
|
131
|
+
declare const ScheduleJobContract: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema217.SchemaModel<{
|
|
132
132
|
quoteId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
scheduledAt: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
assignedTo: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
142
142
|
isOptional: true;
|
|
143
143
|
};
|
|
144
144
|
location: {
|
|
145
|
-
type:
|
|
145
|
+
type: _lssm_lib_schema217.FieldType<unknown, unknown>;
|
|
146
146
|
isOptional: true;
|
|
147
147
|
};
|
|
148
148
|
title: {
|
|
149
|
-
type:
|
|
149
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
150
150
|
isOptional: true;
|
|
151
151
|
};
|
|
152
|
-
}>,
|
|
152
|
+
}>, _lssm_lib_schema217.SchemaModel<{
|
|
153
153
|
id: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
quoteId: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
clientId: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
title: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
status: {
|
|
170
|
-
type:
|
|
170
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
171
171
|
isOptional: false;
|
|
172
172
|
};
|
|
173
173
|
scheduledAt: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
175
175
|
isOptional: true;
|
|
176
176
|
};
|
|
177
177
|
completedAt: {
|
|
178
|
-
type:
|
|
178
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
assignedTo: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
183
183
|
isOptional: true;
|
|
184
184
|
};
|
|
185
185
|
}>, undefined>;
|
|
186
186
|
/**
|
|
187
187
|
* Complete a job.
|
|
188
188
|
*/
|
|
189
|
-
declare const CompleteJobContract:
|
|
189
|
+
declare const CompleteJobContract: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema217.SchemaModel<{
|
|
190
190
|
jobId: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
completedAt: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
notes: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
|
-
}>,
|
|
202
|
+
}>, _lssm_lib_schema217.SchemaModel<{
|
|
203
203
|
id: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
205
205
|
isOptional: false;
|
|
206
206
|
};
|
|
207
207
|
quoteId: {
|
|
208
|
-
type:
|
|
208
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
209
209
|
isOptional: false;
|
|
210
210
|
};
|
|
211
211
|
clientId: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
213
213
|
isOptional: false;
|
|
214
214
|
};
|
|
215
215
|
title: {
|
|
216
|
-
type:
|
|
216
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
217
217
|
isOptional: false;
|
|
218
218
|
};
|
|
219
219
|
status: {
|
|
220
|
-
type:
|
|
220
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
221
221
|
isOptional: false;
|
|
222
222
|
};
|
|
223
223
|
scheduledAt: {
|
|
224
|
-
type:
|
|
224
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
225
225
|
isOptional: true;
|
|
226
226
|
};
|
|
227
227
|
completedAt: {
|
|
228
|
-
type:
|
|
228
|
+
type: _lssm_lib_schema217.FieldType<Date, string>;
|
|
229
229
|
isOptional: true;
|
|
230
230
|
};
|
|
231
231
|
assignedTo: {
|
|
232
|
-
type:
|
|
232
|
+
type: _lssm_lib_schema217.FieldType<string, string>;
|
|
233
233
|
isOptional: true;
|
|
234
234
|
};
|
|
235
235
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{CompleteJobInputModel as e,JobModel as t,ScheduleJobInputModel as n}from"./job.schema.js";import{ScalarTypeEnum as r,defineSchemaModel as i}from"@lssm/lib.schema";import{defineCommand as a,defineQuery as o}from"@lssm/lib.contracts";const s=[`@examples.service-business-os`],c=i({name:`ListJobsInput`,description:`Input for listing jobs`,fields:{status:{type:r.String_unsecure(),isOptional:!0},clientId:{type:r.String_unsecure(),isOptional:!0},limit:{type:r.Int_unsecure(),isOptional:!0},offset:{type:r.Int_unsecure(),isOptional:!0}}}),l=i({name:`ListJobsOutput`,description:`Output for listing jobs`,fields:{jobs:{type:t,isOptional:!1,isList:!0},total:{type:r.Int_unsecure(),isOptional:!1}}}),u=o({meta:{name:`service.job.list`,version:1,stability:`stable`,owners:[...s],tags:[`service-business-os`,`job`,`list`,`query`],description:`List all jobs with filtering`,goal:`Retrieve list of jobs`,context:`Job management`},io:{input:c,output:l},policy:{auth:`user`}}),d=a({meta:{name:`service.job.schedule`,version:1,stability:`stable`,owners:[...s],tags:[`service-business-os`,`job`,`schedule`],description:`Schedule a job.`,goal:`Schedule work.`,context:`Job scheduling.`},io:{input:n,output:t},policy:{auth:`user`}}),f=a({meta:{name:`service.job.complete`,version:1,stability:`stable`,owners:[...s],tags:[`service-business-os`,`job`,`complete`],description:`Mark a job as complete.`,goal:`Record job completion.`,context:`Job management.`},io:{input:e,output:t},policy:{auth:`user`}});export{f as CompleteJobContract,c as ListJobsInputModel,u as ListJobsOperation,l as ListJobsOutputModel,d as ScheduleJobContract};
|
package/dist/job/job.schema.d.ts
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema184 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/job/job.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Scheduled job.
|
|
6
6
|
*/
|
|
7
|
-
declare const JobModel:
|
|
7
|
+
declare const JobModel: _lssm_lib_schema184.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
quoteId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
clientId: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
title: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
status: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
scheduledAt: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema184.FieldType<Date, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
completedAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema184.FieldType<Date, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
assignedTo: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
41
|
/**
|
|
42
42
|
* Input for scheduling a job.
|
|
43
43
|
*/
|
|
44
|
-
declare const ScheduleJobInputModel:
|
|
44
|
+
declare const ScheduleJobInputModel: _lssm_lib_schema184.SchemaModel<{
|
|
45
45
|
quoteId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
scheduledAt: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema184.FieldType<Date, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
assignedTo: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
location: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema184.FieldType<unknown, unknown>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
title: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
66
66
|
/**
|
|
67
67
|
* Input for completing a job.
|
|
68
68
|
*/
|
|
69
|
-
declare const CompleteJobInputModel:
|
|
69
|
+
declare const CompleteJobInputModel: _lssm_lib_schema184.SchemaModel<{
|
|
70
70
|
jobId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
completedAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema184.FieldType<Date, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
notes: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema184.FieldType<string, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
package/dist/job/job.schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ScalarTypeEnum as e,defineSchemaModel as t}from"@lssm/lib.schema";const n=t({name:`Job`,description:`Scheduled job`,fields:{id:{type:e.String_unsecure(),isOptional:!1},quoteId:{type:e.String_unsecure(),isOptional:!1},clientId:{type:e.String_unsecure(),isOptional:!1},title:{type:e.String_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},scheduledAt:{type:e.DateTime(),isOptional:!0},completedAt:{type:e.DateTime(),isOptional:!0},assignedTo:{type:e.String_unsecure(),isOptional:!0}}}),r=t({name:`ScheduleJobInput`,description:`Input for scheduling a job`,fields:{quoteId:{type:e.String_unsecure(),isOptional:!1},scheduledAt:{type:e.DateTime(),isOptional:!1},assignedTo:{type:e.String_unsecure(),isOptional:!0},location:{type:e.JSON(),isOptional:!0},title:{type:e.String_unsecure(),isOptional:!0}}}),i=t({name:`CompleteJobInput`,description:`Input for completing a job`,fields:{jobId:{type:e.String_unsecure(),isOptional:!1},completedAt:{type:e.DateTime(),isOptional:!0},notes:{type:e.String_unsecure(),isOptional:!0}}});export{i as CompleteJobInputModel,n as JobModel,r as ScheduleJobInputModel};
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema203 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts13 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/payment/payment.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Record a payment.
|
|
7
7
|
*/
|
|
8
|
-
declare const RecordPaymentContract:
|
|
8
|
+
declare const RecordPaymentContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema203.SchemaModel<{
|
|
9
9
|
invoiceId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
amount: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
method: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
reference: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
receivedAt: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema203.FieldType<Date, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
|
-
}>,
|
|
29
|
+
}>, _lssm_lib_schema203.SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
invoiceId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
amount: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
currency: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
method: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
reference: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
receivedAt: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema203.FieldType<Date, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{PaymentModel as e,RecordPaymentInputModel as t}from"./payment.schema.js";import{defineCommand as n}from"@lssm/lib.contracts";const r=n({meta:{name:`service.payment.record`,version:1,stability:`stable`,owners:[...[`@examples.service-business-os`]],tags:[`service-business-os`,`payment`,`record`],description:`Record a payment.`,goal:`Track payments.`,context:`Billing.`},io:{input:t,output:e},policy:{auth:`user`}});export{r as RecordPaymentContract};
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema170 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/payment/payment.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Payment applied to invoice.
|
|
6
6
|
*/
|
|
7
|
-
declare const PaymentModel:
|
|
7
|
+
declare const PaymentModel: _lssm_lib_schema170.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
invoiceId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
amount: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema170.FieldType<number, number>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
currency: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
method: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
reference: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
receivedAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema170.FieldType<Date, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
37
|
/**
|
|
38
38
|
* Input for recording a payment.
|
|
39
39
|
*/
|
|
40
|
-
declare const RecordPaymentInputModel:
|
|
40
|
+
declare const RecordPaymentInputModel: _lssm_lib_schema170.SchemaModel<{
|
|
41
41
|
invoiceId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
amount: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema170.FieldType<number, number>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
method: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
reference: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema170.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
receivedAt: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema170.FieldType<Date, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ScalarTypeEnum as e,defineSchemaModel as t}from"@lssm/lib.schema";const n=t({name:`Payment`,description:`Payment applied to invoice`,fields:{id:{type:e.String_unsecure(),isOptional:!1},invoiceId:{type:e.String_unsecure(),isOptional:!1},amount:{type:e.Float_unsecure(),isOptional:!1},currency:{type:e.String_unsecure(),isOptional:!1},method:{type:e.String_unsecure(),isOptional:!1},reference:{type:e.String_unsecure(),isOptional:!0},receivedAt:{type:e.DateTime(),isOptional:!1}}}),r=t({name:`RecordPaymentInput`,description:`Input for recording a payment`,fields:{invoiceId:{type:e.String_unsecure(),isOptional:!1},amount:{type:e.Float_unsecure(),isOptional:!1},method:{type:e.String_unsecure(),isOptional:!1},reference:{type:e.String_unsecure(),isOptional:!0},receivedAt:{type:e.DateTime(),isOptional:!0}}});export{n as PaymentModel,r as RecordPaymentInputModel};
|