@contractspec/example.service-business-os 1.44.0 → 1.45.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.
Files changed (36) hide show
  1. package/dist/client/client.operations.d.ts +17 -17
  2. package/dist/client/client.operations.js +1 -1
  3. package/dist/client/client.operations.js.map +1 -1
  4. package/dist/client/client.schema.d.ts +16 -16
  5. package/dist/entities/index.d.ts +155 -155
  6. package/dist/events.d.ts +89 -89
  7. package/dist/events.d.ts.map +1 -1
  8. package/dist/events.js +6 -6
  9. package/dist/events.js.map +1 -1
  10. package/dist/example.d.ts +3 -33
  11. package/dist/example.d.ts.map +1 -1
  12. package/dist/example.js +16 -11
  13. package/dist/example.js.map +1 -1
  14. package/dist/invoice/invoice.operations.d.ts +17 -17
  15. package/dist/invoice/invoice.operations.d.ts.map +1 -1
  16. package/dist/invoice/invoice.operations.js +1 -1
  17. package/dist/invoice/invoice.operations.js.map +1 -1
  18. package/dist/invoice/invoice.schema.d.ts +16 -16
  19. package/dist/job/job.operations.d.ts +61 -61
  20. package/dist/job/job.operations.js +3 -3
  21. package/dist/job/job.operations.js.map +1 -1
  22. package/dist/job/job.schema.d.ts +20 -20
  23. package/dist/payment/payment.operations.d.ts +15 -15
  24. package/dist/payment/payment.operations.js +1 -1
  25. package/dist/payment/payment.operations.js.map +1 -1
  26. package/dist/payment/payment.schema.d.ts +15 -15
  27. package/dist/presentations.js +7 -7
  28. package/dist/presentations.js.map +1 -1
  29. package/dist/quote/quote.operations.d.ts +34 -34
  30. package/dist/quote/quote.operations.js +2 -2
  31. package/dist/quote/quote.operations.js.map +1 -1
  32. package/dist/quote/quote.schema.d.ts +24 -24
  33. package/dist/quote/quote.schema.d.ts.map +1 -1
  34. package/dist/service.feature.js +32 -32
  35. package/dist/service.feature.js.map +1 -1
  36. package/package.json +11 -11
@@ -14,112 +14,112 @@ const ServiceBusinessFeature = {
14
14
  "payments"
15
15
  ],
16
16
  stability: "experimental",
17
- version: 1
17
+ version: "1.0.0"
18
18
  },
19
19
  operations: [
20
20
  {
21
21
  key: "service.client.create",
22
- version: 1
22
+ version: "1.0.0"
23
23
  },
24
24
  {
25
25
  key: "service.quote.create",
26
- version: 1
26
+ version: "1.0.0"
27
27
  },
28
28
  {
29
29
  key: "service.quote.accept",
30
- version: 1
30
+ version: "1.0.0"
31
31
  },
32
32
  {
33
33
  key: "service.job.schedule",
34
- version: 1
34
+ version: "1.0.0"
35
35
  },
36
36
  {
37
37
  key: "service.job.complete",
38
- version: 1
38
+ version: "1.0.0"
39
39
  },
40
40
  {
41
41
  key: "service.invoice.issue",
42
- version: 1
42
+ version: "1.0.0"
43
43
  },
44
44
  {
45
45
  key: "service.payment.record",
46
- version: 1
46
+ version: "1.0.0"
47
47
  },
48
48
  {
49
49
  key: "service.job.list",
50
- version: 1
50
+ version: "1.0.0"
51
51
  }
52
52
  ],
53
53
  events: [
54
54
  {
55
55
  key: "service.quote.sent",
56
- version: 1
56
+ version: "1.0.0"
57
57
  },
58
58
  {
59
59
  key: "service.quote.accepted",
60
- version: 1
60
+ version: "1.0.0"
61
61
  },
62
62
  {
63
63
  key: "service.job.scheduled",
64
- version: 1
64
+ version: "1.0.0"
65
65
  },
66
66
  {
67
67
  key: "service.job.completed",
68
- version: 1
68
+ version: "1.0.0"
69
69
  },
70
70
  {
71
71
  key: "service.invoice.issued",
72
- version: 1
72
+ version: "1.0.0"
73
73
  },
74
74
  {
75
75
  key: "service.payment.received",
76
- version: 1
76
+ version: "1.0.0"
77
77
  }
78
78
  ],
