@sortlist/cli 0.30.0 → 0.32.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.
@@ -335,13 +335,10 @@ export type AgentPickedEvent = ConversationEventInterface & {
335
335
  turn: Scalars['Int']['output'];
336
336
  };
337
337
 
338
- /**
339
- * A persisted, user-facing task milestone the assistant worked on during a reply.
340
- * Reconstructs the live task list when a past conversation is reloaded.
341
- */
338
+ /** Federation reference to a AgentTask owned by another subgraph. */
342
339
  export type AgentTask = Node & {
343
340
  __typename?: 'AgentTask';
344
- /** GlobalID-encoded agent task id. */
341
+ /** GlobalID-encoded AgentTask id. */
345
342
  id: Scalars['ID']['output'];
346
343
  /** Final state of the step. */
347
344
  status: AgentTaskStatus;
@@ -467,7 +464,7 @@ export type BillingCreditEdge = Node & {
467
464
  node?: Maybe<BillingCredit>;
468
465
  };
469
466
 
470
- /** A customer in the billing subgraph. One per Company in Max. */
467
+ /** Federation reference to a BillingCustomer owned by another subgraph. */
471
468
  export type BillingCustomer = Node & {
472
469
  __typename?: 'BillingCustomer';
473
470
  /**
@@ -486,7 +483,7 @@ export type BillingCustomer = Node & {
486
483
  defaultPaymentMethod?: Maybe<BillingPaymentMethod>;
487
484
  /** Customer's billing email, mirrored from Stripe. May lag the Max user's email until the next customer.updated webhook. */
488
485
  email?: Maybe<Scalars['String']['output']>;
489
- /** Billing customer UUID. Stored on Max's `companies.billing_customer_id`. */
486
+ /** GlobalID-encoded BillingCustomer id. */
490
487
  id: Scalars['ID']['output'];
491
488
  /** Paginated invoices and credit notes for this customer, newest first. */
492
489
  invoices: BillingInvoiceConnection;
@@ -501,7 +498,7 @@ export type BillingCustomer = Node & {
501
498
  };
502
499
 
503
500
 
504
- /** A customer in the billing subgraph. One per Company in Max. */
501
+ /** Federation reference to a BillingCustomer owned by another subgraph. */
505
502
  export type BillingCustomerCreditsArgs = {
506
503
  after?: InputMaybe<Scalars['String']['input']>;
507
504
  before?: InputMaybe<Scalars['String']['input']>;
@@ -511,7 +508,7 @@ export type BillingCustomerCreditsArgs = {
511
508
  };
512
509
 
513
510
 
514
- /** A customer in the billing subgraph. One per Company in Max. */
511
+ /** Federation reference to a BillingCustomer owned by another subgraph. */
515
512
  export type BillingCustomerInvoicesArgs = {
516
513
  after?: InputMaybe<Scalars['String']['input']>;
517
514
  before?: InputMaybe<Scalars['String']['input']>;
@@ -790,7 +787,7 @@ export type ClearConversationInput = {
790
787
  conversationId: Scalars['ID']['input'];
791
788
  };
792
789
 
793
- /** A Max-tenant company that owns ICPs and leads. */
790
+ /** Federation reference to a Company owned by another subgraph. */
794
791
  export type Company = Node & TrackableInterface & {
795
792
  __typename?: 'Company';
796
793
  /** Activity history where this entity is the subject, most recent first. */
@@ -810,12 +807,16 @@ export type Company = Node & TrackableInterface & {
810
807
  createdAt: Scalars['ISO8601DateTime']['output'];
811
808
  /** Short description for the workspace profile. */
812
809
  description?: Maybe<Scalars['String']['output']>;
810
+ /** GlobalID-encoded Company id. */
813
811
  id: Scalars['ID']['output'];
814
812
  /** All Ideal Customer Profiles attached to this company. */
815
813
  idealCustomerProfiles: IdealCustomerProfileConnection;
816
814
  /** Connected third-party tools. User-scoped integrations are filtered to the calling user. */
817
815
  integrations: IntegrationConnection;
818
- /** Paginated list of leads owned by this company, most recently sourced first. */
816
+ /**
817
+ * Paginated list of leads owned by this company, most recently active first (a
818
+ * new acquisition bumps the lead back to the top).
819
+ */
819
820
  leads: LeadConnection;
820
821
  /** Free-form company location (e.g. "Paris, France"). */
821
822
  location?: Maybe<Scalars['String']['output']>;
@@ -880,7 +881,7 @@ export type Company = Node & TrackableInterface & {
880
881
  };
881
882
 
882
883
 
883
- /** A Max-tenant company that owns ICPs and leads. */
884
+ /** Federation reference to a Company owned by another subgraph. */
884
885
  export type CompanyActivitiesArgs = {
885
886
  after?: InputMaybe<Scalars['String']['input']>;
886
887
  before?: InputMaybe<Scalars['String']['input']>;
@@ -890,7 +891,7 @@ export type CompanyActivitiesArgs = {
890
891
  };
891
892
 
892
893
 
893
- /** A Max-tenant company that owns ICPs and leads. */
894
+ /** Federation reference to a Company owned by another subgraph. */
894
895
  export type CompanyAvailableActionsArgs = {
895
896
  after?: InputMaybe<Scalars['String']['input']>;
896
897
  before?: InputMaybe<Scalars['String']['input']>;
@@ -899,7 +900,7 @@ export type CompanyAvailableActionsArgs = {
899
900
  };
900
901
 
901
902
 
902
- /** A Max-tenant company that owns ICPs and leads. */
903
+ /** Federation reference to a Company owned by another subgraph. */
903
904
  export type CompanyIdealCustomerProfilesArgs = {
904
905
  after?: InputMaybe<Scalars['String']['input']>;
905
906
  before?: InputMaybe<Scalars['String']['input']>;
@@ -908,7 +909,7 @@ export type CompanyIdealCustomerProfilesArgs = {
908
909
  };
909
910
 
910
911
 
911
- /** A Max-tenant company that owns ICPs and leads. */
912
+ /** Federation reference to a Company owned by another subgraph. */
912
913
  export type CompanyIntegrationsArgs = {
913
914
  after?: InputMaybe<Scalars['String']['input']>;
914
915
  before?: InputMaybe<Scalars['String']['input']>;
@@ -917,7 +918,7 @@ export type CompanyIntegrationsArgs = {
917
918
  };
918
919
 
919
920
 
920
- /** A Max-tenant company that owns ICPs and leads. */
921
+ /** Federation reference to a Company owned by another subgraph. */
921
922
  export type CompanyLeadsArgs = {
922
923
  after?: InputMaybe<Scalars['String']['input']>;
923
924
  before?: InputMaybe<Scalars['String']['input']>;
@@ -926,7 +927,7 @@ export type CompanyLeadsArgs = {
926
927
  };
927
928
 
928
929
 
929
- /** A Max-tenant company that owns ICPs and leads. */
930
+ /** Federation reference to a Company owned by another subgraph. */
930
931
  export type CompanyMembersArgs = {
931
932
  after?: InputMaybe<Scalars['String']['input']>;
932
933
  before?: InputMaybe<Scalars['String']['input']>;
@@ -935,7 +936,7 @@ export type CompanyMembersArgs = {
935
936
  };
936
937
 
937
938
 
938
- /** A Max-tenant company that owns ICPs and leads. */
939
+ /** Federation reference to a Company owned by another subgraph. */
939
940
  export type CompanyMemoriesArgs = {
940
941
  after?: InputMaybe<Scalars['String']['input']>;
941
942
  before?: InputMaybe<Scalars['String']['input']>;
@@ -944,7 +945,7 @@ export type CompanyMemoriesArgs = {
944
945
  };
945
946
 
946
947
 
947
- /** A Max-tenant company that owns ICPs and leads. */
948
+ /** Federation reference to a Company owned by another subgraph. */
948
949
  export type CompanyOnboardingTasksArgs = {
949
950
  after?: InputMaybe<Scalars['String']['input']>;
950
951
  before?: InputMaybe<Scalars['String']['input']>;
@@ -953,7 +954,7 @@ export type CompanyOnboardingTasksArgs = {
953
954
  };
954
955
 
955
956
 
956
- /** A Max-tenant company that owns ICPs and leads. */
957
+ /** Federation reference to a Company owned by another subgraph. */
957
958
  export type CompanyOutboundCampaignsArgs = {
958
959
  after?: InputMaybe<Scalars['String']['input']>;
959
960
  before?: InputMaybe<Scalars['String']['input']>;
@@ -963,7 +964,7 @@ export type CompanyOutboundCampaignsArgs = {
963
964
  };
964
965
 
965
966
 
966
- /** A Max-tenant company that owns ICPs and leads. */
967
+ /** Federation reference to a Company owned by another subgraph. */
967
968
  export type CompanyPendingInvitationsArgs = {
968
969
  after?: InputMaybe<Scalars['String']['input']>;
969
970
  before?: InputMaybe<Scalars['String']['input']>;
@@ -972,7 +973,7 @@ export type CompanyPendingInvitationsArgs = {
972
973
  };
973
974
 
974
975
 
975
- /** A Max-tenant company that owns ICPs and leads. */
976
+ /** Federation reference to a Company owned by another subgraph. */
976
977
  export type CompanyRoutinesArgs = {
977
978
  after?: InputMaybe<Scalars['String']['input']>;
978
979
  before?: InputMaybe<Scalars['String']['input']>;
@@ -981,7 +982,7 @@ export type CompanyRoutinesArgs = {
981
982
  };
982
983
 
983
984
 
984
- /** A Max-tenant company that owns ICPs and leads. */
985
+ /** Federation reference to a Company owned by another subgraph. */
985
986
  export type CompanySlackChannelsArgs = {
986
987
  after?: InputMaybe<Scalars['String']['input']>;
987
988
  before?: InputMaybe<Scalars['String']['input']>;
@@ -991,7 +992,7 @@ export type CompanySlackChannelsArgs = {
991
992
  };
992
993
 
993
994
 
994
- /** A Max-tenant company that owns ICPs and leads. */
995
+ /** Federation reference to a Company owned by another subgraph. */
995
996
  export type CompanySuggestionsArgs = {
996
997
  after?: InputMaybe<Scalars['String']['input']>;
997
998
  before?: InputMaybe<Scalars['String']['input']>;
@@ -1000,7 +1001,7 @@ export type CompanySuggestionsArgs = {
1000
1001
  };
1001
1002
 
1002
1003
 
1003
- /** A Max-tenant company that owns ICPs and leads. */
1004
+ /** Federation reference to a Company owned by another subgraph. */
1004
1005
  export type CompanyToneOfVoicesArgs = {
1005
1006
  after?: InputMaybe<Scalars['String']['input']>;
1006
1007
  before?: InputMaybe<Scalars['String']['input']>;
@@ -1031,18 +1032,7 @@ export type CompanyEdge = Node & {
1031
1032
  node?: Maybe<Company>;
1032
1033
  };
1033
1034
 
1034
- /** Autogenerated return type of CompanyIdentifyResult. */
1035
- export type CompanyIdentifyResultPayload = {
1036
- __typename?: 'CompanyIdentifyResultPayload';
1037
- externalId: Scalars['ID']['output'];
1038
- organization?: Maybe<Organization>;
1039
- };
1040
-
1041
- /**
1042
- * A company-wide onboarding task. Auto-seeded on Company creation; auto-completed
1043
- * by side effects (saving the first ICP completes `draft_ideal_customer_profile`;
1044
- * starting a trial completes `activate_trial`).
1045
- */
1035
+ /** Federation reference to a CompanyOnboardingTask owned by another subgraph. */
1046
1036
  export type CompanyOnboardingTask = Node & {
1047
1037
  __typename?: 'CompanyOnboardingTask';
1048
1038
  /**
@@ -1054,6 +1044,7 @@ export type CompanyOnboardingTask = Node & {
1054
1044
  /** Timestamp when the task transitioned to done. */
1055
1045
  completedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
1056
1046
  createdAt: Scalars['ISO8601DateTime']['output'];
1047
+ /** GlobalID-encoded CompanyOnboardingTask id. */
1057
1048
  id: Scalars['ID']['output'];
1058
1049
  /** Stable identifier for the task (`draft_ideal_customer_profile`, `activate_trial`). */
1059
1050
  key: Scalars['String']['output'];
@@ -1230,12 +1221,23 @@ export type Contact = Node & {
1230
1221
  lastName?: Maybe<Scalars['String']['output']>;
1231
1222
  /** LinkedIn profile URL. */
1232
1223
  linkedinUrl?: Maybe<Scalars['String']['output']>;
1224
+ /** Mercator location divisions assigned to this contact's location. Empty until the background enrichment job runs. */
1225
+ locations: LocationConnection;
1233
1226
  /** The organization this contact belongs to. */
1234
1227
  organization: Organization;
1235
1228
  /** When the contact record was last modified. */
1236
1229
  updatedAt: Scalars['ISO8601DateTime']['output'];
1237
1230
  };
1238
1231
 
1232
+
1233
+ /** A business contact associated with an organization. */
1234
+ export type ContactLocationsArgs = {
1235
+ after?: InputMaybe<Scalars['String']['input']>;
1236
+ before?: InputMaybe<Scalars['String']['input']>;
1237
+ first?: InputMaybe<Scalars['Int']['input']>;
1238
+ last?: InputMaybe<Scalars['Int']['input']>;
1239
+ };
1240
+
1239
1241
  /** The connection type for Contact. */
1240
1242
  export type ContactConnection = {
1241
1243
  __typename?: 'ContactConnection';
@@ -1271,8 +1273,18 @@ export type ContactEnrichmentResultPayload = {
1271
1273
  export type ContactFilterInput = {
1272
1274
  /** Filter by confidence score (0.0–1.0). */
1273
1275
  confidenceScore?: InputMaybe<FloatFilterInput>;
1274
- /** Filter by ISO 3166-1 alpha-2 country code. */
1276
+ /**
1277
+ * Filter by ISO 3166-1 alpha-2 country code.
1278
+ * @deprecated Use divisionIds for geographic filtering. divisionIds supports cities, regions, and multi-country groups (DACH, BENELUX) via Mercator.
1279
+ */
1275
1280
  countryCode?: InputMaybe<StringFilterInput>;
1281
+ /**
1282
+ * Filter contacts that belong to any of the given Mercator location division
1283
+ * IDs. `eq`/`in` match contacts with at least one overlapping division;
1284
+ * `not_eq`/`not_in` exclude them. This is an array-overlap filter against
1285
+ * Mercator-encoded division IDs, not a scalar Atlas ID filter.
1286
+ */
1287
+ divisionIds?: InputMaybe<IdFilterInput>;
1276
1288
  /** Filter by email verification status (VALID, INVALID, CATCH_ALL, UNKNOWN). */
1277
1289
  emailStatus?: InputMaybe<EmailStatusFilterInput>;
1278
1290
  /** Filter by contact global id. */
@@ -1299,6 +1311,49 @@ export type ContactIdentifyResultPayload = {
1299
1311
  externalId: Scalars['ID']['output'];
1300
1312
  };
1301
1313
 
1314
+ /** OneOf input for searchContact — supply exactly one lookup mode. */
1315
+ export type ContactLookupInput = {
1316
+ /** Global ID of an existing contact whose email should be discovered. */
1317
+ contactId?: InputMaybe<Scalars['ID']['input']>;
1318
+ /** Contact's email address — globally unique within an organization. */
1319
+ emailAddress?: InputMaybe<Scalars['String']['input']>;
1320
+ /** Contact's LinkedIn profile URL — globally unique within an organization. */
1321
+ linkedinUrl?: InputMaybe<Scalars['String']['input']>;
1322
+ /** Name-based lookup: first name + last name + organization. */
1323
+ name?: InputMaybe<ContactNameInput>;
1324
+ };
1325
+
1326
+ /** Name-based lookup for searchContact — first name, last name, and organization. */
1327
+ export type ContactNameInput = {
1328
+ /** Contact's first name. */
1329
+ firstName: Scalars['String']['input'];
1330
+ /** Contact's last name. */
1331
+ lastName: Scalars['String']['input'];
1332
+ /** Global ID of the organization this contact belongs to. */
1333
+ organizationId: Scalars['ID']['input'];
1334
+ };
1335
+
1336
+ /** Autogenerated return type of ContactSearchResult. */
1337
+ export type ContactSearchResultPayload = {
1338
+ __typename?: 'ContactSearchResultPayload';
1339
+ /**
1340
+ * Matched contacts — both pre-existing database matches and newly-discovered,
1341
+ * newly-persisted third-party matches. Paginated; fetch further pages via the
1342
+ * `contacts` query using the same filter.
1343
+ */
1344
+ contacts: ContactConnection;
1345
+ externalId: Scalars['ID']['output'];
1346
+ };
1347
+
1348
+
1349
+ /** Autogenerated return type of ContactSearchResult. */
1350
+ export type ContactSearchResultPayloadContactsArgs = {
1351
+ after?: InputMaybe<Scalars['String']['input']>;
1352
+ before?: InputMaybe<Scalars['String']['input']>;
1353
+ first?: InputMaybe<Scalars['Int']['input']>;
1354
+ last?: InputMaybe<Scalars['Int']['input']>;
1355
+ };
1356
+
1302
1357
  /** Fields available for sorting contacts. */
1303
1358
  export type ContactSortField =
1304
1359
  /** Sort by merged confidence score, highest first by default. */
@@ -1341,16 +1396,12 @@ export type ContactValidationResultPayload = {
1341
1396
  organization?: Maybe<Organization>;
1342
1397
  };
1343
1398
 
1344
- /**
1345
- * A chat conversation between a user and the AI assistant. The id is minted by Max
1346
- * (one per owner row, e.g. memberships.conversation_id) and the row is lazily
1347
- * materialized on first interaction.
1348
- */
1399
+ /** Federation reference to a Conversation owned by another subgraph. */
1349
1400
  export type Conversation = Node & {
1350
1401
  __typename?: 'Conversation';
1351
1402
  /** When it was created. */
1352
1403
  createdAt: Scalars['ISO8601DateTime']['output'];
1353
- /** GlobalID-encoded conversation id (matches the value Max emits as the federation key). */
1404
+ /** GlobalID-encoded Conversation id. */
1354
1405
  id: Scalars['ID']['output'];
1355
1406
  /** Messages, oldest first. */
1356
1407
  messages: MessageConnection;
@@ -1365,11 +1416,7 @@ export type Conversation = Node & {
1365
1416
  };
1366
1417
 
1367
1418
 
1368
- /**
1369
- * A chat conversation between a user and the AI assistant. The id is minted by Max
1370
- * (one per owner row, e.g. memberships.conversation_id) and the row is lazily
1371
- * materialized on first interaction.
1372
- */
1419
+ /** Federation reference to a Conversation owned by another subgraph. */
1373
1420
  export type ConversationMessagesArgs = {
1374
1421
  after?: InputMaybe<Scalars['String']['input']>;
1375
1422
  before?: InputMaybe<Scalars['String']['input']>;
@@ -1393,6 +1440,24 @@ export type ConversationEventInterface = {
1393
1440
  */
1394
1441
  export type ConversationOwner = Membership;
1395
1442
 
1443
+ /** A geographic point serialized as a GeoJSON Point object (RFC 7946). */
1444
+ export type Coordinate = Node & {
1445
+ __typename?: 'Coordinate';
1446
+ /** Position in GeoJSON order: [longitude, latitude] (WGS 84). */
1447
+ coordinates: Array<Scalars['Float']['output']>;
1448
+ id: Scalars['ID']['output'];
1449
+ /** GeoJSON geometry type. Always "Point". */
1450
+ type: Scalars['String']['output'];
1451
+ };
1452
+
1453
+ /** A geographic coordinate used as a spatial query input. */
1454
+ export type CoordinateInput = {
1455
+ /** Latitude in decimal degrees (WGS 84). */
1456
+ lat: Scalars['Float']['input'];
1457
+ /** Longitude in decimal degrees (WGS 84). */
1458
+ lng: Scalars['Float']['input'];
1459
+ };
1460
+
1396
1461
  /** Autogenerated input type of CreateBillingCheckout */
1397
1462
  export type CreateBillingCheckoutInput = {
1398
1463
  /** A unique identifier for the client performing the mutation. */
@@ -2515,14 +2580,14 @@ export type EnsureBillingCustomerPayload = Node & {
2515
2580
  id: Scalars['ID']['output'];
2516
2581
  };
2517
2582
 
2518
- /** Federation reference to a Signals-owned Event. */
2583
+ /** Federation reference to a Event owned by another subgraph. */
2519
2584
  export type Event = Node & {
2520
2585
  __typename?: 'Event';
2521
2586
  /** Timestamp when the Event row was persisted. */
2522
2587
  createdAt: Scalars['ISO8601DateTime']['output'];
2523
2588
  /** Key used by the Definition's deduplication strategy. Null when the Definition does not deduplicate. */
2524
2589
  deduplicationKey?: Maybe<Scalars['String']['output']>;
2525
- /** GlobalID-encoded event id. */
2590
+ /** GlobalID-encoded Event id. */
2526
2591
  id: Scalars['ID']['output'];
2527
2592
  /** Timestamp at which the originating ingestion run observed this Event. */
2528
2593
  observedAt: Scalars['ISO8601DateTime']['output'];
@@ -2559,33 +2624,6 @@ export type EventEdge = Node & {
2559
2624
  node?: Maybe<Event>;
2560
2625
  };
2561
2626
 
2562
- /** Autogenerated input type of FindContactEmail */
2563
- export type FindContactEmailInput = {
2564
- /** A unique identifier for the client performing the mutation. */
2565
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
2566
- /** The Atlas global ID of the contact to enrich. */
2567
- contactId: Scalars['ID']['input'];
2568
- /** Caller-supplied correlation key for the subscription. */
2569
- externalId: Scalars['String']['input'];
2570
- };
2571
-
2572
- /** Autogenerated return type of FindContactEmail. */
2573
- export type FindContactEmailPayload = Node & {
2574
- __typename?: 'FindContactEmailPayload';
2575
- /** A unique identifier for the client performing the mutation. */
2576
- clientMutationId?: Maybe<Scalars['String']['output']>;
2577
- id: Scalars['ID']['output'];
2578
- status: Scalars['String']['output'];
2579
- };
2580
-
2581
- /** Autogenerated return type of FindContactEmailResult. */
2582
- export type FindContactEmailResultPayload = {
2583
- __typename?: 'FindContactEmailResultPayload';
2584
- /** The contact with the found email, or null when no email was found. */
2585
- contact?: Maybe<Contact>;
2586
- externalId: Scalars['ID']['output'];
2587
- };
2588
-
2589
2627
  /** Filter on a numeric column with comparison operators. */
2590
2628
  export type FloatFilterInput = {
2591
2629
  /** Exact match. */
@@ -2631,7 +2669,7 @@ export type IdFilterInput = {
2631
2669
  notIn?: InputMaybe<Array<Scalars['ID']['input']>>;
2632
2670
  };
2633
2671
 
2634
- /** An Ideal Customer Profile that scopes lead qualification for a Company. */
2672
+ /** Federation reference to a IdealCustomerProfile owned by another subgraph. */
2635
2673
  export type IdealCustomerProfile = Node & {
2636
2674
  __typename?: 'IdealCustomerProfile';
2637
2675
  company: Company;
@@ -2642,6 +2680,7 @@ export type IdealCustomerProfile = Node & {
2642
2680
  competitors: CompetitorConnection;
2643
2681
  createdAt: Scalars['ISO8601DateTime']['output'];
2644
2682
  excludedCompanies: Array<Scalars['String']['output']>;
2683
+ /** GlobalID-encoded IdealCustomerProfile id. */
2645
2684
  id: Scalars['ID']['output'];
2646
2685
  mandatoryKeywords: Array<Scalars['String']['output']>;
2647
2686
  /** Short label distinguishing this ICP from others on the same company. */
@@ -2664,7 +2703,7 @@ export type IdealCustomerProfile = Node & {
2664
2703
  };
2665
2704
 
2666
2705
 
2667
- /** An Ideal Customer Profile that scopes lead qualification for a Company. */
2706
+ /** Federation reference to a IdealCustomerProfile owned by another subgraph. */
2668
2707
  export type IdealCustomerProfileCompanySizesArgs = {
2669
2708
  after?: InputMaybe<Scalars['String']['input']>;
2670
2709
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2673,7 +2712,7 @@ export type IdealCustomerProfileCompanySizesArgs = {
2673
2712
  };
2674
2713
 
2675
2714
 
2676
- /** An Ideal Customer Profile that scopes lead qualification for a Company. */
2715
+ /** Federation reference to a IdealCustomerProfile owned by another subgraph. */
2677
2716
  export type IdealCustomerProfileCompetitorsArgs = {
2678
2717
  after?: InputMaybe<Scalars['String']['input']>;
2679
2718
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2753,64 +2792,6 @@ export type IdentificationFilterInput = {
2753
2792
  valid?: InputMaybe<Scalars['Boolean']['input']>;
2754
2793
  };
2755
2794
 
2756
- /** Autogenerated input type of IdentifyCompany */
2757
- export type IdentifyCompanyInput = {
2758
- /** A unique identifier for the client performing the mutation. */
2759
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
2760
- /** Visitor's ISO 3166-1 alpha-2 country code, used to boost matching accuracy. */
2761
- countryCode?: InputMaybe<Scalars['String']['input']>;
2762
- /** Caller-supplied correlation key; pass the same value to `companyIdentifyResult(externalId:)` to receive the result. */
2763
- externalId: Scalars['String']['input'];
2764
- /** The visitor's IPv4 or IPv6 address to identify. */
2765
- ip: Scalars['String']['input'];
2766
- /**
2767
- * Optional URL to receive the result via webhook. Callers consuming results via
2768
- * the federated `companyIdentifyResult` subscription can omit it. Requires the
2769
- * `atlas/source:write` scope.
2770
- */
2771
- webhookUrl?: InputMaybe<Scalars['String']['input']>;
2772
- };
2773
-
2774
- /** Autogenerated return type of IdentifyCompany. */
2775
- export type IdentifyCompanyPayload = Node & {
2776
- __typename?: 'IdentifyCompanyPayload';
2777
- /** A unique identifier for the client performing the mutation. */
2778
- clientMutationId?: Maybe<Scalars['String']['output']>;
2779
- id: Scalars['ID']['output'];
2780
- status: Scalars['String']['output'];
2781
- };
2782
-
2783
- /** Autogenerated input type of IdentifyContact */
2784
- export type IdentifyContactInput = {
2785
- /** A unique identifier for the client performing the mutation. */
2786
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
2787
- /** Probe by contact email address. Globally unique within an organization. */
2788
- emailAddress?: InputMaybe<Scalars['String']['input']>;
2789
- /** Caller-supplied identifier used to key the federated identifyContact result subscription. */
2790
- externalId: Scalars['ID']['input'];
2791
- /** Probe by first name. Must be combined with last_name and organization_id. */
2792
- firstName?: InputMaybe<Scalars['String']['input']>;
2793
- /** Probe by last name. Must be combined with first_name and organization_id. */
2794
- lastName?: InputMaybe<Scalars['String']['input']>;
2795
- /** Probe by LinkedIn profile URL. Globally unique within an organization. */
2796
- linkedinUrl?: InputMaybe<Scalars['String']['input']>;
2797
- /**
2798
- * Narrows the search to a single organization. Required when only first_name +
2799
- * last_name are provided. Resolve via identifyCompany (or another organization query) first.
2800
- */
2801
- organizationId?: InputMaybe<Scalars['ID']['input']>;
2802
- };
2803
-
2804
- /** Autogenerated return type of IdentifyContact. */
2805
- export type IdentifyContactPayload = Node & {
2806
- __typename?: 'IdentifyContactPayload';
2807
- /** A unique identifier for the client performing the mutation. */
2808
- clientMutationId?: Maybe<Scalars['String']['output']>;
2809
- id: Scalars['ID']['output'];
2810
- /** One of: received. */
2811
- status: Scalars['String']['output'];
2812
- };
2813
-
2814
2795
  /** Autogenerated input type of ImpersonateUser */
2815
2796
  export type ImpersonateUserInput = {
2816
2797
  /** A unique identifier for the client performing the mutation. */
@@ -2855,7 +2836,7 @@ export type InitiateIntegrationOauthPayload = Node & {
2855
2836
  id: Scalars['ID']['output'];
2856
2837
  };
2857
2838
 
2858
- /** A per-company (or per-user) connection to a third-party tool. */
2839
+ /** Federation reference to a Integration owned by another subgraph. */
2859
2840
  export type Integration = Node & TrackableInterface & {
2860
2841
  __typename?: 'Integration';
2861
2842
  /**
@@ -2881,7 +2862,7 @@ export type Integration = Node & TrackableInterface & {
2881
2862
  expiresAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
2882
2863
  /** Provider account / workspace id. */
2883
2864
  externalAccountId?: Maybe<Scalars['String']['output']>;
2884
- /** Global id of the integration. */
2865
+ /** GlobalID-encoded Integration id. */
2885
2866
  id: Scalars['ID']['output'];
2886
2867
  /** Mirrors `provider.kind`. */
2887
2868
  kind: IntegrationKindEnum;
@@ -2902,7 +2883,7 @@ export type Integration = Node & TrackableInterface & {
2902
2883
  };
2903
2884
 
2904
2885
 
2905
- /** A per-company (or per-user) connection to a third-party tool. */
2886
+ /** Federation reference to a Integration owned by another subgraph. */
2906
2887
  export type IntegrationActivitiesArgs = {
2907
2888
  after?: InputMaybe<Scalars['String']['input']>;
2908
2889
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2989,7 +2970,7 @@ export type IntegrationScopeEnum =
2989
2970
  | 'COMPANY'
2990
2971
  | 'USER';
2991
2972
 
2992
- /** An outstanding or resolved invitation for someone to join a Max company. */
2973
+ /** Federation reference to a Invitation owned by another subgraph. */
2993
2974
  export type Invitation = Node & {
2994
2975
  __typename?: 'Invitation';
2995
2976
  /** Set when the invitation was accepted; null while pending. */
@@ -3004,7 +2985,7 @@ export type Invitation = Node & {
3004
2985
  email: Scalars['String']['output'];
3005
2986
  /** Time after which the invitation can no longer be accepted. */
3006
2987
  expiresAt: Scalars['ISO8601DateTime']['output'];
3007
- /** Stable invitation UUID. */
2988
+ /** GlobalID-encoded Invitation id. */
3008
2989
  id: Scalars['ID']['output'];
3009
2990
  /** User who issued the invitation. */
3010
2991
  invitedBy: User;
@@ -3058,28 +3039,39 @@ export type KickAgentInput = {
3058
3039
  conversationId: Scalars['ID']['input'];
3059
3040
  };
3060
3041
 
3061
- /** A Max lead — a Company-scoped pointer to an Atlas contact. */
3042
+ /** Federation reference to a Lead owned by another subgraph. */
3062
3043
  export type Lead = Node & TrackableInterface & {
3063
3044
  __typename?: 'Lead';
3045
+ /** Records of this lead being produced by a Sortlist service. */
3064
3046
  acquisitions: LeadAcquisitionConnection;
3065
3047
  /** Activity history where this entity is the subject, most recent first. */
3066
3048
  activities: ActivityConnection;
3067
3049
  /** Public URL for the lead's profile picture; null if unknown. */
3068
3050
  avatarUrl?: Maybe<Scalars['String']['output']>;
3051
+ /** Company that owns this lead. */
3069
3052
  company: Company;
3070
3053
  /** Federated reference to the Atlas-owned Contact backing this Lead. */
3071
3054
  contact: Contact;
3055
+ /** When the lead was first sourced. */
3072
3056
  createdAt: Scalars['ISO8601DateTime']['output'];
3057
+ /** GlobalID-encoded Lead id. */
3073
3058
  id: Scalars['ID']['output'];
3074
3059
  /** Campaign enrollments for this lead in the current Overloop account, newest first. */
3075
3060
  outboundCampaignEnrollments: OutboundCampaignEnrollmentConnection;
3076
3061
  /** ICP scores computed for this lead. */
3077
3062
  qualifications: LeadQualificationConnection;
3063
+ /**
3064
+ * Distinct routines that sourced or updated this lead, resolved through the runs
3065
+ * that produced its acquisitions, most recently sourcing first. Empty for leads
3066
+ * not produced by a routine.
3067
+ */
3068
+ routines: RoutineConnection;
3069
+ /** When the lead was last updated. */
3078
3070
  updatedAt: Scalars['ISO8601DateTime']['output'];
3079
3071
  };
3080
3072
 
3081
3073
 
3082
- /** A Max lead — a Company-scoped pointer to an Atlas contact. */
3074
+ /** Federation reference to a Lead owned by another subgraph. */
3083
3075
  export type LeadAcquisitionsArgs = {
3084
3076
  after?: InputMaybe<Scalars['String']['input']>;
3085
3077
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3088,7 +3080,7 @@ export type LeadAcquisitionsArgs = {
3088
3080
  };
3089
3081
 
3090
3082
 
3091
- /** A Max lead — a Company-scoped pointer to an Atlas contact. */
3083
+ /** Federation reference to a Lead owned by another subgraph. */
3092
3084
  export type LeadActivitiesArgs = {
3093
3085
  after?: InputMaybe<Scalars['String']['input']>;
3094
3086
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3098,7 +3090,7 @@ export type LeadActivitiesArgs = {
3098
3090
  };
3099
3091
 
3100
3092
 
3101
- /** A Max lead — a Company-scoped pointer to an Atlas contact. */
3093
+ /** Federation reference to a Lead owned by another subgraph. */
3102
3094
  export type LeadOutboundCampaignEnrollmentsArgs = {
3103
3095
  after?: InputMaybe<Scalars['String']['input']>;
3104
3096
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3108,7 +3100,7 @@ export type LeadOutboundCampaignEnrollmentsArgs = {
3108
3100
  };
3109
3101
 
3110
3102
 
3111
- /** A Max lead — a Company-scoped pointer to an Atlas contact. */
3103
+ /** Federation reference to a Lead owned by another subgraph. */
3112
3104
  export type LeadQualificationsArgs = {
3113
3105
  after?: InputMaybe<Scalars['String']['input']>;
3114
3106
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3116,7 +3108,16 @@ export type LeadQualificationsArgs = {
3116
3108
  last?: InputMaybe<Scalars['Int']['input']>;
3117
3109
  };
3118
3110
 
3119
- /** A record of a Lead being produced by a Sortlist service. */
3111
+
3112
+ /** Federation reference to a Lead owned by another subgraph. */
3113
+ export type LeadRoutinesArgs = {
3114
+ after?: InputMaybe<Scalars['String']['input']>;
3115
+ before?: InputMaybe<Scalars['String']['input']>;
3116
+ first?: InputMaybe<Scalars['Int']['input']>;
3117
+ last?: InputMaybe<Scalars['Int']['input']>;
3118
+ };
3119
+
3120
+ /** Federation reference to a LeadAcquisition owned by another subgraph. */
3120
3121
  export type LeadAcquisition = Node & {
3121
3122
  __typename?: 'LeadAcquisition';
3122
3123
  /**
@@ -3139,6 +3140,7 @@ export type LeadAcquisition = Node & {
3139
3140
  externalSourceId: Scalars['ID']['output'];
3140
3141
  /** Kind of upstream entity that produced the acquisition. Currently 'watcher' for signals leads; null otherwise. */
3141
3142
  externalSourceType?: Maybe<LeadAcquisitionExternalSourceTypeEnum>;
3143
+ /** GlobalID-encoded LeadAcquisition id. */
3142
3144
  id: Scalars['ID']['output'];
3143
3145
  /**
3144
3146
  * Deprecated alias of `externalSource`.
@@ -3204,10 +3206,11 @@ export type LeadEdge = Node & {
3204
3206
  node?: Maybe<Lead>;
3205
3207
  };
3206
3208
 
3207
- /** A score for a Lead against a specific Ideal Customer Profile. */
3209
+ /** Federation reference to a LeadQualification owned by another subgraph. */
3208
3210
  export type LeadQualification = Node & {
3209
3211
  __typename?: 'LeadQualification';
3210
3212
  createdAt: Scalars['ISO8601DateTime']['output'];
3213
+ /** GlobalID-encoded LeadQualification id. */
3211
3214
  id: Scalars['ID']['output'];
3212
3215
  idealCustomerProfile: IdealCustomerProfile;
3213
3216
  /** Match score between 0 and 1. */
@@ -3272,11 +3275,98 @@ export type LinkedinSendMessageStepConfig = {
3272
3275
  writingStyle?: Maybe<OutboundCampaignWritingStyle>;
3273
3276
  };
3274
3277
 
3275
- /**
3276
- * A user's membership in a Max-tenant company. Owns exactly one Conversation; the
3277
- * conversation id is generated by the database at membership creation and surfaced
3278
- * as a federation reference resolved by the Chat subgraph.
3279
- */
3278
+ /** Federation reference to a Location owned by another subgraph. */
3279
+ export type Location = Node & {
3280
+ __typename?: 'Location';
3281
+ /** Numeric hierarchy depth. 0 = country, higher = more granular. */
3282
+ adminLevel: Scalars['Int']['output'];
3283
+ /** Center point of the division boundary as a GeoJSON Point. */
3284
+ centroid?: Maybe<Coordinate>;
3285
+ /** Child divisions in the hierarchy. */
3286
+ children: LocationConnection;
3287
+ /** ISO 3166-1 alpha-2 country code of the division. */
3288
+ countryCode?: Maybe<Scalars['String']['output']>;
3289
+ /** GlobalID-encoded Location id. */
3290
+ id: Scalars['ID']['output'];
3291
+ /** Primary English name of the division. */
3292
+ name: Scalars['String']['output'];
3293
+ /** Parent administrative division in the hierarchy. */
3294
+ parent?: Maybe<Location>;
3295
+ /** Administrative subdivision level. */
3296
+ subtype: LocationSubtype;
3297
+ };
3298
+
3299
+
3300
+ /** Federation reference to a Location owned by another subgraph. */
3301
+ export type LocationChildrenArgs = {
3302
+ after?: InputMaybe<Scalars['String']['input']>;
3303
+ before?: InputMaybe<Scalars['String']['input']>;
3304
+ deep?: InputMaybe<Scalars['Boolean']['input']>;
3305
+ first?: InputMaybe<Scalars['Int']['input']>;
3306
+ last?: InputMaybe<Scalars['Int']['input']>;
3307
+ subtype?: InputMaybe<LocationSubtypeFilterInput>;
3308
+ };
3309
+
3310
+ /** The connection type for Location. */
3311
+ export type LocationConnection = {
3312
+ __typename?: 'LocationConnection';
3313
+ /** A list of edges. */
3314
+ edges?: Maybe<Array<Maybe<LocationEdge>>>;
3315
+ /** A list of nodes. */
3316
+ nodes?: Maybe<Array<Maybe<Location>>>;
3317
+ /** Information to aid in pagination. */
3318
+ pageInfo: PageInfo;
3319
+ /** Total number of items across all pages. */
3320
+ totalCount: Scalars['Int']['output'];
3321
+ };
3322
+
3323
+ /** An edge in a connection. */
3324
+ export type LocationEdge = {
3325
+ __typename?: 'LocationEdge';
3326
+ /** A cursor for use in pagination. */
3327
+ cursor: Scalars['String']['output'];
3328
+ /** The item at the end of the edge. */
3329
+ node?: Maybe<Location>;
3330
+ };
3331
+
3332
+ /** Administrative subdivision level of a geographic location. */
3333
+ export type LocationSubtype =
3334
+ /** Borough or city district between the locality and neighborhood levels. */
3335
+ | 'BOROUGH'
3336
+ /** Sovereign nation (admin_level 0). */
3337
+ | 'COUNTRY'
3338
+ /** County, department, or second-level subdivision (admin_level 3-4). */
3339
+ | 'COUNTY'
3340
+ /** Dependent or overseas territory of a country. */
3341
+ | 'DEPENDENCY'
3342
+ /** Local administrative unit such as a commune or municipality, between the county and locality levels. */
3343
+ | 'LOCALADMIN'
3344
+ /** City, town, or municipality (admin_level 5-8). */
3345
+ | 'LOCALITY'
3346
+ /** Grouping of counties between the region and county levels. */
3347
+ | 'MACROCOUNTY'
3348
+ /** Large area grouping multiple neighborhoods within a locality. */
3349
+ | 'MACROHOOD'
3350
+ /** Grouping of regions between the country and region levels. */
3351
+ | 'MACROREGION'
3352
+ /** Neighborhood, district, or sub-municipal area (admin_level 9+). */
3353
+ | 'NEIGHBORHOOD'
3354
+ /** State, province, or first-level subdivision (admin_level 1-2). */
3355
+ | 'REGION';
3356
+
3357
+ /** Filter on location subtype with schema-validated enum values. */
3358
+ export type LocationSubtypeFilterInput = {
3359
+ /** Exact match. */
3360
+ eq?: InputMaybe<LocationSubtype>;
3361
+ /** Match any of these subdivision levels. */
3362
+ in?: InputMaybe<Array<LocationSubtype>>;
3363
+ /** Exclude exact match. */
3364
+ notEq?: InputMaybe<LocationSubtype>;
3365
+ /** Exclude any of these values. */
3366
+ notIn?: InputMaybe<Array<LocationSubtype>>;
3367
+ };
3368
+
3369
+ /** Federation reference to a Membership owned by another subgraph. */
3280
3370
  export type Membership = Node & {
3281
3371
  __typename?: 'Membership';
3282
3372
  /** Company this membership grants access to. */
@@ -3289,7 +3379,7 @@ export type Membership = Node & {
3289
3379
  conversation: Conversation;
3290
3380
  /** Membership creation time. */
3291
3381
  createdAt: Scalars['ISO8601DateTime']['output'];
3292
- /** Stable membership UUID. */
3382
+ /** GlobalID-encoded Membership id. */
3293
3383
  id: Scalars['ID']['output'];
3294
3384
  /**
3295
3385
  * Per-user onboarding tasks. Use alongside the company's onboardingTasks to
@@ -3303,11 +3393,7 @@ export type Membership = Node & {
3303
3393
  };
3304
3394
 
3305
3395
 
3306
- /**
3307
- * A user's membership in a Max-tenant company. Owns exactly one Conversation; the
3308
- * conversation id is generated by the database at membership creation and surfaced
3309
- * as a federation reference resolved by the Chat subgraph.
3310
- */
3396
+ /** Federation reference to a Membership owned by another subgraph. */
3311
3397
  export type MembershipOnboardingTasksArgs = {
3312
3398
  after?: InputMaybe<Scalars['String']['input']>;
3313
3399
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3338,12 +3424,7 @@ export type MembershipEdge = Node & {
3338
3424
  node?: Maybe<Membership>;
3339
3425
  };
3340
3426
 
3341
- /**
3342
- * A per-user onboarding task. Auto-seeded on Membership creation; auto-completed
3343
- * when the matching Integration row is created (`connect_gmail`,
3344
- * `connect_linkedin`, `connect_hubspot`). Optional — can be dismissed via
3345
- * skipMembershipOnboardingTask.
3346
- */
3427
+ /** Federation reference to a MembershipOnboardingTask owned by another subgraph. */
3347
3428
  export type MembershipOnboardingTask = Node & {
3348
3429
  __typename?: 'MembershipOnboardingTask';
3349
3430
  /**
@@ -3354,6 +3435,7 @@ export type MembershipOnboardingTask = Node & {
3354
3435
  automated: Scalars['Boolean']['output'];
3355
3436
  completedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
3356
3437
  createdAt: Scalars['ISO8601DateTime']['output'];
3438
+ /** GlobalID-encoded MembershipOnboardingTask id. */
3357
3439
  id: Scalars['ID']['output'];
3358
3440
  /** Stable identifier (e.g. `connect_gmail`). */
3359
3441
  key: Scalars['String']['output'];
@@ -3389,14 +3471,14 @@ export type MembershipOnboardingTaskEdge = Node & {
3389
3471
  node?: Maybe<MembershipOnboardingTask>;
3390
3472
  };
3391
3473
 
3392
- /** A fact Max has learned about a company. Created when the user accepts a memory suggestion; deletable by any company member. */
3474
+ /** Federation reference to a Memory owned by another subgraph. */
3393
3475
  export type Memory = Node & {
3394
3476
  __typename?: 'Memory';
3395
3477
  /** The fact as a plain sentence. */
3396
3478
  content: Scalars['String']['output'];
3397
3479
  /** When this memory was created. */
3398
3480
  createdAt: Scalars['ISO8601DateTime']['output'];
3399
- /** Global ID of this memory. */
3481
+ /** GlobalID-encoded Memory id. */
3400
3482
  id: Scalars['ID']['output'];
3401
3483
  /** Where this memory came from. */
3402
3484
  source: MemorySourceEnum;
@@ -3437,7 +3519,7 @@ export type MemorySourceEnum =
3437
3519
  /** Source "workspace_settings". */
3438
3520
  | 'WORKSPACE_SETTINGS';
3439
3521
 
3440
- /** A message in a conversation. */
3522
+ /** Federation reference to a Message owned by another subgraph. */
3441
3523
  export type Message = Node & {
3442
3524
  __typename?: 'Message';
3443
3525
  /**
@@ -3455,7 +3537,7 @@ export type Message = Node & {
3455
3537
  * other invisible nudges.
3456
3538
  */
3457
3539
  hidden: Scalars['Boolean']['output'];
3458
- /** GlobalID-encoded message id. */
3540
+ /** GlobalID-encoded Message id. */
3459
3541
  id: Scalars['ID']['output'];
3460
3542
  /** Input tokens used. */
3461
3543
  inputTokens?: Maybe<Scalars['Int']['output']>;
@@ -3470,7 +3552,7 @@ export type Message = Node & {
3470
3552
  };
3471
3553
 
3472
3554
 
3473
- /** A message in a conversation. */
3555
+ /** Federation reference to a Message owned by another subgraph. */
3474
3556
  export type MessageAgentTasksArgs = {
3475
3557
  after?: InputMaybe<Scalars['String']['input']>;
3476
3558
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3479,7 +3561,7 @@ export type MessageAgentTasksArgs = {
3479
3561
  };
3480
3562
 
3481
3563
 
3482
- /** A message in a conversation. */
3564
+ /** Federation reference to a Message owned by another subgraph. */
3483
3565
  export type MessageToolCallsArgs = {
3484
3566
  after?: InputMaybe<Scalars['String']['input']>;
3485
3567
  before?: InputMaybe<Scalars['String']['input']>;
@@ -3701,7 +3783,7 @@ export type Mutation = {
3701
3783
  * Returns the merged Contact immediately.
3702
3784
  * Use when pushing enrichment data from a registered source.
3703
3785
  * To discover a contact from a known identifier (email, LinkedIn, name) without raw
3704
- * source data, use `identifyContact` instead.
3786
+ * source data, use `searchContact` instead.
3705
3787
  */
3706
3788
  enrichContact?: Maybe<Contact>;
3707
3789
  /**
@@ -3709,7 +3791,7 @@ export type Mutation = {
3709
3791
  * Returns the merged Identification immediately.
3710
3792
  * Use when a source (e.g. Snitcher) has already resolved an IP to a company domain
3711
3793
  * and you want to persist that result. To trigger async resolution from an IP address,
3712
- * use `identifyCompany` instead.
3794
+ * use `searchOrganization` with `ip:` instead.
3713
3795
  */
3714
3796
  enrichIdentification?: Maybe<Identification>;
3715
3797
  /**
@@ -3724,14 +3806,6 @@ export type Mutation = {
3724
3806
  enrollLeadToOutboundCampaign?: Maybe<EnrollLeadToOutboundCampaignPayload>;
3725
3807
  /** Ensures the company has a billing-subgraph customer. Idempotent — returns the company with billingCustomerId populated. */
3726
3808
  ensureBillingCustomer?: Maybe<EnsureBillingCustomerPayload>;
3727
- /**
3728
- * Asynchronously attempt to discover a contact's email address using Atlas enrichment strategies.
3729
- * Returns `{status: "received"}` immediately. The result (contact with email, or null if not found)
3730
- * arrives via the `findContactEmailResult(externalId:)` subscription.
3731
- * Use when you already have an Atlas Contact ID and need their email discovered.
3732
- * If you don't yet have a Contact ID, use `identifyContact` to find or create the contact first.
3733
- */
3734
- findContactEmail?: Maybe<FindContactEmailPayload>;
3735
3809
  /**
3736
3810
  * Generate (or retrieve the cached result of) a preview of a campaign step
3737
3811
  * message for an Atlas contact. Generation is asynchronous — the returned
@@ -3741,24 +3815,6 @@ export type Mutation = {
3741
3815
  * already-generated preview.
3742
3816
  */
3743
3817
  generateOutboundCampaignMessagePreview?: Maybe<GenerateOutboundCampaignMessagePreviewPayload>;
3744
- /**
3745
- * Asynchronously identify a company from a visitor IP address.
3746
- * Returns `{status: "received"}` immediately. The matched Organization arrives via
3747
- * the `companyIdentifyResult(externalId:)` subscription or the optional webhook.
3748
- * Use when you have a visitor IP and need to resolve the company behind it.
3749
- * To look up a company by domain directly, use `organization(domain:)` instead.
3750
- */
3751
- identifyCompany?: Maybe<IdentifyCompanyPayload>;
3752
- /**
3753
- * Asynchronously discover whether an Atlas Contact record exists for a person
3754
- * identified by email, LinkedIn URL, or full name scoped to an organization.
3755
- * Returns `{status: "received"}` immediately. The matched or created Contact
3756
- * arrives via the `contactIdentifyResult(externalId:)` subscription.
3757
- * Use when you need to find a contact from a known identifier.
3758
- * If you already have a Contact ID and only need their email address discovered,
3759
- * use `findContactEmail` instead.
3760
- */
3761
- identifyContact?: Maybe<IdentifyContactPayload>;
3762
3818
  /** Generate a delegation JWT to impersonate a user via Auth0 Custom Token Exchange. Requires admin scope (max/*:*). */
3763
3819
  impersonateUser?: Maybe<ImpersonateUserPayload>;
3764
3820
  /**
@@ -3782,8 +3838,6 @@ export type Mutation = {
3782
3838
  pauseOutboundCampaign?: Maybe<PauseOutboundCampaignPayload>;
3783
3839
  /** Pause a routine; the scheduler will skip it until resumed. */
3784
3840
  pauseRoutine?: Maybe<PauseRoutinePayload>;
3785
- /** Pause a Watcher so the scheduler stops triggering ingestion runs. */
3786
- pauseWatcher?: Maybe<PauseWatcherPayload>;
3787
3841
  /**
3788
3842
  * Charges the customer's default Stripe payment method for `quantity` credits
3789
3843
  * and returns the granted Invoice + new balance. Use after a default payment
@@ -3833,8 +3887,6 @@ export type Mutation = {
3833
3887
  respondToToolCall?: Maybe<RespondToToolCallPayload>;
3834
3888
  /** Resume a paused routine and recompute its next run. */
3835
3889
  resumeRoutine?: Maybe<ResumeRoutinePayload>;
3836
- /** Resume a paused Watcher so the scheduler picks it up again. */
3837
- resumeWatcher?: Maybe<ResumeWatcherPayload>;
3838
3890
  /**
3839
3891
  * Re-analyse the Gmail sent-email history and refresh a tone-of-voice profile.
3840
3892
  * Requires the requesting user to have an active Gmail integration.
@@ -3842,13 +3894,6 @@ export type Mutation = {
3842
3894
  retrainToneOfVoice?: Maybe<RetrainToneOfVoicePayload>;
3843
3895
  /** Revoke a pending invitation so its link can no longer be claimed. */
3844
3896
  revokeInvitation?: Maybe<RevokeInvitationPayload>;
3845
- /**
3846
- * Merge rotated credential material into a RAW integration's data blob.
3847
- * M2M-only: gated on the max/company:write scope so consuming subgraphs (e.g.
3848
- * Outreach) can write back rotated session cookies through the federation
3849
- * gateway without knowing about Max internals.
3850
- */
3851
- rotateIntegrationCredential?: Maybe<RotateIntegrationCredentialPayload>;
3852
3897
  /** Run a background job inline. Admin-only, intended for E2E test orchestration. */
3853
3898
  runMaxSynchronousWorker?: Maybe<RunMaxSynchronousWorkerPayload>;
3854
3899
  /** Runs a background job inline. Admin-only, intended for E2E test orchestration. */
@@ -3856,10 +3901,29 @@ export type Mutation = {
3856
3901
  /** Run a background job inline. Admin-only, intended for E2E test orchestration. */
3857
3902
  runSynchronousWorker?: Maybe<RunSynchronousWorkerPayload>;
3858
3903
  /**
3859
- * Asynchronously search for an organization by domain.
3860
- * Returns {status: "received"} immediately. The enriched Organization arrives via
3861
- * the `organizationSearchResult(externalId:)` subscription once Atlas has looked up
3862
- * or fetched the company data.
3904
+ * Asynchronously discover an Atlas Contact record.
3905
+ * Returns `{status: "received"}` immediately. The result arrives via
3906
+ * the `contactIdentifyResult(externalId:)` subscription.
3907
+ * Provide exactly one lookup mode via `lookup`:
3908
+ * `contactId`, `linkedinUrl`, `emailAddress`, or `name`.
3909
+ */
3910
+ searchContact?: Maybe<SearchContactPayload>;
3911
+ /**
3912
+ * Asynchronously searches for contacts matching `filter`/`organizationFilter`, the
3913
+ * same criteria accepted by the `contacts` query — but in addition to the local
3914
+ * database, this also searches Atlas's third-party sources (currently Coresignal)
3915
+ * and persists any new matches as Contact records.
3916
+ * Returns `{status: "received"}` immediately. The result arrives via the
3917
+ * `contactSearchResult(externalId:)` subscription, as a paginated connection —
3918
+ * further pages beyond the first are fetched via the `contacts` query using the
3919
+ * same filter.
3920
+ */
3921
+ searchContacts?: Maybe<SearchContactsPayload>;
3922
+ /**
3923
+ * Asynchronously search for an organization by domain or visitor IP.
3924
+ * Returns {status: "received"} immediately. The matched Organization arrives via
3925
+ * the `organizationSearchResult(externalId:)` subscription.
3926
+ * Provide exactly one lookup mode via `lookup`: either `domain` or `byIp`.
3863
3927
  */
3864
3928
  searchOrganization?: Maybe<SearchOrganizationPayload>;
3865
3929
  /**
@@ -4191,26 +4255,11 @@ export type MutationEnsureBillingCustomerArgs = {
4191
4255
  };
4192
4256
 
4193
4257
 
4194
- export type MutationFindContactEmailArgs = {
4195
- input: FindContactEmailInput;
4196
- };
4197
-
4198
-
4199
4258
  export type MutationGenerateOutboundCampaignMessagePreviewArgs = {
4200
4259
  input: GenerateOutboundCampaignMessagePreviewInput;
4201
4260
  };
4202
4261
 
4203
4262
 
4204
- export type MutationIdentifyCompanyArgs = {
4205
- input: IdentifyCompanyInput;
4206
- };
4207
-
4208
-
4209
- export type MutationIdentifyContactArgs = {
4210
- input: IdentifyContactInput;
4211
- };
4212
-
4213
-
4214
4263
  export type MutationImpersonateUserArgs = {
4215
4264
  input: ImpersonateUserInput;
4216
4265
  };
@@ -4241,11 +4290,6 @@ export type MutationPauseRoutineArgs = {
4241
4290
  };
4242
4291
 
4243
4292
 
4244
- export type MutationPauseWatcherArgs = {
4245
- input: PauseWatcherInput;
4246
- };
4247
-
4248
-
4249
4293
  export type MutationPurchaseCreditsArgs = {
4250
4294
  input: PurchaseCreditsInput;
4251
4295
  };
@@ -4306,11 +4350,6 @@ export type MutationResumeRoutineArgs = {
4306
4350
  };
4307
4351
 
4308
4352
 
4309
- export type MutationResumeWatcherArgs = {
4310
- input: ResumeWatcherInput;
4311
- };
4312
-
4313
-
4314
4353
  export type MutationRetrainToneOfVoiceArgs = {
4315
4354
  input: RetrainToneOfVoiceInput;
4316
4355
  };
@@ -4321,11 +4360,6 @@ export type MutationRevokeInvitationArgs = {
4321
4360
  };
4322
4361
 
4323
4362
 
4324
- export type MutationRotateIntegrationCredentialArgs = {
4325
- input: RotateIntegrationCredentialInput;
4326
- };
4327
-
4328
-
4329
4363
  export type MutationRunMaxSynchronousWorkerArgs = {
4330
4364
  input: RunMaxSynchronousWorkerInput;
4331
4365
  };
@@ -4341,6 +4375,16 @@ export type MutationRunSynchronousWorkerArgs = {
4341
4375
  };
4342
4376
 
4343
4377
 
4378
+ export type MutationSearchContactArgs = {
4379
+ input: SearchContactInput;
4380
+ };
4381
+
4382
+
4383
+ export type MutationSearchContactsArgs = {
4384
+ input: SearchContactsInput;
4385
+ };
4386
+
4387
+
4344
4388
  export type MutationSearchOrganizationArgs = {
4345
4389
  input: SearchOrganizationInput;
4346
4390
  };
@@ -4595,6 +4639,8 @@ export type OrganizationAddress = Node & {
4595
4639
  __typename?: 'OrganizationAddress';
4596
4640
  /** City where the office is located. */
4597
4641
  city?: Maybe<Scalars['String']['output']>;
4642
+ /** Geographic coordinates of the address as a GeoJSON Point. */
4643
+ coordinates?: Maybe<Coordinate>;
4598
4644
  /** ISO 3166-1 alpha-2 country code. */
4599
4645
  countryCode?: Maybe<Scalars['String']['output']>;
4600
4646
  /** Human-readable country name derived from country_code. */
@@ -4604,10 +4650,8 @@ export type OrganizationAddress = Node & {
4604
4650
  id: Scalars['ID']['output'];
4605
4651
  /** Whether this is the organization's headquarters. */
4606
4652
  isHeadquarters: Scalars['Boolean']['output'];
4607
- /** Geographic latitude. */
4608
- latitude?: Maybe<Scalars['Float']['output']>;
4609
- /** Geographic longitude. */
4610
- longitude?: Maybe<Scalars['Float']['output']>;
4653
+ /** Mercator location divisions for this office address. Empty until the background enrichment job runs. */
4654
+ locations: LocationConnection;
4611
4655
  /** Postal or ZIP code. */
4612
4656
  postalCode?: Maybe<Scalars['String']['output']>;
4613
4657
  /** State or province. */
@@ -4618,6 +4662,15 @@ export type OrganizationAddress = Node & {
4618
4662
  updatedAt: Scalars['ISO8601DateTime']['output'];
4619
4663
  };
4620
4664
 
4665
+
4666
+ /** A physical address of an organization. */
4667
+ export type OrganizationAddressLocationsArgs = {
4668
+ after?: InputMaybe<Scalars['String']['input']>;
4669
+ before?: InputMaybe<Scalars['String']['input']>;
4670
+ first?: InputMaybe<Scalars['Int']['input']>;
4671
+ last?: InputMaybe<Scalars['Int']['input']>;
4672
+ };
4673
+
4621
4674
  /** The connection type for OrganizationAddress. */
4622
4675
  export type OrganizationAddressConnection = {
4623
4676
  __typename?: 'OrganizationAddressConnection';
@@ -4641,6 +4694,14 @@ export type OrganizationAddressEdge = Node & {
4641
4694
  node?: Maybe<OrganizationAddress>;
4642
4695
  };
4643
4696
 
4697
+ /** Parameters for an organization search by visitor IP address. */
4698
+ export type OrganizationByIpInput = {
4699
+ /** Visitor's ISO 3166-1 alpha-2 country code — boosts matching accuracy. */
4700
+ countryCode?: InputMaybe<Scalars['String']['input']>;
4701
+ /** The visitor's IPv4 or IPv6 address to identify. */
4702
+ ip: Scalars['String']['input'];
4703
+ };
4704
+
4644
4705
  /** The connection type for Organization. */
4645
4706
  export type OrganizationConnection = {
4646
4707
  __typename?: 'OrganizationConnection';
@@ -4675,7 +4736,10 @@ export type OrganizationFilterInput = {
4675
4736
  companySize?: InputMaybe<RangeFilterInput>;
4676
4737
  /** Filter by confidence score (0.0–1.0). */
4677
4738
  confidenceScore?: InputMaybe<FloatFilterInput>;
4678
- /** Filter by ISO 3166-1 alpha-2 country code. */
4739
+ /**
4740
+ * Filter by ISO 3166-1 alpha-2 country code.
4741
+ * @deprecated Use divisionIds for geographic filtering. divisionIds supports cities, regions, and multi-country groups (DACH, BENELUX) via Mercator.
4742
+ */
4679
4743
  countryCode?: InputMaybe<StringFilterInput>;
4680
4744
  /**
4681
4745
  * Description embedding filters. Each entry matches organizations whose
@@ -4687,6 +4751,13 @@ export type OrganizationFilterInput = {
4687
4751
  * Threshold validated by the embedding_calibration test suite.
4688
4752
  */
4689
4753
  description?: InputMaybe<Array<EmbeddingFilterInput>>;
4754
+ /**
4755
+ * Filter organizations that have at least one address belonging to any of the
4756
+ * given Mercator location division IDs. `eq`/`in` match organizations with at
4757
+ * least one overlapping division; `not_eq`/`not_in` exclude them. This is an
4758
+ * array-overlap filter against Mercator-encoded division IDs, not a scalar Atlas ID filter.
4759
+ */
4760
+ divisionIds?: InputMaybe<IdFilterInput>;
4690
4761
  /** Filter by organization global id. */
4691
4762
  id?: InputMaybe<IdFilterInput>;
4692
4763
  /**
@@ -4704,6 +4775,14 @@ export type OrganizationFilterInput = {
4704
4775
  valid?: InputMaybe<Scalars['Boolean']['input']>;
4705
4776
  };
4706
4777
 
4778
+ /** OneOf input for searchOrganization — supply exactly one lookup mode. */
4779
+ export type OrganizationLookupInput = {
4780
+ /** Look up by visitor IP address. */
4781
+ byIp?: InputMaybe<OrganizationByIpInput>;
4782
+ /** Look up by company's primary web domain (no scheme, no trailing slash). */
4783
+ domain?: InputMaybe<Scalars['String']['input']>;
4784
+ };
4785
+
4707
4786
  /** Autogenerated return type of OrganizationSearchResult. */
4708
4787
  export type OrganizationSearchResultPayload = {
4709
4788
  __typename?: 'OrganizationSearchResultPayload';
@@ -4732,7 +4811,7 @@ export type OrganizationSortInput = {
4732
4811
  query?: InputMaybe<Scalars['String']['input']>;
4733
4812
  };
4734
4813
 
4735
- /** Federation reference to an outreach-owned OutboundCampaign. */
4814
+ /** Federation reference to a OutboundCampaign owned by another subgraph. */
4736
4815
  export type OutboundCampaign = Node & {
4737
4816
  __typename?: 'OutboundCampaign';
4738
4817
  /** Auto-send follow-up messages without manual review. */
@@ -4745,7 +4824,7 @@ export type OutboundCampaign = Node & {
4745
4824
  creator?: Maybe<User>;
4746
4825
  /** Latest minute of the day (0-1439) messages may be sent. */
4747
4826
  endSendingMinutes: Scalars['Int']['output'];
4748
- /** GlobalID-encoded campaign id. */
4827
+ /** GlobalID-encoded OutboundCampaign id. */
4749
4828
  id: Scalars['ID']['output'];
4750
4829
  /** Name of the campaign. */
4751
4830
  name: Scalars['String']['output'];
@@ -4772,14 +4851,14 @@ export type OutboundCampaign = Node & {
4772
4851
  };
4773
4852
 
4774
4853
 
4775
- /** Federation reference to an outreach-owned OutboundCampaign. */
4854
+ /** Federation reference to a OutboundCampaign owned by another subgraph. */
4776
4855
  export type OutboundCampaignReportArgs = {
4777
4856
  endDate: Scalars['ISO8601Date']['input'];
4778
4857
  startDate: Scalars['ISO8601Date']['input'];
4779
4858
  };
4780
4859
 
4781
4860
 
4782
- /** Federation reference to an outreach-owned OutboundCampaign. */
4861
+ /** Federation reference to a OutboundCampaign owned by another subgraph. */
4783
4862
  export type OutboundCampaignStepsArgs = {
4784
4863
  after?: InputMaybe<Scalars['String']['input']>;
4785
4864
  before?: InputMaybe<Scalars['String']['input']>;
@@ -5349,22 +5428,6 @@ export type PauseRoutinePayload = Node & {
5349
5428
  routine: Routine;
5350
5429
  };
5351
5430
 
5352
- /** Autogenerated input type of PauseWatcher */
5353
- export type PauseWatcherInput = {
5354
- /** A unique identifier for the client performing the mutation. */
5355
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
5356
- id: Scalars['ID']['input'];
5357
- };
5358
-
5359
- /** Autogenerated return type of PauseWatcher. */
5360
- export type PauseWatcherPayload = Node & {
5361
- __typename?: 'PauseWatcherPayload';
5362
- /** A unique identifier for the client performing the mutation. */
5363
- clientMutationId?: Maybe<Scalars['String']['output']>;
5364
- id: Scalars['ID']['output'];
5365
- watcher: Watcher;
5366
- };
5367
-
5368
5431
  /** Autogenerated return type of Ping. */
5369
5432
  export type PingPayload = {
5370
5433
  __typename?: 'PingPayload';
@@ -5459,6 +5522,8 @@ export type Query = {
5459
5522
  * avoid cross-joins. Maximum page size: 50.
5460
5523
  */
5461
5524
  contacts: ContactConnection;
5525
+ /** Returns all administrative divisions at every hierarchy level that contain the given coordinate. */
5526
+ containingDivisions: LocationConnection;
5462
5527
  /** Find a Definition by slug and version. */
5463
5528
  definition?: Maybe<Definition>;
5464
5529
  /** List of code-defined Definitions exposed by this subgraph. */
@@ -5505,6 +5570,8 @@ export type Query = {
5505
5570
  * client-side math. Unset arguments keep the current value.
5506
5571
  */
5507
5572
  previewBillingSubscriptionChange: BillingSubscriptionChangePreview;
5573
+ /** Fuzzy text search over location names and aliases. Returns ranked matches. */
5574
+ resolveLocations: LocationConnection;
5508
5575
  /** Look up a routine template by slug. */
5509
5576
  routineTemplate?: Maybe<RoutineTemplate>;
5510
5577
  /** All registered routine templates. */
@@ -5542,6 +5609,15 @@ export type QueryContactsArgs = {
5542
5609
  };
5543
5610
 
5544
5611
 
5612
+ export type QueryContainingDivisionsArgs = {
5613
+ after?: InputMaybe<Scalars['String']['input']>;
5614
+ before?: InputMaybe<Scalars['String']['input']>;
5615
+ coordinate: CoordinateInput;
5616
+ first?: InputMaybe<Scalars['Int']['input']>;
5617
+ last?: InputMaybe<Scalars['Int']['input']>;
5618
+ };
5619
+
5620
+
5545
5621
  export type QueryDefinitionArgs = {
5546
5622
  slug: Scalars['String']['input'];
5547
5623
  version: Scalars['Int']['input'];
@@ -5608,6 +5684,16 @@ export type QueryPreviewBillingSubscriptionChangeArgs = {
5608
5684
  };
5609
5685
 
5610
5686
 
5687
+ export type QueryResolveLocationsArgs = {
5688
+ after?: InputMaybe<Scalars['String']['input']>;
5689
+ before?: InputMaybe<Scalars['String']['input']>;
5690
+ first?: InputMaybe<Scalars['Int']['input']>;
5691
+ last?: InputMaybe<Scalars['Int']['input']>;
5692
+ query: Scalars['String']['input'];
5693
+ subtypes?: InputMaybe<LocationSubtypeFilterInput>;
5694
+ };
5695
+
5696
+
5611
5697
  export type QueryRoutineTemplateArgs = {
5612
5698
  slug: Scalars['String']['input'];
5613
5699
  };
@@ -5843,22 +5929,6 @@ export type ResumeRoutinePayload = Node & {
5843
5929
  routine: Routine;
5844
5930
  };
5845
5931
 
5846
- /** Autogenerated input type of ResumeWatcher */
5847
- export type ResumeWatcherInput = {
5848
- /** A unique identifier for the client performing the mutation. */
5849
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
5850
- id: Scalars['ID']['input'];
5851
- };
5852
-
5853
- /** Autogenerated return type of ResumeWatcher. */
5854
- export type ResumeWatcherPayload = Node & {
5855
- __typename?: 'ResumeWatcherPayload';
5856
- /** A unique identifier for the client performing the mutation. */
5857
- clientMutationId?: Maybe<Scalars['String']['output']>;
5858
- id: Scalars['ID']['output'];
5859
- watcher: Watcher;
5860
- };
5861
-
5862
5932
  /** Autogenerated input type of RetrainToneOfVoice */
5863
5933
  export type RetrainToneOfVoiceInput = {
5864
5934
  /** A unique identifier for the client performing the mutation. */
@@ -5895,35 +5965,12 @@ export type RevokeInvitationPayload = Node & {
5895
5965
  invitation: Invitation;
5896
5966
  };
5897
5967
 
5898
- /** Autogenerated input type of RotateIntegrationCredential */
5899
- export type RotateIntegrationCredentialInput = {
5900
- /** A unique identifier for the client performing the mutation. */
5901
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
5902
- /**
5903
- * Partial payload to merge into the integration's existing data blob (e.g. `{
5904
- * cookies: { li_at: "..." } }` for LinkedIn). Existing keys not present in the
5905
- * payload are preserved.
5906
- */
5907
- data: Scalars['JSON']['input'];
5908
- /** Global ID of the integration whose credential rotated. */
5909
- id: Scalars['ID']['input'];
5910
- };
5911
-
5912
- /** Autogenerated return type of RotateIntegrationCredential. */
5913
- export type RotateIntegrationCredentialPayload = Node & {
5914
- __typename?: 'RotateIntegrationCredentialPayload';
5915
- /** A unique identifier for the client performing the mutation. */
5916
- clientMutationId?: Maybe<Scalars['String']['output']>;
5917
- id: Scalars['ID']['output'];
5918
- integration: Integration;
5919
- };
5920
-
5921
- /** A named, ordered sequence of actions a Company can trigger or schedule. */
5922
- export type Routine = Node & {
5968
+ /** Federation reference to a Routine owned by another subgraph. */
5969
+ export type Routine = Node & TrackableInterface & {
5923
5970
  __typename?: 'Routine';
5924
5971
  /** Ordered actions, head first. */
5925
5972
  actions: RoutineActionConnection;
5926
- /** Activity events produced by this routine's runs, most recent first. */
5973
+ /** Activity history where this entity is the subject, most recent first. */
5927
5974
  activities: ActivityConnection;
5928
5975
  /** Set when the routine is archived. */
5929
5976
  archivedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
@@ -5946,7 +5993,7 @@ export type Routine = Node & {
5946
5993
  * recent run processed zero leads; HEALTHY otherwise.
5947
5994
  */
5948
5995
  healthStatus: RoutineHealthStatus;
5949
- /** Routine UUID. */
5996
+ /** GlobalID-encoded Routine id. */
5950
5997
  id: Scalars['ID']['output'];
5951
5998
  /** Distinct leads sourced by this routine across its lifetime, newest first. A lead re-sourced by multiple runs appears once. */
5952
5999
  leads: LeadConnection;
@@ -5966,7 +6013,7 @@ export type Routine = Node & {
5966
6013
  };
5967
6014
 
5968
6015
 
5969
- /** A named, ordered sequence of actions a Company can trigger or schedule. */
6016
+ /** Federation reference to a Routine owned by another subgraph. */
5970
6017
  export type RoutineActionsArgs = {
5971
6018
  after?: InputMaybe<Scalars['String']['input']>;
5972
6019
  before?: InputMaybe<Scalars['String']['input']>;
@@ -5975,7 +6022,7 @@ export type RoutineActionsArgs = {
5975
6022
  };
5976
6023
 
5977
6024
 
5978
- /** A named, ordered sequence of actions a Company can trigger or schedule. */
6025
+ /** Federation reference to a Routine owned by another subgraph. */
5979
6026
  export type RoutineActivitiesArgs = {
5980
6027
  after?: InputMaybe<Scalars['String']['input']>;
5981
6028
  before?: InputMaybe<Scalars['String']['input']>;
@@ -5985,7 +6032,7 @@ export type RoutineActivitiesArgs = {
5985
6032
  };
5986
6033
 
5987
6034
 
5988
- /** A named, ordered sequence of actions a Company can trigger or schedule. */
6035
+ /** Federation reference to a Routine owned by another subgraph. */
5989
6036
  export type RoutineDeprecatedActionsArgs = {
5990
6037
  after?: InputMaybe<Scalars['String']['input']>;
5991
6038
  before?: InputMaybe<Scalars['String']['input']>;
@@ -5994,7 +6041,7 @@ export type RoutineDeprecatedActionsArgs = {
5994
6041
  };
5995
6042
 
5996
6043
 
5997
- /** A named, ordered sequence of actions a Company can trigger or schedule. */
6044
+ /** Federation reference to a Routine owned by another subgraph. */
5998
6045
  export type RoutineLeadsArgs = {
5999
6046
  after?: InputMaybe<Scalars['String']['input']>;
6000
6047
  before?: InputMaybe<Scalars['String']['input']>;
@@ -6003,7 +6050,7 @@ export type RoutineLeadsArgs = {
6003
6050
  };
6004
6051
 
6005
6052
 
6006
- /** A named, ordered sequence of actions a Company can trigger or schedule. */
6053
+ /** Federation reference to a Routine owned by another subgraph. */
6007
6054
  export type RoutineRunsArgs = {
6008
6055
  after?: InputMaybe<Scalars['String']['input']>;
6009
6056
  before?: InputMaybe<Scalars['String']['input']>;
@@ -6011,14 +6058,14 @@ export type RoutineRunsArgs = {
6011
6058
  last?: InputMaybe<Scalars['Int']['input']>;
6012
6059
  };
6013
6060
 
6014
- /** Routine-bound instance of an action definition with its own configuration. */
6061
+ /** Federation reference to a RoutineAction owned by another subgraph. */
6015
6062
  export type RoutineAction = Node & {
6016
6063
  __typename?: 'RoutineAction';
6017
6064
  /** Binding configuration. Internal signal keys are redacted. */
6018
6065
  configuration: Scalars['JSON']['output'];
6019
6066
  /** Currently registered definition. */
6020
6067
  definition?: Maybe<Action>;
6021
- /** RoutineAction UUID. */
6068
+ /** GlobalID-encoded RoutineAction id. */
6022
6069
  id: Scalars['ID']['output'];
6023
6070
  /** Optional name override. */
6024
6071
  label?: Maybe<Scalars['String']['output']>;
@@ -6071,11 +6118,12 @@ export type RoutineActionInput = {
6071
6118
  version?: InputMaybe<Scalars['Int']['input']>;
6072
6119
  };
6073
6120
 
6074
- /** Result of executing one RoutineAction for one subject or the whole cohort. */
6121
+ /** Federation reference to a RoutineActionRun owned by another subgraph. */
6075
6122
  export type RoutineActionRun = Node & {
6076
6123
  __typename?: 'RoutineActionRun';
6077
6124
  createdAt: Scalars['ISO8601DateTime']['output'];
6078
6125
  failedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
6126
+ /** GlobalID-encoded RoutineActionRun id. */
6079
6127
  id: Scalars['ID']['output'];
6080
6128
  /** Result envelope. */
6081
6129
  result?: Maybe<Scalars['JSON']['output']>;
@@ -6155,7 +6203,7 @@ export type RoutineHealthStatus =
6155
6203
  /** The routine has run but its most recent run processed zero leads — possibly stuck or misconfigured. */
6156
6204
  | 'WARNING';
6157
6205
 
6158
- /** One execution of a routine over a frozen cohort. */
6206
+ /** Federation reference to a RoutineRun owned by another subgraph. */
6159
6207
  export type RoutineRun = AcquisitionerInterface & Node & TrackableInterface & {
6160
6208
  __typename?: 'RoutineRun';
6161
6209
  /** Per-action rows. */
@@ -6164,6 +6212,7 @@ export type RoutineRun = AcquisitionerInterface & Node & TrackableInterface & {
6164
6212
  activities: ActivityConnection;
6165
6213
  createdAt: Scalars['ISO8601DateTime']['output'];
6166
6214
  failedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
6215
+ /** GlobalID-encoded RoutineRun id. */
6167
6216
  id: Scalars['ID']['output'];
6168
6217
  /** Human-readable display name — the owning routine's name. Satisfies AcquisitionerInterface. */
6169
6218
  name: Scalars['String']['output'];
@@ -6180,7 +6229,7 @@ export type RoutineRun = AcquisitionerInterface & Node & TrackableInterface & {
6180
6229
  };
6181
6230
 
6182
6231
 
6183
- /** One execution of a routine over a frozen cohort. */
6232
+ /** Federation reference to a RoutineRun owned by another subgraph. */
6184
6233
  export type RoutineRunActionRunsArgs = {
6185
6234
  after?: InputMaybe<Scalars['String']['input']>;
6186
6235
  before?: InputMaybe<Scalars['String']['input']>;
@@ -6189,7 +6238,7 @@ export type RoutineRunActionRunsArgs = {
6189
6238
  };
6190
6239
 
6191
6240
 
6192
- /** One execution of a routine over a frozen cohort. */
6241
+ /** Federation reference to a RoutineRun owned by another subgraph. */
6193
6242
  export type RoutineRunActivitiesArgs = {
6194
6243
  after?: InputMaybe<Scalars['String']['input']>;
6195
6244
  before?: InputMaybe<Scalars['String']['input']>;
@@ -6389,14 +6438,66 @@ export type RunSynchronousWorkerPayload = Node & {
6389
6438
  id: Scalars['ID']['output'];
6390
6439
  };
6391
6440
 
6441
+ /** Autogenerated input type of SearchContact */
6442
+ export type SearchContactInput = {
6443
+ /** A unique identifier for the client performing the mutation. */
6444
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
6445
+ /** Caller-supplied identifier used to key the `contactIdentifyResult` subscription. */
6446
+ externalId: Scalars['ID']['input'];
6447
+ /** Exactly one lookup mode must be provided. */
6448
+ lookup: ContactLookupInput;
6449
+ };
6450
+
6451
+ /** Autogenerated return type of SearchContact. */
6452
+ export type SearchContactPayload = Node & {
6453
+ __typename?: 'SearchContactPayload';
6454
+ /** A unique identifier for the client performing the mutation. */
6455
+ clientMutationId?: Maybe<Scalars['String']['output']>;
6456
+ id: Scalars['ID']['output'];
6457
+ /** One of: received. */
6458
+ status: Scalars['String']['output'];
6459
+ };
6460
+
6461
+ /** Autogenerated input type of SearchContacts */
6462
+ export type SearchContactsInput = {
6463
+ /** A unique identifier for the client performing the mutation. */
6464
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
6465
+ /** Caller-supplied identifier used to key the `contactSearchResult` subscription. */
6466
+ externalId: Scalars['ID']['input'];
6467
+ /** Filter criteria for contacts, applied to both the local database and, where translatable, the Coresignal search. */
6468
+ filter?: InputMaybe<ContactFilterInput>;
6469
+ /**
6470
+ * Filter criteria for the contacts' organizations, applied to both the local
6471
+ * database and, where translatable, the Coresignal search.
6472
+ */
6473
+ organizationFilter?: InputMaybe<OrganizationFilterInput>;
6474
+ /** Sort order applied to the database contacts result set. */
6475
+ sort?: InputMaybe<Array<ContactSortInput>>;
6476
+ };
6477
+
6478
+ /** Autogenerated return type of SearchContacts. */
6479
+ export type SearchContactsPayload = Node & {
6480
+ __typename?: 'SearchContactsPayload';
6481
+ /** A unique identifier for the client performing the mutation. */
6482
+ clientMutationId?: Maybe<Scalars['String']['output']>;
6483
+ id: Scalars['ID']['output'];
6484
+ /** One of: received. */
6485
+ status: Scalars['String']['output'];
6486
+ };
6487
+
6392
6488
  /** Autogenerated input type of SearchOrganization */
6393
6489
  export type SearchOrganizationInput = {
6394
6490
  /** A unique identifier for the client performing the mutation. */
6395
6491
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
6396
- /** The company's primary web domain (no scheme, no trailing slash). */
6397
- domain: Scalars['String']['input'];
6398
6492
  /** Caller-supplied correlation key; pass the same value to `organizationSearchResult(externalId:)` to receive the result. */
6399
6493
  externalId: Scalars['String']['input'];
6494
+ /** Lookup mode — provide exactly one of `domain` or `byIp`. */
6495
+ lookup: OrganizationLookupInput;
6496
+ /**
6497
+ * Optional URL to receive the result via webhook instead of the federated
6498
+ * subscription. Only used with `lookup.byIp`. Requires the `atlas/source:write` scope.
6499
+ */
6500
+ webhookUrl?: InputMaybe<Scalars['String']['input']>;
6400
6501
  };
6401
6502
 
6402
6503
  /** Autogenerated return type of SearchOrganization. */
@@ -6405,6 +6506,7 @@ export type SearchOrganizationPayload = Node & {
6405
6506
  /** A unique identifier for the client performing the mutation. */
6406
6507
  clientMutationId?: Maybe<Scalars['String']['output']>;
6407
6508
  id: Scalars['ID']['output'];
6509
+ /** One of: received. */
6408
6510
  status: Scalars['String']['output'];
6409
6511
  };
6410
6512
 
@@ -6626,24 +6728,26 @@ export type StringFilterInput = {
6626
6728
 
6627
6729
  export type Subscription = {
6628
6730
  __typename?: 'Subscription';
6629
- /**
6630
- * Delivers the result of an `identifyCompany` call, keyed by `externalId`.
6631
- * Subscribe before or immediately after calling `identifyCompany`, passing the
6632
- * same `externalId`. The payload contains the matched Organization, or null if
6633
- * no company could be identified.
6634
- */
6635
- companyIdentifyResult: CompanyIdentifyResultPayload;
6636
6731
  /**
6637
6732
  * Delivers the result of an `enrichContact` call when `externalId` was supplied,
6638
6733
  * keyed by that `externalId`. The payload contains the merged Contact after enrichment.
6639
6734
  */
6640
6735
  contactEnrichmentResult: ContactEnrichmentResultPayload;
6641
6736
  /**
6642
- * Delivers the result of an `identifyContact` call, keyed by `externalId`.
6643
- * Subscribe before or immediately after calling `identifyContact`, passing the
6644
- * same `externalId`. The payload contains the matched Contact, or null if not found.
6737
+ * Delivers the result of a `searchContact` call, keyed by `externalId`.
6738
+ * Subscribe before or immediately after calling `searchContact`, passing the
6739
+ * same `externalId`. The payload contains the matched Contact (or null if not found),
6740
+ * regardless of which probe mode was used.
6645
6741
  */
6646
6742
  contactIdentifyResult: ContactIdentifyResultPayload;
6743
+ /**
6744
+ * Delivers the result of a `searchContacts` call, keyed by `externalId`.
6745
+ * The payload contains the contacts matching the filter — both
6746
+ * pre-existing database matches and newly-discovered, newly-persisted
6747
+ * third-party (Coresignal) matches, since Coresignal-sourced contacts
6748
+ * are persisted before this query runs.
6749
+ */
6750
+ contactSearchResult: ContactSearchResultPayload;
6647
6751
  /**
6648
6752
  * Delivers the result of a `validateContact` call, keyed by `externalId`.
6649
6753
  * The payload contains the Contact and per-field coherence flags in `clues`.
@@ -6656,11 +6760,6 @@ export type Subscription = {
6656
6760
  * The payload contains the Organization and per-field coherence flags in `clues`.
6657
6761
  */
6658
6762
  domainValidationResult: DomainValidationResultPayload;
6659
- /**
6660
- * Delivers the result of a `findContactEmail` call, keyed by `externalId`.
6661
- * The payload contains the Contact with the discovered email, or null if no email was found.
6662
- */
6663
- findContactEmailResult: FindContactEmailResultPayload;
6664
6763
  /**
6665
6764
  * Fires when the authenticated user's company memberships change. Returns the
6666
6765
  * user so the client can query updated membership data.
@@ -6668,8 +6767,8 @@ export type Subscription = {
6668
6767
  membershipChanged: User;
6669
6768
  /**
6670
6769
  * Delivers the result of a `searchOrganization` call, keyed by `externalId`.
6671
- * The payload contains the Organization once Atlas has looked up or enriched it,
6672
- * or null if no data was found for the domain.
6770
+ * The payload contains the Organization once Atlas has looked up or enriched it
6771
+ * (whether by domain or IP), or null if no match was found.
6673
6772
  */
6674
6773
  organizationSearchResult: OrganizationSearchResultPayload;
6675
6774
  /** Spike subscription used to validate the callback transport end-to-end. */
@@ -6677,17 +6776,17 @@ export type Subscription = {
6677
6776
  };
6678
6777
 
6679
6778
 
6680
- export type SubscriptionCompanyIdentifyResultArgs = {
6779
+ export type SubscriptionContactEnrichmentResultArgs = {
6681
6780
  externalId: Scalars['ID']['input'];
6682
6781
  };
6683
6782
 
6684
6783
 
6685
- export type SubscriptionContactEnrichmentResultArgs = {
6784
+ export type SubscriptionContactIdentifyResultArgs = {
6686
6785
  externalId: Scalars['ID']['input'];
6687
6786
  };
6688
6787
 
6689
6788
 
6690
- export type SubscriptionContactIdentifyResultArgs = {
6789
+ export type SubscriptionContactSearchResultArgs = {
6691
6790
  externalId: Scalars['ID']['input'];
6692
6791
  };
6693
6792
 
@@ -6707,11 +6806,6 @@ export type SubscriptionDomainValidationResultArgs = {
6707
6806
  };
6708
6807
 
6709
6808
 
6710
- export type SubscriptionFindContactEmailResultArgs = {
6711
- externalId: Scalars['ID']['input'];
6712
- };
6713
-
6714
-
6715
6809
  export type SubscriptionOrganizationSearchResultArgs = {
6716
6810
  externalId: Scalars['ID']['input'];
6717
6811
  };
@@ -6721,11 +6815,7 @@ export type SubscriptionPingArgs = {
6721
6815
  externalId: Scalars['ID']['input'];
6722
6816
  };
6723
6817
 
6724
- /**
6725
- * A proactive proposal Max surfaces to a company (e.g. a fix for a failing
6726
- * routine). Mutable: it moves through a lifecycle as the user acts on it or the
6727
- * underlying problem is resolved.
6728
- */
6818
+ /** Federation reference to a Suggestion owned by another subgraph. */
6729
6819
  export type Suggestion = Node & {
6730
6820
  __typename?: 'Suggestion';
6731
6821
  /**
@@ -6745,6 +6835,7 @@ export type Suggestion = Node & {
6745
6835
  * (the user is routed to a manual call to action).
6746
6836
  */
6747
6837
  executionMode: Scalars['String']['output'];
6838
+ /** GlobalID-encoded Suggestion id. */
6748
6839
  id: Scalars['ID']['output'];
6749
6840
  /** Symbolic fix this suggestion proposes. The client maps it to copy and a call to action. */
6750
6841
  remediationKey: SuggestionRemediationKeyEnum;
@@ -6797,6 +6888,12 @@ export type SuggestionRemediationInput = {
6797
6888
  * `fix_slack_channel`.
6798
6889
  */
6799
6890
  channel?: InputMaybe<Scalars['String']['input']>;
6891
+ /**
6892
+ * French city names (e.g. `["Paris", "Lyon"]`) to write into the signal
6893
+ * watcher's configuration. Required when accepting an `activate_signal`
6894
+ * suggestion for the `gmb-listing` signal.
6895
+ */
6896
+ cities?: InputMaybe<Array<Scalars['String']['input']>>;
6800
6897
  };
6801
6898
 
6802
6899
  /** Symbolic fix a suggestion proposes. The client maps each value to user-facing copy and a call to action. */
@@ -6866,17 +6963,14 @@ export type TokenResponse = Node & {
6866
6963
  tokenType?: Maybe<Scalars['String']['output']>;
6867
6964
  };
6868
6965
 
6869
- /**
6870
- * A writing style profile Max learned from conversations or sent emails. The
6871
- * active profile is injected into Max's agents to shape copy.
6872
- */
6966
+ /** Federation reference to a ToneOfVoice owned by another subgraph. */
6873
6967
  export type ToneOfVoice = Node & {
6874
6968
  __typename?: 'ToneOfVoice';
6875
6969
  /** Rules about what Max should never write (banned phrases, patterns, tones). */
6876
6970
  dontWrite: Array<Scalars['String']['output']>;
6877
6971
  /** Number of sent emails this profile was trained on. Null for conversation-based profiles. */
6878
6972
  emailsAnalyzed?: Maybe<Scalars['Int']['output']>;
6879
- /** Global ID of this tone-of-voice profile. */
6973
+ /** GlobalID-encoded ToneOfVoice id. */
6880
6974
  id: Scalars['ID']['output'];
6881
6975
  /** Rules about what Max should preserve (positive style traits to keep). */
6882
6976
  keepRules: Array<Scalars['String']['output']>;
@@ -6933,11 +7027,12 @@ export type ToneOfVoiceStatusEnum =
6933
7027
  /** Status "draft". */
6934
7028
  | 'DRAFT';
6935
7029
 
6936
- /** A tool invocation made by the assistant. */
7030
+ /** Federation reference to a ToolCall owned by another subgraph. */
6937
7031
  export type ToolCall = Node & {
6938
7032
  __typename?: 'ToolCall';
6939
7033
  /** Arguments passed to the tool, as JSON. */
6940
7034
  arguments: Scalars['JSON']['output'];
7035
+ /** GlobalID-encoded ToolCall id. */
6941
7036
  id: Scalars['ID']['output'];
6942
7037
  /** Whether the client renders this tool call and, if so, whether it awaits user input. */
6943
7038
  kind: ToolKind;
@@ -7377,7 +7472,7 @@ export type UpdateUserLocalePayload = Node & {
7377
7472
  user: User;
7378
7473
  };
7379
7474
 
7380
- /** A Max-tenant user account, upserted from the calling JWT. */
7475
+ /** Federation reference to a User owned by another subgraph. */
7381
7476
  export type User = Node & {
7382
7477
  __typename?: 'User';
7383
7478
  /** Companies this user is a member of. */
@@ -7390,7 +7485,7 @@ export type User = Node & {
7390
7485
  email: Scalars['String']['output'];
7391
7486
  /** Given name, if present in the JWT. */
7392
7487
  firstName?: Maybe<Scalars['String']['output']>;
7393
- /** Stable Max user UUID. */
7488
+ /** GlobalID-encoded User id. */
7394
7489
  id: Scalars['ID']['output'];
7395
7490
  /**
7396
7491
  * The user's user-scoped integrations (connected mailboxes / LinkedIn). Only
@@ -7417,7 +7512,7 @@ export type User = Node & {
7417
7512
  };
7418
7513
 
7419
7514
 
7420
- /** A Max-tenant user account, upserted from the calling JWT. */
7515
+ /** Federation reference to a User owned by another subgraph. */
7421
7516
  export type UserCompaniesArgs = {
7422
7517
  after?: InputMaybe<Scalars['String']['input']>;
7423
7518
  before?: InputMaybe<Scalars['String']['input']>;
@@ -7426,13 +7521,13 @@ export type UserCompaniesArgs = {
7426
7521
  };
7427
7522
 
7428
7523
 
7429
- /** A Max-tenant user account, upserted from the calling JWT. */
7524
+ /** Federation reference to a User owned by another subgraph. */
7430
7525
  export type UserCompanyArgs = {
7431
7526
  idOrSlug: Scalars['String']['input'];
7432
7527
  };
7433
7528
 
7434
7529
 
7435
- /** A Max-tenant user account, upserted from the calling JWT. */
7530
+ /** Federation reference to a User owned by another subgraph. */
7436
7531
  export type UserIntegrationsArgs = {
7437
7532
  after?: InputMaybe<Scalars['String']['input']>;
7438
7533
  before?: InputMaybe<Scalars['String']['input']>;
@@ -7441,7 +7536,7 @@ export type UserIntegrationsArgs = {
7441
7536
  };
7442
7537
 
7443
7538
 
7444
- /** A Max-tenant user account, upserted from the calling JWT. */
7539
+ /** Federation reference to a User owned by another subgraph. */
7445
7540
  export type UserMembershipsArgs = {
7446
7541
  after?: InputMaybe<Scalars['String']['input']>;
7447
7542
  before?: InputMaybe<Scalars['String']['input']>;
@@ -7450,7 +7545,7 @@ export type UserMembershipsArgs = {
7450
7545
  };
7451
7546
 
7452
7547
 
7453
- /** A Max-tenant user account, upserted from the calling JWT. */
7548
+ /** Federation reference to a User owned by another subgraph. */
7454
7549
  export type UserOwnerArgs = {
7455
7550
  conversationId: Scalars['ID']['input'];
7456
7551
  };
@@ -7545,6 +7640,7 @@ export type ValidateContactPayload = Node & {
7545
7640
  /** A unique identifier for the client performing the mutation. */
7546
7641
  clientMutationId?: Maybe<Scalars['String']['output']>;
7547
7642
  id: Scalars['ID']['output'];
7643
+ /** One of: received. */
7548
7644
  status: Scalars['String']['output'];
7549
7645
  };
7550
7646
 
@@ -7572,6 +7668,7 @@ export type ValidateDomainPayload = Node & {
7572
7668
  /** A unique identifier for the client performing the mutation. */
7573
7669
  clientMutationId?: Maybe<Scalars['String']['output']>;
7574
7670
  id: Scalars['ID']['output'];
7671
+ /** One of: received. */
7575
7672
  status: Scalars['String']['output'];
7576
7673
  };
7577
7674
 
@@ -7599,7 +7696,7 @@ export type ValidationChecksInput = {
7599
7696
  phone?: InputMaybe<Scalars['String']['input']>;
7600
7697
  };
7601
7698
 
7602
- /** Federation reference to a Signals-owned Watcher. */
7699
+ /** Federation reference to a Watcher owned by another subgraph. */
7603
7700
  export type Watcher = AcquisitionerInterface & Node & {
7604
7701
  __typename?: 'Watcher';
7605
7702
  /** Timestamp at which the Watcher was permanently canceled, or null if active or paused. */
@@ -7612,7 +7709,7 @@ export type Watcher = AcquisitionerInterface & Node & {
7612
7709
  definition: Definition;
7613
7710
  /** Captured Events for this Watcher, newest first. */
7614
7711
  events: EventConnection;
7615
- /** GlobalID-encoded watcher id. */
7712
+ /** GlobalID-encoded Watcher id. */
7616
7713
  id: Scalars['ID']['output'];
7617
7714
  /**
7618
7715
  * User-supplied input that defines what to track (e.g. keywords, domain, post
@@ -7631,8 +7728,6 @@ export type Watcher = AcquisitionerInterface & Node & {
7631
7728
  installations: Array<Scalars['JSON']['output']>;
7632
7729
  /** Human-readable display name of the Watcher, derived from the signal Definition it tracks. */
7633
7730
  name: Scalars['String']['output'];
7634
- /** Timestamp at which the Watcher was paused, or null if active or canceled. */
7635
- pausedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
7636
7731
  /** Timestamp of the most recent change to this Watcher. */
7637
7732
  updatedAt: Scalars['ISO8601DateTime']['output'];
7638
7733
  /** Delivery URLs registered on this watcher. Secrets are never exposed. */
@@ -7640,7 +7735,7 @@ export type Watcher = AcquisitionerInterface & Node & {
7640
7735
  };
7641
7736
 
7642
7737
 
7643
- /** Federation reference to a Signals-owned Watcher. */
7738
+ /** Federation reference to a Watcher owned by another subgraph. */
7644
7739
  export type WatcherEventsArgs = {
7645
7740
  after?: InputMaybe<Scalars['String']['input']>;
7646
7741
  before?: InputMaybe<Scalars['String']['input']>;
@@ -7759,6 +7854,7 @@ export type Join__Graph =
7759
7854
  | 'BILLING'
7760
7855
  | 'HERMES'
7761
7856
  | 'MAX'
7857
+ | 'MERCATOR'
7762
7858
  | 'OUTREACH'
7763
7859
  | 'SIGNALS';
7764
7860
 
@@ -7771,204 +7867,7 @@ export type Link__Purpose =
7771
7867
  export type MeQueryVariables = Exact<{ [key: string]: never; }>;
7772
7868
 
7773
7869
 
7774
- export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'User', sub: string, email: string, firstName?: string | null, lastName?: string | null, companies: { __typename?: 'CompanyConnection', nodes?: Array<{ __typename?: 'Company', id: string, name: string, slug: string } | null> | null }, memberships: { __typename?: 'MembershipConnection', nodes?: Array<{ __typename?: 'Membership', conversation: { __typename?: 'Conversation', id: string }, company: { __typename?: 'Company', id: string } } | null> | null } } | null };
7775
-
7776
- export type ConversationQueryVariables = Exact<{
7777
- id: Scalars['ID']['input'];
7778
- }>;
7779
-
7780
-
7781
- export type ConversationQuery = { __typename?: 'Query', node?:
7782
- | { __typename?: 'AcceptInvitationPayload' }
7783
- | { __typename?: 'AcceptOnboardingInvitePayload' }
7784
- | { __typename?: 'AcceptSuggestionPayload' }
7785
- | { __typename?: 'AcknowledgeBillingStatePayload' }
7786
- | { __typename?: 'Action' }
7787
- | { __typename?: 'ActionEdge' }
7788
- | { __typename?: 'Activity' }
7789
- | { __typename?: 'ActivityEdge' }
7790
- | { __typename?: 'AgentTask' }
7791
- | { __typename?: 'AgentTaskEdge' }
7792
- | { __typename?: 'BillingCredit' }
7793
- | { __typename?: 'BillingCreditEdge' }
7794
- | { __typename?: 'BillingCustomer' }
7795
- | { __typename?: 'BillingDebit' }
7796
- | { __typename?: 'BillingInvoice' }
7797
- | { __typename?: 'BillingInvoiceEdge' }
7798
- | { __typename?: 'BillingPlanCatalogEntry' }
7799
- | { __typename?: 'BillingSubscription' }
7800
- | { __typename?: 'BillingSubscriptionChangePreview' }
7801
- | { __typename?: 'CancelBillingCustomerSubscriptionsPayload' }
7802
- | { __typename?: 'CancelConversationPayload' }
7803
- | { __typename?: 'ChangeBillingSubscriptionPayload' }
7804
- | { __typename?: 'Company' }
7805
- | { __typename?: 'CompanyEdge' }
7806
- | { __typename?: 'CompanyOnboardingTask' }
7807
- | { __typename?: 'CompanyOnboardingTaskEdge' }
7808
- | { __typename?: 'Competitor' }
7809
- | { __typename?: 'CompetitorEdge' }
7810
- | { __typename?: 'ConnectIntegrationPayload' }
7811
- | { __typename?: 'Contact' }
7812
- | { __typename?: 'Conversation', id: string, title?: string | null, status: string, modelId: string, createdAt: any, updatedAt: any, messages: { __typename?: 'MessageConnection', nodes?: Array<{ __typename?: 'Message', id: string, role: string, content?: string | null, modelId?: string | null, inputTokens?: number | null, outputTokens?: number | null, createdAt: any } | null> | null } }
7813
- | { __typename?: 'CreateBillingCheckoutPayload' }
7814
- | { __typename?: 'CreateBillingCheckoutSessionPayload' }
7815
- | { __typename?: 'CreateBillingCustomerPayload' }
7816
- | { __typename?: 'CreateBillingEmbeddedCheckoutSessionPayload' }
7817
- | { __typename?: 'CreateBillingOfferEmbeddedCheckoutSessionPayload' }
7818
- | { __typename?: 'CreateBillingOfferPayload' }
7819
- | { __typename?: 'CreateBillingPortalSessionPayload' }
7820
- | { __typename?: 'CreateCompanyPayload' }
7821
- | { __typename?: 'CreateCompetitorPayload' }
7822
- | { __typename?: 'CreateDifferentiatorPayload' }
7823
- | { __typename?: 'CreateIdealCustomerProfilePayload' }
7824
- | { __typename?: 'CreateInvitationPayload' }
7825
- | { __typename?: 'CreatePositioningPayload' }
7826
- | { __typename?: 'CreateRoutineFromTemplatePayload' }
7827
- | { __typename?: 'CreateRoutinePayload' }
7828
- | { __typename?: 'CreateSalesOfferPayload' }
7829
- | { __typename?: 'CreateWatcherPayload' }
7830
- | { __typename?: 'DebitCreditsPayload' }
7831
- | { __typename?: 'DeleteBillingCustomerPayload' }
7832
- | { __typename?: 'DeleteWatcherPayload' }
7833
- | { __typename?: 'DeprecatedActionBinding' }
7834
- | { __typename?: 'DeprecatedActionBindingEdge' }
7835
- | { __typename?: 'DestroyCompetitorPayload' }
7836
- | { __typename?: 'DestroyDifferentiatorPayload' }
7837
- | { __typename?: 'DestroyIdealCustomerProfilePayload' }
7838
- | { __typename?: 'DestroyMemoryPayload' }
7839
- | { __typename?: 'DestroyPositioningPayload' }
7840
- | { __typename?: 'DestroyRoutinePayload' }
7841
- | { __typename?: 'DeviceCodeResponse' }
7842
- | { __typename?: 'Differentiator' }
7843
- | { __typename?: 'DifferentiatorEdge' }
7844
- | { __typename?: 'DisconnectIntegrationPayload' }
7845
- | { __typename?: 'EnsureBillingCustomerPayload' }
7846
- | { __typename?: 'Event' }
7847
- | { __typename?: 'EventEdge' }
7848
- | { __typename?: 'FindContactEmailPayload' }
7849
- | { __typename?: 'IdealCustomerProfile' }
7850
- | { __typename?: 'IdealCustomerProfileEdge' }
7851
- | { __typename?: 'Identification' }
7852
- | { __typename?: 'IdentificationEdge' }
7853
- | { __typename?: 'IdentifyCompanyPayload' }
7854
- | { __typename?: 'IdentifyContactPayload' }
7855
- | { __typename?: 'ImpersonateUserPayload' }
7856
- | { __typename?: 'InitiateIntegrationOauthPayload' }
7857
- | { __typename?: 'Integration' }
7858
- | { __typename?: 'IntegrationEdge' }
7859
- | { __typename?: 'IntegrationProvider' }
7860
- | { __typename?: 'IntegrationProviderEdge' }
7861
- | { __typename?: 'Invitation' }
7862
- | { __typename?: 'InvitationEdge' }
7863
- | { __typename?: 'Lead' }
7864
- | { __typename?: 'LeadAcquisition' }
7865
- | { __typename?: 'LeadAcquisitionEdge' }
7866
- | { __typename?: 'LeadEdge' }
7867
- | { __typename?: 'LeadQualification' }
7868
- | { __typename?: 'LeadQualificationEdge' }
7869
- | { __typename?: 'Membership' }
7870
- | { __typename?: 'MembershipEdge' }
7871
- | { __typename?: 'MembershipOnboardingTask' }
7872
- | { __typename?: 'MembershipOnboardingTaskEdge' }
7873
- | { __typename?: 'Memory' }
7874
- | { __typename?: 'MemoryEdge' }
7875
- | { __typename?: 'Message' }
7876
- | { __typename?: 'MessageEdge' }
7877
- | { __typename?: 'NotifyBillingCapReachedPayload' }
7878
- | { __typename?: 'Offer' }
7879
- | { __typename?: 'Organization' }
7880
- | { __typename?: 'OrganizationAddress' }
7881
- | { __typename?: 'OrganizationAddressEdge' }
7882
- | { __typename?: 'OrganizationEdge' }
7883
- | { __typename?: 'OutboundCampaign' }
7884
- | { __typename?: 'OutboundCampaignEnrollment' }
7885
- | { __typename?: 'OutboundCampaignMessagePreview' }
7886
- | { __typename?: 'OutboundCampaignPreview' }
7887
- | { __typename?: 'OutboundCampaignStep' }
7888
- | { __typename?: 'PauseRoutinePayload' }
7889
- | { __typename?: 'PauseWatcherPayload' }
7890
- | { __typename?: 'Positioning' }
7891
- | { __typename?: 'PurchaseCreditsPayload' }
7892
- | { __typename?: 'RecordActivityPayload' }
7893
- | { __typename?: 'RegenerateCompetitorsPayload' }
7894
- | { __typename?: 'RegeneratePositioningPayload' }
7895
- | { __typename?: 'RejectSuggestionPayload' }
7896
- | { __typename?: 'RemoveMembershipPayload' }
7897
- | { __typename?: 'ResendEmailVerificationPayload' }
7898
- | { __typename?: 'ResendInvitationPayload' }
7899
- | { __typename?: 'ResetCompanyPayload' }
7900
- | { __typename?: 'RespondToToolCallPayload' }
7901
- | { __typename?: 'ResumeRoutinePayload' }
7902
- | { __typename?: 'ResumeWatcherPayload' }
7903
- | { __typename?: 'RetrainToneOfVoicePayload' }
7904
- | { __typename?: 'RevokeInvitationPayload' }
7905
- | { __typename?: 'RotateIntegrationCredentialPayload' }
7906
- | { __typename?: 'Routine' }
7907
- | { __typename?: 'RoutineAction' }
7908
- | { __typename?: 'RoutineActionEdge' }
7909
- | { __typename?: 'RoutineActionRun' }
7910
- | { __typename?: 'RoutineActionRunEdge' }
7911
- | { __typename?: 'RoutineEdge' }
7912
- | { __typename?: 'RoutineRun' }
7913
- | { __typename?: 'RoutineRunEdge' }
7914
- | { __typename?: 'RoutineTemplate' }
7915
- | { __typename?: 'RoutineTemplateAction' }
7916
- | { __typename?: 'RoutineTemplateActionEdge' }
7917
- | { __typename?: 'RoutineTemplateEdge' }
7918
- | { __typename?: 'RunMaxSynchronousWorkerPayload' }
7919
- | { __typename?: 'RunSignalsSynchronousWorkerPayload' }
7920
- | { __typename?: 'RunSynchronousWorkerPayload' }
7921
- | { __typename?: 'SearchOrganizationPayload' }
7922
- | { __typename?: 'SendTransactionalEmailPayload' }
7923
- | { __typename?: 'SetWebhookActivePayload' }
7924
- | { __typename?: 'SkipMembershipOnboardingTaskPayload' }
7925
- | { __typename?: 'SlackChannel' }
7926
- | { __typename?: 'SlackChannelEdge' }
7927
- | { __typename?: 'Source' }
7928
- | { __typename?: 'Suggestion' }
7929
- | { __typename?: 'SuggestionEdge' }
7930
- | { __typename?: 'TokenResponse' }
7931
- | { __typename?: 'ToneOfVoice' }
7932
- | { __typename?: 'ToneOfVoiceEdge' }
7933
- | { __typename?: 'ToolCall' }
7934
- | { __typename?: 'ToolCallEdge' }
7935
- | { __typename?: 'TriggerRoutinePayload' }
7936
- | { __typename?: 'TriggerWatcherPayload' }
7937
- | { __typename?: 'UpdateBillingSubscriptionSeatsPayload' }
7938
- | { __typename?: 'UpdateCompanyPayload' }
7939
- | { __typename?: 'UpdateCompetitorPayload' }
7940
- | { __typename?: 'UpdateDifferentiatorPayload' }
7941
- | { __typename?: 'UpdateIdealCustomerProfilePayload' }
7942
- | { __typename?: 'UpdatePositioningPayload' }
7943
- | { __typename?: 'UpdateRoutinePayload' }
7944
- | { __typename?: 'UpdateUserLocalePayload' }
7945
- | { __typename?: 'User' }
7946
- | { __typename?: 'UserEdge' }
7947
- | { __typename?: 'ValidateContactPayload' }
7948
- | { __typename?: 'ValidateDomainPayload' }
7949
- | { __typename?: 'Watcher' }
7950
- | null };
7951
-
7952
- export type SendMessageMutationVariables = Exact<{
7953
- input: SendMessageInput;
7954
- }>;
7955
-
7956
-
7957
- export type SendMessageMutation = { __typename?: 'Mutation', sendMessage?: { __typename?: 'Message', id: string, role: string, content?: string | null, createdAt: any } | null };
7958
-
7959
- export type RespondToToolCallMutationVariables = Exact<{
7960
- input: RespondToToolCallInput;
7961
- }>;
7962
-
7963
-
7964
- export type RespondToToolCallMutation = { __typename?: 'Mutation', respondToToolCall?: { __typename?: 'RespondToToolCallPayload', ok: boolean } | null };
7965
-
7966
- export type CancelConversationMutationVariables = Exact<{
7967
- input: CancelConversationInput;
7968
- }>;
7969
-
7970
-
7971
- export type CancelConversationMutation = { __typename?: 'Mutation', cancelConversation?: { __typename?: 'CancelConversationPayload', ok: boolean } | null };
7870
+ export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'User', sub: string, email: string, firstName?: string | null, lastName?: string | null, companies: { __typename?: 'CompanyConnection', nodes?: Array<{ __typename?: 'Company', id: string, name: string, slug: string } | null> | null } } | null };
7972
7871
 
7973
7872
  export type CreateSalesOfferMutationVariables = Exact<{
7974
7873
  input: CreateSalesOfferInput;
@@ -7977,28 +7876,6 @@ export type CreateSalesOfferMutationVariables = Exact<{
7977
7876
 
7978
7877
  export type CreateSalesOfferMutation = { __typename?: 'Mutation', createSalesOffer?: { __typename?: 'CreateSalesOfferPayload', inviteUrl: string, offerId: string, companyId: string } | null };
7979
7878
 
7980
- export type ConversationEventSubscriptionVariables = Exact<{
7981
- conversationId: Scalars['ID']['input'];
7982
- }>;
7983
-
7984
-
7985
- export type ConversationEventSubscription = { __typename?: 'Subscription', conversationEvent:
7986
- | { __typename: 'AgentLoopCancelledEvent', agentLoopId: string, agentLoopSequence: number }
7987
- | { __typename: 'AgentLoopCompletedEvent', messageId?: string | null, agentLoopId: string, agentLoopSequence: number }
7988
- | { __typename: 'AgentLoopFailedEvent', message: string, agentLoopId: string, agentLoopSequence: number }
7989
- | { __typename: 'AgentLoopPausedEvent', agentLoopId: string, agentLoopSequence: number }
7990
- | { __typename: 'AgentLoopResumedEvent', agentLoopId: string, agentLoopSequence: number }
7991
- | { __typename: 'AgentLoopStartedEvent', agentLoopId: string, agentLoopSequence: number }
7992
- | { __typename: 'AgentPickedEvent', agent: string, reason?: string | null, turn: number, agentLoopId: string, agentLoopSequence: number }
7993
- | { __typename: 'AgentTaskEvent', agentLoopId: string, agentLoopSequence: number }
7994
- | { __typename: 'MessageChunkEvent', content: string, agentLoopId: string, agentLoopSequence: number }
7995
- | { __typename: 'MessageEndedEvent', agentLoopId: string, agentLoopSequence: number }
7996
- | { __typename: 'MessageStartedEvent', agentLoopId: string, agentLoopSequence: number }
7997
- | { __typename: 'SupervisorVerdictEvent', verdict: string, reason?: string | null, turn: number, agentLoopId: string, agentLoopSequence: number }
7998
- | { __typename: 'ToolCallEvent', toolName: string, toolCallId: string, arguments?: any | null, agentLoopId: string, agentLoopSequence: number }
7999
- | { __typename: 'ToolResultEvent', toolCallId: string, content: string, agentLoopId: string, agentLoopSequence: number }
8000
- };
8001
-
8002
7879
  export type LogoutUrlQueryVariables = Exact<{ [key: string]: never; }>;
8003
7880
 
8004
7881
 
@@ -8026,13 +7903,8 @@ export type RefreshTokenMutationVariables = Exact<{
8026
7903
  export type RefreshTokenMutation = { __typename?: 'Mutation', refreshToken?: { __typename?: 'TokenResponse', accessToken?: string | null, error?: string | null, expiresIn?: number | null, idToken?: string | null, refreshToken?: string | null, tokenType?: string | null } | null };
8027
7904
 
8028
7905
 
8029
- export const MeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Me"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"me"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sub"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"companies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"memberships"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"conversation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"company"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<MeQuery, MeQueryVariables>;
8030
- export const ConversationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Conversation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Conversation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"messages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"last"},"value":{"kind":"IntValue","value":"50"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"inputTokens"}},{"kind":"Field","name":{"kind":"Name","value":"outputTokens"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<ConversationQuery, ConversationQueryVariables>;
8031
- export const SendMessageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SendMessage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SendMessageInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendMessage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]} as unknown as DocumentNode<SendMessageMutation, SendMessageMutationVariables>;
8032
- export const RespondToToolCallDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RespondToToolCall"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RespondToToolCallInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"respondToToolCall"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode<RespondToToolCallMutation, RespondToToolCallMutationVariables>;
8033
- export const CancelConversationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelConversation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CancelConversationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelConversation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode<CancelConversationMutation, CancelConversationMutationVariables>;
7906
+ export const MeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Me"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"me"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sub"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"companies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]}}]} as unknown as DocumentNode<MeQuery, MeQueryVariables>;
8034
7907
  export const CreateSalesOfferDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateSalesOffer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateSalesOfferInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createSalesOffer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inviteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"offerId"}},{"kind":"Field","name":{"kind":"Name","value":"companyId"}}]}}]}}]} as unknown as DocumentNode<CreateSalesOfferMutation, CreateSalesOfferMutationVariables>;
8035
- export const ConversationEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"ConversationEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"conversationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"conversationEvent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"conversationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"conversationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"agentLoopId"}},{"kind":"Field","name":{"kind":"Name","value":"agentLoopSequence"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MessageChunkEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ToolCallEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"toolName"}},{"kind":"Field","name":{"kind":"Name","value":"toolCallId"}},{"kind":"Field","name":{"kind":"Name","value":"arguments"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ToolResultEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"toolCallId"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AgentPickedEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"agent"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"turn"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SupervisorVerdictEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"verdict"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"turn"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AgentLoopCompletedEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"messageId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AgentLoopFailedEvent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<ConversationEventSubscription, ConversationEventSubscriptionVariables>;
8036
7908
  export const LogoutUrlDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LogoutUrl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logoutUrl"}}]}}]} as unknown as DocumentNode<LogoutUrlQuery, LogoutUrlQueryVariables>;
8037
7909
  export const DeviceAuthorizeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeviceAuthorize"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeviceAuthorizeInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deviceAuthorize"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deviceCode"}},{"kind":"Field","name":{"kind":"Name","value":"expiresIn"}},{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"userCode"}},{"kind":"Field","name":{"kind":"Name","value":"verificationUri"}},{"kind":"Field","name":{"kind":"Name","value":"verificationUriComplete"}}]}}]}}]} as unknown as DocumentNode<DeviceAuthorizeMutation, DeviceAuthorizeMutationVariables>;
8038
7910
  export const DeviceTokenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeviceToken"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeviceTokenInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deviceToken"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accessToken"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"expiresIn"}},{"kind":"Field","name":{"kind":"Name","value":"idToken"}},{"kind":"Field","name":{"kind":"Name","value":"refreshToken"}},{"kind":"Field","name":{"kind":"Name","value":"tokenType"}}]}}]}}]} as unknown as DocumentNode<DeviceTokenMutation, DeviceTokenMutationVariables>;