@outlit/tools 2.4.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 (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.";
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: {
@@ -39,15 +40,20 @@ declare const publicToolContracts: {
39
40
  readonly enum: readonly ["7d", "14d", "30d", "90d"];
40
41
  };
41
42
  readonly arrAbove: {
42
- readonly description: "Minimum ARR, in arr.amount's units per year (1200000 is $12,000 for a customer billed in USD). Customers whose ARR is unknown never match.";
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.";
43
44
  readonly type: "number";
44
45
  readonly minimum: 0;
45
46
  };
46
47
  readonly arrBelow: {
47
- readonly description: "Maximum ARR, in arr.amount's units per year. Customers whose ARR is unknown never match.";
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.";
48
49
  readonly type: "number";
49
50
  readonly minimum: 0;
50
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
+ };
51
57
  readonly mrrAbove: {
52
58
  readonly description: "Deprecated: use arrAbove.";
53
59
  readonly type: "number";
@@ -95,6 +101,84 @@ declare const publicToolContracts: {
95
101
  readonly description: "Filter customers by whether they have an owner";
96
102
  readonly type: "boolean";
97
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
+ };
98
182
  readonly limit: {
99
183
  readonly description: "Results per page (max 1000)";
100
184
  readonly default: 50;
@@ -107,7 +191,7 @@ declare const publicToolContracts: {
107
191
  readonly type: "string";
108
192
  };
109
193
  readonly orderBy: {
110
- 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.";
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.";
111
195
  readonly default: "last_activity_at";
112
196
  readonly type: "string";
113
197
  readonly enum: readonly ["last_activity_at", "first_seen_at", "name", "arr_cents", "mrr_cents"];
@@ -231,6 +315,50 @@ declare const publicToolContracts: {
231
315
  readonly type: "null";
232
316
  }];
233
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
+ };
234
362
  };
235
363
  readonly required: readonly ["id", "name", "domain", "billingStatus", "activatedAt", "firstSeenAt", "lastActivityAt", "contactCount", "arr", "owner", "daysSinceActivity"];
236
364
  readonly additionalProperties: false;
@@ -258,6 +386,144 @@ declare const publicToolContracts: {
258
386
  readonly required: readonly ["hasMore", "nextCursor", "total"];
259
387
  readonly additionalProperties: false;
260
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
+ };
261
527
  };
262
528
  readonly required: readonly ["items", "pagination"];
263
529
  readonly additionalProperties: false;
@@ -269,10 +535,11 @@ declare const publicToolContracts: {
269
535
  readonly commandVersion: 1;
270
536
  readonly ownerDomain: "users";
271
537
  readonly title: "List Users";
272
- 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.";
273
539
  readonly annotations: {
274
540
  readonly readOnlyHint: true;
275
541
  readonly destructiveHint: false;
542
+ readonly idempotentHint: true;
276
543
  readonly openWorldHint: false;
277
544
  };
278
545
  readonly inputSchema: {
@@ -345,6 +612,23 @@ declare const publicToolContracts: {
345
612
  readonly type: "string";
346
613
  readonly enum: readonly ["asc", "desc"];
347
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
+ };
348
632
  };
349
633
  };
350
634
  readonly outputSchema: {
@@ -456,40 +740,112 @@ declare const publicToolContracts: {
456
740
  };
457
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.";
458
742
  };
459
- readonly relationshipRole: {
460
- readonly anyOf: readonly [{
461
- readonly type: "string";
462
- }, {
463
- readonly type: "null";
464
- }];
465
- };
466
- readonly jobTitle: {
467
- readonly anyOf: readonly [{
468
- readonly type: "string";
469
- }, {
470
- readonly type: "null";
471
- }];
472
- };
473
- readonly department: {
474
- readonly anyOf: readonly [{
475
- readonly type: "string";
476
- }, {
477
- readonly type: "null";
478
- }];
479
- };
480
- readonly employmentStartDate: {
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.";
481
745
  readonly anyOf: readonly [{
482
- readonly type: "string";
483
- readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
484
- }, {
485
- readonly type: "null";
486
- }];
487
- };
488
- };
489
- readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
490
- readonly additionalProperties: false;
491
- };
492
- };
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
+ }, {
833
+ readonly type: "null";
834
+ }];
835
+ };
836
+ readonly employmentStartDate: {
837
+ readonly anyOf: readonly [{
838
+ readonly type: "string";
839
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
840
+ }, {
841
+ readonly type: "null";
842
+ }];
843
+ };
844
+ };
845
+ readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
846
+ readonly additionalProperties: false;
847
+ };
848
+ };
493
849
  readonly pagination: {
494
850
  readonly type: "object";
495
851
  readonly properties: {
@@ -527,6 +883,7 @@ declare const publicToolContracts: {
527
883
  readonly annotations: {
528
884
  readonly readOnlyHint: true;
529
885
  readonly destructiveHint: false;
886
+ readonly idempotentHint: true;
530
887
  readonly openWorldHint: false;
531
888
  };
532
889
  readonly inputSchema: {
@@ -673,10 +1030,11 @@ declare const publicToolContracts: {
673
1030
  readonly commandVersion: 1;
674
1031
  readonly ownerDomain: "customers";
675
1032
  readonly title: "Get Customer";
676
- 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, owner and custom fields) as stored, which can be hundreds so request it only when needed. 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). lifetimeRevenue does not name its currency.";
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.";
677
1034
  readonly annotations: {
678
1035
  readonly readOnlyHint: true;
679
1036
  readonly destructiveHint: false;
1037
+ readonly idempotentHint: true;
680
1038
  readonly openWorldHint: false;
681
1039
  };
682
1040
  readonly inputSchema: {
@@ -694,7 +1052,7 @@ declare const publicToolContracts: {
694
1052
  readonly type: "array";
695
1053
  readonly items: {
696
1054
  readonly type: "string";
697
- readonly enum: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm"];
1055
+ readonly enum: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm", "links"];
698
1056
  };
699
1057
  };
700
1058
  readonly timeframe: {
@@ -703,8 +1061,13 @@ declare const publicToolContracts: {
703
1061
  readonly type: "string";
704
1062
  readonly enum: readonly ["7d", "14d", "30d", "90d"];
705
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
+ };
706
1069
  readonly crmFields: {
707
- 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.";
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.";
708
1071
  readonly maxItems: 100;
709
1072
  readonly type: "array";
710
1073
  readonly items: {
@@ -862,130 +1225,429 @@ declare const publicToolContracts: {
862
1225
  readonly description: "The latest conversation; null for records.";
863
1226
  };
864
1227
  };
865
- readonly required: readonly ["system", "kind", "count", "firstSeenAt", "lastSeenAt"];
866
- readonly additionalProperties: false;
1228
+ readonly required: readonly ["system", "kind", "count", "firstSeenAt", "lastSeenAt"];
1229
+ readonly additionalProperties: false;
1230
+ };
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.";
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
+ };
1305
+ readonly relationshipRole: {
1306
+ readonly anyOf: readonly [{
1307
+ readonly type: "string";
1308
+ }, {
1309
+ readonly type: "null";
1310
+ }];
1311
+ };
1312
+ readonly jobTitle: {
1313
+ readonly anyOf: readonly [{
1314
+ readonly type: "string";
1315
+ }, {
1316
+ readonly type: "null";
1317
+ }];
1318
+ };
1319
+ readonly department: {
1320
+ readonly anyOf: readonly [{
1321
+ readonly type: "string";
1322
+ }, {
1323
+ readonly type: "null";
1324
+ }];
1325
+ };
1326
+ readonly employmentStartDate: {
1327
+ readonly anyOf: readonly [{
1328
+ readonly type: "string";
1329
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
1330
+ }, {
1331
+ readonly type: "null";
1332
+ }];
1333
+ };
1334
+ };
1335
+ readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
1336
+ readonly additionalProperties: false;
1337
+ };
1338
+ };
1339
+ readonly revenue: {
1340
+ readonly type: "object";
1341
+ readonly properties: {
1342
+ readonly arr: {
1343
+ readonly anyOf: readonly [{
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;
1410
+ }, {
1411
+ readonly type: "null";
1412
+ }];
1413
+ readonly description: "Null when the app shows no ARR for this customer.";
1414
+ };
1415
+ readonly lifetimeRevenue: {
1416
+ readonly type: "number";
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
+ }];
1426
+ };
1427
+ readonly activeSubscriptions: {
1428
+ readonly type: "integer";
1429
+ readonly minimum: 0;
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
+ };
867
1585
  };
