@contractspec/example.service-business-os 1.54.0 → 1.55.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,11 +1,11 @@
|
|
|
1
1
|
import * as _contractspec_lib_schema110 from "@contractspec/lib.schema";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_contracts21 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:
|
|
8
|
+
declare const CreateClientContract: _contractspec_lib_contracts21.OperationSpec<_contractspec_lib_schema110.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
10
|
type: _contractspec_lib_schema110.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,166 +1,166 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema140 from "@contractspec/lib.schema";
|
|
2
2
|
import { ModuleSchemaContribution } from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/index.d.ts
|
|
5
|
-
declare const QuoteStatusEnum:
|
|
6
|
-
declare const JobStatusEnum:
|
|
7
|
-
declare const InvoiceStatusEnum:
|
|
8
|
-
declare const PaymentMethodEnum:
|
|
9
|
-
declare const ClientEntity:
|
|
10
|
-
id:
|
|
11
|
-
name:
|
|
12
|
-
contactEmail:
|
|
13
|
-
phone:
|
|
14
|
-
address:
|
|
15
|
-
industry:
|
|
16
|
-
orgId:
|
|
17
|
-
ownerId:
|
|
18
|
-
metadata:
|
|
19
|
-
createdAt:
|
|
20
|
-
updatedAt:
|
|
21
|
-
quotes:
|
|
22
|
-
jobs:
|
|
5
|
+
declare const QuoteStatusEnum: _contractspec_lib_schema140.EntityEnumDef;
|
|
6
|
+
declare const JobStatusEnum: _contractspec_lib_schema140.EntityEnumDef;
|
|
7
|
+
declare const InvoiceStatusEnum: _contractspec_lib_schema140.EntityEnumDef;
|
|
8
|
+
declare const PaymentMethodEnum: _contractspec_lib_schema140.EntityEnumDef;
|
|
9
|
+
declare const ClientEntity: _contractspec_lib_schema140.EntitySpec<{
|
|
10
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
11
|
+
name: _contractspec_lib_schema140.EntityScalarField;
|
|
12
|
+
contactEmail: _contractspec_lib_schema140.EntityScalarField;
|
|
13
|
+
phone: _contractspec_lib_schema140.EntityScalarField;
|
|
14
|
+
address: _contractspec_lib_schema140.EntityScalarField;
|
|
15
|
+
industry: _contractspec_lib_schema140.EntityScalarField;
|
|
16
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
17
|
+
ownerId: _contractspec_lib_schema140.EntityScalarField;
|
|
18
|
+
metadata: _contractspec_lib_schema140.EntityScalarField;
|
|
19
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
20
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
21
|
+
quotes: _contractspec_lib_schema140.EntityRelationField;
|
|
22
|
+
jobs: _contractspec_lib_schema140.EntityRelationField;
|
|
23
23
|
}>;
|
|
24
|
-
declare const QuoteEntity:
|
|
25
|
-
id:
|
|
26
|
-
clientId:
|
|
27
|
-
title:
|
|
28
|
-
description:
|
|
29
|
-
amount:
|
|
30
|
-
currency:
|
|
31
|
-
status:
|
|
32
|
-
validUntil:
|
|
33
|
-
terms:
|
|
34
|
-
orgId:
|
|
35
|
-
ownerId:
|
|
36
|
-
createdAt:
|
|
37
|
-
updatedAt:
|
|
38
|
-
client:
|
|
39
|
-
jobs:
|
|
24
|
+
declare const QuoteEntity: _contractspec_lib_schema140.EntitySpec<{
|
|
25
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
26
|
+
clientId: _contractspec_lib_schema140.EntityScalarField;
|
|
27
|
+
title: _contractspec_lib_schema140.EntityScalarField;
|
|
28
|
+
description: _contractspec_lib_schema140.EntityScalarField;
|
|
29
|
+
amount: _contractspec_lib_schema140.EntityScalarField;
|
|
30
|
+
currency: _contractspec_lib_schema140.EntityScalarField;
|
|
31
|
+
status: _contractspec_lib_schema140.EntityEnumField;
|
|
32
|
+
validUntil: _contractspec_lib_schema140.EntityScalarField;
|
|
33
|
+
terms: _contractspec_lib_schema140.EntityScalarField;
|
|
34
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
35
|
+
ownerId: _contractspec_lib_schema140.EntityScalarField;
|
|
36
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
37
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
38
|
+
client: _contractspec_lib_schema140.EntityRelationField;
|
|
39
|
+
jobs: _contractspec_lib_schema140.EntityRelationField;
|
|
40
40
|
}>;
|
|
41
|
-
declare const JobEntity:
|
|
42
|
-
id:
|
|
43
|
-
quoteId:
|
|
44
|
-
clientId:
|
|
45
|
-
title:
|
|
46
|
-
status:
|
|
47
|
-
scheduledAt:
|
|
48
|
-
completedAt:
|
|
49
|
-
assignedTo:
|
|
50
|
-
location:
|
|
51
|
-
notes:
|
|
52
|
-
orgId:
|
|
53
|
-
createdAt:
|
|
54
|
-
updatedAt:
|
|
55
|
-
quote:
|
|
56
|
-
client:
|
|
57
|
-
invoices:
|
|
41
|
+
declare const JobEntity: _contractspec_lib_schema140.EntitySpec<{
|
|
42
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
43
|
+
quoteId: _contractspec_lib_schema140.EntityScalarField;
|
|
44
|
+
clientId: _contractspec_lib_schema140.EntityScalarField;
|
|
45
|
+
title: _contractspec_lib_schema140.EntityScalarField;
|
|
46
|
+
status: _contractspec_lib_schema140.EntityEnumField;
|
|
47
|
+
scheduledAt: _contractspec_lib_schema140.EntityScalarField;
|
|
48
|
+
completedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
49
|
+
assignedTo: _contractspec_lib_schema140.EntityScalarField;
|
|
50
|
+
location: _contractspec_lib_schema140.EntityScalarField;
|
|
51
|
+
notes: _contractspec_lib_schema140.EntityScalarField;
|
|
52
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
53
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
54
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
55
|
+
quote: _contractspec_lib_schema140.EntityRelationField;
|
|
56
|
+
client: _contractspec_lib_schema140.EntityRelationField;
|
|
57
|
+
invoices: _contractspec_lib_schema140.EntityRelationField;
|
|
58
58
|
}>;
|
|
59
|
-
declare const InvoiceEntity:
|
|
60
|
-
id:
|
|
61
|
-
jobId:
|
|
62
|
-
invoiceNumber:
|
|
63
|
-
amount:
|
|
64
|
-
currency:
|
|
65
|
-
status:
|
|
66
|
-
dueDate:
|
|
67
|
-
issuedAt:
|
|
68
|
-
paidAt:
|
|
69
|
-
orgId:
|
|
70
|
-
notes:
|
|
71
|
-
metadata:
|
|
72
|
-
createdAt:
|
|
73
|
-
updatedAt:
|
|
74
|
-
job:
|
|
75
|
-
payments:
|
|
59
|
+
declare const InvoiceEntity: _contractspec_lib_schema140.EntitySpec<{
|
|
60
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
61
|
+
jobId: _contractspec_lib_schema140.EntityScalarField;
|
|
62
|
+
invoiceNumber: _contractspec_lib_schema140.EntityScalarField;
|
|
63
|
+
amount: _contractspec_lib_schema140.EntityScalarField;
|
|
64
|
+
currency: _contractspec_lib_schema140.EntityScalarField;
|
|
65
|
+
status: _contractspec_lib_schema140.EntityEnumField;
|
|
66
|
+
dueDate: _contractspec_lib_schema140.EntityScalarField;
|
|
67
|
+
issuedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
68
|
+
paidAt: _contractspec_lib_schema140.EntityScalarField;
|
|
69
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
70
|
+
notes: _contractspec_lib_schema140.EntityScalarField;
|
|
71
|
+
metadata: _contractspec_lib_schema140.EntityScalarField;
|
|
72
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
73
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
74
|
+
job: _contractspec_lib_schema140.EntityRelationField;
|
|
75
|
+
payments: _contractspec_lib_schema140.EntityRelationField;
|
|
76
76
|
}>;
|
|
77
|
-
declare const PaymentEntity:
|
|
78
|
-
id:
|
|
79
|
-
invoiceId:
|
|
80
|
-
amount:
|
|
81
|
-
currency:
|
|
82
|
-
method:
|
|
83
|
-
reference:
|
|
84
|
-
receivedAt:
|
|
85
|
-
orgId:
|
|
86
|
-
createdAt:
|
|
87
|
-
invoice:
|
|
77
|
+
declare const PaymentEntity: _contractspec_lib_schema140.EntitySpec<{
|
|
78
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
79
|
+
invoiceId: _contractspec_lib_schema140.EntityScalarField;
|
|
80
|
+
amount: _contractspec_lib_schema140.EntityScalarField;
|
|
81
|
+
currency: _contractspec_lib_schema140.EntityScalarField;
|
|
82
|
+
method: _contractspec_lib_schema140.EntityEnumField;
|
|
83
|
+
reference: _contractspec_lib_schema140.EntityScalarField;
|
|
84
|
+
receivedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
85
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
86
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
87
|
+
invoice: _contractspec_lib_schema140.EntityRelationField;
|
|
88
88
|
}>;
|
|
89
|
-
declare const serviceBusinessEntities: (
|
|
90
|
-
id:
|
|
91
|
-
name:
|
|
92
|
-
contactEmail:
|
|
93
|
-
phone:
|
|
94
|
-
address:
|
|
95
|
-
industry:
|
|
96
|
-
orgId:
|
|
97
|
-
ownerId:
|
|
98
|
-
metadata:
|
|
99
|
-
createdAt:
|
|
100
|
-
updatedAt:
|
|
101
|
-
quotes:
|
|
102
|
-
jobs:
|
|
103
|
-
}> |
|
|
104
|
-
id:
|
|
105
|
-
clientId:
|
|
106
|
-
title:
|
|
107
|
-
description:
|
|
108
|
-
amount:
|
|
109
|
-
currency:
|
|
110
|
-
status:
|
|
111
|
-
validUntil:
|
|
112
|
-
terms:
|
|
113
|
-
orgId:
|
|
114
|
-
ownerId:
|
|
115
|
-
createdAt:
|
|
116
|
-
updatedAt:
|
|
117
|
-
client:
|
|
118
|
-
jobs:
|
|
119
|
-
}> |
|
|
120
|
-
id:
|
|
121
|
-
quoteId:
|
|
122
|
-
clientId:
|
|
123
|
-
title:
|
|
124
|
-
status:
|
|
125
|
-
scheduledAt:
|
|
126
|
-
completedAt:
|
|
127
|
-
assignedTo:
|
|
128
|
-
location:
|
|
129
|
-
notes:
|
|
130
|
-
orgId:
|
|
131
|
-
createdAt:
|
|
132
|
-
updatedAt:
|
|
133
|
-
quote:
|
|
134
|
-
client:
|
|
135
|
-
invoices:
|
|
136
|
-
}> |
|
|
137
|
-
id:
|
|
138
|
-
jobId:
|
|
139
|
-
invoiceNumber:
|
|
140
|
-
amount:
|
|
141
|
-
currency:
|
|
142
|
-
status:
|
|
143
|
-
dueDate:
|
|
144
|
-
issuedAt:
|
|
145
|
-
paidAt:
|
|
146
|
-
orgId:
|
|
147
|
-
notes:
|
|
148
|
-
metadata:
|
|
149
|
-
createdAt:
|
|
150
|
-
updatedAt:
|
|
151
|
-
job:
|
|
152
|
-
payments:
|
|
153
|
-
}> |
|
|
154
|
-
id:
|
|
155
|
-
invoiceId:
|
|
156
|
-
amount:
|
|
157
|
-
currency:
|
|
158
|
-
method:
|
|
159
|
-
reference:
|
|
160
|
-
receivedAt:
|
|
161
|
-
orgId:
|
|
162
|
-
createdAt:
|
|
163
|
-
invoice:
|
|
89
|
+
declare const serviceBusinessEntities: (_contractspec_lib_schema140.EntitySpec<{
|
|
90
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
91
|
+
name: _contractspec_lib_schema140.EntityScalarField;
|
|
92
|
+
contactEmail: _contractspec_lib_schema140.EntityScalarField;
|
|
93
|
+
phone: _contractspec_lib_schema140.EntityScalarField;
|
|
94
|
+
address: _contractspec_lib_schema140.EntityScalarField;
|
|
95
|
+
industry: _contractspec_lib_schema140.EntityScalarField;
|
|
96
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
97
|
+
ownerId: _contractspec_lib_schema140.EntityScalarField;
|
|
98
|
+
metadata: _contractspec_lib_schema140.EntityScalarField;
|
|
99
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
100
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
101
|
+
quotes: _contractspec_lib_schema140.EntityRelationField;
|
|
102
|
+
jobs: _contractspec_lib_schema140.EntityRelationField;
|
|
103
|
+
}> | _contractspec_lib_schema140.EntitySpec<{
|
|
104
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
105
|
+
clientId: _contractspec_lib_schema140.EntityScalarField;
|
|
106
|
+
title: _contractspec_lib_schema140.EntityScalarField;
|
|
107
|
+
description: _contractspec_lib_schema140.EntityScalarField;
|
|
108
|
+
amount: _contractspec_lib_schema140.EntityScalarField;
|
|
109
|
+
currency: _contractspec_lib_schema140.EntityScalarField;
|
|
110
|
+
status: _contractspec_lib_schema140.EntityEnumField;
|
|
111
|
+
validUntil: _contractspec_lib_schema140.EntityScalarField;
|
|
112
|
+
terms: _contractspec_lib_schema140.EntityScalarField;
|
|
113
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
114
|
+
ownerId: _contractspec_lib_schema140.EntityScalarField;
|
|
115
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
116
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
117
|
+
client: _contractspec_lib_schema140.EntityRelationField;
|
|
118
|
+
jobs: _contractspec_lib_schema140.EntityRelationField;
|
|
119
|
+
}> | _contractspec_lib_schema140.EntitySpec<{
|
|
120
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
121
|
+
quoteId: _contractspec_lib_schema140.EntityScalarField;
|
|
122
|
+
clientId: _contractspec_lib_schema140.EntityScalarField;
|
|
123
|
+
title: _contractspec_lib_schema140.EntityScalarField;
|
|
124
|
+
status: _contractspec_lib_schema140.EntityEnumField;
|
|
125
|
+
scheduledAt: _contractspec_lib_schema140.EntityScalarField;
|
|
126
|
+
completedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
127
|
+
assignedTo: _contractspec_lib_schema140.EntityScalarField;
|
|
128
|
+
location: _contractspec_lib_schema140.EntityScalarField;
|
|
129
|
+
notes: _contractspec_lib_schema140.EntityScalarField;
|
|
130
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
131
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
132
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
133
|
+
quote: _contractspec_lib_schema140.EntityRelationField;
|
|
134
|
+
client: _contractspec_lib_schema140.EntityRelationField;
|
|
135
|
+
invoices: _contractspec_lib_schema140.EntityRelationField;
|
|
136
|
+
}> | _contractspec_lib_schema140.EntitySpec<{
|
|
137
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
138
|
+
jobId: _contractspec_lib_schema140.EntityScalarField;
|
|
139
|
+
invoiceNumber: _contractspec_lib_schema140.EntityScalarField;
|
|
140
|
+
amount: _contractspec_lib_schema140.EntityScalarField;
|
|
141
|
+
currency: _contractspec_lib_schema140.EntityScalarField;
|
|
142
|
+
status: _contractspec_lib_schema140.EntityEnumField;
|
|
143
|
+
dueDate: _contractspec_lib_schema140.EntityScalarField;
|
|
144
|
+
issuedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
145
|
+
paidAt: _contractspec_lib_schema140.EntityScalarField;
|
|
146
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
147
|
+
notes: _contractspec_lib_schema140.EntityScalarField;
|
|
148
|
+
metadata: _contractspec_lib_schema140.EntityScalarField;
|
|
149
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
150
|
+
updatedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
151
|
+
job: _contractspec_lib_schema140.EntityRelationField;
|
|
152
|
+
payments: _contractspec_lib_schema140.EntityRelationField;
|
|
153
|
+
}> | _contractspec_lib_schema140.EntitySpec<{
|
|
154
|
+
id: _contractspec_lib_schema140.EntityScalarField;
|
|
155
|
+
invoiceId: _contractspec_lib_schema140.EntityScalarField;
|
|
156
|
+
amount: _contractspec_lib_schema140.EntityScalarField;
|
|
157
|
+
currency: _contractspec_lib_schema140.EntityScalarField;
|
|
158
|
+
method: _contractspec_lib_schema140.EntityEnumField;
|
|
159
|
+
reference: _contractspec_lib_schema140.EntityScalarField;
|
|
160
|
+
receivedAt: _contractspec_lib_schema140.EntityScalarField;
|
|
161
|
+
orgId: _contractspec_lib_schema140.EntityScalarField;
|
|
162
|
+
createdAt: _contractspec_lib_schema140.EntityScalarField;
|
|
163
|
+
invoice: _contractspec_lib_schema140.EntityRelationField;
|
|
164
164
|
}>)[];
|
|
165
165
|
declare const serviceBusinessSchemaContribution: ModuleSchemaContribution;
|
|
166
166
|
//#endregion
|
package/dist/example.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/example.d.ts
|
|
4
|
-
declare const example:
|
|
4
|
+
declare const example: _contractspec_lib_contracts11.ExampleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { example as default };
|
|
7
7
|
//# sourceMappingURL=example.d.ts.map
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema294 from "@contractspec/lib.schema";
|
|
2
2
|
import * as _contractspec_lib_contracts23 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<
|
|
8
|
+
declare const IssueInvoiceContract: _contractspec_lib_contracts23.OperationSpec<_contractspec_lib_schema294.SchemaModel<{
|
|
9
9
|
jobId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema294.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
dueDate: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema294.FieldType<Date, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
notes: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema294.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
lineItems: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema294.FieldType<unknown, unknown>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _contractspec_lib_schema294.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema294.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
jobId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema294.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
invoiceNumber: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema294.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
amount: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema294.FieldType<number, number>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
currency: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema294.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
status: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema294.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
dueDate: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema294.FieldType<Date, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
issuedAt: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema294.FieldType<Date, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
paidAt: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema294.FieldType<Date, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
}>, undefined>;
|
package/dist/presentations.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts12 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/presentations.d.ts
|
|
4
|
-
declare const ServiceDashboardPresentation:
|
|
5
|
-
declare const ClientListPresentation:
|
|
6
|
-
declare const QuoteListPresentation:
|
|
7
|
-
declare const QuoteDetailPresentation:
|
|
8
|
-
declare const JobBoardPresentation:
|
|
9
|
-
declare const InvoiceListPresentation:
|
|
10
|
-
declare const PaymentListPresentation:
|
|
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;
|
|
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
|
|
1
|
+
import * as _contractspec_lib_contracts19 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/service-business-os.capability.d.ts
|
|
4
|
-
declare const QuotesCapability:
|
|
5
|
-
declare const InvoicesCapability:
|
|
4
|
+
declare const QuotesCapability: _contractspec_lib_contracts19.CapabilitySpec;
|
|
5
|
+
declare const InvoicesCapability: _contractspec_lib_contracts19.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.
|
|
3
|
+
"version": "1.55.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.
|
|
21
|
-
"@contractspec/lib.contracts": "1.
|
|
20
|
+
"@contractspec/lib.schema": "1.55.0",
|
|
21
|
+
"@contractspec/lib.contracts": "1.55.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@contractspec/tool.typescript": "1.
|
|
25
|
-
"@contractspec/tool.tsdown": "1.
|
|
24
|
+
"@contractspec/tool.typescript": "1.55.0",
|
|
25
|
+
"@contractspec/tool.tsdown": "1.55.0",
|
|
26
26
|
"typescript": "^5.9.3"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|