@lssm/example.service-business-os 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804

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.
@@ -0,0 +1,16 @@
1
+ import { CreateClientContract } from "../client/client.contracts.js";
2
+ import "../client/index.js";
3
+ import { AcceptQuoteContract, CreateQuoteContract } from "../quote/quote.contracts.js";
4
+ import "../quote/index.js";
5
+ import { CompleteJobContract, ScheduleJobContract } from "../job/job.contracts.js";
6
+ import "../job/index.js";
7
+ import { IssueInvoiceContract } from "../invoice/invoice.contracts.js";
8
+ import "../invoice/index.js";
9
+ import { RecordPaymentContract } from "../payment/payment.contracts.js";
10
+ import "../payment/index.js";
11
+
12
+ //#region src/handlers/index.d.ts
13
+ declare function registerServiceBusinessHandlers(): void;
14
+ type ServiceBusinessHandlers = typeof AcceptQuoteContract | typeof CreateClientContract | typeof CreateQuoteContract | typeof ScheduleJobContract | typeof CompleteJobContract | typeof IssueInvoiceContract | typeof RecordPaymentContract;
15
+ //#endregion
16
+ export { ServiceBusinessHandlers, registerServiceBusinessHandlers };
@@ -0,0 +1,16 @@
1
+ import { CreateClientContract } from "./client/client.contracts.js";
2
+ import { ClientModel, CreateClientInputModel } from "./client/client.schema.js";
3
+ import "./client/index.js";
4
+ import { AcceptQuoteInputModel, CreateQuoteInputModel, QuoteModel } from "./quote/quote.schema.js";
5
+ import { AcceptQuoteContract, CreateQuoteContract } from "./quote/quote.contracts.js";
6
+ import "./quote/index.js";
7
+ import { CompleteJobInputModel, JobModel, ScheduleJobInputModel } from "./job/job.schema.js";
8
+ import { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract } from "./job/job.contracts.js";
9
+ import "./job/index.js";
10
+ import { InvoiceModel, IssueInvoiceInputModel } from "./invoice/invoice.schema.js";
11
+ import { IssueInvoiceContract } from "./invoice/invoice.contracts.js";
12
+ import "./invoice/index.js";
13
+ import { PaymentModel, RecordPaymentInputModel } from "./payment/payment.schema.js";
14
+ import { RecordPaymentContract } from "./payment/payment.contracts.js";
15
+ import "./payment/index.js";
16
+ export { AcceptQuoteContract, AcceptQuoteInputModel, ClientModel, CompleteJobContract, CompleteJobInputModel, CreateClientContract, CreateClientInputModel, CreateQuoteContract, CreateQuoteInputModel, InvoiceModel, IssueInvoiceContract, IssueInvoiceInputModel, JobModel, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, PaymentModel, QuoteModel, RecordPaymentContract, RecordPaymentInputModel, ScheduleJobContract, ScheduleJobInputModel };
@@ -0,0 +1,3 @@
1
+ import { InvoiceModel, IssueInvoiceInputModel } from "./invoice.schema.js";
2
+ import { IssueInvoiceContract } from "./invoice.contracts.js";
3
+ export { InvoiceModel, IssueInvoiceContract, IssueInvoiceInputModel };
@@ -0,0 +1,64 @@
1
+ import * as _lssm_lib_schema295 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts18 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_contracts18.ContractSpec<_lssm_lib_schema295.SchemaModel<{
9
+ jobId: {
10
+ type: _lssm_lib_schema295.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ dueDate: {
14
+ type: _lssm_lib_schema295.FieldType<Date, string>;
15
+ isOptional: true;
16
+ };
17
+ notes: {
18
+ type: _lssm_lib_schema295.FieldType<string, string>;
19
+ isOptional: true;
20
+ };
21
+ lineItems: {
22
+ type: _lssm_lib_schema295.FieldType<unknown, unknown>;
23
+ isOptional: true;
24
+ };
25
+ }>, _lssm_lib_schema295.SchemaModel<{
26
+ id: {
27
+ type: _lssm_lib_schema295.FieldType<string, string>;
28
+ isOptional: false;
29
+ };
30
+ jobId: {
31
+ type: _lssm_lib_schema295.FieldType<string, string>;
32
+ isOptional: false;
33
+ };
34
+ invoiceNumber: {
35
+ type: _lssm_lib_schema295.FieldType<string, string>;
36
+ isOptional: false;
37
+ };
38
+ amount: {
39
+ type: _lssm_lib_schema295.FieldType<number, number>;
40
+ isOptional: false;
41
+ };
42
+ currency: {
43
+ type: _lssm_lib_schema295.FieldType<string, string>;
44
+ isOptional: false;
45
+ };
46
+ status: {
47
+ type: _lssm_lib_schema295.FieldType<string, string>;
48
+ isOptional: false;
49
+ };
50
+ dueDate: {
51
+ type: _lssm_lib_schema295.FieldType<Date, string>;
52
+ isOptional: true;
53
+ };
54
+ issuedAt: {
55
+ type: _lssm_lib_schema295.FieldType<Date, string>;
56
+ isOptional: true;
57
+ };
58
+ paidAt: {
59
+ type: _lssm_lib_schema295.FieldType<Date, string>;
60
+ isOptional: true;
61
+ };
62
+ }>, undefined>;
63
+ //#endregion
64
+ export { IssueInvoiceContract };
@@ -0,0 +1,67 @@
1
+ import * as _lssm_lib_schema266 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_schema266.SchemaModel<{
8
+ id: {
9
+ type: _lssm_lib_schema266.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ jobId: {
13
+ type: _lssm_lib_schema266.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ invoiceNumber: {
17
+ type: _lssm_lib_schema266.FieldType<string, string>;
18
+ isOptional: false;
19
+ };
20
+ amount: {
21
+ type: _lssm_lib_schema266.FieldType<number, number>;
22
+ isOptional: false;
23
+ };
24
+ currency: {
25
+ type: _lssm_lib_schema266.FieldType<string, string>;
26
+ isOptional: false;
27
+ };
28
+ status: {
29
+ type: _lssm_lib_schema266.FieldType<string, string>;
30
+ isOptional: false;
31
+ };
32
+ dueDate: {
33
+ type: _lssm_lib_schema266.FieldType<Date, string>;
34
+ isOptional: true;
35
+ };
36
+ issuedAt: {
37
+ type: _lssm_lib_schema266.FieldType<Date, string>;
38
+ isOptional: true;
39
+ };
40
+ paidAt: {
41
+ type: _lssm_lib_schema266.FieldType<Date, string>;
42
+ isOptional: true;
43
+ };
44
+ }>;
45
+ /**
46
+ * Input for issuing an invoice.
47
+ */
48
+ declare const IssueInvoiceInputModel: _lssm_lib_schema266.SchemaModel<{
49
+ jobId: {
50
+ type: _lssm_lib_schema266.FieldType<string, string>;
51
+ isOptional: false;
52
+ };
53
+ dueDate: {
54
+ type: _lssm_lib_schema266.FieldType<Date, string>;
55
+ isOptional: true;
56
+ };
57
+ notes: {
58
+ type: _lssm_lib_schema266.FieldType<string, string>;
59
+ isOptional: true;
60
+ };
61
+ lineItems: {
62
+ type: _lssm_lib_schema266.FieldType<unknown, unknown>;
63
+ isOptional: true;
64
+ };
65
+ }>;
66
+ //#endregion
67
+ export { InvoiceModel, IssueInvoiceInputModel };
@@ -0,0 +1,3 @@
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 };
@@ -0,0 +1,237 @@
1
+ import * as _lssm_lib_schema116 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
3
+
4
+ //#region src/job/job.contracts.d.ts
5
+ declare const ListJobsInputModel: _lssm_lib_schema116.SchemaModel<{
6
+ status: {
7
+ type: _lssm_lib_schema116.FieldType<string, string>;
8
+ isOptional: true;
9
+ };
10
+ clientId: {
11
+ type: _lssm_lib_schema116.FieldType<string, string>;
12
+ isOptional: true;
13
+ };
14
+ limit: {
15
+ type: _lssm_lib_schema116.FieldType<number, number>;
16
+ isOptional: true;
17
+ };
18
+ offset: {
19
+ type: _lssm_lib_schema116.FieldType<number, number>;
20
+ isOptional: true;
21
+ };
22
+ }>;
23
+ declare const ListJobsOutputModel: _lssm_lib_schema116.SchemaModel<{
24
+ jobs: {
25
+ type: _lssm_lib_schema116.SchemaModel<{
26
+ id: {
27
+ type: _lssm_lib_schema116.FieldType<string, string>;
28
+ isOptional: false;
29
+ };
30
+ quoteId: {
31
+ type: _lssm_lib_schema116.FieldType<string, string>;
32
+ isOptional: false;
33
+ };
34
+ clientId: {
35
+ type: _lssm_lib_schema116.FieldType<string, string>;
36
+ isOptional: false;
37
+ };
38
+ title: {
39
+ type: _lssm_lib_schema116.FieldType<string, string>;
40
+ isOptional: false;
41
+ };
42
+ status: {
43
+ type: _lssm_lib_schema116.FieldType<string, string>;
44
+ isOptional: false;
45
+ };
46
+ scheduledAt: {
47
+ type: _lssm_lib_schema116.FieldType<Date, string>;
48
+ isOptional: true;
49
+ };
50
+ completedAt: {
51
+ type: _lssm_lib_schema116.FieldType<Date, string>;
52
+ isOptional: true;
53
+ };
54
+ assignedTo: {
55
+ type: _lssm_lib_schema116.FieldType<string, string>;
56
+ isOptional: true;
57
+ };
58
+ }>;
59
+ isOptional: false;
60
+ isList: boolean;
61
+ };
62
+ total: {
63
+ type: _lssm_lib_schema116.FieldType<number, number>;
64
+ isOptional: false;
65
+ };
66
+ }>;
67
+ declare const ListJobsOperation: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema116.SchemaModel<{
68
+ status: {
69
+ type: _lssm_lib_schema116.FieldType<string, string>;
70
+ isOptional: true;
71
+ };
72
+ clientId: {
73
+ type: _lssm_lib_schema116.FieldType<string, string>;
74
+ isOptional: true;
75
+ };
76
+ limit: {
77
+ type: _lssm_lib_schema116.FieldType<number, number>;
78
+ isOptional: true;
79
+ };
80
+ offset: {
81
+ type: _lssm_lib_schema116.FieldType<number, number>;
82
+ isOptional: true;
83
+ };
84
+ }>, _lssm_lib_schema116.SchemaModel<{
85
+ jobs: {
86
+ type: _lssm_lib_schema116.SchemaModel<{
87
+ id: {
88
+ type: _lssm_lib_schema116.FieldType<string, string>;
89
+ isOptional: false;
90
+ };
91
+ quoteId: {
92
+ type: _lssm_lib_schema116.FieldType<string, string>;
93
+ isOptional: false;
94
+ };
95
+ clientId: {
96
+ type: _lssm_lib_schema116.FieldType<string, string>;
97
+ isOptional: false;
98
+ };
99
+ title: {
100
+ type: _lssm_lib_schema116.FieldType<string, string>;
101
+ isOptional: false;
102
+ };
103
+ status: {
104
+ type: _lssm_lib_schema116.FieldType<string, string>;
105
+ isOptional: false;
106
+ };
107
+ scheduledAt: {
108
+ type: _lssm_lib_schema116.FieldType<Date, string>;
109
+ isOptional: true;
110
+ };
111
+ completedAt: {
112
+ type: _lssm_lib_schema116.FieldType<Date, string>;
113
+ isOptional: true;
114
+ };
115
+ assignedTo: {
116
+ type: _lssm_lib_schema116.FieldType<string, string>;
117
+ isOptional: true;
118
+ };
119
+ }>;
120
+ isOptional: false;
121
+ isList: boolean;
122
+ };
123
+ total: {
124
+ type: _lssm_lib_schema116.FieldType<number, number>;
125
+ isOptional: false;
126
+ };
127
+ }>, undefined>;
128
+ /**
129
+ * Schedule a job.
130
+ */
131
+ declare const ScheduleJobContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema116.SchemaModel<{
132
+ quoteId: {
133
+ type: _lssm_lib_schema116.FieldType<string, string>;
134
+ isOptional: false;
135
+ };
136
+ scheduledAt: {
137
+ type: _lssm_lib_schema116.FieldType<Date, string>;
138
+ isOptional: false;
139
+ };
140
+ assignedTo: {
141
+ type: _lssm_lib_schema116.FieldType<string, string>;
142
+ isOptional: true;
143
+ };
144
+ location: {
145
+ type: _lssm_lib_schema116.FieldType<unknown, unknown>;
146
+ isOptional: true;
147
+ };
148
+ title: {
149
+ type: _lssm_lib_schema116.FieldType<string, string>;
150
+ isOptional: true;
151
+ };
152
+ }>, _lssm_lib_schema116.SchemaModel<{
153
+ id: {
154
+ type: _lssm_lib_schema116.FieldType<string, string>;
155
+ isOptional: false;
156
+ };
157
+ quoteId: {
158
+ type: _lssm_lib_schema116.FieldType<string, string>;
159
+ isOptional: false;
160
+ };
161
+ clientId: {
162
+ type: _lssm_lib_schema116.FieldType<string, string>;
163
+ isOptional: false;
164
+ };
165
+ title: {
166
+ type: _lssm_lib_schema116.FieldType<string, string>;
167
+ isOptional: false;
168
+ };
169
+ status: {
170
+ type: _lssm_lib_schema116.FieldType<string, string>;
171
+ isOptional: false;
172
+ };
173
+ scheduledAt: {
174
+ type: _lssm_lib_schema116.FieldType<Date, string>;
175
+ isOptional: true;
176
+ };
177
+ completedAt: {
178
+ type: _lssm_lib_schema116.FieldType<Date, string>;
179
+ isOptional: true;
180
+ };
181
+ assignedTo: {
182
+ type: _lssm_lib_schema116.FieldType<string, string>;
183
+ isOptional: true;
184
+ };
185
+ }>, undefined>;
186
+ /**
187
+ * Complete a job.
188
+ */
189
+ declare const CompleteJobContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema116.SchemaModel<{
190
+ jobId: {
191
+ type: _lssm_lib_schema116.FieldType<string, string>;
192
+ isOptional: false;
193
+ };
194
+ completedAt: {
195
+ type: _lssm_lib_schema116.FieldType<Date, string>;
196
+ isOptional: true;
197
+ };
198
+ notes: {
199
+ type: _lssm_lib_schema116.FieldType<string, string>;
200
+ isOptional: true;
201
+ };
202
+ }>, _lssm_lib_schema116.SchemaModel<{
203
+ id: {
204
+ type: _lssm_lib_schema116.FieldType<string, string>;
205
+ isOptional: false;
206
+ };
207
+ quoteId: {
208
+ type: _lssm_lib_schema116.FieldType<string, string>;
209
+ isOptional: false;
210
+ };
211
+ clientId: {
212
+ type: _lssm_lib_schema116.FieldType<string, string>;
213
+ isOptional: false;
214
+ };
215
+ title: {
216
+ type: _lssm_lib_schema116.FieldType<string, string>;
217
+ isOptional: false;
218
+ };
219
+ status: {
220
+ type: _lssm_lib_schema116.FieldType<string, string>;
221
+ isOptional: false;
222
+ };
223
+ scheduledAt: {
224
+ type: _lssm_lib_schema116.FieldType<Date, string>;
225
+ isOptional: true;
226
+ };
227
+ completedAt: {
228
+ type: _lssm_lib_schema116.FieldType<Date, string>;
229
+ isOptional: true;
230
+ };
231
+ assignedTo: {
232
+ type: _lssm_lib_schema116.FieldType<string, string>;
233
+ isOptional: true;
234
+ };
235
+ }>, undefined>;
236
+ //#endregion
237
+ export { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract };
@@ -0,0 +1,84 @@
1
+ import * as _lssm_lib_schema176 from "@lssm/lib.schema";
2
+
3
+ //#region src/job/job.schema.d.ts
4
+ /**
5
+ * Scheduled job.
6
+ */
7
+ declare const JobModel: _lssm_lib_schema176.SchemaModel<{
8
+ id: {
9
+ type: _lssm_lib_schema176.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ quoteId: {
13
+ type: _lssm_lib_schema176.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ clientId: {
17
+ type: _lssm_lib_schema176.FieldType<string, string>;
18
+ isOptional: false;
19
+ };
20
+ title: {
21
+ type: _lssm_lib_schema176.FieldType<string, string>;
22
+ isOptional: false;
23
+ };
24
+ status: {
25
+ type: _lssm_lib_schema176.FieldType<string, string>;
26
+ isOptional: false;
27
+ };
28
+ scheduledAt: {
29
+ type: _lssm_lib_schema176.FieldType<Date, string>;
30
+ isOptional: true;
31
+ };
32
+ completedAt: {
33
+ type: _lssm_lib_schema176.FieldType<Date, string>;
34
+ isOptional: true;
35
+ };
36
+ assignedTo: {
37
+ type: _lssm_lib_schema176.FieldType<string, string>;
38
+ isOptional: true;
39
+ };
40
+ }>;
41
+ /**
42
+ * Input for scheduling a job.
43
+ */
44
+ declare const ScheduleJobInputModel: _lssm_lib_schema176.SchemaModel<{
45
+ quoteId: {
46
+ type: _lssm_lib_schema176.FieldType<string, string>;
47
+ isOptional: false;
48
+ };
49
+ scheduledAt: {
50
+ type: _lssm_lib_schema176.FieldType<Date, string>;
51
+ isOptional: false;
52
+ };
53
+ assignedTo: {
54
+ type: _lssm_lib_schema176.FieldType<string, string>;
55
+ isOptional: true;
56
+ };
57
+ location: {
58
+ type: _lssm_lib_schema176.FieldType<unknown, unknown>;
59
+ isOptional: true;
60
+ };
61
+ title: {
62
+ type: _lssm_lib_schema176.FieldType<string, string>;
63
+ isOptional: true;
64
+ };
65
+ }>;
66
+ /**
67
+ * Input for completing a job.
68
+ */
69
+ declare const CompleteJobInputModel: _lssm_lib_schema176.SchemaModel<{
70
+ jobId: {
71
+ type: _lssm_lib_schema176.FieldType<string, string>;
72
+ isOptional: false;
73
+ };
74
+ completedAt: {
75
+ type: _lssm_lib_schema176.FieldType<Date, string>;
76
+ isOptional: true;
77
+ };
78
+ notes: {
79
+ type: _lssm_lib_schema176.FieldType<string, string>;
80
+ isOptional: true;
81
+ };
82
+ }>;
83
+ //#endregion
84
+ export { CompleteJobInputModel, JobModel, ScheduleJobInputModel };
@@ -0,0 +1,3 @@
1
+ import { PaymentModel, RecordPaymentInputModel } from "./payment.schema.js";
2
+ import { RecordPaymentContract } from "./payment.contracts.js";
3
+ export { PaymentModel, RecordPaymentContract, RecordPaymentInputModel };
@@ -0,0 +1,60 @@
1
+ import * as _lssm_lib_schema87 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts11 from "@lssm/lib.contracts";
3
+
4
+ //#region src/payment/payment.contracts.d.ts
5
+ /**
6
+ * Record a payment.
7
+ */
8
+ declare const RecordPaymentContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema87.SchemaModel<{
9
+ invoiceId: {
10
+ type: _lssm_lib_schema87.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ amount: {
14
+ type: _lssm_lib_schema87.FieldType<number, number>;
15
+ isOptional: false;
16
+ };
17
+ method: {
18
+ type: _lssm_lib_schema87.FieldType<string, string>;
19
+ isOptional: false;
20
+ };
21
+ reference: {
22
+ type: _lssm_lib_schema87.FieldType<string, string>;
23
+ isOptional: true;
24
+ };
25
+ receivedAt: {
26
+ type: _lssm_lib_schema87.FieldType<Date, string>;
27
+ isOptional: true;
28
+ };
29
+ }>, _lssm_lib_schema87.SchemaModel<{
30
+ id: {
31
+ type: _lssm_lib_schema87.FieldType<string, string>;
32
+ isOptional: false;
33
+ };
34
+ invoiceId: {
35
+ type: _lssm_lib_schema87.FieldType<string, string>;
36
+ isOptional: false;
37
+ };
38
+ amount: {
39
+ type: _lssm_lib_schema87.FieldType<number, number>;
40
+ isOptional: false;
41
+ };
42
+ currency: {
43
+ type: _lssm_lib_schema87.FieldType<string, string>;
44
+ isOptional: false;
45
+ };
46
+ method: {
47
+ type: _lssm_lib_schema87.FieldType<string, string>;
48
+ isOptional: false;
49
+ };
50
+ reference: {
51
+ type: _lssm_lib_schema87.FieldType<string, string>;
52
+ isOptional: true;
53
+ };
54
+ receivedAt: {
55
+ type: _lssm_lib_schema87.FieldType<Date, string>;
56
+ isOptional: false;
57
+ };
58
+ }>, undefined>;
59
+ //#endregion
60
+ export { RecordPaymentContract };
@@ -0,0 +1,63 @@
1
+ import * as _lssm_lib_schema281 from "@lssm/lib.schema";
2
+
3
+ //#region src/payment/payment.schema.d.ts
4
+ /**
5
+ * Payment applied to invoice.
6
+ */
7
+ declare const PaymentModel: _lssm_lib_schema281.SchemaModel<{
8
+ id: {
9
+ type: _lssm_lib_schema281.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ invoiceId: {
13
+ type: _lssm_lib_schema281.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ amount: {
17
+ type: _lssm_lib_schema281.FieldType<number, number>;
18
+ isOptional: false;
19
+ };
20
+ currency: {
21
+ type: _lssm_lib_schema281.FieldType<string, string>;
22
+ isOptional: false;
23
+ };
24
+ method: {
25
+ type: _lssm_lib_schema281.FieldType<string, string>;
26
+ isOptional: false;
27
+ };
28
+ reference: {
29
+ type: _lssm_lib_schema281.FieldType<string, string>;
30
+ isOptional: true;
31
+ };
32
+ receivedAt: {
33
+ type: _lssm_lib_schema281.FieldType<Date, string>;
34
+ isOptional: false;
35
+ };
36
+ }>;
37
+ /**
38
+ * Input for recording a payment.
39
+ */
40
+ declare const RecordPaymentInputModel: _lssm_lib_schema281.SchemaModel<{
41
+ invoiceId: {
42
+ type: _lssm_lib_schema281.FieldType<string, string>;
43
+ isOptional: false;
44
+ };
45
+ amount: {
46
+ type: _lssm_lib_schema281.FieldType<number, number>;
47
+ isOptional: false;
48
+ };
49
+ method: {
50
+ type: _lssm_lib_schema281.FieldType<string, string>;
51
+ isOptional: false;
52
+ };
53
+ reference: {
54
+ type: _lssm_lib_schema281.FieldType<string, string>;
55
+ isOptional: true;
56
+ };
57
+ receivedAt: {
58
+ type: _lssm_lib_schema281.FieldType<Date, string>;
59
+ isOptional: true;
60
+ };
61
+ }>;
62
+ //#endregion
63
+ export { PaymentModel, RecordPaymentInputModel };
@@ -0,0 +1,8 @@
1
+ //#region src/presentations/index.d.ts
2
+ /**
3
+ * Presentation descriptors for Service Business OS.
4
+ * These names map to renderers in Studio (react/markdown) to keep specs multi-surface.
5
+ */
6
+ declare const ServiceBusinessPresentations: string[];
7
+ //#endregion
8
+ export { ServiceBusinessPresentations };
@@ -0,0 +1,12 @@
1
+ import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
2
+
3
+ //#region src/presentations.d.ts
4
+ declare const ServiceDashboardPresentation: PresentationDescriptorV2;
5
+ declare const ClientListPresentation: PresentationDescriptorV2;
6
+ declare const QuoteListPresentation: PresentationDescriptorV2;
7
+ declare const QuoteDetailPresentation: PresentationDescriptorV2;
8
+ declare const JobBoardPresentation: PresentationDescriptorV2;
9
+ declare const InvoiceListPresentation: PresentationDescriptorV2;
10
+ declare const PaymentListPresentation: PresentationDescriptorV2;
11
+ //#endregion
12
+ export { ClientListPresentation, InvoiceListPresentation, JobBoardPresentation, PaymentListPresentation, QuoteDetailPresentation, QuoteListPresentation, ServiceDashboardPresentation };
@@ -0,0 +1,3 @@
1
+ import { AcceptQuoteInputModel, CreateQuoteInputModel, QuoteModel } from "./quote.schema.js";
2
+ import { AcceptQuoteContract, CreateQuoteContract } from "./quote.contracts.js";
3
+ export { AcceptQuoteContract, AcceptQuoteInputModel, CreateQuoteContract, CreateQuoteInputModel, QuoteModel };