868
- 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.";
869
- };
870
- readonly relationshipRole: {
871
- readonly anyOf: readonly [{
872
- readonly type: "string";
873
- }, {
874
- readonly type: "null";
875
- }];
876
- };
877
- readonly jobTitle: {
878
- readonly anyOf: readonly [{
879
- readonly type: "string";
880
- }, {
881
- readonly type: "null";
882
- }];
883
- };
884
- readonly department: {
885
- readonly anyOf: readonly [{
886
- readonly type: "string";
887
- }, {
888
- readonly type: "null";
889
- }];
890
- };
891
- readonly employmentStartDate: {
892
- readonly anyOf: readonly [{
893
- readonly type: "string";
894
- readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
895
- }, {
896
- readonly type: "null";
897
- }];
1586
+ readonly required: readonly ["id", "status", "paused", "currentPeriodEnd", "cancelAtPeriodEnd", "cancelAt", "items", "billingAccountId", "endedAt"];
1587
+ readonly additionalProperties: false;
898
1588
  };
899
1589
  };
900
- readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
901
- readonly additionalProperties: false;
902
- };
903
- };
904
- readonly revenue: {
905
- readonly type: "object";
906
- readonly properties: {
907
- readonly arr: {
908
- readonly anyOf: readonly [{
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: {
909
1594
  readonly type: "object";
910
1595
  readonly properties: {
911
- readonly amount: {
912
- readonly type: "integer";
913
- readonly minimum: 0;
914
- readonly maximum: 9007199254740991;
915
- 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.";
1596
+ readonly provider: {
1597
+ readonly type: "string";
1598
+ readonly const: "stripe";
916
1599
  };
917
- readonly currency: {
1600
+ readonly id: {
918
1601
  readonly type: "string";
919
- readonly description: "ISO currency code of amount and parts.";
920
1602
  };
921
- readonly estimated: {
922
- readonly type: "boolean";
923
- readonly description: "The amount includes a usage or per-seat estimate, shown as ~ in the app.";
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.";
924
1618
  };
925
- readonly lifecycle: {
1619
+ readonly number: {
926
1620
  readonly anyOf: readonly [{
927
1621
  readonly type: "string";
928
- readonly enum: readonly ["active", "past_due", "paused", "churned", "trialing"];
929
1622
  }, {
930
1623
  readonly type: "null";
931
1624
  }];
932
- readonly description: "The customer's revenue state; null when unknown.";
933
1625
  };
934
- readonly parts: {
935
- readonly type: "object";
936
- readonly properties: {
937
- readonly subscriptions: {
938
- readonly anyOf: readonly [{
939
- readonly type: "integer";
940
- readonly minimum: -9007199254740991;
941
- readonly maximum: 9007199254740991;
942
- }, {
943
- readonly type: "null";
944
- }];
945
- readonly description: "Active subscriptions at list price, annualized.";
946
- };
947
- readonly usage: {
948
- readonly anyOf: readonly [{
949
- readonly type: "integer";
950
- readonly minimum: -9007199254740991;
951
- readonly maximum: 9007199254740991;
952
- }, {
953
- readonly type: "null";
954
- }];
955
- readonly description: "Annualized usage estimate.";
956
- };
957
- readonly invoicedLast12Months: {
958
- readonly anyOf: readonly [{
959
- readonly type: "integer";
960
- readonly minimum: -9007199254740991;
961
- readonly maximum: 9007199254740991;
962
- }, {
963
- readonly type: "null";
964
- }];
965
- readonly description: "Invoiced in the last 12 months.";
966
- };
967
- };
968
- readonly required: readonly ["subscriptions", "usage", "invoicedLast12Months"];
969
- readonly additionalProperties: false;
970
- readonly description: "What amount was counted from, in the same units: the larger of subscriptions plus usage, and invoiced in the last 12 months. A part is null when unknown or not applicable.";
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;
971
1646
  };
972
1647
  };
973
- readonly required: readonly ["amount", "currency", "estimated", "lifecycle", "parts"];
1648
+ readonly required: readonly ["id", "number", "amountRemaining", "currency", "dueDate", "daysOverdue"];
974
1649
  readonly additionalProperties: false;
975
- }, {
976
- readonly type: "null";
977
- }];
978
- readonly description: "Null when the app shows no ARR for this customer.";
979
- };
980
- readonly lifetimeRevenue: {
981
- readonly type: "number";
982
- readonly description: "Lifetime revenue in the billing provider's units for the currency it was billed in, 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.";
983
- };
984
- readonly activeSubscriptions: {
985
- readonly type: "integer";
986
- readonly minimum: 0;
987
- readonly maximum: 9007199254740991;
988
- readonly description: "Subscriptions that bill now: active, trialing or past due. billingStatus says whether payments are behind.";
1650
+ };
989
1651
  };
990
1652
  };
991
1653
  readonly required: readonly ["arr", "lifetimeRevenue", "activeSubscriptions"];
@@ -1365,7 +2027,7 @@ declare const publicToolContracts: {
1365
2027
  }];
1366
2028
  };
1367
2029
  readonly crm: {
1368
- 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. 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.";
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.";
1369
2031
  readonly anyOf: readonly [{
1370
2032
  readonly type: "array";
1371
2033
  readonly items: {
@@ -1425,6 +2087,57 @@ declare const publicToolContracts: {
1425
2087
  }];
1426
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.";
1427
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;
2132
+ };
2133
+ readonly description: "The contacts that system associates with the account, whatever their email domain, most recently modified first, at most 25.";
2134
+ };
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;
2140
+ };
1428
2141
  readonly fields: {
1429
2142
  readonly type: "array";
1430
2143
  readonly items: {
@@ -1465,13 +2178,70 @@ declare const publicToolContracts: {
1465
2178
  readonly maximum: 9007199254740991;
1466
2179
  };
1467
2180
  };
1468
- readonly required: readonly ["provider", "connectionId", "accountId", "name", "owner", "recordUpdatedAt", "fields"];
2181
+ readonly required: readonly ["provider", "connectionId", "accountId", "name", "owner", "recordUpdatedAt", "contacts", "fields"];
1469
2182
  readonly additionalProperties: false;
1470
2183
  };
1471
2184
  }, {
1472
2185
  readonly type: "null";
1473
2186
  }];
