@roarkanalytics/sdk-mcp 5.20.2 → 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/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',
@@ -569,52 +611,76 @@ export const sdkMethods: SdkMethod[] = [
569
611
  httpPath: '/v1/persona/{personaId}',
570
612
  },
571
613
  {
572
- clientCallName: 'client.customerProfile.list',
573
- fullyQualifiedName: 'customerProfile.list',
614
+ clientCallName: 'client.customer.list',
615
+ fullyQualifiedName: 'customer.list',
574
616
  httpMethod: 'get',
575
- httpPath: '/v1/customer-profile',
617
+ httpPath: '/v1/customer',
618
+ },
619
+ {
620
+ clientCallName: 'client.customer.delete',
621
+ fullyQualifiedName: 'customer.delete',
622
+ httpMethod: 'delete',
623
+ httpPath: '/v1/customer/{customerProfileId}',
576
624
  },
577
625
  {
578
- clientCallName: 'client.customerProfile.delete',
579
- fullyQualifiedName: 'customerProfile.delete',
626
+ clientCallName: 'client.customer.clearAttribute',
627
+ fullyQualifiedName: 'customer.clearAttribute',
580
628
  httpMethod: 'delete',
581
- httpPath: '/v1/customer-profile/{customerProfileId}',
629
+ httpPath: '/v1/customer/{customerProfileId}/attributes/{key}',
582
630
  },
583
631
  {
584
- clientCallName: 'client.customerProfile.clearAttribute',
585
- fullyQualifiedName: 'customerProfile.clearAttribute',
632
+ clientCallName: 'client.customer.createField',
633
+ fullyQualifiedName: 'customer.createField',
634
+ httpMethod: 'post',
635
+ httpPath: '/v1/customer/fields',
636
+ },
637
+ {
638
+ clientCallName: 'client.customer.deleteField',
639
+ fullyQualifiedName: 'customer.deleteField',
586
640
  httpMethod: 'delete',
587
- httpPath: '/v1/customer-profile/{customerProfileId}/attributes/{key}',
641
+ httpPath: '/v1/customer/fields/{key}',
588
642
  },
589
643
  {
590
- clientCallName: 'client.customerProfile.getByID',
591
- fullyQualifiedName: 'customerProfile.getByID',
644
+ clientCallName: 'client.customer.getByID',
645
+ fullyQualifiedName: 'customer.getByID',
592
646
  httpMethod: 'get',
593
- httpPath: '/v1/customer-profile/{customerProfileId}',
647
+ httpPath: '/v1/customer/{customerProfileId}',
594
648
  },
595
649
  {
596
- clientCallName: 'client.customerProfile.listConversations',
597
- fullyQualifiedName: 'customerProfile.listConversations',
650
+ clientCallName: 'client.customer.listConversations',
651
+ fullyQualifiedName: 'customer.listConversations',
598
652
  httpMethod: 'get',
599
- httpPath: '/v1/customer-profile/{customerProfileId}/conversations',
653
+ httpPath: '/v1/customer/{customerProfileId}/conversations',
600
654
  },
601
655
  {
602
- clientCallName: 'client.customerProfile.setAttribute',
603
- fullyQualifiedName: 'customerProfile.setAttribute',
656
+ clientCallName: 'client.customer.listFields',
657
+ fullyQualifiedName: 'customer.listFields',
658
+ httpMethod: 'get',
659
+ httpPath: '/v1/customer/fields',
660
+ },
661
+ {
662
+ clientCallName: 'client.customer.setAttribute',
663
+ fullyQualifiedName: 'customer.setAttribute',
604
664
  httpMethod: 'put',
605
- httpPath: '/v1/customer-profile/{customerProfileId}/attributes/{key}',
665
+ httpPath: '/v1/customer/{customerProfileId}/attributes/{key}',
606
666
  },
607
667
  {
608
- clientCallName: 'client.customerProfile.unlockAttribute',
609
- fullyQualifiedName: 'customerProfile.unlockAttribute',
668
+ clientCallName: 'client.customer.unlockAttribute',
669
+ fullyQualifiedName: 'customer.unlockAttribute',
610
670
  httpMethod: 'post',
611
- httpPath: '/v1/customer-profile/{customerProfileId}/attributes/{key}/unlock',
671
+ httpPath: '/v1/customer/{customerProfileId}/attributes/{key}/unlock',
672
+ },
673
+ {
674
+ clientCallName: 'client.customer.updateField',
675
+ fullyQualifiedName: 'customer.updateField',
676
+ httpMethod: 'patch',
677
+ httpPath: '/v1/customer/fields/{key}',
612
678
  },
