@contractspec/lib.contracts 0.0.0-canary-20260113162409 → 0.0.0-canary-20260113170453
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/app-config/contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/examples/schema.d.ts +11 -11
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/workspace-config/contractsrc-schema.d.ts +29 -29
- package/package.json +5 -5
|
@@ -1,136 +1,136 @@
|
|
|
1
1
|
import { OperationSpec } from "./operations/operation.js";
|
|
2
2
|
import "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema52 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/onboarding-base.d.ts
|
|
7
7
|
/** Save/update onboarding draft (auto-save during flow) */
|
|
8
8
|
declare const SaveOnboardingDraftInput: SchemaModel<{
|
|
9
9
|
data: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema52.FieldType<unknown, unknown>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
}>;
|
|
14
14
|
declare const SaveOnboardingDraftOutput: SchemaModel<{
|
|
15
15
|
id: {
|
|
16
|
-
type:
|
|
16
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
17
17
|
isOptional: false;
|
|
18
18
|
};
|
|
19
19
|
organizationId: {
|
|
20
|
-
type:
|
|
20
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
21
21
|
isOptional: false;
|
|
22
22
|
};
|
|
23
23
|
}>;
|
|
24
24
|
declare const SaveOnboardingDraftBaseSpec: OperationSpec<SchemaModel<{
|
|
25
25
|
data: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema52.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
}>, SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
organizationId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>, undefined>;
|
|
39
39
|
/** Get current onboarding draft (on mount/restore) */
|
|
40
40
|
declare const GetOnboardingDraftOutput: SchemaModel<{
|
|
41
41
|
id: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
43
43
|
isOptional: true;
|
|
44
44
|
};
|
|
45
45
|
organizationId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
47
47
|
isOptional: true;
|
|
48
48
|
};
|
|
49
49
|
data: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema52.FieldType<unknown, unknown>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
createdAt: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema52.FieldType<Date, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
updatedAt: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema52.FieldType<Date, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
62
|
-
declare const GetOnboardingDraftBaseSpec: OperationSpec<
|
|
62
|
+
declare const GetOnboardingDraftBaseSpec: OperationSpec<_contractspec_lib_schema52.AnySchemaModel, SchemaModel<{
|
|
63
63
|
id: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
};
|
|
67
67
|
organizationId: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
69
69
|
isOptional: true;
|
|
70
70
|
};
|
|
71
71
|
data: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema52.FieldType<unknown, unknown>;
|
|
73
73
|
isOptional: true;
|
|
74
74
|
};
|
|
75
75
|
createdAt: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema52.FieldType<Date, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
79
|
updatedAt: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema52.FieldType<Date, string>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
}>, undefined>;
|
|
84
84
|
/** Delete onboarding draft (cleanup after completion or cancel) */
|
|
85
85
|
declare const DeleteOnboardingDraftOutput: SchemaModel<{
|
|
86
86
|
ok: {
|
|
87
|
-
type:
|
|
87
|
+
type: _contractspec_lib_schema52.FieldType<boolean, boolean>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
}>;
|
|
91
|
-
declare const DeleteOnboardingDraftBaseSpec: OperationSpec<
|
|
91
|
+
declare const DeleteOnboardingDraftBaseSpec: OperationSpec<_contractspec_lib_schema52.AnySchemaModel, SchemaModel<{
|
|
92
92
|
ok: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema52.FieldType<boolean, boolean>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
}>, undefined>;
|
|
97
97
|
/** Complete onboarding (final submit, creates entities) */
|
|
98
98
|
declare const CompleteOnboardingBaseInput: SchemaModel<{
|
|
99
99
|
data: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema52.FieldType<unknown, unknown>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
104
104
|
declare const CompleteOnboardingBaseOutput: SchemaModel<{
|
|
105
105
|
success: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema52.FieldType<boolean, boolean>;
|
|
107
107
|
isOptional: false;
|
|
108
108
|
};
|
|
109
109
|
userId: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
111
111
|
isOptional: true;
|
|
112
112
|
};
|
|
113
113
|
organizationId: {
|
|
114
|
-
type:
|
|
114
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
115
115
|
isOptional: true;
|
|
116
116
|
};
|
|
117
117
|
}>;
|
|
118
118
|
declare const CompleteOnboardingBaseSpec: OperationSpec<SchemaModel<{
|
|
119
119
|
data: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema52.FieldType<unknown, unknown>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
}>, SchemaModel<{
|
|
124
124
|
success: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema52.FieldType<boolean, boolean>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
userId: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
organizationId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema52.FieldType<string, string>;
|
|
134
134
|
isOptional: true;
|
|
135
135
|
};
|
|
136
136
|
}>, undefined>;
|
|
@@ -35,9 +35,9 @@ declare const OpenApiSourceConfigSchema: z$2.ZodObject<{
|
|
|
35
35
|
stable: "stable";
|
|
36
36
|
}>>;
|
|
37
37
|
defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
|
|
38
|
-
user: "user";
|
|
39
|
-
anonymous: "anonymous";
|
|
40
38
|
admin: "admin";
|
|
39
|
+
anonymous: "anonymous";
|
|
40
|
+
user: "user";
|
|
41
41
|
}>>;
|
|
42
42
|
defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
43
43
|
schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
|
|
@@ -85,9 +85,9 @@ declare const OpenApiConfigSchema: z$2.ZodObject<{
|
|
|
85
85
|
stable: "stable";
|
|
86
86
|
}>>;
|
|
87
87
|
defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
|
|
88
|
-
user: "user";
|
|
89
|
-
anonymous: "anonymous";
|
|
90
88
|
admin: "admin";
|
|
89
|
+
anonymous: "anonymous";
|
|
90
|
+
user: "user";
|
|
91
91
|
}>>;
|
|
92
92
|
defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
93
93
|
schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
|
|
@@ -313,8 +313,8 @@ declare const ChangelogFormatSchema: z$2.ZodEnum<{
|
|
|
313
313
|
* Changelog tier configuration.
|
|
314
314
|
*/
|
|
315
315
|
declare const ChangelogTierSchema: z$2.ZodEnum<{
|
|
316
|
-
library: "library";
|
|
317
316
|
spec: "spec";
|
|
317
|
+
library: "library";
|
|
318
318
|
monorepo: "monorepo";
|
|
319
319
|
}>;
|
|
320
320
|
/**
|
|
@@ -328,8 +328,8 @@ declare const VersioningConfigSchema: z$2.ZodObject<{
|
|
|
328
328
|
}>>;
|
|
329
329
|
integrateWithChangesets: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
330
330
|
changelogTiers: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
|
|
331
|
-
library: "library";
|
|
332
331
|
spec: "spec";
|
|
332
|
+
library: "library";
|
|
333
333
|
monorepo: "monorepo";
|
|
334
334
|
}>>>;
|
|
335
335
|
format: z$2.ZodDefault<z$2.ZodEnum<{
|
|
@@ -437,13 +437,13 @@ declare const RuleSeveritySchema: z$2.ZodEnum<{
|
|
|
437
437
|
*/
|
|
438
438
|
declare const SpecKindSchema: z$2.ZodEnum<{
|
|
439
439
|
telemetry: "telemetry";
|
|
440
|
-
"data-view": "data-view";
|
|
441
|
-
workflow: "workflow";
|
|
442
|
-
operation: "operation";
|
|
443
|
-
feature: "feature";
|
|
444
440
|
"app-config": "app-config";
|
|
441
|
+
operation: "operation";
|
|
442
|
+
"data-view": "data-view";
|
|
445
443
|
event: "event";
|
|
446
444
|
presentation: "presentation";
|
|
445
|
+
feature: "feature";
|
|
446
|
+
workflow: "workflow";
|
|
447
447
|
migration: "migration";
|
|
448
448
|
experiment: "experiment";
|
|
449
449
|
}>;
|
|
@@ -546,13 +546,13 @@ declare const TestingConfigSchema: z$2.ZodObject<{
|
|
|
546
546
|
integrity: z$2.ZodOptional<z$2.ZodObject<{
|
|
547
547
|
requireTestsFor: z$2.ZodOptional<z$2.ZodArray<z$2.ZodEnum<{
|
|
548
548
|
telemetry: "telemetry";
|
|
549
|
-
"data-view": "data-view";
|
|
550
|
-
workflow: "workflow";
|
|
551
|
-
operation: "operation";
|
|
552
|
-
feature: "feature";
|
|
553
549
|
"app-config": "app-config";
|
|
550
|
+
operation: "operation";
|
|
551
|
+
"data-view": "data-view";
|
|
554
552
|
event: "event";
|
|
555
553
|
presentation: "presentation";
|
|
554
|
+
feature: "feature";
|
|
555
|
+
workflow: "workflow";
|
|
556
556
|
migration: "migration";
|
|
557
557
|
experiment: "experiment";
|
|
558
558
|
}>>>;
|
|
@@ -635,13 +635,13 @@ declare const RulesConfigSchema: z$2.ZodObject<{
|
|
|
635
635
|
}, z$2.core.$strip>>;
|
|
636
636
|
overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
|
|
637
637
|
telemetry: "telemetry";
|
|
638
|
-
"data-view": "data-view";
|
|
639
|
-
workflow: "workflow";
|
|
640
|
-
operation: "operation";
|
|
641
|
-
feature: "feature";
|
|
642
638
|
"app-config": "app-config";
|
|
639
|
+
operation: "operation";
|
|
640
|
+
"data-view": "data-view";
|
|
643
641
|
event: "event";
|
|
644
642
|
presentation: "presentation";
|
|
643
|
+
feature: "feature";
|
|
644
|
+
workflow: "workflow";
|
|
645
645
|
migration: "migration";
|
|
646
646
|
experiment: "experiment";
|
|
647
647
|
}>, z$2.ZodObject<{
|
|
@@ -807,9 +807,9 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
807
807
|
stable: "stable";
|
|
808
808
|
}>>;
|
|
809
809
|
defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
|
|
810
|
-
user: "user";
|
|
811
|
-
anonymous: "anonymous";
|
|
812
810
|
admin: "admin";
|
|
811
|
+
anonymous: "anonymous";
|
|
812
|
+
user: "user";
|
|
813
813
|
}>>;
|
|
814
814
|
defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
815
815
|
schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
|
|
@@ -934,13 +934,13 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
934
934
|
}, z$2.core.$strip>>;
|
|
935
935
|
overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
|
|
936
936
|
telemetry: "telemetry";
|
|
937
|
-
"data-view": "data-view";
|
|
938
|
-
workflow: "workflow";
|
|
939
|
-
operation: "operation";
|
|
940
|
-
feature: "feature";
|
|
941
937
|
"app-config": "app-config";
|
|
938
|
+
operation: "operation";
|
|
939
|
+
"data-view": "data-view";
|
|
942
940
|
event: "event";
|
|
943
941
|
presentation: "presentation";
|
|
942
|
+
feature: "feature";
|
|
943
|
+
workflow: "workflow";
|
|
944
944
|
migration: "migration";
|
|
945
945
|
experiment: "experiment";
|
|
946
946
|
}>, z$2.ZodObject<{
|
|
@@ -1018,13 +1018,13 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
1018
1018
|
integrity: z$2.ZodOptional<z$2.ZodObject<{
|
|
1019
1019
|
requireTestsFor: z$2.ZodOptional<z$2.ZodArray<z$2.ZodEnum<{
|
|
1020
1020
|
telemetry: "telemetry";
|
|
1021
|
-
"data-view": "data-view";
|
|
1022
|
-
workflow: "workflow";
|
|
1023
|
-
operation: "operation";
|
|
1024
|
-
feature: "feature";
|
|
1025
1021
|
"app-config": "app-config";
|
|
1022
|
+
operation: "operation";
|
|
1023
|
+
"data-view": "data-view";
|
|
1026
1024
|
event: "event";
|
|
1027
1025
|
presentation: "presentation";
|
|
1026
|
+
feature: "feature";
|
|
1027
|
+
workflow: "workflow";
|
|
1028
1028
|
migration: "migration";
|
|
1029
1029
|
experiment: "experiment";
|
|
1030
1030
|
}>>>;
|
|
@@ -1067,8 +1067,8 @@ declare const ContractsrcSchema: z$2.ZodObject<{
|
|
|
1067
1067
|
}>>;
|
|
1068
1068
|
integrateWithChangesets: z$2.ZodDefault<z$2.ZodBoolean>;
|
|
1069
1069
|
changelogTiers: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
|
|
1070
|
-
library: "library";
|
|
1071
1070
|
spec: "spec";
|
|
1071
|
+
library: "library";
|
|
1072
1072
|
monorepo: "monorepo";
|
|
1073
1073
|
}>>>;
|
|
1074
1074
|
format: z$2.ZodDefault<z$2.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.contracts",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260113170453",
|
|
4
4
|
"description": "Core contract specification definitions and runtime",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"test": "bun test"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@contractspec/tool.tsdown": "0.0.0-canary-
|
|
29
|
-
"@contractspec/tool.typescript": "0.0.0-canary-
|
|
28
|
+
"@contractspec/tool.tsdown": "0.0.0-canary-20260113170453",
|
|
29
|
+
"@contractspec/tool.typescript": "0.0.0-canary-20260113170453",
|
|
30
30
|
"@types/express": "^5.0.3",
|
|
31
31
|
"@types/turndown": "^5.0.6",
|
|
32
32
|
"tsdown": "^0.19.0",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@aws-sdk/client-secrets-manager": "^3.966.0",
|
|
37
37
|
"@aws-sdk/client-sqs": "^3.966.0",
|
|
38
|
-
"@contractspec/lib.logger": "0.0.0-canary-
|
|
39
|
-
"@contractspec/lib.schema": "0.0.0-canary-
|
|
38
|
+
"@contractspec/lib.logger": "0.0.0-canary-20260113170453",
|
|
39
|
+
"@contractspec/lib.schema": "0.0.0-canary-20260113170453",
|
|
40
40
|
"@elevenlabs/elevenlabs-js": "^2.30.0",
|
|
41
41
|
"@google-cloud/secret-manager": "^6.1.1",
|
|
42
42
|
"@google-cloud/storage": "^7.18.0",
|