79
79
  presentations: [
80
80
  {
81
81
  key: "service-business-os.dashboard",
82
- version: 1
82
+ version: "1.0.0"
83
83
  },
84
84
  {
85
85
  key: "service-business-os.client.list",
86
- version: 1
86
+ version: "1.0.0"
87
87
  },
88
88
  {
89
89
  key: "service-business-os.quote.list",
90
- version: 1
90
+ version: "1.0.0"
91
91
  },
92
92
  {
93
93
  key: "service-business-os.quote.detail",
94
- version: 1
94
+ version: "1.0.0"
95
95
  },
96
96
  {
97
97
  key: "service-business-os.job.board",
98
- version: 1
98
+ version: "1.0.0"
99
99
  },
100
100
  {
101
101
  key: "service-business-os.invoice.list",
102
- version: 1
102
+ version: "1.0.0"
103
103
  },
104
104
  {
105
105
  key: "service-business-os.payment.list",
106
- version: 1
106
+ version: "1.0.0"
107
107
  }
108
108
  ],
109
109
  presentationsTargets: [
110
110
  {
111
111
  key: "service-business-os.dashboard",
112
- version: 1,
112
+ version: "1.0.0",
113
113
  targets: ["react", "markdown"]
114
114
  },
115
115
  {
116
116
  key: "service-business-os.quote.list",
117
- version: 1,
117
+ version: "1.0.0",
118
118
  targets: ["react", "markdown"]
119
119
  },
120
120
  {
121
121
  key: "service-business-os.invoice.list",
122
- version: 1,
122
+ version: "1.0.0",
123
123
  targets: ["react", "markdown"]
124
124
  }
125
125
  ],
@@ -127,33 +127,33 @@ const ServiceBusinessFeature = {
127
127
  requires: [
128
128
  {
129
129
  key: "identity",
130
- version: 1
130
+ version: "1.0.0"
131
131
  },
132
132
  {
133
133
  key: "audit-trail",
134
- version: 1
134
+ version: "1.0.0"
135
135
  },
136
136
  {
137
137
  key: "notifications",
138
- version: 1
138
+ version: "1.0.0"
139
139
  },
140
140
  {
141
141
  key: "files",
142
- version: 1
142
+ version: "1.0.0"
143
143
  }
144
144
  ],
145
145
  provides: [
146
146
  {
147
147
  key: "quotes",
148
- version: 1
148
+ version: "1.0.0"
149
149
  },
150
150
  {
151
151
  key: "jobs",
152
- version: 1
152
+ version: "1.0.0"
153
153
  },
154
154
  {
155
155
  key: "invoices",
156
- version: 1
156
+ version: "1.0.0"
157
157
  }
158
158
  ]
159
159
  }
