@outlit/tools 2.3.0 → 2.5.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_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
2
+ declare const publicToolNames: readonly ["outlit_list_customers", "outlit_list_crm_fields", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
3
3
  declare const publicToolContracts: {
4
4
  readonly outlit_list_customers: {
5
5
  readonly toolName: "outlit_list_customers";
@@ -7,10 +7,11 @@ declare const publicToolContracts: {
7
7
  readonly commandVersion: 1;
8
8
  readonly ownerDomain: "customers";
9
9
  readonly title: "List Customers";
10
- readonly description: "Browse and filter customers. Use this to find customers by billing status, activity recency, revenue, or name. Returns a paginated list with summary info (MRR, last activity, status). currentMrr is in the billing provider's units for the customer's currency, which the result doesn't name. For USD, EUR, GBP and CAD this is cents: divide by 100 (e.g. 1234500 is $12,345 MRR, USD). Other currencies follow the provider's amount rules. ARR is 12 × currentMrr in the same units.";
10
+ readonly description: "Browse and filter customers. Use this to find customers by billing status, activity recency, revenue, name, or their CRM and support tool fields (crm; crmFields returns those fields' values on each customer, e.g. segment and health across the book; use outlit_list_crm_fields to find keys and values). Returns a paginated list with summary info (ARR, last activity, status). arr is the annualized revenue run rate, the same figure the Outlit app shows, with its currency: amount is in the billing provider's units for that currency (for USD, EUR, GBP and CAD this is cents: divide by 100, e.g. 1200000 is $12,000 ARR, USD; other currencies follow the provider's amount rules). arr is null when the app shows none, and amount is 0 for a churned, paused or trialing customer.";
11
11
  readonly annotations: {
12
12
  readonly readOnlyHint: true;
13
13
  readonly destructiveHint: false;
14
+ readonly idempotentHint: true;
14
15
  readonly openWorldHint: false;
15
16
  };
16
17
  readonly inputSchema: {
@@ -38,13 +39,28 @@ declare const publicToolContracts: {
38
39
  readonly type: "string";
39
40
  readonly enum: readonly ["7d", "14d", "30d", "90d"];
40
41
  };
42
+ readonly arrAbove: {
43
+ readonly description: "Minimum ARR, in arr.amount's units per year (1200000 is $12,000 for a customer billed in USD). Each customer is compared in its own currency, never converted: pass arrCurrency to compare one currency. Customers whose ARR is unknown never match.";
44
+ readonly type: "number";
45
+ readonly minimum: 0;
46
+ };
47
+ readonly arrBelow: {
48
+ readonly description: "Maximum ARR, in arr.amount's units per year, compared in each customer's own currency like arrAbove. Customers whose ARR is unknown never match.";
49
+ readonly type: "number";
50
+ readonly minimum: 0;
51
+ };
52
+ readonly arrCurrency: {
53
+ readonly description: "Only customers whose ARR is in this ISO 4217 currency, such as USD. Outlit never converts ARR between currencies, so use this to rank or bound ARR within one currency.";
54
+ readonly type: "string";
55
+ readonly pattern: "^[A-Za-z]{3}$";
56
+ };
41
57
  readonly mrrAbove: {
42
- readonly description: "Minimum MRR, in currentMrr's units (10000 is $100 for a customer billed in USD)";
58
+ readonly description: "Deprecated: use arrAbove.";
43
59
  readonly type: "number";
44
60
  readonly minimum: 0;
45
61
  };
46
62
  readonly mrrBelow: {
47
- readonly description: "Maximum MRR, in currentMrr's units";
63
+ readonly description: "Deprecated: use arrBelow.";
48
64
  readonly type: "number";
49
65
  readonly minimum: 0;
50
66
  };
@@ -85,6 +101,84 @@ declare const publicToolContracts: {
85
101
  readonly description: "Filter customers by whether they have an owner";
86
102
  readonly type: "boolean";
87
103
  };
104
+ readonly crm: {
105
+ readonly description: "Filter by fields of the customer's CRM and support tool accounts, such as segment, health or stage; use outlit_list_crm_fields to find keys and values. All filters must hold; each holds when any linked account meets it. eq and in compare text ignoring case; gte and lte compare numbers, or ISO dates, never text. A multi-value field matches when any of its values does.";
106
+ readonly maxItems: 10;
107
+ readonly type: "array";
108
+ readonly items: {
109
+ readonly type: "object";
110
+ readonly properties: {
111
+ readonly field: {
112
+ readonly type: "object";
113
+ readonly properties: {
114
+ readonly provider: {
115
+ readonly type: "string";
116
+ readonly enum: readonly ["hubspot", "salesforce", "attio", "pylon"];
117
+ };
118
+ readonly key: {
119
+ readonly type: "string";
120
+ readonly minLength: 1;
121
+ readonly maxLength: 191;
122
+ readonly description: "The field's key (API name) in that system, as outlit_list_crm_fields lists it.";
123
+ };
124
+ };
125
+ readonly required: readonly ["provider", "key"];
126
+ };
127
+ readonly op: {
128
+ readonly type: "string";
129
+ readonly enum: readonly ["eq", "in", "gte", "lte"];
130
+ };
131
+ readonly value: {
132
+ readonly anyOf: readonly [{
133
+ readonly anyOf: readonly [{
134
+ readonly type: "string";
135
+ readonly maxLength: 500;
136
+ }, {
137
+ readonly type: "number";
138
+ }, {
139
+ readonly type: "boolean";
140
+ }];
141
+ }, {
142
+ readonly minItems: 1;
143
+ readonly maxItems: 50;
144
+ readonly type: "array";
145
+ readonly items: {
146
+ readonly anyOf: readonly [{
147
+ readonly type: "string";
148
+ readonly maxLength: 500;
149
+ }, {
150
+ readonly type: "number";
151
+ }, {
152
+ readonly type: "boolean";
153
+ }];
154
+ };
155
+ }];
156
+ };
157
+ };
158
+ readonly required: readonly ["field", "op", "value"];
159
+ };
160
+ };
161
+ readonly crmFields: {
162
+ readonly description: "CRM and support tool account fields to return on each customer, as crm; use outlit_list_crm_fields to find keys.";
163
+ readonly maxItems: 5;
164
+ readonly type: "array";
165
+ readonly items: {
166
+ readonly type: "object";
167
+ readonly properties: {
168
+ readonly provider: {
169
+ readonly type: "string";
170
+ readonly enum: readonly ["hubspot", "salesforce", "attio", "pylon"];
171
+ };
172
+ readonly key: {
173
+ readonly type: "string";
174
+ readonly minLength: 1;
175
+ readonly maxLength: 191;
176
+ readonly description: "The field's key (API name) in that system, as outlit_list_crm_fields lists it.";
177
+ };
178
+ };
179
+ readonly required: readonly ["provider", "key"];
180
+ };
181
+ };
88
182
  readonly limit: {
89
183
  readonly description: "Results per page (max 1000)";
90
184
  readonly default: 50;
@@ -97,10 +191,10 @@ declare const publicToolContracts: {
97
191
  readonly type: "string";
98
192
  };
99
193
  readonly orderBy: {
100
- readonly description: "Field to order results by";
194
+ readonly description: "Field to order results by: last_activity_at, first_seen_at, name, arr_cents. arr_cents puts customers whose ARR is unknown last when descending, and compares amounts across currencies without converting them; arrCurrencies in the response says when that happened.";
101
195
  readonly default: "last_activity_at";
102
196
  readonly type: "string";
103
- readonly enum: readonly ["last_activity_at", "first_seen_at", "name", "mrr_cents"];
197
+ readonly enum: readonly ["last_activity_at", "first_seen_at", "name", "arr_cents", "mrr_cents"];
104
198
  };
105
199
  readonly orderDirection: {
106
200
  readonly description: "Sort direction";
@@ -166,17 +260,31 @@ declare const publicToolContracts: {
166
260
  readonly minimum: 0;
167
261
  readonly maximum: 9007199254740991;
168
262
  };
169
- readonly currentMrr: {
263
+ readonly arr: {
170
264
  readonly anyOf: readonly [{
171
- readonly type: "number";
265
+ readonly type: "object";
266
+ readonly properties: {
267
+ readonly amount: {
268
+ readonly type: "integer";
269
+ readonly minimum: 0;
270
+ readonly maximum: 9007199254740991;
271
+ readonly description: "Annualized revenue run rate, the same ARR figure the Outlit app shows: an integer in the billing provider's units for `currency`. For USD, EUR, GBP and CAD this is cents: divide by 100 (e.g. 1234500 is $12,345, USD). Other currencies follow the provider's amount rules (Stripe's currency docs), so don't assume a divisor for them. 0 for a churned, paused or trialing customer.";
272
+ };
273
+ readonly currency: {
274
+ readonly type: "string";
275
+ readonly description: "ISO currency code of amount.";
276
+ };
277
+ readonly estimated: {
278
+ readonly type: "boolean";
279
+ readonly description: "The amount includes a usage or per-seat estimate, shown as ~ in the app.";
280
+ };
281
+ };
282
+ readonly required: readonly ["amount", "currency", "estimated"];
283
+ readonly additionalProperties: false;
172
284
  }, {
173
285
  readonly type: "null";
174
286
  }];
175
- readonly description: "Monthly recurring revenue as an integer amount in the billing provider's units for the customer's currency, which this result doesn't name. For USD, EUR, GBP and CAD this is cents: divide by 100 (e.g. 1234500 is $12,345, USD). Other currencies follow the provider's amount rules (Stripe's currency docs), so don't assume a divisor for them. ARR is 12 × this value in the same units. Null unless mrrCalculationStatus is calculated.";
176
- };
177
- readonly mrrCalculationStatus: {
178
- readonly type: "string";
179
- readonly enum: readonly ["calculated", "mixed_currency", "unavailable"];
287
+ readonly description: "Null when the app shows no ARR for this customer.";
180
288
  };
181
289
  readonly owner: {
182
290
  readonly anyOf: readonly [{
@@ -207,8 +315,52 @@ declare const publicToolContracts: {
207
315
  readonly type: "null";
208
316
  }];
209
317
  };
318
+ readonly crm: {
319
+ readonly description: "With crmFields: each asked-for field, in the order asked.";
320
+ readonly type: "array";
321
+ readonly items: {
322
+ readonly type: "object";
323
+ readonly properties: {
324
+ readonly field: {
325
+ readonly type: "object";
326
+ readonly properties: {
327
+ readonly provider: {
328
+ readonly type: "string";
329
+ readonly enum: readonly ["hubspot", "salesforce", "attio", "pylon"];
330
+ };
331
+ readonly key: {
332
+ readonly type: "string";
333
+ readonly minLength: 1;
334
+ readonly maxLength: 191;
335
+ readonly description: "The field's key (API name) in that system, as outlit_list_crm_fields lists it.";
336
+ };
337
+ };
338
+ readonly required: readonly ["provider", "key"];
339
+ readonly additionalProperties: false;
340
+ };
341
+ readonly label: {
342
+ readonly type: "string";
343
+ };
344
+ readonly values: {
345
+ readonly type: "array";
346
+ readonly items: {
347
+ readonly anyOf: readonly [{
348
+ readonly type: "string";
349
+ }, {
350
+ readonly type: "number";
351
+ }, {
352
+ readonly type: "boolean";
353
+ }];
354
+ };
355
+ readonly description: "The field's values across the customer's linked accounts in that system, without duplicates; a multi-value field's values are listed one by one. Empty when no linked account has one.";
356
+ };
357
+ };
358
+ readonly required: readonly ["field", "label", "values"];
359
+ readonly additionalProperties: false;
360
+ };
361
+ };
210
362
  };
211
- readonly required: readonly ["id", "name", "domain", "billingStatus", "activatedAt", "firstSeenAt", "lastActivityAt", "contactCount", "currentMrr", "mrrCalculationStatus", "owner", "daysSinceActivity"];
363
+ readonly required: readonly ["id", "name", "domain", "billingStatus", "activatedAt", "firstSeenAt", "lastActivityAt", "contactCount", "arr", "owner", "daysSinceActivity"];
212
364
  readonly additionalProperties: false;
213
365
  };
214
366
  };
@@ -234,6 +386,144 @@ declare const publicToolContracts: {
234
386
  readonly required: readonly ["hasMore", "nextCursor", "total"];
235
387
  readonly additionalProperties: false;
236
388
  };
389
+ readonly arrCurrencies: {
390
+ readonly description: "Present when the call ordered or bounded by ARR: the ARR currencies among all matched customers. With more than one, amounts were compared as if they were the same unit, so a ranking mixes currencies; pass arrCurrency to rank within one.";
391
+ readonly type: "array";
392
+ readonly items: {
393
+ readonly type: "string";
394
+ };
395
+ };
396
+ };
397
+ readonly required: readonly ["items", "pagination"];
398
+ readonly additionalProperties: false;
399
+ };
400
+ };
401
+ readonly outlit_list_crm_fields: {
402
+ readonly toolName: "outlit_list_crm_fields";
403
+ readonly commandId: "crm_field.list";
404
+ readonly commandVersion: 1;
405
+ readonly ownerDomain: "customers";
406
+ readonly title: "List CRM Fields";
407
+ readonly description: "List the account fields the workspace's CRM and support tools hold (segment, health, stage, owner and custom fields), with each field's label, type, picklist options, the values customers' linked accounts hold, and how many accounts hold one. Use it to find the field and values for outlit_list_customers' crm filter and crmFields, for questions across many customers; for one customer's fields use outlit_get_customer with include crm.";
408
+ readonly annotations: {
409
+ readonly readOnlyHint: true;
410
+ readonly destructiveHint: false;
411
+ readonly idempotentHint: true;
412
+ readonly openWorldHint: false;
413
+ };
414
+ readonly inputSchema: {
415
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
416
+ readonly type: "object";
417
+ readonly properties: {
418
+ readonly provider: {
419
+ readonly description: "Only this system's fields";
420
+ readonly type: "string";
421
+ readonly enum: readonly ["hubspot", "salesforce", "attio", "pylon"];
422
+ };
423
+ readonly search: {
424
+ readonly description: "Only fields whose key or label contains this text, ignoring case";
425
+ readonly type: "string";
426
+ readonly maxLength: 100;
427
+ };
428
+ readonly limit: {
429
+ readonly description: "Fields per page (max 50)";
430
+ readonly default: 20;
431
+ readonly type: "integer";
432
+ readonly minimum: 1;
433
+ readonly maximum: 50;
434
+ };
435
+ readonly cursor: {
436
+ readonly description: "Pagination cursor from previous response";
437
+ readonly type: "string";
438
+ };
439
+ };
440
+ };
441
+ readonly outputSchema: {
442
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
443
+ readonly type: "object";
444
+ readonly properties: {
445
+ readonly items: {
446
+ readonly type: "array";
447
+ readonly items: {
448
+ readonly type: "object";
449
+ readonly properties: {
450
+ readonly field: {
451
+ readonly type: "object";
452
+ readonly properties: {
453
+ readonly provider: {
454
+ readonly type: "string";
455
+ readonly enum: readonly ["hubspot", "salesforce", "attio", "pylon"];
456
+ };
457
+ readonly key: {
458
+ readonly type: "string";
459
+ readonly minLength: 1;
460
+ readonly maxLength: 191;
461
+ readonly description: "The field's key (API name) in that system, as outlit_list_crm_fields lists it.";
462
+ };
463
+ };
464
+ readonly required: readonly ["provider", "key"];
465
+ readonly additionalProperties: false;
466
+ readonly description: "Pass this as-is to outlit_list_customers' crm filter or crmFields.";
467
+ };
468
+ readonly label: {
469
+ readonly type: "string";
470
+ };
471
+ readonly type: {
472
+ readonly type: "string";
473
+ readonly description: "The field's type in that system, as it names it.";
474
+ };
475
+ readonly options: {
476
+ readonly anyOf: readonly [{
477
+ readonly type: "array";
478
+ readonly items: {
479
+ readonly type: "string";
480
+ };
481
+ }, {
482
+ readonly type: "null";
483
+ }];
484
+ readonly description: "A picklist's choices as that system defines them; null for other fields.";
485
+ };
486
+ readonly observedValues: {
487
+ readonly type: "array";
488
+ readonly items: {
489
+ readonly anyOf: readonly [{
490
+ readonly type: "string";
491
+ }, {
492
+ readonly type: "number";
493
+ }, {
494
+ readonly type: "boolean";
495
+ }];
496
+ };
497
+ readonly description: "Up to 20 of the values the customers' linked accounts hold, most common first, a multi-value field's values one by one.";
498
+ };
499
+ readonly accounts: {
500
+ readonly type: "integer";
501
+ readonly minimum: 0;
502
+ readonly maximum: 9007199254740991;
503
+ readonly description: "How many accounts linked to customers hold a value.";
504
+ };
505
+ };
506
+ readonly required: readonly ["field", "label", "type", "options", "observedValues", "accounts"];
507
+ readonly additionalProperties: false;
508
+ };
509
+ };
510
+ readonly pagination: {
511
+ readonly type: "object";
512
+ readonly properties: {
513
+ readonly hasMore: {
514
+ readonly type: "boolean";
515
+ };
516
+ readonly nextCursor: {
517
+ readonly anyOf: readonly [{
518
+ readonly type: "string";
519
+ }, {
520
+ readonly type: "null";
521
+ }];
522
+ };
523
+ };
524
+ readonly required: readonly ["hasMore", "nextCursor"];
525
+ readonly additionalProperties: false;
526
+ };
237
527
  };
238
528
  readonly required: readonly ["items", "pagination"];
239
529
  readonly additionalProperties: false;
@@ -245,10 +535,11 @@ declare const publicToolContracts: {
245
535
  readonly commandVersion: 1;
246
536
  readonly ownerDomain: "users";
247
537
  readonly title: "List Users";
248
- readonly description: "Browse and filter users. Use this to find users by journey stage, activity recency, customer, or email/name. Returns a paginated list with activity info and each user's sources: where Outlit found them (CRM, support tool, product analytics, Slack) and the calls, meetings, emails, tickets and Slack threads they took part in.";
538
+ readonly description: "Browse and filter users. Use this to find users by journey stage, activity recency, customer, or email/name. Returns a paginated list with activity info and each user's sources: where Outlit found them (CRM, support tool, product analytics, Slack) and the calls, meetings, emails, tickets and Slack threads they took part in. Pass include crm to add each user's contact records in the CRM and support tool with their own fields (job title, lead status, custom fields) as stored there, which can be hundreds, so request it only when needed.";
249
539
  readonly annotations: {
250
540
  readonly readOnlyHint: true;
251
541
  readonly destructiveHint: false;
542
+ readonly idempotentHint: true;
252
543
  readonly openWorldHint: false;
253
544
  };
254
545
  readonly inputSchema: {
@@ -321,6 +612,23 @@ declare const publicToolContracts: {
321
612
  readonly type: "string";
322
613
  readonly enum: readonly ["asc", "desc"];
323
614
  };
615
+ readonly include: {
616
+ readonly description: "Additional data to include for each user. crm adds the user's contact records in the CRM and support tool with their own fields (job title, lead status, custom fields) as stored there; request it only when needed.";
617
+ readonly type: "array";
618
+ readonly items: {
619
+ readonly type: "string";
620
+ readonly enum: readonly ["crm"];
621
+ };
622
+ };
623
+ readonly crmFields: {
624
+ readonly description: "With include crm only: the CRM fields to return, by key or label (case is ignored), for example the keys an earlier response listed in omittedFields. Send [] (the default) for every field.";
625
+ readonly maxItems: 100;
626
+ readonly type: "array";
627
+ readonly items: {
628
+ readonly type: "string";
629
+ readonly maxLength: 191;
630
+ };
631
+ };
324
632
  };
325
633
  };
326
634
  readonly outputSchema: {
@@ -432,24 +740,96 @@ declare const publicToolContracts: {
432
740
  };
433
741
  readonly description: "Where Outlit found this person: the systems that hold a record of them and the conversations they took part in. Empty when Outlit has no source recorded; absent from servers that predate it.";
434
742
  };
435
- readonly relationshipRole: {
436
- readonly anyOf: readonly [{
437
- readonly type: "string";
438
- }, {
439
- readonly type: "null";
440
- }];
441
- };
442
- readonly jobTitle: {
443
- readonly anyOf: readonly [{
444
- readonly type: "string";
445
- }, {
446
- readonly type: "null";
447
- }];
448
- };
449
- readonly department: {
743
+ readonly crm: {
744
+ readonly description: "With include crm: the contact records in the CRM and support tool that this user is linked to, one entry each, with the contact's own fields as stored there. Empty when the user has no linked contact; null when the read is bound to a past point in time. Absent unless requested, when the section is not enabled for the workspace, or when the size limit left no room for this user (then ask for fewer users or crmFields). The size limit is shared by all users in the response.";
450
745
  readonly anyOf: readonly [{
451
- readonly type: "string";
452
- }, {
746
+ readonly type: "array";
747
+ readonly items: {
748
+ readonly type: "object";
749
+ readonly properties: {
750
+ readonly provider: {
751
+ readonly type: "string";
752
+ readonly description: "The system that holds the contact: hubspot, salesforce, attio or pylon.";
753
+ };
754
+ readonly connectionId: {
755
+ readonly type: "string";
756
+ readonly description: "The Outlit integration connection the contact syncs through.";
757
+ };
758
+ readonly contactId: {
759
+ readonly type: "string";
760
+ readonly description: "The contact's id in that system.";
761
+ };
762
+ readonly fields: {
763
+ readonly type: "array";
764
+ readonly items: {
765
+ readonly type: "object";
766
+ readonly properties: {
767
+ readonly key: {
768
+ readonly type: "string";
769
+ readonly description: "The field's API name or slug in that system.";
770
+ };
771
+ readonly label: {
772
+ readonly type: "string";
773
+ readonly description: "The field's name in that system's UI; the key when unknown.";
774
+ };
775
+ readonly value: {
776
+ readonly description: "The value as that system stores it: a string, number, boolean, array, or for Attio its value objects. A picklist holds the option's stored value, not its label.";
777
+ };
778
+ readonly custom: {
779
+ readonly type: "boolean";
780
+ readonly description: "True for a field the customer's team added to that system.";
781
+ };
782
+ };
783
+ readonly required: readonly ["key", "label", "value", "custom"];
784
+ readonly additionalProperties: false;
785
+ };
786
+ readonly description: "The contact's non-empty fields, sorted by key.";
787
+ };
788
+ readonly omittedFields: {
789
+ readonly description: "Keys of fields left out so the response stays within its size limit, as many as fit. Ask for them with crmFields.";
790
+ readonly type: "array";
791
+ readonly items: {
792
+ readonly type: "string";
793
+ };
794
+ };
795
+ readonly omittedFieldCount: {
796
+ readonly description: "How many fields were left out, including any not named in omittedFields.";
797
+ readonly type: "integer";
798
+ readonly minimum: 0;
799
+ readonly maximum: 9007199254740991;
800
+ };
801
+ };
802
+ readonly required: readonly ["provider", "connectionId", "contactId", "fields"];
803
+ readonly additionalProperties: false;
804
+ };
805
+ }, {
806
+ readonly type: "null";
807
+ }];
808
+ };
809
+ readonly omittedCrmContacts: {
810
+ readonly description: "With include crm: how many of this user's linked contacts are left out of crm so the response stays within its size limit. Absent when none are.";
811
+ readonly type: "integer";
812
+ readonly minimum: 1;
813
+ readonly maximum: 9007199254740991;
814
+ };
815
+ readonly relationshipRole: {
816
+ readonly anyOf: readonly [{
817
+ readonly type: "string";
818
+ }, {
819
+ readonly type: "null";
820
+ }];
821
+ };
822
+ readonly jobTitle: {
823
+ readonly anyOf: readonly [{
824
+ readonly type: "string";
825
+ }, {
826
+ readonly type: "null";
827
+ }];
828
+ };
829
+ readonly department: {
830
+ readonly anyOf: readonly [{
831
+ readonly type: "string";
832
+ }, {
453
833
  readonly type: "null";
454
834
  }];
455
835
  };
@@ -503,6 +883,7 @@ declare const publicToolContracts: {
503
883
  readonly annotations: {
504
884
  readonly readOnlyHint: true;
505
885
  readonly destructiveHint: false;
886
+ readonly idempotentHint: true;
506
887
  readonly openWorldHint: false;
507
888
  };
508
889
  readonly inputSchema: {
@@ -649,10 +1030,11 @@ declare const publicToolContracts: {
649
1030
  readonly commandVersion: 1;
650
1031
  readonly ownerDomain: "customers";
651
1032
  readonly title: "Get Customer";
652
- readonly description: "Get full details for a single customer. Optionally include users (each with their sources: where Outlit found them and the conversations they took part in), revenue, recent activity, engagement metrics, or company enrichment. Revenue amounts (currentMrr, lifetimeRevenue) are in the billing provider's units for the customer's currency, which the result doesn't name. For USD, EUR, GBP and CAD these are cents: divide by 100 (e.g. 1234500 is $12,345, USD). Other currencies follow the provider's amount rules. ARR is 12 × currentMrr in the same units.";
1033
+ readonly description: "Get full details for a single customer. Optionally include users (each with their sources: where Outlit found them and the conversations they took part in), revenue, recent activity, engagement metrics, company enrichment, the renewal date and its source, or crm: the CRM and support tool accounts linked to the customer with their own fields (segment, health, stage, lifecycle, owner and custom fields) as stored and the contacts associated with each account; request it when the question is about how that system classifies the account (its stage, segment, health or owner) or who the account's contacts are, and pass crmFields to read only some fields, since an account can carry hundreds; or links: the id of every record in another system linked to the customer (billing customers, CRM and support accounts, product analytics groups, Slack channels). With both users and crm, each user also carries crm: their contact records there, with their own fields. Revenue includes arr, the annualized revenue run rate, exactly as the customer page shows it, with its currency, whether it is an estimate, the revenue lifecycle and the parts it is counted from; amounts are in the billing provider's units for that currency (for USD, EUR, GBP and CAD these are cents: divide by 100, e.g. 1234500 is $12,345, USD; other currencies follow the provider's amount rules). lifetimeRevenueCurrency names lifetimeRevenue's currency.";
653
1034
  readonly annotations: {
654
1035
  readonly readOnlyHint: true;
655
1036
  readonly destructiveHint: false;
1037
+ readonly idempotentHint: true;
656
1038
  readonly openWorldHint: false;
657
1039
  };
658
1040
  readonly inputSchema: {
@@ -670,7 +1052,7 @@ declare const publicToolContracts: {
670
1052
  readonly type: "array";
671
1053
  readonly items: {
672
1054
  readonly type: "string";
673
- readonly enum: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment"];
1055
+ readonly enum: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm", "links"];
674
1056
  };
675
1057
  };
676
1058
  readonly timeframe: {
@@ -679,6 +1061,20 @@ declare const publicToolContracts: {
679
1061
  readonly type: "string";
680
1062
  readonly enum: readonly ["7d", "14d", "30d", "90d"];
681
1063
  };
1064
+ readonly subscriptions: {
1065
+ readonly description: "With include revenue only: which subscriptions revenue.subscriptions lists. live (the default when omitted) lists the ones that bill now; all adds canceled ones with endedAt (the 20 most recently ended), for questions like whether a canceled subscription was replaced or why a customer has two billing records.";
1066
+ readonly type: "string";
1067
+ readonly enum: readonly ["live", "all"];
1068
+ };
1069
+ readonly crmFields: {
1070
+ readonly description: "With include crm only: the CRM fields to return, by key or label (case is ignored), for example the keys an earlier response listed in omittedFields. Send [] (the default) for every field. Applies to the accounts and to the users' contacts.";
1071
+ readonly maxItems: 100;
1072
+ readonly type: "array";
1073
+ readonly items: {
1074
+ readonly type: "string";
1075
+ readonly maxLength: 191;
1076
+ };
1077
+ };
682
1078
  };
683
1079
  readonly required: readonly ["customer"];
684
1080
  };
@@ -834,6 +1230,78 @@ declare const publicToolContracts: {
834
1230
  };
835
1231
  readonly description: "Where Outlit found this person: the systems that hold a record of them and the conversations they took part in. Empty when Outlit has no source recorded; absent from servers that predate it.";
836
1232
  };
1233
+ readonly crm: {
1234
+ readonly description: "With include crm: the contact records in the CRM and support tool that this user is linked to, one entry each, with the contact's own fields as stored there. Empty when the user has no linked contact; null when the read is bound to a past point in time. Absent unless requested, when the section is not enabled for the workspace, or when the size limit left no room for this user (then ask for fewer users or crmFields). The size limit is shared by all users in the response.";
1235
+ readonly anyOf: readonly [{
1236
+ readonly type: "array";
1237
+ readonly items: {
1238
+ readonly type: "object";
1239
+ readonly properties: {
1240
+ readonly provider: {
1241
+ readonly type: "string";
1242
+ readonly description: "The system that holds the contact: hubspot, salesforce, attio or pylon.";
1243
+ };
1244
+ readonly connectionId: {
1245
+ readonly type: "string";
1246
+ readonly description: "The Outlit integration connection the contact syncs through.";
1247
+ };
1248
+ readonly contactId: {
1249
+ readonly type: "string";
1250
+ readonly description: "The contact's id in that system.";
1251
+ };
1252
+ readonly fields: {
1253
+ readonly type: "array";
1254
+ readonly items: {
1255
+ readonly type: "object";
1256
+ readonly properties: {
1257
+ readonly key: {
1258
+ readonly type: "string";
1259
+ readonly description: "The field's API name or slug in that system.";
1260
+ };
1261
+ readonly label: {
1262
+ readonly type: "string";
1263
+ readonly description: "The field's name in that system's UI; the key when unknown.";
1264
+ };
1265
+ readonly value: {
1266
+ readonly description: "The value as that system stores it: a string, number, boolean, array, or for Attio its value objects. A picklist holds the option's stored value, not its label.";
1267
+ };
1268
+ readonly custom: {
1269
+ readonly type: "boolean";
1270
+ readonly description: "True for a field the customer's team added to that system.";
1271
+ };
1272
+ };
1273
+ readonly required: readonly ["key", "label", "value", "custom"];
1274
+ readonly additionalProperties: false;
1275
+ };
1276
+ readonly description: "The contact's non-empty fields, sorted by key.";
1277
+ };
1278
+ readonly omittedFields: {
1279
+ readonly description: "Keys of fields left out so the response stays within its size limit, as many as fit. Ask for them with crmFields.";
1280
+ readonly type: "array";
1281
+ readonly items: {
1282
+ readonly type: "string";
1283
+ };
1284
+ };
1285
+ readonly omittedFieldCount: {
1286
+ readonly description: "How many fields were left out, including any not named in omittedFields.";
1287
+ readonly type: "integer";
1288
+ readonly minimum: 0;
1289
+ readonly maximum: 9007199254740991;
1290
+ };
1291
+ };
1292
+ readonly required: readonly ["provider", "connectionId", "contactId", "fields"];
1293
+ readonly additionalProperties: false;
1294
+ };
1295
+ }, {
1296
+ readonly type: "null";
1297
+ }];
1298
+ };
1299
+ readonly omittedCrmContacts: {
1300
+ readonly description: "With include crm: how many of this user's linked contacts are left out of crm so the response stays within its size limit. Absent when none are.";
1301
+ readonly type: "integer";
1302
+ readonly minimum: 1;
1303
+ readonly maximum: 9007199254740991;
1304
+ };
837
1305
  readonly relationshipRole: {
838
1306
  readonly anyOf: readonly [{
839
1307
  readonly type: "string";
@@ -871,29 +1339,318 @@ declare const publicToolContracts: {
871
1339
  readonly revenue: {
872
1340
  readonly type: "object";
873
1341
  readonly properties: {
874
- readonly currentMrr: {
1342
+ readonly arr: {
875
1343
  readonly anyOf: readonly [{
876
- readonly type: "number";
1344
+ readonly type: "object";
1345
+ readonly properties: {
1346
+ readonly amount: {
1347
+ readonly type: "integer";
1348
+ readonly minimum: 0;
1349
+ readonly maximum: 9007199254740991;
1350
+ readonly description: "Annualized revenue run rate, the same ARR figure the customer page shows: an integer in the billing provider's units for `currency`. For USD, EUR, GBP and CAD this is cents: divide by 100 (e.g. 1234500 is $12,345, USD). Other currencies follow the provider's amount rules (Stripe's currency docs), so don't assume a divisor for them. 0 for a churned, paused or trialing customer.";
1351
+ };
1352
+ readonly currency: {
1353
+ readonly type: "string";
1354
+ readonly description: "ISO currency code of amount and parts.";
1355
+ };
1356
+ readonly estimated: {
1357
+ readonly type: "boolean";
1358
+ readonly description: "The amount includes a usage or per-seat estimate, shown as ~ in the app.";
1359
+ };
1360
+ readonly lifecycle: {
1361
+ readonly anyOf: readonly [{
1362
+ readonly type: "string";
1363
+ readonly enum: readonly ["active", "past_due", "paused", "churned", "trialing"];
1364
+ }, {
1365
+ readonly type: "null";
1366
+ }];
1367
+ readonly description: "The customer's revenue state; null when unknown.";
1368
+ };
1369
+ readonly parts: {
1370
+ readonly type: "object";
1371
+ readonly properties: {
1372
+ readonly subscriptions: {
1373
+ readonly anyOf: readonly [{
1374
+ readonly type: "integer";
1375
+ readonly minimum: -9007199254740991;
1376
+ readonly maximum: 9007199254740991;
1377
+ }, {
1378
+ readonly type: "null";
1379
+ }];
1380
+ readonly description: "Active subscriptions at list price, annualized.";
1381
+ };
1382
+ readonly usage: {
1383
+ readonly anyOf: readonly [{
1384
+ readonly type: "integer";
1385
+ readonly minimum: -9007199254740991;
1386
+ readonly maximum: 9007199254740991;
1387
+ }, {
1388
+ readonly type: "null";
1389
+ }];
1390
+ readonly description: "Annualized usage estimate.";
1391
+ };
1392
+ readonly invoicedLast12Months: {
1393
+ readonly anyOf: readonly [{
1394
+ readonly type: "integer";
1395
+ readonly minimum: -9007199254740991;
1396
+ readonly maximum: 9007199254740991;
1397
+ }, {
1398
+ readonly type: "null";
1399
+ }];
1400
+ readonly description: "Invoice charges outside any subscription (one-time invoice items, leaving out setup, onboarding and implementation fees and prorations) whose service period began in the last 12 months. Subscription charges are never in it, so it is not the customer's total invoiced.";
1401
+ };
1402
+ };
1403
+ readonly required: readonly ["subscriptions", "usage", "invoicedLast12Months"];
1404
+ readonly additionalProperties: false;
1405
+ readonly description: "What amount was counted from, in the same units: the larger of subscriptions plus usage, and invoicedLast12Months. A part is null when unknown or not applicable.";
1406
+ };
1407
+ };
1408
+ readonly required: readonly ["amount", "currency", "estimated", "lifecycle", "parts"];
1409
+ readonly additionalProperties: false;
877
1410
  }, {
878
1411
  readonly type: "null";
879
1412
  }];
880
- readonly description: "Monthly recurring revenue as an integer amount in the billing provider's units for the customer's currency, which this result doesn't name. For USD, EUR, GBP and CAD this is cents: divide by 100 (e.g. 1234500 is $12,345, USD). Other currencies follow the provider's amount rules (Stripe's currency docs), so don't assume a divisor for them. ARR is 12 × this value in the same units. Null unless mrrCalculationStatus is calculated.";
881
- };
882
- readonly mrrCalculationStatus: {
883
- readonly type: "string";
884
- readonly enum: readonly ["calculated", "mixed_currency", "unavailable"];
1413
+ readonly description: "Null when the app shows no ARR for this customer.";
885
1414
  };
886
1415
  readonly lifetimeRevenue: {
887
1416
  readonly type: "number";
888
- readonly description: "Lifetime revenue in the billing provider's units for the currency it was billed in, like currentMrr: cents for USD, EUR, GBP and CAD, so divide by 100. Other currencies follow the provider's amount rules, so don't assume a divisor for them.";
1417
+ readonly description: "Lifetime revenue in the billing provider's units for lifetimeRevenueCurrency, like arr.amount: cents for USD, EUR, GBP and CAD, so divide by 100. Other currencies follow the provider's amount rules, so don't assume a divisor for them.";
1418
+ };
1419
+ readonly lifetimeRevenueCurrency: {
1420
+ readonly description: "ISO currency code of lifetimeRevenue; null when nothing has been paid or the currency is unknown.";
1421
+ readonly anyOf: readonly [{
1422
+ readonly type: "string";
1423
+ }, {
1424
+ readonly type: "null";
1425
+ }];
889
1426
  };
890
1427
  readonly activeSubscriptions: {
891
1428
  readonly type: "integer";
892
1429
  readonly minimum: 0;
893
1430
  readonly maximum: 9007199254740991;
1431
+ readonly description: "Subscriptions that bill now: active, trialing or past due. billingStatus says whether payments are behind.";
1432
+ };
1433
+ readonly subscriptions: {
1434
+ readonly description: "The customer's live subscriptions in the billing provider (active, past due, paused or trialing) with every item, including items an invoice skips in a given cycle. With input subscriptions all, canceled subscriptions follow the live ones, most recently ended first (at most 20). Absent when unavailable.";
1435
+ readonly type: "array";
1436
+ readonly items: {
1437
+ readonly type: "object";
1438
+ readonly properties: {
1439
+ readonly id: {
1440
+ readonly type: "string";
1441
+ readonly description: "The billing provider's subscription id (sub_...).";
1442
+ };
1443
+ readonly status: {
1444
+ readonly type: "string";
1445
+ readonly description: "The provider's own status: active, past_due, paused or trialing, and with subscriptions all also canceled.";
1446
+ };
1447
+ readonly paused: {
1448
+ readonly type: "boolean";
1449
+ readonly description: "Collection is paused.";
1450
+ };
1451
+ readonly currentPeriodEnd: {
1452
+ readonly anyOf: readonly [{
1453
+ readonly type: "string";
1454
+ readonly format: "date-time";
1455
+ 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))$";
1456
+ }, {
1457
+ readonly type: "null";
1458
+ }];
1459
+ readonly description: "End of the current billing period. With items on different intervals it is the shortest interval's period, not the term.";
1460
+ };
1461
+ readonly cancelAtPeriodEnd: {
1462
+ readonly anyOf: readonly [{
1463
+ readonly type: "boolean";
1464
+ }, {
1465
+ readonly type: "null";
1466
+ }];
1467
+ readonly description: "The subscription is set to end at currentPeriodEnd instead of renewing. Null when unknown: Outlit's stored billing data predates it, and cancelAt is then null too.";
1468
+ };
1469
+ readonly cancelAt: {
1470
+ readonly anyOf: readonly [{
1471
+ readonly type: "string";
1472
+ readonly format: "date-time";
1473
+ 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))$";
1474
+ }, {
1475
+ readonly type: "null";
1476
+ }];
1477
+ readonly description: "When a scheduled cancellation ends the subscription; null when none is scheduled or unknown.";
1478
+ };
1479
+ readonly items: {
1480
+ readonly type: "array";
1481
+ readonly items: {
1482
+ readonly type: "object";
1483
+ readonly properties: {
1484
+ readonly productId: {
1485
+ readonly anyOf: readonly [{
1486
+ readonly type: "string";
1487
+ }, {
1488
+ readonly type: "null";
1489
+ }];
1490
+ readonly description: "The billing provider's product id (prod_...).";
1491
+ };
1492
+ readonly productName: {
1493
+ readonly anyOf: readonly [{
1494
+ readonly type: "string";
1495
+ }, {
1496
+ readonly type: "null";
1497
+ }];
1498
+ readonly description: "The product's name in the billing provider; null when Outlit has not synced it.";
1499
+ };
1500
+ readonly priceId: {
1501
+ readonly anyOf: readonly [{
1502
+ readonly type: "string";
1503
+ }, {
1504
+ readonly type: "null";
1505
+ }];
1506
+ readonly description: "The billing provider's price id (price_...).";
1507
+ };
1508
+ readonly quantity: {
1509
+ readonly anyOf: readonly [{
1510
+ readonly type: "number";
1511
+ }, {
1512
+ readonly type: "null";
1513
+ }];
1514
+ readonly description: "Units (seats) on a licensed item; null when unset.";
1515
+ };
1516
+ readonly unitAmount: {
1517
+ readonly anyOf: readonly [{
1518
+ readonly type: "number";
1519
+ }, {
1520
+ readonly type: "null";
1521
+ }];
1522
+ readonly description: "List price per unit for one billing interval, in the same units as arr.amount; null when the price has no single unit amount (tiers).";
1523
+ };
1524
+ readonly currency: {
1525
+ readonly type: "string";
1526
+ readonly description: "ISO currency code of unitAmount.";
1527
+ };
1528
+ readonly interval: {
1529
+ readonly anyOf: readonly [{
1530
+ readonly type: "string";
1531
+ readonly enum: readonly ["day", "week", "month", "year"];
1532
+ }, {
1533
+ readonly type: "null";
1534
+ }];
1535
+ };
1536
+ readonly intervalCount: {
1537
+ readonly anyOf: readonly [{
1538
+ readonly type: "number";
1539
+ }, {
1540
+ readonly type: "null";
1541
+ }];
1542
+ readonly description: "Billing intervals per charge, e.g. 3 months.";
1543
+ };
1544
+ readonly usageType: {
1545
+ readonly anyOf: readonly [{
1546
+ readonly type: "string";
1547
+ readonly enum: readonly ["licensed", "metered"];
1548
+ }, {
1549
+ readonly type: "null";
1550
+ }];
1551
+ readonly description: "licensed bills a fixed quantity; metered bills reported usage.";
1552
+ };
1553
+ readonly billingScheme: {
1554
+ readonly anyOf: readonly [{
1555
+ readonly type: "string";
1556
+ readonly enum: readonly ["per_unit", "tiered"];
1557
+ }, {
1558
+ readonly type: "null";
1559
+ }];
1560
+ };
1561
+ };
1562
+ readonly required: readonly ["productId", "productName", "priceId", "quantity", "unitAmount", "currency", "interval", "intervalCount", "usageType", "billingScheme"];
1563
+ readonly additionalProperties: false;
1564
+ };
1565
+ readonly description: "Every item on the subscription. Empty for a canceled one, whose stored snapshot lists no items.";
1566
+ };
1567
+ readonly billingAccountId: {
1568
+ readonly anyOf: readonly [{
1569
+ readonly type: "string";
1570
+ }, {
1571
+ readonly type: "null";
1572
+ }];
1573
+ readonly description: "The Stripe customer id (cus_...) the subscription bills through; null when unknown. Match it against revenue.billingAccounts.";
1574
+ };
1575
+ readonly endedAt: {
1576
+ readonly anyOf: readonly [{
1577
+ readonly type: "string";
1578
+ readonly format: "date-time";
1579
+ 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))$";
1580
+ }, {
1581
+ readonly type: "null";
1582
+ }];
1583
+ readonly description: "When the subscription ended; null while it is live.";
1584
+ };
1585
+ };
1586
+ readonly required: readonly ["id", "status", "paused", "currentPeriodEnd", "cancelAtPeriodEnd", "cancelAt", "items", "billingAccountId", "endedAt"];
1587
+ readonly additionalProperties: false;
1588
+ };
1589
+ };
1590
+ readonly billingAccounts: {
1591
+ readonly description: "Every Stripe customer behind this customer, including ones on customers merged into it, sorted by id. Absent when it can't be read.";
1592
+ readonly type: "array";
1593
+ readonly items: {
1594
+ readonly type: "object";
1595
+ readonly properties: {
1596
+ readonly provider: {
1597
+ readonly type: "string";
1598
+ readonly const: "stripe";
1599
+ };
1600
+ readonly id: {
1601
+ readonly type: "string";
1602
+ };
1603
+ };
1604
+ readonly required: readonly ["provider", "id"];
1605
+ readonly additionalProperties: false;
1606
+ };
1607
+ };
1608
+ readonly overdueInvoices: {
1609
+ readonly description: "Open invoices past their due date that still owe money, oldest due first (at most 20). Empty when none is overdue; absent when unavailable.";
1610
+ readonly maxItems: 20;
1611
+ readonly type: "array";
1612
+ readonly items: {
1613
+ readonly type: "object";
1614
+ readonly properties: {
1615
+ readonly id: {
1616
+ readonly type: "string";
1617
+ readonly description: "The invoice id (in_...); read it with outlit_get_source INVOICE.";
1618
+ };
1619
+ readonly number: {
1620
+ readonly anyOf: readonly [{
1621
+ readonly type: "string";
1622
+ }, {
1623
+ readonly type: "null";
1624
+ }];
1625
+ };
1626
+ readonly amountRemaining: {
1627
+ readonly type: "number";
1628
+ readonly description: "Still owed, in the billing provider's minor units for currency.";
1629
+ };
1630
+ readonly currency: {
1631
+ readonly anyOf: readonly [{
1632
+ readonly type: "string";
1633
+ }, {
1634
+ readonly type: "null";
1635
+ }];
1636
+ };
1637
+ readonly dueDate: {
1638
+ readonly type: "string";
1639
+ readonly format: "date-time";
1640
+ 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))$";
1641
+ };
1642
+ readonly daysOverdue: {
1643
+ readonly type: "integer";
1644
+ readonly minimum: 0;
1645
+ readonly maximum: 9007199254740991;
1646
+ };
1647
+ };
1648
+ readonly required: readonly ["id", "number", "amountRemaining", "currency", "dueDate", "daysOverdue"];
1649
+ readonly additionalProperties: false;
1650
+ };
894
1651
  };
895
1652
  };
896
- readonly required: readonly ["currentMrr", "mrrCalculationStatus", "lifetimeRevenue", "activeSubscriptions"];
1653
+ readonly required: readonly ["arr", "lifetimeRevenue", "activeSubscriptions"];
897
1654
  readonly additionalProperties: false;
898
1655
  };
899
1656
  readonly recentTimeline: {
@@ -1180,73 +1937,310 @@ declare const publicToolContracts: {
1180
1937
  };
1181
1938
  };
1182
1939
  };
1183
- readonly required: readonly ["count", "growth"];
1184
- readonly additionalProperties: false;
1185
- }, {
1186
- readonly type: "null";
1187
- }];
1940
+ readonly required: readonly ["count", "growth"];
1941
+ readonly additionalProperties: false;
1942
+ }, {
1943
+ readonly type: "null";
1944
+ }];
1945
+ };
1946
+ };
1947
+ readonly additionalProperties: false;
1948
+ }, {
1949
+ readonly type: "null";
1950
+ }];
1951
+ };
1952
+ readonly match: {
1953
+ readonly anyOf: readonly [{
1954
+ readonly type: "object";
1955
+ readonly propertyNames: {
1956
+ readonly type: "string";
1957
+ };
1958
+ readonly additionalProperties: {};
1959
+ }, {
1960
+ readonly type: "null";
1961
+ }];
1962
+ };
1963
+ readonly lastSuccessfulRefreshAt: {
1964
+ readonly anyOf: readonly [{
1965
+ readonly type: "string";
1966
+ }, {
1967
+ readonly type: "null";
1968
+ }];
1969
+ };
1970
+ readonly lastAttemptAt: {
1971
+ readonly anyOf: readonly [{
1972
+ readonly type: "string";
1973
+ }, {
1974
+ readonly type: "null";
1975
+ }];
1976
+ };
1977
+ readonly expiresAt: {
1978
+ readonly anyOf: readonly [{
1979
+ readonly type: "string";
1980
+ }, {
1981
+ readonly type: "null";
1982
+ }];
1983
+ };
1984
+ readonly error: {
1985
+ readonly anyOf: readonly [{
1986
+ readonly type: "object";
1987
+ readonly properties: {
1988
+ readonly class: {
1989
+ readonly type: "string";
1990
+ };
1991
+ readonly message: {
1992
+ readonly type: "string";
1993
+ };
1994
+ readonly retryable: {
1995
+ readonly type: "boolean";
1996
+ };
1997
+ };
1998
+ readonly required: readonly ["class", "message"];
1999
+ readonly additionalProperties: false;
2000
+ }, {
2001
+ readonly type: "null";
2002
+ }];
2003
+ };
2004
+ };
2005
+ readonly required: readonly ["status", "provider", "providerEntityId", "summary", "match", "lastSuccessfulRefreshAt", "lastAttemptAt", "expiresAt", "error"];
2006
+ readonly additionalProperties: false;
2007
+ };
2008
+ readonly renewal: {
2009
+ readonly description: "The renewal date the customer page shows, with its source; null when the customer has none";
2010
+ readonly anyOf: readonly [{
2011
+ readonly type: "object";
2012
+ readonly properties: {
2013
+ readonly date: {
2014
+ readonly type: "string";
2015
+ readonly description: "Renewal date, YYYY-MM-DD";
2016
+ };
2017
+ readonly source: {
2018
+ readonly type: "string";
2019
+ readonly enum: readonly ["outlit", "crm", "billing"];
2020
+ readonly description: "Where the date comes from: set in Outlit, a CRM opportunity, or the billing period of a yearly subscription";
2021
+ };
2022
+ };
2023
+ readonly required: readonly ["date", "source"];
2024
+ readonly additionalProperties: false;
2025
+ }, {
2026
+ readonly type: "null";
2027
+ }];
2028
+ };
2029
+ readonly crm: {
2030
+ readonly description: "The CRM and support tool accounts linked to this customer, one entry each, with the account's own fields (segment, health, stage, owner and custom fields) as stored there and its associated contacts. Opt-in because an account can carry hundreds of fields. Absent when the section is not enabled for the workspace; null when the read is bound to a past point in time.";
2031
+ readonly anyOf: readonly [{
2032
+ readonly type: "array";
2033
+ readonly items: {
2034
+ readonly type: "object";
2035
+ readonly properties: {
2036
+ readonly provider: {
2037
+ readonly type: "string";
2038
+ readonly description: "The system that holds the account: hubspot, salesforce, attio or pylon.";
2039
+ };
2040
+ readonly connectionId: {
2041
+ readonly type: "string";
2042
+ readonly description: "The Outlit integration connection the account syncs through.";
2043
+ };
2044
+ readonly accountId: {
2045
+ readonly type: "string";
2046
+ readonly description: "The account's id in that system.";
2047
+ };
2048
+ readonly name: {
2049
+ readonly anyOf: readonly [{
2050
+ readonly type: "string";
2051
+ }, {
2052
+ readonly type: "null";
2053
+ }];
2054
+ readonly description: "The account's name in that system.";
2055
+ };
2056
+ readonly owner: {
2057
+ readonly anyOf: readonly [{
2058
+ readonly type: "object";
2059
+ readonly properties: {
2060
+ readonly name: {
2061
+ readonly anyOf: readonly [{
2062
+ readonly type: "string";
2063
+ }, {
2064
+ readonly type: "null";
2065
+ }];
2066
+ };
2067
+ readonly email: {
2068
+ readonly anyOf: readonly [{
2069
+ readonly type: "string";
2070
+ }, {
2071
+ readonly type: "null";
2072
+ }];
2073
+ };
2074
+ };
2075
+ readonly required: readonly ["name", "email"];
2076
+ readonly additionalProperties: false;
2077
+ }, {
2078
+ readonly type: "null";
2079
+ }];
2080
+ readonly description: "The account owner as that system records it; null when it records none. Not Outlit's customer owner.";
2081
+ };
2082
+ readonly recordUpdatedAt: {
2083
+ readonly anyOf: readonly [{
2084
+ readonly type: "string";
2085
+ }, {
2086
+ readonly type: "null";
2087
+ }];
2088
+ readonly description: "When that system last modified the account, ISO 8601. A Salesforce formula field can change without moving it, so such a value may lag until the account next changes.";
2089
+ };
2090
+ readonly contacts: {
2091
+ readonly type: "array";
2092
+ readonly items: {
2093
+ readonly type: "object";
2094
+ readonly properties: {
2095
+ readonly contactId: {
2096
+ readonly type: "string";
2097
+ readonly description: "The contact's id in that system.";
2098
+ };
2099
+ readonly name: {
2100
+ readonly anyOf: readonly [{
2101
+ readonly type: "string";
2102
+ }, {
2103
+ readonly type: "null";
2104
+ }];
2105
+ };
2106
+ readonly email: {
2107
+ readonly anyOf: readonly [{
2108
+ readonly type: "string";
2109
+ }, {
2110
+ readonly type: "null";
2111
+ }];
2112
+ };
2113
+ readonly title: {
2114
+ readonly anyOf: readonly [{
2115
+ readonly type: "string";
2116
+ }, {
2117
+ readonly type: "null";
2118
+ }];
2119
+ readonly description: "The contact's job title there.";
2120
+ };
2121
+ readonly userId: {
2122
+ readonly anyOf: readonly [{
2123
+ readonly type: "string";
2124
+ }, {
2125
+ readonly type: "null";
2126
+ }];
2127
+ readonly description: "The id of this customer's user with that contact or email; null when the person is not one of its users, for example someone on another email domain.";
2128
+ };
2129
+ };
2130
+ readonly required: readonly ["contactId", "name", "email", "title", "userId"];
2131
+ readonly additionalProperties: false;
1188
2132
  };
2133
+ readonly description: "The contacts that system associates with the account, whatever their email domain, most recently modified first, at most 25.";
1189
2134
  };
1190
- readonly additionalProperties: false;
1191
- }, {
1192
- readonly type: "null";
1193
- }];
1194
- };
1195
- readonly match: {
1196
- readonly anyOf: readonly [{
1197
- readonly type: "object";
1198
- readonly propertyNames: {
1199
- readonly type: "string";
2135
+ readonly omittedContactCount: {
2136
+ readonly description: "How many more associated contacts there are beyond those listed.";
2137
+ readonly type: "integer";
2138
+ readonly minimum: 1;
2139
+ readonly maximum: 9007199254740991;
1200
2140
  };
1201
- readonly additionalProperties: {};
1202
- }, {
1203
- readonly type: "null";
1204
- }];
1205
- };
1206
- readonly lastSuccessfulRefreshAt: {
1207
- readonly anyOf: readonly [{
1208
- readonly type: "string";
1209
- }, {
1210
- readonly type: "null";
1211
- }];
1212
- };
1213
- readonly lastAttemptAt: {
1214
- readonly anyOf: readonly [{
1215
- readonly type: "string";
1216
- }, {
1217
- readonly type: "null";
1218
- }];
1219
- };
1220
- readonly expiresAt: {
1221
- readonly anyOf: readonly [{
1222
- readonly type: "string";
1223
- }, {
1224
- readonly type: "null";
1225
- }];
1226
- };
1227
- readonly error: {
1228
- readonly anyOf: readonly [{
1229
- readonly type: "object";
1230
- readonly properties: {
1231
- readonly class: {
1232
- readonly type: "string";
2141
+ readonly fields: {
2142
+ readonly type: "array";
2143
+ readonly items: {
2144
+ readonly type: "object";
2145
+ readonly properties: {
2146
+ readonly key: {
2147
+ readonly type: "string";
2148
+ readonly description: "The field's API name or slug in that system.";
2149
+ };
2150
+ readonly label: {
2151
+ readonly type: "string";
2152
+ readonly description: "The field's name in that system's UI; the key when unknown.";
2153
+ };
2154
+ readonly value: {
2155
+ readonly description: "The value as that system stores it: a string, number, boolean, array, or for Attio its value objects. A picklist holds the option's stored value, not its label.";
2156
+ };
2157
+ readonly custom: {
2158
+ readonly type: "boolean";
2159
+ readonly description: "True for a field the customer's team added to that system.";
2160
+ };
2161
+ };
2162
+ readonly required: readonly ["key", "label", "value", "custom"];
2163
+ readonly additionalProperties: false;
1233
2164
  };
1234
- readonly message: {
2165
+ readonly description: "The account's non-empty fields, sorted by key.";
2166
+ };
2167
+ readonly omittedFields: {
2168
+ readonly description: "Keys of fields left out so the response stays within its size limit, as many as fit. Ask for them with crmFields.";
2169
+ readonly type: "array";
2170
+ readonly items: {
1235
2171
  readonly type: "string";
1236
2172
  };
1237
- readonly retryable: {
1238
- readonly type: "boolean";
2173
+ };
2174
+ readonly omittedFieldCount: {
2175
+ readonly description: "How many fields were left out, including any not named in omittedFields.";
2176
+ readonly type: "integer";
2177
+ readonly minimum: 0;
2178
+ readonly maximum: 9007199254740991;
2179
+ };
2180
+ };
2181
+ readonly required: readonly ["provider", "connectionId", "accountId", "name", "owner", "recordUpdatedAt", "contacts", "fields"];
2182
+ readonly additionalProperties: false;
2183
+ };
2184
+ }, {
2185
+ readonly type: "null";
2186
+ }];
2187
+ };
2188
+ readonly links: {
2189
+ readonly description: "Every record in another system linked to this customer, including records still held by customers merged into it: billing customers, CRM and support accounts, product analytics groups and accounts, Slack channels and the product's own customer id. A record is listed only when its id in that system is known. Use it to tell whether two customers share a record, or to name the record to look up in that system; for a CRM account's own fields use include crm. Ordered by kind, provider and id. Null when the read is bound to a past point in time.";
2190
+ readonly anyOf: readonly [{
2191
+ readonly type: "object";
2192
+ readonly properties: {
2193
+ readonly records: {
2194
+ readonly type: "array";
2195
+ readonly items: {
2196
+ readonly type: "object";
2197
+ readonly properties: {
2198
+ readonly kind: {
2199
+ readonly type: "string";
2200
+ readonly enum: readonly ["billing_customer", "crm_account", "support_account", "analytics_group", "analytics_account", "slack_channel", "slack_workspace", "external_organization"];
2201
+ readonly description: "What the record is: a billing customer (such as a Stripe customer), a CRM or support account, a product analytics group or account, a Slack channel or workspace, or the customer's id in the product's own sign-up system.";
2202
+ };
2203
+ readonly provider: {
2204
+ readonly anyOf: readonly [{
2205
+ readonly type: "string";
2206
+ }, {
2207
+ readonly type: "null";
2208
+ }];
2209
+ readonly description: "The system that holds the record, such as stripe, hubspot or posthog; null when unknown.";
2210
+ };
2211
+ readonly id: {
2212
+ readonly type: "string";
2213
+ readonly description: "The record's id in that system, such as a Stripe customer id (cus_...).";
2214
+ };
2215
+ readonly connectionId: {
2216
+ readonly anyOf: readonly [{
2217
+ readonly type: "string";
2218
+ }, {
2219
+ readonly type: "null";
2220
+ }];
2221
+ readonly description: "The Outlit integration connection the record came through; null when none names it.";
2222
+ };
2223
+ readonly linkedAt: {
2224
+ readonly type: "string";
2225
+ readonly description: "When Outlit linked the record to this customer, ISO 8601. Outlit's own time, not a fact about the customer.";
2226
+ };
1239
2227
  };
2228
+ readonly required: readonly ["kind", "provider", "id", "connectionId", "linkedAt"];
2229
+ readonly additionalProperties: false;
1240
2230
  };
1241
- readonly required: readonly ["class", "message"];
1242
- readonly additionalProperties: false;
1243
- }, {
1244
- readonly type: "null";
1245
- }];
2231
+ };
2232
+ readonly omitted: {
2233
+ readonly type: "integer";
2234
+ readonly minimum: 0;
2235
+ readonly maximum: 9007199254740991;
2236
+ readonly description: "How many more linked records exist beyond the first 50, which are left out.";
2237
+ };
1246
2238
  };
1247
- };
1248
- readonly required: readonly ["status", "provider", "providerEntityId", "summary", "match", "lastSuccessfulRefreshAt", "lastAttemptAt", "expiresAt", "error"];
1249
- readonly additionalProperties: false;
2239
+ readonly required: readonly ["records", "omitted"];
2240
+ readonly additionalProperties: false;
2241
+ }, {
2242
+ readonly type: "null";
2243
+ }];
1250
2244
  };
1251
2245
  };
1252
2246
  readonly required: readonly ["customer"];
@@ -1263,6 +2257,7 @@ declare const publicToolContracts: {
1263
2257
  readonly annotations: {
1264
2258
  readonly readOnlyHint: true;
1265
2259
  readonly destructiveHint: false;
2260
+ readonly idempotentHint: true;
1266
2261
  readonly openWorldHint: false;
1267
2262
  };
1268
2263
  readonly inputSchema: {
@@ -1386,6 +2381,7 @@ declare const publicToolContracts: {
1386
2381
  readonly annotations: {
1387
2382
  readonly readOnlyHint: false;
1388
2383
  readonly destructiveHint: false;
2384
+ readonly idempotentHint: false;
1389
2385
  readonly openWorldHint: false;
1390
2386
  };
1391
2387
  readonly inputSchema: {
@@ -1436,7 +2432,8 @@ declare const publicToolContracts: {
1436
2432
  readonly description: "Share a customer with an active workspace member as a Viewer or Editor. The customer ID must be exact.";
1437
2433
  readonly annotations: {
1438
2434
  readonly readOnlyHint: false;
1439
- readonly destructiveHint: false;
2435
+ readonly destructiveHint: true;
2436
+ readonly idempotentHint: true;
1440
2437
  readonly openWorldHint: false;
1441
2438
  };
1442
2439
  readonly inputSchema: {
@@ -1502,7 +2499,8 @@ declare const publicToolContracts: {
1502
2499
  readonly description: "Change an existing customer collaborator between Viewer and Editor.";
1503
2500
  readonly annotations: {
1504
2501
  readonly readOnlyHint: false;
1505
- readonly destructiveHint: false;
2502
+ readonly destructiveHint: true;
2503
+ readonly idempotentHint: true;
1506
2504
  readonly openWorldHint: false;
1507
2505
  };
1508
2506
  readonly inputSchema: {
@@ -1569,6 +2567,7 @@ declare const publicToolContracts: {
1569
2567
  readonly annotations: {
1570
2568
  readonly readOnlyHint: false;
1571
2569
  readonly destructiveHint: true;
2570
+ readonly idempotentHint: true;
1572
2571
  readonly openWorldHint: false;
1573
2572
  };
1574
2573
  readonly inputSchema: {
@@ -1613,6 +2612,7 @@ declare const publicToolContracts: {
1613
2612
  readonly annotations: {
1614
2613
  readonly readOnlyHint: true;
1615
2614
  readonly destructiveHint: false;
2615
+ readonly idempotentHint: true;
1616
2616
  readonly openWorldHint: false;
1617
2617
  };
1618
2618
  readonly inputSchema: {
@@ -1898,6 +2898,7 @@ declare const publicToolContracts: {
1898
2898
  readonly annotations: {
1899
2899
  readonly readOnlyHint: true;
1900
2900
  readonly destructiveHint: false;
2901
+ readonly idempotentHint: true;
1901
2902
  readonly openWorldHint: false;
1902
2903
  };
1903
2904
  readonly inputSchema: {
@@ -1923,7 +2924,7 @@ declare const publicToolContracts: {
1923
2924
  readonly type: "array";
1924
2925
  readonly items: {
1925
2926
  readonly type: "string";
1926
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
2927
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY"];
1927
2928
  };
1928
2929
  };
1929
2930
  readonly factTypes: {
@@ -2080,7 +3081,7 @@ declare const publicToolContracts: {
2080
3081
  readonly properties: {
2081
3082
  readonly sourceType: {
2082
3083
  readonly type: "string";
2083
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3084
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2084
3085
  };
2085
3086
  readonly sourceId: {
2086
3087
  readonly type: "string";
@@ -2118,7 +3119,7 @@ declare const publicToolContracts: {
2118
3119
  readonly sourceType: {
2119
3120
  readonly anyOf: readonly [{
2120
3121
  readonly type: "string";
2121
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3122
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2122
3123
  }, {
2123
3124
  readonly type: "null";
2124
3125
  }];
@@ -2267,7 +3268,7 @@ declare const publicToolContracts: {
2267
3268
  readonly sourceType: {
2268
3269
  readonly anyOf: readonly [{
2269
3270
  readonly type: "string";
2270
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3271
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2271
3272
  }, {
2272
3273
  readonly type: "null";
2273
3274
  }];
@@ -2344,6 +3345,7 @@ declare const publicToolContracts: {
2344
3345
  readonly annotations: {
2345
3346
  readonly readOnlyHint: true;
2346
3347
  readonly destructiveHint: false;
3348
+ readonly idempotentHint: true;
2347
3349
  readonly openWorldHint: false;
2348
3350
  };
2349
3351
  readonly inputSchema: {
@@ -2451,7 +3453,7 @@ declare const publicToolContracts: {
2451
3453
  readonly properties: {
2452
3454
  readonly sourceType: {
2453
3455
  readonly type: "string";
2454
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3456
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2455
3457
  };
2456
3458
  readonly sourceId: {
2457
3459
  readonly type: "string";
@@ -2489,7 +3491,7 @@ declare const publicToolContracts: {
2489
3491
  readonly sourceType: {
2490
3492
  readonly anyOf: readonly [{
2491
3493
  readonly type: "string";
2492
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3494
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2493
3495
  }, {
2494
3496
  readonly type: "null";
2495
3497
  }];
@@ -2638,7 +3640,7 @@ declare const publicToolContracts: {
2638
3640
  readonly sourceType: {
2639
3641
  readonly anyOf: readonly [{
2640
3642
  readonly type: "string";
2641
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3643
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2642
3644
  }, {
2643
3645
  readonly type: "null";
2644
3646
  }];
@@ -2689,10 +3691,11 @@ declare const publicToolContracts: {
2689
3691
  readonly commandVersion: 1;
2690
3692
  readonly ownerDomain: "customer-context";
2691
3693
  readonly title: "Get Source";
2692
- readonly description: "Get one exact source record by generic sourceType and sourceId. Use this when you already know the concrete underlying source you want to inspect.";
3694
+ readonly description: "Get one exact source record by generic sourceType and sourceId. Use this when you already know the concrete underlying source you want to inspect. For a Stripe invoice use sourceType INVOICE (STRIPE_INVOICE is accepted) with the Stripe invoice id (in_...): the record lists every stored line item, with amounts in the billing provider's minor units for the invoice's currency (cents for USD, EUR, GBP and CAD; other currencies follow the provider's amount rules). The lines are what that invoice billed for its period, not the subscription's item set: a yearly item is absent from its monthly invoices, and a metered item with no usage may be absent too. For a CRM opportunity (sourceType OPPORTUNITY) the record also lists the deal's own CRM fields as record.fields (each with key, label, value and custom, custom fields included) when the workspace has the CRM fields enabled; record.omittedFields names any left out to keep the response small.";
2693
3695
  readonly annotations: {
2694
3696
  readonly readOnlyHint: true;
2695
3697
  readonly destructiveHint: false;
3698
+ readonly idempotentHint: true;
2696
3699
  readonly openWorldHint: false;
2697
3700
  };
2698
3701
  readonly inputSchema: {
@@ -2701,7 +3704,7 @@ declare const publicToolContracts: {
2701
3704
  readonly properties: {
2702
3705
  readonly sourceType: {
2703
3706
  readonly type: "string";
2704
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY", "EXTRACTED"];
3707
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY", "STRIPE_INVOICE", "EXTRACTED"];
2705
3708
  };
2706
3709
  readonly sourceId: {
2707
3710
  readonly type: "string";
@@ -2729,7 +3732,7 @@ declare const publicToolContracts: {
2729
3732
  readonly properties: {
2730
3733
  readonly sourceType: {
2731
3734
  readonly type: "string";
2732
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3735
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2733
3736
  };
2734
3737
  readonly sourceId: {
2735
3738
  readonly type: "string";
@@ -2862,7 +3865,7 @@ declare const publicToolContracts: {
2862
3865
  readonly properties: {
2863
3866
  readonly sourceType: {
2864
3867
  readonly type: "string";
2865
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
3868
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
2866
3869
  };
2867
3870
  readonly sourceId: {
2868
3871
  readonly type: "string";
@@ -2960,10 +3963,11 @@ declare const publicToolContracts: {
2960
3963
  readonly commandVersion: 1;
2961
3964
  readonly ownerDomain: "customer-context";
2962
3965
  readonly title: "List Sources";
2963
- readonly description: "List concrete source records deterministically. Use this instead of semantic search when you need enumerated calls, emails, calendar events, support tickets, Slack conversations, or opportunities.";
3966
+ readonly description: "List concrete source records deterministically. Use this instead of semantic search when you need enumerated calls, emails, calendar events, support tickets, Slack conversations, or opportunities. Invoices are listed only when you pass sourceType INVOICE with a customer, newest first.";
2964
3967
  readonly annotations: {
2965
3968
  readonly readOnlyHint: true;
2966
3969
  readonly destructiveHint: false;
3970
+ readonly idempotentHint: true;
2967
3971
  readonly openWorldHint: false;
2968
3972
  };
2969
3973
  readonly inputSchema: {
@@ -2973,7 +3977,7 @@ declare const publicToolContracts: {
2973
3977
  readonly sourceType: {
2974
3978
  readonly description: "Generic source type to list.";
2975
3979
  readonly type: "string";
2976
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
3980
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY", "STRIPE_INVOICE"];
2977
3981
  };
2978
3982
  readonly customer: {
2979
3983
  readonly description: "Customer ID, domain, or name to scope source listing.";
@@ -3036,7 +4040,7 @@ declare const publicToolContracts: {
3036
4040
  readonly properties: {
3037
4041
  readonly sourceType: {
3038
4042
  readonly type: "string";
3039
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
4043
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
3040
4044
  };
3041
4045
  readonly sourceId: {
3042
4046
  readonly type: "string";
@@ -3169,7 +4173,7 @@ declare const publicToolContracts: {
3169
4173
  readonly properties: {
3170
4174
  readonly sourceType: {
3171
4175
  readonly type: "string";
3172
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
4176
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
3173
4177
  };
3174
4178
  readonly sourceId: {
3175
4179
  readonly type: "string";
@@ -3293,6 +4297,7 @@ declare const publicToolContracts: {
3293
4297
  readonly annotations: {
3294
4298
  readonly readOnlyHint: true;
3295
4299
  readonly destructiveHint: false;
4300
+ readonly idempotentHint: true;
3296
4301
  readonly openWorldHint: false;
3297
4302
  };
3298
4303
  readonly inputSchema: {
@@ -3338,7 +4343,7 @@ declare const publicToolContracts: {
3338
4343
  readonly type: "array";
3339
4344
  readonly items: {
3340
4345
  readonly type: "string";
3341
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
4346
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY"];
3342
4347
  };
3343
4348
  };
3344
4349
  };
@@ -3525,7 +4530,7 @@ declare const publicToolContracts: {
3525
4530
  readonly properties: {
3526
4531
  readonly sourceType: {
3527
4532
  readonly type: "string";
3528
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
4533
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
3529
4534
  };
3530
4535
  readonly sourceId: {
3531
4536
  readonly type: "string";
@@ -3563,7 +4568,7 @@ declare const publicToolContracts: {
3563
4568
  readonly sourceType: {
3564
4569
  readonly anyOf: readonly [{
3565
4570
  readonly type: "string";
3566
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
4571
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
3567
4572
  }, {
3568
4573
  readonly type: "null";
3569
4574
  }];
@@ -3712,7 +4717,7 @@ declare const publicToolContracts: {
3712
4717
  readonly sourceType: {
3713
4718
  readonly anyOf: readonly [{
3714
4719
  readonly type: "string";
3715
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
4720
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
3716
4721
  }, {
3717
4722
  readonly type: "null";
3718
4723
  }];
@@ -3771,7 +4776,7 @@ declare const publicToolContracts: {
3771
4776
  };
3772
4777
  readonly sourceType: {
3773
4778
  readonly type: "string";
3774
- readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
4779
+ readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
3775
4780
  };
3776
4781
  readonly sourceId: {
3777
4782
  readonly type: "string";
@@ -3893,10 +4898,11 @@ declare const publicToolContracts: {
3893
4898
  readonly commandVersion: 1;
3894
4899
  readonly ownerDomain: "analytics";
3895
4900
  readonly title: "Run SQL Query";
3896
- readonly description: "Execute read-only SQL queries against your analytics views.\n\nAvailable views:\n- activity: Customer activity events (event_name, event_type, event_channel, customer_id, occurred_at, properties, ...)\n- customers: Customer attributes (customer_id, domain, name, billing_status, plan, mrr_cents, traits, ...)\n- users: User attributes (user_id, email, name, customer_id, traits, ...)\n- revenue: Revenue snapshots over time (customer_id, snapshot_date, mrr_cents, ...)\n\nAll queries are automatically filtered to your organization's data.\nOnly SELECT queries are allowed.\nProperties and traits are JSON strings; inspect schemas and examples before filtering nested values.\n\nExample queries:\n- SELECT event_name, count(*) FROM activity GROUP BY 1 ORDER BY 2 DESC LIMIT 10\n- SELECT billing_status, sum(mrr_cents)/100 as mrr FROM customers GROUP BY 1\n- SELECT * FROM activity WHERE customer_id = 'cust_123' ORDER BY occurred_at DESC LIMIT 50";
4901
+ readonly description: "Execute read-only SQL queries against your analytics views.\n\nAvailable views:\n- activity: Customer activity events (event_name, event_type, event_channel, customer_id, occurred_at, properties, ...)\n- customers: Customer attributes (customer_id, domain, name, billing_status, plan, arr_cents (the revenue number: annualized, in arr_currency's units), arr_currency, traits, ...; mrr_cents and mrr_status are deprecated, use arr_cents)\n- users: User attributes (user_id, email, name, customer_id, traits, ...)\n- revenue: Revenue snapshots over time (customer_id, snapshot_date, mrr_cents, ...)\n\nAll queries are automatically filtered to your organization's data.\nOnly SELECT queries are allowed.\nProperties and traits are JSON strings; inspect schemas and examples before filtering nested values.\n\nExample queries:\n- SELECT event_name, count(*) FROM activity GROUP BY 1 ORDER BY 2 DESC LIMIT 10\n- SELECT billing_status, sum(arr_cents)/100 AS arr FROM customers WHERE arr_currency = 'USD' GROUP BY 1\n- SELECT * FROM activity WHERE customer_id = 'cust_123' ORDER BY occurred_at DESC LIMIT 50";
3897
4902
  readonly annotations: {
3898
4903
  readonly readOnlyHint: true;
3899
4904
  readonly destructiveHint: false;
4905
+ readonly idempotentHint: true;
3900
4906
  readonly openWorldHint: false;
3901
4907
  };
3902
4908
  readonly inputSchema: {
@@ -3971,6 +4977,7 @@ declare const publicToolContracts: {
3971
4977
  readonly annotations: {
3972
4978
  readonly readOnlyHint: true;
3973
4979
  readonly destructiveHint: false;
4980
+ readonly idempotentHint: true;
3974
4981
  readonly openWorldHint: false;
3975
4982
  };
3976
4983
  readonly inputSchema: {
@@ -4127,6 +5134,7 @@ declare const publicToolContracts: {
4127
5134
  readonly annotations: {
4128
5135
  readonly readOnlyHint: true;
4129
5136
  readonly destructiveHint: false;
5137
+ readonly idempotentHint: true;
4130
5138
  readonly openWorldHint: false;
4131
5139
  };
4132
5140
  readonly inputSchema: {
@@ -4404,6 +5412,7 @@ declare const publicToolContracts: {
4404
5412
  readonly annotations: {
4405
5413
  readonly readOnlyHint: true;
4406
5414
  readonly destructiveHint: false;
5415
+ readonly idempotentHint: true;
4407
5416
  readonly openWorldHint: false;
4408
5417
  };
4409
5418
  readonly inputSchema: {
@@ -4685,6 +5694,7 @@ declare const publicToolContracts: {
4685
5694
  readonly annotations: {
4686
5695
  readonly readOnlyHint: false;
4687
5696
  readonly destructiveHint: false;
5697
+ readonly idempotentHint: false;
4688
5698
  readonly openWorldHint: true;
4689
5699
  };
4690
5700
  readonly inputSchema: {
@@ -4983,6 +5993,7 @@ declare const publicToolContracts: {
4983
5993
  readonly annotations: {
4984
5994
  readonly readOnlyHint: false;
4985
5995
  readonly destructiveHint: false;
5996
+ readonly idempotentHint: true;
4986
5997
  readonly openWorldHint: true;
4987
5998
  };
4988
5999
  readonly inputSchema: {
@@ -5277,6 +6288,7 @@ declare const publicToolContracts: {
5277
6288
  readonly annotations: {
5278
6289
  readonly readOnlyHint: false;
5279
6290
  readonly destructiveHint: false;
6291
+ readonly idempotentHint: true;
5280
6292
  readonly openWorldHint: true;
5281
6293
  };
5282
6294
  readonly inputSchema: {
@@ -5558,6 +6570,7 @@ declare const publicToolContracts: {
5558
6570
  readonly annotations: {
5559
6571
  readonly readOnlyHint: false;
5560
6572
  readonly destructiveHint: false;
6573
+ readonly idempotentHint: true;
5561
6574
  readonly openWorldHint: false;
5562
6575
  };
5563
6576
  readonly inputSchema: {
@@ -5839,6 +6852,7 @@ declare const publicToolContracts: {
5839
6852
  readonly annotations: {
5840
6853
  readonly readOnlyHint: false;
5841
6854
  readonly destructiveHint: true;
6855
+ readonly idempotentHint: true;
5842
6856
  readonly openWorldHint: false;
5843
6857
  };
5844
6858
  readonly inputSchema: {
@@ -5890,6 +6904,7 @@ declare const publicToolContracts: {
5890
6904
  readonly annotations: {
5891
6905
  readonly readOnlyHint: false;
5892
6906
  readonly destructiveHint: false;
6907
+ readonly idempotentHint: false;
5893
6908
  readonly openWorldHint: false;
5894
6909
  };
5895
6910
  readonly inputSchema: {
@@ -5944,6 +6959,7 @@ declare const publicToolContracts: {
5944
6959
  readonly annotations: {
5945
6960
  readonly readOnlyHint: true;
5946
6961
  readonly destructiveHint: false;
6962
+ readonly idempotentHint: true;
5947
6963
  readonly openWorldHint: false;
5948
6964
  };
5949
6965
  readonly inputSchema: {
@@ -6016,6 +7032,7 @@ declare const publicToolContracts: {
6016
7032
  readonly annotations: {
6017
7033
  readonly readOnlyHint: false;
6018
7034
  readonly destructiveHint: false;
7035
+ readonly idempotentHint: false;
6019
7036
  readonly openWorldHint: true;
6020
7037
  };
6021
7038
  readonly inputSchema: {
@@ -6085,6 +7102,7 @@ declare const publicToolContracts: {
6085
7102
  readonly annotations: {
6086
7103
  readonly readOnlyHint: true;
6087
7104
  readonly destructiveHint: false;
7105
+ readonly idempotentHint: true;
6088
7106
  readonly openWorldHint: false;
6089
7107
  };
6090
7108
  readonly inputSchema: {
@@ -6132,6 +7150,7 @@ declare const publicToolContracts: {
6132
7150
  readonly annotations: {
6133
7151
  readonly readOnlyHint: true;
6134
7152
  readonly destructiveHint: false;
7153
+ readonly idempotentHint: true;
6135
7154
  readonly openWorldHint: false;
6136
7155
  };
6137
7156
  readonly inputSchema: {
@@ -6188,10 +7207,11 @@ declare const publicToolContracts: {
6188
7207
  readonly commandVersion: 1;
6189
7208
  readonly ownerDomain: "integrations";
6190
7209
  readonly title: "Set Up Integration";
6191
- readonly description: "Continue integration setup through validated credentials, safe configuration, or a trusted browser handoff.";
7210
+ readonly description: "Continue integration setup through validated credentials, safe configuration, or a trusted browser handoff. For a connected Stripe account, an optional stripe_renewal_date_field step names the subscription metadata key that holds renewal dates.";
6192
7211
  readonly annotations: {
6193
7212
  readonly readOnlyHint: false;
6194
7213
  readonly destructiveHint: false;
7214
+ readonly idempotentHint: false;
6195
7215
  readonly openWorldHint: true;
6196
7216
  };
6197
7217
  readonly inputSchema: {
@@ -6291,6 +7311,26 @@ declare const publicToolContracts: {
6291
7311
  readonly type: "string";
6292
7312
  readonly const: "oauth";
6293
7313
  };
7314
+ readonly configuration: {
7315
+ readonly type: "object";
7316
+ readonly properties: {
7317
+ readonly kind: {
7318
+ readonly type: "string";
7319
+ readonly const: "stripe_renewal_date_field";
7320
+ };
7321
+ readonly key: {
7322
+ readonly anyOf: readonly [{
7323
+ readonly type: "string";
7324
+ readonly minLength: 1;
7325
+ readonly maxLength: 40;
7326
+ }, {
7327
+ readonly type: "null";
7328
+ }];
7329
+ };
7330
+ };
7331
+ readonly required: readonly ["kind", "key"];
7332
+ readonly additionalProperties: false;
7333
+ };
6294
7334
  };
6295
7335
  readonly required: readonly ["provider"];
6296
7336
  readonly additionalProperties: false;
@@ -6317,6 +7357,26 @@ declare const publicToolContracts: {
6317
7357
  readonly required: readonly ["apiKey"];
6318
7358
  readonly additionalProperties: false;
6319
7359
  };
7360
+ readonly configuration: {
7361
+ readonly type: "object";
7362
+ readonly properties: {
7363
+ readonly kind: {
7364
+ readonly type: "string";
7365
+ readonly const: "stripe_renewal_date_field";
7366
+ };
7367
+ readonly key: {
7368
+ readonly anyOf: readonly [{
7369
+ readonly type: "string";
7370
+ readonly minLength: 1;
7371
+ readonly maxLength: 40;
7372
+ }, {
7373
+ readonly type: "null";
7374
+ }];
7375
+ };
7376
+ };
7377
+ readonly required: readonly ["kind", "key"];
7378
+ readonly additionalProperties: false;
7379
+ };
6320
7380
  };
6321
7381
  readonly required: readonly ["provider", "connectionMode"];
6322
7382
  readonly additionalProperties: false;
@@ -6832,6 +7892,53 @@ declare const publicToolContracts: {
6832
7892
  };
6833
7893
  readonly required: readonly ["kind", "preview"];
6834
7894
  readonly additionalProperties: false;
7895
+ }, {
7896
+ readonly type: "object";
7897
+ readonly properties: {
7898
+ readonly kind: {
7899
+ readonly type: "string";
7900
+ readonly const: "stripe_renewal_date_field";
7901
+ };
7902
+ readonly selectedKey: {
7903
+ readonly anyOf: readonly [{
7904
+ readonly type: "string";
7905
+ }, {
7906
+ readonly type: "null";
7907
+ }];
7908
+ };
7909
+ readonly liveSubscriptionCount: {
7910
+ readonly type: "integer";
7911
+ readonly minimum: 0;
7912
+ readonly maximum: 9007199254740991;
7913
+ };
7914
+ readonly keys: {
7915
+ readonly type: "array";
7916
+ readonly items: {
7917
+ readonly type: "object";
7918
+ readonly properties: {
7919
+ readonly key: {
7920
+ readonly type: "string";
7921
+ };
7922
+ readonly subscriptionCount: {
7923
+ readonly type: "integer";
7924
+ readonly minimum: 0;
7925
+ readonly maximum: 9007199254740991;
7926
+ };
7927
+ readonly sampleDate: {
7928
+ readonly anyOf: readonly [{
7929
+ readonly type: "string";
7930
+ }, {
7931
+ readonly type: "null";
7932
+ }];
7933
+ };
7934
+ };
7935
+ readonly required: readonly ["key", "subscriptionCount", "sampleDate"];
7936
+ readonly additionalProperties: false;
7937
+ };
7938
+ };
7939
+ };
7940
+ readonly required: readonly ["kind", "selectedKey", "liveSubscriptionCount", "keys"];
7941
+ readonly additionalProperties: false;
6835
7942
  }];
6836
7943
  }, {
6837
7944
  readonly type: "null";
@@ -6873,6 +7980,7 @@ declare const publicToolContracts: {
6873
7980
  readonly annotations: {
6874
7981
  readonly readOnlyHint: true;
6875
7982
  readonly destructiveHint: false;
7983
+ readonly idempotentHint: true;
6876
7984
  readonly openWorldHint: false;
6877
7985
  };
6878
7986
  readonly inputSchema: {
@@ -6916,6 +8024,7 @@ declare const publicToolContracts: {
6916
8024
  readonly annotations: {
6917
8025
  readonly readOnlyHint: true;
6918
8026
  readonly destructiveHint: false;
8027
+ readonly idempotentHint: true;
6919
8028
  readonly openWorldHint: false;
6920
8029
  };
6921
8030
  readonly inputSchema: {
@@ -7081,6 +8190,7 @@ declare const publicToolContracts: {
7081
8190
  readonly annotations: {
7082
8191
  readonly readOnlyHint: false;
7083
8192
  readonly destructiveHint: false;
8193
+ readonly idempotentHint: true;
7084
8194
  readonly openWorldHint: false;
7085
8195
  };
7086
8196
  readonly inputSchema: {
@@ -7138,6 +8248,7 @@ declare const publicToolContracts: {
7138
8248
  readonly annotations: {
7139
8249
  readonly readOnlyHint: true;
7140
8250
  readonly destructiveHint: false;
8251
+ readonly idempotentHint: true;
7141
8252
  readonly openWorldHint: false;
7142
8253
  };
7143
8254
  readonly inputSchema: {
@@ -7192,6 +8303,7 @@ declare const publicToolContracts: {
7192
8303
  readonly annotations: {
7193
8304
  readonly readOnlyHint: false;
7194
8305
  readonly destructiveHint: false;
8306
+ readonly idempotentHint: true;
7195
8307
  readonly openWorldHint: false;
7196
8308
  };
7197
8309
  readonly inputSchema: {
@@ -7267,6 +8379,7 @@ declare const publicToolContracts: {
7267
8379
  readonly annotations: {
7268
8380
  readonly readOnlyHint: true;
7269
8381
  readonly destructiveHint: false;
8382
+ readonly idempotentHint: true;
7270
8383
  readonly openWorldHint: false;
7271
8384
  };
7272
8385
  readonly inputSchema: {
@@ -7700,6 +8813,7 @@ declare const publicToolContracts: {
7700
8813
  readonly annotations: {
7701
8814
  readonly readOnlyHint: false;
7702
8815
  readonly destructiveHint: false;
8816
+ readonly idempotentHint: true;
7703
8817
  readonly openWorldHint: false;
7704
8818
  };
7705
8819
  readonly inputSchema: {
@@ -7957,6 +9071,7 @@ declare const publicToolContracts: {
7957
9071
  readonly annotations: {
7958
9072
  readonly readOnlyHint: false;
7959
9073
  readonly destructiveHint: true;
9074
+ readonly idempotentHint: true;
7960
9075
  readonly openWorldHint: false;
7961
9076
  };
7962
9077
  readonly inputSchema: {
@@ -8013,6 +9128,7 @@ declare const publicToolContracts: {
8013
9128
  readonly annotations: {
8014
9129
  readonly readOnlyHint: true;
8015
9130
  readonly destructiveHint: false;
9131
+ readonly idempotentHint: true;
8016
9132
  readonly openWorldHint: false;
8017
9133
  };
8018
9134
  readonly inputSchema: {
@@ -8907,6 +10023,7 @@ declare const publicToolContracts: {
8907
10023
  readonly annotations: {
8908
10024
  readonly readOnlyHint: true;
8909
10025
  readonly destructiveHint: false;
10026
+ readonly idempotentHint: true;
8910
10027
  readonly openWorldHint: false;
8911
10028
  };
8912
10029
  readonly inputSchema: {
@@ -9224,6 +10341,7 @@ declare const publicToolContracts: {
9224
10341
  readonly annotations: {
9225
10342
  readonly readOnlyHint: true;
9226
10343
  readonly destructiveHint: false;
10344
+ readonly idempotentHint: true;
9227
10345
  readonly openWorldHint: false;
9228
10346
  };
9229
10347
  readonly inputSchema: {
@@ -9476,6 +10594,7 @@ declare const publicToolContracts: {
9476
10594
  readonly annotations: {
9477
10595
  readonly readOnlyHint: true;
9478
10596
  readonly destructiveHint: false;
10597
+ readonly idempotentHint: true;
9479
10598
  readonly openWorldHint: false;
9480
10599
  };
9481
10600
  readonly inputSchema: {
@@ -9805,6 +10924,7 @@ declare const publicToolContracts: {
9805
10924
  readonly annotations: {
9806
10925
  readonly readOnlyHint: true;
9807
10926
  readonly destructiveHint: false;
10927
+ readonly idempotentHint: true;
9808
10928
  readonly openWorldHint: false;
9809
10929
  };
9810
10930
  readonly inputSchema: {
@@ -10088,6 +11208,7 @@ declare const publicToolContracts: {
10088
11208
  readonly annotations: {
10089
11209
  readonly readOnlyHint: true;
10090
11210
  readonly destructiveHint: false;
11211
+ readonly idempotentHint: true;
10091
11212
  readonly openWorldHint: false;
10092
11213
  };
10093
11214
  readonly inputSchema: {
@@ -10455,6 +11576,7 @@ declare const publicToolContracts: {
10455
11576
  readonly annotations: {
10456
11577
  readonly readOnlyHint: false;
10457
11578
  readonly destructiveHint: false;
11579
+ readonly idempotentHint: false;
10458
11580
  readonly openWorldHint: false;
10459
11581
  };
10460
11582
  readonly inputSchema: {
@@ -10550,6 +11672,7 @@ declare const publicToolContracts: {
10550
11672
  readonly annotations: {
10551
11673
  readonly readOnlyHint: false;
10552
11674
  readonly destructiveHint: false;
11675
+ readonly idempotentHint: false;
10553
11676
  readonly openWorldHint: false;
10554
11677
  };
10555
11678
  readonly inputSchema: {
@@ -10609,6 +11732,7 @@ declare const publicToolContracts: {
10609
11732
  readonly annotations: {
10610
11733
  readonly readOnlyHint: true;
10611
11734
  readonly destructiveHint: false;
11735
+ readonly idempotentHint: true;
10612
11736
  readonly openWorldHint: false;
10613
11737
  };
10614
11738
  readonly inputSchema: {
@@ -10781,6 +11905,7 @@ declare const publicToolContracts: {
10781
11905
  readonly annotations: {
10782
11906
  readonly readOnlyHint: true;
10783
11907
  readonly destructiveHint: false;
11908
+ readonly idempotentHint: true;
10784
11909
  readonly openWorldHint: false;
10785
11910
  };
10786
11911
  readonly inputSchema: {
@@ -11597,6 +12722,7 @@ declare const publicToolContracts: {
11597
12722
  readonly annotations: {
11598
12723
  readonly readOnlyHint: false;
11599
12724
  readonly destructiveHint: false;
12725
+ readonly idempotentHint: true;
11600
12726
  readonly openWorldHint: false;
11601
12727
  };
11602
12728
  readonly inputSchema: {
@@ -11644,6 +12770,7 @@ declare const publicToolContracts: {
11644
12770
  readonly annotations: {
11645
12771
  readonly readOnlyHint: false;
11646
12772
  readonly destructiveHint: true;
12773
+ readonly idempotentHint: true;
11647
12774
  readonly openWorldHint: false;
11648
12775
  };
11649
12776
  readonly inputSchema: {
@@ -11835,6 +12962,7 @@ declare const publicToolContracts: {
11835
12962
  readonly annotations: {
11836
12963
  readonly readOnlyHint: true;
11837
12964
  readonly destructiveHint: false;
12965
+ readonly idempotentHint: true;
11838
12966
  readonly openWorldHint: false;
11839
12967
  };
11840
12968
  readonly inputSchema: {
@@ -11922,10 +13050,10 @@ declare const publicOpenApiTransports: readonly [{
11922
13050
  readonly openApiOperation: "ingest_events";
11923
13051
  }];
11924
13052
  declare const consumerToolPolicies: {
11925
- 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"];
11926
- 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"];
11927
- readonly pi: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
11928
- readonly cli: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
13053
+ readonly default: readonly ["outlit_list_customers", "outlit_list_crm_fields", "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"];
13054
+ readonly analytical: readonly ["outlit_list_customers", "outlit_list_crm_fields", "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"];
13055
+ readonly pi: readonly ["outlit_list_customers", "outlit_list_crm_fields", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
13056
+ readonly cli: readonly ["outlit_list_customers", "outlit_list_crm_fields", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
11929
13057
  };
11930
13058
  declare const toolGatewayTransport: {
11931
13059
  readonly method: "POST";
@@ -12284,11 +13412,48 @@ declare const toolGatewayErrorSchema: {
12284
13412
  readonly type: "string";
12285
13413
  readonly maxLength: 200;
12286
13414
  };
13415
+ readonly validValues: {
13416
+ readonly maxItems: 30;
13417
+ readonly type: "array";
13418
+ readonly items: {
13419
+ readonly type: "string";
13420
+ readonly maxLength: 100;
13421
+ };
13422
+ };
12287
13423
  };
12288
13424
  readonly required: readonly ["code", "path"];
12289
13425
  readonly additionalProperties: false;
12290
13426
  };
12291
13427
  };
13428
+ readonly next: {
13429
+ readonly type: "object";
13430
+ readonly properties: {
13431
+ readonly instruction: {
13432
+ readonly type: "string";
13433
+ readonly minLength: 1;
13434
+ readonly maxLength: 300;
13435
+ };
13436
+ readonly tool: {
13437
+ readonly type: "string";
13438
+ readonly maxLength: 100;
13439
+ readonly pattern: "^outlit_[a-z0-9_]+$";
13440
+ };
13441
+ readonly input: {
13442
+ readonly type: "object";
13443
+ readonly propertyNames: {
13444
+ readonly type: "string";
13445
+ };
13446
+ readonly additionalProperties: {};
13447
+ };
13448
+ };
13449
+ readonly required: readonly ["instruction"];
13450
+ readonly additionalProperties: false;
13451
+ };
13452
+ readonly missingPermission: {
13453
+ readonly type: "string";
13454
+ readonly minLength: 1;
13455
+ readonly maxLength: 100;
13456
+ };
12292
13457
  };
12293
13458
  readonly required: readonly ["code", "message", "retryable", "requestId"];
12294
13459
  readonly additionalProperties: false;
@@ -13000,15 +14165,15 @@ declare const customerFactIncludes: readonly ["evidence"];
13000
14165
  declare const customerFactTypes: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "BLOCKER", "COMMITMENT", "SUCCESS_CRITERION", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE", "CONTACT_DEPARTURE", "CONTACT_POSITION_CHANGE", "CONTACT_DISENGAGEMENT", "CHAMPION_RISK"];
13001
14166
  declare const unsupportedCustomerFactTypes: readonly ["TRACKING_GAP", "SCHEMA_DRIFT", "INGESTION_LAG", "ACTIVATION_RATE_DROP", "FUNNEL_DROPOFF", "CORE_ACTION_DECAY", "CADENCE_BREAK", "QUIET_ACCOUNT", "CHAMPION_AT_RISK", "SEGMENT_DIVERGENCE"];
13002
14167
  declare const customerFactCategories: readonly ["MEMORY", "RELATIONSHIP", "CUSTOM"];
13003
- declare const customerListOrderFields: readonly ["last_activity_at", "first_seen_at", "name", "mrr_cents"];
13004
- declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment"];
13005
- declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
14168
+ declare const customerListOrderFields: readonly ["last_activity_at", "first_seen_at", "name", "arr_cents"];
14169
+ declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm", "links"];
14170
+ declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
13006
14171
  declare const customerSourceTypeAliasMap: {
13007
14172
  readonly CRM: "OPPORTUNITY";
13008
14173
  readonly CRM_OPPORTUNITY: "OPPORTUNITY";
13009
14174
  };
13010
14175
  declare const customerSourceTypeAliases: readonly ["CRM", "CRM_OPPORTUNITY"];
13011
- declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
14176
+ declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY"];
13012
14177
  declare const customerTimeframes: readonly ["7d", "14d", "30d", "90d"];
13013
14178
  declare const timelineChannels: readonly ["PRODUCT", "COMMUNICATION", "MEETING", "CRM", "BILLING", "SUPPORT", "IDENTITY", "DOCUMENT", "SYSTEM"];
13014
14179
  declare const timelineTimeframes: readonly ["7d", "14d", "30d", "90d", "all"];
@@ -13016,7 +14181,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
13016
14181
  declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
13017
14182
  declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
13018
14183
  declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
13019
- declare const sdkConsumerContractHash: "9409f42bc10034b8afef6a3ca3597fbe8ae9fa8ed8846f1e7b4b0b6a4320c31c";
14184
+ declare const sdkConsumerContractHash: "696da531a576098a4d673bf7c25188769d15b1cb096fd60a8431aeb515648510";
13020
14185
 
13021
14186
  type JsonSchema = Readonly<Record<string, unknown>>;
13022
14187
  type PublicToolName = (typeof publicToolNames)[number];
@@ -13026,6 +14191,8 @@ type CustomerSourceTypeInput = (typeof customerSourceTypeInputs)[number];
13026
14191
  declare function isPublicToolName(value: string): value is PublicToolName;
13027
14192
  declare function getPublicToolContract<TName extends PublicToolName>(name: TName): (typeof publicToolContracts)[TName];
13028
14193
  declare function normalizeCustomerSourceType(value: string): CustomerSourceType | null;
14194
+ /** The canonical type a source tool's sourceType input names, including its input-only aliases. */
14195
+ declare function normalizeCustomerSourceToolInput(value: string): CustomerSourceType | null;
13029
14196
  type SearchArgsLike = {
13030
14197
  query?: string;
13031
14198
  customer?: string | null;
@@ -13169,13 +14336,13 @@ type RuntimeJsonSchema = {
13169
14336
  };
13170
14337
  declare function matchesGeneratedJsonSchema<TSchema extends RuntimeJsonSchema>(value: unknown, schema: TSchema): value is JsonSchemaValue<TSchema>;
13171
14338
 
13172
- 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"];
13173
- 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"];
13174
- declare const piToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
13175
- declare const cliToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
13176
- declare const allPublicToolNames: readonly ["outlit_list_customers", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
14339
+ declare const defaultToolNames: readonly ["outlit_list_customers", "outlit_list_crm_fields", "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"];
14340
+ declare const analyticalToolNames: readonly ["outlit_list_customers", "outlit_list_crm_fields", "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"];
14341
+ declare const piToolNames: readonly ["outlit_list_customers", "outlit_list_crm_fields", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
14342
+ declare const cliToolNames: readonly ["outlit_list_customers", "outlit_list_crm_fields", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
14343
+ declare const allPublicToolNames: readonly ["outlit_list_customers", "outlit_list_crm_fields", "outlit_list_users", "outlit_list_workspace_users", "outlit_get_customer", "outlit_get_customer_relationship", "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_submit_feedback", "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_features", "outlit_create_feature", "outlit_archive_feature", "outlit_get_customer_features", "outlit_get_customer_credits", "outlit_list_attention_items", "outlit_get_attention_item", "outlit_list_inbox", "outlit_get_inbox_item", "outlit_act_on_inbox_item", "outlit_undo_inbox_action", "outlit_get_customer_identity", "outlit_list_identity_merge_suggestions", "outlit_reject_identity_merge_suggestion", "outlit_merge_customers", "outlit_get_customer_merge_status"];
13177
14344
  type CliToolName = (typeof cliToolNames)[number];
13178
14345
  type PiToolName = (typeof piToolNames)[number];
13179
- 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")[];
14346
+ declare const sqlToolNames: ("outlit_list_customers" | "outlit_list_crm_fields" | "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")[];
13180
14347
 
13181
- export { type ApiKeyValidationFailure, type ApiKeyValidationSuccess, type ApiKeyValidationSuccessV2, type AttentionItem, type AttentionItemResult, type AttentionItemSummary, type AttentionListResult, type CliToolName, type CustomerAnalyticsRow, type CustomerContextSearchInput, type CustomerCredit, type CustomerCreditsResult, type CustomerDetail, type CustomerDetailResult, type CustomerFeature, type CustomerFeaturesResult, type CustomerListItem, type CustomerListResult, type CustomerRelationship, type CustomerRelationshipResult, type CustomerSourceType, type CustomerSourceTypeInput, DEFAULT_OUTLIT_API_URL, type Feature, type FeatureArchiveResult, type FeatureCreateResult, type FeatureDefinition, type FeatureListResult, type FeatureRef, type FeedbackSubmitResult, 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, apiKeyContractHeader, apiKeyGrants, apiKeyValidationFailureSchema, apiKeyValidationSuccessSchema, apiKeyValidationSuccessSchemaV2, 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 };
14348
+ export { type ApiKeyValidationFailure, type ApiKeyValidationSuccess, type ApiKeyValidationSuccessV2, type AttentionItem, type AttentionItemResult, type AttentionItemSummary, type AttentionListResult, type CliToolName, type CustomerAnalyticsRow, type CustomerContextSearchInput, type CustomerCredit, type CustomerCreditsResult, type CustomerDetail, type CustomerDetailResult, type CustomerFeature, type CustomerFeaturesResult, type CustomerListItem, type CustomerListResult, type CustomerRelationship, type CustomerRelationshipResult, type CustomerSourceType, type CustomerSourceTypeInput, DEFAULT_OUTLIT_API_URL, type Feature, type FeatureArchiveResult, type FeatureCreateResult, type FeatureDefinition, type FeatureListResult, type FeatureRef, type FeedbackSubmitResult, 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, apiKeyContractHeader, apiKeyGrants, apiKeyValidationFailureSchema, apiKeyValidationSuccessSchema, apiKeyValidationSuccessSchemaV2, apiKeyValidationTransport, cliToolNames, consumerToolPolicies, contractVersion, createOutlitClient, customerActivityWindows, customerBillingStatuses, customerFactCategories, customerFactIncludes, customerFactStatuses, customerFactTypes, customerIncludeSections, customerListOrderFields, customerSourceTypeAliasMap, customerSourceTypeAliases, customerSourceTypeInputs, customerSourceTypes, customerTimeframes, defaultToolNames, getPublicToolContract, ingestTransport, isOutlitToolsApiError, isPublicToolName, matchesGeneratedJsonSchema, normalizeCustomerSourceToolInput, normalizeCustomerSourceType, piToolNames, publicOpenApiTransports, publicToolContracts, publicToolNames, resolveCustomerContextSearchInput, schemaTables, sdkConsumerContractHash, sqlToolNames, timelineChannels, timelineTimeframes, toolGatewayErrorCodes, toolGatewayErrorSchema, toolGatewayTransport, unsupportedCustomerFactTypes, userJourneyStages, userListOrderFields, workspaceUserListOrderFields };