@cognidesk/studio-contracts 0.0.3-dev.6 → 0.0.3-dev.8
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 +33 -7
- package/dist/index.d.ts +1317 -385
- package/dist/index.js +689 -378
- package/package.json +4 -3
- package/dist/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,156 +18,924 @@ declare const StudioPermissionSchema: z.ZodEnum<{
|
|
|
18
18
|
type StudioPermission = z.infer<typeof StudioPermissionSchema>;
|
|
19
19
|
declare const permissionsByRole: Record<StudioRole, StudioPermission[]>;
|
|
20
20
|
declare function roleHasPermission(role: StudioRole, permission: StudioPermission): boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
21
|
+
|
|
22
|
+
declare const StudioChannelAudienceSchema: z.ZodEnum<{
|
|
23
|
+
"customer-facing": "customer-facing";
|
|
24
|
+
"internal-support": "internal-support";
|
|
25
|
+
mixed: "mixed";
|
|
26
|
+
}>;
|
|
27
|
+
type StudioChannelAudience = z.infer<typeof StudioChannelAudienceSchema>;
|
|
28
|
+
declare const StudioProviderDirectionSchema: z.ZodEnum<{
|
|
29
|
+
"receive-only": "receive-only";
|
|
30
|
+
"send-only": "send-only";
|
|
31
|
+
"inbound-only": "inbound-only";
|
|
32
|
+
"outbound-only": "outbound-only";
|
|
33
|
+
bidirectional: "bidirectional";
|
|
34
|
+
}>;
|
|
35
|
+
type StudioProviderDirection = z.infer<typeof StudioProviderDirectionSchema>;
|
|
36
|
+
declare const StudioProviderTrustLevelSchema: z.ZodEnum<{
|
|
37
|
+
official: "official";
|
|
38
|
+
verified: "verified";
|
|
39
|
+
community: "community";
|
|
40
|
+
experimental: "experimental";
|
|
41
|
+
}>;
|
|
42
|
+
type StudioProviderTrustLevel = z.infer<typeof StudioProviderTrustLevelSchema>;
|
|
43
|
+
declare const StudioProviderCoverageScopeSchema: z.ZodEnum<{
|
|
44
|
+
"support-workflow-subset": "support-workflow-subset";
|
|
45
|
+
"provider-api-subset": "provider-api-subset";
|
|
46
|
+
"connector-required": "connector-required";
|
|
47
|
+
"local-protocol": "local-protocol";
|
|
48
|
+
"full-provider-api": "full-provider-api";
|
|
49
|
+
}>;
|
|
50
|
+
type StudioProviderCoverageScope = z.infer<typeof StudioProviderCoverageScopeSchema>;
|
|
51
|
+
declare const StudioActionAudienceSchema: z.ZodEnum<{
|
|
52
|
+
"customer-facing": "customer-facing";
|
|
53
|
+
"internal-support": "internal-support";
|
|
54
|
+
mixed: "mixed";
|
|
55
|
+
}>;
|
|
56
|
+
type StudioActionAudience = StudioChannelAudience;
|
|
57
|
+
declare const StudioChannelCapabilitySchema: z.ZodObject<{
|
|
58
|
+
capability: z.ZodString;
|
|
59
|
+
label: z.ZodOptional<z.ZodString>;
|
|
60
|
+
description: z.ZodOptional<z.ZodString>;
|
|
61
|
+
extension: z.ZodDefault<z.ZodBoolean>;
|
|
62
|
+
audiences: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
63
|
+
"customer-facing": "customer-facing";
|
|
64
|
+
"internal-support": "internal-support";
|
|
65
|
+
mixed: "mixed";
|
|
66
|
+
}>>>;
|
|
67
|
+
requiresCredential: z.ZodDefault<z.ZodBoolean>;
|
|
68
|
+
sideEffect: z.ZodDefault<z.ZodBoolean>;
|
|
69
|
+
exposesSensitiveData: z.ZodDefault<z.ZodBoolean>;
|
|
70
|
+
changesWorkflow: z.ZodDefault<z.ZodBoolean>;
|
|
71
|
+
providerObjects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
72
|
+
kind: z.ZodString;
|
|
73
|
+
label: z.ZodOptional<z.ZodString>;
|
|
74
|
+
description: z.ZodOptional<z.ZodString>;
|
|
75
|
+
schemaName: z.ZodOptional<z.ZodString>;
|
|
76
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77
|
+
}, z.core.$strip>>>;
|
|
78
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
type StudioChannelCapability = z.infer<typeof StudioChannelCapabilitySchema>;
|
|
81
|
+
declare const StudioProviderPackageSummarySchema: z.ZodObject<{
|
|
82
|
+
id: z.ZodString;
|
|
83
|
+
name: z.ZodString;
|
|
84
|
+
packageName: z.ZodString;
|
|
85
|
+
provider: z.ZodString;
|
|
86
|
+
category: z.ZodString;
|
|
87
|
+
trustLevel: z.ZodEnum<{
|
|
88
|
+
official: "official";
|
|
89
|
+
verified: "verified";
|
|
90
|
+
community: "community";
|
|
91
|
+
experimental: "experimental";
|
|
92
|
+
}>;
|
|
93
|
+
directions: z.ZodArray<z.ZodEnum<{
|
|
94
|
+
"receive-only": "receive-only";
|
|
95
|
+
"send-only": "send-only";
|
|
96
|
+
"inbound-only": "inbound-only";
|
|
97
|
+
"outbound-only": "outbound-only";
|
|
98
|
+
bidirectional: "bidirectional";
|
|
99
|
+
}>>;
|
|
100
|
+
channelAudiences: z.ZodArray<z.ZodEnum<{
|
|
101
|
+
"customer-facing": "customer-facing";
|
|
102
|
+
"internal-support": "internal-support";
|
|
103
|
+
mixed: "mixed";
|
|
104
|
+
}>>;
|
|
105
|
+
coverage: z.ZodDefault<z.ZodObject<{
|
|
106
|
+
scope: z.ZodEnum<{
|
|
107
|
+
"support-workflow-subset": "support-workflow-subset";
|
|
108
|
+
"provider-api-subset": "provider-api-subset";
|
|
109
|
+
"connector-required": "connector-required";
|
|
110
|
+
"local-protocol": "local-protocol";
|
|
111
|
+
"full-provider-api": "full-provider-api";
|
|
112
|
+
}>;
|
|
113
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
114
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
58
115
|
label: z.ZodString;
|
|
59
|
-
|
|
60
|
-
workingDirectory: z.ZodDefault<z.ZodString>;
|
|
116
|
+
url: z.ZodOptional<z.ZodString>;
|
|
61
117
|
}, z.core.$strip>>>;
|
|
62
118
|
}, z.core.$strip>>;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
label: z.ZodString;
|
|
73
|
-
provider: z.ZodString;
|
|
74
|
-
model: z.ZodString;
|
|
75
|
-
default: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
-
}, z.core.$strip>>>;
|
|
77
|
-
allowedCredentialGrants: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
78
|
-
telemetry: "telemetry";
|
|
79
|
-
github: "github";
|
|
80
|
-
package_registry: "package_registry";
|
|
81
|
-
artifact_store: "artifact_store";
|
|
82
|
-
studio_adapter: "studio_adapter";
|
|
83
|
-
backend_service: "backend_service";
|
|
119
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
120
|
+
capability: z.ZodString;
|
|
121
|
+
label: z.ZodOptional<z.ZodString>;
|
|
122
|
+
description: z.ZodOptional<z.ZodString>;
|
|
123
|
+
extension: z.ZodDefault<z.ZodBoolean>;
|
|
124
|
+
audiences: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
125
|
+
"customer-facing": "customer-facing";
|
|
126
|
+
"internal-support": "internal-support";
|
|
127
|
+
mixed: "mixed";
|
|
84
128
|
}>>>;
|
|
129
|
+
requiresCredential: z.ZodDefault<z.ZodBoolean>;
|
|
130
|
+
sideEffect: z.ZodDefault<z.ZodBoolean>;
|
|
131
|
+
exposesSensitiveData: z.ZodDefault<z.ZodBoolean>;
|
|
132
|
+
changesWorkflow: z.ZodDefault<z.ZodBoolean>;
|
|
133
|
+
providerObjects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
134
|
+
kind: z.ZodString;
|
|
135
|
+
label: z.ZodOptional<z.ZodString>;
|
|
136
|
+
description: z.ZodOptional<z.ZodString>;
|
|
137
|
+
schemaName: z.ZodOptional<z.ZodString>;
|
|
138
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
139
|
+
}, z.core.$strip>>>;
|
|
140
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
85
141
|
}, z.core.$strip>>;
|
|
142
|
+
credentialRequirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
143
|
+
id: z.ZodString;
|
|
144
|
+
label: z.ZodOptional<z.ZodString>;
|
|
145
|
+
description: z.ZodOptional<z.ZodString>;
|
|
146
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
147
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
148
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
149
|
+
}, z.core.$strip>>>;
|
|
150
|
+
privacyNotes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
151
|
+
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
152
|
+
maintainers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
155
|
+
official: "official";
|
|
156
|
+
community: "community";
|
|
157
|
+
unknown: "unknown";
|
|
158
|
+
partner: "partner";
|
|
159
|
+
}>>;
|
|
160
|
+
url: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.core.$strip>>>;
|
|
162
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
86
163
|
}, z.core.$strip>;
|
|
87
|
-
type
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
164
|
+
type StudioProviderPackageSummary = z.infer<typeof StudioProviderPackageSummarySchema>;
|
|
165
|
+
declare const StudioCapabilityAvailabilitySchema: z.ZodObject<{
|
|
166
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
167
|
+
capability: z.ZodOptional<z.ZodString>;
|
|
168
|
+
status: z.ZodEnum<{
|
|
169
|
+
"registry-available": "registry-available";
|
|
170
|
+
installed: "installed";
|
|
171
|
+
configured: "configured";
|
|
172
|
+
enabled: "enabled";
|
|
173
|
+
blocked: "blocked";
|
|
174
|
+
}>;
|
|
175
|
+
enabledForChannels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
176
|
+
enabledForAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
177
|
+
enabledForJourneys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
178
|
+
enabledForTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
179
|
+
blockers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
180
|
+
code: z.ZodString;
|
|
181
|
+
message: z.ZodString;
|
|
182
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
183
|
+
unknown: "unknown";
|
|
184
|
+
"missing-policy": "missing-policy";
|
|
185
|
+
"missing-configuration": "missing-configuration";
|
|
186
|
+
"missing-credentials": "missing-credentials";
|
|
187
|
+
"provider-unsupported": "provider-unsupported";
|
|
188
|
+
"permission-blocked": "permission-blocked";
|
|
189
|
+
}>>;
|
|
190
|
+
}, z.core.$strip>>>;
|
|
191
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
type StudioCapabilityAvailability = z.infer<typeof StudioCapabilityAvailabilitySchema>;
|
|
194
|
+
declare const StudioProviderCredentialStatusSchema: z.ZodObject<{
|
|
195
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
196
|
+
requirementId: z.ZodString;
|
|
197
|
+
state: z.ZodEnum<{
|
|
198
|
+
required: "required";
|
|
199
|
+
configured: "configured";
|
|
200
|
+
"permission-blocked": "permission-blocked";
|
|
201
|
+
"not-required": "not-required";
|
|
202
|
+
missing: "missing";
|
|
203
|
+
expired: "expired";
|
|
204
|
+
"insufficient-scope": "insufficient-scope";
|
|
205
|
+
unavailable: "unavailable";
|
|
206
|
+
}>;
|
|
207
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
208
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
209
|
+
message: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strip>;
|
|
211
|
+
type StudioProviderCredentialStatus = z.infer<typeof StudioProviderCredentialStatusSchema>;
|
|
212
|
+
declare const StudioChannelPolicyDetailSchema: z.ZodObject<{
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
215
|
+
value: z.ZodUnknown;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
type StudioChannelPolicyDetail = z.infer<typeof StudioChannelPolicyDetailSchema>;
|
|
218
|
+
declare const StudioChannelFlowActivationSchema: z.ZodObject<{
|
|
219
|
+
journeyId: z.ZodString;
|
|
220
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
221
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
222
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
223
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
224
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
type StudioChannelFlowActivation = z.infer<typeof StudioChannelFlowActivationSchema>;
|
|
227
|
+
declare const StudioChannelOutboundPolicySchema: z.ZodObject<{
|
|
228
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
229
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
230
|
+
requiresProviderOutboundSupport: z.ZodDefault<z.ZodBoolean>;
|
|
231
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
232
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
type StudioChannelOutboundPolicy = z.infer<typeof StudioChannelOutboundPolicySchema>;
|
|
235
|
+
declare const StudioChannelBehaviorPolicySchema: z.ZodObject<{
|
|
236
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
237
|
+
maxWords: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
239
|
+
allowMarkdown: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
allowWidgets: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
draftFirst: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
+
approval: z.ZodOptional<z.ZodUnknown>;
|
|
243
|
+
sensitiveData: z.ZodOptional<z.ZodUnknown>;
|
|
244
|
+
media: z.ZodOptional<z.ZodUnknown>;
|
|
245
|
+
handoff: z.ZodOptional<z.ZodUnknown>;
|
|
246
|
+
}, z.core.$loose>;
|
|
247
|
+
type StudioChannelBehaviorPolicy = z.infer<typeof StudioChannelBehaviorPolicySchema>;
|
|
248
|
+
declare const StudioChannelHandoffPolicySchema: z.ZodObject<{
|
|
249
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
250
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
251
|
+
destinations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
252
|
+
sdkControlled: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
254
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
type StudioChannelHandoffPolicy = z.infer<typeof StudioChannelHandoffPolicySchema>;
|
|
257
|
+
declare const StudioChannelConfigurationSchema: z.ZodObject<{
|
|
258
|
+
id: z.ZodOptional<z.ZodString>;
|
|
259
|
+
channel: z.ZodString;
|
|
260
|
+
audience: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
"customer-facing": "customer-facing";
|
|
262
|
+
"internal-support": "internal-support";
|
|
263
|
+
mixed: "mixed";
|
|
264
|
+
}>>;
|
|
265
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
266
|
+
channelSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
267
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
268
|
+
enabledCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
269
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
270
|
+
policyDetails: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
271
|
+
id: z.ZodString;
|
|
272
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
273
|
+
value: z.ZodUnknown;
|
|
274
|
+
}, z.core.$strip>>>;
|
|
275
|
+
flowActivations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
276
|
+
journeyId: z.ZodString;
|
|
277
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
278
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
279
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
280
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
281
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
282
|
+
}, z.core.$strip>>>;
|
|
283
|
+
behavior: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
285
|
+
maxWords: z.ZodOptional<z.ZodNumber>;
|
|
286
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
287
|
+
allowMarkdown: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
allowWidgets: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
+
draftFirst: z.ZodOptional<z.ZodBoolean>;
|
|
290
|
+
approval: z.ZodOptional<z.ZodUnknown>;
|
|
291
|
+
sensitiveData: z.ZodOptional<z.ZodUnknown>;
|
|
292
|
+
media: z.ZodOptional<z.ZodUnknown>;
|
|
293
|
+
handoff: z.ZodOptional<z.ZodUnknown>;
|
|
294
|
+
}, z.core.$loose>>;
|
|
295
|
+
outbound: z.ZodOptional<z.ZodObject<{
|
|
296
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
297
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
298
|
+
requiresProviderOutboundSupport: z.ZodDefault<z.ZodBoolean>;
|
|
299
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
300
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
95
301
|
}, z.core.$strip>>;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
302
|
+
handoff: z.ZodOptional<z.ZodObject<{
|
|
303
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
304
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
305
|
+
destinations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
306
|
+
sdkControlled: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
308
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
101
309
|
}, z.core.$strip>>;
|
|
102
|
-
|
|
103
|
-
|
|
310
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
type StudioChannelConfiguration = z.infer<typeof StudioChannelConfigurationSchema>;
|
|
313
|
+
declare const StudioChannelSetConfigurationSchema: z.ZodObject<{
|
|
314
|
+
id: z.ZodString;
|
|
315
|
+
label: z.ZodOptional<z.ZodString>;
|
|
316
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
317
|
+
channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
318
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
319
|
+
conversationContinuity: z.ZodOptional<z.ZodObject<{
|
|
320
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
321
|
+
"new-conversation": "new-conversation";
|
|
322
|
+
"link-existing": "link-existing";
|
|
323
|
+
"sdk-decides": "sdk-decides";
|
|
324
|
+
}>>;
|
|
325
|
+
crossChannel: z.ZodDefault<z.ZodBoolean>;
|
|
326
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
327
|
+
}, z.core.$strip>>;
|
|
328
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
type StudioChannelSetConfiguration = z.infer<typeof StudioChannelSetConfigurationSchema>;
|
|
331
|
+
declare const StudioProviderReadinessSchema: z.ZodObject<{
|
|
332
|
+
providerPackageId: z.ZodString;
|
|
333
|
+
status: z.ZodEnum<{
|
|
334
|
+
unknown: "unknown";
|
|
335
|
+
configured: "configured";
|
|
336
|
+
blocked: "blocked";
|
|
337
|
+
"not-configured": "not-configured";
|
|
338
|
+
ready: "ready";
|
|
339
|
+
"live-verified": "live-verified";
|
|
340
|
+
"sandbox-verified": "sandbox-verified";
|
|
341
|
+
"scoped-verified": "scoped-verified";
|
|
342
|
+
"full-api-verified": "full-api-verified";
|
|
343
|
+
}>;
|
|
344
|
+
checkedAt: z.ZodOptional<z.ZodString>;
|
|
345
|
+
checkSource: z.ZodOptional<z.ZodString>;
|
|
346
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
sandbox: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
blockers: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
349
|
+
code: z.ZodString;
|
|
350
|
+
message: z.ZodString;
|
|
351
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
352
|
+
unknown: "unknown";
|
|
353
|
+
"missing-policy": "missing-policy";
|
|
354
|
+
"missing-configuration": "missing-configuration";
|
|
355
|
+
"missing-credentials": "missing-credentials";
|
|
356
|
+
"provider-unsupported": "provider-unsupported";
|
|
357
|
+
"permission-blocked": "permission-blocked";
|
|
358
|
+
}>>;
|
|
359
|
+
}, z.core.$strip>>>>;
|
|
360
|
+
remediationActions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
361
|
+
id: z.ZodString;
|
|
362
|
+
label: z.ZodString;
|
|
363
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
364
|
+
custom: "custom";
|
|
365
|
+
configure: "configure";
|
|
366
|
+
authorize: "authorize";
|
|
367
|
+
verify: "verify";
|
|
368
|
+
"read-docs": "read-docs";
|
|
369
|
+
"contact-provider": "contact-provider";
|
|
370
|
+
}>>;
|
|
371
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
372
|
+
}, z.core.$strip>>>;
|
|
373
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
374
|
+
}, z.core.$strip>;
|
|
375
|
+
type StudioProviderReadiness = z.infer<typeof StudioProviderReadinessSchema>;
|
|
376
|
+
declare const StudioConfigurationSurfaceSchema: z.ZodObject<{
|
|
377
|
+
targetId: z.ZodString;
|
|
378
|
+
channelSets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
label: z.ZodOptional<z.ZodString>;
|
|
381
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
382
|
+
channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
383
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
384
|
+
conversationContinuity: z.ZodOptional<z.ZodObject<{
|
|
385
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
386
|
+
"new-conversation": "new-conversation";
|
|
387
|
+
"link-existing": "link-existing";
|
|
388
|
+
"sdk-decides": "sdk-decides";
|
|
389
|
+
}>>;
|
|
390
|
+
crossChannel: z.ZodDefault<z.ZodBoolean>;
|
|
391
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
392
|
+
}, z.core.$strip>>;
|
|
393
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
394
|
+
}, z.core.$strip>>>;
|
|
395
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
396
|
+
id: z.ZodOptional<z.ZodString>;
|
|
397
|
+
channel: z.ZodString;
|
|
398
|
+
audience: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
"customer-facing": "customer-facing";
|
|
400
|
+
"internal-support": "internal-support";
|
|
401
|
+
mixed: "mixed";
|
|
402
|
+
}>>;
|
|
403
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
404
|
+
channelSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
405
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
406
|
+
enabledCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
407
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
408
|
+
policyDetails: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
104
409
|
id: z.ZodString;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
prometheus: "prometheus";
|
|
108
|
-
tempo: "tempo";
|
|
109
|
-
"otel-http": "otel-http";
|
|
110
|
-
}>;
|
|
111
|
-
baseUrl: z.ZodString;
|
|
112
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
410
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
411
|
+
value: z.ZodUnknown;
|
|
113
412
|
}, z.core.$strip>>>;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
413
|
+
flowActivations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
414
|
+
journeyId: z.ZodString;
|
|
415
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
416
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
417
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
418
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
419
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
420
|
+
}, z.core.$strip>>>;
|
|
421
|
+
behavior: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
423
|
+
maxWords: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
425
|
+
allowMarkdown: z.ZodOptional<z.ZodBoolean>;
|
|
426
|
+
allowWidgets: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
+
draftFirst: z.ZodOptional<z.ZodBoolean>;
|
|
428
|
+
approval: z.ZodOptional<z.ZodUnknown>;
|
|
429
|
+
sensitiveData: z.ZodOptional<z.ZodUnknown>;
|
|
430
|
+
media: z.ZodOptional<z.ZodUnknown>;
|
|
431
|
+
handoff: z.ZodOptional<z.ZodUnknown>;
|
|
432
|
+
}, z.core.$loose>>;
|
|
433
|
+
outbound: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
435
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
436
|
+
requiresProviderOutboundSupport: z.ZodDefault<z.ZodBoolean>;
|
|
437
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
438
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
439
|
+
}, z.core.$strip>>;
|
|
440
|
+
handoff: z.ZodOptional<z.ZodObject<{
|
|
441
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
442
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
443
|
+
destinations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
444
|
+
sdkControlled: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
446
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
449
|
+
}, z.core.$strip>>>;
|
|
450
|
+
providerPackages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
451
|
+
id: z.ZodString;
|
|
452
|
+
name: z.ZodString;
|
|
453
|
+
packageName: z.ZodString;
|
|
454
|
+
provider: z.ZodString;
|
|
455
|
+
category: z.ZodString;
|
|
456
|
+
trustLevel: z.ZodEnum<{
|
|
457
|
+
official: "official";
|
|
458
|
+
verified: "verified";
|
|
459
|
+
community: "community";
|
|
460
|
+
experimental: "experimental";
|
|
461
|
+
}>;
|
|
462
|
+
directions: z.ZodArray<z.ZodEnum<{
|
|
463
|
+
"receive-only": "receive-only";
|
|
464
|
+
"send-only": "send-only";
|
|
465
|
+
"inbound-only": "inbound-only";
|
|
466
|
+
"outbound-only": "outbound-only";
|
|
467
|
+
bidirectional: "bidirectional";
|
|
468
|
+
}>>;
|
|
469
|
+
channelAudiences: z.ZodArray<z.ZodEnum<{
|
|
470
|
+
"customer-facing": "customer-facing";
|
|
471
|
+
"internal-support": "internal-support";
|
|
472
|
+
mixed: "mixed";
|
|
473
|
+
}>>;
|
|
474
|
+
coverage: z.ZodDefault<z.ZodObject<{
|
|
475
|
+
scope: z.ZodEnum<{
|
|
476
|
+
"support-workflow-subset": "support-workflow-subset";
|
|
477
|
+
"provider-api-subset": "provider-api-subset";
|
|
478
|
+
"connector-required": "connector-required";
|
|
479
|
+
"local-protocol": "local-protocol";
|
|
480
|
+
"full-provider-api": "full-provider-api";
|
|
481
|
+
}>;
|
|
482
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
483
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
484
|
+
label: z.ZodString;
|
|
485
|
+
url: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, z.core.$strip>>>;
|
|
487
|
+
}, z.core.$strip>>;
|
|
488
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
489
|
+
capability: z.ZodString;
|
|
490
|
+
label: z.ZodOptional<z.ZodString>;
|
|
491
|
+
description: z.ZodOptional<z.ZodString>;
|
|
492
|
+
extension: z.ZodDefault<z.ZodBoolean>;
|
|
493
|
+
audiences: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
494
|
+
"customer-facing": "customer-facing";
|
|
495
|
+
"internal-support": "internal-support";
|
|
496
|
+
mixed: "mixed";
|
|
497
|
+
}>>>;
|
|
498
|
+
requiresCredential: z.ZodDefault<z.ZodBoolean>;
|
|
499
|
+
sideEffect: z.ZodDefault<z.ZodBoolean>;
|
|
500
|
+
exposesSensitiveData: z.ZodDefault<z.ZodBoolean>;
|
|
501
|
+
changesWorkflow: z.ZodDefault<z.ZodBoolean>;
|
|
502
|
+
providerObjects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
503
|
+
kind: z.ZodString;
|
|
504
|
+
label: z.ZodOptional<z.ZodString>;
|
|
505
|
+
description: z.ZodOptional<z.ZodString>;
|
|
506
|
+
schemaName: z.ZodOptional<z.ZodString>;
|
|
507
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
508
|
+
}, z.core.$strip>>>;
|
|
509
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
510
|
+
}, z.core.$strip>>;
|
|
511
|
+
credentialRequirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
125
512
|
id: z.ZodString;
|
|
126
|
-
label: z.ZodString
|
|
127
|
-
|
|
128
|
-
|
|
513
|
+
label: z.ZodOptional<z.ZodString>;
|
|
514
|
+
description: z.ZodOptional<z.ZodString>;
|
|
515
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
516
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
517
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
518
|
}, z.core.$strip>>>;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
519
|
+
privacyNotes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
520
|
+
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
521
|
+
maintainers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
522
|
+
name: z.ZodString;
|
|
523
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
524
|
+
official: "official";
|
|
525
|
+
community: "community";
|
|
526
|
+
unknown: "unknown";
|
|
527
|
+
partner: "partner";
|
|
528
|
+
}>>;
|
|
529
|
+
url: z.ZodOptional<z.ZodString>;
|
|
530
|
+
}, z.core.$strip>>>;
|
|
531
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
532
|
+
}, z.core.$strip>>>;
|
|
533
|
+
capabilityAvailability: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
534
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
535
|
+
capability: z.ZodOptional<z.ZodString>;
|
|
536
|
+
status: z.ZodEnum<{
|
|
537
|
+
"registry-available": "registry-available";
|
|
538
|
+
installed: "installed";
|
|
539
|
+
configured: "configured";
|
|
540
|
+
enabled: "enabled";
|
|
541
|
+
blocked: "blocked";
|
|
542
|
+
}>;
|
|
543
|
+
enabledForChannels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
544
|
+
enabledForAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
545
|
+
enabledForJourneys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
546
|
+
enabledForTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
547
|
+
blockers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
548
|
+
code: z.ZodString;
|
|
549
|
+
message: z.ZodString;
|
|
550
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
551
|
+
unknown: "unknown";
|
|
552
|
+
"missing-policy": "missing-policy";
|
|
553
|
+
"missing-configuration": "missing-configuration";
|
|
554
|
+
"missing-credentials": "missing-credentials";
|
|
555
|
+
"provider-unsupported": "provider-unsupported";
|
|
556
|
+
"permission-blocked": "permission-blocked";
|
|
557
|
+
}>>;
|
|
558
|
+
}, z.core.$strip>>>;
|
|
559
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
560
|
+
}, z.core.$strip>>>;
|
|
561
|
+
credentialStatuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
562
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
563
|
+
requirementId: z.ZodString;
|
|
564
|
+
state: z.ZodEnum<{
|
|
565
|
+
required: "required";
|
|
566
|
+
configured: "configured";
|
|
567
|
+
"permission-blocked": "permission-blocked";
|
|
568
|
+
"not-required": "not-required";
|
|
569
|
+
missing: "missing";
|
|
570
|
+
expired: "expired";
|
|
571
|
+
"insufficient-scope": "insufficient-scope";
|
|
572
|
+
unavailable: "unavailable";
|
|
573
|
+
}>;
|
|
574
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
575
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
576
|
+
message: z.ZodOptional<z.ZodString>;
|
|
577
|
+
}, z.core.$strip>>>;
|
|
578
|
+
providerReadiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
579
|
+
providerPackageId: z.ZodString;
|
|
580
|
+
status: z.ZodEnum<{
|
|
581
|
+
unknown: "unknown";
|
|
582
|
+
configured: "configured";
|
|
583
|
+
blocked: "blocked";
|
|
584
|
+
"not-configured": "not-configured";
|
|
585
|
+
ready: "ready";
|
|
586
|
+
"live-verified": "live-verified";
|
|
587
|
+
"sandbox-verified": "sandbox-verified";
|
|
588
|
+
"scoped-verified": "scoped-verified";
|
|
589
|
+
"full-api-verified": "full-api-verified";
|
|
590
|
+
}>;
|
|
591
|
+
checkedAt: z.ZodOptional<z.ZodString>;
|
|
592
|
+
checkSource: z.ZodOptional<z.ZodString>;
|
|
593
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
594
|
+
sandbox: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
blockers: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
596
|
+
code: z.ZodString;
|
|
597
|
+
message: z.ZodString;
|
|
598
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
599
|
+
unknown: "unknown";
|
|
600
|
+
"missing-policy": "missing-policy";
|
|
601
|
+
"missing-configuration": "missing-configuration";
|
|
602
|
+
"missing-credentials": "missing-credentials";
|
|
603
|
+
"provider-unsupported": "provider-unsupported";
|
|
604
|
+
"permission-blocked": "permission-blocked";
|
|
605
|
+
}>>;
|
|
606
|
+
}, z.core.$strip>>>>;
|
|
607
|
+
remediationActions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
139
608
|
id: z.ZodString;
|
|
140
609
|
label: z.ZodString;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
610
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
611
|
+
custom: "custom";
|
|
612
|
+
configure: "configure";
|
|
613
|
+
authorize: "authorize";
|
|
614
|
+
verify: "verify";
|
|
615
|
+
"read-docs": "read-docs";
|
|
616
|
+
"contact-provider": "contact-provider";
|
|
617
|
+
}>>;
|
|
618
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
144
619
|
}, z.core.$strip>>>;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
artifact_store: "artifact_store";
|
|
150
|
-
studio_adapter: "studio_adapter";
|
|
151
|
-
backend_service: "backend_service";
|
|
152
|
-
}>>>;
|
|
153
|
-
}, z.core.$strip>>;
|
|
620
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
621
|
+
}, z.core.$strip>>>;
|
|
622
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
623
|
+
capturedAt: z.ZodString;
|
|
154
624
|
}, z.core.$strip>;
|
|
155
|
-
type
|
|
156
|
-
declare
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
625
|
+
type StudioConfigurationSurface = z.infer<typeof StudioConfigurationSurfaceSchema>;
|
|
626
|
+
declare const StudioConfigurationMutationOperationSchema: z.ZodObject<{
|
|
627
|
+
op: z.ZodString;
|
|
628
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
629
|
+
channelSetId: z.ZodOptional<z.ZodString>;
|
|
630
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
631
|
+
journeyId: z.ZodOptional<z.ZodString>;
|
|
632
|
+
policyId: z.ZodOptional<z.ZodString>;
|
|
633
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
634
|
+
}, z.core.$loose>;
|
|
635
|
+
type StudioConfigurationMutationOperation = z.infer<typeof StudioConfigurationMutationOperationSchema>;
|
|
636
|
+
declare const StudioConfigurationMutationRequestSchema: z.ZodObject<{
|
|
637
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
638
|
+
targetId: z.ZodString;
|
|
639
|
+
reason: z.ZodString;
|
|
640
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
641
|
+
op: z.ZodString;
|
|
642
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
643
|
+
channelSetId: z.ZodOptional<z.ZodString>;
|
|
644
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
645
|
+
journeyId: z.ZodOptional<z.ZodString>;
|
|
646
|
+
policyId: z.ZodOptional<z.ZodString>;
|
|
647
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
648
|
+
}, z.core.$loose>>;
|
|
649
|
+
actor: z.ZodOptional<z.ZodObject<{
|
|
650
|
+
id: z.ZodOptional<z.ZodString>;
|
|
651
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
652
|
+
viewer: "viewer";
|
|
653
|
+
dashboard_editor: "dashboard_editor";
|
|
654
|
+
operator: "operator";
|
|
655
|
+
admin: "admin";
|
|
656
|
+
}>>;
|
|
657
|
+
}, z.core.$loose>>;
|
|
658
|
+
}, z.core.$loose>;
|
|
659
|
+
type StudioConfigurationMutationRequest = z.infer<typeof StudioConfigurationMutationRequestSchema>;
|
|
660
|
+
declare const StudioConfigurationMutationResultSchema: z.ZodObject<{
|
|
661
|
+
requestId: z.ZodString;
|
|
662
|
+
targetId: z.ZodString;
|
|
663
|
+
accepted: z.ZodBoolean;
|
|
664
|
+
applied: z.ZodDefault<z.ZodBoolean>;
|
|
665
|
+
status: z.ZodEnum<{
|
|
666
|
+
accepted: "accepted";
|
|
667
|
+
applied: "applied";
|
|
668
|
+
rejected: "rejected";
|
|
669
|
+
"validation-failed": "validation-failed";
|
|
670
|
+
unsupported: "unsupported";
|
|
671
|
+
}>;
|
|
672
|
+
message: z.ZodOptional<z.ZodString>;
|
|
673
|
+
blockers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
674
|
+
code: z.ZodString;
|
|
675
|
+
message: z.ZodString;
|
|
676
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
677
|
+
unknown: "unknown";
|
|
678
|
+
"missing-policy": "missing-policy";
|
|
679
|
+
"missing-configuration": "missing-configuration";
|
|
680
|
+
"missing-credentials": "missing-credentials";
|
|
681
|
+
"provider-unsupported": "provider-unsupported";
|
|
682
|
+
"permission-blocked": "permission-blocked";
|
|
683
|
+
validation: "validation";
|
|
684
|
+
}>>;
|
|
685
|
+
}, z.core.$strip>>>;
|
|
686
|
+
}, z.core.$loose>;
|
|
687
|
+
type StudioConfigurationMutationResult = z.infer<typeof StudioConfigurationMutationResultSchema>;
|
|
688
|
+
|
|
689
|
+
declare const StudioTelemetryMetricPointSchema: z.ZodObject<{
|
|
690
|
+
timestamp: z.ZodString;
|
|
691
|
+
value: z.ZodNumber;
|
|
692
|
+
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
161
693
|
}, z.core.$strip>;
|
|
162
|
-
type
|
|
163
|
-
declare const
|
|
164
|
-
|
|
694
|
+
type StudioTelemetryMetricPoint = z.infer<typeof StudioTelemetryMetricPointSchema>;
|
|
695
|
+
declare const StudioTraceSummarySchema: z.ZodObject<{
|
|
696
|
+
traceId: z.ZodString;
|
|
697
|
+
rootSpanName: z.ZodOptional<z.ZodString>;
|
|
698
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
699
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
700
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
701
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
702
|
+
error: "error";
|
|
703
|
+
unknown: "unknown";
|
|
704
|
+
ok: "ok";
|
|
705
|
+
}>>;
|
|
706
|
+
spanCount: z.ZodOptional<z.ZodNumber>;
|
|
165
707
|
}, z.core.$strip>;
|
|
166
|
-
type
|
|
167
|
-
declare const
|
|
168
|
-
|
|
708
|
+
type StudioTraceSummary = z.infer<typeof StudioTraceSummarySchema>;
|
|
709
|
+
declare const StudioDashboardDataCapabilitySchema: z.ZodEnum<{
|
|
710
|
+
"telemetry.traces": "telemetry.traces";
|
|
711
|
+
"telemetry.metrics": "telemetry.metrics";
|
|
712
|
+
"cognidesk.agent": "cognidesk.agent";
|
|
713
|
+
"cognidesk.configuration": "cognidesk.configuration";
|
|
714
|
+
"cognidesk.conversations": "cognidesk.conversations";
|
|
715
|
+
"cognidesk.events": "cognidesk.events";
|
|
716
|
+
"cognidesk.snapshots": "cognidesk.snapshots";
|
|
717
|
+
}>;
|
|
718
|
+
type StudioDashboardDataCapability = z.infer<typeof StudioDashboardDataCapabilitySchema>;
|
|
719
|
+
declare const StudioDashboardDataQuerySchema: z.ZodObject<{
|
|
720
|
+
capability: z.ZodEnum<{
|
|
721
|
+
"telemetry.traces": "telemetry.traces";
|
|
722
|
+
"telemetry.metrics": "telemetry.metrics";
|
|
723
|
+
"cognidesk.agent": "cognidesk.agent";
|
|
724
|
+
"cognidesk.configuration": "cognidesk.configuration";
|
|
725
|
+
"cognidesk.conversations": "cognidesk.conversations";
|
|
726
|
+
"cognidesk.events": "cognidesk.events";
|
|
727
|
+
"cognidesk.snapshots": "cognidesk.snapshots";
|
|
728
|
+
}>;
|
|
729
|
+
targetId: z.ZodString;
|
|
730
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
731
|
+
}, z.core.$strip>;
|
|
732
|
+
type StudioDashboardDataQuery = z.infer<typeof StudioDashboardDataQuerySchema>;
|
|
733
|
+
declare const StudioDashboardDatasetSchema: z.ZodObject<{
|
|
734
|
+
id: z.ZodString;
|
|
735
|
+
title: z.ZodString;
|
|
736
|
+
description: z.ZodOptional<z.ZodString>;
|
|
737
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
738
|
+
live: "live";
|
|
739
|
+
static: "static";
|
|
740
|
+
}>>;
|
|
741
|
+
refreshMs: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
source: z.ZodObject<{
|
|
743
|
+
capability: z.ZodEnum<{
|
|
744
|
+
"telemetry.traces": "telemetry.traces";
|
|
745
|
+
"telemetry.metrics": "telemetry.metrics";
|
|
746
|
+
"cognidesk.agent": "cognidesk.agent";
|
|
747
|
+
"cognidesk.configuration": "cognidesk.configuration";
|
|
748
|
+
"cognidesk.conversations": "cognidesk.conversations";
|
|
749
|
+
"cognidesk.events": "cognidesk.events";
|
|
750
|
+
"cognidesk.snapshots": "cognidesk.snapshots";
|
|
751
|
+
}>;
|
|
752
|
+
targetId: z.ZodString;
|
|
753
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
754
|
+
}, z.core.$strip>;
|
|
755
|
+
capturedAt: z.ZodString;
|
|
756
|
+
data: z.ZodUnknown;
|
|
757
|
+
}, z.core.$strip>;
|
|
758
|
+
type StudioDashboardDataset = z.infer<typeof StudioDashboardDatasetSchema>;
|
|
759
|
+
declare const StudioDashboardWidgetSchema: z.ZodObject<{
|
|
760
|
+
id: z.ZodString;
|
|
761
|
+
title: z.ZodString;
|
|
762
|
+
kind: z.ZodEnum<{
|
|
763
|
+
metric: "metric";
|
|
764
|
+
line: "line";
|
|
765
|
+
bar: "bar";
|
|
766
|
+
donut: "donut";
|
|
767
|
+
table: "table";
|
|
768
|
+
insight: "insight";
|
|
769
|
+
}>;
|
|
770
|
+
datasetId: z.ZodOptional<z.ZodString>;
|
|
771
|
+
description: z.ZodOptional<z.ZodString>;
|
|
772
|
+
valuePath: z.ZodOptional<z.ZodString>;
|
|
773
|
+
labelPath: z.ZodOptional<z.ZodString>;
|
|
774
|
+
xPath: z.ZodOptional<z.ZodString>;
|
|
775
|
+
yPath: z.ZodOptional<z.ZodString>;
|
|
776
|
+
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
777
|
+
label: z.ZodString;
|
|
778
|
+
path: z.ZodString;
|
|
779
|
+
}, z.core.$strip>>>;
|
|
780
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
781
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
782
|
+
slate: "slate";
|
|
783
|
+
blue: "blue";
|
|
784
|
+
green: "green";
|
|
785
|
+
amber: "amber";
|
|
786
|
+
red: "red";
|
|
787
|
+
violet: "violet";
|
|
788
|
+
teal: "teal";
|
|
789
|
+
}>>;
|
|
790
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
791
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
792
|
+
label: z.ZodString;
|
|
793
|
+
path: z.ZodString;
|
|
794
|
+
}, z.core.$strip>>>;
|
|
795
|
+
}, z.core.$loose>;
|
|
796
|
+
type StudioDashboardWidget = z.infer<typeof StudioDashboardWidgetSchema>;
|
|
797
|
+
declare const StudioDashboardSpecSchema: z.ZodObject<{
|
|
798
|
+
layout: z.ZodDefault<z.ZodEnum<{
|
|
799
|
+
operations: "operations";
|
|
800
|
+
overview: "overview";
|
|
801
|
+
timeseries: "timeseries";
|
|
802
|
+
comparison: "comparison";
|
|
803
|
+
}>>;
|
|
804
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
805
|
+
widgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
806
|
+
id: z.ZodString;
|
|
807
|
+
title: z.ZodString;
|
|
808
|
+
kind: z.ZodEnum<{
|
|
809
|
+
metric: "metric";
|
|
810
|
+
line: "line";
|
|
811
|
+
bar: "bar";
|
|
812
|
+
donut: "donut";
|
|
813
|
+
table: "table";
|
|
814
|
+
insight: "insight";
|
|
815
|
+
}>;
|
|
816
|
+
datasetId: z.ZodOptional<z.ZodString>;
|
|
817
|
+
description: z.ZodOptional<z.ZodString>;
|
|
818
|
+
valuePath: z.ZodOptional<z.ZodString>;
|
|
819
|
+
labelPath: z.ZodOptional<z.ZodString>;
|
|
820
|
+
xPath: z.ZodOptional<z.ZodString>;
|
|
821
|
+
yPath: z.ZodOptional<z.ZodString>;
|
|
822
|
+
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
823
|
+
label: z.ZodString;
|
|
824
|
+
path: z.ZodString;
|
|
825
|
+
}, z.core.$strip>>>;
|
|
826
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
827
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
828
|
+
slate: "slate";
|
|
829
|
+
blue: "blue";
|
|
830
|
+
green: "green";
|
|
831
|
+
amber: "amber";
|
|
832
|
+
red: "red";
|
|
833
|
+
violet: "violet";
|
|
834
|
+
teal: "teal";
|
|
835
|
+
}>>;
|
|
836
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
837
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
838
|
+
label: z.ZodString;
|
|
839
|
+
path: z.ZodString;
|
|
840
|
+
}, z.core.$strip>>>;
|
|
841
|
+
}, z.core.$loose>>>;
|
|
842
|
+
}, z.core.$loose>;
|
|
843
|
+
type StudioDashboardSpec = z.infer<typeof StudioDashboardSpecSchema>;
|
|
844
|
+
declare const StudioDashboardArtifactSchema: z.ZodObject<{
|
|
845
|
+
id: z.ZodString;
|
|
846
|
+
title: z.ZodString;
|
|
847
|
+
slug: z.ZodString;
|
|
848
|
+
description: z.ZodOptional<z.ZodString>;
|
|
849
|
+
version: z.ZodNumber;
|
|
850
|
+
status: z.ZodEnum<{
|
|
851
|
+
draft: "draft";
|
|
852
|
+
published: "published";
|
|
853
|
+
archived: "archived";
|
|
854
|
+
}>;
|
|
855
|
+
ownerUserId: z.ZodString;
|
|
856
|
+
targetId: z.ZodString;
|
|
857
|
+
artifactKey: z.ZodString;
|
|
858
|
+
renderer: z.ZodObject<{
|
|
859
|
+
kind: z.ZodLiteral<"react-component">;
|
|
860
|
+
entry: z.ZodDefault<z.ZodString>;
|
|
861
|
+
spec: z.ZodOptional<z.ZodObject<{
|
|
862
|
+
layout: z.ZodDefault<z.ZodEnum<{
|
|
863
|
+
operations: "operations";
|
|
864
|
+
overview: "overview";
|
|
865
|
+
timeseries: "timeseries";
|
|
866
|
+
comparison: "comparison";
|
|
867
|
+
}>>;
|
|
868
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
869
|
+
widgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
870
|
+
id: z.ZodString;
|
|
871
|
+
title: z.ZodString;
|
|
872
|
+
kind: z.ZodEnum<{
|
|
873
|
+
metric: "metric";
|
|
874
|
+
line: "line";
|
|
875
|
+
bar: "bar";
|
|
876
|
+
donut: "donut";
|
|
877
|
+
table: "table";
|
|
878
|
+
insight: "insight";
|
|
879
|
+
}>;
|
|
880
|
+
datasetId: z.ZodOptional<z.ZodString>;
|
|
881
|
+
description: z.ZodOptional<z.ZodString>;
|
|
882
|
+
valuePath: z.ZodOptional<z.ZodString>;
|
|
883
|
+
labelPath: z.ZodOptional<z.ZodString>;
|
|
884
|
+
xPath: z.ZodOptional<z.ZodString>;
|
|
885
|
+
yPath: z.ZodOptional<z.ZodString>;
|
|
886
|
+
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
887
|
+
label: z.ZodString;
|
|
888
|
+
path: z.ZodString;
|
|
889
|
+
}, z.core.$strip>>>;
|
|
890
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
891
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
892
|
+
slate: "slate";
|
|
893
|
+
blue: "blue";
|
|
894
|
+
green: "green";
|
|
895
|
+
amber: "amber";
|
|
896
|
+
red: "red";
|
|
897
|
+
violet: "violet";
|
|
898
|
+
teal: "teal";
|
|
899
|
+
}>>;
|
|
900
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
901
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
902
|
+
label: z.ZodString;
|
|
903
|
+
path: z.ZodString;
|
|
904
|
+
}, z.core.$strip>>>;
|
|
905
|
+
}, z.core.$loose>>>;
|
|
906
|
+
}, z.core.$loose>>;
|
|
907
|
+
}, z.core.$strip>;
|
|
908
|
+
datasets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
909
|
+
id: z.ZodString;
|
|
910
|
+
title: z.ZodString;
|
|
911
|
+
description: z.ZodOptional<z.ZodString>;
|
|
912
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
913
|
+
live: "live";
|
|
914
|
+
static: "static";
|
|
915
|
+
}>>;
|
|
916
|
+
refreshMs: z.ZodOptional<z.ZodNumber>;
|
|
917
|
+
source: z.ZodObject<{
|
|
918
|
+
capability: z.ZodEnum<{
|
|
919
|
+
"telemetry.traces": "telemetry.traces";
|
|
920
|
+
"telemetry.metrics": "telemetry.metrics";
|
|
921
|
+
"cognidesk.agent": "cognidesk.agent";
|
|
922
|
+
"cognidesk.configuration": "cognidesk.configuration";
|
|
923
|
+
"cognidesk.conversations": "cognidesk.conversations";
|
|
924
|
+
"cognidesk.events": "cognidesk.events";
|
|
925
|
+
"cognidesk.snapshots": "cognidesk.snapshots";
|
|
926
|
+
}>;
|
|
927
|
+
targetId: z.ZodString;
|
|
928
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
929
|
+
}, z.core.$strip>;
|
|
930
|
+
capturedAt: z.ZodString;
|
|
931
|
+
data: z.ZodUnknown;
|
|
932
|
+
}, z.core.$strip>>>;
|
|
933
|
+
createdAt: z.ZodString;
|
|
934
|
+
updatedAt: z.ZodString;
|
|
935
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
169
936
|
}, z.core.$strip>;
|
|
170
|
-
type
|
|
937
|
+
type StudioDashboardArtifact = z.infer<typeof StudioDashboardArtifactSchema>;
|
|
938
|
+
|
|
171
939
|
declare const StudioJourneyGraphStateSchema: z.ZodObject<{
|
|
172
940
|
id: z.ZodString;
|
|
173
941
|
parentId: z.ZodOptional<z.ZodString>;
|
|
@@ -350,6 +1118,9 @@ declare const StudioAgentIntrospectionSchema: z.ZodObject<{
|
|
|
350
1118
|
toolCount: z.ZodNumber;
|
|
351
1119
|
knowledgeCount: z.ZodNumber;
|
|
352
1120
|
widgetCount: z.ZodNumber;
|
|
1121
|
+
persona: z.ZodOptional<z.ZodUnknown>;
|
|
1122
|
+
channelPolicies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1123
|
+
handoffPolicy: z.ZodOptional<z.ZodUnknown>;
|
|
353
1124
|
}, z.core.$strip>;
|
|
354
1125
|
journeys: z.ZodArray<z.ZodObject<{
|
|
355
1126
|
id: z.ZodString;
|
|
@@ -447,273 +1218,278 @@ declare const StudioAgentIntrospectionSchema: z.ZodObject<{
|
|
|
447
1218
|
widgets: z.ZodArray<z.ZodObject<{
|
|
448
1219
|
kind: z.ZodString;
|
|
449
1220
|
}, z.core.$strip>>;
|
|
450
|
-
|
|
451
|
-
}, z.core.$strip>;
|
|
452
|
-
type StudioAgentIntrospection = z.infer<typeof StudioAgentIntrospectionSchema>;
|
|
453
|
-
declare const StudioConversationSummarySchema: z.ZodObject<{
|
|
454
|
-
id: z.ZodString;
|
|
455
|
-
agentId: z.ZodString;
|
|
456
|
-
lifecycle: z.ZodEnum<{
|
|
457
|
-
active: "active";
|
|
458
|
-
handoff: "handoff";
|
|
459
|
-
closed: "closed";
|
|
460
|
-
}>;
|
|
461
|
-
createdAt: z.ZodString;
|
|
462
|
-
updatedAt: z.ZodString;
|
|
463
|
-
activeJourneyId: z.ZodOptional<z.ZodString>;
|
|
464
|
-
activeStateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
465
|
-
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
466
|
-
traceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
467
|
-
}, z.core.$strip>;
|
|
468
|
-
type StudioConversationSummary = z.infer<typeof StudioConversationSummarySchema>;
|
|
469
|
-
declare const StudioTelemetryMetricPointSchema: z.ZodObject<{
|
|
470
|
-
timestamp: z.ZodString;
|
|
471
|
-
value: z.ZodNumber;
|
|
472
|
-
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
473
|
-
}, z.core.$strip>;
|
|
474
|
-
type StudioTelemetryMetricPoint = z.infer<typeof StudioTelemetryMetricPointSchema>;
|
|
475
|
-
declare const StudioTraceSummarySchema: z.ZodObject<{
|
|
476
|
-
traceId: z.ZodString;
|
|
477
|
-
rootSpanName: z.ZodOptional<z.ZodString>;
|
|
478
|
-
serviceName: z.ZodOptional<z.ZodString>;
|
|
479
|
-
startedAt: z.ZodOptional<z.ZodString>;
|
|
480
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
481
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
482
|
-
error: "error";
|
|
483
|
-
unknown: "unknown";
|
|
484
|
-
ok: "ok";
|
|
485
|
-
}>>;
|
|
486
|
-
spanCount: z.ZodOptional<z.ZodNumber>;
|
|
487
|
-
}, z.core.$strip>;
|
|
488
|
-
type StudioTraceSummary = z.infer<typeof StudioTraceSummarySchema>;
|
|
489
|
-
declare const StudioDashboardDataCapabilitySchema: z.ZodEnum<{
|
|
490
|
-
"telemetry.traces": "telemetry.traces";
|
|
491
|
-
"telemetry.metrics": "telemetry.metrics";
|
|
492
|
-
"cognidesk.agent": "cognidesk.agent";
|
|
493
|
-
"cognidesk.conversations": "cognidesk.conversations";
|
|
494
|
-
"cognidesk.events": "cognidesk.events";
|
|
495
|
-
"cognidesk.snapshots": "cognidesk.snapshots";
|
|
496
|
-
}>;
|
|
497
|
-
type StudioDashboardDataCapability = z.infer<typeof StudioDashboardDataCapabilitySchema>;
|
|
498
|
-
declare const StudioDashboardDataQuerySchema: z.ZodObject<{
|
|
499
|
-
capability: z.ZodEnum<{
|
|
500
|
-
"telemetry.traces": "telemetry.traces";
|
|
501
|
-
"telemetry.metrics": "telemetry.metrics";
|
|
502
|
-
"cognidesk.agent": "cognidesk.agent";
|
|
503
|
-
"cognidesk.conversations": "cognidesk.conversations";
|
|
504
|
-
"cognidesk.events": "cognidesk.events";
|
|
505
|
-
"cognidesk.snapshots": "cognidesk.snapshots";
|
|
506
|
-
}>;
|
|
507
|
-
targetId: z.ZodString;
|
|
508
|
-
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
509
|
-
}, z.core.$strip>;
|
|
510
|
-
type StudioDashboardDataQuery = z.infer<typeof StudioDashboardDataQuerySchema>;
|
|
511
|
-
declare const StudioDashboardDatasetSchema: z.ZodObject<{
|
|
512
|
-
id: z.ZodString;
|
|
513
|
-
title: z.ZodString;
|
|
514
|
-
description: z.ZodOptional<z.ZodString>;
|
|
515
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
516
|
-
static: "static";
|
|
517
|
-
live: "live";
|
|
518
|
-
}>>;
|
|
519
|
-
refreshMs: z.ZodOptional<z.ZodNumber>;
|
|
520
|
-
source: z.ZodObject<{
|
|
521
|
-
capability: z.ZodEnum<{
|
|
522
|
-
"telemetry.traces": "telemetry.traces";
|
|
523
|
-
"telemetry.metrics": "telemetry.metrics";
|
|
524
|
-
"cognidesk.agent": "cognidesk.agent";
|
|
525
|
-
"cognidesk.conversations": "cognidesk.conversations";
|
|
526
|
-
"cognidesk.events": "cognidesk.events";
|
|
527
|
-
"cognidesk.snapshots": "cognidesk.snapshots";
|
|
528
|
-
}>;
|
|
1221
|
+
configurationSurface: z.ZodOptional<z.ZodObject<{
|
|
529
1222
|
targetId: z.ZodString;
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}>;
|
|
547
|
-
datasetId: z.ZodOptional<z.ZodString>;
|
|
548
|
-
description: z.ZodOptional<z.ZodString>;
|
|
549
|
-
valuePath: z.ZodOptional<z.ZodString>;
|
|
550
|
-
labelPath: z.ZodOptional<z.ZodString>;
|
|
551
|
-
xPath: z.ZodOptional<z.ZodString>;
|
|
552
|
-
yPath: z.ZodOptional<z.ZodString>;
|
|
553
|
-
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
554
|
-
label: z.ZodString;
|
|
555
|
-
path: z.ZodString;
|
|
556
|
-
}, z.core.$strip>>>;
|
|
557
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
558
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
559
|
-
slate: "slate";
|
|
560
|
-
blue: "blue";
|
|
561
|
-
green: "green";
|
|
562
|
-
amber: "amber";
|
|
563
|
-
red: "red";
|
|
564
|
-
violet: "violet";
|
|
565
|
-
teal: "teal";
|
|
566
|
-
}>>;
|
|
567
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
568
|
-
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
569
|
-
label: z.ZodString;
|
|
570
|
-
path: z.ZodString;
|
|
571
|
-
}, z.core.$strip>>>;
|
|
572
|
-
}, z.core.$loose>;
|
|
573
|
-
type StudioDashboardWidget = z.infer<typeof StudioDashboardWidgetSchema>;
|
|
574
|
-
declare const StudioDashboardSpecSchema: z.ZodObject<{
|
|
575
|
-
layout: z.ZodDefault<z.ZodEnum<{
|
|
576
|
-
overview: "overview";
|
|
577
|
-
timeseries: "timeseries";
|
|
578
|
-
comparison: "comparison";
|
|
579
|
-
operations: "operations";
|
|
580
|
-
}>>;
|
|
581
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
582
|
-
widgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
583
|
-
id: z.ZodString;
|
|
584
|
-
title: z.ZodString;
|
|
585
|
-
kind: z.ZodEnum<{
|
|
586
|
-
metric: "metric";
|
|
587
|
-
line: "line";
|
|
588
|
-
bar: "bar";
|
|
589
|
-
donut: "donut";
|
|
590
|
-
table: "table";
|
|
591
|
-
insight: "insight";
|
|
592
|
-
}>;
|
|
593
|
-
datasetId: z.ZodOptional<z.ZodString>;
|
|
594
|
-
description: z.ZodOptional<z.ZodString>;
|
|
595
|
-
valuePath: z.ZodOptional<z.ZodString>;
|
|
596
|
-
labelPath: z.ZodOptional<z.ZodString>;
|
|
597
|
-
xPath: z.ZodOptional<z.ZodString>;
|
|
598
|
-
yPath: z.ZodOptional<z.ZodString>;
|
|
599
|
-
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
600
|
-
label: z.ZodString;
|
|
601
|
-
path: z.ZodString;
|
|
602
|
-
}, z.core.$strip>>>;
|
|
603
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
604
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
605
|
-
slate: "slate";
|
|
606
|
-
blue: "blue";
|
|
607
|
-
green: "green";
|
|
608
|
-
amber: "amber";
|
|
609
|
-
red: "red";
|
|
610
|
-
violet: "violet";
|
|
611
|
-
teal: "teal";
|
|
612
|
-
}>>;
|
|
613
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
614
|
-
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
615
|
-
label: z.ZodString;
|
|
616
|
-
path: z.ZodString;
|
|
1223
|
+
channelSets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1224
|
+
id: z.ZodString;
|
|
1225
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1227
|
+
channelIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1228
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1229
|
+
conversationContinuity: z.ZodOptional<z.ZodObject<{
|
|
1230
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
1231
|
+
"new-conversation": "new-conversation";
|
|
1232
|
+
"link-existing": "link-existing";
|
|
1233
|
+
"sdk-decides": "sdk-decides";
|
|
1234
|
+
}>>;
|
|
1235
|
+
crossChannel: z.ZodDefault<z.ZodBoolean>;
|
|
1236
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
}, z.core.$strip>>;
|
|
1238
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
617
1239
|
}, z.core.$strip>>>;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
description: z.ZodOptional<z.ZodString>;
|
|
626
|
-
version: z.ZodNumber;
|
|
627
|
-
status: z.ZodEnum<{
|
|
628
|
-
draft: "draft";
|
|
629
|
-
published: "published";
|
|
630
|
-
archived: "archived";
|
|
631
|
-
}>;
|
|
632
|
-
ownerUserId: z.ZodString;
|
|
633
|
-
targetId: z.ZodString;
|
|
634
|
-
artifactKey: z.ZodString;
|
|
635
|
-
renderer: z.ZodObject<{
|
|
636
|
-
kind: z.ZodLiteral<"react-component">;
|
|
637
|
-
entry: z.ZodDefault<z.ZodString>;
|
|
638
|
-
spec: z.ZodOptional<z.ZodObject<{
|
|
639
|
-
layout: z.ZodDefault<z.ZodEnum<{
|
|
640
|
-
overview: "overview";
|
|
641
|
-
timeseries: "timeseries";
|
|
642
|
-
comparison: "comparison";
|
|
643
|
-
operations: "operations";
|
|
1240
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1241
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1242
|
+
channel: z.ZodString;
|
|
1243
|
+
audience: z.ZodOptional<z.ZodEnum<{
|
|
1244
|
+
"customer-facing": "customer-facing";
|
|
1245
|
+
"internal-support": "internal-support";
|
|
1246
|
+
mixed: "mixed";
|
|
644
1247
|
}>>;
|
|
645
|
-
|
|
646
|
-
|
|
1248
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1249
|
+
channelSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1250
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1251
|
+
enabledCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1252
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1253
|
+
policyDetails: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
647
1254
|
id: z.ZodString;
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
1255
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
value: z.ZodUnknown;
|
|
1257
|
+
}, z.core.$strip>>>;
|
|
1258
|
+
flowActivations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1259
|
+
journeyId: z.ZodString;
|
|
1260
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1261
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1263
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1264
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1265
|
+
}, z.core.$strip>>>;
|
|
1266
|
+
behavior: z.ZodOptional<z.ZodObject<{
|
|
1267
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
maxWords: z.ZodOptional<z.ZodNumber>;
|
|
1269
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1270
|
+
allowMarkdown: z.ZodOptional<z.ZodBoolean>;
|
|
1271
|
+
allowWidgets: z.ZodOptional<z.ZodBoolean>;
|
|
1272
|
+
draftFirst: z.ZodOptional<z.ZodBoolean>;
|
|
1273
|
+
approval: z.ZodOptional<z.ZodUnknown>;
|
|
1274
|
+
sensitiveData: z.ZodOptional<z.ZodUnknown>;
|
|
1275
|
+
media: z.ZodOptional<z.ZodUnknown>;
|
|
1276
|
+
handoff: z.ZodOptional<z.ZodUnknown>;
|
|
1277
|
+
}, z.core.$loose>>;
|
|
1278
|
+
outbound: z.ZodOptional<z.ZodObject<{
|
|
1279
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1280
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1281
|
+
requiresProviderOutboundSupport: z.ZodDefault<z.ZodBoolean>;
|
|
1282
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1283
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1284
|
+
}, z.core.$strip>>;
|
|
1285
|
+
handoff: z.ZodOptional<z.ZodObject<{
|
|
1286
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1287
|
+
providerPackageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1288
|
+
destinations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1289
|
+
sdkControlled: z.ZodOptional<z.ZodBoolean>;
|
|
1290
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1291
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1292
|
+
}, z.core.$strip>>;
|
|
1293
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1294
|
+
}, z.core.$strip>>>;
|
|
1295
|
+
providerPackages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1296
|
+
id: z.ZodString;
|
|
1297
|
+
name: z.ZodString;
|
|
1298
|
+
packageName: z.ZodString;
|
|
1299
|
+
provider: z.ZodString;
|
|
1300
|
+
category: z.ZodString;
|
|
1301
|
+
trustLevel: z.ZodEnum<{
|
|
1302
|
+
official: "official";
|
|
1303
|
+
verified: "verified";
|
|
1304
|
+
community: "community";
|
|
1305
|
+
experimental: "experimental";
|
|
1306
|
+
}>;
|
|
1307
|
+
directions: z.ZodArray<z.ZodEnum<{
|
|
1308
|
+
"receive-only": "receive-only";
|
|
1309
|
+
"send-only": "send-only";
|
|
1310
|
+
"inbound-only": "inbound-only";
|
|
1311
|
+
"outbound-only": "outbound-only";
|
|
1312
|
+
bidirectional: "bidirectional";
|
|
1313
|
+
}>>;
|
|
1314
|
+
channelAudiences: z.ZodArray<z.ZodEnum<{
|
|
1315
|
+
"customer-facing": "customer-facing";
|
|
1316
|
+
"internal-support": "internal-support";
|
|
1317
|
+
mixed: "mixed";
|
|
1318
|
+
}>>;
|
|
1319
|
+
coverage: z.ZodDefault<z.ZodObject<{
|
|
1320
|
+
scope: z.ZodEnum<{
|
|
1321
|
+
"support-workflow-subset": "support-workflow-subset";
|
|
1322
|
+
"provider-api-subset": "provider-api-subset";
|
|
1323
|
+
"connector-required": "connector-required";
|
|
1324
|
+
"local-protocol": "local-protocol";
|
|
1325
|
+
"full-provider-api": "full-provider-api";
|
|
656
1326
|
}>;
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
valuePath: z.ZodOptional<z.ZodString>;
|
|
660
|
-
labelPath: z.ZodOptional<z.ZodString>;
|
|
661
|
-
xPath: z.ZodOptional<z.ZodString>;
|
|
662
|
-
yPath: z.ZodOptional<z.ZodString>;
|
|
663
|
-
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1327
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1328
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
664
1329
|
label: z.ZodString;
|
|
665
|
-
|
|
1330
|
+
url: z.ZodOptional<z.ZodString>;
|
|
666
1331
|
}, z.core.$strip>>>;
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
1332
|
+
}, z.core.$strip>>;
|
|
1333
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
1334
|
+
capability: z.ZodString;
|
|
1335
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
extension: z.ZodDefault<z.ZodBoolean>;
|
|
1338
|
+
audiences: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1339
|
+
"customer-facing": "customer-facing";
|
|
1340
|
+
"internal-support": "internal-support";
|
|
1341
|
+
mixed: "mixed";
|
|
1342
|
+
}>>>;
|
|
1343
|
+
requiresCredential: z.ZodDefault<z.ZodBoolean>;
|
|
1344
|
+
sideEffect: z.ZodDefault<z.ZodBoolean>;
|
|
1345
|
+
exposesSensitiveData: z.ZodDefault<z.ZodBoolean>;
|
|
1346
|
+
changesWorkflow: z.ZodDefault<z.ZodBoolean>;
|
|
1347
|
+
providerObjects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1348
|
+
kind: z.ZodString;
|
|
1349
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
schemaName: z.ZodOptional<z.ZodString>;
|
|
1352
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
681
1353
|
}, z.core.$strip>>>;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
1354
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1355
|
+
}, z.core.$strip>>;
|
|
1356
|
+
credentialRequirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1357
|
+
id: z.ZodString;
|
|
1358
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1359
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1361
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1362
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1363
|
+
}, z.core.$strip>>>;
|
|
1364
|
+
privacyNotes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1365
|
+
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1366
|
+
maintainers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1367
|
+
name: z.ZodString;
|
|
1368
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
1369
|
+
official: "official";
|
|
1370
|
+
community: "community";
|
|
1371
|
+
unknown: "unknown";
|
|
1372
|
+
partner: "partner";
|
|
1373
|
+
}>>;
|
|
1374
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
}, z.core.$strip>>>;
|
|
1376
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1377
|
+
}, z.core.$strip>>>;
|
|
1378
|
+
capabilityAvailability: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1379
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
capability: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
status: z.ZodEnum<{
|
|
1382
|
+
"registry-available": "registry-available";
|
|
1383
|
+
installed: "installed";
|
|
1384
|
+
configured: "configured";
|
|
1385
|
+
enabled: "enabled";
|
|
1386
|
+
blocked: "blocked";
|
|
702
1387
|
}>;
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
1388
|
+
enabledForChannels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1389
|
+
enabledForAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1390
|
+
enabledForJourneys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1391
|
+
enabledForTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1392
|
+
blockers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1393
|
+
code: z.ZodString;
|
|
1394
|
+
message: z.ZodString;
|
|
1395
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
1396
|
+
unknown: "unknown";
|
|
1397
|
+
"missing-policy": "missing-policy";
|
|
1398
|
+
"missing-configuration": "missing-configuration";
|
|
1399
|
+
"missing-credentials": "missing-credentials";
|
|
1400
|
+
"provider-unsupported": "provider-unsupported";
|
|
1401
|
+
"permission-blocked": "permission-blocked";
|
|
1402
|
+
}>>;
|
|
1403
|
+
}, z.core.$strip>>>;
|
|
1404
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1405
|
+
}, z.core.$strip>>>;
|
|
1406
|
+
credentialStatuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1407
|
+
providerPackageId: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
requirementId: z.ZodString;
|
|
1409
|
+
state: z.ZodEnum<{
|
|
1410
|
+
required: "required";
|
|
1411
|
+
configured: "configured";
|
|
1412
|
+
"permission-blocked": "permission-blocked";
|
|
1413
|
+
"not-required": "not-required";
|
|
1414
|
+
missing: "missing";
|
|
1415
|
+
expired: "expired";
|
|
1416
|
+
"insufficient-scope": "insufficient-scope";
|
|
1417
|
+
unavailable: "unavailable";
|
|
1418
|
+
}>;
|
|
1419
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1420
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
}, z.core.$strip>>>;
|
|
1423
|
+
providerReadiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1424
|
+
providerPackageId: z.ZodString;
|
|
1425
|
+
status: z.ZodEnum<{
|
|
1426
|
+
unknown: "unknown";
|
|
1427
|
+
configured: "configured";
|
|
1428
|
+
blocked: "blocked";
|
|
1429
|
+
"not-configured": "not-configured";
|
|
1430
|
+
ready: "ready";
|
|
1431
|
+
"live-verified": "live-verified";
|
|
1432
|
+
"sandbox-verified": "sandbox-verified";
|
|
1433
|
+
"scoped-verified": "scoped-verified";
|
|
1434
|
+
"full-api-verified": "full-api-verified";
|
|
1435
|
+
}>;
|
|
1436
|
+
checkedAt: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
checkSource: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
1439
|
+
sandbox: z.ZodOptional<z.ZodBoolean>;
|
|
1440
|
+
blockers: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1441
|
+
code: z.ZodString;
|
|
1442
|
+
message: z.ZodString;
|
|
1443
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
1444
|
+
unknown: "unknown";
|
|
1445
|
+
"missing-policy": "missing-policy";
|
|
1446
|
+
"missing-configuration": "missing-configuration";
|
|
1447
|
+
"missing-credentials": "missing-credentials";
|
|
1448
|
+
"provider-unsupported": "provider-unsupported";
|
|
1449
|
+
"permission-blocked": "permission-blocked";
|
|
1450
|
+
}>>;
|
|
1451
|
+
}, z.core.$strip>>>>;
|
|
1452
|
+
remediationActions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1453
|
+
id: z.ZodString;
|
|
1454
|
+
label: z.ZodString;
|
|
1455
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
1456
|
+
custom: "custom";
|
|
1457
|
+
configure: "configure";
|
|
1458
|
+
authorize: "authorize";
|
|
1459
|
+
verify: "verify";
|
|
1460
|
+
"read-docs": "read-docs";
|
|
1461
|
+
"contact-provider": "contact-provider";
|
|
1462
|
+
}>>;
|
|
1463
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1464
|
+
}, z.core.$strip>>>;
|
|
1465
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1466
|
+
}, z.core.$strip>>>;
|
|
1467
|
+
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
706
1468
|
capturedAt: z.ZodString;
|
|
707
|
-
|
|
708
|
-
|
|
1469
|
+
}, z.core.$strip>>;
|
|
1470
|
+
capturedAt: z.ZodString;
|
|
1471
|
+
}, z.core.$strip>;
|
|
1472
|
+
type StudioAgentIntrospection = z.infer<typeof StudioAgentIntrospectionSchema>;
|
|
1473
|
+
declare const StudioConversationSummarySchema: z.ZodObject<{
|
|
1474
|
+
id: z.ZodString;
|
|
1475
|
+
agentId: z.ZodString;
|
|
1476
|
+
lifecycle: z.ZodEnum<{
|
|
1477
|
+
handoff: "handoff";
|
|
1478
|
+
active: "active";
|
|
1479
|
+
closed: "closed";
|
|
1480
|
+
}>;
|
|
709
1481
|
createdAt: z.ZodString;
|
|
710
1482
|
updatedAt: z.ZodString;
|
|
711
|
-
|
|
1483
|
+
activeJourneyId: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
activeStateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1485
|
+
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
1486
|
+
traceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
712
1487
|
}, z.core.$strip>;
|
|
713
|
-
type
|
|
1488
|
+
type StudioConversationSummary = z.infer<typeof StudioConversationSummarySchema>;
|
|
1489
|
+
|
|
714
1490
|
declare const StudioOperatorSurfaceSchema: z.ZodEnum<{
|
|
715
|
-
conversation: "conversation";
|
|
716
1491
|
evidence: "evidence";
|
|
1492
|
+
conversation: "conversation";
|
|
717
1493
|
artifacts: "artifacts";
|
|
718
1494
|
sandbox_diff: "sandbox_diff";
|
|
719
1495
|
validation_runs: "validation_runs";
|
|
@@ -729,6 +1505,8 @@ declare const StudioOperatorReasoningEffortSchema: z.ZodEnum<{
|
|
|
729
1505
|
xhigh: "xhigh";
|
|
730
1506
|
}>;
|
|
731
1507
|
type StudioOperatorReasoningEffort = z.infer<typeof StudioOperatorReasoningEffortSchema>;
|
|
1508
|
+
declare const StudioOperatorSessionIdSchema: z.ZodString;
|
|
1509
|
+
type StudioOperatorSessionId = z.infer<typeof StudioOperatorSessionIdSchema>;
|
|
732
1510
|
declare const StudioOperatorClientEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
733
1511
|
type: z.ZodLiteral<"session.start">;
|
|
734
1512
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -781,8 +1559,8 @@ declare const StudioOperatorServerEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
781
1559
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
782
1560
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
783
1561
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
784
|
-
conversation: "conversation";
|
|
785
1562
|
evidence: "evidence";
|
|
1563
|
+
conversation: "conversation";
|
|
786
1564
|
artifacts: "artifacts";
|
|
787
1565
|
sandbox_diff: "sandbox_diff";
|
|
788
1566
|
validation_runs: "validation_runs";
|
|
@@ -837,6 +1615,7 @@ declare const StudioOperatorServerEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
837
1615
|
publish_dashboard: "publish_dashboard";
|
|
838
1616
|
create_pr: "create_pr";
|
|
839
1617
|
grant_credentials: "grant_credentials";
|
|
1618
|
+
update_configuration: "update_configuration";
|
|
840
1619
|
}>;
|
|
841
1620
|
title: z.ZodString;
|
|
842
1621
|
payload: z.ZodUnknown;
|
|
@@ -849,6 +1628,159 @@ declare const StudioOperatorServerEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
849
1628
|
message: z.ZodString;
|
|
850
1629
|
}, z.core.$strip>], "type">;
|
|
851
1630
|
type StudioOperatorServerEvent = z.infer<typeof StudioOperatorServerEventSchema>;
|
|
1631
|
+
|
|
852
1632
|
declare function jsonResponse<T>(value: T, init?: ResponseInit): Response;
|
|
853
1633
|
|
|
854
|
-
|
|
1634
|
+
declare const StudioToolSummarySchema: z.ZodObject<{
|
|
1635
|
+
name: z.ZodString;
|
|
1636
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
sideEffect: z.ZodBoolean;
|
|
1638
|
+
}, z.core.$strip>;
|
|
1639
|
+
type StudioToolSummary = z.infer<typeof StudioToolSummarySchema>;
|
|
1640
|
+
declare const StudioKnowledgeSummarySchema: z.ZodObject<{
|
|
1641
|
+
name: z.ZodString;
|
|
1642
|
+
}, z.core.$strip>;
|
|
1643
|
+
type StudioKnowledgeSummary = z.infer<typeof StudioKnowledgeSummarySchema>;
|
|
1644
|
+
declare const StudioWidgetSummarySchema: z.ZodObject<{
|
|
1645
|
+
kind: z.ZodString;
|
|
1646
|
+
}, z.core.$strip>;
|
|
1647
|
+
type StudioWidgetSummary = z.infer<typeof StudioWidgetSummarySchema>;
|
|
1648
|
+
|
|
1649
|
+
declare const StudioTargetManifestSchema: z.ZodObject<{
|
|
1650
|
+
version: z.ZodLiteral<1>;
|
|
1651
|
+
target: z.ZodObject<{
|
|
1652
|
+
id: z.ZodString;
|
|
1653
|
+
name: z.ZodString;
|
|
1654
|
+
environment: z.ZodDefault<z.ZodString>;
|
|
1655
|
+
}, z.core.$strip>;
|
|
1656
|
+
runtime: z.ZodObject<{
|
|
1657
|
+
baseUrl: z.ZodString;
|
|
1658
|
+
apiBasePath: z.ZodDefault<z.ZodString>;
|
|
1659
|
+
studioAdapterBasePath: z.ZodDefault<z.ZodString>;
|
|
1660
|
+
serviceAuthHeader: z.ZodDefault<z.ZodString>;
|
|
1661
|
+
}, z.core.$strip>;
|
|
1662
|
+
telemetry: z.ZodDefault<z.ZodObject<{
|
|
1663
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1664
|
+
id: z.ZodString;
|
|
1665
|
+
label: z.ZodString;
|
|
1666
|
+
kind: z.ZodEnum<{
|
|
1667
|
+
prometheus: "prometheus";
|
|
1668
|
+
tempo: "tempo";
|
|
1669
|
+
"otel-http": "otel-http";
|
|
1670
|
+
}>;
|
|
1671
|
+
baseUrl: z.ZodString;
|
|
1672
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1673
|
+
}, z.core.$strip>>>;
|
|
1674
|
+
}, z.core.$strip>>;
|
|
1675
|
+
source: z.ZodObject<{
|
|
1676
|
+
provider: z.ZodLiteral<"github">;
|
|
1677
|
+
owner: z.ZodString;
|
|
1678
|
+
repo: z.ZodString;
|
|
1679
|
+
defaultBranch: z.ZodDefault<z.ZodString>;
|
|
1680
|
+
root: z.ZodDefault<z.ZodString>;
|
|
1681
|
+
}, z.core.$strip>;
|
|
1682
|
+
code: z.ZodDefault<z.ZodObject<{
|
|
1683
|
+
allowedPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1684
|
+
validationCommands: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1685
|
+
id: z.ZodString;
|
|
1686
|
+
label: z.ZodString;
|
|
1687
|
+
command: z.ZodString;
|
|
1688
|
+
workingDirectory: z.ZodDefault<z.ZodString>;
|
|
1689
|
+
}, z.core.$strip>>>;
|
|
1690
|
+
}, z.core.$strip>>;
|
|
1691
|
+
dashboards: z.ZodObject<{
|
|
1692
|
+
artifactBucket: z.ZodString;
|
|
1693
|
+
artifactPrefix: z.ZodDefault<z.ZodString>;
|
|
1694
|
+
}, z.core.$strip>;
|
|
1695
|
+
operator: z.ZodDefault<z.ZodObject<{
|
|
1696
|
+
instructionsPath: z.ZodDefault<z.ZodString>;
|
|
1697
|
+
skillPacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1698
|
+
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1699
|
+
id: z.ZodString;
|
|
1700
|
+
label: z.ZodString;
|
|
1701
|
+
provider: z.ZodString;
|
|
1702
|
+
model: z.ZodString;
|
|
1703
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
1704
|
+
}, z.core.$strip>>>;
|
|
1705
|
+
allowedCredentialGrants: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1706
|
+
telemetry: "telemetry";
|
|
1707
|
+
github: "github";
|
|
1708
|
+
package_registry: "package_registry";
|
|
1709
|
+
artifact_store: "artifact_store";
|
|
1710
|
+
studio_adapter: "studio_adapter";
|
|
1711
|
+
backend_service: "backend_service";
|
|
1712
|
+
}>>>;
|
|
1713
|
+
}, z.core.$strip>>;
|
|
1714
|
+
}, z.core.$strip>;
|
|
1715
|
+
type StudioTargetManifest = z.infer<typeof StudioTargetManifestSchema>;
|
|
1716
|
+
type StudioTargetManifestInput = z.input<typeof StudioTargetManifestSchema>;
|
|
1717
|
+
declare const StudioTargetOverlaySchema: z.ZodObject<{
|
|
1718
|
+
version: z.ZodOptional<z.ZodLiteral<1>>;
|
|
1719
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
1720
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
}, z.core.$strip>>;
|
|
1724
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
1725
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
apiBasePath: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
studioAdapterBasePath: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
serviceAuthHeader: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
}, z.core.$strip>>;
|
|
1730
|
+
telemetry: z.ZodOptional<z.ZodObject<{
|
|
1731
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1732
|
+
id: z.ZodString;
|
|
1733
|
+
label: z.ZodString;
|
|
1734
|
+
kind: z.ZodEnum<{
|
|
1735
|
+
prometheus: "prometheus";
|
|
1736
|
+
tempo: "tempo";
|
|
1737
|
+
"otel-http": "otel-http";
|
|
1738
|
+
}>;
|
|
1739
|
+
baseUrl: z.ZodString;
|
|
1740
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1741
|
+
}, z.core.$strip>>>;
|
|
1742
|
+
}, z.core.$strip>>;
|
|
1743
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1744
|
+
provider: z.ZodOptional<z.ZodLiteral<"github">>;
|
|
1745
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
1748
|
+
root: z.ZodOptional<z.ZodString>;
|
|
1749
|
+
}, z.core.$strip>>;
|
|
1750
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
1751
|
+
allowedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1752
|
+
validationCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1753
|
+
id: z.ZodString;
|
|
1754
|
+
label: z.ZodString;
|
|
1755
|
+
command: z.ZodString;
|
|
1756
|
+
workingDirectory: z.ZodDefault<z.ZodString>;
|
|
1757
|
+
}, z.core.$strip>>>;
|
|
1758
|
+
}, z.core.$strip>>;
|
|
1759
|
+
dashboards: z.ZodOptional<z.ZodObject<{
|
|
1760
|
+
artifactBucket: z.ZodOptional<z.ZodString>;
|
|
1761
|
+
artifactPrefix: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
}, z.core.$strip>>;
|
|
1763
|
+
operator: z.ZodOptional<z.ZodObject<{
|
|
1764
|
+
instructionsPath: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
skillPacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1766
|
+
models: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1767
|
+
id: z.ZodString;
|
|
1768
|
+
label: z.ZodString;
|
|
1769
|
+
provider: z.ZodString;
|
|
1770
|
+
model: z.ZodString;
|
|
1771
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
1772
|
+
}, z.core.$strip>>>;
|
|
1773
|
+
allowedCredentialGrants: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1774
|
+
telemetry: "telemetry";
|
|
1775
|
+
github: "github";
|
|
1776
|
+
package_registry: "package_registry";
|
|
1777
|
+
artifact_store: "artifact_store";
|
|
1778
|
+
studio_adapter: "studio_adapter";
|
|
1779
|
+
backend_service: "backend_service";
|
|
1780
|
+
}>>>;
|
|
1781
|
+
}, z.core.$strip>>;
|
|
1782
|
+
}, z.core.$strip>;
|
|
1783
|
+
type StudioTargetOverlay = z.infer<typeof StudioTargetOverlaySchema>;
|
|
1784
|
+
declare function mergeStudioTargetManifest(base: StudioTargetManifestInput, overlay?: StudioTargetOverlay): StudioTargetManifest;
|
|
1785
|
+
|
|
1786
|
+
export { type StudioActionAudience, StudioActionAudienceSchema, type StudioAgentIntrospection, StudioAgentIntrospectionSchema, type StudioCapabilityAvailability, StudioCapabilityAvailabilitySchema, type StudioChannelAudience, StudioChannelAudienceSchema, type StudioChannelBehaviorPolicy, StudioChannelBehaviorPolicySchema, type StudioChannelCapability, StudioChannelCapabilitySchema, type StudioChannelConfiguration, StudioChannelConfigurationSchema, type StudioChannelFlowActivation, StudioChannelFlowActivationSchema, type StudioChannelHandoffPolicy, StudioChannelHandoffPolicySchema, type StudioChannelOutboundPolicy, StudioChannelOutboundPolicySchema, type StudioChannelPolicyDetail, StudioChannelPolicyDetailSchema, type StudioChannelSetConfiguration, StudioChannelSetConfigurationSchema, type StudioConfigurationMutationOperation, StudioConfigurationMutationOperationSchema, type StudioConfigurationMutationRequest, StudioConfigurationMutationRequestSchema, type StudioConfigurationMutationResult, StudioConfigurationMutationResultSchema, type StudioConfigurationSurface, StudioConfigurationSurfaceSchema, type StudioConversationSummary, StudioConversationSummarySchema, type StudioDashboardArtifact, StudioDashboardArtifactSchema, type StudioDashboardDataCapability, StudioDashboardDataCapabilitySchema, type StudioDashboardDataQuery, StudioDashboardDataQuerySchema, type StudioDashboardDataset, StudioDashboardDatasetSchema, type StudioDashboardSpec, StudioDashboardSpecSchema, type StudioDashboardWidget, StudioDashboardWidgetSchema, type StudioJourneyGraph, StudioJourneyGraphSchema, StudioJourneyGraphStateSchema, type StudioJourneySummary, StudioJourneySummarySchema, type StudioKnowledgeSummary, StudioKnowledgeSummarySchema, type StudioOperatorClientEvent, StudioOperatorClientEventSchema, type StudioOperatorReasoningEffort, StudioOperatorReasoningEffortSchema, type StudioOperatorServerEvent, StudioOperatorServerEventSchema, type StudioOperatorSessionId, StudioOperatorSessionIdSchema, type StudioOperatorSurface, StudioOperatorSurfaceSchema, type StudioPermission, StudioPermissionSchema, type StudioProviderCoverageScope, StudioProviderCoverageScopeSchema, type StudioProviderCredentialStatus, StudioProviderCredentialStatusSchema, type StudioProviderDirection, StudioProviderDirectionSchema, type StudioProviderPackageSummary, StudioProviderPackageSummarySchema, type StudioProviderReadiness, StudioProviderReadinessSchema, type StudioProviderTrustLevel, StudioProviderTrustLevelSchema, type StudioRole, StudioRoleSchema, type StudioTargetManifest, type StudioTargetManifestInput, StudioTargetManifestSchema, type StudioTargetOverlay, StudioTargetOverlaySchema, type StudioTelemetryMetricPoint, StudioTelemetryMetricPointSchema, type StudioToolSummary, StudioToolSummarySchema, type StudioTraceSummary, StudioTraceSummarySchema, type StudioWidgetSummary, StudioWidgetSummarySchema, jsonResponse, mergeStudioTargetManifest, permissionsByRole, roleHasPermission };
|