@contractspec/lib.contracts 1.44.1 → 1.45.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/README.md +1 -1
- package/dist/app-config/app-config.feature.js +6 -6
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/contracts.js +13 -13
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/events.js +12 -12
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/lifecycle-contracts.js +19 -19
- package/dist/app-config/lifecycle.d.ts +2 -2
- package/dist/app-config/runtime.d.ts +3 -3
- package/dist/app-config/spec.d.ts +10 -12
- package/dist/app-config/spec.js +5 -26
- package/dist/capabilities/capabilities.d.ts +4 -11
- package/dist/capabilities/capabilities.js +3 -5
- package/dist/capabilities/openbanking.js +10 -10
- package/dist/client/react/form-render.js +1 -0
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/contract-registry/schemas.js +1 -1
- package/dist/contract-registry/types.d.ts +1 -1
- package/dist/data-views/data-views.js +1 -0
- package/dist/data-views/registry.d.ts +3 -37
- package/dist/data-views/registry.js +4 -66
- package/dist/data-views/runtime.d.ts +1 -1
- package/dist/data-views/runtime.js +2 -0
- package/dist/data-views/spec.d.ts +2 -2
- package/dist/docs/index.d.ts +2 -2
- package/dist/docs/index.js +2 -2
- package/dist/docs/presentations.d.ts +2 -4
- package/dist/docs/presentations.js +2 -4
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +1 -1
- package/dist/docs/tech/contracts/tests.docblock.js +1 -1
- package/dist/docs/tech-contracts.docs.js +1 -1
- package/dist/docs/types.d.ts +1 -1
- package/dist/events.d.ts +3 -3
- package/dist/examples/docs/examples.docblock.d.ts +6 -0
- package/dist/examples/docs/examples.docblock.js +165 -0
- package/dist/examples/index.d.ts +5 -0
- package/dist/examples/index.js +6 -0
- package/dist/examples/registry.d.ts +65 -0
- package/dist/examples/registry.js +144 -0
- package/dist/examples/schema.d.ts +282 -0
- package/dist/examples/schema.js +125 -0
- package/dist/examples/types.d.ts +167 -0
- package/dist/examples/types.js +43 -0
- package/dist/examples/validation.d.ts +65 -0
- package/dist/examples/validation.js +144 -0
- package/dist/experiments/docs/experiments.docblock.js +1 -1
- package/dist/experiments/evaluator.d.ts +1 -1
- package/dist/experiments/spec-resolver.d.ts +2 -2
- package/dist/experiments/spec.d.ts +6 -8
- package/dist/experiments/spec.js +5 -23
- package/dist/features/index.d.ts +9 -1
- package/dist/features/index.js +8 -1
- package/dist/features/install.js +2 -2
- package/dist/features/types.d.ts +7 -7
- package/dist/forms/forms.d.ts +2 -2
- package/dist/forms/forms.js +3 -6
- package/dist/index.d.ts +13 -8
- package/dist/index.js +11 -2
- package/dist/install.d.ts +9 -9
- package/dist/integrations/connection.d.ts +1 -1
- package/dist/integrations/integrations.feature.js +8 -8
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/accounts.js +3 -3
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/balances.js +2 -2
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/contracts/transactions.js +2 -2
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/openbanking.feature.js +10 -10
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/operations.js +10 -10
- package/dist/integrations/providers/elevenlabs.js +2 -2
- package/dist/integrations/providers/gcs-storage.js +2 -2
- package/dist/integrations/providers/gmail.js +3 -3
- package/dist/integrations/providers/google-calendar.js +2 -2
- package/dist/integrations/providers/mistral.js +3 -3
- package/dist/integrations/providers/postmark.js +2 -2
- package/dist/integrations/providers/powens.js +4 -4
- package/dist/integrations/providers/qdrant.js +3 -3
- package/dist/integrations/providers/stripe.js +2 -2
- package/dist/integrations/providers/twilio-sms.js +2 -2
- package/dist/integrations/runtime.d.ts +5 -5
- package/dist/integrations/spec.d.ts +3 -5
- package/dist/integrations/spec.js +5 -26
- package/dist/jobs/gcp-cloud-tasks.js +1 -1
- package/dist/jobs/gcp-pubsub.js +1 -1
- package/dist/jobs/handlers/ping-handler.d.ts +3 -3
- package/dist/jobs/handlers/ping-handler.js +2 -2
- package/dist/jobs/memory-queue.js +1 -1
- package/dist/jobs/queue.d.ts +4 -4
- package/dist/jobs/scaleway-sqs-queue.js +2 -2
- package/dist/jsonschema.d.ts +4 -4
- package/dist/knowledge/binding.d.ts +1 -1
- package/dist/knowledge/knowledge.feature.js +8 -8
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/knowledge/operations.js +12 -12
- package/dist/knowledge/source.d.ts +1 -1
- package/dist/knowledge/spaces/email-threads.js +2 -2
- package/dist/knowledge/spaces/financial-docs.js +2 -2
- package/dist/knowledge/spaces/financial-overview.js +2 -2
- package/dist/knowledge/spaces/product-canon.js +2 -2
- package/dist/knowledge/spaces/support-faq.js +2 -2
- package/dist/knowledge/spaces/uploaded-docs.js +2 -2
- package/dist/knowledge/spec.d.ts +3 -5
- package/dist/knowledge/spec.js +6 -28
- package/dist/llm/exporters.js +2 -2
- package/dist/llm/types.d.ts +4 -4
- package/dist/markdown.js +1 -1
- package/dist/migrations.d.ts +2 -2
- package/dist/migrations.js +7 -9
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/onboarding-base.js +4 -4
- package/dist/openapi.js +9 -2
- package/dist/operations/operation.d.ts +3 -3
- package/dist/operations/registry.d.ts +9 -58
- package/dist/operations/registry.js +17 -93
- package/dist/ownership.d.ts +1 -1
- package/dist/policy/docs/policy.docblock.js +1 -1
- package/dist/policy/engine.js +2 -0
- package/dist/policy/spec.d.ts +1 -1
- package/dist/prompt.d.ts +6 -6
- package/dist/promptRegistry.d.ts +4 -4
- package/dist/promptRegistry.js +2 -5
- package/dist/regenerator/docs/regenerator.docblock.js +1 -1
- package/dist/regenerator/types.d.ts +1 -1
- package/dist/registry.d.ts +3 -2
- package/dist/registry.js +5 -5
- package/dist/resources.d.ts +5 -5
- package/dist/server/graphql-pothos.js +2 -2
- package/dist/server/mcp/registerTools.js +1 -1
- package/dist/server/rest-elysia.d.ts +1 -1
- package/dist/server/rest-elysia.js +1 -1
- package/dist/server/rest-express.d.ts +1 -1
- package/dist/server/rest-express.js +1 -1
- package/dist/server/rest-generic.d.ts +1 -1
- package/dist/server/rest-generic.js +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-mcp.js +1 -1
- package/dist/server/rest-next-pages.d.ts +1 -1
- package/dist/telemetry/docs/telemetry.docblock.js +1 -1
- package/dist/telemetry/spec.d.ts +7 -7
- package/dist/telemetry/spec.js +17 -44
- package/dist/telemetry/tracker.d.ts +2 -2
- package/dist/tests/runner.d.ts +1 -1
- package/dist/tests/spec.d.ts +5 -5
- package/dist/tests/spec.js +3 -5
- package/dist/themes.d.ts +4 -6
- package/dist/themes.js +5 -27
- package/dist/translations/catalog.d.ts +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/workflow/adapters/db-adapter.js +3 -3
- package/dist/workflow/runner.d.ts +4 -2
- package/dist/workflow/spec.d.ts +4 -17
- package/dist/workflow/spec.js +4 -48
- package/dist/workflow/state.d.ts +1 -1
- package/dist/workflow/validation.js +1 -1
- package/dist/workspace-config/contractsrc-schema.d.ts +346 -346
- package/dist/workspace-config/contractsrc-schema.js +86 -86
- package/package.json +19 -12
|
@@ -2,401 +2,401 @@ import { AnyOperationSpec, OperationSpec } from "../operations/operation.js";
|
|
|
2
2
|
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
3
3
|
import "../operations/index.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>;
|
|
@@ -261,7 +261,7 @@ const CreateIntegrationConnection = defineCommand({
|
|
|
261
261
|
meta: {
|
|
262
262
|
key: "integrations.connection.create",
|
|
263
263
|
title: "Create Integration Connection",
|
|
264
|
-
version: 1,
|
|
264
|
+
version: "1.0.0",
|
|
265
265
|
description: "Create a new integration connection for a tenant.",
|
|
266
266
|
goal: "Provision a tenant-scoped connection to an external provider.",
|
|
267
267
|
context: "Used by Ops or the App Studio to configure external integrations such as Stripe or Qdrant.",
|
|
@@ -277,7 +277,7 @@ const CreateIntegrationConnection = defineCommand({
|
|
|
277
277
|
auth: "admin",
|
|
278
278
|
policies: [{
|
|
279
279
|
key: "platform.integration.manage",
|
|
280
|
-
version: 1
|
|
280
|
+
version: "1.0.0"
|
|
281
281
|
}]
|
|
282
282
|
}
|
|
283
283
|
});
|
|
@@ -285,7 +285,7 @@ const UpdateIntegrationConnection = defineCommand({
|
|
|
285
285
|
meta: {
|
|
286
286
|
key: "integrations.connection.update",
|
|
287
287
|
title: "Update Integration Connection",
|
|
288
|
-
version: 1,
|
|
288
|
+
version: "1.0.0",
|
|
289
289
|
description: "Update metadata or credentials for an integration connection.",
|
|
290
290
|
goal: "Allow secure rotation of credentials and metadata adjustments.",
|
|
291
291
|
context: "Supports rotating API keys, toggling status, or updating labels for tenant integrations.",
|
|
@@ -301,7 +301,7 @@ const UpdateIntegrationConnection = defineCommand({
|
|
|
301
301
|
auth: "admin",
|
|
302
302
|
policies: [{
|
|
303
303
|
key: "platform.integration.manage",
|
|
304
|
-
version: 1
|
|
304
|
+
version: "1.0.0"
|
|
305
305
|
}]
|
|
306
306
|
}
|
|
307
307
|
});
|
|
@@ -309,7 +309,7 @@ const DeleteIntegrationConnection = defineCommand({
|
|
|
309
309
|
meta: {
|
|
310
310
|
key: "integrations.connection.delete",
|
|
311
311
|
title: "Delete Integration Connection",
|
|
312
|
-
version: 1,
|
|
312
|
+
version: "1.0.0",
|
|
313
313
|
description: "Delete an integration connection for a tenant.",
|
|
314
314
|
goal: "Safely remove credentials and disable connector usage.",
|
|
315
315
|
context: "Ensures connections are de-provisioned when no longer needed or breached.",
|
|
@@ -325,7 +325,7 @@ const DeleteIntegrationConnection = defineCommand({
|
|
|
325
325
|
auth: "admin",
|
|
326
326
|
policies: [{
|
|
327
327
|
key: "platform.integration.manage",
|
|
328
|
-
version: 1
|
|
328
|
+
version: "1.0.0"
|
|
329
329
|
}]
|
|
330
330
|
}
|
|
331
331
|
});
|
|
@@ -333,7 +333,7 @@ const ListIntegrationConnections = defineQuery({
|
|
|
333
333
|
meta: {
|
|
334
334
|
key: "integrations.connection.list",
|
|
335
335
|
title: "List Integration Connections",
|
|
336
|
-
version: 1,
|
|
336
|
+
version: "1.0.0",
|
|
337
337
|
description: "List integration connections for a tenant.",
|
|
338
338
|
goal: "Provide visibility into configured integrations and their status.",
|
|
339
339
|
context: "Used by the App Studio and Ops flows to show bindings and health.",
|
|
@@ -349,7 +349,7 @@ const ListIntegrationConnections = defineQuery({
|
|
|
349
349
|
auth: "admin",
|
|
350
350
|
policies: [{
|
|
351
351
|
key: "platform.integration.read",
|
|
352
|
-
version: 1
|
|
352
|
+
version: "1.0.0"
|
|
353
353
|
}]
|
|
354
354
|
}
|
|
355
355
|
});
|
|
@@ -357,7 +357,7 @@ const TestIntegrationConnection = defineCommand({
|
|
|
357
357
|
meta: {
|
|
358
358
|
key: "integrations.connection.test",
|
|
359
359
|
title: "Test Integration Connection",
|
|
360
|
-
version: 1,
|
|
360
|
+
version: "1.0.0",
|
|
361
361
|
description: "Run a health check against a configured integration connection.",
|
|
362
362
|
goal: "Validate credentials and connectivity for external providers.",
|
|
363
363
|
context: "Triggered manually or by background monitors to confirm provider availability.",
|
|
@@ -373,7 +373,7 @@ const TestIntegrationConnection = defineCommand({
|
|
|
373
373
|
auth: "admin",
|
|
374
374
|
policies: [{
|
|
375
375
|
key: "platform.integration.manage",
|
|
376
|
-
version: 1
|
|
376
|
+
version: "1.0.0"
|
|
377
377
|
}]
|
|
378
378
|
}
|
|
379
379
|
});
|
|
@@ -4,7 +4,7 @@ import { StabilityEnum } from "../../ownership.js";
|
|
|
4
4
|
const elevenLabsIntegrationSpec = {
|
|
5
5
|
meta: {
|
|
6
6
|
key: "ai-voice.elevenlabs",
|
|
7
|
-
version: 1,
|
|
7
|
+
version: "1.0.0",
|
|
8
8
|
category: "ai-voice",
|
|
9
9
|
title: "ElevenLabs Text-to-Speech",
|
|
10
10
|
description: "ElevenLabs integration for neural voice synthesis and voice catalog access.",
|
|
@@ -16,7 +16,7 @@ const elevenLabsIntegrationSpec = {
|
|
|
16
16
|
supportedModes: ["managed", "byok"],
|
|
17
17
|
capabilities: { provides: [{
|
|
18
18
|
key: "ai.voice.synthesis",
|
|
19
|
-
version: 1
|
|
19
|
+
version: "1.0.0"
|
|
20
20
|
}] },
|
|
21
21
|
configSchema: {
|
|
22
22
|
schema: {
|
|
@@ -4,7 +4,7 @@ import { StabilityEnum } from "../../ownership.js";
|
|
|
4
4
|
const gcsStorageIntegrationSpec = {
|
|
5
5
|
meta: {
|
|
6
6
|
key: "storage.gcs",
|
|
7
|
-
version: 1,
|
|
7
|
+
version: "1.0.0",
|
|
8
8
|
category: "storage",
|
|
9
9
|
title: "Google Cloud Storage Buckets",
|
|
10
10
|
description: "Google Cloud Storage integration for object storage and retrieval.",
|
|
@@ -20,7 +20,7 @@ const gcsStorageIntegrationSpec = {
|
|
|
20
20
|
supportedModes: ["managed", "byok"],
|
|
21
21
|
capabilities: { provides: [{
|
|
22
22
|
key: "storage.objects",
|
|
23
|
-
version: 1
|
|
23
|
+
version: "1.0.0"
|
|
24
24
|
}] },
|
|
25
25
|
configSchema: {
|
|
26
26
|
schema: {
|