1474
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
+ };
2227
+ };
2228
+ readonly required: readonly ["kind", "provider", "id", "connectionId", "linkedAt"];
2229
+ readonly additionalProperties: false;
2230
+ };
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
+ };
2238
+ };
2239
+ readonly required: readonly ["records", "omitted"];
2240
+ readonly additionalProperties: false;
2241
+ }, {
2242
+ readonly type: "null";
2243
+ }];
2244
+ };
1475
2245
  };
1476
2246
  readonly required: readonly ["customer"];
1477
2247
  readonly additionalProperties: false;
@@ -1487,6 +2257,7 @@ declare const publicToolContracts: {
1487
2257
  readonly annotations: {
1488
2258
  readonly readOnlyHint: true;
1489
2259
  readonly destructiveHint: false;
2260
+ readonly idempotentHint: true;
1490
2261
  readonly openWorldHint: false;
1491
2262
  };
1492
2263
  readonly inputSchema: {
@@ -1610,6 +2381,7 @@ declare const publicToolContracts: {
1610
2381
  readonly annotations: {
1611
2382
  readonly readOnlyHint: false;
1612
2383
  readonly destructiveHint: false;
2384
+ readonly idempotentHint: false;
1613
2385
  readonly openWorldHint: false;
1614
2386
  };
1615
2387
  readonly inputSchema: {
@@ -1660,7 +2432,8 @@ declare const publicToolContracts: {
1660
2432
  readonly description: "Share a customer with an active workspace member as a Viewer or Editor. The customer ID must be exact.";
1661
2433
  readonly annotations: {
1662
2434
  readonly readOnlyHint: false;
1663
- readonly destructiveHint: false;
2435
+ readonly destructiveHint: true;
2436
+ readonly idempotentHint: true;
1664
2437
  readonly openWorldHint: false;
1665
2438
  };
1666
2439
  readonly inputSchema: {
@@ -1726,7 +2499,8 @@ declare const publicToolContracts: {
1726
2499
  readonly description: "Change an existing customer collaborator between Viewer and Editor.";
1727
2500
  readonly annotations: {
1728
2501
  readonly readOnlyHint: false;
1729
- readonly destructiveHint: false;
2502
+ readonly destructiveHint: true;
2503
+ readonly idempotentHint: true;
1730
2504
  readonly openWorldHint: false;
1731
2505
  };
1732
2506
  readonly inputSchema: {
@@ -1793,6 +2567,7 @@ declare const publicToolContracts: {
1793
2567
  readonly annotations: {
1794
2568
  readonly readOnlyHint: false;
1795
2569
  readonly destructiveHint: true;
2570
+ readonly idempotentHint: true;
1796
2571
  readonly openWorldHint: false;
1797
2572
  };
1798
2573
  readonly inputSchema: {
@@ -1837,6 +2612,7 @@ declare const publicToolContracts: {
1837
2612
  readonly annotations: {
1838
2613
  readonly readOnlyHint: true;
1839
2614
  readonly destructiveHint: false;
2615
+ readonly idempotentHint: true;
1840
2616
  readonly openWorldHint: false;
1841
2617
  };
1842
2618
  readonly inputSchema: {
@@ -2122,6 +2898,7 @@ declare const publicToolContracts: {
2122
2898
  readonly annotations: {
2123
2899
  readonly readOnlyHint: true;
2124
2900
  readonly destructiveHint: false;
2901
+ readonly idempotentHint: true;
2125
2902
  readonly openWorldHint: false;
2126
2903
  };
2127
2904
  readonly inputSchema: {
@@ -2568,6 +3345,7 @@ declare const publicToolContracts: {
2568
3345
  readonly annotations: {
2569
3346
  readonly readOnlyHint: true;
2570
3347
  readonly destructiveHint: false;
3348
+ readonly idempotentHint: true;
2571
3349
  readonly openWorldHint: false;
2572
3350
  };
2573
3351
  readonly inputSchema: {
@@ -2913,10 +3691,11 @@ declare const publicToolContracts: {
2913
3691
  readonly commandVersion: 1;
2914
3692
  readonly ownerDomain: "customer-context";
2915
3693
  readonly title: "Get Source";
2916
- 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).";
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.";
2917
3695
  readonly annotations: {
2918
3696
  readonly readOnlyHint: true;
2919
3697
  readonly destructiveHint: false;
3698
+ readonly idempotentHint: true;
2920
3699
  readonly openWorldHint: false;
2921
3700
  };
2922
3701
  readonly inputSchema: {
@@ -3188,6 +3967,7 @@ declare const publicToolContracts: {
3188
3967
  readonly annotations: {
3189
3968
  readonly readOnlyHint: true;
3190
3969
  readonly destructiveHint: false;
3970
+ readonly idempotentHint: true;
3191
3971
  readonly openWorldHint: false;
3192
3972
  };
3193
3973
  readonly inputSchema: {
@@ -3517,6 +4297,7 @@ declare const publicToolContracts: {
3517
4297
  readonly annotations: {
3518
4298
  readonly readOnlyHint: true;
3519
4299
  readonly destructiveHint: false;
4300
+ readonly idempotentHint: true;
3520
4301
  readonly openWorldHint: false;
3521
4302
  };
3522
4303
  readonly inputSchema: {
@@ -4121,6 +4902,7 @@ declare const publicToolContracts: {
4121
4902
  readonly annotations: {
4122
4903
  readonly readOnlyHint: true;
4123
4904
  readonly destructiveHint: false;
4905
+ readonly idempotentHint: true;
4124
4906
  readonly openWorldHint: false;
4125
4907
  };
4126
4908
  readonly inputSchema: {
@@ -4195,6 +4977,7 @@ declare const publicToolContracts: {
4195
4977
  readonly annotations: {
4196
4978
  readonly readOnlyHint: true;
4197
4979
  readonly destructiveHint: false;
4980
+ readonly idempotentHint: true;
4198
4981
  readonly openWorldHint: false;
4199
4982
  };
4200
4983
  readonly inputSchema: {
@@ -4351,6 +5134,7 @@ declare const publicToolContracts: {
4351
5134
  readonly annotations: {
4352
5135
  readonly readOnlyHint: true;
4353
5136
  readonly destructiveHint: false;
5137
+ readonly idempotentHint: true;
4354
5138
  readonly openWorldHint: false;
4355
5139
  };
4356
5140
  readonly inputSchema: {
@@ -4628,6 +5412,7 @@ declare const publicToolContracts: {
4628
5412
  readonly annotations: {
4629
5413
  readonly readOnlyHint: true;
4630
5414
  readonly destructiveHint: false;
5415
+ readonly idempotentHint: true;
4631
5416
  readonly openWorldHint: false;
4632
5417
  };
4633
5418
  readonly inputSchema: {
@@ -4909,6 +5694,7 @@ declare const publicToolContracts: {
4909
5694
  readonly annotations: {
4910
5695
  readonly readOnlyHint: false;
4911
5696
  readonly destructiveHint: false;
5697
+ readonly idempotentHint: false;
4912
5698
  readonly openWorldHint: true;
4913
5699
  };
4914
5700
  readonly inputSchema: {
@@ -5207,6 +5993,7 @@ declare const publicToolContracts: {
5207
5993
  readonly annotations: {
5208
5994
  readonly readOnlyHint: false;
5209
5995
  readonly destructiveHint: false;
5996
+ readonly idempotentHint: true;
5210
5997
  readonly openWorldHint: true;
5211
5998
  };
5212
5999
  readonly inputSchema: {
@@ -5501,6 +6288,7 @@ declare const publicToolContracts: {
5501
6288
  readonly annotations: {
5502
6289
  readonly readOnlyHint: false;
5503
6290
  readonly destructiveHint: false;
6291
+ readonly idempotentHint: true;
5504
6292
  readonly openWorldHint: true;
5505
6293
  };
5506
6294
  readonly inputSchema: {
@@ -5782,6 +6570,7 @@ declare const publicToolContracts: {
5782
6570
  readonly annotations: {
5783
6571
  readonly readOnlyHint: false;
5784
6572
  readonly destructiveHint: false;
6573
+ readonly idempotentHint: true;
5785
6574
  readonly openWorldHint: false;
5786
6575
  };
5787
6576
  readonly inputSchema: {
@@ -6063,6 +6852,7 @@ declare const publicToolContracts: {
6063
6852
  readonly annotations: {
6064
6853
  readonly readOnlyHint: false;
6065
6854
  readonly destructiveHint: true;
6855
+ readonly idempotentHint: true;
6066
6856
  readonly openWorldHint: false;
6067
6857
  };
6068
6858
  readonly inputSchema: {
@@ -6114,6 +6904,7 @@ declare const publicToolContracts: {
6114
6904
  readonly annotations: {
6115
6905
  readonly readOnlyHint: false;
6116
6906
  readonly destructiveHint: false;
6907
+ readonly idempotentHint: false;
6117
6908
  readonly openWorldHint: false;
6118
6909
  };
6119
6910
  readonly inputSchema: {
@@ -6168,6 +6959,7 @@ declare const publicToolContracts: {
6168
6959
  readonly annotations: {
6169
6960
  readonly readOnlyHint: true;
6170
6961
  readonly destructiveHint: false;
6962
+ readonly idempotentHint: true;
6171
6963
  readonly openWorldHint: false;
6172
6964
  };
6173
6965
  readonly inputSchema: {
@@ -6240,6 +7032,7 @@ declare const publicToolContracts: {
6240
7032
  readonly annotations: {
6241
7033
  readonly readOnlyHint: false;
6242
7034
  readonly destructiveHint: false;
7035
+ readonly idempotentHint: false;
6243
7036
  readonly openWorldHint: true;
6244
7037
  };
6245
7038
  readonly inputSchema: {
@@ -6309,6 +7102,7 @@ declare const publicToolContracts: {
6309
7102
  readonly annotations: {
6310
7103
  readonly readOnlyHint: true;
6311
7104
  readonly destructiveHint: false;
7105
+ readonly idempotentHint: true;
6312
7106
  readonly openWorldHint: false;
6313
7107
  };
6314
7108
  readonly inputSchema: {
@@ -6356,6 +7150,7 @@ declare const publicToolContracts: {
6356
7150
  readonly annotations: {
6357
7151
  readonly readOnlyHint: true;
6358
7152
  readonly destructiveHint: false;
7153
+ readonly idempotentHint: true;
6359
7154
  readonly openWorldHint: false;
6360
7155
  };
6361
7156
  readonly inputSchema: {
@@ -6416,6 +7211,7 @@ declare const publicToolContracts: {
6416
7211
  readonly annotations: {
6417
7212
  readonly readOnlyHint: false;
6418
7213
  readonly destructiveHint: false;
7214
+ readonly idempotentHint: false;
6419
7215
  readonly openWorldHint: true;
6420
7216
  };
6421
7217
  readonly inputSchema: {
@@ -7184,6 +7980,7 @@ declare const publicToolContracts: {
7184
7980
  readonly annotations: {
7185
7981
  readonly readOnlyHint: true;
7186
7982
  readonly destructiveHint: false;
7983
+ readonly idempotentHint: true;
7187
7984
  readonly openWorldHint: false;
7188
7985
  };
7189
7986
  readonly inputSchema: {
@@ -7227,6 +8024,7 @@ declare const publicToolContracts: {
7227
8024
  readonly annotations: {
7228
8025
  readonly readOnlyHint: true;
7229
8026
  readonly destructiveHint: false;
8027
+ readonly idempotentHint: true;
7230
8028
  readonly openWorldHint: false;
7231
8029
  };
7232
8030
  readonly inputSchema: {
@@ -7392,6 +8190,7 @@ declare const publicToolContracts: {
7392
8190
  readonly annotations: {
7393
8191
  readonly readOnlyHint: false;
7394
8192
  readonly destructiveHint: false;
8193
+ readonly idempotentHint: true;
7395
8194
  readonly openWorldHint: false;
7396
8195
  };
7397
8196
  readonly inputSchema: {
@@ -7449,6 +8248,7 @@ declare const publicToolContracts: {
7449
8248
  readonly annotations: {
7450
8249
  readonly readOnlyHint: true;
7451
8250
  readonly destructiveHint: false;
8251
+ readonly idempotentHint: true;
7452
8252
  readonly openWorldHint: false;
7453
8253
  };
7454
8254
  readonly inputSchema: {
@@ -7503,6 +8303,7 @@ declare const publicToolContracts: {
7503
8303
  readonly annotations: {
7504
8304
  readonly readOnlyHint: false;
7505
8305
  readonly destructiveHint: false;
8306
+ readonly idempotentHint: true;
7506
8307
  readonly openWorldHint: false;
7507
8308
  };
7508
8309
  readonly inputSchema: {
@@ -7578,6 +8379,7 @@ declare const publicToolContracts: {
7578
8379
  readonly annotations: {
7579
8380
  readonly readOnlyHint: true;
7580
8381
  readonly destructiveHint: false;
8382
+ readonly idempotentHint: true;
7581
8383
  readonly openWorldHint: false;
7582
8384
  };
7583
8385
  readonly inputSchema: {
@@ -8011,6 +8813,7 @@ declare const publicToolContracts: {
8011
8813
  readonly annotations: {
8012
8814
  readonly readOnlyHint: false;
8013
8815
  readonly destructiveHint: false;
8816
+ readonly idempotentHint: true;
8014
8817
  readonly openWorldHint: false;
8015
8818
  };
8016
8819
  readonly inputSchema: {
@@ -8268,6 +9071,7 @@ declare const publicToolContracts: {
8268
9071
  readonly annotations: {
8269
9072
  readonly readOnlyHint: false;
8270
9073
  readonly destructiveHint: true;
9074
+ readonly idempotentHint: true;
8271
9075
  readonly openWorldHint: false;
8272
9076
  };
8273
9077
  readonly inputSchema: {
@@ -8324,6 +9128,7 @@ declare const publicToolContracts: {
8324
9128
  readonly annotations: {
8325
9129
  readonly readOnlyHint: true;
8326
9130
  readonly destructiveHint: false;
9131
+ readonly idempotentHint: true;
8327
9132
  readonly openWorldHint: false;
8328
9133
  };
8329
9134
  readonly inputSchema: {
@@ -9218,6 +10023,7 @@ declare const publicToolContracts: {
9218
10023
  readonly annotations: {
9219
10024
  readonly readOnlyHint: true;
9220
10025
  readonly destructiveHint: false;
10026
+ readonly idempotentHint: true;
9221
10027
  readonly openWorldHint: false;
9222
10028
  };
9223
10029
  readonly inputSchema: {
@@ -9535,6 +10341,7 @@ declare const publicToolContracts: {
9535
10341
  readonly annotations: {
9536
10342
  readonly readOnlyHint: true;
9537
10343
  readonly destructiveHint: false;
10344
+ readonly idempotentHint: true;
9538
10345
  readonly openWorldHint: false;
9539
10346
  };
9540
10347
  readonly inputSchema: {
@@ -9787,6 +10594,7 @@ declare const publicToolContracts: {
9787
10594
  readonly annotations: {
9788
10595
  readonly readOnlyHint: true;
9789
10596
  readonly destructiveHint: false;
10597
+ readonly idempotentHint: true;
9790
10598
  readonly openWorldHint: false;
9791
10599
  };
9792
10600
  readonly inputSchema: {
@@ -10116,6 +10924,7 @@ declare const publicToolContracts: {
10116
10924
  readonly annotations: {
10117
10925
  readonly readOnlyHint: true;
10118
10926
  readonly destructiveHint: false;
10927
+ readonly idempotentHint: true;
10119
10928
  readonly openWorldHint: false;
10120
10929
  };
10121
10930
  readonly inputSchema: {
@@ -10399,6 +11208,7 @@ declare const publicToolContracts: {
10399
11208
  readonly annotations: {
10400
11209
  readonly readOnlyHint: true;
10401
11210
  readonly destructiveHint: false;
11211
+ readonly idempotentHint: true;
10402
11212
  readonly openWorldHint: false;
10403
11213
  };
10404
11214
  readonly inputSchema: {
@@ -10766,6 +11576,7 @@ declare const publicToolContracts: {
10766
11576
  readonly annotations: {
10767
11577
  readonly readOnlyHint: false;
10768
11578
  readonly destructiveHint: false;
11579
+ readonly idempotentHint: false;
10769
11580
  readonly openWorldHint: false;
10770
11581
  };
10771
11582
  readonly inputSchema: {
@@ -10861,6 +11672,7 @@ declare const publicToolContracts: {
10861
11672
  readonly annotations: {
10862
11673
  readonly readOnlyHint: false;
10863
11674
  readonly destructiveHint: false;
11675
+ readonly idempotentHint: false;
10864
11676
  readonly openWorldHint: false;
10865
11677
  };
10866
11678
  readonly inputSchema: {
@@ -10920,6 +11732,7 @@ declare const publicToolContracts: {
10920
11732
  readonly annotations: {
10921
11733
  readonly readOnlyHint: true;
10922
11734
  readonly destructiveHint: false;
11735
+ readonly idempotentHint: true;
10923
11736
  readonly openWorldHint: false;
10924
11737
  };
10925
11738
  readonly inputSchema: {
@@ -11092,6 +11905,7 @@ declare const publicToolContracts: {
11092
11905
  readonly annotations: {
11093
11906
  readonly readOnlyHint: true;
11094
11907
  readonly destructiveHint: false;
11908
+ readonly idempotentHint: true;
11095
11909
  readonly openWorldHint: false;
11096
11910
  };
11097
11911
  readonly inputSchema: {
@@ -11908,6 +12722,7 @@ declare const publicToolContracts: {
11908
12722
  readonly annotations: {
11909
12723
  readonly readOnlyHint: false;
11910
12724
  readonly destructiveHint: false;
12725
+ readonly idempotentHint: true;
11911
12726
  readonly openWorldHint: false;
11912
12727
  };
11913
12728
  readonly inputSchema: {
@@ -11955,6 +12770,7 @@ declare const publicToolContracts: {
11955
12770
  readonly annotations: {
11956
12771
  readonly readOnlyHint: false;
11957
12772
  readonly destructiveHint: true;
12773
+ readonly idempotentHint: true;
11958
12774
  readonly openWorldHint: false;
11959
12775
  };
11960
12776
  readonly inputSchema: {
@@ -12146,6 +12962,7 @@ declare const publicToolContracts: {
12146
12962
  readonly annotations: {
12147
12963
  readonly readOnlyHint: true;
12148
12964
  readonly destructiveHint: false;
12965
+ readonly idempotentHint: true;
12149
12966
  readonly openWorldHint: false;
12150
12967
  };
12151
12968
  readonly inputSchema: {
@@ -12233,10 +13050,10 @@ declare const publicOpenApiTransports: readonly [{
12233
13050
  readonly openApiOperation: "ingest_events";
12234
13051
  }];
12235
13052
  declare const consumerToolPolicies: {
12236
- 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"];
12237
- 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"];
12238
- 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"];
12239
- 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"];
12240
13057
  };
12241
13058
  declare const toolGatewayTransport: {
12242
13059
  readonly method: "POST";
@@ -12595,11 +13412,48 @@ declare const toolGatewayErrorSchema: {
12595
13412
  readonly type: "string";
12596
13413
  readonly maxLength: 200;
12597
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
+ };
12598
13423
  };
12599
13424
  readonly required: readonly ["code", "path"];
12600
13425
  readonly additionalProperties: false;
12601
13426
  };
12602
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
+ };
12603
13457
  };
12604
13458
  readonly required: readonly ["code", "message", "retryable", "requestId"];
12605
13459
  readonly additionalProperties: false;
@@ -13312,7 +14166,7 @@ declare const customerFactTypes: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_
13312
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"];
13313
14167
  declare const customerFactCategories: readonly ["MEMORY", "RELATIONSHIP", "CUSTOM"];
13314
14168
  declare const customerListOrderFields: readonly ["last_activity_at", "first_seen_at", "name", "arr_cents"];
13315
- declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm"];
14169
+ declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm", "links"];
13316
14170
  declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
13317
14171
  declare const customerSourceTypeAliasMap: {
13318
14172
  readonly CRM: "OPPORTUNITY";
@@ -13327,7 +14181,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
13327
14181
  declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
13328
14182
  declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
13329
14183
  declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
13330
- declare const sdkConsumerContractHash: "b77a1b10fd174c041e1ae2c6fa7dfec1b049dc32053dd4e5ccb9a86123311ff8";
14184
+ declare const sdkConsumerContractHash: "696da531a576098a4d673bf7c25188769d15b1cb096fd60a8431aeb515648510";
13331
14185
 
13332
14186
  type JsonSchema = Readonly<Record<string, unknown>>;
13333
14187
  type PublicToolName = (typeof publicToolNames)[number];
@@ -13482,13 +14336,13 @@ type RuntimeJsonSchema = {
13482
14336
  };
13483
14337
  declare function matchesGeneratedJsonSchema<TSchema extends RuntimeJsonSchema>(value: unknown, schema: TSchema): value is JsonSchemaValue<TSchema>;
13484
14338
 
13485
- 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"];
13486
- 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"];
13487
- 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"];
13488
- 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"];
13489
- 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"];
13490
14344
  type CliToolName = (typeof cliToolNames)[number];
13491
14345
  type PiToolName = (typeof piToolNames)[number];
13492
- 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")[];
13493
14347
 
13494
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 };