@outlit/tools 1.0.0 → 2.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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  declare const contractVersion: 1;
2
- declare const publicToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_list_integrations", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_sync_status", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings"];
2
+ declare const publicToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_assign_customer_owner", "outlit_grant_customer_access", "outlit_update_customer_access", "outlit_revoke_customer_access", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_status", "outlit_setup_integration", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings", "outlit_list_behavior_metric_sources", "outlit_list_behavior_metric_events", "outlit_create_behavior_metric"];
3
3
  declare const publicToolContracts: {
4
4
  readonly outlit_list_customers: {
5
5
  readonly toolName: "outlit_list_customers";
@@ -413,7 +413,7 @@ declare const publicToolContracts: {
413
413
  readonly commandVersion: 1;
414
414
  readonly ownerDomain: "users";
415
415
  readonly title: "List Workspace Users";
416
- readonly description: "Browse internal workspace users such as CSMs, managers, account owners, and admins. Use this to discover who owns customers before composing dynamic reports across account books.";
416
+ readonly description: "List active workspace members who resolve to local Outlit users. Use this to discover exact user IDs for customer ownership and access commands or to browse account ownership.";
417
417
  readonly inputSchema: {
418
418
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
419
419
  readonly type: "object";
@@ -434,7 +434,7 @@ declare const publicToolContracts: {
434
434
  readonly maxLength: 500;
435
435
  };
436
436
  readonly hasOwnedCustomers: {
437
- readonly description: "When true, return only workspace users who own at least one customer";
437
+ readonly description: "When true, return only members who own customers; when false, return only members who own none";
438
438
  readonly type: "boolean";
439
439
  };
440
440
  readonly limit: {
@@ -1080,6 +1080,213 @@ declare const publicToolContracts: {
1080
1080
  readonly additionalProperties: false;
1081
1081
  };
1082
1082
  };
1083
+ readonly outlit_assign_customer_owner: {
1084
+ readonly toolName: "outlit_assign_customer_owner";
1085
+ readonly commandId: "customer.owner.assign";
1086
+ readonly commandVersion: 1;
1087
+ readonly ownerDomain: "customers";
1088
+ readonly title: "Assign Customer Owner";
1089
+ readonly description: "Assign an active workspace member as this customer’s primary owner. The former owner keeps Editor access.";
1090
+ readonly inputSchema: {
1091
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1092
+ readonly type: "object";
1093
+ readonly properties: {
1094
+ readonly customerId: {
1095
+ readonly type: "string";
1096
+ readonly format: "uuid";
1097
+ readonly pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$";
1098
+ };
1099
+ readonly targetUserId: {
1100
+ readonly type: "string";
1101
+ readonly minLength: 1;
1102
+ readonly maxLength: 500;
1103
+ };
1104
+ };
1105
+ readonly required: readonly ["customerId", "targetUserId"];
1106
+ };
1107
+ readonly outputSchema: {
1108
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1109
+ readonly type: "object";
1110
+ readonly properties: {
1111
+ readonly customerId: {
1112
+ readonly type: "string";
1113
+ };
1114
+ readonly ownerId: {
1115
+ readonly type: "string";
1116
+ };
1117
+ readonly previousOwnerId: {
1118
+ readonly anyOf: readonly [{
1119
+ readonly type: "string";
1120
+ }, {
1121
+ readonly type: "null";
1122
+ }];
1123
+ };
1124
+ };
1125
+ readonly required: readonly ["customerId", "ownerId", "previousOwnerId"];
1126
+ readonly additionalProperties: false;
1127
+ };
1128
+ };
1129
+ readonly outlit_grant_customer_access: {
1130
+ readonly toolName: "outlit_grant_customer_access";
1131
+ readonly commandId: "customer.access.grant";
1132
+ readonly commandVersion: 1;
1133
+ readonly ownerDomain: "customers";
1134
+ readonly title: "Grant Customer Access";
1135
+ readonly description: "Share a customer with an active workspace member as a Viewer or Editor. The customer ID must be exact.";
1136
+ readonly inputSchema: {
1137
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1138
+ readonly type: "object";
1139
+ readonly properties: {
1140
+ readonly customerId: {
1141
+ readonly type: "string";
1142
+ readonly format: "uuid";
1143
+ readonly pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$";
1144
+ };
1145
+ readonly targetUserId: {
1146
+ readonly type: "string";
1147
+ readonly minLength: 1;
1148
+ readonly maxLength: 500;
1149
+ };
1150
+ readonly role: {
1151
+ readonly type: "string";
1152
+ readonly enum: readonly ["VIEWER", "EDITOR"];
1153
+ };
1154
+ };
1155
+ readonly required: readonly ["customerId", "targetUserId", "role"];
1156
+ };
1157
+ readonly outputSchema: {
1158
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1159
+ readonly type: "object";
1160
+ readonly properties: {
1161
+ readonly access: {
1162
+ readonly type: "object";
1163
+ readonly properties: {
1164
+ readonly customerId: {
1165
+ readonly type: "string";
1166
+ };
1167
+ readonly userId: {
1168
+ readonly type: "string";
1169
+ };
1170
+ readonly role: {
1171
+ readonly type: "string";
1172
+ readonly enum: readonly ["VIEWER", "EDITOR"];
1173
+ };
1174
+ readonly grantedById: {
1175
+ readonly anyOf: readonly [{
1176
+ readonly type: "string";
1177
+ }, {
1178
+ readonly type: "null";
1179
+ }];
1180
+ };
1181
+ };
1182
+ readonly required: readonly ["customerId", "userId", "role", "grantedById"];
1183
+ readonly additionalProperties: false;
1184
+ };
1185
+ };
1186
+ readonly required: readonly ["access"];
1187
+ readonly additionalProperties: false;
1188
+ };
1189
+ };
1190
+ readonly outlit_update_customer_access: {
1191
+ readonly toolName: "outlit_update_customer_access";
1192
+ readonly commandId: "customer.access.update";
1193
+ readonly commandVersion: 1;
1194
+ readonly ownerDomain: "customers";
1195
+ readonly title: "Update Customer Access";
1196
+ readonly description: "Change an existing customer collaborator between Viewer and Editor.";
1197
+ readonly inputSchema: {
1198
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1199
+ readonly type: "object";
1200
+ readonly properties: {
1201
+ readonly customerId: {
1202
+ readonly type: "string";
1203
+ readonly format: "uuid";
1204
+ readonly pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$";
1205
+ };
1206
+ readonly targetUserId: {
1207
+ readonly type: "string";
1208
+ readonly minLength: 1;
1209
+ readonly maxLength: 500;
1210
+ };
1211
+ readonly role: {
1212
+ readonly type: "string";
1213
+ readonly enum: readonly ["VIEWER", "EDITOR"];
1214
+ };
1215
+ };
1216
+ readonly required: readonly ["customerId", "targetUserId", "role"];
1217
+ };
1218
+ readonly outputSchema: {
1219
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1220
+ readonly type: "object";
1221
+ readonly properties: {
1222
+ readonly access: {
1223
+ readonly type: "object";
1224
+ readonly properties: {
1225
+ readonly customerId: {
1226
+ readonly type: "string";
1227
+ };
1228
+ readonly userId: {
1229
+ readonly type: "string";
1230
+ };
1231
+ readonly role: {
1232
+ readonly type: "string";
1233
+ readonly enum: readonly ["VIEWER", "EDITOR"];
1234
+ };
1235
+ readonly grantedById: {
1236
+ readonly anyOf: readonly [{
1237
+ readonly type: "string";
1238
+ }, {
1239
+ readonly type: "null";
1240
+ }];
1241
+ };
1242
+ };
1243
+ readonly required: readonly ["customerId", "userId", "role", "grantedById"];
1244
+ readonly additionalProperties: false;
1245
+ };
1246
+ };
1247
+ readonly required: readonly ["access"];
1248
+ readonly additionalProperties: false;
1249
+ };
1250
+ };
1251
+ readonly outlit_revoke_customer_access: {
1252
+ readonly toolName: "outlit_revoke_customer_access";
1253
+ readonly commandId: "customer.access.revoke";
1254
+ readonly commandVersion: 1;
1255
+ readonly ownerDomain: "customers";
1256
+ readonly title: "Revoke Customer Access";
1257
+ readonly description: "Remove a collaborator’s explicit access to a customer.";
1258
+ readonly inputSchema: {
1259
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1260
+ readonly type: "object";
1261
+ readonly properties: {
1262
+ readonly customerId: {
1263
+ readonly type: "string";
1264
+ readonly format: "uuid";
1265
+ readonly pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$";
1266
+ };
1267
+ readonly targetUserId: {
1268
+ readonly type: "string";
1269
+ readonly minLength: 1;
1270
+ readonly maxLength: 500;
1271
+ };
1272
+ };
1273
+ readonly required: readonly ["customerId", "targetUserId"];
1274
+ };
1275
+ readonly outputSchema: {
1276
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
1277
+ readonly type: "object";
1278
+ readonly properties: {
1279
+ readonly customerId: {
1280
+ readonly type: "string";
1281
+ };
1282
+ readonly userId: {
1283
+ readonly type: "string";
1284
+ };
1285
+ };
1286
+ readonly required: readonly ["customerId", "userId"];
1287
+ readonly additionalProperties: false;
1288
+ };
1289
+ };
1083
1290
  readonly outlit_get_timeline: {
1084
1291
  readonly toolName: "outlit_get_timeline";
1085
1292
  readonly commandId: "timeline.get";
@@ -4932,86 +5139,10 @@ declare const publicToolContracts: {
4932
5139
  readonly additionalProperties: false;
4933
5140
  };
4934
5141
  };
4935
- readonly outlit_list_integrations: {
4936
- readonly toolName: "outlit_list_integrations";
4937
- readonly commandId: "integration.list";
4938
- readonly commandVersion: 1;
4939
- readonly ownerDomain: "integrations";
4940
- readonly title: "List Integrations";
4941
- readonly description: "List available integrations and safe connection health for the current actor.";
4942
- readonly inputSchema: {
4943
- readonly $schema: "https://json-schema.org/draft/2020-12/schema";
4944
- readonly type: "object";
4945
- readonly properties: {
4946
- readonly connectedOnly: {
4947
- readonly default: false;
4948
- readonly type: "boolean";
4949
- };
4950
- };
4951
- readonly additionalProperties: false;
4952
- };
4953
- readonly outputSchema: {
4954
- readonly $schema: "https://json-schema.org/draft/2020-12/schema";
4955
- readonly type: "object";
4956
- readonly properties: {
4957
- readonly integrations: {
4958
- readonly type: "array";
4959
- readonly items: {
4960
- readonly type: "object";
4961
- readonly properties: {
4962
- readonly provider: {
4963
- readonly type: "string";
4964
- readonly minLength: 1;
4965
- readonly maxLength: 80;
4966
- };
4967
- readonly name: {
4968
- readonly type: "string";
4969
- readonly minLength: 1;
4970
- readonly maxLength: 120;
4971
- };
4972
- readonly category: {
4973
- readonly type: "string";
4974
- readonly enum: readonly ["crm", "communication", "storage", "calls", "calendar", "analytics", "billing", "support"];
4975
- };
4976
- readonly status: {
4977
- readonly type: "string";
4978
- readonly enum: readonly ["available", "connected", "setup_required"];
4979
- };
4980
- readonly lastDataReceivedAt: {
4981
- readonly anyOf: readonly [{
4982
- readonly type: "string";
4983
- readonly format: "date-time";
4984
- readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
4985
- }, {
4986
- readonly type: "null";
4987
- }];
4988
- };
4989
- readonly syncStatus: {
4990
- readonly anyOf: readonly [{
4991
- readonly type: "string";
4992
- readonly minLength: 1;
4993
- readonly maxLength: 80;
4994
- }, {
4995
- readonly type: "null";
4996
- }];
4997
- };
4998
- readonly hasSyncError: {
4999
- readonly type: "boolean";
5000
- };
5001
- };
5002
- readonly required: readonly ["provider", "name", "category", "status", "lastDataReceivedAt", "syncStatus", "hasSyncError"];
5003
- readonly additionalProperties: false;
5004
- };
5005
- };
5006
- };
5007
- readonly required: readonly ["integrations"];
5008
- readonly additionalProperties: false;
5009
- };
5010
- };
5011
5142
  readonly outlit_get_integration_capabilities: {
5012
5143
  readonly toolName: "outlit_get_integration_capabilities";
5013
5144
  readonly commandId: "integration.capabilities.get";
5014
- readonly commandVersion: 1;
5145
+ readonly commandVersion: 2;
5015
5146
  readonly ownerDomain: "integrations";
5016
5147
  readonly title: "Get Integration Capabilities";
5017
5148
  readonly description: "Describe safe integration setup modes without exposing credential fields or provider configuration.";
@@ -5066,6 +5197,10 @@ declare const publicToolContracts: {
5066
5197
  readonly additionalProperties: false;
5067
5198
  };
5068
5199
  };
5200
+ readonly preferredSetupVersion: {
5201
+ readonly type: "number";
5202
+ readonly const: 1;
5203
+ };
5069
5204
  };
5070
5205
  readonly required: readonly ["providers"];
5071
5206
  readonly additionalProperties: false;
@@ -5177,82 +5312,650 @@ declare const publicToolContracts: {
5177
5312
  readonly additionalProperties: false;
5178
5313
  };
5179
5314
  };
5180
- readonly outlit_get_integration_sync_status: {
5181
- readonly toolName: "outlit_get_integration_sync_status";
5182
- readonly commandId: "integration.sync_status.get";
5183
- readonly commandVersion: 1;
5315
+ readonly outlit_get_integration_status: {
5316
+ readonly toolName: "outlit_get_integration_status";
5317
+ readonly commandId: "integration.status.get";
5318
+ readonly commandVersion: 2;
5184
5319
  readonly ownerDomain: "integrations";
5185
- readonly title: "Get Integration Sync Status";
5186
- readonly description: "Get safe model-level sync status for a connection visible to the current actor.";
5320
+ readonly title: "Get Integration Status";
5321
+ readonly description: "Get the configuration-readiness status for one integration or the public integration catalog.";
5187
5322
  readonly inputSchema: {
5188
5323
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5189
5324
  readonly type: "object";
5190
5325
  readonly properties: {
5191
5326
  readonly provider: {
5192
5327
  readonly type: "string";
5193
- readonly minLength: 1;
5194
- readonly maxLength: 80;
5328
+ readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk"];
5195
5329
  };
5196
5330
  };
5197
- readonly required: readonly ["provider"];
5198
5331
  readonly additionalProperties: false;
5199
5332
  };
5200
5333
  readonly outputSchema: {
5201
5334
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5202
5335
  readonly type: "object";
5203
5336
  readonly properties: {
5204
- readonly provider: {
5205
- readonly type: "string";
5206
- readonly minLength: 1;
5207
- readonly maxLength: 80;
5208
- };
5209
- readonly name: {
5210
- readonly type: "string";
5211
- readonly minLength: 1;
5212
- readonly maxLength: 120;
5213
- };
5214
- readonly category: {
5215
- readonly type: "string";
5216
- readonly enum: readonly ["crm", "communication", "storage", "calls", "calendar", "analytics", "billing", "support"];
5217
- };
5218
- readonly status: {
5219
- readonly type: "string";
5220
- readonly enum: readonly ["not_connected", "connected"];
5221
- };
5222
- readonly syncs: {
5337
+ readonly integrations: {
5223
5338
  readonly type: "array";
5224
5339
  readonly items: {
5225
5340
  readonly type: "object";
5226
5341
  readonly properties: {
5227
- readonly model: {
5342
+ readonly provider: {
5228
5343
  readonly type: "string";
5229
5344
  readonly minLength: 1;
5230
- readonly maxLength: 120;
5345
+ readonly maxLength: 80;
5231
5346
  };
5232
- readonly status: {
5347
+ readonly name: {
5233
5348
  readonly type: "string";
5234
5349
  readonly minLength: 1;
5235
- readonly maxLength: 80;
5350
+ readonly maxLength: 120;
5236
5351
  };
5237
- readonly lastSyncedAt: {
5238
- readonly anyOf: readonly [{
5239
- readonly type: "string";
5240
- readonly format: "date-time";
5241
- readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
5352
+ readonly category: {
5353
+ readonly type: "string";
5354
+ readonly enum: readonly ["crm", "communication", "storage", "calls", "calendar", "analytics", "billing", "support"];
5355
+ };
5356
+ readonly status: {
5357
+ readonly type: "string";
5358
+ readonly enum: readonly ["not_connected", "awaiting_auth", "setup_required", "ready", "requires_intervention"];
5359
+ };
5360
+ };
5361
+ readonly required: readonly ["provider", "name", "category", "status"];
5362
+ readonly additionalProperties: false;
5363
+ };
5364
+ };
5365
+ };
5366
+ readonly required: readonly ["integrations"];
5367
+ readonly additionalProperties: false;
5368
+ };
5369
+ };
5370
+ readonly outlit_setup_integration: {
5371
+ readonly toolName: "outlit_setup_integration";
5372
+ readonly commandId: "integration.setup.run";
5373
+ readonly commandVersion: 1;
5374
+ readonly ownerDomain: "integrations";
5375
+ readonly title: "Set Up Integration";
5376
+ readonly description: "Continue integration setup through validated credentials, safe configuration, or a trusted browser handoff.";
5377
+ readonly inputSchema: {
5378
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5379
+ readonly anyOf: readonly [{
5380
+ readonly type: "object";
5381
+ readonly properties: {
5382
+ readonly provider: {
5383
+ readonly type: "string";
5384
+ readonly enum: readonly ["salesforce", "hubspot", "attio"];
5385
+ };
5386
+ readonly configuration: {
5387
+ readonly type: "object";
5388
+ readonly properties: {
5389
+ readonly kind: {
5390
+ readonly type: "string";
5391
+ readonly const: "crm_mapping";
5392
+ };
5393
+ readonly mappings: {
5394
+ readonly minItems: 1;
5395
+ readonly type: "array";
5396
+ readonly items: {
5397
+ readonly type: "object";
5398
+ readonly properties: {
5399
+ readonly pipelineId: {
5400
+ readonly type: "string";
5401
+ readonly minLength: 1;
5402
+ };
5403
+ readonly pipelineName: {
5404
+ readonly type: "string";
5405
+ };
5406
+ readonly mappings: {
5407
+ readonly type: "array";
5408
+ readonly items: {
5409
+ readonly type: "object";
5410
+ readonly properties: {
5411
+ readonly outlitStage: {
5412
+ readonly type: "string";
5413
+ readonly enum: readonly ["Created", "Quoting", "Negotiation", "Won", "Lost"];
5414
+ };
5415
+ readonly crmStages: {
5416
+ readonly type: "array";
5417
+ readonly items: {
5418
+ readonly type: "object";
5419
+ readonly properties: {
5420
+ readonly id: {
5421
+ readonly type: "string";
5422
+ readonly minLength: 1;
5423
+ };
5424
+ readonly name: {
5425
+ readonly type: "string";
5426
+ };
5427
+ };
5428
+ readonly required: readonly ["id", "name"];
5429
+ readonly additionalProperties: false;
5430
+ };
5431
+ };
5432
+ };
5433
+ readonly required: readonly ["outlitStage", "crmStages"];
5434
+ readonly additionalProperties: false;
5435
+ };
5436
+ };
5437
+ };
5438
+ readonly required: readonly ["pipelineId", "pipelineName", "mappings"];
5439
+ readonly additionalProperties: false;
5440
+ };
5441
+ };
5442
+ readonly confirm: {
5443
+ readonly type: "boolean";
5444
+ readonly const: true;
5445
+ };
5446
+ };
5447
+ readonly required: readonly ["kind", "mappings", "confirm"];
5448
+ readonly additionalProperties: false;
5449
+ };
5450
+ };
5451
+ readonly required: readonly ["provider"];
5452
+ readonly additionalProperties: false;
5453
+ }, {
5454
+ readonly type: "object";
5455
+ readonly properties: {
5456
+ readonly provider: {
5457
+ readonly type: "string";
5458
+ readonly enum: readonly ["slack", "google-calendar", "google-mail", "gong"];
5459
+ };
5460
+ };
5461
+ readonly required: readonly ["provider"];
5462
+ readonly additionalProperties: false;
5463
+ }, {
5464
+ readonly type: "object";
5465
+ readonly properties: {
5466
+ readonly provider: {
5467
+ readonly type: "string";
5468
+ readonly const: "stripe";
5469
+ };
5470
+ readonly connectionMode: {
5471
+ readonly type: "string";
5472
+ readonly const: "oauth";
5473
+ };
5474
+ };
5475
+ readonly required: readonly ["provider"];
5476
+ readonly additionalProperties: false;
5477
+ }, {
5478
+ readonly type: "object";
5479
+ readonly properties: {
5480
+ readonly provider: {
5481
+ readonly type: "string";
5482
+ readonly const: "stripe";
5483
+ };
5484
+ readonly connectionMode: {
5485
+ readonly type: "string";
5486
+ readonly const: "restricted_key";
5487
+ };
5488
+ readonly credentials: {
5489
+ readonly type: "object";
5490
+ readonly properties: {
5491
+ readonly apiKey: {
5492
+ readonly type: "string";
5493
+ readonly minLength: 1;
5494
+ readonly pattern: "^rk_.*";
5495
+ };
5496
+ };
5497
+ readonly required: readonly ["apiKey"];
5498
+ readonly additionalProperties: false;
5499
+ };
5500
+ };
5501
+ readonly required: readonly ["provider", "connectionMode"];
5502
+ readonly additionalProperties: false;
5503
+ }, {
5504
+ readonly type: "object";
5505
+ readonly properties: {
5506
+ readonly provider: {
5507
+ readonly type: "string";
5508
+ readonly const: "granola";
5509
+ };
5510
+ readonly credentials: {
5511
+ readonly type: "object";
5512
+ readonly properties: {
5513
+ readonly apiKey: {
5514
+ readonly type: "string";
5515
+ readonly minLength: 1;
5516
+ };
5517
+ readonly authScope: {
5518
+ readonly default: "personal";
5519
+ readonly type: "string";
5520
+ readonly enum: readonly ["personal", "enterprise"];
5521
+ };
5522
+ readonly enterpriseKeyAcknowledged: {
5523
+ readonly default: false;
5524
+ readonly type: "boolean";
5525
+ };
5526
+ };
5527
+ readonly required: readonly ["apiKey"];
5528
+ readonly additionalProperties: false;
5529
+ };
5530
+ };
5531
+ readonly required: readonly ["provider"];
5532
+ readonly additionalProperties: false;
5533
+ }, {
5534
+ readonly type: "object";
5535
+ readonly properties: {
5536
+ readonly provider: {
5537
+ readonly type: "string";
5538
+ readonly const: "fireflies";
5539
+ };
5540
+ readonly credentials: {
5541
+ readonly type: "object";
5542
+ readonly properties: {
5543
+ readonly apiKey: {
5544
+ readonly type: "string";
5545
+ readonly minLength: 1;
5546
+ };
5547
+ };
5548
+ readonly required: readonly ["apiKey"];
5549
+ readonly additionalProperties: false;
5550
+ };
5551
+ };
5552
+ readonly required: readonly ["provider"];
5553
+ readonly additionalProperties: false;
5554
+ }, {
5555
+ readonly type: "object";
5556
+ readonly properties: {
5557
+ readonly provider: {
5558
+ readonly type: "string";
5559
+ readonly const: "pylon";
5560
+ };
5561
+ readonly credentials: {
5562
+ readonly type: "object";
5563
+ readonly properties: {
5564
+ readonly apiToken: {
5565
+ readonly type: "string";
5566
+ readonly minLength: 1;
5567
+ };
5568
+ };
5569
+ readonly required: readonly ["apiToken"];
5570
+ readonly additionalProperties: false;
5571
+ };
5572
+ };
5573
+ readonly required: readonly ["provider"];
5574
+ readonly additionalProperties: false;
5575
+ }, {
5576
+ readonly type: "object";
5577
+ readonly properties: {
5578
+ readonly provider: {
5579
+ readonly type: "string";
5580
+ readonly const: "mixpanel";
5581
+ };
5582
+ readonly credentials: {
5583
+ readonly type: "object";
5584
+ readonly properties: {
5585
+ readonly username: {
5586
+ readonly type: "string";
5587
+ readonly minLength: 1;
5588
+ };
5589
+ readonly secret: {
5590
+ readonly type: "string";
5591
+ readonly minLength: 1;
5592
+ };
5593
+ readonly projectId: {
5594
+ readonly type: "string";
5595
+ readonly minLength: 1;
5596
+ readonly maxLength: 64;
5597
+ };
5598
+ readonly region: {
5599
+ readonly type: "string";
5600
+ readonly enum: readonly ["us", "eu", "in"];
5601
+ };
5602
+ };
5603
+ readonly required: readonly ["username", "secret", "projectId", "region"];
5604
+ readonly additionalProperties: false;
5605
+ };
5606
+ readonly configuration: {
5607
+ readonly type: "object";
5608
+ readonly properties: {
5609
+ readonly kind: {
5610
+ readonly type: "string";
5611
+ readonly const: "mixpanel_mapping";
5612
+ };
5613
+ readonly mapping: {
5614
+ readonly oneOf: readonly [{
5615
+ readonly type: "object";
5616
+ readonly properties: {
5617
+ readonly mode: {
5618
+ readonly type: "string";
5619
+ readonly const: "group_key";
5620
+ };
5621
+ readonly groupKey: {
5622
+ readonly type: "string";
5623
+ readonly minLength: 1;
5624
+ };
5625
+ };
5626
+ readonly required: readonly ["mode", "groupKey"];
5627
+ readonly additionalProperties: false;
5242
5628
  }, {
5243
- readonly type: "null";
5629
+ readonly type: "object";
5630
+ readonly properties: {
5631
+ readonly mode: {
5632
+ readonly type: "string";
5633
+ readonly const: "event_property";
5634
+ };
5635
+ readonly propertyName: {
5636
+ readonly type: "string";
5637
+ readonly minLength: 1;
5638
+ };
5639
+ };
5640
+ readonly required: readonly ["mode", "propertyName"];
5641
+ readonly additionalProperties: false;
5642
+ }, {
5643
+ readonly type: "object";
5644
+ readonly properties: {
5645
+ readonly mode: {
5646
+ readonly type: "string";
5647
+ readonly const: "email_domain";
5648
+ };
5649
+ };
5650
+ readonly required: readonly ["mode"];
5651
+ readonly additionalProperties: false;
5244
5652
  }];
5245
5653
  };
5246
- readonly hasError: {
5654
+ readonly confirm: {
5247
5655
  readonly type: "boolean";
5656
+ readonly const: true;
5657
+ };
5658
+ };
5659
+ readonly required: readonly ["kind", "mapping", "confirm"];
5660
+ readonly additionalProperties: false;
5661
+ };
5662
+ };
5663
+ readonly required: readonly ["provider"];
5664
+ readonly additionalProperties: false;
5665
+ }, {
5666
+ readonly type: "object";
5667
+ readonly properties: {
5668
+ readonly provider: {
5669
+ readonly type: "string";
5670
+ readonly const: "posthog";
5671
+ };
5672
+ readonly credentials: {
5673
+ readonly type: "object";
5674
+ readonly properties: {
5675
+ readonly apiKey: {
5676
+ readonly type: "string";
5677
+ readonly minLength: 10;
5678
+ readonly pattern: "^phx_.*";
5679
+ };
5680
+ readonly region: {
5681
+ readonly type: "string";
5682
+ readonly enum: readonly ["us", "eu"];
5683
+ };
5684
+ readonly projectId: {
5685
+ readonly type: "string";
5686
+ readonly minLength: 1;
5687
+ readonly pattern: "^\\d+$";
5248
5688
  };
5249
5689
  };
5250
- readonly required: readonly ["model", "status", "lastSyncedAt", "hasError"];
5690
+ readonly required: readonly ["apiKey", "region", "projectId"];
5251
5691
  readonly additionalProperties: false;
5252
5692
  };
5253
5693
  };
5694
+ readonly required: readonly ["provider"];
5695
+ readonly additionalProperties: false;
5696
+ }, {
5697
+ readonly type: "object";
5698
+ readonly properties: {
5699
+ readonly provider: {
5700
+ readonly type: "string";
5701
+ readonly enum: readonly ["clerk", "supabase"];
5702
+ };
5703
+ };
5704
+ readonly required: readonly ["provider"];
5705
+ readonly additionalProperties: false;
5706
+ }];
5707
+ };
5708
+ readonly outputSchema: {
5709
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5710
+ readonly type: "object";
5711
+ readonly properties: {
5712
+ readonly provider: {
5713
+ readonly type: "string";
5714
+ readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk"];
5715
+ };
5716
+ readonly name: {
5717
+ readonly type: "string";
5718
+ readonly minLength: 1;
5719
+ readonly maxLength: 120;
5720
+ };
5721
+ readonly category: {
5722
+ readonly type: "string";
5723
+ readonly enum: readonly ["crm", "communication", "storage", "calls", "calendar", "analytics", "billing", "support"];
5724
+ };
5725
+ readonly status: {
5726
+ readonly type: "string";
5727
+ readonly enum: readonly ["not_connected", "awaiting_auth", "setup_required", "ready", "requires_intervention"];
5728
+ };
5729
+ readonly next: {
5730
+ readonly anyOf: readonly [{
5731
+ readonly anyOf: readonly [{
5732
+ readonly type: "object";
5733
+ readonly properties: {
5734
+ readonly kind: {
5735
+ readonly type: "string";
5736
+ readonly const: "browser_handoff";
5737
+ };
5738
+ readonly purpose: {
5739
+ readonly type: "string";
5740
+ readonly enum: readonly ["authentication", "recovery", "external_setup"];
5741
+ };
5742
+ readonly url: {
5743
+ readonly type: "string";
5744
+ readonly format: "uri";
5745
+ };
5746
+ readonly sessionId: {
5747
+ readonly anyOf: readonly [{
5748
+ readonly type: "string";
5749
+ readonly format: "uuid";
5750
+ readonly pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$";
5751
+ }, {
5752
+ readonly type: "null";
5753
+ }];
5754
+ };
5755
+ readonly expiresAt: {
5756
+ readonly anyOf: readonly [{
5757
+ readonly type: "string";
5758
+ readonly format: "date-time";
5759
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
5760
+ }, {
5761
+ readonly type: "null";
5762
+ }];
5763
+ };
5764
+ };
5765
+ readonly required: readonly ["kind", "purpose", "url", "sessionId", "expiresAt"];
5766
+ readonly additionalProperties: false;
5767
+ }, {
5768
+ readonly type: "object";
5769
+ readonly properties: {
5770
+ readonly kind: {
5771
+ readonly type: "string";
5772
+ readonly const: "crm_mapping";
5773
+ };
5774
+ readonly recommendation: {
5775
+ readonly minItems: 1;
5776
+ readonly type: "array";
5777
+ readonly items: {
5778
+ readonly type: "object";
5779
+ readonly properties: {
5780
+ readonly pipelineId: {
5781
+ readonly type: "string";
5782
+ readonly minLength: 1;
5783
+ };
5784
+ readonly pipelineName: {
5785
+ readonly type: "string";
5786
+ };
5787
+ readonly mappings: {
5788
+ readonly type: "array";
5789
+ readonly items: {
5790
+ readonly type: "object";
5791
+ readonly properties: {
5792
+ readonly outlitStage: {
5793
+ readonly type: "string";
5794
+ readonly enum: readonly ["Created", "Quoting", "Negotiation", "Won", "Lost"];
5795
+ };
5796
+ readonly crmStages: {
5797
+ readonly type: "array";
5798
+ readonly items: {
5799
+ readonly type: "object";
5800
+ readonly properties: {
5801
+ readonly id: {
5802
+ readonly type: "string";
5803
+ readonly minLength: 1;
5804
+ };
5805
+ readonly name: {
5806
+ readonly type: "string";
5807
+ };
5808
+ };
5809
+ readonly required: readonly ["id", "name"];
5810
+ readonly additionalProperties: false;
5811
+ };
5812
+ };
5813
+ };
5814
+ readonly required: readonly ["outlitStage", "crmStages"];
5815
+ readonly additionalProperties: false;
5816
+ };
5817
+ };
5818
+ };
5819
+ readonly required: readonly ["pipelineId", "pipelineName", "mappings"];
5820
+ readonly additionalProperties: false;
5821
+ };
5822
+ };
5823
+ };
5824
+ readonly required: readonly ["kind", "recommendation"];
5825
+ readonly additionalProperties: false;
5826
+ }, {
5827
+ readonly type: "object";
5828
+ readonly properties: {
5829
+ readonly kind: {
5830
+ readonly type: "string";
5831
+ readonly const: "mixpanel_mapping";
5832
+ };
5833
+ readonly preview: {
5834
+ readonly type: "object";
5835
+ readonly properties: {
5836
+ readonly sampleSize: {
5837
+ readonly type: "integer";
5838
+ readonly minimum: 0;
5839
+ readonly maximum: 9007199254740991;
5840
+ };
5841
+ readonly sampleWindowStartAt: {
5842
+ readonly type: "string";
5843
+ readonly format: "date-time";
5844
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
5845
+ };
5846
+ readonly sampleWindowEndAt: {
5847
+ readonly type: "string";
5848
+ readonly format: "date-time";
5849
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$";
5850
+ };
5851
+ readonly accountKeyCoveragePct: {
5852
+ readonly type: "number";
5853
+ readonly minimum: 0;
5854
+ readonly maximum: 100;
5855
+ };
5856
+ readonly emailOrDomainCoveragePct: {
5857
+ readonly type: "number";
5858
+ readonly minimum: 0;
5859
+ readonly maximum: 100;
5860
+ };
5861
+ readonly unmappedPct: {
5862
+ readonly type: "number";
5863
+ readonly minimum: 0;
5864
+ readonly maximum: 100;
5865
+ };
5866
+ readonly matchedCustomerCount: {
5867
+ readonly type: "integer";
5868
+ readonly minimum: 0;
5869
+ readonly maximum: 9007199254740991;
5870
+ };
5871
+ readonly opaqueOnlyUnmappedCount: {
5872
+ readonly type: "integer";
5873
+ readonly minimum: 0;
5874
+ readonly maximum: 9007199254740991;
5875
+ };
5876
+ readonly candidateAccountKeys: {
5877
+ readonly type: "array";
5878
+ readonly items: {
5879
+ readonly type: "object";
5880
+ readonly properties: {
5881
+ readonly key: {
5882
+ readonly type: "string";
5883
+ };
5884
+ readonly count: {
5885
+ readonly type: "integer";
5886
+ readonly minimum: 0;
5887
+ readonly maximum: 9007199254740991;
5888
+ };
5889
+ readonly coveragePct: {
5890
+ readonly type: "number";
5891
+ readonly minimum: 0;
5892
+ readonly maximum: 100;
5893
+ };
5894
+ };
5895
+ readonly required: readonly ["key", "count", "coveragePct"];
5896
+ readonly additionalProperties: false;
5897
+ };
5898
+ };
5899
+ readonly unmappedReasons: {
5900
+ readonly type: "array";
5901
+ readonly items: {
5902
+ readonly type: "object";
5903
+ readonly properties: {
5904
+ readonly reason: {
5905
+ readonly type: "string";
5906
+ readonly enum: readonly ["missing_account_key", "missing_email_or_domain", "no_matching_customer"];
5907
+ };
5908
+ readonly count: {
5909
+ readonly type: "integer";
5910
+ readonly minimum: 0;
5911
+ readonly maximum: 9007199254740991;
5912
+ };
5913
+ };
5914
+ readonly required: readonly ["reason", "count"];
5915
+ readonly additionalProperties: false;
5916
+ };
5917
+ };
5918
+ readonly warnings: {
5919
+ readonly type: "array";
5920
+ readonly items: {
5921
+ readonly type: "string";
5922
+ };
5923
+ };
5924
+ };
5925
+ readonly required: readonly ["sampleSize", "sampleWindowStartAt", "sampleWindowEndAt", "accountKeyCoveragePct", "emailOrDomainCoveragePct", "unmappedPct", "matchedCustomerCount", "opaqueOnlyUnmappedCount", "candidateAccountKeys", "unmappedReasons", "warnings"];
5926
+ readonly additionalProperties: false;
5927
+ };
5928
+ };
5929
+ readonly required: readonly ["kind", "preview"];
5930
+ readonly additionalProperties: false;
5931
+ }];
5932
+ }, {
5933
+ readonly type: "null";
5934
+ }];
5935
+ };
5936
+ readonly error: {
5937
+ readonly anyOf: readonly [{
5938
+ readonly type: "object";
5939
+ readonly properties: {
5940
+ readonly code: {
5941
+ readonly type: "string";
5942
+ readonly enum: readonly ["OWNER_REQUIRED", "CONNECTION_CONFLICT", "CREDENTIAL_REQUIRED", "CREDENTIAL_REJECTED", "LEGACY_CONNECTION_REQUIRED", "HANDOFF_UNAVAILABLE", "TRANSIENT_FAILURE"];
5943
+ };
5944
+ readonly message: {
5945
+ readonly type: "string";
5946
+ };
5947
+ readonly retryable: {
5948
+ readonly type: "boolean";
5949
+ };
5950
+ };
5951
+ readonly required: readonly ["code", "message", "retryable"];
5952
+ readonly additionalProperties: false;
5953
+ }, {
5954
+ readonly type: "null";
5955
+ }];
5956
+ };
5254
5957
  };
5255
- readonly required: readonly ["provider", "name", "category", "status", "syncs"];
5958
+ readonly required: readonly ["provider", "name", "category", "status", "next", "error"];
5256
5959
  readonly additionalProperties: false;
5257
5960
  };
5258
5961
  };
@@ -5482,99 +6185,535 @@ declare const publicToolContracts: {
5482
6185
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5483
6186
  readonly type: "object";
5484
6187
  readonly properties: {
5485
- readonly activation: {
5486
- readonly type: "object";
5487
- readonly properties: {
5488
- readonly eventName: {
5489
- readonly anyOf: readonly [{
6188
+ readonly activation: {
6189
+ readonly type: "object";
6190
+ readonly properties: {
6191
+ readonly eventName: {
6192
+ readonly anyOf: readonly [{
6193
+ readonly type: "string";
6194
+ readonly minLength: 1;
6195
+ readonly maxLength: 191;
6196
+ }, {
6197
+ readonly type: "null";
6198
+ }];
6199
+ };
6200
+ };
6201
+ readonly required: readonly ["eventName"];
6202
+ readonly additionalProperties: false;
6203
+ };
6204
+ readonly changed: {
6205
+ readonly type: "boolean";
6206
+ };
6207
+ };
6208
+ readonly required: readonly ["activation", "changed"];
6209
+ readonly additionalProperties: false;
6210
+ };
6211
+ };
6212
+ readonly outlit_get_workspace_settings: {
6213
+ readonly toolName: "outlit_get_workspace_settings";
6214
+ readonly commandId: "settings.get";
6215
+ readonly commandVersion: 1;
6216
+ readonly ownerDomain: "settings";
6217
+ readonly title: "Get Workspace Settings";
6218
+ readonly description: "Get the workspace default timezone used by time-based product behavior.";
6219
+ readonly inputSchema: {
6220
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
6221
+ readonly type: "object";
6222
+ readonly properties: {};
6223
+ readonly additionalProperties: false;
6224
+ };
6225
+ readonly outputSchema: {
6226
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
6227
+ readonly type: "object";
6228
+ readonly properties: {
6229
+ readonly settings: {
6230
+ readonly type: "object";
6231
+ readonly properties: {
6232
+ readonly defaultTimezone: {
6233
+ readonly type: "string";
6234
+ readonly minLength: 1;
6235
+ };
6236
+ };
6237
+ readonly required: readonly ["defaultTimezone"];
6238
+ readonly additionalProperties: false;
6239
+ };
6240
+ };
6241
+ readonly required: readonly ["settings"];
6242
+ readonly additionalProperties: false;
6243
+ };
6244
+ };
6245
+ readonly outlit_update_workspace_settings: {
6246
+ readonly toolName: "outlit_update_workspace_settings";
6247
+ readonly commandId: "settings.update";
6248
+ readonly commandVersion: 1;
6249
+ readonly ownerDomain: "settings";
6250
+ readonly title: "Update Workspace Settings";
6251
+ readonly description: "Update the workspace default timezone using a valid IANA timezone.";
6252
+ readonly inputSchema: {
6253
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
6254
+ readonly type: "object";
6255
+ readonly properties: {
6256
+ readonly defaultTimezone: {
6257
+ readonly type: "string";
6258
+ readonly minLength: 1;
6259
+ };
6260
+ };
6261
+ readonly required: readonly ["defaultTimezone"];
6262
+ readonly additionalProperties: false;
6263
+ };
6264
+ readonly outputSchema: {
6265
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
6266
+ readonly type: "object";
6267
+ readonly properties: {
6268
+ readonly settings: {
6269
+ readonly type: "object";
6270
+ readonly properties: {
6271
+ readonly defaultTimezone: {
6272
+ readonly type: "string";
6273
+ readonly minLength: 1;
6274
+ };
6275
+ };
6276
+ readonly required: readonly ["defaultTimezone"];
6277
+ readonly additionalProperties: false;
6278
+ };
6279
+ };
6280
+ readonly required: readonly ["settings"];
6281
+ readonly additionalProperties: false;
6282
+ };
6283
+ };
6284
+ readonly outlit_list_behavior_metric_sources: {
6285
+ readonly toolName: "outlit_list_behavior_metric_sources";
6286
+ readonly commandId: "behavior_metric_source.list";
6287
+ readonly commandVersion: 1;
6288
+ readonly ownerDomain: "behavior_metrics";
6289
+ readonly title: "List Behavior Metric Sources";
6290
+ readonly description: "List product-event sources eligible for Behavior Metric discovery.";
6291
+ readonly inputSchema: {
6292
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
6293
+ readonly type: "object";
6294
+ readonly properties: {};
6295
+ readonly additionalProperties: false;
6296
+ };
6297
+ readonly outputSchema: {
6298
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
6299
+ readonly type: "object";
6300
+ readonly properties: {
6301
+ readonly sources: {
6302
+ readonly type: "array";
6303
+ readonly items: {
6304
+ readonly type: "object";
6305
+ readonly properties: {
6306
+ readonly sourceKey: {
6307
+ readonly type: "string";
6308
+ readonly pattern: "^metric_source_v1_[a-f0-9]{32}$";
6309
+ };
6310
+ readonly provider: {
6311
+ readonly type: "string";
6312
+ readonly enum: readonly ["outlit_sdk", "posthog", "mixpanel"];
6313
+ };
6314
+ readonly label: {
5490
6315
  readonly type: "string";
5491
6316
  readonly minLength: 1;
5492
- readonly maxLength: 191;
5493
- }, {
5494
- readonly type: "null";
5495
- }];
6317
+ readonly maxLength: 255;
6318
+ };
6319
+ readonly readiness: {
6320
+ readonly type: "string";
6321
+ readonly enum: readonly ["READY", "WARMING", "BLOCKED"];
6322
+ };
5496
6323
  };
6324
+ readonly required: readonly ["sourceKey", "provider", "label", "readiness"];
6325
+ readonly additionalProperties: false;
5497
6326
  };
5498
- readonly required: readonly ["eventName"];
5499
- readonly additionalProperties: false;
5500
- };
5501
- readonly changed: {
5502
- readonly type: "boolean";
5503
6327
  };
5504
6328
  };
5505
- readonly required: readonly ["activation", "changed"];
6329
+ readonly required: readonly ["sources"];
5506
6330
  readonly additionalProperties: false;
5507
6331
  };
5508
6332
  };
5509
- readonly outlit_get_workspace_settings: {
5510
- readonly toolName: "outlit_get_workspace_settings";
5511
- readonly commandId: "settings.get";
6333
+ readonly outlit_list_behavior_metric_events: {
6334
+ readonly toolName: "outlit_list_behavior_metric_events";
6335
+ readonly commandId: "behavior_metric_event.list";
5512
6336
  readonly commandVersion: 1;
5513
- readonly ownerDomain: "settings";
5514
- readonly title: "Get Workspace Settings";
5515
- readonly description: "Get the workspace default timezone used by time-based product behavior.";
6337
+ readonly ownerDomain: "behavior_metrics";
6338
+ readonly title: "List Behavior Metric Events";
6339
+ readonly description: "List attributed event candidates for a Behavior Metric source.";
5516
6340
  readonly inputSchema: {
5517
6341
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5518
6342
  readonly type: "object";
5519
- readonly properties: {};
6343
+ readonly properties: {
6344
+ readonly sourceKey: {
6345
+ readonly type: "string";
6346
+ readonly pattern: "^metric_source_v1_[a-f0-9]{32}$";
6347
+ };
6348
+ readonly weeks: {
6349
+ readonly default: 12;
6350
+ readonly type: "integer";
6351
+ readonly minimum: 1;
6352
+ readonly maximum: 53;
6353
+ };
6354
+ readonly limit: {
6355
+ readonly default: 100;
6356
+ readonly type: "integer";
6357
+ readonly minimum: 1;
6358
+ readonly maximum: 100;
6359
+ };
6360
+ };
6361
+ readonly required: readonly ["sourceKey"];
5520
6362
  readonly additionalProperties: false;
5521
6363
  };
5522
6364
  readonly outputSchema: {
5523
6365
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5524
6366
  readonly type: "object";
5525
6367
  readonly properties: {
5526
- readonly settings: {
5527
- readonly type: "object";
5528
- readonly properties: {
5529
- readonly defaultTimezone: {
5530
- readonly type: "string";
5531
- readonly minLength: 1;
6368
+ readonly events: {
6369
+ readonly type: "array";
6370
+ readonly items: {
6371
+ readonly type: "object";
6372
+ readonly properties: {
6373
+ readonly eventName: {
6374
+ readonly type: "string";
6375
+ readonly minLength: 1;
6376
+ readonly maxLength: 191;
6377
+ };
6378
+ readonly eventCount: {
6379
+ readonly type: "integer";
6380
+ readonly minimum: 0;
6381
+ readonly maximum: 9007199254740991;
6382
+ };
6383
+ readonly distinctCustomers: {
6384
+ readonly type: "integer";
6385
+ readonly minimum: 0;
6386
+ readonly maximum: 9007199254740991;
6387
+ };
6388
+ readonly activeWeeks: {
6389
+ readonly type: "integer";
6390
+ readonly minimum: 1;
6391
+ readonly maximum: 53;
6392
+ };
6393
+ readonly propertyKeys: {
6394
+ readonly maxItems: 10;
6395
+ readonly type: "array";
6396
+ readonly items: {
6397
+ readonly type: "string";
6398
+ readonly minLength: 1;
6399
+ readonly maxLength: 191;
6400
+ };
6401
+ };
5532
6402
  };
6403
+ readonly required: readonly ["eventName", "eventCount", "distinctCustomers", "activeWeeks", "propertyKeys"];
6404
+ readonly additionalProperties: false;
5533
6405
  };
5534
- readonly required: readonly ["defaultTimezone"];
5535
- readonly additionalProperties: false;
6406
+ };
6407
+ readonly truncated: {
6408
+ readonly type: "boolean";
5536
6409
  };
5537
6410
  };
5538
- readonly required: readonly ["settings"];
6411
+ readonly required: readonly ["events", "truncated"];
5539
6412
  readonly additionalProperties: false;
5540
6413
  };
5541
6414
  };
5542
- readonly outlit_update_workspace_settings: {
5543
- readonly toolName: "outlit_update_workspace_settings";
5544
- readonly commandId: "settings.update";
6415
+ readonly outlit_create_behavior_metric: {
6416
+ readonly toolName: "outlit_create_behavior_metric";
6417
+ readonly commandId: "behavior_metric.create";
5545
6418
  readonly commandVersion: 1;
5546
- readonly ownerDomain: "settings";
5547
- readonly title: "Update Workspace Settings";
5548
- readonly description: "Update the workspace default timezone using a valid IANA timezone.";
6419
+ readonly ownerDomain: "behavior_metrics";
6420
+ readonly title: "Create Behavior Metric";
6421
+ readonly description: "Create or idempotently return an event-based Behavior Metric in ENABLED and SHADOW.";
5549
6422
  readonly inputSchema: {
5550
6423
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5551
6424
  readonly type: "object";
5552
6425
  readonly properties: {
5553
- readonly defaultTimezone: {
6426
+ readonly sourceKey: {
6427
+ readonly type: "string";
6428
+ readonly pattern: "^metric_source_v1_[a-f0-9]{32}$";
6429
+ };
6430
+ readonly eventName: {
6431
+ readonly type: "string";
6432
+ readonly minLength: 1;
6433
+ readonly maxLength: 191;
6434
+ };
6435
+ readonly behaviorKey: {
6436
+ readonly type: "string";
6437
+ readonly maxLength: 64;
6438
+ readonly pattern: "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$";
6439
+ };
6440
+ readonly label: {
5554
6441
  readonly type: "string";
5555
6442
  readonly minLength: 1;
6443
+ readonly maxLength: 255;
6444
+ };
6445
+ readonly propertyFilters: {
6446
+ readonly default: readonly [];
6447
+ readonly maxItems: 5;
6448
+ readonly type: "array";
6449
+ readonly items: {
6450
+ readonly oneOf: readonly [{
6451
+ readonly type: "object";
6452
+ readonly properties: {
6453
+ readonly property: {
6454
+ readonly type: "string";
6455
+ readonly minLength: 1;
6456
+ readonly maxLength: 191;
6457
+ };
6458
+ readonly operator: {
6459
+ readonly type: "string";
6460
+ readonly const: "equals";
6461
+ };
6462
+ readonly value: {
6463
+ readonly oneOf: readonly [{
6464
+ readonly type: "object";
6465
+ readonly properties: {
6466
+ readonly type: {
6467
+ readonly type: "string";
6468
+ readonly const: "string";
6469
+ };
6470
+ readonly value: {
6471
+ readonly type: "string";
6472
+ readonly maxLength: 191;
6473
+ };
6474
+ };
6475
+ readonly required: readonly ["type", "value"];
6476
+ readonly additionalProperties: false;
6477
+ }, {
6478
+ readonly type: "object";
6479
+ readonly properties: {
6480
+ readonly type: {
6481
+ readonly type: "string";
6482
+ readonly const: "number";
6483
+ };
6484
+ readonly value: {
6485
+ readonly type: "number";
6486
+ readonly minimum: -9007199254740991;
6487
+ readonly maximum: 9007199254740991;
6488
+ };
6489
+ };
6490
+ readonly required: readonly ["type", "value"];
6491
+ readonly additionalProperties: false;
6492
+ }, {
6493
+ readonly type: "object";
6494
+ readonly properties: {
6495
+ readonly type: {
6496
+ readonly type: "string";
6497
+ readonly const: "boolean";
6498
+ };
6499
+ readonly value: {
6500
+ readonly type: "boolean";
6501
+ };
6502
+ };
6503
+ readonly required: readonly ["type", "value"];
6504
+ readonly additionalProperties: false;
6505
+ }];
6506
+ };
6507
+ };
6508
+ readonly required: readonly ["property", "operator", "value"];
6509
+ readonly additionalProperties: false;
6510
+ }, {
6511
+ readonly type: "object";
6512
+ readonly properties: {
6513
+ readonly property: {
6514
+ readonly type: "string";
6515
+ readonly minLength: 1;
6516
+ readonly maxLength: 191;
6517
+ };
6518
+ readonly operator: {
6519
+ readonly type: "string";
6520
+ readonly const: "exists";
6521
+ };
6522
+ };
6523
+ readonly required: readonly ["property", "operator"];
6524
+ readonly additionalProperties: false;
6525
+ }];
6526
+ };
5556
6527
  };
5557
6528
  };
5558
- readonly required: readonly ["defaultTimezone"];
6529
+ readonly required: readonly ["sourceKey", "eventName", "behaviorKey", "label"];
5559
6530
  readonly additionalProperties: false;
5560
6531
  };
5561
6532
  readonly outputSchema: {
5562
6533
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5563
6534
  readonly type: "object";
5564
6535
  readonly properties: {
5565
- readonly settings: {
6536
+ readonly created: {
6537
+ readonly type: "boolean";
6538
+ };
6539
+ readonly metric: {
5566
6540
  readonly type: "object";
5567
6541
  readonly properties: {
5568
- readonly defaultTimezone: {
6542
+ readonly sourceKey: {
6543
+ readonly type: "string";
6544
+ readonly pattern: "^metric_source_v1_[a-f0-9]{32}$";
6545
+ };
6546
+ readonly behaviorKey: {
6547
+ readonly type: "string";
6548
+ readonly maxLength: 64;
6549
+ readonly pattern: "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$";
6550
+ };
6551
+ readonly label: {
5569
6552
  readonly type: "string";
5570
6553
  readonly minLength: 1;
6554
+ readonly maxLength: 255;
6555
+ };
6556
+ readonly eventSelection: {
6557
+ readonly oneOf: readonly [{
6558
+ readonly type: "object";
6559
+ readonly properties: {
6560
+ readonly mode: {
6561
+ readonly type: "string";
6562
+ readonly const: "exact_event_names";
6563
+ };
6564
+ readonly eventNames: {
6565
+ readonly minItems: 1;
6566
+ readonly maxItems: 1;
6567
+ readonly type: "array";
6568
+ readonly items: {
6569
+ readonly type: "string";
6570
+ readonly minLength: 1;
6571
+ readonly maxLength: 191;
6572
+ };
6573
+ };
6574
+ };
6575
+ readonly required: readonly ["mode", "eventNames"];
6576
+ readonly additionalProperties: false;
6577
+ }, {
6578
+ readonly type: "object";
6579
+ readonly properties: {
6580
+ readonly mode: {
6581
+ readonly type: "string";
6582
+ readonly const: "configured_event";
6583
+ };
6584
+ readonly eventName: {
6585
+ readonly type: "string";
6586
+ readonly minLength: 1;
6587
+ readonly maxLength: 191;
6588
+ };
6589
+ readonly propertyFilters: {
6590
+ readonly minItems: 1;
6591
+ readonly maxItems: 5;
6592
+ readonly type: "array";
6593
+ readonly items: {
6594
+ readonly oneOf: readonly [{
6595
+ readonly type: "object";
6596
+ readonly properties: {
6597
+ readonly property: {
6598
+ readonly type: "string";
6599
+ readonly minLength: 1;
6600
+ readonly maxLength: 191;
6601
+ };
6602
+ readonly operator: {
6603
+ readonly type: "string";
6604
+ readonly const: "equals";
6605
+ };
6606
+ readonly value: {
6607
+ readonly oneOf: readonly [{
6608
+ readonly type: "object";
6609
+ readonly properties: {
6610
+ readonly type: {
6611
+ readonly type: "string";
6612
+ readonly const: "string";
6613
+ };
6614
+ readonly value: {
6615
+ readonly type: "string";
6616
+ readonly maxLength: 191;
6617
+ };
6618
+ };
6619
+ readonly required: readonly ["type", "value"];
6620
+ readonly additionalProperties: false;
6621
+ }, {
6622
+ readonly type: "object";
6623
+ readonly properties: {
6624
+ readonly type: {
6625
+ readonly type: "string";
6626
+ readonly const: "number";
6627
+ };
6628
+ readonly value: {
6629
+ readonly type: "number";
6630
+ readonly minimum: -9007199254740991;
6631
+ readonly maximum: 9007199254740991;
6632
+ };
6633
+ };
6634
+ readonly required: readonly ["type", "value"];
6635
+ readonly additionalProperties: false;
6636
+ }, {
6637
+ readonly type: "object";
6638
+ readonly properties: {
6639
+ readonly type: {
6640
+ readonly type: "string";
6641
+ readonly const: "boolean";
6642
+ };
6643
+ readonly value: {
6644
+ readonly type: "boolean";
6645
+ };
6646
+ };
6647
+ readonly required: readonly ["type", "value"];
6648
+ readonly additionalProperties: false;
6649
+ }];
6650
+ };
6651
+ };
6652
+ readonly required: readonly ["property", "operator", "value"];
6653
+ readonly additionalProperties: false;
6654
+ }, {
6655
+ readonly type: "object";
6656
+ readonly properties: {
6657
+ readonly property: {
6658
+ readonly type: "string";
6659
+ readonly minLength: 1;
6660
+ readonly maxLength: 191;
6661
+ };
6662
+ readonly operator: {
6663
+ readonly type: "string";
6664
+ readonly const: "exists";
6665
+ };
6666
+ };
6667
+ readonly required: readonly ["property", "operator"];
6668
+ readonly additionalProperties: false;
6669
+ }];
6670
+ };
6671
+ };
6672
+ };
6673
+ readonly required: readonly ["mode", "eventName", "propertyFilters"];
6674
+ readonly additionalProperties: false;
6675
+ }];
6676
+ };
6677
+ readonly status: {
6678
+ readonly type: "string";
6679
+ readonly const: "ENABLED";
6680
+ };
6681
+ readonly evaluationMode: {
6682
+ readonly type: "string";
6683
+ readonly const: "SHADOW";
6684
+ };
6685
+ readonly definitions: {
6686
+ readonly minItems: 2;
6687
+ readonly maxItems: 2;
6688
+ readonly type: "array";
6689
+ readonly items: {
6690
+ readonly type: "object";
6691
+ readonly properties: {
6692
+ readonly id: {
6693
+ readonly type: "string";
6694
+ readonly format: "uuid";
6695
+ readonly pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$";
6696
+ };
6697
+ readonly metricKey: {
6698
+ readonly type: "string";
6699
+ readonly minLength: 1;
6700
+ readonly maxLength: 191;
6701
+ };
6702
+ readonly aggregation: {
6703
+ readonly type: "string";
6704
+ readonly enum: readonly ["active_days", "event_count"];
6705
+ };
6706
+ };
6707
+ readonly required: readonly ["id", "metricKey", "aggregation"];
6708
+ readonly additionalProperties: false;
6709
+ };
5571
6710
  };
5572
6711
  };
5573
- readonly required: readonly ["defaultTimezone"];
6712
+ readonly required: readonly ["sourceKey", "behaviorKey", "label", "eventSelection", "status", "evaluationMode", "definitions"];
5574
6713
  readonly additionalProperties: false;
5575
6714
  };
5576
6715
  };
5577
- readonly required: readonly ["settings"];
6716
+ readonly required: readonly ["created", "metric"];
5578
6717
  readonly additionalProperties: false;
5579
6718
  };
5580
6719
  };
@@ -5595,7 +6734,8 @@ declare const publicOpenApiTransports: readonly [{
5595
6734
  declare const consumerToolPolicies: {
5596
6735
  readonly default: readonly ["outlit_list_customers", "outlit_list_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context"];
5597
6736
  readonly analytical: readonly ["outlit_list_customers", "outlit_list_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema"];
5598
- readonly cli: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_list_integrations", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_sync_status", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings"];
6737
+ readonly pi: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_assign_customer_owner", "outlit_grant_customer_access", "outlit_update_customer_access", "outlit_revoke_customer_access", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_status", "outlit_setup_integration", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings"];
6738
+ readonly cli: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_assign_customer_owner", "outlit_grant_customer_access", "outlit_update_customer_access", "outlit_revoke_customer_access", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_status", "outlit_setup_integration", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings", "outlit_list_behavior_metric_sources", "outlit_list_behavior_metric_events", "outlit_create_behavior_metric"];
5599
6739
  };
5600
6740
  declare const toolGatewayTransport: {
5601
6741
  readonly method: "POST";
@@ -5612,7 +6752,7 @@ declare const apiKeyValidationTransport: {
5612
6752
  };
5613
6753
  readonly publicResponseStatuses: readonly [200, 401, 503];
5614
6754
  };
5615
- declare const apiKeyGrants: readonly ["customer_intelligence:read", "workspace_members:read", "analytics:read", "destinations:manage", "integrations:manage", "activation:read", "activation:manage", "workspace_settings:read", "workspace_settings:manage"];
6755
+ declare const apiKeyGrants: readonly ["customer_intelligence:read", "workspace_members:read", "analytics:read", "destinations:manage", "behavior_metrics:manage", "integrations:connect_own", "integrations:manage", "activation:read", "activation:manage", "workspace_settings:read", "workspace_settings:manage", "customer_access:manage"];
5616
6756
  declare const apiKeyValidationSuccessSchema: {
5617
6757
  readonly $schema: "https://json-schema.org/draft/2020-12/schema";
5618
6758
  readonly type: "object";
@@ -5699,7 +6839,7 @@ declare const apiKeyValidationSuccessSchema: {
5699
6839
  readonly type: "array";
5700
6840
  readonly items: {
5701
6841
  readonly type: "string";
5702
- readonly enum: readonly ["customer_intelligence:read", "workspace_members:read", "analytics:read", "destinations:manage", "integrations:manage", "activation:read", "activation:manage", "workspace_settings:read", "workspace_settings:manage"];
6842
+ readonly enum: readonly ["customer_intelligence:read", "workspace_members:read", "analytics:read", "destinations:manage", "behavior_metrics:manage", "integrations:connect_own", "integrations:manage", "activation:read", "activation:manage", "workspace_settings:read", "workspace_settings:manage", "customer_access:manage"];
5703
6843
  };
5704
6844
  };
5705
6845
  readonly createdAt: {
@@ -5732,7 +6872,7 @@ declare const apiKeyValidationSuccessSchema: {
5732
6872
  readonly type: "array";
5733
6873
  readonly items: {
5734
6874
  readonly type: "string";
5735
- readonly enum: readonly ["customer_intelligence:read", "workspace_members:read", "analytics:read", "destinations:manage", "integrations:manage", "activation:read", "activation:manage", "workspace_settings:read", "workspace_settings:manage"];
6875
+ readonly enum: readonly ["customer_intelligence:read", "workspace_members:read", "analytics:read", "destinations:manage", "behavior_metrics:manage", "integrations:connect_own", "integrations:manage", "activation:read", "activation:manage", "workspace_settings:read", "workspace_settings:manage", "customer_access:manage"];
5736
6876
  };
5737
6877
  };
5738
6878
  };
@@ -6496,7 +7636,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
6496
7636
  declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
6497
7637
  declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
6498
7638
  declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
6499
- declare const sdkConsumerContractHash: "1f8804d6d2d3aa562d46872bc118a43b9a5d8531b834ce10c0f01b3659f5b6b2";
7639
+ declare const sdkConsumerContractHash: "39fe276d5127aa59cdfc0172cc44c9281beb62b1942c44094421f2a56fbb40fa";
6500
7640
 
6501
7641
  type JsonSchema = Readonly<Record<string, unknown>>;
6502
7642
  type PublicToolName = (typeof publicToolNames)[number];
@@ -6504,7 +7644,7 @@ type PublicToolContract = (typeof publicToolContracts)[PublicToolName];
6504
7644
  type CustomerSourceType = (typeof customerSourceTypes)[number];
6505
7645
  type CustomerSourceTypeInput = (typeof customerSourceTypeInputs)[number];
6506
7646
  declare function isPublicToolName(value: string): value is PublicToolName;
6507
- declare function getPublicToolContract(name: PublicToolName): PublicToolContract;
7647
+ declare function getPublicToolContract<TName extends PublicToolName>(name: TName): (typeof publicToolContracts)[TName];
6508
7648
  declare function normalizeCustomerSourceType(value: string): CustomerSourceType | null;
6509
7649
  type SearchArgsLike = {
6510
7650
  query?: string;
@@ -6605,7 +7745,9 @@ declare function isOutlitToolsApiError(error: unknown): error is OutlitToolsApiE
6605
7745
  type OutlitToolsClient = {
6606
7746
  key: string;
6607
7747
  baseUrl: string;
6608
- callTool<TToolName extends PublicToolName>(toolName: TToolName, input?: Record<string, unknown>): Promise<PublicToolResult<TToolName>>;
7748
+ callTool<TToolName extends PublicToolName>(toolName: TToolName, input?: Record<string, unknown>, options?: {
7749
+ signal?: AbortSignal;
7750
+ }): Promise<PublicToolResult<TToolName>>;
6609
7751
  };
6610
7752
  declare function createOutlitClient(options: OutlitToolsClientOptions): OutlitToolsClient;
6611
7753
  type RuntimeJsonSchema = {
@@ -6618,14 +7760,23 @@ type RuntimeJsonSchema = {
6618
7760
  readonly properties?: Readonly<Record<string, RuntimeJsonSchema>>;
6619
7761
  readonly required?: readonly string[];
6620
7762
  readonly additionalProperties?: boolean | RuntimeJsonSchema;
7763
+ readonly minLength?: number;
7764
+ readonly maxLength?: number;
7765
+ readonly pattern?: string;
7766
+ readonly minItems?: number;
7767
+ readonly maxItems?: number;
7768
+ readonly minimum?: number;
7769
+ readonly maximum?: number;
6621
7770
  };
6622
7771
  declare function matchesGeneratedJsonSchema<TSchema extends RuntimeJsonSchema>(value: unknown, schema: TSchema): value is JsonSchemaValue<TSchema>;
6623
7772
 
6624
7773
  declare const defaultToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context"];
6625
7774
  declare const analyticalToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema"];
6626
- declare const cliToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_list_integrations", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_sync_status", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings"];
6627
- declare const allPublicToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_list_integrations", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_sync_status", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings"];
7775
+ declare const piToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_assign_customer_owner", "outlit_grant_customer_access", "outlit_update_customer_access", "outlit_revoke_customer_access", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_status", "outlit_setup_integration", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings"];
7776
+ declare const cliToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_assign_customer_owner", "outlit_grant_customer_access", "outlit_update_customer_access", "outlit_revoke_customer_access", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_status", "outlit_setup_integration", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings", "outlit_list_behavior_metric_sources", "outlit_list_behavior_metric_events", "outlit_create_behavior_metric"];
7777
+ declare const allPublicToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_assign_customer_owner", "outlit_grant_customer_access", "outlit_update_customer_access", "outlit_revoke_customer_access", "outlit_get_timeline", "outlit_list_facts", "outlit_get_fact", "outlit_get_source", "outlit_list_sources", "outlit_search_customer_context", "outlit_query", "outlit_schema", "outlit_list_destinations", "outlit_get_destination", "outlit_create_destination", "outlit_update_destination", "outlit_enable_destination", "outlit_disable_destination", "outlit_archive_destination", "outlit_get_integration_capabilities", "outlit_begin_integration_setup", "outlit_get_integration_setup_status", "outlit_get_integration_status", "outlit_setup_integration", "outlit_get_customer_activation", "outlit_preview_customer_activation", "outlit_update_customer_activation", "outlit_get_workspace_settings", "outlit_update_workspace_settings", "outlit_list_behavior_metric_sources", "outlit_list_behavior_metric_events", "outlit_create_behavior_metric"];
6628
7778
  type CliToolName = (typeof cliToolNames)[number];
7779
+ type PiToolName = (typeof piToolNames)[number];
6629
7780
  declare const sqlToolNames: ("outlit_list_customers" | "outlit_list_users" | "outlit_get_customer" | "outlit_get_timeline" | "outlit_list_facts" | "outlit_get_fact" | "outlit_get_source" | "outlit_list_sources" | "outlit_search_customer_context" | "outlit_query" | "outlit_schema")[];
6630
7781
 
6631
- export { type ApiKeyValidationFailure, type ApiKeyValidationSuccess, type CliToolName, type CustomerAnalyticsRow, type CustomerContextSearchInput, type CustomerDetail, type CustomerDetailResult, type CustomerListItem, type CustomerListResult, type CustomerSourceType, type CustomerSourceTypeInput, DEFAULT_OUTLIT_API_URL, type JsonSchema, type JsonSchemaValue, OutlitToolsApiError, type OutlitToolsClient, type OutlitToolsClientOptions, type OutlitToolsFetch, type PublicToolContract, type PublicToolName, type PublicToolResult, type RuntimeJsonSchema, type SearchArgsLike, type ToolGatewayErrorCode, type ToolGatewayErrorEnvelope, allPublicToolNames, analyticalToolNames, apiKeyGrants, apiKeyValidationFailureSchema, apiKeyValidationSuccessSchema, apiKeyValidationTransport, cliToolNames, consumerToolPolicies, contractVersion, createOutlitClient, customerActivityWindows, customerBillingStatuses, customerFactCategories, customerFactIncludes, customerFactStatuses, customerFactTypes, customerIncludeSections, customerListOrderFields, customerSourceTypeAliasMap, customerSourceTypeAliases, customerSourceTypeInputs, customerSourceTypes, customerTimeframes, defaultToolNames, getPublicToolContract, ingestTransport, isOutlitToolsApiError, isPublicToolName, matchesGeneratedJsonSchema, normalizeCustomerSourceType, publicOpenApiTransports, publicToolContracts, publicToolNames, resolveCustomerContextSearchInput, schemaTables, sdkConsumerContractHash, sqlToolNames, timelineChannels, timelineTimeframes, toolGatewayErrorCodes, toolGatewayErrorSchema, toolGatewayTransport, unsupportedCustomerFactTypes, userJourneyStages, userListOrderFields, workspaceUserListOrderFields };
7782
+ export { type ApiKeyValidationFailure, type ApiKeyValidationSuccess, type CliToolName, type CustomerAnalyticsRow, type CustomerContextSearchInput, type CustomerDetail, type CustomerDetailResult, type CustomerListItem, type CustomerListResult, type CustomerSourceType, type CustomerSourceTypeInput, DEFAULT_OUTLIT_API_URL, type JsonSchema, type JsonSchemaValue, OutlitToolsApiError, type OutlitToolsClient, type OutlitToolsClientOptions, type OutlitToolsFetch, type PiToolName, type PublicToolContract, type PublicToolName, type PublicToolResult, type RuntimeJsonSchema, type SearchArgsLike, type ToolGatewayErrorCode, type ToolGatewayErrorEnvelope, allPublicToolNames, analyticalToolNames, apiKeyGrants, apiKeyValidationFailureSchema, apiKeyValidationSuccessSchema, apiKeyValidationTransport, cliToolNames, consumerToolPolicies, contractVersion, createOutlitClient, customerActivityWindows, customerBillingStatuses, customerFactCategories, customerFactIncludes, customerFactStatuses, customerFactTypes, customerIncludeSections, customerListOrderFields, customerSourceTypeAliasMap, customerSourceTypeAliases, customerSourceTypeInputs, customerSourceTypes, customerTimeframes, defaultToolNames, getPublicToolContract, ingestTransport, isOutlitToolsApiError, isPublicToolName, matchesGeneratedJsonSchema, normalizeCustomerSourceType, piToolNames, publicOpenApiTransports, publicToolContracts, publicToolNames, resolveCustomerContextSearchInput, schemaTables, sdkConsumerContractHash, sqlToolNames, timelineChannels, timelineTimeframes, toolGatewayErrorCodes, toolGatewayErrorSchema, toolGatewayTransport, unsupportedCustomerFactTypes, userJourneyStages, userListOrderFields, workspaceUserListOrderFields };