613
679
  {
614
- clientCallName: 'client.customerProfile.updateNotes',
615
- fullyQualifiedName: 'customerProfile.updateNotes',
680
+ clientCallName: 'client.customer.updateNotes',
681
+ fullyQualifiedName: 'customer.updateNotes',
616
682
  httpMethod: 'put',
617
- httpPath: '/v1/customer-profile/{customerProfileId}/notes',
683
+ httpPath: '/v1/customer/{customerProfileId}/notes',
618
684
  },
619
685
  {
620
686
  clientCallName: 'client.simulationEnvironment.create',
@@ -784,6 +850,24 @@ export const sdkMethods: SdkMethod[] = [
784
850
  httpMethod: 'put',
785
851
  httpPath: '/v1/customer-flow/{flowId}/happy-path',
786
852
  },
853
+ {
854
+ clientCallName: 'client.customerFlowFolder.create',
855
+ fullyQualifiedName: 'customerFlowFolder.create',
856
+ httpMethod: 'post',
857
+ httpPath: '/v1/customer-flow/folder',
858
+ },
859
+ {
860
+ clientCallName: 'client.customerFlowFolder.list',
861
+ fullyQualifiedName: 'customerFlowFolder.list',
862
+ httpMethod: 'get',
863
+ httpPath: '/v1/customer-flow/folder',
864
+ },
865
+ {
866
+ clientCallName: 'client.customerFlowFolder.delete',
867
+ fullyQualifiedName: 'customerFlowFolder.delete',
868
+ httpMethod: 'delete',
869
+ httpPath: '/v1/customer-flow/folder/{folderId}',
870
+ },
787
871
  {
788
872
  clientCallName: 'client.customerFlowEdgeCase.update',
789
873
  fullyQualifiedName: 'customerFlowEdgeCase.update',
@@ -964,6 +1048,12 @@ export const sdkMethods: SdkMethod[] = [
964
1048
  httpMethod: 'post',
965
1049
  httpPath: '/v1/agent/{agentId}/draft/publish',
966
1050
  },
1051
+ {
1052
+ clientCallName: 'client.agentConversation.create',
1053
+ fullyQualifiedName: 'agentConversation.create',
1054
+ httpMethod: 'post',
1055
+ httpPath: '/v1/agent/{agentId}/conversations',
1056
+ },
967
1057
  {
968
1058
  clientCallName: 'client.tool.create',
969
1059
  fullyQualifiedName: 'tool.create',
@@ -1022,49 +1112,187 @@ export const sdkMethods: SdkMethod[] = [
1022
1112
  clientCallName: 'client.calendarConnection.create',
1023
1113
  fullyQualifiedName: 'calendarConnection.create',
1024
1114
  httpMethod: 'post',
1025
- httpPath: '/v1/calendar-connection',
1115
+ httpPath: '/v1/connections/calendar',
1026
1116
  },
1027
1117
  {
1028
1118
  clientCallName: 'client.calendarConnection.update',
1029
1119
  fullyQualifiedName: 'calendarConnection.update',
1030
1120
  httpMethod: 'patch',
1031
- httpPath: '/v1/calendar-connection/{connectionId}',
1121
+ httpPath: '/v1/connections/calendar/{connectionId}',
1032
1122
  },
1033
1123
  {
1034
1124
  clientCallName: 'client.calendarConnection.list',
1035
1125
  fullyQualifiedName: 'calendarConnection.list',
1036
1126
  httpMethod: 'get',
1037
- httpPath: '/v1/calendar-connection',
1127
+ httpPath: '/v1/connections/calendar',
1038
1128
  },
1039
1129
  {
1040
1130
  clientCallName: 'client.calendarConnection.delete',
1041
1131
  fullyQualifiedName: 'calendarConnection.delete',
1042
1132
  httpMethod: 'delete',
1043
- httpPath: '/v1/calendar-connection/{connectionId}',
1133
+ httpPath: '/v1/connections/calendar/{connectionId}',
1044
1134
  },
1045
1135
  {
1046
1136
  clientCallName: 'client.calendarConnection.check',
1047
1137
  fullyQualifiedName: 'calendarConnection.check',
1048
1138
  httpMethod: 'post',
1049
- httpPath: '/v1/calendar-connection/{connectionId}/check',
1139
+ httpPath: '/v1/connections/calendar/{connectionId}/check',
1140
+ },
1141
+ {
1142
+ clientCallName: 'client.calendarConnection.createTarget',
1143
+ fullyQualifiedName: 'calendarConnection.createTarget',
1144
+ httpMethod: 'post',
1145
+ httpPath: '/v1/connections/calendar/{connectionId}/targets',
1146
+ },
1147
+ {
1148
+ clientCallName: 'client.calendarConnection.deleteTarget',
1149
+ fullyQualifiedName: 'calendarConnection.deleteTarget',
1150
+ httpMethod: 'delete',
1151
+ httpPath: '/v1/connections/calendar/{connectionId}/targets/{targetId}',
1050
1152
  },
1051
1153
  {
1052
1154
  clientCallName: 'client.calendarConnection.getByID',
1053
1155
  fullyQualifiedName: 'calendarConnection.getByID',
1054
1156
  httpMethod: 'get',
1055
- httpPath: '/v1/calendar-connection/{connectionId}',
1157
+ httpPath: '/v1/connections/calendar/{connectionId}',
1056
1158
  },
1057
1159
  {
1058
1160
  clientCallName: 'client.calendarConnection.getTarget',
1059
1161
  fullyQualifiedName: 'calendarConnection.getTarget',
1060
1162
  httpMethod: 'get',
1061
- httpPath: '/v1/calendar-connection/{connectionId}/targets/{targetId}',
1163
+ httpPath: '/v1/connections/calendar/{connectionId}/targets/{targetId}',
1164
+ },
1165
+ {
1166
+ clientCallName: 'client.calendarConnection.listCalendars',
1167
+ fullyQualifiedName: 'calendarConnection.listCalendars',
1168
+ httpMethod: 'get',
1169
+ httpPath: '/v1/connections/calendar/{connectionId}/calendars',
1062
1170
  },
1063
1171
  {
1064
1172
  clientCallName: 'client.calendarConnection.listTargets',
1065
1173
  fullyQualifiedName: 'calendarConnection.listTargets',
1066
1174
  httpMethod: 'get',
1067
- httpPath: '/v1/calendar-connection/{connectionId}/targets',
1175
+ httpPath: '/v1/connections/calendar/{connectionId}/targets',
1176
+ },
1177
+ {
1178
+ clientCallName: 'client.calendarConnection.startCalendlyOauth',
1179
+ fullyQualifiedName: 'calendarConnection.startCalendlyOauth',
1180
+ httpMethod: 'post',
1181
+ httpPath: '/v1/connections/calendar/calendly/authorize-url',
1182
+ },
1183
+ {
1184
+ clientCallName: 'client.calendarConnection.startGoogleOauth',
1185
+ fullyQualifiedName: 'calendarConnection.startGoogleOauth',
1186
+ httpMethod: 'post',
1187
+ httpPath: '/v1/connections/calendar/google/authorize-url',
1188
+ },
1189
+ {
1190
+ clientCallName: 'client.calendarConnection.updateTarget',
1191
+ fullyQualifiedName: 'calendarConnection.updateTarget',
1192
+ httpMethod: 'put',
1193
+ httpPath: '/v1/connections/calendar/{connectionId}/targets/{targetId}',
1194
+ },
1195
+ {
1196
+ clientCallName: 'client.mcpServer.create',
1197
+ fullyQualifiedName: 'mcpServer.create',
1198
+ httpMethod: 'post',
1199
+ httpPath: '/v1/connections/mcp-server',
1200
+ },
1201
+ {
1202
+ clientCallName: 'client.mcpServer.update',
1203
+ fullyQualifiedName: 'mcpServer.update',
1204
+ httpMethod: 'patch',
1205
+ httpPath: '/v1/connections/mcp-server/{serverId}',
1206
+ },
1207
+ {
1208
+ clientCallName: 'client.mcpServer.list',
1209
+ fullyQualifiedName: 'mcpServer.list',
1210
+ httpMethod: 'get',
1211
+ httpPath: '/v1/connections/mcp-server',
1212
+ },
1213
+ {
1214
+ clientCallName: 'client.mcpServer.delete',
1215
+ fullyQualifiedName: 'mcpServer.delete',
1216
+ httpMethod: 'delete',
1217
+ httpPath: '/v1/connections/mcp-server/{serverId}',
1218
+ },
1219
+ {
1220
+ clientCallName: 'client.mcpServer.discover',
1221
+ fullyQualifiedName: 'mcpServer.discover',
1222
+ httpMethod: 'post',
1223
+ httpPath: '/v1/connections/mcp-server/discover',
1224
+ },
1225
+ {
1226
+ clientCallName: 'client.mcpServer.getByID',
1227
+ fullyQualifiedName: 'mcpServer.getByID',
1228
+ httpMethod: 'get',
1229
+ httpPath: '/v1/connections/mcp-server/{serverId}',
1230
+ },
1231
+ {
1232
+ clientCallName: 'client.mcpServer.refresh',
1233
+ fullyQualifiedName: 'mcpServer.refresh',
1234
+ httpMethod: 'post',
1235
+ httpPath: '/v1/connections/mcp-server/{serverId}/refresh',
1236
+ },
1237
+ {
1238
+ clientCallName: 'client.agentConnection.create',
1239
+ fullyQualifiedName: 'agentConnection.create',
1240
+ httpMethod: 'post',
1241
+ httpPath: '/v1/connections/agent',
1242
+ },
1243
+ {
1244
+ clientCallName: 'client.agentConnection.update',
1245
+ fullyQualifiedName: 'agentConnection.update',
1246
+ httpMethod: 'patch',
1247
+ httpPath: '/v1/connections/agent/{connectionId}',
1248
+ },
1249
+ {
1250
+ clientCallName: 'client.agentConnection.list',
1251
+ fullyQualifiedName: 'agentConnection.list',
1252
+ httpMethod: 'get',
1253
+ httpPath: '/v1/connections/agent',
1254
+ },
1255
+ {
1256
+ clientCallName: 'client.agentConnection.delete',
1257
+ fullyQualifiedName: 'agentConnection.delete',
1258
+ httpMethod: 'delete',
1259
+ httpPath: '/v1/connections/agent/{connectionId}',
1260
+ },
1261
+ {
1262
+ clientCallName: 'client.agentConnection.cancelBackfill',
1263
+ fullyQualifiedName: 'agentConnection.cancelBackfill',
1264
+ httpMethod: 'post',
1265
+ httpPath: '/v1/connections/agent/{connectionId}/backfills/{backfillId}/cancel',
1266
+ },
1267
+ {
1268
+ clientCallName: 'client.agentConnection.createBackfill',
1269
+ fullyQualifiedName: 'agentConnection.createBackfill',
1270
+ httpMethod: 'post',
1271
+ httpPath: '/v1/connections/agent/{connectionId}/backfills',
1272
+ },
1273
+ {
1274
+ clientCallName: 'client.agentConnection.discover',
1275
+ fullyQualifiedName: 'agentConnection.discover',
1276
+ httpMethod: 'post',
1277
+ httpPath: '/v1/connections/agent/discover',
1278
+ },
1279
+ {
1280
+ clientCallName: 'client.agentConnection.getByID',
1281
+ fullyQualifiedName: 'agentConnection.getByID',
1282
+ httpMethod: 'get',
1283
+ httpPath: '/v1/connections/agent/{connectionId}',
1284
+ },
1285
+ {
1286
+ clientCallName: 'client.agentConnection.listBackfills',
1287
+ fullyQualifiedName: 'agentConnection.listBackfills',
1288
+ httpMethod: 'get',
1289
+ httpPath: '/v1/connections/agent/{connectionId}/backfills',
1290
+ },
1291
+ {
1292
+ clientCallName: 'client.agentConnection.listProviders',
1293
+ fullyQualifiedName: 'agentConnection.listProviders',
1294
+ httpMethod: 'get',
1295
+ httpPath: '/v1/connections/agent/providers',
1068
1296
  },
1069
1297
  {
1070
1298
  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.0.0', // x-release-please-version
45
45
  },
46
46
  {
47
47
  // Directory mode does not fetch instructions. The hosted document tells a