@@ -1 +1 @@
1
- {"version":3,"file":"service.feature.js","names":["ServiceBusinessFeature: FeatureModuleSpec"],"sources":["../src/service.feature.ts"],"sourcesContent":["import type { FeatureModuleSpec } from '@contractspec/lib.contracts';\n\nexport const ServiceBusinessFeature: FeatureModuleSpec = {\n meta: {\n key: 'service-business-os',\n title: 'Service Business OS',\n description:\n 'Quotes → jobs → invoices → payments for field services and agencies.',\n domain: 'services',\n owners: ['@service-os'],\n tags: ['services', 'quotes', 'jobs', 'invoices', 'payments'],\n stability: 'experimental',\n version: 1,\n },\n operations: [\n { key: 'service.client.create', version: 1 },\n { key: 'service.quote.create', version: 1 },\n { key: 'service.quote.accept', version: 1 },\n { key: 'service.job.schedule', version: 1 },\n { key: 'service.job.complete', version: 1 },\n { key: 'service.invoice.issue', version: 1 },\n { key: 'service.payment.record', version: 1 },\n { key: 'service.job.list', version: 1 },\n ],\n events: [\n { key: 'service.quote.sent', version: 1 },\n { key: 'service.quote.accepted', version: 1 },\n { key: 'service.job.scheduled', version: 1 },\n { key: 'service.job.completed', version: 1 },\n { key: 'service.invoice.issued', version: 1 },\n { key: 'service.payment.received', version: 1 },\n ],\n presentations: [\n { key: 'service-business-os.dashboard', version: 1 },\n { key: 'service-business-os.client.list', version: 1 },\n { key: 'service-business-os.quote.list', version: 1 },\n { key: 'service-business-os.quote.detail', version: 1 },\n { key: 'service-business-os.job.board', version: 1 },\n { key: 'service-business-os.invoice.list', version: 1 },\n { key: 'service-business-os.payment.list', version: 1 },\n ],\n presentationsTargets: [\n {\n key: 'service-business-os.dashboard',\n version: 1,\n targets: ['react', 'markdown'],\n },\n {\n key: 'service-business-os.quote.list',\n version: 1,\n targets: ['react', 'markdown'],\n },\n {\n key: 'service-business-os.invoice.list',\n version: 1,\n targets: ['react', 'markdown'],\n },\n ],\n capabilities: {\n requires: [\n { key: 'identity', version: 1 },\n { key: 'audit-trail', version: 1 },\n { key: 'notifications', version: 1 },\n { key: 'files', version: 1 },\n ],\n provides: [\n { key: 'quotes', version: 1 },\n { key: 'jobs', version: 1 },\n { key: 'invoices', version: 1 },\n ],\n },\n};\n"],"mappings":";AAEA,MAAaA,yBAA4C;CACvD,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,cAAc;EACvB,MAAM;GAAC;GAAY;GAAU;G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ACpC;IAAE,KAAK;IAAS,SAAS;IAAG;GAC7B;EACD,UAAU;GACR;IAAE,KAAK;IAAU,SAAS;IAAG;GAC7B;IAAE,KAAK;IAAQ,SAAS;IAAG;GAC3B;IAAE,KAAK;IAAY,SAAS;IAAG;GAChC;EACF;CACF"}
1
+ {"version":3,"file":"service.feature.js","names":["ServiceBusinessFeature: FeatureModuleSpec"],"sources":["../src/service.feature.ts"],"sourcesContent":["import type { FeatureModuleSpec } from '@contractspec/lib.contracts';\n\nexport const ServiceBusinessFeature: FeatureModuleSpec = {\n meta: {\n key: 'service-business-os',\n title: 'Service Business OS',\n description:\n 'Quotes → jobs → invoices → payments for field services and agencies.',\n domain: 'services',\n owners: ['@service-os'],\n tags: ['services', 'quotes', 'jobs', 'invoices', 'payments'],\n stability: 'experimental',\n version: '1.0.0',\n },\n operations: [\n { key: 'service.client.create', version: '1.0.0' },\n { key: 'service.quote.create', version: '1.0.0' },\n { key: 'service.quote.accept', version: '1.0.0' },\n { key: 'service.job.schedule', version: '1.0.0' },\n { key: 'service.job.complete', version: '1.0.0' },\n { key: 'service.invoice.issue', version: '1.0.0' },\n { key: 'service.payment.record', version: '1.0.0' },\n { key: 'service.job.list', version: '1.0.0' },\n ],\n events: [\n { key: 'service.quote.sent', version: '1.0.0' },\n { key: 'service.quote.accepted', version: '1.0.0' },\n { key: 'service.job.scheduled', version: '1.0.0' },\n { key: 'service.job.completed', version: '1.0.0' },\n { key: 'service.invoice.issued', version: '1.0.0' },\n { key: 'service.payment.received', version: '1.0.0' },\n ],\n presentations: [\n { key: 'service-business-os.dashboard', version: '1.0.0' },\n { key: 'service-business-os.client.list', version: '1.0.0' },\n { key: 'service-business-os.quote.list', version: '1.0.0' },\n { key: 'service-business-os.quote.detail', version: '1.0.0' },\n { key: 'service-business-os.job.board', version: '1.0.0' },\n { key: 'service-business-os.invoice.list', version: '1.0.0' },\n { key: 'service-business-os.payment.list', version: '1.0.0' },\n ],\n presentationsTargets: [\n {\n key: 'service-business-os.dashboard',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'service-business-os.quote.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'service-business-os.invoice.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'files', version: '1.0.0' },\n ],\n provides: [\n { key: 'quotes', version: '1.0.0' },\n { key: 'jobs', version: '1.0.0' },\n { key: 'invoices', version: '1.0.0' },\n ],\n },\n};\n"],"mappings":";AAEA,MAAaA,yBAA4C;CACvD,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,cAAc;EACvB,MAAM;GAAC;GAAY;GAAU;GAAQ;GAAY;GAAW;EAC5D,WAAW;EACX,SAAS;EACV;CACD,YAAY;EACV;GAAE,KAAK;GAAyB,SAAS;GAAS;EAClD;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAAyB,SAAS;GAAS;EAClD;GAAE,KAAK;GAA0B,SAAS;GAAS;EACnD;GAAE,KAAK;GAAoB,SAAS;GAAS;EAC9C;CACD,QAAQ;EACN;GAAE,KAAK;GAAsB,SAAS;GAAS;EAC/C;GAAE,KAAK;GAA0B,SAAS;GAAS;EACnD;GAAE,KAAK;GAAyB,SAAS;GAAS;EAClD;GAAE,KAAK;GAAyB,SAAS;GAAS;EAClD;GAAE,KAAK;GAA0B,SAAS;GAAS;EACnD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACtD;CACD,eAAe;EACb;GAAE,KAAK;GAAiC,SAAS;GAAS;EAC1D;GAAE,KAAK;GAAmC,SAAS;GAAS;EAC5D;GAAE,KAAK;GAAkC,SAAS;GAAS;EAC3D;GAAE,KAAK;GAAoC,SAAS;GAAS;EAC7D;GAAE,KAAK;GAAiC,SAAS;GAAS;EAC1D;GAAE,KAAK;GAAoC,SAAS;GAAS;EAC7D;GAAE,KAAK;GAAoC,SAAS;GAAS;EAC9D;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACF;CACD,cAAc;EACZ,UAAU;GACR;IAAE,KAAK;IAAY,SAAS;IAAS;GACrC;IAAE,KAAK;IAAe,SAAS;IAAS;GACxC;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC1C;IAAE,KAAK;IAAS,SAAS;IAAS;GACnC;EACD,UAAU;GACR;IAAE,KAAK;IAAU,SAAS;IAAS;GACnC;IAAE,KAAK;IAAQ,SAAS;IAAS;GACjC;IAAE,KAAK;IAAY,SAAS;IAAS;GACtC;EACF;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.service-business-os",
3
- "version": "1.44.0",
3
+ "version": "1.45.0",
4
4
  "description": "Service Business OS example (clients, quotes, jobs, invoices) for ContractSpec",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,19 +18,19 @@
18
18
  "lint:check": "eslint src"
19
19
  },
