@gravity-rail/sdk 3.2.0 → 6.0.0
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 +20 -3
- package/dist/account-CSJJbLIj.d.cts +459 -0
- package/dist/account-CSJJbLIj.d.ts +459 -0
- package/dist/{path-ChuuGGLG.d.ts → agent_standing_job-CqKpMoHO.d.cts} +1099 -153
- package/dist/{path-CXnjBalr.d.cts → agent_standing_job-yehTe972.d.ts} +1099 -153
- package/dist/{chat-interaction-Cc9hQNyx.d.ts → chat-interaction-BtUtVszg.d.ts} +14107 -9967
- package/dist/{chat-interaction-CoHsIqyX.d.cts → chat-interaction-CAfwlYvv.d.cts} +14107 -9967
- package/dist/{chunk-MAPAZORN.js → chunk-L4XC6KDG.js} +1940 -605
- package/dist/chunk-L4XC6KDG.js.map +1 -0
- package/dist/{chunk-D5VNVTUQ.js → chunk-P2MSMMMJ.js} +120 -2
- package/dist/chunk-P2MSMMMJ.js.map +1 -0
- package/dist/{chunk-RLFS7O2L.js → chunk-P2X5TOYY.js} +211 -83
- package/dist/chunk-P2X5TOYY.js.map +1 -0
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +3 -2
- package/dist/helpers.d.ts +3 -2
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +2309 -1146
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -249
- package/dist/index.d.ts +87 -249
- package/dist/index.js +171 -458
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +2333 -710
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2486 -285
- package/dist/internal.d.ts +2486 -285
- package/dist/internal.js +158 -31
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-BWyl88Qx.d.ts → member-import-C5nnoGvW.d.ts} +1 -1
- package/dist/{member-import-9h52_4KO.d.cts → member-import-DhaNVT7s.d.cts} +1 -1
- package/dist/realtime.cjs +250 -3
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +87 -4
- package/dist/realtime.d.ts +87 -4
- package/dist/realtime.js +245 -3
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.cjs +156 -23
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +623 -72
- package/dist/schemas.d.ts +623 -72
- package/dist/schemas.js +74 -25
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-B7tIHQcS.d.cts → tasks-A12E_RLa.d.cts} +2275 -2043
- package/dist/{tasks-B7tIHQcS.d.ts → tasks-DrmyOlRh.d.ts} +2275 -2043
- package/dist/{types-BXaWYGHj.d.cts → types-Bv6GtLZ2.d.cts} +25 -2
- package/dist/{types-BXaWYGHj.d.ts → types-Bv6GtLZ2.d.ts} +25 -2
- package/package.json +5 -5
- package/dist/chunk-D5VNVTUQ.js.map +0 -1
- package/dist/chunk-MAPAZORN.js.map +0 -1
- package/dist/chunk-RLFS7O2L.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cz as ChannelMessagesUnavailableReason, ux as UiPromptProposedMessage, pT as Resource$1, a2 as ActivityEventLine, S as ActivityAggregateResponse, a4 as ActivityEventsResponse, nf as PathDefinition } from './chat-interaction-CAfwlYvv.cjs';
|
|
2
|
+
import { eU as SortOrder } from './tasks-A12E_RLa.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
@@ -43,6 +43,221 @@ interface AdminDomainWidgetMapping {
|
|
|
43
43
|
port?: number | null;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
/**
|
|
47
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
48
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
49
|
+
* Group: agent_policy
|
|
50
|
+
*/
|
|
51
|
+
interface AgentBehaviorPolicy {
|
|
52
|
+
verbosity?: AgentBehaviorPolicyVerbosity;
|
|
53
|
+
acknowledgements?: AgentBehaviorPolicyAcknowledgements;
|
|
54
|
+
approvalPresentation?: AgentBehaviorPolicyApprovalPresentation;
|
|
55
|
+
quietHours?: AgentTimeWindow | null;
|
|
56
|
+
}
|
|
57
|
+
type AgentBehaviorPolicyAcknowledgements = typeof AgentBehaviorPolicyAcknowledgements[keyof typeof AgentBehaviorPolicyAcknowledgements];
|
|
58
|
+
declare const AgentBehaviorPolicyAcknowledgements: {
|
|
59
|
+
readonly none: "none";
|
|
60
|
+
readonly status: "status";
|
|
61
|
+
};
|
|
62
|
+
type AgentBehaviorPolicyApprovalPresentation = typeof AgentBehaviorPolicyApprovalPresentation[keyof typeof AgentBehaviorPolicyApprovalPresentation];
|
|
63
|
+
declare const AgentBehaviorPolicyApprovalPresentation: {
|
|
64
|
+
readonly concise: "concise";
|
|
65
|
+
readonly detailed: "detailed";
|
|
66
|
+
};
|
|
67
|
+
type AgentBehaviorPolicyVerbosity = typeof AgentBehaviorPolicyVerbosity[keyof typeof AgentBehaviorPolicyVerbosity];
|
|
68
|
+
declare const AgentBehaviorPolicyVerbosity: {
|
|
69
|
+
readonly concise: "concise";
|
|
70
|
+
readonly balanced: "balanced";
|
|
71
|
+
readonly detailed: "detailed";
|
|
72
|
+
};
|
|
73
|
+
interface AgentMemoryPolicy {
|
|
74
|
+
writes?: AgentMemoryPolicyWrites;
|
|
75
|
+
}
|
|
76
|
+
type AgentMemoryPolicyWrites = typeof AgentMemoryPolicyWrites[keyof typeof AgentMemoryPolicyWrites];
|
|
77
|
+
declare const AgentMemoryPolicyWrites: {
|
|
78
|
+
readonly disabled: "disabled";
|
|
79
|
+
readonly requester_private: "requester_private";
|
|
80
|
+
};
|
|
81
|
+
interface AgentTimeWindow {
|
|
82
|
+
/**
|
|
83
|
+
* @minLength 1
|
|
84
|
+
* @maxLength 64
|
|
85
|
+
*/
|
|
86
|
+
timezone?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @minimum 0
|
|
89
|
+
* @exclusiveMaximum 1440
|
|
90
|
+
*/
|
|
91
|
+
startMinute: number;
|
|
92
|
+
/**
|
|
93
|
+
* @minimum 0
|
|
94
|
+
* @exclusiveMaximum 1440
|
|
95
|
+
*/
|
|
96
|
+
endMinute: number;
|
|
97
|
+
/**
|
|
98
|
+
* @minItems 1
|
|
99
|
+
* @maxItems 7
|
|
100
|
+
*/
|
|
101
|
+
weekdays?: number[];
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
106
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
107
|
+
* Group: org_colleague
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Configuration fields consumed by the organization Agent runtime.
|
|
112
|
+
*
|
|
113
|
+
* These mirror the corresponding workspace Agent fields while keeping
|
|
114
|
+
* workspace role and contact fields out of an organization identity.
|
|
115
|
+
*/
|
|
116
|
+
interface AgentConfiguration {
|
|
117
|
+
/** @maxLength 100000 */
|
|
118
|
+
systemPrompt?: string;
|
|
119
|
+
chatModelId?: string | null;
|
|
120
|
+
chatModelConfig?: AgentConfigurationChatModelConfig;
|
|
121
|
+
realtimeModelId?: string | null;
|
|
122
|
+
realtimeModelConfig?: AgentConfigurationRealtimeModelConfig;
|
|
123
|
+
/** @maxItems 128 */
|
|
124
|
+
tools?: string[];
|
|
125
|
+
codeInterpreterEnabled?: boolean;
|
|
126
|
+
webBrowserEnabled?: boolean;
|
|
127
|
+
maxDailyActions?: number | null;
|
|
128
|
+
maxJobCredits?: number | null;
|
|
129
|
+
maxDailyCredits?: number | null;
|
|
130
|
+
behaviorPolicy?: AgentBehaviorPolicy;
|
|
131
|
+
memoryPolicy?: AgentMemoryPolicy;
|
|
132
|
+
}
|
|
133
|
+
type AgentConfigurationChatModelConfig = {
|
|
134
|
+
[key: string]: unknown;
|
|
135
|
+
} | null;
|
|
136
|
+
type AgentConfigurationRealtimeModelConfig = {
|
|
137
|
+
[key: string]: unknown;
|
|
138
|
+
} | null;
|
|
139
|
+
/**
|
|
140
|
+
* An Agent's picture: presentation only, never part of its configuration.
|
|
141
|
+
*/
|
|
142
|
+
interface OrgAgentAvatar {
|
|
143
|
+
avatarShape: OrgAgentAvatarAvatarShape;
|
|
144
|
+
avatarColor: OrgAgentAvatarAvatarColor;
|
|
145
|
+
}
|
|
146
|
+
type OrgAgentAvatarAvatarColor = typeof OrgAgentAvatarAvatarColor[keyof typeof OrgAgentAvatarAvatarColor];
|
|
147
|
+
declare const OrgAgentAvatarAvatarColor: {
|
|
148
|
+
readonly teal: "teal";
|
|
149
|
+
readonly sky: "sky";
|
|
150
|
+
readonly blue: "blue";
|
|
151
|
+
readonly indigo: "indigo";
|
|
152
|
+
readonly violet: "violet";
|
|
153
|
+
readonly fuchsia: "fuchsia";
|
|
154
|
+
readonly slate: "slate";
|
|
155
|
+
};
|
|
156
|
+
type OrgAgentAvatarAvatarShape = typeof OrgAgentAvatarAvatarShape[keyof typeof OrgAgentAvatarAvatarShape];
|
|
157
|
+
declare const OrgAgentAvatarAvatarShape: {
|
|
158
|
+
readonly round: "round";
|
|
159
|
+
readonly square: "square";
|
|
160
|
+
readonly tall: "tall";
|
|
161
|
+
readonly antenna: "antenna";
|
|
162
|
+
readonly ears: "ears";
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Administrative view, including the Agent's editable configuration.
|
|
166
|
+
*/
|
|
167
|
+
interface OrgAgentColleagueDetail {
|
|
168
|
+
id: number;
|
|
169
|
+
uuid: string;
|
|
170
|
+
name: string;
|
|
171
|
+
description: string | null;
|
|
172
|
+
ownerOrgMemberId: number | null;
|
|
173
|
+
status: OrgAgentColleagueDetailStatus;
|
|
174
|
+
configRevision: number;
|
|
175
|
+
avatarShape: OrgAgentColleagueDetailAvatarShape;
|
|
176
|
+
avatarColor: OrgAgentColleagueDetailAvatarColor;
|
|
177
|
+
isPrimary: boolean;
|
|
178
|
+
canManageOrganization: boolean;
|
|
179
|
+
emailAddress: string;
|
|
180
|
+
configuration: AgentConfiguration;
|
|
181
|
+
}
|
|
182
|
+
type OrgAgentColleagueDetailAvatarColor = typeof OrgAgentColleagueDetailAvatarColor[keyof typeof OrgAgentColleagueDetailAvatarColor];
|
|
183
|
+
declare const OrgAgentColleagueDetailAvatarColor: {
|
|
184
|
+
readonly teal: "teal";
|
|
185
|
+
readonly sky: "sky";
|
|
186
|
+
readonly blue: "blue";
|
|
187
|
+
readonly indigo: "indigo";
|
|
188
|
+
readonly violet: "violet";
|
|
189
|
+
readonly fuchsia: "fuchsia";
|
|
190
|
+
readonly slate: "slate";
|
|
191
|
+
};
|
|
192
|
+
type OrgAgentColleagueDetailAvatarShape = typeof OrgAgentColleagueDetailAvatarShape[keyof typeof OrgAgentColleagueDetailAvatarShape];
|
|
193
|
+
declare const OrgAgentColleagueDetailAvatarShape: {
|
|
194
|
+
readonly round: "round";
|
|
195
|
+
readonly square: "square";
|
|
196
|
+
readonly tall: "tall";
|
|
197
|
+
readonly antenna: "antenna";
|
|
198
|
+
readonly ears: "ears";
|
|
199
|
+
};
|
|
200
|
+
type OrgAgentColleagueDetailStatus = typeof OrgAgentColleagueDetailStatus[keyof typeof OrgAgentColleagueDetailStatus];
|
|
201
|
+
declare const OrgAgentColleagueDetailStatus: {
|
|
202
|
+
readonly active: "active";
|
|
203
|
+
readonly paused: "paused";
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Fields active organization teammates may use to discover an Agent.
|
|
207
|
+
*/
|
|
208
|
+
interface OrgAgentColleagueSummary {
|
|
209
|
+
id: number;
|
|
210
|
+
uuid: string;
|
|
211
|
+
name: string;
|
|
212
|
+
description: string | null;
|
|
213
|
+
ownerOrgMemberId: number | null;
|
|
214
|
+
status: OrgAgentColleagueSummaryStatus;
|
|
215
|
+
configRevision: number;
|
|
216
|
+
avatarShape: OrgAgentColleagueSummaryAvatarShape;
|
|
217
|
+
avatarColor: OrgAgentColleagueSummaryAvatarColor;
|
|
218
|
+
isPrimary: boolean;
|
|
219
|
+
canManageOrganization: boolean;
|
|
220
|
+
emailAddress: string;
|
|
221
|
+
}
|
|
222
|
+
type OrgAgentColleagueSummaryAvatarColor = typeof OrgAgentColleagueSummaryAvatarColor[keyof typeof OrgAgentColleagueSummaryAvatarColor];
|
|
223
|
+
declare const OrgAgentColleagueSummaryAvatarColor: {
|
|
224
|
+
readonly teal: "teal";
|
|
225
|
+
readonly sky: "sky";
|
|
226
|
+
readonly blue: "blue";
|
|
227
|
+
readonly indigo: "indigo";
|
|
228
|
+
readonly violet: "violet";
|
|
229
|
+
readonly fuchsia: "fuchsia";
|
|
230
|
+
readonly slate: "slate";
|
|
231
|
+
};
|
|
232
|
+
type OrgAgentColleagueSummaryAvatarShape = typeof OrgAgentColleagueSummaryAvatarShape[keyof typeof OrgAgentColleagueSummaryAvatarShape];
|
|
233
|
+
declare const OrgAgentColleagueSummaryAvatarShape: {
|
|
234
|
+
readonly round: "round";
|
|
235
|
+
readonly square: "square";
|
|
236
|
+
readonly tall: "tall";
|
|
237
|
+
readonly antenna: "antenna";
|
|
238
|
+
readonly ears: "ears";
|
|
239
|
+
};
|
|
240
|
+
type OrgAgentColleagueSummaryStatus = typeof OrgAgentColleagueSummaryStatus[keyof typeof OrgAgentColleagueSummaryStatus];
|
|
241
|
+
declare const OrgAgentColleagueSummaryStatus: {
|
|
242
|
+
readonly active: "active";
|
|
243
|
+
readonly paused: "paused";
|
|
244
|
+
};
|
|
245
|
+
interface UpdateColleague {
|
|
246
|
+
/** @minimum 1 */
|
|
247
|
+
expectedConfigRevision: number;
|
|
248
|
+
name?: string | null;
|
|
249
|
+
description?: string | null;
|
|
250
|
+
ownerOrgMemberId?: number | null;
|
|
251
|
+
status?: UpdateColleagueStatus;
|
|
252
|
+
configuration?: AgentConfiguration | null;
|
|
253
|
+
canManageOrganization?: boolean | null;
|
|
254
|
+
}
|
|
255
|
+
type UpdateColleagueStatus = typeof UpdateColleagueStatus[keyof typeof UpdateColleagueStatus] | null;
|
|
256
|
+
declare const UpdateColleagueStatus: {
|
|
257
|
+
readonly active: "active";
|
|
258
|
+
readonly paused: "paused";
|
|
259
|
+
};
|
|
260
|
+
|
|
46
261
|
/**
|
|
47
262
|
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
48
263
|
* (group map from emit_openapi.py). Do not edit manually.
|
|
@@ -82,6 +297,78 @@ declare const ScenarioDependencyAssessmentRefusalCodesItem: {
|
|
|
82
297
|
readonly dependency_choice_mismatch: "dependency_choice_mismatch";
|
|
83
298
|
};
|
|
84
299
|
|
|
300
|
+
/**
|
|
301
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
302
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
303
|
+
* Group: say_task
|
|
304
|
+
*/
|
|
305
|
+
/**
|
|
306
|
+
* A Say template for one supported locale.
|
|
307
|
+
*/
|
|
308
|
+
interface SayMessageTranslation {
|
|
309
|
+
locale: string;
|
|
310
|
+
/** @maxLength 4000 */
|
|
311
|
+
text: string;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* What the agent says, verbatim, when the conversation reaches this Task.
|
|
315
|
+
*
|
|
316
|
+
* ``message`` is a Jinja2 template rendered with the same variables as a
|
|
317
|
+
* Task prompt. Optional ``translations`` override it by exact locale or
|
|
318
|
+
* same-language match. Every script is optional: without an applicable
|
|
319
|
+
* nonblank script the Task completes silently. Every authored variant must
|
|
320
|
+
* parse (checked by the runtime's ``validate``).
|
|
321
|
+
*/
|
|
322
|
+
interface SayTaskConfiguration {
|
|
323
|
+
/** @maxLength 4000 */
|
|
324
|
+
message?: string;
|
|
325
|
+
waitForResponse?: boolean;
|
|
326
|
+
/** @maxItems 100 */
|
|
327
|
+
translations?: SayMessageTranslation[];
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
332
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
333
|
+
* Group: data_record_import
|
|
334
|
+
*/
|
|
335
|
+
/**
|
|
336
|
+
* How each data row of the upload ended.
|
|
337
|
+
*
|
|
338
|
+
* ``created + updated + unchanged + failed`` is the response's
|
|
339
|
+
* ``total_rows``. ``created`` and ``updated`` are committed record writes;
|
|
340
|
+
* ``unchanged`` rows were accepted but wrote nothing; ``failed`` rows were
|
|
341
|
+
* not imported.
|
|
342
|
+
*/
|
|
343
|
+
interface DataRecordImportOutcomes {
|
|
344
|
+
/** Rows that created a new record. */
|
|
345
|
+
created: number;
|
|
346
|
+
/** Rows that changed an existing record's stored values. */
|
|
347
|
+
updated: number;
|
|
348
|
+
/** Rows that matched an existing record, passed authorization and validation, and changed nothing (no field history, no EventRule). */
|
|
349
|
+
unchanged: number;
|
|
350
|
+
/** Rows that were not imported. A row is counted once however many errors it has. */
|
|
351
|
+
failed: number;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Result of a synchronous Forms CSV import.
|
|
355
|
+
*
|
|
356
|
+
* ``imported_count`` counts accepted rows (``created + updated +
|
|
357
|
+
* unchanged``), not database writes. ``success`` is ``failed == 0``.
|
|
358
|
+
* ``errors`` lists at most the first ten row errors; ``error_count`` and
|
|
359
|
+
* ``message`` appear only when there are more. ``error_count`` counts
|
|
360
|
+
* errors, not failed rows — use ``outcomes.failed`` for that.
|
|
361
|
+
*/
|
|
362
|
+
interface RawDataRecordImportResponse {
|
|
363
|
+
imported_count: number;
|
|
364
|
+
total_rows: number;
|
|
365
|
+
success: boolean;
|
|
366
|
+
outcomes: DataRecordImportOutcomes;
|
|
367
|
+
errors?: string[] | null;
|
|
368
|
+
error_count?: number | null;
|
|
369
|
+
message?: string | null;
|
|
370
|
+
}
|
|
371
|
+
|
|
85
372
|
interface MemberNotificationPreferences {
|
|
86
373
|
notifySms?: boolean;
|
|
87
374
|
notifyEmail?: boolean;
|
|
@@ -92,13 +379,18 @@ interface MemberNotificationPreferences {
|
|
|
92
379
|
* Who a `member:notify` rule notifies.
|
|
93
380
|
* - `target_member`: the Member the event is about (its target Member, else its Member).
|
|
94
381
|
* - `specific_member`: the Member named by `memberId`.
|
|
382
|
+
* - `shared_destination`: the approved shared destination (a Teams channel)
|
|
383
|
+
* named by `destinationId`. It takes no `messageTemplate` or
|
|
384
|
+
* `subjectTemplate`: the channel gets a fixed card.
|
|
95
385
|
*/
|
|
96
|
-
type MemberNotifyRecipientMode = 'target_member' | 'specific_member';
|
|
386
|
+
type MemberNotifyRecipientMode = 'target_member' | 'specific_member' | 'shared_destination';
|
|
97
387
|
interface MemberNotifyActionParams {
|
|
98
388
|
/** Workspace-local notification audience. Recipient intent lives in subscriptions. */
|
|
99
389
|
subscriptionId?: number;
|
|
100
390
|
recipientMode?: MemberNotifyRecipientMode;
|
|
101
391
|
memberId?: number | null;
|
|
392
|
+
/** The approved shared destination, for `recipientMode: 'shared_destination'`. */
|
|
393
|
+
destinationId?: number | null;
|
|
102
394
|
/**
|
|
103
395
|
* @deprecated Legacy. Sends to the Member the event's execution runs as
|
|
104
396
|
* (the session Member), which is not an owner lookup. Still honoured on
|
|
@@ -106,6 +398,12 @@ interface MemberNotifyActionParams {
|
|
|
106
398
|
*/
|
|
107
399
|
sendToOwner?: boolean;
|
|
108
400
|
messageTemplate?: string | null;
|
|
401
|
+
/**
|
|
402
|
+
* Email Subject line. Supports the same `{{variable}}` syntax and permission
|
|
403
|
+
* rules as `messageTemplate`. Omitted or blank keeps
|
|
404
|
+
* `Notification from <workspace>`.
|
|
405
|
+
*/
|
|
406
|
+
subjectTemplate?: string | null;
|
|
109
407
|
}
|
|
110
408
|
|
|
111
409
|
/**
|
|
@@ -273,6 +571,86 @@ declare const UpdateMemberContactPointRequestSharing: {
|
|
|
273
571
|
readonly unknown: "unknown";
|
|
274
572
|
};
|
|
275
573
|
|
|
574
|
+
/**
|
|
575
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
576
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
577
|
+
* Group: athena_outreach_state
|
|
578
|
+
*/
|
|
579
|
+
/**
|
|
580
|
+
* A closed-code refusal; ``detail`` is the code's fixed sentence.
|
|
581
|
+
*/
|
|
582
|
+
interface ReconcileAthenaBookingRefusalResponse {
|
|
583
|
+
code: string;
|
|
584
|
+
detail: string;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* The operator's reconciliation of one uncertain booking attempt.
|
|
588
|
+
*/
|
|
589
|
+
interface ReconcileAthenaBookingRequest {
|
|
590
|
+
attemptId: string;
|
|
591
|
+
appointmentId?: string | null;
|
|
592
|
+
clear?: true | null;
|
|
593
|
+
vendorOutcomeConfirmed?: boolean;
|
|
594
|
+
executionTerminated?: boolean;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* ``200``: the attempt was finalized as booked, or cleared.
|
|
598
|
+
*/
|
|
599
|
+
interface ReconcileAthenaBookingResponse {
|
|
600
|
+
connectionId: number;
|
|
601
|
+
memberId: number;
|
|
602
|
+
attemptId: string;
|
|
603
|
+
mode: ReconcileAthenaBookingResponseMode;
|
|
604
|
+
bookingState: ReconcileAthenaBookingResponseBookingState;
|
|
605
|
+
appointmentId?: string | null;
|
|
606
|
+
}
|
|
607
|
+
type ReconcileAthenaBookingResponseBookingState = typeof ReconcileAthenaBookingResponseBookingState[keyof typeof ReconcileAthenaBookingResponseBookingState];
|
|
608
|
+
declare const ReconcileAthenaBookingResponseBookingState: {
|
|
609
|
+
readonly booked: "booked";
|
|
610
|
+
readonly none: "none";
|
|
611
|
+
};
|
|
612
|
+
type ReconcileAthenaBookingResponseMode = typeof ReconcileAthenaBookingResponseMode[keyof typeof ReconcileAthenaBookingResponseMode];
|
|
613
|
+
declare const ReconcileAthenaBookingResponseMode: {
|
|
614
|
+
readonly finalize: "finalize";
|
|
615
|
+
readonly clear: "clear";
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
620
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
621
|
+
* Group: error
|
|
622
|
+
*/
|
|
623
|
+
/**
|
|
624
|
+
* Closed vocabulary of adapter-side sync failure codes.
|
|
625
|
+
*
|
|
626
|
+
* Values are stable snake_case strings safe for telemetry labels,
|
|
627
|
+
* audit fields, and SSE payloads. Never include dynamic data in a
|
|
628
|
+
* code — pick (or add) the right enum member instead.
|
|
629
|
+
*/
|
|
630
|
+
type SyncErrorCode = typeof SyncErrorCode[keyof typeof SyncErrorCode];
|
|
631
|
+
declare const SyncErrorCode: {
|
|
632
|
+
readonly missing_required_field: "missing_required_field";
|
|
633
|
+
readonly missing_target_datatype: "missing_target_datatype";
|
|
634
|
+
readonly missing_file_owner: "missing_file_owner";
|
|
635
|
+
readonly missing_space_mapping: "missing_space_mapping";
|
|
636
|
+
readonly unsupported_direction: "unsupported_direction";
|
|
637
|
+
readonly missing_enum_option: "missing_enum_option";
|
|
638
|
+
readonly missing_remote_label: "missing_remote_label";
|
|
639
|
+
readonly outbound_field_format_error: "outbound_field_format_error";
|
|
640
|
+
readonly local_entity_not_found: "local_entity_not_found";
|
|
641
|
+
readonly missing_local_link: "missing_local_link";
|
|
642
|
+
readonly missing_remote_mapping: "missing_remote_mapping";
|
|
643
|
+
readonly remote_api_error: "remote_api_error";
|
|
644
|
+
readonly remote_fetch_failed: "remote_fetch_failed";
|
|
645
|
+
readonly remote_missing_id: "remote_missing_id";
|
|
646
|
+
readonly remote_partial_failure: "remote_partial_failure";
|
|
647
|
+
readonly remote_inactive_record: "remote_inactive_record";
|
|
648
|
+
readonly remote_write_rejected: "remote_write_rejected";
|
|
649
|
+
readonly remote_write_uncertain: "remote_write_uncertain";
|
|
650
|
+
readonly side_effects_not_permitted: "side_effects_not_permitted";
|
|
651
|
+
readonly sync_operation_failed: "sync_operation_failed";
|
|
652
|
+
};
|
|
653
|
+
|
|
276
654
|
/**
|
|
277
655
|
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
278
656
|
* (group map from emit_openapi.py). Do not edit manually.
|
|
@@ -334,78 +712,6 @@ interface ChannelMessagesResponse {
|
|
|
334
712
|
reason?: ChannelMessagesUnavailableReason | null;
|
|
335
713
|
}
|
|
336
714
|
|
|
337
|
-
/**
|
|
338
|
-
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
339
|
-
* (group map from emit_openapi.py). Do not edit manually.
|
|
340
|
-
* Group: say_task
|
|
341
|
-
*/
|
|
342
|
-
/**
|
|
343
|
-
* A Say template for one supported locale.
|
|
344
|
-
*/
|
|
345
|
-
interface SayMessageTranslation {
|
|
346
|
-
locale: string;
|
|
347
|
-
/** @maxLength 4000 */
|
|
348
|
-
text: string;
|
|
349
|
-
}
|
|
350
|
-
/**
|
|
351
|
-
* What the agent says, verbatim, when the conversation reaches this Task.
|
|
352
|
-
*
|
|
353
|
-
* ``message`` is a Jinja2 template rendered with the same variables as a
|
|
354
|
-
* Task prompt. Optional ``translations`` override it by exact locale or
|
|
355
|
-
* same-language match. Every script is optional: without an applicable
|
|
356
|
-
* nonblank script the Task completes silently. Every authored variant must
|
|
357
|
-
* parse (checked by the runtime's ``validate``).
|
|
358
|
-
*/
|
|
359
|
-
interface SayTaskConfiguration {
|
|
360
|
-
/** @maxLength 4000 */
|
|
361
|
-
message?: string;
|
|
362
|
-
waitForResponse?: boolean;
|
|
363
|
-
/** @maxItems 100 */
|
|
364
|
-
translations?: SayMessageTranslation[];
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
369
|
-
* (group map from emit_openapi.py). Do not edit manually.
|
|
370
|
-
* Group: data_record_import
|
|
371
|
-
*/
|
|
372
|
-
/**
|
|
373
|
-
* How each data row of the upload ended.
|
|
374
|
-
*
|
|
375
|
-
* ``created + updated + unchanged + failed`` is the response's
|
|
376
|
-
* ``total_rows``. ``created`` and ``updated`` are committed record writes;
|
|
377
|
-
* ``unchanged`` rows were accepted but wrote nothing; ``failed`` rows were
|
|
378
|
-
* not imported.
|
|
379
|
-
*/
|
|
380
|
-
interface DataRecordImportOutcomes {
|
|
381
|
-
/** Rows that created a new record. */
|
|
382
|
-
created: number;
|
|
383
|
-
/** Rows that changed an existing record's stored values. */
|
|
384
|
-
updated: number;
|
|
385
|
-
/** Rows that matched an existing record, passed authorization and validation, and changed nothing (no field history, no EventRule). */
|
|
386
|
-
unchanged: number;
|
|
387
|
-
/** Rows that were not imported. A row is counted once however many errors it has. */
|
|
388
|
-
failed: number;
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* Result of a synchronous Forms CSV import.
|
|
392
|
-
*
|
|
393
|
-
* ``imported_count`` counts accepted rows (``created + updated +
|
|
394
|
-
* unchanged``), not database writes. ``success`` is ``failed == 0``.
|
|
395
|
-
* ``errors`` lists at most the first ten row errors; ``error_count`` and
|
|
396
|
-
* ``message`` appear only when there are more. ``error_count`` counts
|
|
397
|
-
* errors, not failed rows — use ``outcomes.failed`` for that.
|
|
398
|
-
*/
|
|
399
|
-
interface RawDataRecordImportResponse {
|
|
400
|
-
imported_count: number;
|
|
401
|
-
total_rows: number;
|
|
402
|
-
success: boolean;
|
|
403
|
-
outcomes: DataRecordImportOutcomes;
|
|
404
|
-
errors?: string[] | null;
|
|
405
|
-
error_count?: number | null;
|
|
406
|
-
message?: string | null;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
715
|
/** Legacy enum kept for callers using UPPER_SNAKE member names (e.g. ToolkitState.ENABLED). */
|
|
410
716
|
declare enum ToolkitState {
|
|
411
717
|
DISABLED = "disabled",
|
|
@@ -455,17 +761,37 @@ interface DeviceCacheManifestResponse {
|
|
|
455
761
|
/**
|
|
456
762
|
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
457
763
|
* (group map from emit_openapi.py). Do not edit manually.
|
|
458
|
-
* Group:
|
|
764
|
+
* Group: stripe
|
|
459
765
|
*/
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
*/
|
|
463
|
-
interface AttachedAddonInfo {
|
|
464
|
-
subscriptionId: number;
|
|
766
|
+
interface DirectSubscriptionCreate {
|
|
767
|
+
/** Subscription (org) product ID — priced as planCostPerPeriod */
|
|
465
768
|
productId: number;
|
|
466
|
-
|
|
467
|
-
|
|
769
|
+
/** Billing period (e.g., 'month', 'year') */
|
|
770
|
+
planPeriod?: string;
|
|
771
|
+
/** Reseller workspace ID */
|
|
772
|
+
workspaceId: number;
|
|
468
773
|
}
|
|
774
|
+
interface StripeSubscriptionCreate {
|
|
775
|
+
/** Internal product ID */
|
|
776
|
+
productId: number;
|
|
777
|
+
/** Billing period (e.g., 'month', 'year', 'quarter') */
|
|
778
|
+
planPeriod: string;
|
|
779
|
+
/** Reseller workspace ID */
|
|
780
|
+
workspaceId: number;
|
|
781
|
+
trialPeriodDays?: number | null;
|
|
782
|
+
metadata?: StripeSubscriptionCreateMetadata;
|
|
783
|
+
cancelAtPeriodEnd?: boolean | null;
|
|
784
|
+
collectionMethod?: string | null;
|
|
785
|
+
}
|
|
786
|
+
type StripeSubscriptionCreateMetadata = {
|
|
787
|
+
[key: string]: string;
|
|
788
|
+
} | null;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
792
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
793
|
+
* Group: workspace_health
|
|
794
|
+
*/
|
|
469
795
|
/**
|
|
470
796
|
* Information about the org plan this workspace's features come from.
|
|
471
797
|
*/
|
|
@@ -502,21 +828,17 @@ interface ProvisionPlanResponse {
|
|
|
502
828
|
/**
|
|
503
829
|
* Response model for workspace health check.
|
|
504
830
|
*/
|
|
505
|
-
interface WorkspaceHealthResponse
|
|
831
|
+
interface WorkspaceHealthResponse {
|
|
506
832
|
workspaceUuid: string;
|
|
507
833
|
workspaceName: string;
|
|
508
834
|
dbStatus: string;
|
|
509
835
|
dbStatusCode: number;
|
|
510
836
|
currentPlan?: CurrentPlanInfo | null;
|
|
511
|
-
attachedAddons?: AttachedAddonInfo[];
|
|
512
837
|
featureSync: FeatureSyncStatus;
|
|
513
838
|
expectedFeatures: string[];
|
|
514
839
|
currentFeatures: string[];
|
|
515
840
|
}
|
|
516
841
|
|
|
517
|
-
type WorkspaceHealthResponse = Omit<WorkspaceHealthResponse$1, 'attachedAddons'> & {
|
|
518
|
-
attachedAddons: AttachedAddonInfo[];
|
|
519
|
-
};
|
|
520
842
|
interface ProvisionPlanRequest {
|
|
521
843
|
subscriptionId?: number;
|
|
522
844
|
}
|
|
@@ -680,7 +1002,8 @@ interface AIModelUsageResponse {
|
|
|
680
1002
|
*/
|
|
681
1003
|
interface AIUsageDetailsResponse {
|
|
682
1004
|
total: number;
|
|
683
|
-
|
|
1005
|
+
/** How the whole ``total`` was sourced, including non-AI services. Settled AI debits with non-AI credits reconstructed at current rates are ``mixed``; non-AI-only windows are ``legacy_estimated``; a total with an unmeasured service term is ``unavailable``. */
|
|
1006
|
+
creditBasis?: AIUsageDetailsResponseCreditBasis;
|
|
684
1007
|
creditCoverageComplete?: boolean;
|
|
685
1008
|
creditCoverageIssues?: string[];
|
|
686
1009
|
creditCoverageNote?: string;
|
|
@@ -696,6 +1019,18 @@ interface AIUsageDetailsResponse {
|
|
|
696
1019
|
email?: number;
|
|
697
1020
|
models: AIModelUsageResponse[];
|
|
698
1021
|
}
|
|
1022
|
+
/**
|
|
1023
|
+
* How the whole ``total`` was sourced, including non-AI services. Settled AI debits with non-AI credits reconstructed at current rates are ``mixed``; non-AI-only windows are ``legacy_estimated``; a total with an unmeasured service term is ``unavailable``.
|
|
1024
|
+
*/
|
|
1025
|
+
type AIUsageDetailsResponseCreditBasis = typeof AIUsageDetailsResponseCreditBasis[keyof typeof AIUsageDetailsResponseCreditBasis];
|
|
1026
|
+
declare const AIUsageDetailsResponseCreditBasis: {
|
|
1027
|
+
readonly legacy_estimated: "legacy_estimated";
|
|
1028
|
+
readonly mixed: "mixed";
|
|
1029
|
+
readonly posted_debits: "posted_debits";
|
|
1030
|
+
readonly pending_only: "pending_only";
|
|
1031
|
+
readonly no_consumption: "no_consumption";
|
|
1032
|
+
readonly unavailable: "unavailable";
|
|
1033
|
+
};
|
|
699
1034
|
/**
|
|
700
1035
|
* Communication details including phone numbers and daily breakdowns.
|
|
701
1036
|
*/
|
|
@@ -835,10 +1170,14 @@ interface ResourceUsageResponse {
|
|
|
835
1170
|
storageMb?: number | null;
|
|
836
1171
|
/** Per-origin storage measurement backing `storageMb`. */
|
|
837
1172
|
storage?: StorageUsageResponse | null;
|
|
838
|
-
member
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
1173
|
+
/** Billable member seats, or null when the count could not be measured. Null is unknown, never zero. */
|
|
1174
|
+
member: number | null;
|
|
1175
|
+
/** Phone numbers held, or null when the count could not be measured. */
|
|
1176
|
+
phoneNumber: number | null;
|
|
1177
|
+
/** Sites held, or null when the count could not be measured. */
|
|
1178
|
+
site: number | null;
|
|
1179
|
+
/** Inboxes held, or null when the count could not be measured. */
|
|
1180
|
+
inbox: number | null;
|
|
842
1181
|
}
|
|
843
1182
|
/**
|
|
844
1183
|
* Detailed SMS communication data.
|
|
@@ -1163,50 +1502,6 @@ type PidsDisposition = (typeof PIDS_DISPOSITIONS)[number];
|
|
|
1163
1502
|
declare const PIDS_SOURCES: readonly ["scheduled", "backfill", "pre_llm"];
|
|
1164
1503
|
type PidsSource = (typeof PIDS_SOURCES)[number];
|
|
1165
1504
|
|
|
1166
|
-
/**
|
|
1167
|
-
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
1168
|
-
* (group map from emit_openapi.py). Do not edit manually.
|
|
1169
|
-
* Group: athena_outreach_state
|
|
1170
|
-
*/
|
|
1171
|
-
/**
|
|
1172
|
-
* A closed-code refusal; ``detail`` is the code's fixed sentence.
|
|
1173
|
-
*/
|
|
1174
|
-
interface ReconcileAthenaBookingRefusalResponse {
|
|
1175
|
-
code: string;
|
|
1176
|
-
detail: string;
|
|
1177
|
-
}
|
|
1178
|
-
/**
|
|
1179
|
-
* The operator's reconciliation of one uncertain booking attempt.
|
|
1180
|
-
*/
|
|
1181
|
-
interface ReconcileAthenaBookingRequest {
|
|
1182
|
-
attemptId: string;
|
|
1183
|
-
appointmentId?: string | null;
|
|
1184
|
-
clear?: true | null;
|
|
1185
|
-
vendorOutcomeConfirmed?: boolean;
|
|
1186
|
-
executionTerminated?: boolean;
|
|
1187
|
-
}
|
|
1188
|
-
/**
|
|
1189
|
-
* ``200``: the attempt was finalized as booked, or cleared.
|
|
1190
|
-
*/
|
|
1191
|
-
interface ReconcileAthenaBookingResponse {
|
|
1192
|
-
connectionId: number;
|
|
1193
|
-
memberId: number;
|
|
1194
|
-
attemptId: string;
|
|
1195
|
-
mode: ReconcileAthenaBookingResponseMode;
|
|
1196
|
-
bookingState: ReconcileAthenaBookingResponseBookingState;
|
|
1197
|
-
appointmentId?: string | null;
|
|
1198
|
-
}
|
|
1199
|
-
type ReconcileAthenaBookingResponseBookingState = typeof ReconcileAthenaBookingResponseBookingState[keyof typeof ReconcileAthenaBookingResponseBookingState];
|
|
1200
|
-
declare const ReconcileAthenaBookingResponseBookingState: {
|
|
1201
|
-
readonly booked: "booked";
|
|
1202
|
-
readonly none: "none";
|
|
1203
|
-
};
|
|
1204
|
-
type ReconcileAthenaBookingResponseMode = typeof ReconcileAthenaBookingResponseMode[keyof typeof ReconcileAthenaBookingResponseMode];
|
|
1205
|
-
declare const ReconcileAthenaBookingResponseMode: {
|
|
1206
|
-
readonly finalize: "finalize";
|
|
1207
|
-
readonly clear: "clear";
|
|
1208
|
-
};
|
|
1209
|
-
|
|
1210
1505
|
declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
1211
1506
|
readonly kind: "parent_of";
|
|
1212
1507
|
readonly cardinality: "many_to_many";
|
|
@@ -1217,11 +1512,15 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1217
1512
|
readonly label: "Parent";
|
|
1218
1513
|
readonly inverseLabel: "Child";
|
|
1219
1514
|
readonly description: "This person is a parent of the member. For a minor, also add Legal guardian if they should read the chart.";
|
|
1515
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1516
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1220
1517
|
}, {
|
|
1221
1518
|
readonly role: "child";
|
|
1222
1519
|
readonly label: "Child";
|
|
1223
1520
|
readonly inverseLabel: "Parent";
|
|
1224
1521
|
readonly description: "This person is a child of the member.";
|
|
1522
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1523
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1225
1524
|
}];
|
|
1226
1525
|
}, {
|
|
1227
1526
|
readonly kind: "sibling_of";
|
|
@@ -1233,6 +1532,8 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1233
1532
|
readonly label: "Sibling";
|
|
1234
1533
|
readonly inverseLabel: "Sibling";
|
|
1235
1534
|
readonly description: "These members are siblings.";
|
|
1535
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1536
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1236
1537
|
}];
|
|
1237
1538
|
}, {
|
|
1238
1539
|
readonly kind: "spouse_of";
|
|
@@ -1244,6 +1545,8 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1244
1545
|
readonly label: "Spouse";
|
|
1245
1546
|
readonly inverseLabel: "Spouse";
|
|
1246
1547
|
readonly description: "These members are spouses or partners.";
|
|
1548
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1549
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1247
1550
|
}];
|
|
1248
1551
|
}, {
|
|
1249
1552
|
readonly kind: "caregiver_of";
|
|
@@ -1255,11 +1558,15 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1255
1558
|
readonly label: "Caregiver";
|
|
1256
1559
|
readonly inverseLabel: "Care recipient";
|
|
1257
1560
|
readonly description: "This person provides care for the member at home.";
|
|
1561
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1562
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1258
1563
|
}, {
|
|
1259
1564
|
readonly role: "care_recipient";
|
|
1260
1565
|
readonly label: "Care recipient";
|
|
1261
1566
|
readonly inverseLabel: "Caregiver";
|
|
1262
1567
|
readonly description: "This person receives care from the member.";
|
|
1568
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1569
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1263
1570
|
}];
|
|
1264
1571
|
}, {
|
|
1265
1572
|
readonly kind: "emergency_contact_of";
|
|
@@ -1271,11 +1578,15 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1271
1578
|
readonly label: "Emergency contact";
|
|
1272
1579
|
readonly inverseLabel: "Emergency contact for";
|
|
1273
1580
|
readonly description: "This person is the member's emergency contact.";
|
|
1581
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1582
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1274
1583
|
}, {
|
|
1275
1584
|
readonly role: "emergency_contact_for";
|
|
1276
1585
|
readonly label: "Emergency contact for";
|
|
1277
1586
|
readonly inverseLabel: "Emergency contact";
|
|
1278
1587
|
readonly description: "The member is listed as this person's emergency contact.";
|
|
1588
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1589
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1279
1590
|
}];
|
|
1280
1591
|
}, {
|
|
1281
1592
|
readonly kind: "next_of_kin_of";
|
|
@@ -1287,11 +1598,15 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1287
1598
|
readonly label: "Next of kin";
|
|
1288
1599
|
readonly inverseLabel: "Next of kin for";
|
|
1289
1600
|
readonly description: "This person is the member's designated next of kin. A member has at most one.";
|
|
1601
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1602
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1290
1603
|
}, {
|
|
1291
1604
|
readonly role: "next_of_kin_for";
|
|
1292
1605
|
readonly label: "Next of kin for";
|
|
1293
1606
|
readonly inverseLabel: "Next of kin";
|
|
1294
1607
|
readonly description: "The member is this person's designated next of kin.";
|
|
1608
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1609
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1295
1610
|
}];
|
|
1296
1611
|
}, {
|
|
1297
1612
|
readonly kind: "legal_guardian_of";
|
|
@@ -1303,11 +1618,15 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1303
1618
|
readonly label: "Legal guardian";
|
|
1304
1619
|
readonly inverseLabel: "Legal guardian for";
|
|
1305
1620
|
readonly description: "Court-appointed guardian, or parent/person with parental responsibility for a minor.";
|
|
1621
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1622
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1306
1623
|
}, {
|
|
1307
1624
|
readonly role: "legal_guardian_for";
|
|
1308
1625
|
readonly label: "Legal guardian for";
|
|
1309
1626
|
readonly inverseLabel: "Legal guardian";
|
|
1310
1627
|
readonly description: "The member is this person's legal guardian.";
|
|
1628
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1629
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1311
1630
|
}];
|
|
1312
1631
|
}, {
|
|
1313
1632
|
readonly kind: "healthcare_agent_of";
|
|
@@ -1319,11 +1638,15 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1319
1638
|
readonly label: "Healthcare agent";
|
|
1320
1639
|
readonly inverseLabel: "Healthcare agent for";
|
|
1321
1640
|
readonly description: "Healthcare power of attorney or health proxy.";
|
|
1641
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1642
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1322
1643
|
}, {
|
|
1323
1644
|
readonly role: "healthcare_agent_for";
|
|
1324
1645
|
readonly label: "Healthcare agent for";
|
|
1325
1646
|
readonly inverseLabel: "Healthcare agent";
|
|
1326
1647
|
readonly description: "The member is this person's healthcare agent (healthcare power of attorney or health proxy).";
|
|
1648
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1649
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1327
1650
|
}];
|
|
1328
1651
|
}, {
|
|
1329
1652
|
readonly kind: "doctor_of";
|
|
@@ -1335,11 +1658,15 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1335
1658
|
readonly label: "Doctor";
|
|
1336
1659
|
readonly inverseLabel: "Patient";
|
|
1337
1660
|
readonly description: "This person is a treating clinician for the member.";
|
|
1661
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1662
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1338
1663
|
}, {
|
|
1339
1664
|
readonly role: "patient";
|
|
1340
1665
|
readonly label: "Patient";
|
|
1341
1666
|
readonly inverseLabel: "Doctor";
|
|
1342
1667
|
readonly description: "This person is a patient of the member.";
|
|
1668
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1669
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1343
1670
|
}];
|
|
1344
1671
|
}, {
|
|
1345
1672
|
readonly kind: "primary_contact_of";
|
|
@@ -1351,11 +1678,55 @@ declare const MEMBER_RELATIONSHIP_KINDS: readonly [{
|
|
|
1351
1678
|
readonly label: "Primary contact";
|
|
1352
1679
|
readonly inverseLabel: "Primary contact for";
|
|
1353
1680
|
readonly description: "This person is the organization's primary contact for the member. A member has at most one.";
|
|
1681
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1682
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1354
1683
|
}, {
|
|
1355
1684
|
readonly role: "primary_contact_for";
|
|
1356
1685
|
readonly label: "Primary contact for";
|
|
1357
1686
|
readonly inverseLabel: "Primary contact";
|
|
1358
1687
|
readonly description: "The member is this person's assigned primary contact inside the organization.";
|
|
1688
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1689
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1690
|
+
}];
|
|
1691
|
+
}, {
|
|
1692
|
+
readonly kind: "contact_owner_of";
|
|
1693
|
+
readonly cardinality: "one_per_target";
|
|
1694
|
+
readonly symmetric: false;
|
|
1695
|
+
readonly grantsChartAccess: false;
|
|
1696
|
+
readonly roles: [{
|
|
1697
|
+
readonly role: "contact_owner";
|
|
1698
|
+
readonly label: "Contact owner";
|
|
1699
|
+
readonly inverseLabel: "Owns contact";
|
|
1700
|
+
readonly description: "This person owns the member's record in the CRM. A member has at most one. Grants no chart access.";
|
|
1701
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1702
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1703
|
+
}, {
|
|
1704
|
+
readonly role: "owns_contact";
|
|
1705
|
+
readonly label: "Owns contact";
|
|
1706
|
+
readonly inverseLabel: "Contact owner";
|
|
1707
|
+
readonly description: "The member owns this person's record in the CRM.";
|
|
1708
|
+
readonly viewedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1709
|
+
readonly relatedMemberTypes: ["anonymous", "test", "member", "agent"];
|
|
1710
|
+
}];
|
|
1711
|
+
}, {
|
|
1712
|
+
readonly kind: "employee_of";
|
|
1713
|
+
readonly cardinality: "many_to_many";
|
|
1714
|
+
readonly symmetric: false;
|
|
1715
|
+
readonly grantsChartAccess: false;
|
|
1716
|
+
readonly roles: [{
|
|
1717
|
+
readonly role: "employee";
|
|
1718
|
+
readonly label: "Employee";
|
|
1719
|
+
readonly inverseLabel: "Employer";
|
|
1720
|
+
readonly description: "This person works at the business. Grants no chart access.";
|
|
1721
|
+
readonly viewedMemberTypes: ["business"];
|
|
1722
|
+
readonly relatedMemberTypes: ["member"];
|
|
1723
|
+
}, {
|
|
1724
|
+
readonly role: "employer";
|
|
1725
|
+
readonly label: "Employer";
|
|
1726
|
+
readonly inverseLabel: "Employee";
|
|
1727
|
+
readonly description: "The member works at this business. Grants no chart access.";
|
|
1728
|
+
readonly viewedMemberTypes: ["member"];
|
|
1729
|
+
readonly relatedMemberTypes: ["business"];
|
|
1359
1730
|
}];
|
|
1360
1731
|
}];
|
|
1361
1732
|
|
|
@@ -1412,8 +1783,6 @@ interface HealthSummary {
|
|
|
1412
1783
|
totalEmailVolume?: number;
|
|
1413
1784
|
totalEventRuleFailures?: number;
|
|
1414
1785
|
totalEventRuleVolume?: number;
|
|
1415
|
-
totalWebhookFailures?: number;
|
|
1416
|
-
totalWebhookVolume?: number;
|
|
1417
1786
|
totalRoutineRunFailures?: number;
|
|
1418
1787
|
totalRoutineRunVolume?: number;
|
|
1419
1788
|
totalSmsResponded?: number;
|
|
@@ -1441,13 +1810,6 @@ interface SkippedWorkspace {
|
|
|
1441
1810
|
uuid: string;
|
|
1442
1811
|
reason: string;
|
|
1443
1812
|
}
|
|
1444
|
-
/**
|
|
1445
|
-
* Webhook delivery failure and volume counts.
|
|
1446
|
-
*/
|
|
1447
|
-
interface WebhookMetrics {
|
|
1448
|
-
failures?: number;
|
|
1449
|
-
total?: number;
|
|
1450
|
-
}
|
|
1451
1813
|
/**
|
|
1452
1814
|
* Health metrics for a single workspace.
|
|
1453
1815
|
*/
|
|
@@ -1461,7 +1823,6 @@ interface WorkspaceHealthRow {
|
|
|
1461
1823
|
healthStatus: string;
|
|
1462
1824
|
channelFailures: ChannelFailures;
|
|
1463
1825
|
eventRules: EventRuleMetrics;
|
|
1464
|
-
webhooks: WebhookMetrics;
|
|
1465
1826
|
routineRuns?: RoutineRunMetrics;
|
|
1466
1827
|
memberChats?: number;
|
|
1467
1828
|
needsResponse?: number;
|
|
@@ -1493,13 +1854,36 @@ interface WorkspaceHealthDetail {
|
|
|
1493
1854
|
hours: number;
|
|
1494
1855
|
sms: ChannelErrorBreakdown | null;
|
|
1495
1856
|
voice: ChannelErrorBreakdown | null;
|
|
1496
|
-
webhooks: ChannelErrorBreakdown | null;
|
|
1497
1857
|
eventRules: ChannelErrorBreakdown | null;
|
|
1498
1858
|
}
|
|
1499
1859
|
interface HealthDetailRequest {
|
|
1500
1860
|
hours?: number;
|
|
1501
1861
|
}
|
|
1502
1862
|
|
|
1863
|
+
/**
|
|
1864
|
+
* The send tools whose prompted calls the Manager proposes as drafts. Their
|
|
1865
|
+
* result is a `proposed_message` prompt only when the gate proposed the call;
|
|
1866
|
+
* when it ran, the result is the tool's prose.
|
|
1867
|
+
*/
|
|
1868
|
+
declare const PROPOSED_MESSAGE_TOOL_NAMES: ReadonlySet<string>;
|
|
1869
|
+
/** The synthetic tool call the server writes when a draft is settled. */
|
|
1870
|
+
declare const PROPOSED_MESSAGE_SETTLED_TOOL_NAME = "proposed_message_settled";
|
|
1871
|
+
/** How a draft can be settled, as the decision response and the bridge say it. */
|
|
1872
|
+
declare const PROPOSED_MESSAGE_SETTLEMENT_STATUSES: readonly ["sent", "failed", "discarded"];
|
|
1873
|
+
type ProposedMessageSettlementStatus = (typeof PROPOSED_MESSAGE_SETTLEMENT_STATUSES)[number];
|
|
1874
|
+
/** Whether `value` is one of the statuses a settlement can have. */
|
|
1875
|
+
declare function isProposedMessageSettlementStatus(value: unknown): value is ProposedMessageSettlementStatus;
|
|
1876
|
+
/** The server's bounds on an edited body and subject. */
|
|
1877
|
+
declare const PROPOSED_MESSAGE_BODY_MAX_LENGTH = 40000;
|
|
1878
|
+
declare const PROPOSED_MESSAGE_SUBJECT_MAX_LENGTH = 998;
|
|
1879
|
+
/**
|
|
1880
|
+
* The draft payload, read field by field rather than cast: the result is
|
|
1881
|
+
* persisted, so a transcript carries drafts written before a field existed.
|
|
1882
|
+
* The tool, the destination and the body are required: a draft missing any of
|
|
1883
|
+
* them is not one the member could review or send.
|
|
1884
|
+
*/
|
|
1885
|
+
declare function parseProposedMessage(value: unknown): UiPromptProposedMessage | undefined;
|
|
1886
|
+
|
|
1503
1887
|
/**
|
|
1504
1888
|
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
1505
1889
|
* (group map from emit_openapi.py). Do not edit manually.
|
|
@@ -1625,6 +2009,14 @@ interface DataRecordContext {
|
|
|
1625
2009
|
type?: string;
|
|
1626
2010
|
name?: string;
|
|
1627
2011
|
}
|
|
2012
|
+
/**
|
|
2013
|
+
* The Chat the member has open. Ids only, never message content.
|
|
2014
|
+
*/
|
|
2015
|
+
interface ChatContext {
|
|
2016
|
+
id: number;
|
|
2017
|
+
/** Stable Workflow id the Chat ran, when it ran one */
|
|
2018
|
+
workflowId?: number | null;
|
|
2019
|
+
}
|
|
1628
2020
|
/**
|
|
1629
2021
|
* Information about a toolkit in the context
|
|
1630
2022
|
*/
|
|
@@ -1632,6 +2024,31 @@ interface ToolkitContext {
|
|
|
1632
2024
|
id: string;
|
|
1633
2025
|
name?: string;
|
|
1634
2026
|
}
|
|
2027
|
+
/**
|
|
2028
|
+
* The Journey object selected in the editor
|
|
2029
|
+
*/
|
|
2030
|
+
interface JourneySelectionContext {
|
|
2031
|
+
/** Object kind, e.g. touch, wait, action, route, ending, goal */
|
|
2032
|
+
kind: string;
|
|
2033
|
+
uuid: string;
|
|
2034
|
+
name?: string;
|
|
2035
|
+
}
|
|
2036
|
+
/**
|
|
2037
|
+
* The Journey open in the editor. Ids and names only, never Member data.
|
|
2038
|
+
*/
|
|
2039
|
+
interface JourneyContext {
|
|
2040
|
+
id: number;
|
|
2041
|
+
uuid?: string;
|
|
2042
|
+
name?: string;
|
|
2043
|
+
status?: string;
|
|
2044
|
+
selected?: JourneySelectionContext;
|
|
2045
|
+
/** Open editor panel, e.g. test or settings */
|
|
2046
|
+
panel?: string;
|
|
2047
|
+
/** The Persona the Test panel is running */
|
|
2048
|
+
test?: {
|
|
2049
|
+
personaId?: number | string;
|
|
2050
|
+
};
|
|
2051
|
+
}
|
|
1635
2052
|
/**
|
|
1636
2053
|
* App context provided to AI assistants
|
|
1637
2054
|
*
|
|
@@ -1691,10 +2108,14 @@ interface AppContext {
|
|
|
1691
2108
|
page?: PageContext;
|
|
1692
2109
|
/** Workflow being viewed/edited */
|
|
1693
2110
|
workflow?: WorkflowContext;
|
|
2111
|
+
/** Chat the member has open */
|
|
2112
|
+
chat?: ChatContext;
|
|
1694
2113
|
/** Data record being viewed/edited */
|
|
1695
2114
|
dataRecord?: DataRecordContext;
|
|
1696
2115
|
/** Toolkit being viewed */
|
|
1697
2116
|
toolkit?: ToolkitContext;
|
|
2117
|
+
/** Journey open in the editor */
|
|
2118
|
+
journey?: JourneyContext;
|
|
1698
2119
|
/** Open drawers/modals */
|
|
1699
2120
|
openDrawers?: string[];
|
|
1700
2121
|
/** Selected tabs */
|
|
@@ -2197,18 +2618,18 @@ declare const SCOPES: {
|
|
|
2197
2618
|
readonly 'webhooks:read': {
|
|
2198
2619
|
readonly name: "webhooks:read";
|
|
2199
2620
|
readonly category: ScopeCategory.WEBHOOKS;
|
|
2200
|
-
readonly description: "View webhook
|
|
2621
|
+
readonly description: "View the organization webhook endpoints that cover this workspace";
|
|
2201
2622
|
};
|
|
2202
2623
|
readonly 'webhooks:write': {
|
|
2203
2624
|
readonly name: "webhooks:write";
|
|
2204
2625
|
readonly category: ScopeCategory.WEBHOOKS;
|
|
2205
|
-
readonly description: "
|
|
2626
|
+
readonly description: "Legacy webhook scope; grants no write operation (includes webhooks:read)";
|
|
2206
2627
|
readonly implies: readonly ["webhooks:read"];
|
|
2207
2628
|
};
|
|
2208
2629
|
readonly 'webhooks:admin': {
|
|
2209
2630
|
readonly name: "webhooks:admin";
|
|
2210
2631
|
readonly category: ScopeCategory.WEBHOOKS;
|
|
2211
|
-
readonly description: "
|
|
2632
|
+
readonly description: "Legacy webhook scope; grants no write operation (includes webhooks:read)";
|
|
2212
2633
|
readonly implies: readonly ["webhooks:write"];
|
|
2213
2634
|
};
|
|
2214
2635
|
readonly 'webhooks:raw': {
|
|
@@ -2452,5 +2873,530 @@ declare function pathDraftFromStorage(path: StoredPath): PathDraft;
|
|
|
2452
2873
|
/** Adapt only the edited Path. Preserve original blank/null values and inert markers on a no-op. */
|
|
2453
2874
|
declare function pathDraftToStorage<T extends StoredPath>(draft: PathDraft, original: T): T;
|
|
2454
2875
|
|
|
2455
|
-
|
|
2456
|
-
|
|
2876
|
+
/**
|
|
2877
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
2878
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
2879
|
+
* Group: agent_channel
|
|
2880
|
+
*/
|
|
2881
|
+
interface AgentChannelTriggerResponse {
|
|
2882
|
+
triggerUuid: string;
|
|
2883
|
+
chatId: number;
|
|
2884
|
+
status: AgentChannelTriggerResponseStatus;
|
|
2885
|
+
statusReason: string | null;
|
|
2886
|
+
jobUuid: string | null;
|
|
2887
|
+
requestedAt: string;
|
|
2888
|
+
}
|
|
2889
|
+
type AgentChannelTriggerResponseStatus = typeof AgentChannelTriggerResponseStatus[keyof typeof AgentChannelTriggerResponseStatus];
|
|
2890
|
+
declare const AgentChannelTriggerResponseStatus: {
|
|
2891
|
+
readonly pending: "pending";
|
|
2892
|
+
readonly accepted: "accepted";
|
|
2893
|
+
readonly blocked: "blocked";
|
|
2894
|
+
readonly failed: "failed";
|
|
2895
|
+
};
|
|
2896
|
+
interface AgentChannelTriggersResponse {
|
|
2897
|
+
items: AgentChannelTriggerResponse[];
|
|
2898
|
+
nextBefore: string | null;
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
/**
|
|
2902
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
2903
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
2904
|
+
* Group: agent_slack
|
|
2905
|
+
*/
|
|
2906
|
+
interface ConnectSlackRequest {
|
|
2907
|
+
chatId?: number | null;
|
|
2908
|
+
applicationUuid?: string | null;
|
|
2909
|
+
phiApproved?: boolean;
|
|
2910
|
+
workspaceUuid?: string | null;
|
|
2911
|
+
replaceConnectionUuid?: string | null;
|
|
2912
|
+
returnTo?: string | null;
|
|
2913
|
+
}
|
|
2914
|
+
interface OrgAgentSlackConnectionResponse {
|
|
2915
|
+
connectionUuid: string;
|
|
2916
|
+
teamId: string;
|
|
2917
|
+
appId: string;
|
|
2918
|
+
chatId: number;
|
|
2919
|
+
status: OrgAgentSlackConnectionResponseStatus;
|
|
2920
|
+
phiApproved: boolean;
|
|
2921
|
+
workspaceUuid: string | null;
|
|
2922
|
+
}
|
|
2923
|
+
type OrgAgentSlackConnectionResponseStatus = typeof OrgAgentSlackConnectionResponseStatus[keyof typeof OrgAgentSlackConnectionResponseStatus];
|
|
2924
|
+
declare const OrgAgentSlackConnectionResponseStatus: {
|
|
2925
|
+
readonly active: "active";
|
|
2926
|
+
readonly revoked: "revoked";
|
|
2927
|
+
};
|
|
2928
|
+
interface OrgAgentSlackConnectionsResponse {
|
|
2929
|
+
items: OrgAgentSlackConnectionResponse[];
|
|
2930
|
+
}
|
|
2931
|
+
declare const OrgAgentSlackDisconnectResponseValue: {
|
|
2932
|
+
readonly status: "revoked";
|
|
2933
|
+
};
|
|
2934
|
+
type OrgAgentSlackDisconnectResponse = typeof OrgAgentSlackDisconnectResponseValue;
|
|
2935
|
+
interface SlackAuthorizationResponse {
|
|
2936
|
+
authorizationUrl: string;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
2941
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
2942
|
+
* Group: agent_watch
|
|
2943
|
+
*/
|
|
2944
|
+
interface AgentActivityWatch {
|
|
2945
|
+
kind?: 'activity';
|
|
2946
|
+
workspaceUuid: string;
|
|
2947
|
+
resourceKind?: 'data_record';
|
|
2948
|
+
/** @exclusiveMinimum 0 */
|
|
2949
|
+
resourceId: number;
|
|
2950
|
+
resourceUuid: string;
|
|
2951
|
+
/**
|
|
2952
|
+
* @minItems 1
|
|
2953
|
+
* @maxItems 2
|
|
2954
|
+
*/
|
|
2955
|
+
eventTypes: AgentActivityWatchEventTypesItem[];
|
|
2956
|
+
expiresAt: string;
|
|
2957
|
+
followJobUuid?: string | null;
|
|
2958
|
+
/**
|
|
2959
|
+
* @minimum 0
|
|
2960
|
+
* @maximum 1209600
|
|
2961
|
+
*/
|
|
2962
|
+
followForSeconds?: number;
|
|
2963
|
+
}
|
|
2964
|
+
type AgentActivityWatchEventTypesItem = typeof AgentActivityWatchEventTypesItem[keyof typeof AgentActivityWatchEventTypesItem];
|
|
2965
|
+
declare const AgentActivityWatchEventTypesItem: {
|
|
2966
|
+
readonly data_recordcreated: "data_record.created";
|
|
2967
|
+
readonly data_recordupdated: "data_record.updated";
|
|
2968
|
+
};
|
|
2969
|
+
|
|
2970
|
+
/**
|
|
2971
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
2972
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
2973
|
+
* Group: agent_routine
|
|
2974
|
+
*/
|
|
2975
|
+
|
|
2976
|
+
interface AgentRoutineList {
|
|
2977
|
+
items: AgentRoutineResponse[];
|
|
2978
|
+
nextAfter: string | null;
|
|
2979
|
+
}
|
|
2980
|
+
interface AgentRoutineOccurrenceResponse {
|
|
2981
|
+
uuid: string;
|
|
2982
|
+
routineRevision: number;
|
|
2983
|
+
scheduledAt: string;
|
|
2984
|
+
status: AgentRoutineOccurrenceResponseStatus;
|
|
2985
|
+
reason: string | null;
|
|
2986
|
+
jobUuid: string | null;
|
|
2987
|
+
createdAt: string;
|
|
2988
|
+
}
|
|
2989
|
+
type AgentRoutineOccurrenceResponseStatus = typeof AgentRoutineOccurrenceResponseStatus[keyof typeof AgentRoutineOccurrenceResponseStatus];
|
|
2990
|
+
declare const AgentRoutineOccurrenceResponseStatus: {
|
|
2991
|
+
readonly pending: "pending";
|
|
2992
|
+
readonly observed: "observed";
|
|
2993
|
+
readonly accepted: "accepted";
|
|
2994
|
+
readonly blocked: "blocked";
|
|
2995
|
+
readonly skipped: "skipped";
|
|
2996
|
+
readonly cancelled: "cancelled";
|
|
2997
|
+
};
|
|
2998
|
+
interface AgentRoutineOccurrences {
|
|
2999
|
+
items: AgentRoutineOccurrenceResponse[];
|
|
3000
|
+
nextBefore: string | null;
|
|
3001
|
+
}
|
|
3002
|
+
interface AgentRoutineResponse {
|
|
3003
|
+
uuid: string;
|
|
3004
|
+
revision: number;
|
|
3005
|
+
spec: AgentRoutineSpec;
|
|
3006
|
+
mode: AgentRoutineResponseMode;
|
|
3007
|
+
isTest: boolean;
|
|
3008
|
+
nextDueAt: string | null;
|
|
3009
|
+
createdAt: string;
|
|
3010
|
+
updatedAt: string;
|
|
3011
|
+
}
|
|
3012
|
+
type AgentRoutineResponseMode = typeof AgentRoutineResponseMode[keyof typeof AgentRoutineResponseMode];
|
|
3013
|
+
declare const AgentRoutineResponseMode: {
|
|
3014
|
+
readonly off: "off";
|
|
3015
|
+
readonly observe: "observe";
|
|
3016
|
+
readonly auto: "auto";
|
|
3017
|
+
};
|
|
3018
|
+
interface AgentRoutineSchedule {
|
|
3019
|
+
mode?: AgentRoutineScheduleMode;
|
|
3020
|
+
/**
|
|
3021
|
+
* @minLength 1
|
|
3022
|
+
* @maxLength 64
|
|
3023
|
+
*/
|
|
3024
|
+
timezone?: string;
|
|
3025
|
+
startsAt?: string | null;
|
|
3026
|
+
endsAt?: string | null;
|
|
3027
|
+
intervalSeconds?: number | null;
|
|
3028
|
+
cron?: string | null;
|
|
3029
|
+
repeatCount?: number | null;
|
|
3030
|
+
}
|
|
3031
|
+
type AgentRoutineScheduleMode = typeof AgentRoutineScheduleMode[keyof typeof AgentRoutineScheduleMode];
|
|
3032
|
+
declare const AgentRoutineScheduleMode: {
|
|
3033
|
+
readonly none: "none";
|
|
3034
|
+
readonly once: "once";
|
|
3035
|
+
readonly interval: "interval";
|
|
3036
|
+
readonly cron: "cron";
|
|
3037
|
+
};
|
|
3038
|
+
interface AgentRoutineSpec {
|
|
3039
|
+
/**
|
|
3040
|
+
* @minLength 1
|
|
3041
|
+
* @maxLength 200
|
|
3042
|
+
*/
|
|
3043
|
+
name: string;
|
|
3044
|
+
/**
|
|
3045
|
+
* @minLength 1
|
|
3046
|
+
* @maxLength 8000
|
|
3047
|
+
*/
|
|
3048
|
+
prompt: string;
|
|
3049
|
+
scopeKind?: AgentRoutineSpecScopeKind;
|
|
3050
|
+
/** @maxItems 64 */
|
|
3051
|
+
workspaceUuids?: string[];
|
|
3052
|
+
/**
|
|
3053
|
+
* @minItems 1
|
|
3054
|
+
* @maxItems 64
|
|
3055
|
+
*/
|
|
3056
|
+
audienceOrgMemberIds: number[];
|
|
3057
|
+
schedule?: AgentRoutineSchedule;
|
|
3058
|
+
watch?: AgentActivityWatch | null;
|
|
3059
|
+
activeHours?: AgentTimeWindow | null;
|
|
3060
|
+
/**
|
|
3061
|
+
* @minimum 60
|
|
3062
|
+
* @maximum 86400
|
|
3063
|
+
*/
|
|
3064
|
+
minimumIntervalSeconds?: number;
|
|
3065
|
+
silentNoChange?: boolean;
|
|
3066
|
+
/**
|
|
3067
|
+
* @minimum 1
|
|
3068
|
+
* @maximum 1000
|
|
3069
|
+
*/
|
|
3070
|
+
maxActions?: number;
|
|
3071
|
+
/**
|
|
3072
|
+
* @minimum 1
|
|
3073
|
+
* @maximum 200
|
|
3074
|
+
*/
|
|
3075
|
+
maxSteps?: number;
|
|
3076
|
+
/**
|
|
3077
|
+
* @minimum 1
|
|
3078
|
+
* @maximum 1000000
|
|
3079
|
+
*/
|
|
3080
|
+
maxCredits?: number;
|
|
3081
|
+
}
|
|
3082
|
+
type AgentRoutineSpecScopeKind = typeof AgentRoutineSpecScopeKind[keyof typeof AgentRoutineSpecScopeKind];
|
|
3083
|
+
declare const AgentRoutineSpecScopeKind: {
|
|
3084
|
+
readonly organization: "organization";
|
|
3085
|
+
readonly workspace: "workspace";
|
|
3086
|
+
};
|
|
3087
|
+
interface CreateAgentRoutine {
|
|
3088
|
+
requestId: string;
|
|
3089
|
+
spec: AgentRoutineSpec;
|
|
3090
|
+
mode?: CreateAgentRoutineMode;
|
|
3091
|
+
}
|
|
3092
|
+
type CreateAgentRoutineMode = typeof CreateAgentRoutineMode[keyof typeof CreateAgentRoutineMode];
|
|
3093
|
+
declare const CreateAgentRoutineMode: {
|
|
3094
|
+
readonly off: "off";
|
|
3095
|
+
readonly observe: "observe";
|
|
3096
|
+
readonly auto: "auto";
|
|
3097
|
+
};
|
|
3098
|
+
interface RunAgentRoutine {
|
|
3099
|
+
/** @minimum 1 */
|
|
3100
|
+
expectedRevision: number;
|
|
3101
|
+
requestId: string;
|
|
3102
|
+
}
|
|
3103
|
+
interface UpdateAgentRoutine {
|
|
3104
|
+
/** @minimum 1 */
|
|
3105
|
+
expectedRevision: number;
|
|
3106
|
+
spec: AgentRoutineSpec;
|
|
3107
|
+
mode: UpdateAgentRoutineMode;
|
|
3108
|
+
}
|
|
3109
|
+
type UpdateAgentRoutineMode = typeof UpdateAgentRoutineMode[keyof typeof UpdateAgentRoutineMode];
|
|
3110
|
+
declare const UpdateAgentRoutineMode: {
|
|
3111
|
+
readonly off: "off";
|
|
3112
|
+
readonly observe: "observe";
|
|
3113
|
+
readonly auto: "auto";
|
|
3114
|
+
};
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
3118
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
3119
|
+
* Group: agent_standing_authorization
|
|
3120
|
+
*/
|
|
3121
|
+
interface StandingAuthorizationResponse {
|
|
3122
|
+
uuid: string;
|
|
3123
|
+
agentUuid: string;
|
|
3124
|
+
version: number;
|
|
3125
|
+
status: StandingAuthorizationResponseStatus;
|
|
3126
|
+
spec: StandingAuthorizationSpec;
|
|
3127
|
+
approvedByOrgMemberId: number;
|
|
3128
|
+
createdAt: string;
|
|
3129
|
+
revokedAt: string | null;
|
|
3130
|
+
}
|
|
3131
|
+
type StandingAuthorizationResponseStatus = typeof StandingAuthorizationResponseStatus[keyof typeof StandingAuthorizationResponseStatus];
|
|
3132
|
+
declare const StandingAuthorizationResponseStatus: {
|
|
3133
|
+
readonly active: "active";
|
|
3134
|
+
readonly revoked: "revoked";
|
|
3135
|
+
};
|
|
3136
|
+
interface StandingAuthorizationSpec {
|
|
3137
|
+
source: StandingSourceBinding;
|
|
3138
|
+
authPolicyVersion?: number | null;
|
|
3139
|
+
agentConfigRevision?: number | null;
|
|
3140
|
+
dataUseMode?: StandingAuthorizationSpecDataUseMode;
|
|
3141
|
+
scopeKind: StandingAuthorizationSpecScopeKind;
|
|
3142
|
+
/** @maxItems 64 */
|
|
3143
|
+
workspaces?: StandingWorkspaceCeiling[];
|
|
3144
|
+
/**
|
|
3145
|
+
* @minItems 1
|
|
3146
|
+
* @maxItems 64
|
|
3147
|
+
*/
|
|
3148
|
+
actions: StandingAuthorizationSpecActionsItem[];
|
|
3149
|
+
/** @maxItems 32 */
|
|
3150
|
+
browserSeedUrls?: string[];
|
|
3151
|
+
/** @maxItems 128 */
|
|
3152
|
+
destinations?: StandingDestination[];
|
|
3153
|
+
/** @maxItems 64 */
|
|
3154
|
+
credentials?: StandingCredential[];
|
|
3155
|
+
/** @maxItems 64 */
|
|
3156
|
+
audienceOrgMemberIds?: number[];
|
|
3157
|
+
expiresAt: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* @minimum 1
|
|
3160
|
+
* @maximum 1000
|
|
3161
|
+
*/
|
|
3162
|
+
maxActions?: number;
|
|
3163
|
+
/**
|
|
3164
|
+
* @minimum 1
|
|
3165
|
+
* @maximum 200
|
|
3166
|
+
*/
|
|
3167
|
+
maxSteps?: number;
|
|
3168
|
+
/**
|
|
3169
|
+
* @minimum 1
|
|
3170
|
+
* @maximum 1000000
|
|
3171
|
+
*/
|
|
3172
|
+
maxCredits?: number;
|
|
3173
|
+
isTest?: boolean;
|
|
3174
|
+
}
|
|
3175
|
+
type StandingAuthorizationSpecActionsItem = typeof StandingAuthorizationSpecActionsItem[keyof typeof StandingAuthorizationSpecActionsItem];
|
|
3176
|
+
declare const StandingAuthorizationSpecActionsItem: {
|
|
3177
|
+
readonly read_workspace_record: "read_workspace_record";
|
|
3178
|
+
readonly read_workspace_file: "read_workspace_file";
|
|
3179
|
+
readonly read_workspace_workflow: "read_workspace_workflow";
|
|
3180
|
+
readonly list_workspace_resources: "list_workspace_resources";
|
|
3181
|
+
readonly write_workspace_record: "write_workspace_record";
|
|
3182
|
+
readonly write_workspace_file: "write_workspace_file";
|
|
3183
|
+
readonly read_record_delivery_status: "read_record_delivery_status";
|
|
3184
|
+
readonly list_agent_artifacts: "list_agent_artifacts";
|
|
3185
|
+
readonly read_agent_artifact: "read_agent_artifact";
|
|
3186
|
+
readonly write_agent_artifact: "write_agent_artifact";
|
|
3187
|
+
readonly delegate_workspace_job: "delegate_workspace_job";
|
|
3188
|
+
readonly send_email: "send_email";
|
|
3189
|
+
readonly send_sms: "send_sms";
|
|
3190
|
+
readonly make_phone_call: "make_phone_call";
|
|
3191
|
+
readonly start_workflow: "start_workflow";
|
|
3192
|
+
readonly exec: "exec";
|
|
3193
|
+
readonly browser_navigate: "browser_navigate";
|
|
3194
|
+
readonly browser_follow_link: "browser_follow_link";
|
|
3195
|
+
readonly browser_read: "browser_read";
|
|
3196
|
+
readonly browser_find: "browser_find";
|
|
3197
|
+
readonly browser_click: "browser_click";
|
|
3198
|
+
readonly browser_type: "browser_type";
|
|
3199
|
+
readonly browser_key: "browser_key";
|
|
3200
|
+
readonly browser_takeover: "browser_takeover";
|
|
3201
|
+
};
|
|
3202
|
+
type StandingAuthorizationSpecDataUseMode = typeof StandingAuthorizationSpecDataUseMode[keyof typeof StandingAuthorizationSpecDataUseMode];
|
|
3203
|
+
declare const StandingAuthorizationSpecDataUseMode: {
|
|
3204
|
+
readonly no_phi: "no_phi";
|
|
3205
|
+
readonly unrestricted: "unrestricted";
|
|
3206
|
+
};
|
|
3207
|
+
type StandingAuthorizationSpecScopeKind = typeof StandingAuthorizationSpecScopeKind[keyof typeof StandingAuthorizationSpecScopeKind];
|
|
3208
|
+
declare const StandingAuthorizationSpecScopeKind: {
|
|
3209
|
+
readonly organization: "organization";
|
|
3210
|
+
readonly workspace: "workspace";
|
|
3211
|
+
};
|
|
3212
|
+
interface StandingCredential {
|
|
3213
|
+
kind: StandingCredentialKind;
|
|
3214
|
+
referenceType: StandingCredentialReferenceType;
|
|
3215
|
+
/** @pattern ^[a-z][a-z0-9_-]{0,63}$ */
|
|
3216
|
+
providerSlug: string;
|
|
3217
|
+
connectionUuid: string;
|
|
3218
|
+
workspaceUuid?: string | null;
|
|
3219
|
+
}
|
|
3220
|
+
type StandingCredentialKind = typeof StandingCredentialKind[keyof typeof StandingCredentialKind];
|
|
3221
|
+
declare const StandingCredentialKind: {
|
|
3222
|
+
readonly agent_owned: "agent_owned";
|
|
3223
|
+
readonly workspace_owned: "workspace_owned";
|
|
3224
|
+
};
|
|
3225
|
+
type StandingCredentialReferenceType = typeof StandingCredentialReferenceType[keyof typeof StandingCredentialReferenceType];
|
|
3226
|
+
declare const StandingCredentialReferenceType: {
|
|
3227
|
+
readonly agent_profile: "agent_profile";
|
|
3228
|
+
readonly workspace_app: "workspace_app";
|
|
3229
|
+
readonly workspace_phone: "workspace_phone";
|
|
3230
|
+
readonly workspace_inbox: "workspace_inbox";
|
|
3231
|
+
};
|
|
3232
|
+
interface StandingDestination {
|
|
3233
|
+
kind: StandingDestinationKind;
|
|
3234
|
+
identifier: string | number;
|
|
3235
|
+
}
|
|
3236
|
+
type StandingDestinationKind = typeof StandingDestinationKind[keyof typeof StandingDestinationKind];
|
|
3237
|
+
declare const StandingDestinationKind: {
|
|
3238
|
+
readonly org_member: "org_member";
|
|
3239
|
+
readonly slack: "slack";
|
|
3240
|
+
readonly discord: "discord";
|
|
3241
|
+
readonly email: "email";
|
|
3242
|
+
readonly sms: "sms";
|
|
3243
|
+
readonly phone: "phone";
|
|
3244
|
+
readonly fax: "fax";
|
|
3245
|
+
};
|
|
3246
|
+
interface StandingResource {
|
|
3247
|
+
kind: StandingResourceKind;
|
|
3248
|
+
/** @exclusiveMinimum 0 */
|
|
3249
|
+
identifier: number;
|
|
3250
|
+
}
|
|
3251
|
+
type StandingResourceKind = typeof StandingResourceKind[keyof typeof StandingResourceKind];
|
|
3252
|
+
declare const StandingResourceKind: {
|
|
3253
|
+
readonly data_type: "data_type";
|
|
3254
|
+
readonly data_record: "data_record";
|
|
3255
|
+
readonly file: "file";
|
|
3256
|
+
readonly folder: "folder";
|
|
3257
|
+
readonly workflow: "workflow";
|
|
3258
|
+
};
|
|
3259
|
+
interface StandingSourceBinding {
|
|
3260
|
+
kind: 'routine';
|
|
3261
|
+
sourceUuid: string;
|
|
3262
|
+
/** @exclusiveMinimum 0 */
|
|
3263
|
+
sourceRevision: number;
|
|
3264
|
+
}
|
|
3265
|
+
interface StandingWorkspaceCeiling {
|
|
3266
|
+
workspaceUuid: string;
|
|
3267
|
+
/** @maxItems 128 */
|
|
3268
|
+
scopes: string[];
|
|
3269
|
+
/** @maxItems 512 */
|
|
3270
|
+
resources?: StandingResource[];
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
/**
|
|
3274
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
3275
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
3276
|
+
* Group: agent_standing_option
|
|
3277
|
+
*/
|
|
3278
|
+
interface StandingAudienceOption {
|
|
3279
|
+
orgMemberId: number;
|
|
3280
|
+
name: string | null;
|
|
3281
|
+
}
|
|
3282
|
+
interface StandingAudienceOptions {
|
|
3283
|
+
items: StandingAudienceOption[];
|
|
3284
|
+
nextAfterId: number | null;
|
|
3285
|
+
}
|
|
3286
|
+
interface StandingAuthorizationOptions {
|
|
3287
|
+
workspaces: StandingWorkspaceOption[];
|
|
3288
|
+
actions: StandingAuthorizationOptionsActionsItem[];
|
|
3289
|
+
dataUseModes: StandingAuthorizationOptionsDataUseModesItem[];
|
|
3290
|
+
}
|
|
3291
|
+
type StandingAuthorizationOptionsActionsItem = typeof StandingAuthorizationOptionsActionsItem[keyof typeof StandingAuthorizationOptionsActionsItem];
|
|
3292
|
+
declare const StandingAuthorizationOptionsActionsItem: {
|
|
3293
|
+
readonly read_workspace_record: "read_workspace_record";
|
|
3294
|
+
readonly read_workspace_file: "read_workspace_file";
|
|
3295
|
+
readonly read_workspace_workflow: "read_workspace_workflow";
|
|
3296
|
+
readonly list_workspace_resources: "list_workspace_resources";
|
|
3297
|
+
readonly write_workspace_record: "write_workspace_record";
|
|
3298
|
+
readonly write_workspace_file: "write_workspace_file";
|
|
3299
|
+
readonly read_record_delivery_status: "read_record_delivery_status";
|
|
3300
|
+
readonly list_agent_artifacts: "list_agent_artifacts";
|
|
3301
|
+
readonly read_agent_artifact: "read_agent_artifact";
|
|
3302
|
+
readonly write_agent_artifact: "write_agent_artifact";
|
|
3303
|
+
readonly delegate_workspace_job: "delegate_workspace_job";
|
|
3304
|
+
readonly send_email: "send_email";
|
|
3305
|
+
readonly send_sms: "send_sms";
|
|
3306
|
+
readonly make_phone_call: "make_phone_call";
|
|
3307
|
+
readonly start_workflow: "start_workflow";
|
|
3308
|
+
readonly exec: "exec";
|
|
3309
|
+
readonly browser_navigate: "browser_navigate";
|
|
3310
|
+
readonly browser_follow_link: "browser_follow_link";
|
|
3311
|
+
readonly browser_read: "browser_read";
|
|
3312
|
+
readonly browser_find: "browser_find";
|
|
3313
|
+
readonly browser_click: "browser_click";
|
|
3314
|
+
readonly browser_type: "browser_type";
|
|
3315
|
+
readonly browser_key: "browser_key";
|
|
3316
|
+
readonly browser_takeover: "browser_takeover";
|
|
3317
|
+
};
|
|
3318
|
+
type StandingAuthorizationOptionsDataUseModesItem = typeof StandingAuthorizationOptionsDataUseModesItem[keyof typeof StandingAuthorizationOptionsDataUseModesItem];
|
|
3319
|
+
declare const StandingAuthorizationOptionsDataUseModesItem: {
|
|
3320
|
+
readonly no_phi: "no_phi";
|
|
3321
|
+
readonly unrestricted: "unrestricted";
|
|
3322
|
+
};
|
|
3323
|
+
interface StandingResourceOption {
|
|
3324
|
+
kind: StandingResourceOptionKind;
|
|
3325
|
+
/** @exclusiveMinimum 0 */
|
|
3326
|
+
identifier: number;
|
|
3327
|
+
label: string;
|
|
3328
|
+
resourceUuid: string;
|
|
3329
|
+
}
|
|
3330
|
+
type StandingResourceOptionKind = typeof StandingResourceOptionKind[keyof typeof StandingResourceOptionKind];
|
|
3331
|
+
declare const StandingResourceOptionKind: {
|
|
3332
|
+
readonly data_type: "data_type";
|
|
3333
|
+
readonly data_record: "data_record";
|
|
3334
|
+
readonly file: "file";
|
|
3335
|
+
readonly folder: "folder";
|
|
3336
|
+
readonly workflow: "workflow";
|
|
3337
|
+
};
|
|
3338
|
+
interface StandingResourceOptions {
|
|
3339
|
+
items: StandingResourceOption[];
|
|
3340
|
+
nextAfterId: number | null;
|
|
3341
|
+
}
|
|
3342
|
+
interface StandingWorkspaceOption {
|
|
3343
|
+
workspaceUuid: string;
|
|
3344
|
+
name: string;
|
|
3345
|
+
scopes: string[];
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
|
|
3350
|
+
* (group map from emit_openapi.py). Do not edit manually.
|
|
3351
|
+
* Group: agent_standing_job
|
|
3352
|
+
*/
|
|
3353
|
+
interface StandingJobOutput {
|
|
3354
|
+
jobUuid: string;
|
|
3355
|
+
chatId: number;
|
|
3356
|
+
outcome: StandingJobOutputOutcome;
|
|
3357
|
+
message: StandingJobOutputMessage;
|
|
3358
|
+
}
|
|
3359
|
+
type StandingJobOutputMessage = {
|
|
3360
|
+
[key: string]: unknown;
|
|
3361
|
+
} | null;
|
|
3362
|
+
type StandingJobOutputOutcome = typeof StandingJobOutputOutcome[keyof typeof StandingJobOutputOutcome];
|
|
3363
|
+
declare const StandingJobOutputOutcome: {
|
|
3364
|
+
readonly answer: "answer";
|
|
3365
|
+
readonly no_change: "no_change";
|
|
3366
|
+
};
|
|
3367
|
+
interface StandingJobStatus {
|
|
3368
|
+
jobUuid: string;
|
|
3369
|
+
chatId: number;
|
|
3370
|
+
status: StandingJobStatusStatus;
|
|
3371
|
+
statusReason: string | null;
|
|
3372
|
+
createdAt: string;
|
|
3373
|
+
completedAt: string | null;
|
|
3374
|
+
}
|
|
3375
|
+
type StandingJobStatusStatus = typeof StandingJobStatusStatus[keyof typeof StandingJobStatusStatus];
|
|
3376
|
+
declare const StandingJobStatusStatus: {
|
|
3377
|
+
readonly queued: "queued";
|
|
3378
|
+
readonly working: "working";
|
|
3379
|
+
readonly waiting: "waiting";
|
|
3380
|
+
readonly ready: "ready";
|
|
3381
|
+
readonly blocked: "blocked";
|
|
3382
|
+
readonly failed: "failed";
|
|
3383
|
+
readonly cancelled: "cancelled";
|
|
3384
|
+
};
|
|
3385
|
+
interface StopStandingJobResponse {
|
|
3386
|
+
jobUuid: string;
|
|
3387
|
+
status: StopStandingJobResponseStatus;
|
|
3388
|
+
cancelledChildCount: number;
|
|
3389
|
+
}
|
|
3390
|
+
type StopStandingJobResponseStatus = typeof StopStandingJobResponseStatus[keyof typeof StopStandingJobResponseStatus];
|
|
3391
|
+
declare const StopStandingJobResponseStatus: {
|
|
3392
|
+
readonly queued: "queued";
|
|
3393
|
+
readonly working: "working";
|
|
3394
|
+
readonly waiting: "waiting";
|
|
3395
|
+
readonly ready: "ready";
|
|
3396
|
+
readonly blocked: "blocked";
|
|
3397
|
+
readonly failed: "failed";
|
|
3398
|
+
readonly cancelled: "cancelled";
|
|
3399
|
+
};
|
|
3400
|
+
|
|
3401
|
+
export { CreateAgentRoutineMode as $, AgentRoutineOccurrenceResponseStatus as B, AgentRoutineResponseMode as E, AgentRoutineScheduleMode as G, AgentRoutineSpecScopeKind as I, ChannelMessageDirection as U, ChannelMessageSource as V, CreateMemberContactPointRequestContactType as a1, CreateMemberContactPointRequestPurpose as a2, CreateMemberContactPointRequestSharing as a3, DEFAULT_AGENT_CHAT_MODEL as a5, DEFAULT_AGENT_REALTIME_MODEL as a6, DEFAULT_AGENT_REALTIME_MODEL_CONFIG as a7, DEFAULT_CHAT_MODEL as a8, DEFAULT_CUSTOM_VOICE_MODEL as a9, MAX_EMAIL_SEND_RECIPIENTS as aA, MEMBER_RELATIONSHIP_KINDS as aB, OrgAgentAvatarAvatarColor as aP, OrgAgentAvatarAvatarShape as aQ, OrgAgentColleagueDetailAvatarColor as aS, OrgAgentColleagueDetailAvatarShape as aT, OrgAgentColleagueDetailStatus as aU, OrgAgentColleagueSummaryAvatarColor as aW, OrgAgentColleagueSummaryAvatarShape as aX, OrgAgentColleagueSummaryStatus as aY, OrgAgentSlackConnectionResponseStatus as a_, DEFAULT_VOICE_INFERENCE_MODEL as aa, StandingCredentialKind as b$, OrgAgentSlackDisconnectResponseValue as b1, PIDS_DISPOSITIONS as b2, PIDS_SOURCES as b3, PROPOSED_MESSAGE_BODY_MAX_LENGTH as b4, PROPOSED_MESSAGE_SETTLED_TOOL_NAME as b5, PROPOSED_MESSAGE_SETTLEMENT_STATUSES as b6, PROPOSED_MESSAGE_SUBJECT_MAX_LENGTH as b7, PROPOSED_MESSAGE_TOOL_NAMES as b8, SCOPES as bB, SCOPE_PRESETS as bC, ScopeCategory as bJ, ScopeManager as bK, StandingAuthorizationOptionsActionsItem as bS, StandingAuthorizationOptionsDataUseModesItem as bT, StandingAuthorizationResponseStatus as bV, StandingAuthorizationSpecActionsItem as bX, StandingAuthorizationSpecDataUseMode as bY, StandingAuthorizationSpecScopeKind as bZ, pathDraftToStorage as c$, StandingCredentialReferenceType as c0, StandingDestinationKind as c2, StandingJobOutputOutcome as c5, StandingJobStatusStatus as c7, StandingResourceKind as c9, UpdateColleagueStatus as cB, UpdateMemberContactPointRequestContactType as cD, UpdateMemberContactPointRequestPurpose as cE, UpdateMemberContactPointRequestSharing as cF, WIDGET_SLUGS as cM, formatAppContextAsMarkdown as cT, getAllResourceSlugs as cU, getPathDefinition as cV, getResourceMetadata as cW, getRevisionState as cX, isProposedMessageSettlementStatus as cY, parseProposedMessage as cZ, pathDraftFromStorage as c_, StandingResourceOptionKind as cb, StopStandingJobResponseStatus as ci, SyncErrorCode as cl, ToolkitState as ct, UpdateAgentRoutineMode as cz, ScenarioDependencyAssessmentRefusalCodesItem as d1, AgentActivityWatchEventTypesItem as l, AgentBehaviorPolicyAcknowledgements as n, AgentBehaviorPolicyApprovalPresentation as o, AgentBehaviorPolicyVerbosity as p, AgentChannelTriggerResponseStatus as r, AgentMemoryPolicyWrites as x };
|
|
3402
|
+
export type { AIModelUsageResponse as A, AgentRoutineOccurrences as C, AgentRoutineResponse as D, AgentRoutineSchedule as F, AgentRoutineSpec as H, AgentTimeWindow as J, AnalyticsFilter as K, AnalyticsQuery as L, AppContext as M, BillingStatistics as N, BundleScenarioPreflightResponse as O, CallEndSection as P, CallEndStatusEntry as Q, ChannelErrorBreakdown as R, ChannelFailures as S, ChannelMessageResponse as T, ChannelMessagesResponse as W, ChatContext as X, CommunicationDetailsResponse as Y, ConnectSlackRequest as Z, CreateAgentRoutine as _, AIUsageDetailsResponse as a, OrgAgentSlackConnectionsResponse as a$, CreateMemberContactPointRequest as a0, CurrentPlanInfo as a4, MemberContactPointResponse as aC, MemberContactPointConfirmationResponse as aD, MemberContactPointListResponse as aE, MemberImportColumnResponse as aF, MemberNotificationPreferences as aG, MemberNotifyActionParams as aH, MemberNotifyRecipientMode as aI, MemberUsageReport as aJ, MetricDataPoint as aK, MetricSection as aL, MetricSummary as aM, MetricValue as aN, OrgAgentAvatar as aO, OrgAgentColleagueDetail as aR, OrgAgentColleagueSummary as aV, OrgAgentSlackConnectionResponse as aZ, DailyPhoneRowResponse as ab, DailySMSRowResponse as ac, DashboardMetrics as ad, DataRecordContext as ae, DataRecordImportOutcomes as af, DeviceCacheFileEntry as ag, DeviceCacheManifestResponse as ah, EfficiencyMetricsResponse as ai, EmailCountsResponse as aj, EmailUsageResponse as ak, EngineTimeSeries as al, ErrorCodeBucket as am, EventRuleMetrics as an, ExportStatistics as ao, FeatureSyncStatus as ap, MetricSummary$1 as aq, VoiceMetricsResponse$1 as ar, HealthCheckStatistics as as, HealthDetailRequest as at, HealthMetricsRequest as au, HealthMetricsResponse as av, HealthSummary as aw, ImportStatistics as ax, JourneyContext as ay, JourneySelectionContext as az, AcquisitionFunnelChannel as b, OrgAgentSlackDisconnectResponse as b0, PageContext as b9, RunAgentRoutine as bA, SMSCommunicationDetailsResponse as bD, SMSMessageUsageResponse as bE, SMSPhoneNumberUsageResponse as bF, SayMessageTranslation as bG, SayTaskConfiguration as bH, ScenarioDependencyAssessment as bI, ScopeName as bL, SiteContext as bM, SkippedWorkspace as bN, SlackAuthorizationResponse as bO, StandingAudienceOption as bP, StandingAudienceOptions as bQ, StandingAuthorizationOptions as bR, StandingAuthorizationResponse as bU, StandingAuthorizationSpec as bW, StandingCredential as b_, PathDraft as ba, PerformanceMetrics as bb, PhoneCallPhoneNumberUsageResponse as bc, PhoneCallUsageResponse as bd, PhoneCommunicationDetailsResponse as be, PhoneNumberUsage as bf, PidsDisposition as bg, PidsSource as bh, ProductOverageConfigResponse as bi, ProposedMessageSettlementStatus as bj, ProvisionPlanRequest as bk, ProvisionPlanResponse as bl, RawDataRecordImportResponse as bm, ReconcileAthenaBookingRefusalResponse as bn, ReconcileAthenaBookingRequest as bo, ReconcileAthenaBookingResponse as bp, RequestsSection as bq, RequestsStatusEntry as br, ResourceMetadata as bs, ResourceOverageResponse as bt, ResourceUsageResponse as bu, RetireMemberContactPointRequest as bv, RevisionState as bw, RevisionStateRevision as bx, RevisionStateWorkflow as by, RoutineRunMetrics as bz, AcquisitionFunnelRecentSignup as c, StandingDestination as c1, StandingJobOutput as c3, StandingJobOutputMessage as c4, StandingJobStatus as c6, StandingResource as c8, UpdateColleague as cA, UpdateMemberContactPointRequest as cC, UsageProductSummaryResponse as cG, UsageReportResponse as cH, UsageReportRequest as cI, UsageStatistics as cJ, VoiceMetricsResponse as cK, VoiceMetricsTimeRange as cL, WidgetSlug as cN, WorkflowContext as cO, WorkspaceHealthDetail as cP, WorkspaceHealthResponse as cQ, WorkspaceHealthRow as cR, WorkspaceUsageReportResponse as cS, StandingResourceOption as ca, StandingResourceOptions as cc, StandingSourceBinding as cd, StandingWorkspaceCeiling as ce, StandingWorkspaceOption as cf, StatisticsSummary as cg, StopStandingJobResponse as ch, StoredPath as cj, StripeSubscriptionCreate as ck, SystemStatistics as cm, TaskContext as cn, TaskCountResponse as co, TimeSeriesData as cp, TimeSeriesDataPoint as cq, ToolParameter as cr, ToolkitContext as cs, TopOffender as cu, TopResourceOverageResponse as cv, TtsReconnectOutcomeEntry as cw, TtsReconnectSection as cx, UpdateAgentRoutine as cy, AcquisitionFunnelResponse as d, DirectSubscriptionCreate as d0, ScopeDefinition as d2, ActivityDetail as e, ActivityFeedResponse as f, AdminDomainResponse as g, AdminDomainSiteMapping as h, AdminDomainWidgetMapping as i, AdminPidsFindingResponse as j, AgentActivityWatch as k, AgentBehaviorPolicy as m, AgentChannelTriggerResponse as q, AgentChannelTriggersResponse as s, AgentConfiguration as t, AgentConfigurationChatModelConfig as u, AgentConfigurationRealtimeModelConfig as v, AgentMemoryPolicy as w, AgentRoutineList as y, AgentRoutineOccurrenceResponse as z };
|