@roarkanalytics/sdk 7.9.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/client.d.mts +20 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -5
- package/client.d.ts.map +1 -1
- package/client.js +21 -3
- package/client.js.map +1 -1
- package/client.mjs +21 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-connection.d.mts +1952 -0
- package/resources/agent-connection.d.mts.map +1 -0
- package/resources/agent-connection.d.ts +1952 -0
- package/resources/agent-connection.d.ts.map +1 -0
- package/resources/agent-connection.js +173 -0
- package/resources/agent-connection.js.map +1 -0
- package/resources/agent-connection.mjs +169 -0
- package/resources/agent-connection.mjs.map +1 -0
- package/resources/agent-conversation.d.mts +110 -0
- package/resources/agent-conversation.d.mts.map +1 -0
- package/resources/agent-conversation.d.ts +110 -0
- package/resources/agent-conversation.d.ts.map +1 -0
- package/resources/agent-conversation.js +41 -0
- package/resources/agent-conversation.js.map +1 -0
- package/resources/agent-conversation.mjs +37 -0
- package/resources/agent-conversation.mjs.map +1 -0
- package/resources/agent-draft.d.mts +101 -35
- package/resources/agent-draft.d.mts.map +1 -1
- package/resources/agent-draft.d.ts +101 -35
- package/resources/agent-draft.d.ts.map +1 -1
- package/resources/agent-endpoint.d.mts +4 -4
- package/resources/agent-endpoint.d.mts.map +1 -1
- package/resources/agent-endpoint.d.ts +4 -4
- package/resources/agent-endpoint.d.ts.map +1 -1
- package/resources/agent-setup.d.mts +1057 -0
- package/resources/agent-setup.d.mts.map +1 -0
- package/resources/agent-setup.d.ts +1057 -0
- package/resources/agent-setup.d.ts.map +1 -0
- package/resources/agent-setup.js +113 -0
- package/resources/agent-setup.js.map +1 -0
- package/resources/agent-setup.mjs +109 -0
- package/resources/agent-setup.mjs.map +1 -0
- package/resources/agent-version.d.mts +57 -18
- package/resources/agent-version.d.mts.map +1 -1
- package/resources/agent-version.d.ts +57 -18
- package/resources/agent-version.d.ts.map +1 -1
- package/resources/agent.d.mts +263 -4
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +263 -4
- package/resources/agent.d.ts.map +1 -1
- package/resources/calendar-connection.d.mts +834 -56
- package/resources/calendar-connection.d.mts.map +1 -1
- package/resources/calendar-connection.d.ts +834 -56
- package/resources/calendar-connection.d.ts.map +1 -1
- package/resources/calendar-connection.js +127 -8
- package/resources/calendar-connection.js.map +1 -1
- package/resources/calendar-connection.mjs +127 -8
- package/resources/calendar-connection.mjs.map +1 -1
- package/resources/call.d.mts +2 -2
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +2 -2
- package/resources/call.d.ts.map +1 -1
- package/resources/config.d.mts +78 -36
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +78 -36
- package/resources/config.d.ts.map +1 -1
- package/resources/conversation.d.mts +156 -0
- package/resources/conversation.d.mts.map +1 -0
- package/resources/conversation.d.ts +156 -0
- package/resources/conversation.d.ts.map +1 -0
- package/resources/conversation.js +40 -0
- package/resources/conversation.js.map +1 -0
- package/resources/conversation.mjs +36 -0
- package/resources/conversation.mjs.map +1 -0
- package/resources/customer-flow-edge-case.d.mts +637 -40
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +637 -40
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +2583 -156
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +2583 -156
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/{customer-profile.d.mts → customer.d.mts} +287 -92
- package/resources/customer.d.mts.map +1 -0
- package/resources/{customer-profile.d.ts → customer.d.ts} +287 -92
- package/resources/customer.d.ts.map +1 -0
- package/resources/customer.js +180 -0
- package/resources/customer.js.map +1 -0
- package/resources/customer.mjs +176 -0
- package/resources/customer.mjs.map +1 -0
- package/resources/index.d.mts +7 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +13 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mcp-server.d.mts +588 -0
- package/resources/mcp-server.d.mts.map +1 -0
- package/resources/mcp-server.d.ts +588 -0
- package/resources/mcp-server.d.ts.map +1 -0
- package/resources/mcp-server.js +109 -0
- package/resources/mcp-server.js.map +1 -0
- package/resources/mcp-server.mjs +105 -0
- package/resources/mcp-server.mjs.map +1 -0
- package/resources/metric-policy.d.mts +5 -4
- package/resources/metric-policy.d.mts.map +1 -1
- package/resources/metric-policy.d.ts +5 -4
- package/resources/metric-policy.d.ts.map +1 -1
- package/resources/metric-policy.js +1 -1
- package/resources/metric-policy.mjs +1 -1
- package/resources/metric-variant.d.mts +4 -1
- package/resources/metric-variant.d.mts.map +1 -1
- package/resources/metric-variant.d.ts +4 -1
- package/resources/metric-variant.d.ts.map +1 -1
- package/resources/metric.d.mts +7 -2
- package/resources/metric.d.mts.map +1 -1
- package/resources/metric.d.ts +7 -2
- package/resources/metric.d.ts.map +1 -1
- package/resources/simulation-environment.d.mts +366 -0
- package/resources/simulation-environment.d.mts.map +1 -1
- package/resources/simulation-environment.d.ts +366 -0
- package/resources/simulation-environment.d.ts.map +1 -1
- package/resources/simulation-job.d.mts +12 -8
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +12 -8
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-persona.d.mts +25 -15
- package/resources/simulation-persona.d.mts.map +1 -1
- package/resources/simulation-persona.d.ts +25 -15
- package/resources/simulation-persona.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +32 -6
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +32 -6
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan.d.mts +126 -13
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +126 -13
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation-template.d.mts +1 -1
- package/resources/simulation-template.d.mts.map +1 -1
- package/resources/simulation-template.d.ts +1 -1
- package/resources/simulation-template.d.ts.map +1 -1
- package/resources/simulation.d.mts +35 -3
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +35 -3
- package/resources/simulation.d.ts.map +1 -1
- package/resources/tool.d.mts +565 -6
- package/resources/tool.d.mts.map +1 -1
- package/resources/tool.d.ts +565 -6
- package/resources/tool.d.ts.map +1 -1
- package/resources/tool.js +9 -6
- package/resources/tool.js.map +1 -1
- package/resources/tool.mjs +9 -6
- package/resources/tool.mjs.map +1 -1
- package/resources/usage.d.mts +1 -1
- package/resources/usage.d.mts.map +1 -1
- package/resources/usage.d.ts +1 -1
- package/resources/usage.d.ts.map +1 -1
- package/resources/webhook.d.mts +4 -4
- package/resources/webhook.d.mts.map +1 -1
- package/resources/webhook.d.ts +4 -4
- package/resources/webhook.d.ts.map +1 -1
- package/src/client.ts +200 -34
- package/src/resources/agent-connection.ts +2523 -0
- package/src/resources/agent-conversation.ts +139 -0
- package/src/resources/agent-draft.ts +239 -35
- package/src/resources/agent-endpoint.ts +8 -4
- package/src/resources/agent-setup.ts +1685 -0
- package/src/resources/agent-version.ts +126 -18
- package/src/resources/agent.ts +506 -4
- package/src/resources/calendar-connection.ts +1035 -63
- package/src/resources/call.ts +12 -2
- package/src/resources/config.ts +198 -36
- package/src/resources/conversation.ts +205 -0
- package/src/resources/customer-flow-edge-case.ts +709 -40
- package/src/resources/customer-flow.ts +3141 -156
- package/src/resources/{customer-profile.ts → customer.ts} +406 -294
- package/src/resources/index.ts +91 -17
- package/src/resources/mcp-server.ts +786 -0
- package/src/resources/metric-policy.ts +5 -4
- package/src/resources/metric-variant.ts +4 -1
- package/src/resources/metric.ts +7 -2
- package/src/resources/simulation-environment.ts +414 -0
- package/src/resources/simulation-job.ts +14 -8
- package/src/resources/simulation-persona.ts +25 -15
- package/src/resources/simulation-run-plan-job.ts +47 -6
- package/src/resources/simulation-run-plan.ts +140 -0
- package/src/resources/simulation-template.ts +1 -0
- package/src/resources/simulation.ts +39 -0
- package/src/resources/tool.ts +697 -6
- package/src/resources/usage.ts +6 -1
- package/src/resources/webhook.ts +8 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/customer-profile.d.mts.map +0 -1
- package/resources/customer-profile.d.ts.map +0 -1
- package/resources/customer-profile.js +0 -141
- package/resources/customer-profile.js.map +0 -1
- package/resources/customer-profile.mjs +0 -137
- package/resources/customer-profile.mjs.map +0 -1
package/src/client.ts
CHANGED
|
@@ -41,6 +41,30 @@ import {
|
|
|
41
41
|
AgentConfigUpdateResponse,
|
|
42
42
|
ManagedAgentConfigRevision,
|
|
43
43
|
} from './resources/agent-config';
|
|
44
|
+
import {
|
|
45
|
+
AgentConnection,
|
|
46
|
+
AgentConnectionCancelBackfillParams,
|
|
47
|
+
AgentConnectionCancelBackfillResponse,
|
|
48
|
+
AgentConnectionCreateBackfillParams,
|
|
49
|
+
AgentConnectionCreateBackfillResponse,
|
|
50
|
+
AgentConnectionCreateParams,
|
|
51
|
+
AgentConnectionCreateResponse,
|
|
52
|
+
AgentConnectionDeleteResponse,
|
|
53
|
+
AgentConnectionDiscoverParams,
|
|
54
|
+
AgentConnectionDiscoverResponse,
|
|
55
|
+
AgentConnectionGetByIDResponse,
|
|
56
|
+
AgentConnectionListBackfillsResponse,
|
|
57
|
+
AgentConnectionListParams,
|
|
58
|
+
AgentConnectionListProvidersResponse,
|
|
59
|
+
AgentConnectionListResponse,
|
|
60
|
+
AgentConnectionUpdateParams,
|
|
61
|
+
AgentConnectionUpdateResponse,
|
|
62
|
+
} from './resources/agent-connection';
|
|
63
|
+
import {
|
|
64
|
+
AgentConversation,
|
|
65
|
+
AgentConversationCreateParams,
|
|
66
|
+
AgentConversationCreateResponse,
|
|
67
|
+
} from './resources/agent-conversation';
|
|
44
68
|
import {
|
|
45
69
|
AgentDraft,
|
|
46
70
|
AgentDraftCreateParams,
|
|
@@ -70,6 +94,20 @@ import {
|
|
|
70
94
|
AgentPromptUpdateParams,
|
|
71
95
|
AgentPromptUpdateResponse,
|
|
72
96
|
} from './resources/agent-prompt';
|
|
97
|
+
import {
|
|
98
|
+
AgentSetup,
|
|
99
|
+
AgentSetupAnswerQuestionParams,
|
|
100
|
+
AgentSetupAnswerQuestionResponse,
|
|
101
|
+
AgentSetupCancelParams,
|
|
102
|
+
AgentSetupCancelResponse,
|
|
103
|
+
AgentSetupCreateParams,
|
|
104
|
+
AgentSetupCreateResponse,
|
|
105
|
+
AgentSetupGetByIDParams,
|
|
106
|
+
AgentSetupGetByIDResponse,
|
|
107
|
+
AgentSetupGetLatestResponse,
|
|
108
|
+
AgentSetupSendGuidanceParams,
|
|
109
|
+
AgentSetupSendGuidanceResponse,
|
|
110
|
+
} from './resources/agent-setup';
|
|
73
111
|
import {
|
|
74
112
|
AgentVersion,
|
|
75
113
|
AgentVersionGetByIDParams,
|
|
@@ -119,15 +157,26 @@ import {
|
|
|
119
157
|
CalendarConnectionCheckResponse,
|
|
120
158
|
CalendarConnectionCreateParams,
|
|
121
159
|
CalendarConnectionCreateResponse,
|
|
160
|
+
CalendarConnectionCreateTargetParams,
|
|
161
|
+
CalendarConnectionCreateTargetResponse,
|
|
122
162
|
CalendarConnectionDeleteResponse,
|
|
163
|
+
CalendarConnectionDeleteTargetParams,
|
|
164
|
+
CalendarConnectionDeleteTargetResponse,
|
|
123
165
|
CalendarConnectionGetByIDResponse,
|
|
124
166
|
CalendarConnectionGetTargetParams,
|
|
125
167
|
CalendarConnectionGetTargetResponse,
|
|
168
|
+
CalendarConnectionListCalendarsResponse,
|
|
126
169
|
CalendarConnectionListParams,
|
|
127
170
|
CalendarConnectionListResponse,
|
|
128
171
|
CalendarConnectionListTargetsResponse,
|
|
172
|
+
CalendarConnectionStartCalendlyOauthParams,
|
|
173
|
+
CalendarConnectionStartCalendlyOauthResponse,
|
|
174
|
+
CalendarConnectionStartGoogleOauthParams,
|
|
175
|
+
CalendarConnectionStartGoogleOauthResponse,
|
|
129
176
|
CalendarConnectionUpdateParams,
|
|
130
177
|
CalendarConnectionUpdateResponse,
|
|
178
|
+
CalendarConnectionUpdateTargetParams,
|
|
179
|
+
CalendarConnectionUpdateTargetResponse,
|
|
131
180
|
} from './resources/calendar-connection';
|
|
132
181
|
import {
|
|
133
182
|
Call,
|
|
@@ -159,6 +208,35 @@ import {
|
|
|
159
208
|
ConfigDiffResponse,
|
|
160
209
|
ConfigFlowStep,
|
|
161
210
|
} from './resources/config';
|
|
211
|
+
import {
|
|
212
|
+
Conversation,
|
|
213
|
+
ConversationGetByIDResponse,
|
|
214
|
+
ConversationListParams,
|
|
215
|
+
ConversationListResponse,
|
|
216
|
+
} from './resources/conversation';
|
|
217
|
+
import {
|
|
218
|
+
Customer,
|
|
219
|
+
CustomerClearAttributeParams,
|
|
220
|
+
CustomerClearAttributeResponse,
|
|
221
|
+
CustomerCreateFieldParams,
|
|
222
|
+
CustomerCreateFieldResponse,
|
|
223
|
+
CustomerDeleteFieldResponse,
|
|
224
|
+
CustomerDeleteResponse,
|
|
225
|
+
CustomerGetByIDResponse,
|
|
226
|
+
CustomerListConversationsParams,
|
|
227
|
+
CustomerListConversationsResponse,
|
|
228
|
+
CustomerListFieldsResponse,
|
|
229
|
+
CustomerListParams,
|
|
230
|
+
CustomerListResponse,
|
|
231
|
+
CustomerSetAttributeParams,
|
|
232
|
+
CustomerSetAttributeResponse,
|
|
233
|
+
CustomerUnlockAttributeParams,
|
|
234
|
+
CustomerUnlockAttributeResponse,
|
|
235
|
+
CustomerUpdateFieldParams,
|
|
236
|
+
CustomerUpdateFieldResponse,
|
|
237
|
+
CustomerUpdateNotesParams,
|
|
238
|
+
CustomerUpdateNotesResponse,
|
|
239
|
+
} from './resources/customer';
|
|
162
240
|
import {
|
|
163
241
|
CustomerFlow,
|
|
164
242
|
CustomerFlowCreateParams,
|
|
@@ -188,23 +266,6 @@ import {
|
|
|
188
266
|
CustomerFlowEdgeCaseUpdateParams,
|
|
189
267
|
CustomerFlowEdgeCaseUpdateResponse,
|
|
190
268
|
} from './resources/customer-flow-edge-case';
|
|
191
|
-
import {
|
|
192
|
-
CustomerProfile,
|
|
193
|
-
CustomerProfileClearAttributeParams,
|
|
194
|
-
CustomerProfileClearAttributeResponse,
|
|
195
|
-
CustomerProfileDeleteResponse,
|
|
196
|
-
CustomerProfileGetByIDResponse,
|
|
197
|
-
CustomerProfileListConversationsParams,
|
|
198
|
-
CustomerProfileListConversationsResponse,
|
|
199
|
-
CustomerProfileListParams,
|
|
200
|
-
CustomerProfileListResponse,
|
|
201
|
-
CustomerProfileSetAttributeParams,
|
|
202
|
-
CustomerProfileSetAttributeResponse,
|
|
203
|
-
CustomerProfileUnlockAttributeParams,
|
|
204
|
-
CustomerProfileUnlockAttributeResponse,
|
|
205
|
-
CustomerProfileUpdateNotesParams,
|
|
206
|
-
CustomerProfileUpdateNotesResponse,
|
|
207
|
-
} from './resources/customer-profile';
|
|
208
269
|
import {
|
|
209
270
|
Dashboard,
|
|
210
271
|
DashboardCreateParams,
|
|
@@ -253,6 +314,19 @@ import {
|
|
|
253
314
|
LiveReportUpdateParams,
|
|
254
315
|
LiveReportUpdateResponse,
|
|
255
316
|
} from './resources/live-report';
|
|
317
|
+
import {
|
|
318
|
+
McpServer,
|
|
319
|
+
McpServerCreateParams,
|
|
320
|
+
McpServerCreateResponse,
|
|
321
|
+
McpServerDeleteResponse,
|
|
322
|
+
McpServerDiscoverParams,
|
|
323
|
+
McpServerDiscoverResponse,
|
|
324
|
+
McpServerGetByIDResponse,
|
|
325
|
+
McpServerListResponse,
|
|
326
|
+
McpServerRefreshResponse,
|
|
327
|
+
McpServerUpdateParams,
|
|
328
|
+
McpServerUpdateResponse,
|
|
329
|
+
} from './resources/mcp-server';
|
|
256
330
|
import {
|
|
257
331
|
Me,
|
|
258
332
|
MeCreateAPIKeyParams,
|
|
@@ -599,6 +673,9 @@ export class Roark {
|
|
|
599
673
|
this.maxRetries = options.maxRetries ?? 2;
|
|
600
674
|
this.fetch = options.fetch ?? Shims.getDefaultFetch();
|
|
601
675
|
this.#encoder = Opts.FallbackEncoder;
|
|
676
|
+
// Every non-GET request carries one key, kept across its retries, so a POST retried after a
|
|
677
|
+
// timeout or 5xx is answered from the first attempt instead of starting the work again.
|
|
678
|
+
this.idempotencyHeader = 'Idempotency-Key';
|
|
602
679
|
|
|
603
680
|
const customHeadersEnv = readEnv('ROARK_CUSTOM_HEADERS');
|
|
604
681
|
if (customHeadersEnv) {
|
|
@@ -1186,6 +1263,7 @@ export class Roark {
|
|
|
1186
1263
|
me: API.Me = new API.Me(this);
|
|
1187
1264
|
project: API.Project = new API.Project(this);
|
|
1188
1265
|
usage: API.Usage = new API.Usage(this);
|
|
1266
|
+
conversation: API.Conversation = new API.Conversation(this);
|
|
1189
1267
|
call: API.Call = new API.Call(this);
|
|
1190
1268
|
analytics: API.Analytics = new API.Analytics(this);
|
|
1191
1269
|
dashboard: API.Dashboard = new API.Dashboard(this);
|
|
@@ -1204,7 +1282,7 @@ export class Roark {
|
|
|
1204
1282
|
simulationRunPlan: API.SimulationRunPlan = new API.SimulationRunPlan(this);
|
|
1205
1283
|
simulationRunPlanJob: API.SimulationRunPlanJob = new API.SimulationRunPlanJob(this);
|
|
1206
1284
|
simulationPersona: API.SimulationPersona = new API.SimulationPersona(this);
|
|
1207
|
-
|
|
1285
|
+
customer: API.Customer = new API.Customer(this);
|
|
1208
1286
|
simulationEnvironment: API.SimulationEnvironment = new API.SimulationEnvironment(this);
|
|
1209
1287
|
simulationTemplate: API.SimulationTemplate = new API.SimulationTemplate(this);
|
|
1210
1288
|
agentConfig: API.AgentConfig = new API.AgentConfig(this);
|
|
@@ -1215,11 +1293,15 @@ export class Roark {
|
|
|
1215
1293
|
agentEndpoint: API.AgentEndpoint = new API.AgentEndpoint(this);
|
|
1216
1294
|
phoneNumber: API.PhoneNumber = new API.PhoneNumber(this);
|
|
1217
1295
|
agentPrompt: API.AgentPrompt = new API.AgentPrompt(this);
|
|
1296
|
+
agentSetup: API.AgentSetup = new API.AgentSetup(this);
|
|
1218
1297
|
agentVersion: API.AgentVersion = new API.AgentVersion(this);
|
|
1219
1298
|
agentDraft: API.AgentDraft = new API.AgentDraft(this);
|
|
1299
|
+
agentConversation: API.AgentConversation = new API.AgentConversation(this);
|
|
1220
1300
|
tool: API.Tool = new API.Tool(this);
|
|
1221
1301
|
httpRequestDefinition: API.HTTPRequestDefinition = new API.HTTPRequestDefinition(this);
|
|
1222
1302
|
calendarConnection: API.CalendarConnection = new API.CalendarConnection(this);
|
|
1303
|
+
mcpServer: API.McpServer = new API.McpServer(this);
|
|
1304
|
+
agentConnection: API.AgentConnection = new API.AgentConnection(this);
|
|
1223
1305
|
webhook: API.Webhook = new API.Webhook(this);
|
|
1224
1306
|
benchmark: API.Benchmark = new API.Benchmark(this);
|
|
1225
1307
|
config: API.Config = new API.Config(this);
|
|
@@ -1229,6 +1311,7 @@ Roark.Health = Health;
|
|
|
1229
1311
|
Roark.Me = Me;
|
|
1230
1312
|
Roark.Project = Project;
|
|
1231
1313
|
Roark.Usage = Usage;
|
|
1314
|
+
Roark.Conversation = Conversation;
|
|
1232
1315
|
Roark.Call = Call;
|
|
1233
1316
|
Roark.Analytics = Analytics;
|
|
1234
1317
|
Roark.Dashboard = Dashboard;
|
|
@@ -1247,7 +1330,7 @@ Roark.SimulationRunGroup = SimulationRunGroup;
|
|
|
1247
1330
|
Roark.SimulationRunPlan = SimulationRunPlan;
|
|
1248
1331
|
Roark.SimulationRunPlanJob = SimulationRunPlanJob;
|
|
1249
1332
|
Roark.SimulationPersona = SimulationPersona;
|
|
1250
|
-
Roark.
|
|
1333
|
+
Roark.Customer = Customer;
|
|
1251
1334
|
Roark.SimulationEnvironment = SimulationEnvironment;
|
|
1252
1335
|
Roark.SimulationTemplate = SimulationTemplate;
|
|
1253
1336
|
Roark.AgentConfig = AgentConfig;
|
|
@@ -1258,11 +1341,15 @@ Roark.Agent = Agent;
|
|
|
1258
1341
|
Roark.AgentEndpoint = AgentEndpoint;
|
|
1259
1342
|
Roark.PhoneNumber = PhoneNumber;
|
|
1260
1343
|
Roark.AgentPrompt = AgentPrompt;
|
|
1344
|
+
Roark.AgentSetup = AgentSetup;
|
|
1261
1345
|
Roark.AgentVersion = AgentVersion;
|
|
1262
1346
|
Roark.AgentDraft = AgentDraft;
|
|
1347
|
+
Roark.AgentConversation = AgentConversation;
|
|
1263
1348
|
Roark.Tool = Tool;
|
|
1264
1349
|
Roark.HTTPRequestDefinition = HTTPRequestDefinition;
|
|
1265
1350
|
Roark.CalendarConnection = CalendarConnection;
|
|
1351
|
+
Roark.McpServer = McpServer;
|
|
1352
|
+
Roark.AgentConnection = AgentConnection;
|
|
1266
1353
|
Roark.Webhook = Webhook;
|
|
1267
1354
|
Roark.Benchmark = Benchmark;
|
|
1268
1355
|
Roark.Config = Config;
|
|
@@ -1286,6 +1373,13 @@ export declare namespace Roark {
|
|
|
1286
1373
|
|
|
1287
1374
|
export { Usage as Usage, type UsageGetResponse as UsageGetResponse, type UsageGetParams as UsageGetParams };
|
|
1288
1375
|
|
|
1376
|
+
export {
|
|
1377
|
+
Conversation as Conversation,
|
|
1378
|
+
type ConversationListResponse as ConversationListResponse,
|
|
1379
|
+
type ConversationGetByIDResponse as ConversationGetByIDResponse,
|
|
1380
|
+
type ConversationListParams as ConversationListParams,
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1289
1383
|
export {
|
|
1290
1384
|
Call as Call,
|
|
1291
1385
|
type CallCreateResponse as CallCreateResponse,
|
|
@@ -1499,21 +1593,27 @@ export declare namespace Roark {
|
|
|
1499
1593
|
};
|
|
1500
1594
|
|
|
1501
1595
|
export {
|
|
1502
|
-
|
|
1503
|
-
type
|
|
1504
|
-
type
|
|
1505
|
-
type
|
|
1506
|
-
type
|
|
1507
|
-
type
|
|
1508
|
-
type
|
|
1509
|
-
type
|
|
1510
|
-
type
|
|
1511
|
-
type
|
|
1512
|
-
type
|
|
1513
|
-
type
|
|
1514
|
-
type
|
|
1515
|
-
type
|
|
1516
|
-
type
|
|
1596
|
+
Customer as Customer,
|
|
1597
|
+
type CustomerListResponse as CustomerListResponse,
|
|
1598
|
+
type CustomerDeleteResponse as CustomerDeleteResponse,
|
|
1599
|
+
type CustomerClearAttributeResponse as CustomerClearAttributeResponse,
|
|
1600
|
+
type CustomerCreateFieldResponse as CustomerCreateFieldResponse,
|
|
1601
|
+
type CustomerDeleteFieldResponse as CustomerDeleteFieldResponse,
|
|
1602
|
+
type CustomerGetByIDResponse as CustomerGetByIDResponse,
|
|
1603
|
+
type CustomerListConversationsResponse as CustomerListConversationsResponse,
|
|
1604
|
+
type CustomerListFieldsResponse as CustomerListFieldsResponse,
|
|
1605
|
+
type CustomerSetAttributeResponse as CustomerSetAttributeResponse,
|
|
1606
|
+
type CustomerUnlockAttributeResponse as CustomerUnlockAttributeResponse,
|
|
1607
|
+
type CustomerUpdateFieldResponse as CustomerUpdateFieldResponse,
|
|
1608
|
+
type CustomerUpdateNotesResponse as CustomerUpdateNotesResponse,
|
|
1609
|
+
type CustomerListParams as CustomerListParams,
|
|
1610
|
+
type CustomerClearAttributeParams as CustomerClearAttributeParams,
|
|
1611
|
+
type CustomerCreateFieldParams as CustomerCreateFieldParams,
|
|
1612
|
+
type CustomerListConversationsParams as CustomerListConversationsParams,
|
|
1613
|
+
type CustomerSetAttributeParams as CustomerSetAttributeParams,
|
|
1614
|
+
type CustomerUnlockAttributeParams as CustomerUnlockAttributeParams,
|
|
1615
|
+
type CustomerUpdateFieldParams as CustomerUpdateFieldParams,
|
|
1616
|
+
type CustomerUpdateNotesParams as CustomerUpdateNotesParams,
|
|
1517
1617
|
};
|
|
1518
1618
|
|
|
1519
1619
|
export {
|
|
@@ -1640,6 +1740,21 @@ export declare namespace Roark {
|
|
|
1640
1740
|
type AgentPromptListVersionsParams as AgentPromptListVersionsParams,
|
|
1641
1741
|
};
|
|
1642
1742
|
|
|
1743
|
+
export {
|
|
1744
|
+
AgentSetup as AgentSetup,
|
|
1745
|
+
type AgentSetupCreateResponse as AgentSetupCreateResponse,
|
|
1746
|
+
type AgentSetupAnswerQuestionResponse as AgentSetupAnswerQuestionResponse,
|
|
1747
|
+
type AgentSetupCancelResponse as AgentSetupCancelResponse,
|
|
1748
|
+
type AgentSetupGetByIDResponse as AgentSetupGetByIDResponse,
|
|
1749
|
+
type AgentSetupGetLatestResponse as AgentSetupGetLatestResponse,
|
|
1750
|
+
type AgentSetupSendGuidanceResponse as AgentSetupSendGuidanceResponse,
|
|
1751
|
+
type AgentSetupCreateParams as AgentSetupCreateParams,
|
|
1752
|
+
type AgentSetupAnswerQuestionParams as AgentSetupAnswerQuestionParams,
|
|
1753
|
+
type AgentSetupCancelParams as AgentSetupCancelParams,
|
|
1754
|
+
type AgentSetupGetByIDParams as AgentSetupGetByIDParams,
|
|
1755
|
+
type AgentSetupSendGuidanceParams as AgentSetupSendGuidanceParams,
|
|
1756
|
+
};
|
|
1757
|
+
|
|
1643
1758
|
export {
|
|
1644
1759
|
AgentVersion as AgentVersion,
|
|
1645
1760
|
type AgentVersionListResponse as AgentVersionListResponse,
|
|
@@ -1662,6 +1777,12 @@ export declare namespace Roark {
|
|
|
1662
1777
|
type AgentDraftPublishParams as AgentDraftPublishParams,
|
|
1663
1778
|
};
|
|
1664
1779
|
|
|
1780
|
+
export {
|
|
1781
|
+
AgentConversation as AgentConversation,
|
|
1782
|
+
type AgentConversationCreateResponse as AgentConversationCreateResponse,
|
|
1783
|
+
type AgentConversationCreateParams as AgentConversationCreateParams,
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1665
1786
|
export {
|
|
1666
1787
|
Tool as Tool,
|
|
1667
1788
|
type ToolCreateResponse as ToolCreateResponse,
|
|
@@ -1692,13 +1813,58 @@ export declare namespace Roark {
|
|
|
1692
1813
|
type CalendarConnectionListResponse as CalendarConnectionListResponse,
|
|
1693
1814
|
type CalendarConnectionDeleteResponse as CalendarConnectionDeleteResponse,
|
|
1694
1815
|
type CalendarConnectionCheckResponse as CalendarConnectionCheckResponse,
|
|
1816
|
+
type CalendarConnectionCreateTargetResponse as CalendarConnectionCreateTargetResponse,
|
|
1817
|
+
type CalendarConnectionDeleteTargetResponse as CalendarConnectionDeleteTargetResponse,
|
|
1695
1818
|
type CalendarConnectionGetByIDResponse as CalendarConnectionGetByIDResponse,
|
|
1696
1819
|
type CalendarConnectionGetTargetResponse as CalendarConnectionGetTargetResponse,
|
|
1820
|
+
type CalendarConnectionListCalendarsResponse as CalendarConnectionListCalendarsResponse,
|
|
1697
1821
|
type CalendarConnectionListTargetsResponse as CalendarConnectionListTargetsResponse,
|
|
1822
|
+
type CalendarConnectionStartCalendlyOauthResponse as CalendarConnectionStartCalendlyOauthResponse,
|
|
1823
|
+
type CalendarConnectionStartGoogleOauthResponse as CalendarConnectionStartGoogleOauthResponse,
|
|
1824
|
+
type CalendarConnectionUpdateTargetResponse as CalendarConnectionUpdateTargetResponse,
|
|
1698
1825
|
type CalendarConnectionCreateParams as CalendarConnectionCreateParams,
|
|
1699
1826
|
type CalendarConnectionUpdateParams as CalendarConnectionUpdateParams,
|
|
1700
1827
|
type CalendarConnectionListParams as CalendarConnectionListParams,
|
|
1828
|
+
type CalendarConnectionCreateTargetParams as CalendarConnectionCreateTargetParams,
|
|
1829
|
+
type CalendarConnectionDeleteTargetParams as CalendarConnectionDeleteTargetParams,
|
|
1701
1830
|
type CalendarConnectionGetTargetParams as CalendarConnectionGetTargetParams,
|
|
1831
|
+
type CalendarConnectionStartCalendlyOauthParams as CalendarConnectionStartCalendlyOauthParams,
|
|
1832
|
+
type CalendarConnectionStartGoogleOauthParams as CalendarConnectionStartGoogleOauthParams,
|
|
1833
|
+
type CalendarConnectionUpdateTargetParams as CalendarConnectionUpdateTargetParams,
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
export {
|
|
1837
|
+
McpServer as McpServer,
|
|
1838
|
+
type McpServerCreateResponse as McpServerCreateResponse,
|
|
1839
|
+
type McpServerUpdateResponse as McpServerUpdateResponse,
|
|
1840
|
+
type McpServerListResponse as McpServerListResponse,
|
|
1841
|
+
type McpServerDeleteResponse as McpServerDeleteResponse,
|
|
1842
|
+
type McpServerDiscoverResponse as McpServerDiscoverResponse,
|
|
1843
|
+
type McpServerGetByIDResponse as McpServerGetByIDResponse,
|
|
1844
|
+
type McpServerRefreshResponse as McpServerRefreshResponse,
|
|
1845
|
+
type McpServerCreateParams as McpServerCreateParams,
|
|
1846
|
+
type McpServerUpdateParams as McpServerUpdateParams,
|
|
1847
|
+
type McpServerDiscoverParams as McpServerDiscoverParams,
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
export {
|
|
1851
|
+
AgentConnection as AgentConnection,
|
|
1852
|
+
type AgentConnectionCreateResponse as AgentConnectionCreateResponse,
|
|
1853
|
+
type AgentConnectionUpdateResponse as AgentConnectionUpdateResponse,
|
|
1854
|
+
type AgentConnectionListResponse as AgentConnectionListResponse,
|
|
1855
|
+
type AgentConnectionDeleteResponse as AgentConnectionDeleteResponse,
|
|
1856
|
+
type AgentConnectionCancelBackfillResponse as AgentConnectionCancelBackfillResponse,
|
|
1857
|
+
type AgentConnectionCreateBackfillResponse as AgentConnectionCreateBackfillResponse,
|
|
1858
|
+
type AgentConnectionDiscoverResponse as AgentConnectionDiscoverResponse,
|
|
1859
|
+
type AgentConnectionGetByIDResponse as AgentConnectionGetByIDResponse,
|
|
1860
|
+
type AgentConnectionListBackfillsResponse as AgentConnectionListBackfillsResponse,
|
|
1861
|
+
type AgentConnectionListProvidersResponse as AgentConnectionListProvidersResponse,
|
|
1862
|
+
type AgentConnectionCreateParams as AgentConnectionCreateParams,
|
|
1863
|
+
type AgentConnectionUpdateParams as AgentConnectionUpdateParams,
|
|
1864
|
+
type AgentConnectionListParams as AgentConnectionListParams,
|
|
1865
|
+
type AgentConnectionCancelBackfillParams as AgentConnectionCancelBackfillParams,
|
|
1866
|
+
type AgentConnectionCreateBackfillParams as AgentConnectionCreateBackfillParams,
|
|
1867
|
+
type AgentConnectionDiscoverParams as AgentConnectionDiscoverParams,
|
|
1702
1868
|
};
|
|
1703
1869
|
|
|
1704
1870
|
export {
|