@contractspec/lib.contracts 1.47.0 → 1.48.1
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/docs/tech/telemetry-ingest.docblock.js +10 -0
- package/dist/examples/schema.d.ts +4 -4
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/onboarding-base.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_schema364 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_schema364.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_schema364.FieldType<string, string>;
|
|
17
17
|
isOptional: false;
|
|
18
18
|
};
|
|
19
19
|
organizationId: {
|
|
20
|
-
type:
|
|
20
|
+
type: _contractspec_lib_schema364.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_schema364.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
}>, SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema364.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
organizationId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema364.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_schema364.FieldType<string, string>;
|
|
43
43
|
isOptional: true;
|
|
44
44
|
};
|
|
45
45
|
organizationId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema364.FieldType<string, string>;
|
|
47
47
|
isOptional: true;
|
|
48
48
|
};
|
|
49
49
|
data: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema364.FieldType<unknown, unknown>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
createdAt: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema364.FieldType<Date, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
updatedAt: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema364.FieldType<Date, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
62
|
-
declare const GetOnboardingDraftBaseSpec: OperationSpec<
|
|
62
|
+
declare const GetOnboardingDraftBaseSpec: OperationSpec<_contractspec_lib_schema364.AnySchemaModel, SchemaModel<{
|
|
63
63
|
id: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema364.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
};
|
|
67
67
|
organizationId: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema364.FieldType<string, string>;
|
|
69
69
|
isOptional: true;
|
|
70
70
|
};
|
|
71
71
|
data: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema364.FieldType<unknown, unknown>;
|
|
73
73
|
isOptional: true;
|
|
74
74
|
};
|
|
75
75
|
createdAt: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema364.FieldType<Date, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
79
|
updatedAt: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema364.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_schema364.FieldType<boolean, boolean>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
}>;
|
|
91
|
-
declare const DeleteOnboardingDraftBaseSpec: OperationSpec<
|
|
91
|
+
declare const DeleteOnboardingDraftBaseSpec: OperationSpec<_contractspec_lib_schema364.AnySchemaModel, SchemaModel<{
|
|
92
92
|
ok: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema364.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_schema364.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_schema364.FieldType<boolean, boolean>;
|
|
107
107
|
isOptional: false;
|
|
108
108
|
};
|
|
109
109
|
userId: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema364.FieldType<string, string>;
|
|
111
111
|
isOptional: true;
|
|
112
112
|
};
|
|
113
113
|
organizationId: {
|
|
114
|
-
type:
|
|
114
|
+
type: _contractspec_lib_schema364.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_schema364.FieldType<unknown, unknown>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
}>, SchemaModel<{
|
|
124
124
|
success: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema364.FieldType<boolean, boolean>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
userId: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema364.FieldType<string, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
organizationId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema364.FieldType<string, string>;
|
|
134
134
|
isOptional: true;
|
|
135
135
|
};
|
|
136
136
|
}>, undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.contracts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.1",
|
|
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": "1.
|
|
29
|
-
"@contractspec/tool.typescript": "1.
|
|
28
|
+
"@contractspec/tool.tsdown": "1.48.0",
|
|
29
|
+
"@contractspec/tool.typescript": "1.48.0",
|
|
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": "1.
|
|
39
|
-
"@contractspec/lib.schema": "1.
|
|
38
|
+
"@contractspec/lib.logger": "1.48.0",
|
|
39
|
+
"@contractspec/lib.schema": "1.48.0",
|
|
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",
|