@lssm/example.service-business-os 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804

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.
@@ -0,0 +1,134 @@
1
+ import * as _lssm_lib_schema195 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts15 from "@lssm/lib.contracts";
3
+
4
+ //#region src/quote/quote.contracts.d.ts
5
+ /**
6
+ * Create a new quote.
7
+ */
8
+ declare const CreateQuoteContract: _lssm_lib_contracts15.ContractSpec<_lssm_lib_schema195.SchemaModel<{
9
+ clientId: {
10
+ type: _lssm_lib_schema195.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ title: {
14
+ type: _lssm_lib_schema195.FieldType<string, string>;
15
+ isOptional: false;
16
+ };
17
+ description: {
18
+ type: _lssm_lib_schema195.FieldType<string, string>;
19
+ isOptional: true;
20
+ };
21
+ amount: {
22
+ type: _lssm_lib_schema195.FieldType<number, number>;
23
+ isOptional: false;
24
+ };
25
+ currency: {
26
+ type: _lssm_lib_schema195.FieldType<string, string>;
27
+ isOptional: true;
28
+ };
29
+ validUntil: {
30
+ type: _lssm_lib_schema195.FieldType<Date, string>;
31
+ isOptional: true;
32
+ };
33
+ orgId: {
34
+ type: _lssm_lib_schema195.FieldType<string, string>;
35
+ isOptional: false;
36
+ };
37
+ ownerId: {
38
+ type: _lssm_lib_schema195.FieldType<string, string>;
39
+ isOptional: false;
40
+ };
41
+ }>, _lssm_lib_schema195.SchemaModel<{
42
+ id: {
43
+ type: _lssm_lib_schema195.FieldType<string, string>;
44
+ isOptional: false;
45
+ };
46
+ clientId: {
47
+ type: _lssm_lib_schema195.FieldType<string, string>;
48
+ isOptional: false;
49
+ };
50
+ title: {
51
+ type: _lssm_lib_schema195.FieldType<string, string>;
52
+ isOptional: false;
53
+ };
54
+ description: {
55
+ type: _lssm_lib_schema195.FieldType<string, string>;
56
+ isOptional: true;
57
+ };
58
+ amount: {
59
+ type: _lssm_lib_schema195.FieldType<number, number>;
60
+ isOptional: false;
61
+ };
62
+ currency: {
63
+ type: _lssm_lib_schema195.FieldType<string, string>;
64
+ isOptional: false;
65
+ };
66
+ status: {
67
+ type: _lssm_lib_schema195.FieldType<string, string>;
68
+ isOptional: false;
69
+ };
70
+ validUntil: {
71
+ type: _lssm_lib_schema195.FieldType<Date, string>;
72
+ isOptional: true;
73
+ };
74
+ createdAt: {
75
+ type: _lssm_lib_schema195.FieldType<Date, string>;
76
+ isOptional: false;
77
+ };
78
+ }>, undefined>;
79
+ /**
80
+ * Accept a quote.
81
+ */
82
+ declare const AcceptQuoteContract: _lssm_lib_contracts15.ContractSpec<_lssm_lib_schema195.SchemaModel<{
83
+ quoteId: {
84
+ type: _lssm_lib_schema195.FieldType<string, string>;
85
+ isOptional: false;
86
+ };
87
+ acceptedBy: {
88
+ type: _lssm_lib_schema195.FieldType<string, string>;
89
+ isOptional: false;
90
+ };
91
+ notes: {
92
+ type: _lssm_lib_schema195.FieldType<string, string>;
93
+ isOptional: true;
94
+ };
95
+ }>, _lssm_lib_schema195.SchemaModel<{
96
+ id: {
97
+ type: _lssm_lib_schema195.FieldType<string, string>;
98
+ isOptional: false;
99
+ };
100
+ clientId: {
101
+ type: _lssm_lib_schema195.FieldType<string, string>;
102
+ isOptional: false;
103
+ };
104
+ title: {
105
+ type: _lssm_lib_schema195.FieldType<string, string>;
106
+ isOptional: false;
107
+ };
108
+ description: {
109
+ type: _lssm_lib_schema195.FieldType<string, string>;
110
+ isOptional: true;
111
+ };
112
+ amount: {
113
+ type: _lssm_lib_schema195.FieldType<number, number>;
114
+ isOptional: false;
115
+ };
116
+ currency: {
117
+ type: _lssm_lib_schema195.FieldType<string, string>;
118
+ isOptional: false;
119
+ };
120
+ status: {
121
+ type: _lssm_lib_schema195.FieldType<string, string>;
122
+ isOptional: false;
123
+ };
124
+ validUntil: {
125
+ type: _lssm_lib_schema195.FieldType<Date, string>;
126
+ isOptional: true;
127
+ };
128
+ createdAt: {
129
+ type: _lssm_lib_schema195.FieldType<Date, string>;
130
+ isOptional: false;
131
+ };
132
+ }>, undefined>;
133
+ //#endregion
134
+ export { AcceptQuoteContract, CreateQuoteContract };
@@ -0,0 +1,100 @@
1
+ import * as _lssm_lib_schema228 from "@lssm/lib.schema";
2
+
3
+ //#region src/quote/quote.schema.d.ts
4
+ /**
5
+ * Quote/proposal.
6
+ */
7
+ declare const QuoteModel: _lssm_lib_schema228.SchemaModel<{
8
+ id: {
9
+ type: _lssm_lib_schema228.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ clientId: {
13
+ type: _lssm_lib_schema228.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ title: {
17
+ type: _lssm_lib_schema228.FieldType<string, string>;
18
+ isOptional: false;
19
+ };
20
+ description: {
21
+ type: _lssm_lib_schema228.FieldType<string, string>;
22
+ isOptional: true;
23
+ };
24
+ amount: {
25
+ type: _lssm_lib_schema228.FieldType<number, number>;
26
+ isOptional: false;
27
+ };
28
+ currency: {
29
+ type: _lssm_lib_schema228.FieldType<string, string>;
30
+ isOptional: false;
31
+ };
32
+ status: {
33
+ type: _lssm_lib_schema228.FieldType<string, string>;
34
+ isOptional: false;
35
+ };
36
+ validUntil: {
37
+ type: _lssm_lib_schema228.FieldType<Date, string>;
38
+ isOptional: true;
39
+ };
40
+ createdAt: {
41
+ type: _lssm_lib_schema228.FieldType<Date, string>;
42
+ isOptional: false;
43
+ };
44
+ }>;
45
+ /**
46
+ * Input for creating a quote.
47
+ */
48
+ declare const CreateQuoteInputModel: _lssm_lib_schema228.SchemaModel<{
49
+ clientId: {
50
+ type: _lssm_lib_schema228.FieldType<string, string>;
51
+ isOptional: false;
52
+ };
53
+ title: {
54
+ type: _lssm_lib_schema228.FieldType<string, string>;
55
+ isOptional: false;
56
+ };
57
+ description: {
58
+ type: _lssm_lib_schema228.FieldType<string, string>;
59
+ isOptional: true;
60
+ };
61
+ amount: {
62
+ type: _lssm_lib_schema228.FieldType<number, number>;
63
+ isOptional: false;
64
+ };
65
+ currency: {
66
+ type: _lssm_lib_schema228.FieldType<string, string>;
67
+ isOptional: true;
68
+ };
69
+ validUntil: {
70
+ type: _lssm_lib_schema228.FieldType<Date, string>;
71
+ isOptional: true;
72
+ };
73
+ orgId: {
74
+ type: _lssm_lib_schema228.FieldType<string, string>;
75
+ isOptional: false;
76
+ };
77
+ ownerId: {
78
+ type: _lssm_lib_schema228.FieldType<string, string>;
79
+ isOptional: false;
80
+ };
81
+ }>;
82
+ /**
83
+ * Input for accepting a quote.
84
+ */
85
+ declare const AcceptQuoteInputModel: _lssm_lib_schema228.SchemaModel<{
86
+ quoteId: {
87
+ type: _lssm_lib_schema228.FieldType<string, string>;
88
+ isOptional: false;
89
+ };
90
+ acceptedBy: {
91
+ type: _lssm_lib_schema228.FieldType<string, string>;
92
+ isOptional: false;
93
+ };
94
+ notes: {
95
+ type: _lssm_lib_schema228.FieldType<string, string>;
96
+ isOptional: true;
97
+ };
98
+ }>;
99
+ //#endregion
100
+ export { AcceptQuoteInputModel, CreateQuoteInputModel, QuoteModel };
@@ -0,0 +1,6 @@
1
+ import { FeatureModuleSpec } from "@lssm/lib.contracts";
2
+
3
+ //#region src/service.feature.d.ts
4
+ declare const ServiceBusinessFeature: FeatureModuleSpec;
5
+ //#endregion
6
+ export { ServiceBusinessFeature };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.service-business-os",
3
- "version": "0.0.0-canary-20251217054315",
3
+ "version": "0.0.0-canary-20251217060804",
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,47 +18,47 @@
18
18
  "lint:check": "eslint src"
19
19
  },
20
20
  "dependencies": {
21
- "@lssm/lib.schema": "0.0.0-canary-20251217054315",
22
- "@lssm/lib.contracts": "0.0.0-canary-20251217054315",
23
- "@lssm/lib.bus": "0.0.0-canary-20251217054315",
24
- "@lssm/lib.identity-rbac": "0.0.0-canary-20251217054315",
25
- "@lssm/lib.files": "0.0.0-canary-20251217054315",
26
- "@lssm/lib.jobs": "0.0.0-canary-20251217054315",
27
- "@lssm/module.audit-trail": "0.0.0-canary-20251217054315",
28
- "@lssm/module.notifications": "0.0.0-canary-20251217054315",
21
+ "@lssm/lib.schema": "0.0.0-canary-20251217060804",
22
+ "@lssm/lib.contracts": "0.0.0-canary-20251217060804",
23
+ "@lssm/lib.bus": "0.0.0-canary-20251217060804",
24
+ "@lssm/lib.identity-rbac": "0.0.0-canary-20251217060804",
25
+ "@lssm/lib.files": "0.0.0-canary-20251217060804",
26
+ "@lssm/lib.jobs": "0.0.0-canary-20251217060804",
27
+ "@lssm/module.audit-trail": "0.0.0-canary-20251217060804",
28
+ "@lssm/module.notifications": "0.0.0-canary-20251217060804",
29
29
  "zod": "^4.1.13"
30
30
  },
31
31
  "devDependencies": {
32
- "@lssm/tool.typescript": "0.0.0-canary-20251217054315",
33
- "@lssm/tool.tsdown": "0.0.0-canary-20251217054315",
32
+ "@lssm/tool.typescript": "0.0.0-canary-20251217060804",
33
+ "@lssm/tool.tsdown": "0.0.0-canary-20251217060804",
34
34
  "typescript": "^5.9.3"
35
35
  },
36
36
  "exports": {
37
- ".": "./src/index.ts",
38
- "./client": "./src/client/index.ts",
39
- "./client/client.contracts": "./src/client/client.contracts.ts",
40
- "./client/client.schema": "./src/client/client.schema.ts",
41
- "./contracts": "./src/contracts/index.ts",
42
- "./docs": "./src/docs/index.ts",
43
- "./docs/service-business-os.docblock": "./src/docs/service-business-os.docblock.ts",
44
- "./entities": "./src/entities/index.ts",
45
- "./events": "./src/events.ts",
46
- "./example": "./src/example.ts",
47
- "./handlers": "./src/handlers/index.ts",
48
- "./invoice": "./src/invoice/index.ts",
49
- "./invoice/invoice.contracts": "./src/invoice/invoice.contracts.ts",
50
- "./invoice/invoice.schema": "./src/invoice/invoice.schema.ts",
51
- "./job": "./src/job/index.ts",
52
- "./job/job.contracts": "./src/job/job.contracts.ts",
53
- "./job/job.schema": "./src/job/job.schema.ts",
54
- "./payment": "./src/payment/index.ts",
55
- "./payment/payment.contracts": "./src/payment/payment.contracts.ts",
56
- "./payment/payment.schema": "./src/payment/payment.schema.ts",
57
- "./presentations": "./src/presentations.ts",
58
- "./quote": "./src/quote/index.ts",
59
- "./quote/quote.contracts": "./src/quote/quote.contracts.ts",
60
- "./quote/quote.schema": "./src/quote/quote.schema.ts",
61
- "./service.feature": "./src/service.feature.ts",
37
+ ".": "./dist/index.js",
38
+ "./client": "./dist/client/index.js",
39
+ "./client/client.contracts": "./dist/client/client.contracts.js",
40
+ "./client/client.schema": "./dist/client/client.schema.js",
41
+ "./contracts": "./dist/contracts/index.js",
42
+ "./docs": "./dist/docs/index.js",
43
+ "./docs/service-business-os.docblock": "./dist/docs/service-business-os.docblock.js",
44
+ "./entities": "./dist/entities/index.js",
45
+ "./events": "./dist/events.js",
46
+ "./example": "./dist/example.js",
47
+ "./handlers": "./dist/handlers/index.js",
48
+ "./invoice": "./dist/invoice/index.js",
49
+ "./invoice/invoice.contracts": "./dist/invoice/invoice.contracts.js",
50
+ "./invoice/invoice.schema": "./dist/invoice/invoice.schema.js",
51
+ "./job": "./dist/job/index.js",
52
+ "./job/job.contracts": "./dist/job/job.contracts.js",
53
+ "./job/job.schema": "./dist/job/job.schema.js",
54
+ "./payment": "./dist/payment/index.js",
55
+ "./payment/payment.contracts": "./dist/payment/payment.contracts.js",
56
+ "./payment/payment.schema": "./dist/payment/payment.schema.js",
57
+ "./presentations": "./dist/presentations/index.js",
58
+ "./quote": "./dist/quote/index.js",
59
+ "./quote/quote.contracts": "./dist/quote/quote.contracts.js",
60
+ "./quote/quote.schema": "./dist/quote/quote.schema.js",
61
+ "./service.feature": "./dist/service.feature.js",
62
62
  "./*": "./*"
63
63
  },
64
64
  "module": "./dist/index.js",