@lssm/example.service-business-os 0.0.0-canary-20251221164004 → 0.0.0-canary-20251221185840
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.d.ts.map +1 -1
- package/dist/client/client.schema.d.ts +16 -16
- package/dist/entities/index.d.ts +155 -155
- package/dist/events.d.ts +89 -89
- package/dist/events.d.ts.map +1 -1
- package/dist/invoice/invoice.contracts.d.ts +17 -17
- package/dist/invoice/invoice.schema.d.ts +16 -16
- package/dist/job/job.contracts.d.ts +62 -62
- package/dist/job/job.schema.d.ts +20 -20
- package/dist/libs/contracts/dist/data-views/data-views.js +7 -1
- package/dist/libs/contracts/dist/data-views/data-views.js.map +1 -0
- package/dist/libs/contracts/dist/features.js +7 -1
- package/dist/libs/contracts/dist/features.js.map +1 -0
- package/dist/libs/contracts/dist/operations/registry.js +7 -1
- package/dist/libs/contracts/dist/operations/registry.js.map +1 -0
- package/dist/libs/contracts/dist/presentations/presentations.js +7 -1
- package/dist/libs/contracts/dist/presentations/presentations.js.map +1 -0
- package/dist/libs/contracts/dist/workflow/spec.js +7 -1
- package/dist/libs/contracts/dist/workflow/spec.js.map +1 -0
- package/dist/payment/payment.contracts.d.ts +16 -16
- package/dist/payment/payment.schema.d.ts +15 -15
- package/dist/quote/quote.contracts.d.ts +35 -35
- package/dist/quote/quote.schema.d.ts +24 -24
- package/dist/quote/quote.schema.d.ts.map +1 -1
- package/package.json +11 -11
package/dist/events.d.ts
CHANGED
|
@@ -1,333 +1,333 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const QuoteSentEvent: _lssm_lib_contracts0.EventSpec<
|
|
5
|
+
declare const QuoteSentEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
6
6
|
quoteId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
clientId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
amount: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
status: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
orgId: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
occurredAt: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
}>>;
|
|
31
|
-
declare const QuoteAcceptedEvent: _lssm_lib_contracts0.EventSpec<
|
|
31
|
+
declare const QuoteAcceptedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
32
32
|
quoteId: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
clientId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
amount: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
status: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
orgId: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
occurredAt: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
}>>;
|
|
57
|
-
declare const JobScheduledEvent: _lssm_lib_contracts0.EventSpec<
|
|
57
|
+
declare const JobScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
58
58
|
jobId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
quoteId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
clientId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
status: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
scheduledAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
orgId: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
occurredAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const JobCompletedEvent: _lssm_lib_contracts0.EventSpec<
|
|
87
|
+
declare const JobCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
88
88
|
jobId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
quoteId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
94
94
|
isOptional: true;
|
|
95
95
|
};
|
|
96
96
|
clientId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
status: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
scheduledAt: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
orgId: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
occurredAt: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
}>>;
|
|
117
|
-
declare const InvoiceIssuedEvent: _lssm_lib_contracts0.EventSpec<
|
|
117
|
+
declare const InvoiceIssuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
118
118
|
invoiceId: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
jobId: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
amount: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
status: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
orgId: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
occurredAt: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
}>>;
|
|
143
|
-
declare const PaymentReceivedEvent: _lssm_lib_contracts0.EventSpec<
|
|
143
|
+
declare const PaymentReceivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
144
144
|
paymentId: {
|
|
145
|
-
type:
|
|
145
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
146
146
|
isOptional: false;
|
|
147
147
|
};
|
|
148
148
|
invoiceId: {
|
|
149
|
-
type:
|
|
149
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
150
150
|
isOptional: false;
|
|
151
151
|
};
|
|
152
152
|
amount: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
method: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
orgId: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
receivedAt: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
166
166
|
isOptional: false;
|
|
167
167
|
};
|
|
168
168
|
}>>;
|
|
169
169
|
declare const ServiceBusinessEvents: {
|
|
170
|
-
QuoteSentEvent: _lssm_lib_contracts0.EventSpec<
|
|
170
|
+
QuoteSentEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
171
171
|
quoteId: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
clientId: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
amount: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
status: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
187
|
orgId: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
occurredAt: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
193
193
|
isOptional: false;
|
|
194
194
|
};
|
|
195
195
|
}>>;
|
|
196
|
-
QuoteAcceptedEvent: _lssm_lib_contracts0.EventSpec<
|
|
196
|
+
QuoteAcceptedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
197
197
|
quoteId: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
200
200
|
};
|
|
201
201
|
clientId: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
amount: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
207
207
|
isOptional: false;
|
|
208
208
|
};
|
|
209
209
|
status: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
orgId: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
occurredAt: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
}>>;
|
|
222
|
-
JobScheduledEvent: _lssm_lib_contracts0.EventSpec<
|
|
222
|
+
JobScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
223
223
|
jobId: {
|
|
224
|
-
type:
|
|
224
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
225
225
|
isOptional: false;
|
|
226
226
|
};
|
|
227
227
|
quoteId: {
|
|
228
|
-
type:
|
|
228
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
229
229
|
isOptional: true;
|
|
230
230
|
};
|
|
231
231
|
clientId: {
|
|
232
|
-
type:
|
|
232
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
233
233
|
isOptional: true;
|
|
234
234
|
};
|
|
235
235
|
status: {
|
|
236
|
-
type:
|
|
236
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
237
237
|
isOptional: false;
|
|
238
238
|
};
|
|
239
239
|
scheduledAt: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
241
241
|
isOptional: true;
|
|
242
242
|
};
|
|
243
243
|
orgId: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
occurredAt: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
}>>;
|
|
252
|
-
JobCompletedEvent: _lssm_lib_contracts0.EventSpec<
|
|
252
|
+
JobCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
253
253
|
jobId: {
|
|
254
|
-
type:
|
|
254
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
255
255
|
isOptional: false;
|
|
256
256
|
};
|
|
257
257
|
quoteId: {
|
|
258
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
259
259
|
isOptional: true;
|
|
260
260
|
};
|
|
261
261
|
clientId: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
263
263
|
isOptional: true;
|
|
264
264
|
};
|
|
265
265
|
status: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
267
267
|
isOptional: false;
|
|
268
268
|
};
|
|
269
269
|
scheduledAt: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
271
271
|
isOptional: true;
|
|
272
272
|
};
|
|
273
273
|
orgId: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
275
275
|
isOptional: false;
|
|
276
276
|
};
|
|
277
277
|
occurredAt: {
|
|
278
|
-
type:
|
|
278
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
279
279
|
isOptional: false;
|
|
280
280
|
};
|
|
281
281
|
}>>;
|
|
282
|
-
InvoiceIssuedEvent: _lssm_lib_contracts0.EventSpec<
|
|
282
|
+
InvoiceIssuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
283
283
|
invoiceId: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
jobId: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
289
289
|
isOptional: false;
|
|
290
290
|
};
|
|
291
291
|
amount: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
293
293
|
isOptional: false;
|
|
294
294
|
};
|
|
295
295
|
status: {
|
|
296
|
-
type:
|
|
296
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
297
297
|
isOptional: false;
|
|
298
298
|
};
|
|
299
299
|
orgId: {
|
|
300
|
-
type:
|
|
300
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
301
301
|
isOptional: false;
|
|
302
302
|
};
|
|
303
303
|
occurredAt: {
|
|
304
|
-
type:
|
|
304
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
305
305
|
isOptional: false;
|
|
306
306
|
};
|
|
307
307
|
}>>;
|
|
308
|
-
PaymentReceivedEvent: _lssm_lib_contracts0.EventSpec<
|
|
308
|
+
PaymentReceivedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
309
309
|
paymentId: {
|
|
310
|
-
type:
|
|
310
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
311
311
|
isOptional: false;
|
|
312
312
|
};
|
|
313
313
|
invoiceId: {
|
|
314
|
-
type:
|
|
314
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
315
315
|
isOptional: false;
|
|
316
316
|
};
|
|
317
317
|
amount: {
|
|
318
|
-
type:
|
|
318
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
319
319
|
isOptional: false;
|
|
320
320
|
};
|
|
321
321
|
method: {
|
|
322
|
-
type:
|
|
322
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
323
323
|
isOptional: false;
|
|
324
324
|
};
|
|
325
325
|
orgId: {
|
|
326
|
-
type:
|
|
326
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
327
327
|
isOptional: false;
|
|
328
328
|
};
|
|
329
329
|
receivedAt: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
331
331
|
isOptional: false;
|
|
332
332
|
};
|
|
333
333
|
}>>;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAwDa,gBAAc,oBAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAwDa,gBAAc,oBAAA,CAAA,4BAAA;;UAKzB,iBAAA,CAAA;;EALW,CAAA;EAKX,QAAA,EAAA;;;;;;;;EALyB,MAAA,EAAA;IAAA,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAOd,UAAA,EAAA,KAKX;EAAA,CAAA;;;;;;;gBAL6B,KAAA;EAAA,CAAA;CAAA,CAAA,CAAA;AAOlB,cAPA,kBAYX,EAZ6B,oBAAA,CAAA,SAY7B,mBAZ6B,WAY7B,CAAA;EAAA,OAAA,EAAA;UAPA,iBAAA,CAAA;;;;;;;;qCAE4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAOjB,MAAA,EAAA;IAKX,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;gBAL4B,KAAA;EAAA,CAAA;CAAA,CAAA,CAAA;AAOjB,cAdA,iBAmBX,EAnB4B,oBAAA,CAAA,SAmB5B,mBAnB4B,WAmB5B,CAAA;EAAA,KAAA,EAAA;UAdA,iBAAA,CAAA;;;;;;;EAS6B,QAAA,EAAA;IAAA,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAOlB,UAAA,EAAA,IAAA;EAKX,CAAA;;;;;;;gBAL+B,IAAA;EAAA,CAAA;EAAA,KAAA,EAAA;IAOpB,IAAA,6BAOZ,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;cA5BY,mBAAiB,oBAAA,CAAA,4BAAA;;UAK5B,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,oBAAkB,oBAAA,CAAA,4BAAA;;UAK7B,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAEW,sBAAoB,oBAAA,CAAA,4BAAA;;UAK/B,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAEW;;;YAOZ,iBAAA,CAAA"}
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema271 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/invoice/invoice.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Issue an invoice.
|
|
7
7
|
*/
|
|
8
|
-
declare const IssueInvoiceContract:
|
|
8
|
+
declare const IssueInvoiceContract: _lssm_lib_contracts12.OperationSpec<_lssm_lib_schema271.SchemaModel<{
|
|
9
9
|
jobId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
dueDate: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
notes: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
lineItems: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema271.FieldType<unknown, unknown>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _lssm_lib_schema271.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
jobId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
invoiceNumber: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
amount: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema271.FieldType<number, number>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
currency: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
status: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema271.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
dueDate: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
issuedAt: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
paidAt: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema271.FieldType<Date, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
}>, undefined>;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema286 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/invoice/invoice.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Invoice issued for a job.
|
|
6
6
|
*/
|
|
7
|
-
declare const InvoiceModel:
|
|
7
|
+
declare const InvoiceModel: _lssm_lib_schema286.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
jobId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
invoiceNumber: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
amount: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema286.FieldType<number, number>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
currency: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
dueDate: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
issuedAt: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
paidAt: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
46
46
|
* Input for issuing an invoice.
|
|
47
47
|
*/
|
|
48
|
-
declare const IssueInvoiceInputModel:
|
|
48
|
+
declare const IssueInvoiceInputModel: _lssm_lib_schema286.SchemaModel<{
|
|
49
49
|
jobId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
dueDate: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema286.FieldType<Date, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
notes: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema286.FieldType<string, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
lineItems: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema286.FieldType<unknown, unknown>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|