@contractspec/example.service-business-os 1.47.0 → 1.48.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.
- package/dist/client/client.operations.d.ts +17 -17
- package/dist/client/client.operations.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 +90 -90
- package/dist/events.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/invoice/invoice.operations.d.ts +17 -17
- package/dist/invoice/invoice.schema.d.ts +16 -16
- package/dist/job/job.operations.d.ts +62 -62
- package/dist/job/job.operations.d.ts.map +1 -1
- package/dist/job/job.schema.d.ts +20 -20
- package/dist/job/job.schema.d.ts.map +1 -1
- package/dist/payment/payment.operations.d.ts +16 -16
- package/dist/payment/payment.operations.d.ts.map +1 -1
- package/dist/payment/payment.schema.d.ts +15 -15
- package/dist/payment/payment.schema.d.ts.map +1 -1
- package/dist/presentations.d.ts +8 -8
- package/dist/quote/quote.operations.d.ts +35 -35
- package/dist/quote/quote.operations.d.ts.map +1 -1
- package/dist/quote/quote.schema.d.ts +24 -24
- package/dist/quote/quote.schema.d.ts.map +1 -1
- package/dist/service-business-os.capability.d.ts +3 -3
- package/dist/service.feature.d.ts +2 -2
- package/dist/service.feature.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema431 from "@contractspec/lib.schema";
|
|
2
|
+
import * as _contractspec_lib_contracts28 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/quote/quote.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new quote.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateQuoteContract:
|
|
8
|
+
declare const CreateQuoteContract: _contractspec_lib_contracts28.OperationSpec<_contractspec_lib_schema431.SchemaModel<{
|
|
9
9
|
clientId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
amount: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema431.FieldType<number, number>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
currency: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
validUntil: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema431.FieldType<Date, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
33
|
orgId: {
|
|
34
|
-
type:
|
|
34
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
ownerId: {
|
|
38
|
-
type:
|
|
38
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
|
-
}>,
|
|
41
|
+
}>, _contractspec_lib_schema431.SchemaModel<{
|
|
42
42
|
id: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
clientId: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
title: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
description: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
amount: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema431.FieldType<number, number>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
currency: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
status: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
validUntil: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema431.FieldType<Date, string>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
createdAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema431.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>, undefined>;
|
|
79
79
|
/**
|
|
80
80
|
* Accept a quote.
|
|
81
81
|
*/
|
|
82
|
-
declare const AcceptQuoteContract:
|
|
82
|
+
declare const AcceptQuoteContract: _contractspec_lib_contracts28.OperationSpec<_contractspec_lib_schema431.SchemaModel<{
|
|
83
83
|
quoteId: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
acceptedBy: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
notes: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
|
-
}>,
|
|
95
|
+
}>, _contractspec_lib_schema431.SchemaModel<{
|
|
96
96
|
id: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
clientId: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
title: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
description: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
110
110
|
isOptional: true;
|
|
111
111
|
};
|
|
112
112
|
amount: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema431.FieldType<number, number>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
currency: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
status: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema431.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
validUntil: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema431.FieldType<Date, string>;
|
|
126
126
|
isOptional: true;
|
|
127
127
|
};
|
|
128
128
|
createdAt: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema431.FieldType<Date, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quote.operations.d.ts","names":[],"sources":["../../src/quote/quote.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAYa,
|
|
1
|
+
{"version":3,"file":"quote.operations.d.ts","names":[],"sources":["../../src/quote/quote.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAYa,mDAAmB,0CAAA;EAAnB,QAAA,EAAA;IAoCX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;EApC8B,CAAA;;;;;;;;;;;;;EAAA,KAAA,EAAA;IAyCnB,IAAA,uCAiCX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;+CAjC8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;UAzCA,2BAAA,CAAA;;;;;;;;+CAyCA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAnB,mDAAmB,0CAAA;;UAiC9B,2BAAA,CAAA;;;;;;;;;;;;;UAjC8B,2BAAA,CAAA"}
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/quote/quote.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Quote/proposal.
|
|
6
6
|
*/
|
|
7
|
-
declare const QuoteModel:
|
|
7
|
+
declare const QuoteModel: _contractspec_lib_schema0.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
clientId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
description: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
amount: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
currency: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
status: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
validUntil: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
createdAt: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
46
46
|
* Input for creating a quote.
|
|
47
47
|
*/
|
|
48
|
-
declare const CreateQuoteInputModel:
|
|
48
|
+
declare const CreateQuoteInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
49
49
|
clientId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
title: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
description: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
amount: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
currency: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
67
67
|
isOptional: true;
|
|
68
68
|
};
|
|
69
69
|
validUntil: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
orgId: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
ownerId: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
}>;
|
|
82
82
|
/**
|
|
83
83
|
* Input for accepting a quote.
|
|
84
84
|
*/
|
|
85
|
-
declare const AcceptQuoteInputModel:
|
|
85
|
+
declare const AcceptQuoteInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
86
86
|
quoteId: {
|
|
87
|
-
type:
|
|
87
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
acceptedBy: {
|
|
91
|
-
type:
|
|
91
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
notes: {
|
|
95
|
-
type:
|
|
95
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
96
96
|
isOptional: true;
|
|
97
97
|
};
|
|
98
98
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quote.schema.d.ts","names":[],"sources":["../../src/quote/quote.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,UAcX,
|
|
1
|
+
{"version":3,"file":"quote.schema.d.ts","names":[],"sources":["../../src/quote/quote.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,UAcX,4BAdqB,WAcrB,CAAA;EAAA,EAAA,EAAA;UAAA,yBAAA,CAAA;;;;;;;;;;;EAdqB,WAAA,EAAA;IAmBV,IAAA,qCAaX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;EAbgC,MAAA,EAAA;IAkBrB,IAAA,qCAQX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;6CARgC,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;cAlBrB,iDAAqB;;UAahC,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,iDAAqB;;UAQhC,yBAAA,CAAA"}
|
|
@@ -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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts21 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/service.feature.d.ts
|
|
4
|
-
declare const ServiceBusinessFeature:
|
|
4
|
+
declare const ServiceBusinessFeature: _contractspec_lib_contracts21.FeatureModuleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { ServiceBusinessFeature };
|
|
7
7
|
//# sourceMappingURL=service.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.feature.d.ts","names":[],"sources":["../src/service.feature.ts"],"sourcesContent":[],"mappings":";;;cAEa,wBAqEX,
|
|
1
|
+
{"version":3,"file":"service.feature.d.ts","names":[],"sources":["../src/service.feature.ts"],"sourcesContent":[],"mappings":";;;cAEa,wBAqEX,6BAAA,CArEiC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.service-business-os",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.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.48.0",
|
|
21
|
+
"@contractspec/lib.contracts": "1.48.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@contractspec/tool.typescript": "1.
|
|
25
|
-
"@contractspec/tool.tsdown": "1.
|
|
24
|
+
"@contractspec/tool.typescript": "1.48.0",
|
|
25
|
+
"@contractspec/tool.tsdown": "1.48.0",
|
|
26
26
|
"typescript": "^5.9.3"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|