@lssm/example.service-business-os 1.42.3 → 1.42.4
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 +16 -16
- package/dist/client/client.schema.d.ts +16 -16
- package/package.json +11 -11
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema125 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts11 from "@lssm/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: _lssm_lib_contracts11.OperationSpec<
|
|
8
|
+
declare const CreateClientContract: _lssm_lib_contracts11.OperationSpec<_lssm_lib_schema125.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
contactEmail: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
phone: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
orgId: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
ownerId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
metadata: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema125.FieldType<unknown, unknown>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema125.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
name: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
contactEmail: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
phone: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
orgId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
ownerId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema125.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
createdAt: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema125.FieldType<Date, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
}>, undefined>;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema110 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/client/client.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Client profile.
|
|
6
6
|
*/
|
|
7
|
-
declare const ClientModel:
|
|
7
|
+
declare const ClientModel: _lssm_lib_schema110.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
contactEmail: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
phone: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
orgId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
ownerId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
createdAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema110.FieldType<Date, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
37
|
/**
|
|
38
38
|
* Input for creating a client.
|
|
39
39
|
*/
|
|
40
|
-
declare const CreateClientInputModel:
|
|
40
|
+
declare const CreateClientInputModel: _lssm_lib_schema110.SchemaModel<{
|
|
41
41
|
name: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
contactEmail: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
47
47
|
isOptional: true;
|
|
48
48
|
};
|
|
49
49
|
phone: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
orgId: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
ownerId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema110.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
metadata: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema110.FieldType<unknown, unknown>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.service-business-os",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.4",
|
|
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
|
-
"@lssm/lib.schema": "1.42.
|
|
22
|
-
"@lssm/lib.contracts": "1.42.
|
|
23
|
-
"@lssm/lib.bus": "1.42.
|
|
24
|
-
"@lssm/lib.identity-rbac": "1.42.
|
|
25
|
-
"@lssm/lib.files": "1.42.
|
|
26
|
-
"@lssm/lib.jobs": "1.42.
|
|
27
|
-
"@lssm/module.audit-trail": "1.42.
|
|
28
|
-
"@lssm/module.notifications": "1.42.
|
|
21
|
+
"@lssm/lib.schema": "1.42.4",
|
|
22
|
+
"@lssm/lib.contracts": "1.42.4",
|
|
23
|
+
"@lssm/lib.bus": "1.42.4",
|
|
24
|
+
"@lssm/lib.identity-rbac": "1.42.4",
|
|
25
|
+
"@lssm/lib.files": "1.42.4",
|
|
26
|
+
"@lssm/lib.jobs": "1.42.4",
|
|
27
|
+
"@lssm/module.audit-trail": "1.42.4",
|
|
28
|
+
"@lssm/module.notifications": "1.42.4",
|
|
29
29
|
"zod": "^4.1.13"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@lssm/tool.typescript": "1.42.
|
|
33
|
-
"@lssm/tool.tsdown": "1.42.
|
|
32
|
+
"@lssm/tool.typescript": "1.42.4",
|
|
33
|
+
"@lssm/tool.tsdown": "1.42.4",
|
|
34
34
|
"typescript": "^5.9.3"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|