@contractspec/example.service-business-os 1.55.0 → 1.56.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.
@@ -1,62 +1,62 @@
1
- import * as _contractspec_lib_schema110 from "@contractspec/lib.schema";
2
- import * as _contractspec_lib_contracts21 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_schema22 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/client/client.operations.d.ts
5
5
  /**
6
6
  * Create a new client.
7
7
  */
8
- declare const CreateClientContract: _contractspec_lib_contracts21.OperationSpec<_contractspec_lib_schema110.SchemaModel<{
8
+ declare const CreateClientContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema22.SchemaModel<{
9
9
  name: {
10
- type: _contractspec_lib_schema110.FieldType<string, string>;
10
+ type: _contractspec_lib_schema22.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  contactEmail: {
14
- type: _contractspec_lib_schema110.FieldType<string, string>;
14
+ type: _contractspec_lib_schema22.FieldType<string, string>;
15
15
  isOptional: true;
16
16
  };
17
17
  phone: {
18
- type: _contractspec_lib_schema110.FieldType<string, string>;
18
+ type: _contractspec_lib_schema22.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  orgId: {
22
- type: _contractspec_lib_schema110.FieldType<string, string>;
22
+ type: _contractspec_lib_schema22.FieldType<string, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  ownerId: {
26
- type: _contractspec_lib_schema110.FieldType<string, string>;
26
+ type: _contractspec_lib_schema22.FieldType<string, string>;
27
27
  isOptional: false;
28
28
  };
29
29
  metadata: {
30
- type: _contractspec_lib_schema110.FieldType<unknown, unknown>;
30
+ type: _contractspec_lib_schema22.FieldType<unknown, unknown>;
31
31
  isOptional: true;
32
32
  };
33
- }>, _contractspec_lib_schema110.SchemaModel<{
33
+ }>, _contractspec_lib_schema22.SchemaModel<{
34
34
  id: {
35
- type: _contractspec_lib_schema110.FieldType<string, string>;
35
+ type: _contractspec_lib_schema22.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  name: {
39
- type: _contractspec_lib_schema110.FieldType<string, string>;
39
+ type: _contractspec_lib_schema22.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  contactEmail: {
43
- type: _contractspec_lib_schema110.FieldType<string, string>;
43
+ type: _contractspec_lib_schema22.FieldType<string, string>;
44
44
  isOptional: true;
45
45
  };
46
46
  phone: {
47
- type: _contractspec_lib_schema110.FieldType<string, string>;
47
+ type: _contractspec_lib_schema22.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  orgId: {
51
- type: _contractspec_lib_schema110.FieldType<string, string>;
51
+ type: _contractspec_lib_schema22.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  ownerId: {
55
- type: _contractspec_lib_schema110.FieldType<string, string>;
55
+ type: _contractspec_lib_schema22.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  createdAt: {
59
- type: _contractspec_lib_schema110.FieldType<Date, string>;
59
+ type: _contractspec_lib_schema22.FieldType<Date, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  }>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"client.operations.d.ts","names":[],"sources":["../../src/client/client.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAQa,oDAAoB,0CAAA;EAApB,IAAA,EAAA;IAqCX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EArC+B,KAAA,EAAA;;;;;;;;;+CAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;UAAA,2BAAA,CAAA"}
1
+ {"version":3,"file":"client.operations.d.ts","names":[],"sources":["../../src/client/client.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAQa,mDAAoB,yCAAA;EAApB,IAAA,EAAA;IAqCX,IAAA,EAAA,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EArC+B,KAAA,EAAA;;;;;;;;;8CAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;UAAA,0BAAA,CAAA"}
package/dist/events.d.ts CHANGED
@@ -1,333 +1,333 @@
1
- import * as _contractspec_lib_schema22 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema37 from "@contractspec/lib.schema";
2
2
  import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/events.d.ts
5
- declare const QuoteSentEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
5
+ declare const QuoteSentEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
6
6
  quoteId: {
7
- type: _contractspec_lib_schema22.FieldType<string, string>;
7
+ type: _contractspec_lib_schema37.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  clientId: {
11
- type: _contractspec_lib_schema22.FieldType<string, string>;
11
+ type: _contractspec_lib_schema37.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  amount: {
15
- type: _contractspec_lib_schema22.FieldType<number, number>;
15
+ type: _contractspec_lib_schema37.FieldType<number, number>;
16
16
  isOptional: false;
17
17
  };
18
18
  status: {
19
- type: _contractspec_lib_schema22.FieldType<string, string>;
19
+ type: _contractspec_lib_schema37.FieldType<string, string>;
20
20
  isOptional: false;
21
21
  };
22
22
  orgId: {
23
- type: _contractspec_lib_schema22.FieldType<string, string>;
23
+ type: _contractspec_lib_schema37.FieldType<string, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  occurredAt: {
27
- type: _contractspec_lib_schema22.FieldType<Date, string>;
27
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  }>>;
31
- declare const QuoteAcceptedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
31
+ declare const QuoteAcceptedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
32
32
  quoteId: {
33
- type: _contractspec_lib_schema22.FieldType<string, string>;
33
+ type: _contractspec_lib_schema37.FieldType<string, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  clientId: {
37
- type: _contractspec_lib_schema22.FieldType<string, string>;
37
+ type: _contractspec_lib_schema37.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  amount: {
41
- type: _contractspec_lib_schema22.FieldType<number, number>;
41
+ type: _contractspec_lib_schema37.FieldType<number, number>;
42
42
  isOptional: false;
43
43
  };
44
44
  status: {
45
- type: _contractspec_lib_schema22.FieldType<string, string>;
45
+ type: _contractspec_lib_schema37.FieldType<string, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  orgId: {
49
- type: _contractspec_lib_schema22.FieldType<string, string>;
49
+ type: _contractspec_lib_schema37.FieldType<string, string>;
50
50
  isOptional: false;
51
51
  };
52
52
  occurredAt: {
53
- type: _contractspec_lib_schema22.FieldType<Date, string>;
53
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
54
54
  isOptional: false;
55
55
  };
56
56
  }>>;
57
- declare const JobScheduledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
57
+ declare const JobScheduledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
58
58
  jobId: {
59
- type: _contractspec_lib_schema22.FieldType<string, string>;
59
+ type: _contractspec_lib_schema37.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  quoteId: {
63
- type: _contractspec_lib_schema22.FieldType<string, string>;
63
+ type: _contractspec_lib_schema37.FieldType<string, string>;
64
64
  isOptional: true;
65
65
  };
66
66
  clientId: {
67
- type: _contractspec_lib_schema22.FieldType<string, string>;
67
+ type: _contractspec_lib_schema37.FieldType<string, string>;
68
68
  isOptional: true;
69
69
  };
70
70
  status: {
71
- type: _contractspec_lib_schema22.FieldType<string, string>;
71
+ type: _contractspec_lib_schema37.FieldType<string, string>;
72
72
  isOptional: false;
73
73
  };
74
74
  scheduledAt: {
75
- type: _contractspec_lib_schema22.FieldType<Date, string>;
75
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
76
76
  isOptional: true;
77
77
  };
78
78
  orgId: {
79
- type: _contractspec_lib_schema22.FieldType<string, string>;
79
+ type: _contractspec_lib_schema37.FieldType<string, string>;
80
80
  isOptional: false;
81
81
  };
82
82
  occurredAt: {
83
- type: _contractspec_lib_schema22.FieldType<Date, string>;
83
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
84
84
  isOptional: false;
85
85
  };
86
86
  }>>;
87
- declare const JobCompletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
87
+ declare const JobCompletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
88
88
  jobId: {
89
- type: _contractspec_lib_schema22.FieldType<string, string>;
89
+ type: _contractspec_lib_schema37.FieldType<string, string>;
90
90
  isOptional: false;
91
91
  };
92
92
  quoteId: {
93
- type: _contractspec_lib_schema22.FieldType<string, string>;
93
+ type: _contractspec_lib_schema37.FieldType<string, string>;
94
94
  isOptional: true;
95
95
  };
96
96
  clientId: {
97
- type: _contractspec_lib_schema22.FieldType<string, string>;
97
+ type: _contractspec_lib_schema37.FieldType<string, string>;
98
98
  isOptional: true;
99
99
  };
100
100
  status: {
101
- type: _contractspec_lib_schema22.FieldType<string, string>;
101
+ type: _contractspec_lib_schema37.FieldType<string, string>;
102
102
  isOptional: false;
103
103
  };
104
104
  scheduledAt: {
105
- type: _contractspec_lib_schema22.FieldType<Date, string>;
105
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
106
106
  isOptional: true;
107
107
  };
108
108
  orgId: {
109
- type: _contractspec_lib_schema22.FieldType<string, string>;
109
+ type: _contractspec_lib_schema37.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  };
112
112
  occurredAt: {
113
- type: _contractspec_lib_schema22.FieldType<Date, string>;
113
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
114
114
  isOptional: false;
115
115
  };
116
116
  }>>;
117
- declare const InvoiceIssuedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
117
+ declare const InvoiceIssuedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
118
118
  invoiceId: {
119
- type: _contractspec_lib_schema22.FieldType<string, string>;
119
+ type: _contractspec_lib_schema37.FieldType<string, string>;
120
120
  isOptional: false;
121
121
  };
122
122
  jobId: {
123
- type: _contractspec_lib_schema22.FieldType<string, string>;
123
+ type: _contractspec_lib_schema37.FieldType<string, string>;
124
124
  isOptional: false;
125
125
  };
126
126
  amount: {
127
- type: _contractspec_lib_schema22.FieldType<number, number>;
127
+ type: _contractspec_lib_schema37.FieldType<number, number>;
128
128
  isOptional: false;
129
129
  };
130
130
  status: {
131
- type: _contractspec_lib_schema22.FieldType<string, string>;
131
+ type: _contractspec_lib_schema37.FieldType<string, string>;
132
132
  isOptional: false;
133
133
  };
134
134
  orgId: {
135
- type: _contractspec_lib_schema22.FieldType<string, string>;
135
+ type: _contractspec_lib_schema37.FieldType<string, string>;
136
136
  isOptional: false;
137
137
  };
138
138
  occurredAt: {
139
- type: _contractspec_lib_schema22.FieldType<Date, string>;
139
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
140
140
  isOptional: false;
141
141
  };
142
142
  }>>;
143
- declare const PaymentReceivedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
143
+ declare const PaymentReceivedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
144
144
  paymentId: {
145
- type: _contractspec_lib_schema22.FieldType<string, string>;
145
+ type: _contractspec_lib_schema37.FieldType<string, string>;
146
146
  isOptional: false;
147
147
  };
148
148
  invoiceId: {
149
- type: _contractspec_lib_schema22.FieldType<string, string>;
149
+ type: _contractspec_lib_schema37.FieldType<string, string>;
150
150
  isOptional: false;
151
151
  };
152
152
  amount: {
153
- type: _contractspec_lib_schema22.FieldType<number, number>;
153
+ type: _contractspec_lib_schema37.FieldType<number, number>;
154
154
  isOptional: false;
155
155
  };
156
156
  method: {
157
- type: _contractspec_lib_schema22.FieldType<string, string>;
157
+ type: _contractspec_lib_schema37.FieldType<string, string>;
158
158
  isOptional: false;
159
159
  };
160
160
  orgId: {
161
- type: _contractspec_lib_schema22.FieldType<string, string>;
161
+ type: _contractspec_lib_schema37.FieldType<string, string>;
162
162
  isOptional: false;
163
163
  };
164
164
  receivedAt: {
165
- type: _contractspec_lib_schema22.FieldType<Date, string>;
165
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
166
166
  isOptional: false;
167
167
  };
168
168
  }>>;
169
169
  declare const ServiceBusinessEvents: {
170
- QuoteSentEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
170
+ QuoteSentEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
171
171
  quoteId: {
172
- type: _contractspec_lib_schema22.FieldType<string, string>;
172
+ type: _contractspec_lib_schema37.FieldType<string, string>;
173
173
  isOptional: false;
174
174
  };
175
175
  clientId: {
176
- type: _contractspec_lib_schema22.FieldType<string, string>;
176
+ type: _contractspec_lib_schema37.FieldType<string, string>;
177
177
  isOptional: false;
178
178
  };
179
179
  amount: {
180
- type: _contractspec_lib_schema22.FieldType<number, number>;
180
+ type: _contractspec_lib_schema37.FieldType<number, number>;
181
181
  isOptional: false;
182
182
  };
183
183
  status: {
184
- type: _contractspec_lib_schema22.FieldType<string, string>;
184
+ type: _contractspec_lib_schema37.FieldType<string, string>;
185
185
  isOptional: false;
186
186
  };
187
187
  orgId: {
188
- type: _contractspec_lib_schema22.FieldType<string, string>;
188
+ type: _contractspec_lib_schema37.FieldType<string, string>;
189
189
  isOptional: false;
190
190
  };
191
191
  occurredAt: {
192
- type: _contractspec_lib_schema22.FieldType<Date, string>;
192
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
193
193
  isOptional: false;
194
194
  };
195
195
  }>>;
196
- QuoteAcceptedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
196
+ QuoteAcceptedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
197
197
  quoteId: {
198
- type: _contractspec_lib_schema22.FieldType<string, string>;
198
+ type: _contractspec_lib_schema37.FieldType<string, string>;
199
199
  isOptional: false;
200
200
  };
201
201
  clientId: {
202
- type: _contractspec_lib_schema22.FieldType<string, string>;
202
+ type: _contractspec_lib_schema37.FieldType<string, string>;
203
203
  isOptional: false;
204
204
  };
205
205
  amount: {
206
- type: _contractspec_lib_schema22.FieldType<number, number>;
206
+ type: _contractspec_lib_schema37.FieldType<number, number>;
207
207
  isOptional: false;
208
208
  };
209
209
  status: {
210
- type: _contractspec_lib_schema22.FieldType<string, string>;
210
+ type: _contractspec_lib_schema37.FieldType<string, string>;
211
211
  isOptional: false;
212
212
  };
213
213
  orgId: {
214
- type: _contractspec_lib_schema22.FieldType<string, string>;
214
+ type: _contractspec_lib_schema37.FieldType<string, string>;
215
215
  isOptional: false;
216
216
  };
217
217
  occurredAt: {
218
- type: _contractspec_lib_schema22.FieldType<Date, string>;
218
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
219
219
  isOptional: false;
220
220
  };
221
221
  }>>;
222
- JobScheduledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
222
+ JobScheduledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
223
223
  jobId: {
224
- type: _contractspec_lib_schema22.FieldType<string, string>;
224
+ type: _contractspec_lib_schema37.FieldType<string, string>;
225
225
  isOptional: false;
226
226
  };
227
227
  quoteId: {
228
- type: _contractspec_lib_schema22.FieldType<string, string>;
228
+ type: _contractspec_lib_schema37.FieldType<string, string>;
229
229
  isOptional: true;
230
230
  };
231
231
  clientId: {
232
- type: _contractspec_lib_schema22.FieldType<string, string>;
232
+ type: _contractspec_lib_schema37.FieldType<string, string>;
233
233
  isOptional: true;
234
234
  };
235
235
  status: {
236
- type: _contractspec_lib_schema22.FieldType<string, string>;
236
+ type: _contractspec_lib_schema37.FieldType<string, string>;
237
237
  isOptional: false;
238
238
  };
239
239
  scheduledAt: {
240
- type: _contractspec_lib_schema22.FieldType<Date, string>;
240
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
241
241
  isOptional: true;
242
242
  };
243
243
  orgId: {
244
- type: _contractspec_lib_schema22.FieldType<string, string>;
244
+ type: _contractspec_lib_schema37.FieldType<string, string>;
245
245
  isOptional: false;
246
246
  };
247
247
  occurredAt: {
248
- type: _contractspec_lib_schema22.FieldType<Date, string>;
248
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
249
249
  isOptional: false;
250
250
  };
251
251
  }>>;
252
- JobCompletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
252
+ JobCompletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
253
253
  jobId: {
254
- type: _contractspec_lib_schema22.FieldType<string, string>;
254
+ type: _contractspec_lib_schema37.FieldType<string, string>;
255
255
  isOptional: false;
256
256
  };
257
257
  quoteId: {
258
- type: _contractspec_lib_schema22.FieldType<string, string>;
258
+ type: _contractspec_lib_schema37.FieldType<string, string>;
259
259
  isOptional: true;
260
260
  };
261
261
  clientId: {
262
- type: _contractspec_lib_schema22.FieldType<string, string>;
262
+ type: _contractspec_lib_schema37.FieldType<string, string>;
263
263
  isOptional: true;
264
264
  };
265
265
  status: {
266
- type: _contractspec_lib_schema22.FieldType<string, string>;
266
+ type: _contractspec_lib_schema37.FieldType<string, string>;
267
267
  isOptional: false;
268
268
  };
269
269
  scheduledAt: {
270
- type: _contractspec_lib_schema22.FieldType<Date, string>;
270
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
271
271
  isOptional: true;
272
272
  };
273
273
  orgId: {
274
- type: _contractspec_lib_schema22.FieldType<string, string>;
274
+ type: _contractspec_lib_schema37.FieldType<string, string>;
275
275
  isOptional: false;
276
276
  };
277
277
  occurredAt: {
278
- type: _contractspec_lib_schema22.FieldType<Date, string>;
278
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
279
279
  isOptional: false;
280
280
  };
281
281
  }>>;
282
- InvoiceIssuedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
282
+ InvoiceIssuedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
283
283
  invoiceId: {
284
- type: _contractspec_lib_schema22.FieldType<string, string>;
284
+ type: _contractspec_lib_schema37.FieldType<string, string>;
285
285
  isOptional: false;
286
286
  };
287
287
  jobId: {
288
- type: _contractspec_lib_schema22.FieldType<string, string>;
288
+ type: _contractspec_lib_schema37.FieldType<string, string>;
289
289
  isOptional: false;
290
290
  };
291
291
  amount: {
292
- type: _contractspec_lib_schema22.FieldType<number, number>;
292
+ type: _contractspec_lib_schema37.FieldType<number, number>;
293
293
  isOptional: false;
294
294
  };
295
295
  status: {
296
- type: _contractspec_lib_schema22.FieldType<string, string>;
296
+ type: _contractspec_lib_schema37.FieldType<string, string>;
297
297
  isOptional: false;
298
298
  };
299
299
  orgId: {
300
- type: _contractspec_lib_schema22.FieldType<string, string>;
300
+ type: _contractspec_lib_schema37.FieldType<string, string>;
301
301
  isOptional: false;
302
302
  };
303
303
  occurredAt: {
304
- type: _contractspec_lib_schema22.FieldType<Date, string>;
304
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
305
305
  isOptional: false;
306
306
  };
307
307
  }>>;
308
- PaymentReceivedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema22.SchemaModel<{
308
+ PaymentReceivedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema37.SchemaModel<{
309
309
  paymentId: {
310
- type: _contractspec_lib_schema22.FieldType<string, string>;
310
+ type: _contractspec_lib_schema37.FieldType<string, string>;
311
311
  isOptional: false;
312
312
  };
313
313
  invoiceId: {
314
- type: _contractspec_lib_schema22.FieldType<string, string>;
314
+ type: _contractspec_lib_schema37.FieldType<string, string>;
315
315
  isOptional: false;
316
316
  };
317
317
  amount: {
318
- type: _contractspec_lib_schema22.FieldType<number, number>;
318
+ type: _contractspec_lib_schema37.FieldType<number, number>;
319
319
  isOptional: false;
320
320
  };
321
321
  method: {
322
- type: _contractspec_lib_schema22.FieldType<string, string>;
322
+ type: _contractspec_lib_schema37.FieldType<string, string>;
323
323
  isOptional: false;
324
324
  };
325
325
  orgId: {
326
- type: _contractspec_lib_schema22.FieldType<string, string>;
326
+ type: _contractspec_lib_schema37.FieldType<string, string>;
327
327
  isOptional: false;
328
328
  };
329
329
  receivedAt: {
330
- type: _contractspec_lib_schema22.FieldType<Date, string>;
330
+ type: _contractspec_lib_schema37.FieldType<Date, string>;
331
331
  isOptional: false;
332
332
  };
333
333
  }>>;
package/dist/example.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts12 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/example.d.ts
4
- declare const example: _contractspec_lib_contracts11.ExampleSpec;
4
+ declare const example: _contractspec_lib_contracts12.ExampleSpec;
5
5
  //#endregion
6
6
  export { example as default };
7
7
  //# sourceMappingURL=example.d.ts.map
@@ -1,62 +1,62 @@
1
- import * as _contractspec_lib_schema294 from "@contractspec/lib.schema";
2
- import * as _contractspec_lib_contracts23 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_schema354 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_contracts26 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/invoice/invoice.operations.d.ts
5
5
  /**
6
6
  * Issue an invoice.
7
7
  */
8
- declare const IssueInvoiceContract: _contractspec_lib_contracts23.OperationSpec<_contractspec_lib_schema294.SchemaModel<{
8
+ declare const IssueInvoiceContract: _contractspec_lib_contracts26.OperationSpec<_contractspec_lib_schema354.SchemaModel<{
9
9
  jobId: {
10
- type: _contractspec_lib_schema294.FieldType<string, string>;
10
+ type: _contractspec_lib_schema354.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  dueDate: {
14
- type: _contractspec_lib_schema294.FieldType<Date, string>;
14
+ type: _contractspec_lib_schema354.FieldType<Date, string>;
15
15
  isOptional: true;
16
16
  };
17
17
  notes: {
18
- type: _contractspec_lib_schema294.FieldType<string, string>;
18
+ type: _contractspec_lib_schema354.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  lineItems: {
22
- type: _contractspec_lib_schema294.FieldType<unknown, unknown>;
22
+ type: _contractspec_lib_schema354.FieldType<unknown, unknown>;
23
23
  isOptional: true;
24
24
  };
25
- }>, _contractspec_lib_schema294.SchemaModel<{
25
+ }>, _contractspec_lib_schema354.SchemaModel<{
26
26
  id: {
27
- type: _contractspec_lib_schema294.FieldType<string, string>;
27
+ type: _contractspec_lib_schema354.FieldType<string, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  jobId: {
31
- type: _contractspec_lib_schema294.FieldType<string, string>;
31
+ type: _contractspec_lib_schema354.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  invoiceNumber: {
35
- type: _contractspec_lib_schema294.FieldType<string, string>;
35
+ type: _contractspec_lib_schema354.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  amount: {
39
- type: _contractspec_lib_schema294.FieldType<number, number>;
39
+ type: _contractspec_lib_schema354.FieldType<number, number>;
40
40
  isOptional: false;
41
41
  };
42
42
  currency: {
43
- type: _contractspec_lib_schema294.FieldType<string, string>;
43
+ type: _contractspec_lib_schema354.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  status: {
47
- type: _contractspec_lib_schema294.FieldType<string, string>;
47
+ type: _contractspec_lib_schema354.FieldType<string, string>;
48
48
  isOptional: false;
49
49
  };
50
50
  dueDate: {
51
- type: _contractspec_lib_schema294.FieldType<Date, string>;
51
+ type: _contractspec_lib_schema354.FieldType<Date, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  issuedAt: {
55
- type: _contractspec_lib_schema294.FieldType<Date, string>;
55
+ type: _contractspec_lib_schema354.FieldType<Date, string>;
56
56
  isOptional: true;
57
57
  };
58
58
  paidAt: {
59
- type: _contractspec_lib_schema294.FieldType<Date, string>;
59
+ type: _contractspec_lib_schema354.FieldType<Date, string>;
60
60
  isOptional: true;
61
61
  };
62
62
  }>, undefined>;
@@ -1,65 +1,65 @@
1
- import * as _contractspec_lib_schema309 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema388 from "@contractspec/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: _contractspec_lib_schema309.SchemaModel<{
7
+ declare const InvoiceModel: _contractspec_lib_schema388.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema309.FieldType<string, string>;
9
+ type: _contractspec_lib_schema388.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  jobId: {
13
- type: _contractspec_lib_schema309.FieldType<string, string>;
13
+ type: _contractspec_lib_schema388.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  invoiceNumber: {
17
- type: _contractspec_lib_schema309.FieldType<string, string>;
17
+ type: _contractspec_lib_schema388.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  amount: {
21
- type: _contractspec_lib_schema309.FieldType<number, number>;
21
+ type: _contractspec_lib_schema388.FieldType<number, number>;
22
22
  isOptional: false;
23
23
  };
24
24
  currency: {
25
- type: _contractspec_lib_schema309.FieldType<string, string>;
25
+ type: _contractspec_lib_schema388.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  status: {
29
- type: _contractspec_lib_schema309.FieldType<string, string>;
29
+ type: _contractspec_lib_schema388.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  dueDate: {
33
- type: _contractspec_lib_schema309.FieldType<Date, string>;
33
+ type: _contractspec_lib_schema388.FieldType<Date, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  issuedAt: {
37
- type: _contractspec_lib_schema309.FieldType<Date, string>;
37
+ type: _contractspec_lib_schema388.FieldType<Date, string>;
38
38
  isOptional: true;
39
39
  };
40
40
  paidAt: {
41
- type: _contractspec_lib_schema309.FieldType<Date, string>;
41
+ type: _contractspec_lib_schema388.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: _contractspec_lib_schema309.SchemaModel<{
48
+ declare const IssueInvoiceInputModel: _contractspec_lib_schema388.SchemaModel<{
49
49
  jobId: {
50
- type: _contractspec_lib_schema309.FieldType<string, string>;
50
+ type: _contractspec_lib_schema388.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  dueDate: {
54
- type: _contractspec_lib_schema309.FieldType<Date, string>;
54
+ type: _contractspec_lib_schema388.FieldType<Date, string>;
55
55
  isOptional: true;
56
56
  };
57
57
  notes: {
58
- type: _contractspec_lib_schema309.FieldType<string, string>;
58
+ type: _contractspec_lib_schema388.FieldType<string, string>;
59
59
  isOptional: true;
60
60
  };
61
61
  lineItems: {
62
- type: _contractspec_lib_schema309.FieldType<unknown, unknown>;
62
+ type: _contractspec_lib_schema388.FieldType<unknown, unknown>;
63
63
  isOptional: true;
64
64
  };
65
65
  }>;
@@ -1,58 +1,58 @@
1
- import * as _contractspec_lib_schema324 from "@contractspec/lib.schema";
2
- import * as _contractspec_lib_contracts24 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_schema294 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_contracts23 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/job/job.operations.d.ts
5
- declare const ListJobsInputModel: _contractspec_lib_schema324.SchemaModel<{
5
+ declare const ListJobsInputModel: _contractspec_lib_schema294.SchemaModel<{
6
6
  status: {
7
- type: _contractspec_lib_schema324.FieldType<string, string>;
7
+ type: _contractspec_lib_schema294.FieldType<string, string>;
8
8
  isOptional: true;
9
9
  };
10
10
  clientId: {
11
- type: _contractspec_lib_schema324.FieldType<string, string>;
11
+ type: _contractspec_lib_schema294.FieldType<string, string>;
12
12
  isOptional: true;
13
13
  };
14
14
  limit: {
15
- type: _contractspec_lib_schema324.FieldType<number, number>;
15
+ type: _contractspec_lib_schema294.FieldType<number, number>;
16
16
  isOptional: true;
17
17
  };
18
18
  offset: {
19
- type: _contractspec_lib_schema324.FieldType<number, number>;
19
+ type: _contractspec_lib_schema294.FieldType<number, number>;
20
20
  isOptional: true;
21
21
  };
22
22
  }>;
23
- declare const ListJobsOutputModel: _contractspec_lib_schema324.SchemaModel<{
23
+ declare const ListJobsOutputModel: _contractspec_lib_schema294.SchemaModel<{
24
24
  jobs: {
25
- type: _contractspec_lib_schema324.SchemaModel<{
25
+ type: _contractspec_lib_schema294.SchemaModel<{
26
26
  id: {
27
- type: _contractspec_lib_schema324.FieldType<string, string>;
27
+ type: _contractspec_lib_schema294.FieldType<string, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  quoteId: {
31
- type: _contractspec_lib_schema324.FieldType<string, string>;
31
+ type: _contractspec_lib_schema294.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  clientId: {
35
- type: _contractspec_lib_schema324.FieldType<string, string>;
35
+ type: _contractspec_lib_schema294.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  title: {
39
- type: _contractspec_lib_schema324.FieldType<string, string>;
39
+ type: _contractspec_lib_schema294.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  status: {
43
- type: _contractspec_lib_schema324.FieldType<string, string>;
43
+ type: _contractspec_lib_schema294.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  scheduledAt: {
47
- type: _contractspec_lib_schema324.FieldType<Date, string>;
47
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  completedAt: {
51
- type: _contractspec_lib_schema324.FieldType<Date, string>;
51
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  assignedTo: {
55
- type: _contractspec_lib_schema324.FieldType<string, string>;
55
+ type: _contractspec_lib_schema294.FieldType<string, string>;
56
56
  isOptional: true;
57
57
  };
58
58
  }>;
@@ -60,60 +60,60 @@ declare const ListJobsOutputModel: _contractspec_lib_schema324.SchemaModel<{
60
60
  isList: boolean;
61
61
  };
62
62
  total: {
63
- type: _contractspec_lib_schema324.FieldType<number, number>;
63
+ type: _contractspec_lib_schema294.FieldType<number, number>;
64
64
  isOptional: false;
65
65
  };
66
66
  }>;
67
- declare const ListJobsOperation: _contractspec_lib_contracts24.OperationSpec<_contractspec_lib_schema324.SchemaModel<{
67
+ declare const ListJobsOperation: _contractspec_lib_contracts23.OperationSpec<_contractspec_lib_schema294.SchemaModel<{
68
68
  status: {
69
- type: _contractspec_lib_schema324.FieldType<string, string>;
69
+ type: _contractspec_lib_schema294.FieldType<string, string>;
70
70
  isOptional: true;
71
71
  };
72
72
  clientId: {
73
- type: _contractspec_lib_schema324.FieldType<string, string>;
73
+ type: _contractspec_lib_schema294.FieldType<string, string>;
74
74
  isOptional: true;
75
75
  };
76
76
  limit: {
77
- type: _contractspec_lib_schema324.FieldType<number, number>;
77
+ type: _contractspec_lib_schema294.FieldType<number, number>;
78
78
  isOptional: true;
79
79
  };
80
80
  offset: {
81
- type: _contractspec_lib_schema324.FieldType<number, number>;
81
+ type: _contractspec_lib_schema294.FieldType<number, number>;
82
82
  isOptional: true;
83
83
  };
84
- }>, _contractspec_lib_schema324.SchemaModel<{
84
+ }>, _contractspec_lib_schema294.SchemaModel<{
85
85
  jobs: {
86
- type: _contractspec_lib_schema324.SchemaModel<{
86
+ type: _contractspec_lib_schema294.SchemaModel<{
87
87
  id: {
88
- type: _contractspec_lib_schema324.FieldType<string, string>;
88
+ type: _contractspec_lib_schema294.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  quoteId: {
92
- type: _contractspec_lib_schema324.FieldType<string, string>;
92
+ type: _contractspec_lib_schema294.FieldType<string, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  clientId: {
96
- type: _contractspec_lib_schema324.FieldType<string, string>;
96
+ type: _contractspec_lib_schema294.FieldType<string, string>;
97
97
  isOptional: false;
98
98
  };
99
99
  title: {
100
- type: _contractspec_lib_schema324.FieldType<string, string>;
100
+ type: _contractspec_lib_schema294.FieldType<string, string>;
101
101
  isOptional: false;
102
102
  };
103
103
  status: {
104
- type: _contractspec_lib_schema324.FieldType<string, string>;
104
+ type: _contractspec_lib_schema294.FieldType<string, string>;
105
105
  isOptional: false;
106
106
  };
107
107
  scheduledAt: {
108
- type: _contractspec_lib_schema324.FieldType<Date, string>;
108
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
109
109
  isOptional: true;
110
110
  };
111
111
  completedAt: {
112
- type: _contractspec_lib_schema324.FieldType<Date, string>;
112
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
113
113
  isOptional: true;
114
114
  };
115
115
  assignedTo: {
116
- type: _contractspec_lib_schema324.FieldType<string, string>;
116
+ type: _contractspec_lib_schema294.FieldType<string, string>;
117
117
  isOptional: true;
118
118
  };
119
119
  }>;
@@ -121,115 +121,115 @@ declare const ListJobsOperation: _contractspec_lib_contracts24.OperationSpec<_co
121
121
  isList: boolean;
122
122
  };
123
123
  total: {
124
- type: _contractspec_lib_schema324.FieldType<number, number>;
124
+ type: _contractspec_lib_schema294.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: _contractspec_lib_contracts24.OperationSpec<_contractspec_lib_schema324.SchemaModel<{
131
+ declare const ScheduleJobContract: _contractspec_lib_contracts23.OperationSpec<_contractspec_lib_schema294.SchemaModel<{
132
132
  quoteId: {
133
- type: _contractspec_lib_schema324.FieldType<string, string>;
133
+ type: _contractspec_lib_schema294.FieldType<string, string>;
134
134
  isOptional: false;
135
135
  };
136
136
  scheduledAt: {
137
- type: _contractspec_lib_schema324.FieldType<Date, string>;
137
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
138
138
  isOptional: false;
139
139
  };
140
140
  assignedTo: {
141
- type: _contractspec_lib_schema324.FieldType<string, string>;
141
+ type: _contractspec_lib_schema294.FieldType<string, string>;
142
142
  isOptional: true;
143
143
  };
144
144
  location: {
145
- type: _contractspec_lib_schema324.FieldType<unknown, unknown>;
145
+ type: _contractspec_lib_schema294.FieldType<unknown, unknown>;
146
146
  isOptional: true;
147
147
  };
148
148
  title: {
149
- type: _contractspec_lib_schema324.FieldType<string, string>;
149
+ type: _contractspec_lib_schema294.FieldType<string, string>;
150
150
  isOptional: true;
151
151
  };
152
- }>, _contractspec_lib_schema324.SchemaModel<{
152
+ }>, _contractspec_lib_schema294.SchemaModel<{
153
153
  id: {
154
- type: _contractspec_lib_schema324.FieldType<string, string>;
154
+ type: _contractspec_lib_schema294.FieldType<string, string>;
155
155
  isOptional: false;
156
156
  };
157
157
  quoteId: {
158
- type: _contractspec_lib_schema324.FieldType<string, string>;
158
+ type: _contractspec_lib_schema294.FieldType<string, string>;
159
159
  isOptional: false;
160
160
  };
161
161
  clientId: {
162
- type: _contractspec_lib_schema324.FieldType<string, string>;
162
+ type: _contractspec_lib_schema294.FieldType<string, string>;
163
163
  isOptional: false;
164
164
  };
165
165
  title: {
166
- type: _contractspec_lib_schema324.FieldType<string, string>;
166
+ type: _contractspec_lib_schema294.FieldType<string, string>;
167
167
  isOptional: false;
168
168
  };
169
169
  status: {
170
- type: _contractspec_lib_schema324.FieldType<string, string>;
170
+ type: _contractspec_lib_schema294.FieldType<string, string>;
171
171
  isOptional: false;
172
172
  };
173
173
  scheduledAt: {
174
- type: _contractspec_lib_schema324.FieldType<Date, string>;
174
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
175
175
  isOptional: true;
176
176
  };
177
177
  completedAt: {
178
- type: _contractspec_lib_schema324.FieldType<Date, string>;
178
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
179
179
  isOptional: true;
180
180
  };
181
181
  assignedTo: {
182
- type: _contractspec_lib_schema324.FieldType<string, string>;
182
+ type: _contractspec_lib_schema294.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: _contractspec_lib_contracts24.OperationSpec<_contractspec_lib_schema324.SchemaModel<{
189
+ declare const CompleteJobContract: _contractspec_lib_contracts23.OperationSpec<_contractspec_lib_schema294.SchemaModel<{
190
190
  jobId: {
191
- type: _contractspec_lib_schema324.FieldType<string, string>;
191
+ type: _contractspec_lib_schema294.FieldType<string, string>;
192
192
  isOptional: false;
193
193
  };
194
194
  completedAt: {
195
- type: _contractspec_lib_schema324.FieldType<Date, string>;
195
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
196
196
  isOptional: true;
197
197
  };
198
198
  notes: {
199
- type: _contractspec_lib_schema324.FieldType<string, string>;
199
+ type: _contractspec_lib_schema294.FieldType<string, string>;
200
200
  isOptional: true;
201
201
  };
202
- }>, _contractspec_lib_schema324.SchemaModel<{
202
+ }>, _contractspec_lib_schema294.SchemaModel<{
203
203
  id: {
204
- type: _contractspec_lib_schema324.FieldType<string, string>;
204
+ type: _contractspec_lib_schema294.FieldType<string, string>;
205
205
  isOptional: false;
206
206
  };
207
207
  quoteId: {
208
- type: _contractspec_lib_schema324.FieldType<string, string>;
208
+ type: _contractspec_lib_schema294.FieldType<string, string>;
209
209
  isOptional: false;
210
210
  };
211
211
  clientId: {
212
- type: _contractspec_lib_schema324.FieldType<string, string>;
212
+ type: _contractspec_lib_schema294.FieldType<string, string>;
213
213
  isOptional: false;
214
214
  };
215
215
  title: {
216
- type: _contractspec_lib_schema324.FieldType<string, string>;
216
+ type: _contractspec_lib_schema294.FieldType<string, string>;
217
217
  isOptional: false;
218
218
  };
219
219
  status: {
220
- type: _contractspec_lib_schema324.FieldType<string, string>;
220
+ type: _contractspec_lib_schema294.FieldType<string, string>;
221
221
  isOptional: false;
222
222
  };
223
223
  scheduledAt: {
224
- type: _contractspec_lib_schema324.FieldType<Date, string>;
224
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
225
225
  isOptional: true;
226
226
  };
227
227
  completedAt: {
228
- type: _contractspec_lib_schema324.FieldType<Date, string>;
228
+ type: _contractspec_lib_schema294.FieldType<Date, string>;
229
229
  isOptional: true;
230
230
  };
231
231
  assignedTo: {
232
- type: _contractspec_lib_schema324.FieldType<string, string>;
232
+ type: _contractspec_lib_schema294.FieldType<string, string>;
233
233
  isOptional: true;
234
234
  };
235
235
  }>, undefined>;
@@ -1,82 +1,82 @@
1
- import * as _contractspec_lib_schema384 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema369 from "@contractspec/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: _contractspec_lib_schema384.SchemaModel<{
7
+ declare const JobModel: _contractspec_lib_schema369.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema384.FieldType<string, string>;
9
+ type: _contractspec_lib_schema369.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  quoteId: {
13
- type: _contractspec_lib_schema384.FieldType<string, string>;
13
+ type: _contractspec_lib_schema369.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  clientId: {
17
- type: _contractspec_lib_schema384.FieldType<string, string>;
17
+ type: _contractspec_lib_schema369.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  title: {
21
- type: _contractspec_lib_schema384.FieldType<string, string>;
21
+ type: _contractspec_lib_schema369.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  status: {
25
- type: _contractspec_lib_schema384.FieldType<string, string>;
25
+ type: _contractspec_lib_schema369.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  scheduledAt: {
29
- type: _contractspec_lib_schema384.FieldType<Date, string>;
29
+ type: _contractspec_lib_schema369.FieldType<Date, string>;
30
30
  isOptional: true;
31
31
  };
32
32
  completedAt: {
33
- type: _contractspec_lib_schema384.FieldType<Date, string>;
33
+ type: _contractspec_lib_schema369.FieldType<Date, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  assignedTo: {
37
- type: _contractspec_lib_schema384.FieldType<string, string>;
37
+ type: _contractspec_lib_schema369.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: _contractspec_lib_schema384.SchemaModel<{
44
+ declare const ScheduleJobInputModel: _contractspec_lib_schema369.SchemaModel<{
45
45
  quoteId: {
46
- type: _contractspec_lib_schema384.FieldType<string, string>;
46
+ type: _contractspec_lib_schema369.FieldType<string, string>;
47
47
  isOptional: false;
48
48
  };
49
49
  scheduledAt: {
50
- type: _contractspec_lib_schema384.FieldType<Date, string>;
50
+ type: _contractspec_lib_schema369.FieldType<Date, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  assignedTo: {
54
- type: _contractspec_lib_schema384.FieldType<string, string>;
54
+ type: _contractspec_lib_schema369.FieldType<string, string>;
55
55
  isOptional: true;
56
56
  };
57
57
  location: {
58
- type: _contractspec_lib_schema384.FieldType<unknown, unknown>;
58
+ type: _contractspec_lib_schema369.FieldType<unknown, unknown>;
59
59
  isOptional: true;
60
60
  };
61
61
  title: {
62
- type: _contractspec_lib_schema384.FieldType<string, string>;
62
+ type: _contractspec_lib_schema369.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: _contractspec_lib_schema384.SchemaModel<{
69
+ declare const CompleteJobInputModel: _contractspec_lib_schema369.SchemaModel<{
70
70
  jobId: {
71
- type: _contractspec_lib_schema384.FieldType<string, string>;
71
+ type: _contractspec_lib_schema369.FieldType<string, string>;
72
72
  isOptional: false;
73
73
  };
74
74
  completedAt: {
75
- type: _contractspec_lib_schema384.FieldType<Date, string>;
75
+ type: _contractspec_lib_schema369.FieldType<Date, string>;
76
76
  isOptional: true;
77
77
  };
78
78
  notes: {
79
- type: _contractspec_lib_schema384.FieldType<string, string>;
79
+ type: _contractspec_lib_schema369.FieldType<string, string>;
80
80
  isOptional: true;
81
81
  };
82
82
  }>;
@@ -1,13 +1,13 @@
1
- import * as _contractspec_lib_contracts12 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts13 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/presentations.d.ts
4
- declare const ServiceDashboardPresentation: _contractspec_lib_contracts12.PresentationSpec;
5
- declare const ClientListPresentation: _contractspec_lib_contracts12.PresentationSpec;
6
- declare const QuoteListPresentation: _contractspec_lib_contracts12.PresentationSpec;
7
- declare const QuoteDetailPresentation: _contractspec_lib_contracts12.PresentationSpec;
8
- declare const JobBoardPresentation: _contractspec_lib_contracts12.PresentationSpec;
9
- declare const InvoiceListPresentation: _contractspec_lib_contracts12.PresentationSpec;
10
- declare const PaymentListPresentation: _contractspec_lib_contracts12.PresentationSpec;
4
+ declare const ServiceDashboardPresentation: _contractspec_lib_contracts13.PresentationSpec;
5
+ declare const ClientListPresentation: _contractspec_lib_contracts13.PresentationSpec;
6
+ declare const QuoteListPresentation: _contractspec_lib_contracts13.PresentationSpec;
7
+ declare const QuoteDetailPresentation: _contractspec_lib_contracts13.PresentationSpec;
8
+ declare const JobBoardPresentation: _contractspec_lib_contracts13.PresentationSpec;
9
+ declare const InvoiceListPresentation: _contractspec_lib_contracts13.PresentationSpec;
10
+ declare const PaymentListPresentation: _contractspec_lib_contracts13.PresentationSpec;
11
11
  //#endregion
12
12
  export { ClientListPresentation, InvoiceListPresentation, JobBoardPresentation, PaymentListPresentation, QuoteDetailPresentation, QuoteListPresentation, ServiceDashboardPresentation };
13
13
  //# sourceMappingURL=presentations.d.ts.map
@@ -1,8 +1,8 @@
1
- import * as _contractspec_lib_contracts19 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts20 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/service-business-os.capability.d.ts
4
- declare const QuotesCapability: _contractspec_lib_contracts19.CapabilitySpec;
5
- declare const InvoicesCapability: _contractspec_lib_contracts19.CapabilitySpec;
4
+ declare const QuotesCapability: _contractspec_lib_contracts20.CapabilitySpec;
5
+ declare const InvoicesCapability: _contractspec_lib_contracts20.CapabilitySpec;
6
6
  //#endregion
7
7
  export { InvoicesCapability, QuotesCapability };
8
8
  //# sourceMappingURL=service-business-os.capability.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.service-business-os",
3
- "version": "1.55.0",
3
+ "version": "1.56.0",
4
4
  "description": "Service Business OS example (clients, quotes, jobs, invoices) for ContractSpec",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
@@ -17,12 +17,12 @@
17
17
  "lint:check": "eslint src"
18
18
  },
19
19
  "dependencies": {
20
- "@contractspec/lib.schema": "1.55.0",
21
- "@contractspec/lib.contracts": "1.55.0"
20
+ "@contractspec/lib.schema": "1.56.0",
21
+ "@contractspec/lib.contracts": "1.56.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@contractspec/tool.typescript": "1.55.0",
25
- "@contractspec/tool.tsdown": "1.55.0",
24
+ "@contractspec/tool.typescript": "1.56.0",
25
+ "@contractspec/tool.tsdown": "1.56.0",
26
26
  "typescript": "^5.9.3"
27
27
  },
28
28
  "exports": {