@roarkanalytics/sdk-mcp 5.20.2 → 6.1.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/src/methods.ts CHANGED
@@ -52,6 +52,12 @@ export const sdkMethods: SdkMethod[] = [
52
52
  httpMethod: 'get',
53
53
  httpPath: '/v1/usage',
54
54
  },
55
+ {
56
+ clientCallName: 'client.conversation.getByID',
57
+ fullyQualifiedName: 'conversation.getByID',
58
+ httpMethod: 'get',
59
+ httpPath: '/v1/conversation/{conversationId}',
60
+ },
55
61
  {
56
62
  clientCallName: 'client.call.create',
57
63
  fullyQualifiedName: 'call.create',
@@ -340,6 +346,42 @@ export const sdkMethods: SdkMethod[] = [
340
346
  httpMethod: 'get',
341
347
  httpPath: '/v1/metric/definitions/{idOrSlug}/variants/{variantId}',
342
348
  },
349
+ {
350
+ clientCallName: 'client.simulation.answerResourceGeneration',
351
+ fullyQualifiedName: 'simulation.answerResourceGeneration',
352
+ httpMethod: 'post',
353
+ httpPath: '/v1/simulation/generations/resources/{generationId}/answer',
354
+ },
355
+ {
356
+ clientCallName: 'client.simulation.cancelResourceGeneration',
357
+ fullyQualifiedName: 'simulation.cancelResourceGeneration',
358
+ httpMethod: 'post',
359
+ httpPath: '/v1/simulation/generations/resources/{generationId}/cancel',
360
+ },
361
+ {
362
+ clientCallName: 'client.simulation.generateResources',
363
+ fullyQualifiedName: 'simulation.generateResources',
364
+ httpMethod: 'post',
365
+ httpPath: '/v1/simulation/generations/resources',
366
+ },
367
+ {
368
+ clientCallName: 'client.simulation.getResourceGeneration',
369
+ fullyQualifiedName: 'simulation.getResourceGeneration',
370
+ httpMethod: 'get',
371
+ httpPath: '/v1/simulation/generations/resources/{generationId}',
372
+ },
373
+ {
374
+ clientCallName: 'client.simulation.guideResourceGeneration',
375
+ fullyQualifiedName: 'simulation.guideResourceGeneration',
376
+ httpMethod: 'post',
377
+ httpPath: '/v1/simulation/generations/resources/{generationId}/guidance',
378
+ },
379
+ {
380
+ clientCallName: 'client.simulation.listResourceGenerations',
381
+ fullyQualifiedName: 'simulation.listResourceGenerations',
382
+ httpMethod: 'get',
383
+ httpPath: '/v1/simulation/generations/resources',
384
+ },
343
385
  {
344
386
  clientCallName: 'client.simulation.mockTool',
345
387
  fullyQualifiedName: 'simulation.mockTool',
@@ -376,6 +418,12 @@ export const sdkMethods: SdkMethod[] = [
376
418
  httpMethod: 'get',
377
419
  httpPath: '/v1/simulation/audio-clip',
378
420
  },
421
+ {
422
+ clientCallName: 'client.simulationPhoneNumber.list',
423
+ fullyQualifiedName: 'simulationPhoneNumber.list',
424
+ httpMethod: 'get',
425
+ httpPath: '/v1/simulation/phone-number',
426
+ },
379
427
  {
380
428
  clientCallName: 'client.simulationToolFixture.create',
381
429
  fullyQualifiedName: 'simulationToolFixture.create',
@@ -569,52 +617,76 @@ export const sdkMethods: SdkMethod[] = [
569
617
  httpPath: '/v1/persona/{personaId}',
570
618
  },
571
619
  {
572
- clientCallName: 'client.customerProfile.list',
573
- fullyQualifiedName: 'customerProfile.list',
620
+ clientCallName: 'client.customer.list',
621
+ fullyQualifiedName: 'customer.list',
574
622
  httpMethod: 'get',
575
- httpPath: '/v1/customer-profile',
623
+ httpPath: '/v1/customer',
624
+ },
625
+ {
626
+ clientCallName: 'client.customer.delete',
627
+ fullyQualifiedName: 'customer.delete',
628
+ httpMethod: 'delete',
629
+ httpPath: '/v1/customer/{customerProfileId}',
576
630
  },
577
631
  {
578
- clientCallName: 'client.customerProfile.delete',
579
- fullyQualifiedName: 'customerProfile.delete',
632
+ clientCallName: 'client.customer.clearAttribute',
633
+ fullyQualifiedName: 'customer.clearAttribute',
580
634
  httpMethod: 'delete',
581
- httpPath: '/v1/customer-profile/{customerProfileId}',
635
+ httpPath: '/v1/customer/{customerProfileId}/attributes/{key}',
636
+ },
637
+ {
638
+ clientCallName: 'client.customer.createField',
639
+ fullyQualifiedName: 'customer.createField',
640
+ httpMethod: 'post',
641
+ httpPath: '/v1/customer/fields',
582
642
  },
583
643
  {
584
- clientCallName: 'client.customerProfile.clearAttribute',
585
- fullyQualifiedName: 'customerProfile.clearAttribute',
644
+ clientCallName: 'client.customer.deleteField',
645
+ fullyQualifiedName: 'customer.deleteField',
586
646
  httpMethod: 'delete',
587
- httpPath: '/v1/customer-profile/{customerProfileId}/attributes/{key}',
647
+ httpPath: '/v1/customer/fields/{key}',
588
648
  },
589
649
  {
590
- clientCallName: 'client.customerProfile.getByID',
591
- fullyQualifiedName: 'customerProfile.getByID',
650
+ clientCallName: 'client.customer.getByID',
651
+ fullyQualifiedName: 'customer.getByID',
592
652
  httpMethod: 'get',
593
- httpPath: '/v1/customer-profile/{customerProfileId}',
653
+ httpPath: '/v1/customer/{customerProfileId}',
594
654
  },
595
655
  {
596
- clientCallName: 'client.customerProfile.listConversations',
597
- fullyQualifiedName: 'customerProfile.listConversations',
656
+ clientCallName: 'client.customer.listConversations',
657
+ fullyQualifiedName: 'customer.listConversations',
598
658
  httpMethod: 'get',
599
- httpPath: '/v1/customer-profile/{customerProfileId}/conversations',
659
+ httpPath: '/v1/customer/{customerProfileId}/conversations',
600
660
  },
601
661
  {
602
- clientCallName: 'client.customerProfile.setAttribute',
603
- fullyQualifiedName: 'customerProfile.setAttribute',
662
+ clientCallName: 'client.customer.listFields',
663
+ fullyQualifiedName: 'customer.listFields',
664
+ httpMethod: 'get',
665
+ httpPath: '/v1/customer/fields',
666
+ },
667
+ {
668
+ clientCallName: 'client.customer.setAttribute',
669
+ fullyQualifiedName: 'customer.setAttribute',
604
670
  httpMethod: 'put',
605
- httpPath: '/v1/customer-profile/{customerProfileId}/attributes/{key}',
671
+ httpPath: '/v1/customer/{customerProfileId}/attributes/{key}',
606
672
  },
607
673
  {
608
- clientCallName: 'client.customerProfile.unlockAttribute',
609
- fullyQualifiedName: 'customerProfile.unlockAttribute',
674
+ clientCallName: 'client.customer.unlockAttribute',
675
+ fullyQualifiedName: 'customer.unlockAttribute',
610
676
  httpMethod: 'post',
611
- httpPath: '/v1/customer-profile/{customerProfileId}/attributes/{key}/unlock',
677
+ httpPath: '/v1/customer/{customerProfileId}/attributes/{key}/unlock',
678
+ },
679
+ {
680
+ clientCallName: 'client.customer.updateField',
681
+ fullyQualifiedName: 'customer.updateField',
682
+ httpMethod: 'patch',
683
+ httpPath: '/v1/customer/fields/{key}',
612
684
  },
613
685
  {
614
- clientCallName: 'client.customerProfile.updateNotes',
615
- fullyQualifiedName: 'customerProfile.updateNotes',
686
+ clientCallName: 'client.customer.updateNotes',
687
+ fullyQualifiedName: 'customer.updateNotes',
616
688
  httpMethod: 'put',
617
- httpPath: '/v1/customer-profile/{customerProfileId}/notes',
689
+ httpPath: '/v1/customer/{customerProfileId}/notes',
618
690
  },
619
691
  {
620
692
  clientCallName: 'client.simulationEnvironment.create',
@@ -784,6 +856,24 @@ export const sdkMethods: SdkMethod[] = [
784
856
  httpMethod: 'put',
785
857
  httpPath: '/v1/customer-flow/{flowId}/happy-path',
786
858
  },
859
+ {
860
+ clientCallName: 'client.customerFlowFolder.create',
861
+ fullyQualifiedName: 'customerFlowFolder.create',
862
+ httpMethod: 'post',
863
+ httpPath: '/v1/customer-flow/folder',
864
+ },
865
+ {
866
+ clientCallName: 'client.customerFlowFolder.list',
867
+ fullyQualifiedName: 'customerFlowFolder.list',
868
+ httpMethod: 'get',
869
+ httpPath: '/v1/customer-flow/folder',
870
+ },
871
+ {
872
+ clientCallName: 'client.customerFlowFolder.delete',
873
+ fullyQualifiedName: 'customerFlowFolder.delete',
874
+ httpMethod: 'delete',
875
+ httpPath: '/v1/customer-flow/folder/{folderId}',
876
+ },
787
877
  {
788
878
  clientCallName: 'client.customerFlowEdgeCase.update',
789
879
  fullyQualifiedName: 'customerFlowEdgeCase.update',
@@ -964,6 +1054,12 @@ export const sdkMethods: SdkMethod[] = [
964
1054
  httpMethod: 'post',
965
1055
  httpPath: '/v1/agent/{agentId}/draft/publish',
966
1056
  },
1057
+ {
1058
+ clientCallName: 'client.agentConversation.create',
1059
+ fullyQualifiedName: 'agentConversation.create',
1060
+ httpMethod: 'post',
1061
+ httpPath: '/v1/agent/{agentId}/conversations',
1062
+ },
967
1063
  {
968
1064
  clientCallName: 'client.tool.create',
969
1065
  fullyQualifiedName: 'tool.create',
@@ -1022,49 +1118,187 @@ export const sdkMethods: SdkMethod[] = [
1022
1118
  clientCallName: 'client.calendarConnection.create',
1023
1119
  fullyQualifiedName: 'calendarConnection.create',
1024
1120
  httpMethod: 'post',
1025
- httpPath: '/v1/calendar-connection',
1121
+ httpPath: '/v1/connections/calendar',
1026
1122
  },
1027
1123
  {
1028
1124
  clientCallName: 'client.calendarConnection.update',
1029
1125
  fullyQualifiedName: 'calendarConnection.update',
1030
1126
  httpMethod: 'patch',
1031
- httpPath: '/v1/calendar-connection/{connectionId}',
1127
+ httpPath: '/v1/connections/calendar/{connectionId}',
1032
1128
  },
1033
1129
  {
1034
1130
  clientCallName: 'client.calendarConnection.list',
1035
1131
  fullyQualifiedName: 'calendarConnection.list',
1036
1132
  httpMethod: 'get',
1037
- httpPath: '/v1/calendar-connection',
1133
+ httpPath: '/v1/connections/calendar',
1038
1134
  },
1039
1135
  {
1040
1136
  clientCallName: 'client.calendarConnection.delete',
1041
1137
  fullyQualifiedName: 'calendarConnection.delete',
1042
1138
  httpMethod: 'delete',
1043
- httpPath: '/v1/calendar-connection/{connectionId}',
1139
+ httpPath: '/v1/connections/calendar/{connectionId}',
1044
1140
  },
1045
1141
  {
1046
1142
  clientCallName: 'client.calendarConnection.check',
1047
1143
  fullyQualifiedName: 'calendarConnection.check',
1048
1144
  httpMethod: 'post',
1049
- httpPath: '/v1/calendar-connection/{connectionId}/check',
1145
+ httpPath: '/v1/connections/calendar/{connectionId}/check',
1146
+ },
1147
+ {
1148
+ clientCallName: 'client.calendarConnection.createTarget',
1149
+ fullyQualifiedName: 'calendarConnection.createTarget',
1150
+ httpMethod: 'post',
1151
+ httpPath: '/v1/connections/calendar/{connectionId}/targets',
1152
+ },
1153
+ {
1154
+ clientCallName: 'client.calendarConnection.deleteTarget',
1155
+ fullyQualifiedName: 'calendarConnection.deleteTarget',
1156
+ httpMethod: 'delete',
1157
+ httpPath: '/v1/connections/calendar/{connectionId}/targets/{targetId}',
1050
1158
  },
1051
1159
  {
1052
1160
  clientCallName: 'client.calendarConnection.getByID',
1053
1161
  fullyQualifiedName: 'calendarConnection.getByID',
1054
1162
  httpMethod: 'get',
1055
- httpPath: '/v1/calendar-connection/{connectionId}',
1163
+ httpPath: '/v1/connections/calendar/{connectionId}',
1056
1164
  },
1057
1165
  {
1058
1166
  clientCallName: 'client.calendarConnection.getTarget',
1059
1167
  fullyQualifiedName: 'calendarConnection.getTarget',
1060
1168
  httpMethod: 'get',
1061
- httpPath: '/v1/calendar-connection/{connectionId}/targets/{targetId}',
1169
+ httpPath: '/v1/connections/calendar/{connectionId}/targets/{targetId}',
1170
+ },
1171
+ {
1172
+ clientCallName: 'client.calendarConnection.listCalendars',
1173
+ fullyQualifiedName: 'calendarConnection.listCalendars',
1174
+ httpMethod: 'get',
1175
+ httpPath: '/v1/connections/calendar/{connectionId}/calendars',
1062
1176
  },
1063
1177
  {
1064
1178
  clientCallName: 'client.calendarConnection.listTargets',
1065
1179
  fullyQualifiedName: 'calendarConnection.listTargets',
1066
1180
  httpMethod: 'get',
1067
- httpPath: '/v1/calendar-connection/{connectionId}/targets',
1181
+ httpPath: '/v1/connections/calendar/{connectionId}/targets',
1182
+ },
1183
+ {
1184
+ clientCallName: 'client.calendarConnection.startCalendlyOauth',
1185
+ fullyQualifiedName: 'calendarConnection.startCalendlyOauth',
1186
+ httpMethod: 'post',
1187
+ httpPath: '/v1/connections/calendar/calendly/authorize-url',
1188
+ },
1189
+ {
1190
+ clientCallName: 'client.calendarConnection.startGoogleOauth',
1191
+ fullyQualifiedName: 'calendarConnection.startGoogleOauth',
1192
+ httpMethod: 'post',
1193
+ httpPath: '/v1/connections/calendar/google/authorize-url',
1194
+ },
1195
+ {
1196
+ clientCallName: 'client.calendarConnection.updateTarget',
1197
+ fullyQualifiedName: 'calendarConnection.updateTarget',
1198
+ httpMethod: 'put',
1199
+ httpPath: '/v1/connections/calendar/{connectionId}/targets/{targetId}',
1200
+ },
1201
+ {
1202
+ clientCallName: 'client.mcpServer.create',
1203
+ fullyQualifiedName: 'mcpServer.create',
1204
+ httpMethod: 'post',
1205
+ httpPath: '/v1/connections/mcp-server',
1206
+ },
1207
+ {
1208
+ clientCallName: 'client.mcpServer.update',
1209
+ fullyQualifiedName: 'mcpServer.update',
1210
+ httpMethod: 'patch',
1211
+ httpPath: '/v1/connections/mcp-server/{serverId}',
1212
+ },
1213
+ {
1214
+ clientCallName: 'client.mcpServer.list',
1215
+ fullyQualifiedName: 'mcpServer.list',
1216
+ httpMethod: 'get',
1217
+ httpPath: '/v1/connections/mcp-server',
1218
+ },
1219
+ {
1220
+ clientCallName: 'client.mcpServer.delete',
1221
+ fullyQualifiedName: 'mcpServer.delete',
1222
+ httpMethod: 'delete',
1223
+ httpPath: '/v1/connections/mcp-server/{serverId}',
1224
+ },
1225
+ {
1226
+ clientCallName: 'client.mcpServer.discover',
1227
+ fullyQualifiedName: 'mcpServer.discover',
1228
+ httpMethod: 'post',
1229
+ httpPath: '/v1/connections/mcp-server/discover',
1230
+ },
1231
+ {
1232
+ clientCallName: 'client.mcpServer.getByID',
1233
+ fullyQualifiedName: 'mcpServer.getByID',
1234
+ httpMethod: 'get',
1235
+ httpPath: '/v1/connections/mcp-server/{serverId}',
1236
+ },
1237
+ {
1238
+ clientCallName: 'client.mcpServer.refresh',
1239
+ fullyQualifiedName: 'mcpServer.refresh',
1240
+ httpMethod: 'post',
1241
+ httpPath: '/v1/connections/mcp-server/{serverId}/refresh',
1242
+ },
1243
+ {
1244
+ clientCallName: 'client.agentConnection.create',
1245
+ fullyQualifiedName: 'agentConnection.create',
1246
+ httpMethod: 'post',
1247
+ httpPath: '/v1/connections/agent',
1248
+ },
1249
+ {
1250
+ clientCallName: 'client.agentConnection.update',
1251
+ fullyQualifiedName: 'agentConnection.update',
1252
+ httpMethod: 'patch',
1253
+ httpPath: '/v1/connections/agent/{connectionId}',
1254
+ },
1255
+ {
1256
+ clientCallName: 'client.agentConnection.list',
1257
+ fullyQualifiedName: 'agentConnection.list',
1258
+ httpMethod: 'get',
1259
+ httpPath: '/v1/connections/agent',
1260
+ },
1261
+ {
1262
+ clientCallName: 'client.agentConnection.delete',
1263
+ fullyQualifiedName: 'agentConnection.delete',
1264
+ httpMethod: 'delete',
1265
+ httpPath: '/v1/connections/agent/{connectionId}',
1266
+ },
1267
+ {
1268
+ clientCallName: 'client.agentConnection.cancelBackfill',
1269
+ fullyQualifiedName: 'agentConnection.cancelBackfill',
1270
+ httpMethod: 'post',
1271
+ httpPath: '/v1/connections/agent/{connectionId}/backfills/{backfillId}/cancel',
1272
+ },
1273
+ {
1274
+ clientCallName: 'client.agentConnection.createBackfill',
1275
+ fullyQualifiedName: 'agentConnection.createBackfill',
1276
+ httpMethod: 'post',
1277
+ httpPath: '/v1/connections/agent/{connectionId}/backfills',
1278
+ },
1279
+ {
1280
+ clientCallName: 'client.agentConnection.discover',
1281
+ fullyQualifiedName: 'agentConnection.discover',
1282
+ httpMethod: 'post',
1283
+ httpPath: '/v1/connections/agent/discover',
1284
+ },
1285
+ {
1286
+ clientCallName: 'client.agentConnection.getByID',
1287
+ fullyQualifiedName: 'agentConnection.getByID',
1288
+ httpMethod: 'get',
1289
+ httpPath: '/v1/connections/agent/{connectionId}',
1290
+ },
1291
+ {
1292
+ clientCallName: 'client.agentConnection.listBackfills',
1293
+ fullyQualifiedName: 'agentConnection.listBackfills',
1294
+ httpMethod: 'get',
1295
+ httpPath: '/v1/connections/agent/{connectionId}/backfills',
1296
+ },
1297
+ {
1298
+ clientCallName: 'client.agentConnection.listProviders',
1299
+ fullyQualifiedName: 'agentConnection.listProviders',
1300
+ httpMethod: 'get',
1301
+ httpPath: '/v1/connections/agent/providers',
1068
1302
  },
1069
1303
  {
1070
1304
  clientCallName: 'client.webhook.create',
package/src/server.ts CHANGED
@@ -41,7 +41,7 @@ export const newMcpServer = async ({
41
41
  { src: 'https://roark.ai/icon.png', mimeType: 'image/png', sizes: ['512x512'] },
42
42
  ],
43
43
  // A literal, not MCP_SERVER_VERSION: publish.yml checks dist/server.js for it.
44
- version: '5.20.2', // x-release-please-version
44
+ version: '6.1.1', // x-release-please-version
45
45
  },
46
46
  {
47
47
  // Directory mode does not fetch instructions. The hosted document tells a