@contractspec/lib.contracts 0.0.0-canary-20260119225944 → 0.0.0-canary-20260202053150
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 → app-config.contracts.d.ts} +52 -52
- package/dist/app-config/{contracts.js → app-config.contracts.js} +1 -1
- package/dist/app-config/lifecycle-contracts.d.ts +55 -55
- package/dist/app-config/runtime.d.ts +4 -4
- package/dist/app-config/spec.d.ts +2 -2
- package/dist/capabilities/capabilities.d.ts +64 -5
- package/dist/capabilities/capabilities.js +125 -0
- package/dist/capabilities/context.d.ts +88 -0
- package/dist/capabilities/context.js +87 -0
- package/dist/capabilities/docs/capabilities.docblock.js +191 -2
- package/dist/capabilities/guards.d.ts +110 -0
- package/dist/capabilities/guards.js +146 -0
- package/dist/capabilities/index.d.ts +4 -1
- package/dist/capabilities/index.js +4 -1
- package/dist/capabilities/validation.d.ts +76 -0
- package/dist/capabilities/validation.js +141 -0
- package/dist/client/react/feature-render.d.ts +2 -2
- package/dist/data-views/data-views.d.ts +2 -1
- package/dist/data-views/index.d.ts +2 -1
- package/dist/data-views/registry.d.ts +1 -1
- package/dist/data-views/report/contractVerificationTable.d.ts +10 -0
- package/dist/data-views/report/contractVerificationTable.js +95 -0
- package/dist/data-views/runtime.d.ts +2 -2
- package/dist/data-views/spec.d.ts +2 -8
- package/dist/data-views/types.d.ts +1 -1
- package/dist/docs/capabilities/documentationSystem.capability.d.ts +7 -0
- package/dist/docs/capabilities/documentationSystem.capability.js +71 -0
- package/dist/docs/capabilities/index.d.ts +2 -0
- package/dist/docs/capabilities/index.js +3 -0
- package/dist/docs/commands/docsGenerate.command.d.ts +95 -0
- package/dist/docs/commands/docsGenerate.command.js +142 -0
- package/dist/docs/commands/docsPublish.command.d.ts +64 -0
- package/dist/docs/commands/docsPublish.command.js +107 -0
- package/dist/docs/commands/index.d.ts +3 -0
- package/dist/docs/commands/index.js +4 -0
- package/dist/docs/constants.d.ts +7 -0
- package/dist/docs/constants.js +10 -0
- package/dist/docs/contracts.d.ts +442 -0
- package/dist/docs/contracts.js +58 -0
- package/dist/docs/ensure-docblocks.d.ts +1 -0
- package/dist/docs/ensure-docblocks.js +1 -0
- package/dist/docs/events/docsGenerated.event.d.ts +62 -0
- package/dist/docs/events/docsGenerated.event.js +53 -0
- package/dist/docs/events/docsPublished.event.d.ts +70 -0
- package/dist/docs/events/docsPublished.event.js +57 -0
- package/dist/docs/events/index.d.ts +3 -0
- package/dist/docs/events/index.js +4 -0
- package/dist/docs/forms/docsSearch.form.d.ts +22 -0
- package/dist/docs/forms/docsSearch.form.js +113 -0
- package/dist/docs/forms/index.d.ts +2 -0
- package/dist/docs/forms/index.js +3 -0
- package/dist/docs/index.d.ts +23 -2
- package/dist/docs/index.js +25 -1
- package/dist/docs/presentations/docsLayout.presentation.d.ts +7 -0
- package/dist/docs/presentations/docsLayout.presentation.js +35 -0
- package/dist/docs/presentations/docsReferencePage.presentation.d.ts +7 -0
- package/dist/docs/presentations/docsReferencePage.presentation.js +35 -0
- package/dist/docs/presentations/index.d.ts +3 -0
- package/dist/docs/presentations/index.js +4 -0
- package/dist/docs/queries/contractReference.query.d.ts +217 -0
- package/dist/docs/queries/contractReference.query.js +125 -0
- package/dist/docs/queries/docsIndex.query.d.ts +272 -0
- package/dist/docs/queries/docsIndex.query.js +133 -0
- package/dist/docs/queries/index.d.ts +3 -0
- package/dist/docs/queries/index.js +4 -0
- package/dist/docs/tech/cli.docblock.js +10 -0
- package/dist/docs/tech/docs-system.docblock.d.ts +1 -0
- package/dist/docs/tech/docs-system.docblock.js +128 -0
- package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
- package/dist/docs/tech/report-verification-table.docblock.js +50 -0
- package/dist/docs/views/contractReference.dataView.d.ts +7 -0
- package/dist/docs/views/contractReference.dataView.js +80 -0
- package/dist/docs/views/docsIndex.dataView.d.ts +7 -0
- package/dist/docs/views/docsIndex.dataView.js +136 -0
- package/dist/docs/views/exampleCatalog.dataView.d.ts +7 -0
- package/dist/docs/views/exampleCatalog.dataView.js +91 -0
- package/dist/docs/views/index.d.ts +4 -0
- package/dist/docs/views/index.js +5 -0
- package/dist/events.d.ts +80 -14
- package/dist/events.js +33 -3
- package/dist/examples/schema.d.ts +12 -12
- package/dist/examples/types.d.ts +1 -1
- package/dist/experiments/spec.d.ts +9 -6
- package/dist/features/index.d.ts +2 -2
- package/dist/features/install.d.ts +4 -4
- package/dist/features/types.d.ts +28 -32
- package/dist/forms/forms.d.ts +1 -1
- package/dist/index.d.ts +60 -31
- package/dist/index.js +32 -4
- package/dist/install.d.ts +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +67 -67
- package/dist/integrations/openbanking/contracts/balances.d.ts +35 -35
- package/dist/integrations/openbanking/contracts/transactions.d.ts +49 -49
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +103 -103
- package/dist/integrations/spec.d.ts +2 -2
- package/dist/jsonschema.d.ts +1 -1
- package/dist/knowledge/operations.d.ts +67 -67
- package/dist/knowledge/spec.d.ts +1 -1
- package/dist/llm/exporters.d.ts +4 -4
- package/dist/llm/types.d.ts +1 -1
- package/dist/markdown.d.ts +2 -2
- package/dist/operations/index.d.ts +4 -1
- package/dist/operations/index.js +4 -1
- package/dist/operations/operation.d.ts +8 -2
- package/dist/operations/registry.d.ts +1 -1
- package/dist/operations/report/getContractVerificationStatus.d.ts +75 -0
- package/dist/operations/report/getContractVerificationStatus.js +96 -0
- package/dist/operations/report/index.d.ts +13 -0
- package/dist/operations/report/index.js +45 -0
- package/dist/ownership.d.ts +133 -8
- package/dist/ownership.js +25 -0
- package/dist/policy/context.d.ts +237 -0
- package/dist/policy/context.js +227 -0
- package/dist/policy/guards.d.ts +145 -0
- package/dist/policy/guards.js +254 -0
- package/dist/policy/index.d.ts +12 -1
- package/dist/policy/index.js +11 -1
- package/dist/policy/spec.d.ts +7 -4
- package/dist/policy/validation.d.ts +67 -0
- package/dist/policy/validation.js +307 -0
- package/dist/presentations/presentations.d.ts +6 -0
- package/dist/presentations/registry.d.ts +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/serialization/index.d.ts +3 -0
- package/dist/serialization/index.js +3 -0
- package/dist/serialization/serializers.d.ts +40 -0
- package/dist/serialization/serializers.js +148 -0
- package/dist/serialization/types.d.ts +103 -0
- package/dist/serialization/types.js +0 -0
- package/dist/server/rest-elysia.d.ts +1 -1
- package/dist/server/rest-express.d.ts +1 -1
- package/dist/server/rest-generic.d.ts +1 -1
- package/dist/server/rest-next-app.d.ts +1 -1
- package/dist/server/rest-next-mcp.d.ts +1 -1
- package/dist/server/rest-next-pages.d.ts +1 -1
- package/dist/telemetry/spec.d.ts +1 -1
- package/dist/telemetry/tracker.d.ts +3 -2
- package/dist/tests/runner.d.ts +1 -1
- package/dist/tests/spec.d.ts +17 -12
- package/dist/themes.d.ts +8 -5
- package/dist/translations/index.d.ts +6 -0
- package/dist/translations/index.js +5 -0
- package/dist/translations/registry.d.ts +144 -0
- package/dist/translations/registry.js +223 -0
- package/dist/translations/spec.d.ts +126 -0
- package/dist/translations/spec.js +31 -0
- package/dist/translations/validation.d.ts +85 -0
- package/dist/translations/validation.js +328 -0
- package/dist/types.d.ts +142 -16
- package/dist/versioning/index.d.ts +2 -1
- package/dist/versioning/index.js +2 -1
- package/dist/versioning/refs.d.ts +179 -0
- package/dist/versioning/refs.js +161 -0
- package/dist/workflow/context.d.ts +191 -0
- package/dist/workflow/context.js +227 -0
- package/dist/workflow/index.d.ts +6 -3
- package/dist/workflow/index.js +4 -2
- package/dist/workflow/spec.d.ts +4 -11
- package/dist/workflow/validation.d.ts +64 -2
- package/dist/workflow/validation.js +194 -1
- package/dist/workspace-config/contractsrc-schema.d.ts +3 -3
- package/dist/workspace-config/contractsrc-schema.js +1 -0
- package/dist/workspace-config/contractsrc-types.d.ts +7 -8
- package/dist/workspace-config/index.d.ts +2 -2
- package/package.json +52 -9
|
@@ -1,402 +1,402 @@
|
|
|
1
1
|
import { AnyOperationSpec, OperationSpec } from "../operations/operation.js";
|
|
2
|
-
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
3
2
|
import "../operations/index.js";
|
|
3
|
+
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
4
4
|
import "../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _contractspec_lib_schema155 from "@contractspec/lib.schema";
|
|
6
6
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
7
7
|
|
|
8
8
|
//#region src/integrations/operations.d.ts
|
|
9
9
|
declare const CreateIntegrationConnection: OperationSpec<SchemaModel<{
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
integrationKey: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
integrationVersion: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
label: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
ownershipMode: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
externalAccountId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
secretProvider: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
secretRef: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
environment: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
config: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema155.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
}>, SchemaModel<{
|
|
51
51
|
id: {
|
|
52
|
-
type:
|
|
52
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
53
53
|
isOptional: false;
|
|
54
54
|
};
|
|
55
55
|
tenantId: {
|
|
56
|
-
type:
|
|
56
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
integrationKey: {
|
|
60
|
-
type:
|
|
60
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
integrationVersion: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
label: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
ownershipMode: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
externalAccountId: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
79
|
secretProvider: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
secretRef: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
status: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
environment: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
healthStatus: {
|
|
96
|
-
type:
|
|
96
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
healthCheckedAt: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
healthLatencyMs: {
|
|
104
|
-
type:
|
|
104
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
105
105
|
isOptional: true;
|
|
106
106
|
};
|
|
107
107
|
healthErrorCode: {
|
|
108
|
-
type:
|
|
108
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
healthErrorMessage: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
usageRequestCount: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
117
117
|
isOptional: true;
|
|
118
118
|
};
|
|
119
119
|
usageSuccessCount: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
usageErrorCount: {
|
|
124
|
-
type:
|
|
124
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
usageLastUsedAt: {
|
|
128
|
-
type:
|
|
128
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
usageLastErrorAt: {
|
|
132
|
-
type:
|
|
132
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
usageLastErrorCode: {
|
|
136
|
-
type:
|
|
136
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
137
137
|
isOptional: true;
|
|
138
138
|
};
|
|
139
139
|
createdAt: {
|
|
140
|
-
type:
|
|
140
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
141
141
|
isOptional: true;
|
|
142
142
|
};
|
|
143
143
|
updatedAt: {
|
|
144
|
-
type:
|
|
144
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
145
145
|
isOptional: true;
|
|
146
146
|
};
|
|
147
147
|
}>, undefined>;
|
|
148
148
|
declare const UpdateIntegrationConnection: OperationSpec<SchemaModel<{
|
|
149
149
|
connectionId: {
|
|
150
|
-
type:
|
|
150
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
label: {
|
|
154
|
-
type:
|
|
154
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
status: {
|
|
158
|
-
type:
|
|
158
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
159
159
|
isOptional: true;
|
|
160
160
|
};
|
|
161
161
|
ownershipMode: {
|
|
162
|
-
type:
|
|
162
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
163
163
|
isOptional: true;
|
|
164
164
|
};
|
|
165
165
|
externalAccountId: {
|
|
166
|
-
type:
|
|
166
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
167
167
|
isOptional: true;
|
|
168
168
|
};
|
|
169
169
|
secretProvider: {
|
|
170
|
-
type:
|
|
170
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
171
171
|
isOptional: true;
|
|
172
172
|
};
|
|
173
173
|
secretRef: {
|
|
174
|
-
type:
|
|
174
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
175
175
|
isOptional: true;
|
|
176
176
|
};
|
|
177
177
|
config: {
|
|
178
|
-
type:
|
|
178
|
+
type: _contractspec_lib_schema155.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
}>, SchemaModel<{
|
|
182
182
|
id: {
|
|
183
|
-
type:
|
|
183
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
184
184
|
isOptional: false;
|
|
185
185
|
};
|
|
186
186
|
tenantId: {
|
|
187
|
-
type:
|
|
187
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
integrationKey: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
integrationVersion: {
|
|
195
|
-
type:
|
|
195
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
label: {
|
|
199
|
-
type:
|
|
199
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
200
200
|
isOptional: false;
|
|
201
201
|
};
|
|
202
202
|
ownershipMode: {
|
|
203
|
-
type:
|
|
203
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
204
204
|
isOptional: false;
|
|
205
205
|
};
|
|
206
206
|
externalAccountId: {
|
|
207
|
-
type:
|
|
207
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
210
|
secretProvider: {
|
|
211
|
-
type:
|
|
211
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
secretRef: {
|
|
215
|
-
type:
|
|
215
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
status: {
|
|
219
|
-
type:
|
|
219
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
environment: {
|
|
223
|
-
type:
|
|
223
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
224
224
|
isOptional: true;
|
|
225
225
|
};
|
|
226
226
|
healthStatus: {
|
|
227
|
-
type:
|
|
227
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
228
228
|
isOptional: true;
|
|
229
229
|
};
|
|
230
230
|
healthCheckedAt: {
|
|
231
|
-
type:
|
|
231
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
232
232
|
isOptional: true;
|
|
233
233
|
};
|
|
234
234
|
healthLatencyMs: {
|
|
235
|
-
type:
|
|
235
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
236
236
|
isOptional: true;
|
|
237
237
|
};
|
|
238
238
|
healthErrorCode: {
|
|
239
|
-
type:
|
|
239
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
240
240
|
isOptional: true;
|
|
241
241
|
};
|
|
242
242
|
healthErrorMessage: {
|
|
243
|
-
type:
|
|
243
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
244
244
|
isOptional: true;
|
|
245
245
|
};
|
|
246
246
|
usageRequestCount: {
|
|
247
|
-
type:
|
|
247
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
248
248
|
isOptional: true;
|
|
249
249
|
};
|
|
250
250
|
usageSuccessCount: {
|
|
251
|
-
type:
|
|
251
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
252
252
|
isOptional: true;
|
|
253
253
|
};
|
|
254
254
|
usageErrorCount: {
|
|
255
|
-
type:
|
|
255
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
256
256
|
isOptional: true;
|
|
257
257
|
};
|
|
258
258
|
usageLastUsedAt: {
|
|
259
|
-
type:
|
|
259
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
260
260
|
isOptional: true;
|
|
261
261
|
};
|
|
262
262
|
usageLastErrorAt: {
|
|
263
|
-
type:
|
|
263
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
264
264
|
isOptional: true;
|
|
265
265
|
};
|
|
266
266
|
usageLastErrorCode: {
|
|
267
|
-
type:
|
|
267
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
268
268
|
isOptional: true;
|
|
269
269
|
};
|
|
270
270
|
createdAt: {
|
|
271
|
-
type:
|
|
271
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
272
272
|
isOptional: true;
|
|
273
273
|
};
|
|
274
274
|
updatedAt: {
|
|
275
|
-
type:
|
|
275
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
276
276
|
isOptional: true;
|
|
277
277
|
};
|
|
278
278
|
}>, undefined>;
|
|
279
279
|
declare const DeleteIntegrationConnection: OperationSpec<SchemaModel<{
|
|
280
280
|
connectionId: {
|
|
281
|
-
type:
|
|
281
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
282
282
|
isOptional: false;
|
|
283
283
|
};
|
|
284
284
|
}>, SchemaModel<{
|
|
285
285
|
success: {
|
|
286
|
-
type:
|
|
286
|
+
type: _contractspec_lib_schema155.FieldType<boolean, boolean>;
|
|
287
287
|
isOptional: false;
|
|
288
288
|
};
|
|
289
289
|
}>, undefined>;
|
|
290
290
|
declare const ListIntegrationConnections: OperationSpec<SchemaModel<{
|
|
291
291
|
tenantId: {
|
|
292
|
-
type:
|
|
292
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
293
293
|
isOptional: false;
|
|
294
294
|
};
|
|
295
295
|
category: {
|
|
296
|
-
type:
|
|
296
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
297
297
|
isOptional: true;
|
|
298
298
|
};
|
|
299
299
|
status: {
|
|
300
|
-
type:
|
|
300
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
301
301
|
isOptional: true;
|
|
302
302
|
};
|
|
303
303
|
}>, SchemaModel<{
|
|
304
304
|
connections: {
|
|
305
305
|
type: SchemaModel<{
|
|
306
306
|
id: {
|
|
307
|
-
type:
|
|
307
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
308
308
|
isOptional: false;
|
|
309
309
|
};
|
|
310
310
|
tenantId: {
|
|
311
|
-
type:
|
|
311
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
312
312
|
isOptional: false;
|
|
313
313
|
};
|
|
314
314
|
integrationKey: {
|
|
315
|
-
type:
|
|
315
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
316
316
|
isOptional: false;
|
|
317
317
|
};
|
|
318
318
|
integrationVersion: {
|
|
319
|
-
type:
|
|
319
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
label: {
|
|
323
|
-
type:
|
|
323
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
324
324
|
isOptional: false;
|
|
325
325
|
};
|
|
326
326
|
ownershipMode: {
|
|
327
|
-
type:
|
|
327
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
328
328
|
isOptional: false;
|
|
329
329
|
};
|
|
330
330
|
externalAccountId: {
|
|
331
|
-
type:
|
|
331
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
332
332
|
isOptional: true;
|
|
333
333
|
};
|
|
334
334
|
secretProvider: {
|
|
335
|
-
type:
|
|
335
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
336
336
|
isOptional: false;
|
|
337
337
|
};
|
|
338
338
|
secretRef: {
|
|
339
|
-
type:
|
|
339
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
340
340
|
isOptional: false;
|
|
341
341
|
};
|
|
342
342
|
status: {
|
|
343
|
-
type:
|
|
343
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
344
344
|
isOptional: false;
|
|
345
345
|
};
|
|
346
346
|
environment: {
|
|
347
|
-
type:
|
|
347
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
348
348
|
isOptional: true;
|
|
349
349
|
};
|
|
350
350
|
healthStatus: {
|
|
351
|
-
type:
|
|
351
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
352
352
|
isOptional: true;
|
|
353
353
|
};
|
|
354
354
|
healthCheckedAt: {
|
|
355
|
-
type:
|
|
355
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
356
356
|
isOptional: true;
|
|
357
357
|
};
|
|
358
358
|
healthLatencyMs: {
|
|
359
|
-
type:
|
|
359
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
360
360
|
isOptional: true;
|
|
361
361
|
};
|
|
362
362
|
healthErrorCode: {
|
|
363
|
-
type:
|
|
363
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
364
364
|
isOptional: true;
|
|
365
365
|
};
|
|
366
366
|
healthErrorMessage: {
|
|
367
|
-
type:
|
|
367
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
368
368
|
isOptional: true;
|
|
369
369
|
};
|
|
370
370
|
usageRequestCount: {
|
|
371
|
-
type:
|
|
371
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
372
372
|
isOptional: true;
|
|
373
373
|
};
|
|
374
374
|
usageSuccessCount: {
|
|
375
|
-
type:
|
|
375
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
376
376
|
isOptional: true;
|
|
377
377
|
};
|
|
378
378
|
usageErrorCount: {
|
|
379
|
-
type:
|
|
379
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
380
380
|
isOptional: true;
|
|
381
381
|
};
|
|
382
382
|
usageLastUsedAt: {
|
|
383
|
-
type:
|
|
383
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
384
384
|
isOptional: true;
|
|
385
385
|
};
|
|
386
386
|
usageLastErrorAt: {
|
|
387
|
-
type:
|
|
387
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
388
388
|
isOptional: true;
|
|
389
389
|
};
|
|
390
390
|
usageLastErrorCode: {
|
|
391
|
-
type:
|
|
391
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
392
392
|
isOptional: true;
|
|
393
393
|
};
|
|
394
394
|
createdAt: {
|
|
395
|
-
type:
|
|
395
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
396
396
|
isOptional: true;
|
|
397
397
|
};
|
|
398
398
|
updatedAt: {
|
|
399
|
-
type:
|
|
399
|
+
type: _contractspec_lib_schema155.FieldType<Date, string>;
|
|
400
400
|
isOptional: true;
|
|
401
401
|
};
|
|
402
402
|
}>;
|
|
@@ -406,28 +406,28 @@ declare const ListIntegrationConnections: OperationSpec<SchemaModel<{
|
|
|
406
406
|
}>, undefined>;
|
|
407
407
|
declare const TestIntegrationConnection: OperationSpec<SchemaModel<{
|
|
408
408
|
connectionId: {
|
|
409
|
-
type:
|
|
409
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
410
410
|
isOptional: false;
|
|
411
411
|
};
|
|
412
412
|
}>, SchemaModel<{
|
|
413
413
|
success: {
|
|
414
|
-
type:
|
|
414
|
+
type: _contractspec_lib_schema155.FieldType<boolean, boolean>;
|
|
415
415
|
isOptional: false;
|
|
416
416
|
};
|
|
417
417
|
status: {
|
|
418
|
-
type:
|
|
418
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
419
419
|
isOptional: true;
|
|
420
420
|
};
|
|
421
421
|
latencyMs: {
|
|
422
|
-
type:
|
|
422
|
+
type: _contractspec_lib_schema155.FieldType<number, number>;
|
|
423
423
|
isOptional: true;
|
|
424
424
|
};
|
|
425
425
|
error: {
|
|
426
|
-
type:
|
|
426
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
427
427
|
isOptional: true;
|
|
428
428
|
};
|
|
429
429
|
errorCode: {
|
|
430
|
-
type:
|
|
430
|
+
type: _contractspec_lib_schema155.FieldType<string, string>;
|
|
431
431
|
isOptional: true;
|
|
432
432
|
};
|
|
433
433
|
}>, undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
2
1
|
import { CapabilityRef, CapabilityRequirement } from "../capabilities/capabilities.js";
|
|
3
|
-
import "../capabilities/index.js";
|
|
4
2
|
import { SpecContractRegistry } from "../registry.js";
|
|
3
|
+
import "../capabilities/index.js";
|
|
4
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
5
5
|
|
|
6
6
|
//#region src/integrations/spec.d.ts
|
|
7
7
|
type IntegrationCategory = 'payments' | 'email' | 'calendar' | 'sms' | 'ai-llm' | 'ai-voice' | 'speech-to-text' | 'vector-db' | 'storage' | 'accounting' | 'crm' | 'helpdesk' | 'open-banking' | 'custom';
|
package/dist/jsonschema.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Stability, Tag } from "./ownership.js";
|
|
2
1
|
import { OpKind, OperationSpec } from "./operations/operation.js";
|
|
3
2
|
import "./operations/index.js";
|
|
3
|
+
import { Stability, Tag } from "./ownership.js";
|
|
4
4
|
import { AnySchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
import z from "zod";
|
|
6
6
|
|