20
20
  "dependencies": {
21
- "@contractspec/lib.schema": "1.44.0",
22
- "@contractspec/lib.contracts": "1.44.0",
23
- "@contractspec/lib.bus": "1.44.0",
24
- "@contractspec/lib.identity-rbac": "1.44.0",
25
- "@contractspec/lib.files": "1.44.0",
26
- "@contractspec/lib.jobs": "1.44.0",
27
- "@contractspec/module.audit-trail": "1.44.0",
28
- "@contractspec/module.notifications": "1.44.0",
21
+ "@contractspec/lib.schema": "1.45.0",
22
+ "@contractspec/lib.contracts": "1.45.0",
23
+ "@contractspec/lib.bus": "1.45.0",
24
+ "@contractspec/lib.identity-rbac": "1.45.0",
25
+ "@contractspec/lib.files": "1.45.0",
26
+ "@contractspec/lib.jobs": "1.45.0",
27
+ "@contractspec/module.audit-trail": "1.45.0",
28
+ "@contractspec/module.notifications": "1.45.0",
29
29
  "zod": "^4.1.13"
30
30
  },
31
31
  "devDependencies": {
32
- "@contractspec/tool.typescript": "1.44.0",
33
- "@contractspec/tool.tsdown": "1.44.0",
32
+ "@contractspec/tool.typescript": "1.45.0",
33
+ "@contractspec/tool.tsdown": "1.45.0",
34
34
  "typescript": "^5.9.3"
35
35
  },
36
36
  "exports": {