@sortlist/cli 0.32.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/config.ts +3 -4
- package/src/commands/dynamic.ts +2 -13
- package/src/commands/login.ts +3 -58
- package/src/commands/whoami.ts +28 -23
- package/src/graphql/generated/gql.ts +3 -9
- package/src/graphql/generated/graphql.ts +670 -83
- package/src/graphql/operations/common.ts +0 -17
- package/src/graphql/query-builder.ts +5 -2
- package/src/index.ts +1 -5
- package/src/lib/company.ts +4 -24
- package/src/lib/config.ts +0 -4
- package/src/commands/offer.ts +0 -96
- package/src/commands/switch.ts +0 -72
|
@@ -18,9 +18,11 @@ export type Scalars = {
|
|
|
18
18
|
ISO8601Date: { input: any; output: any; }
|
|
19
19
|
/** An ISO 8601-encoded datetime */
|
|
20
20
|
ISO8601DateTime: { input: any; output: any; }
|
|
21
|
+
/** An ISO 8601-encoded duration */
|
|
22
|
+
ISO8601Duration: { input: any; output: any; }
|
|
21
23
|
/** Represents untyped JSON */
|
|
22
24
|
JSON: { input: any; output: any; }
|
|
23
|
-
/** An integer range represented as a two-element array [min, max]. */
|
|
25
|
+
/** An integer range represented as a two-element array [min, max]. A one-element array [min] is open-ended. */
|
|
24
26
|
Range: { input: any; output: any; }
|
|
25
27
|
join__DirectiveArguments: { input: any; output: any; }
|
|
26
28
|
join__FieldSet: { input: any; output: any; }
|
|
@@ -172,11 +174,10 @@ export type ActionConnection = {
|
|
|
172
174
|
};
|
|
173
175
|
|
|
174
176
|
/** An edge in a connection. */
|
|
175
|
-
export type ActionEdge =
|
|
177
|
+
export type ActionEdge = {
|
|
176
178
|
__typename?: 'ActionEdge';
|
|
177
179
|
/** A cursor for use in pagination. */
|
|
178
180
|
cursor: Scalars['String']['output'];
|
|
179
|
-
id: Scalars['ID']['output'];
|
|
180
181
|
/** The item at the end of the edge. */
|
|
181
182
|
node?: Maybe<Action>;
|
|
182
183
|
};
|
|
@@ -230,11 +231,10 @@ export type ActivityConnection = {
|
|
|
230
231
|
};
|
|
231
232
|
|
|
232
233
|
/** An edge in a connection. */
|
|
233
|
-
export type ActivityEdge =
|
|
234
|
+
export type ActivityEdge = {
|
|
234
235
|
__typename?: 'ActivityEdge';
|
|
235
236
|
/** A cursor for use in pagination. */
|
|
236
237
|
cursor: Scalars['String']['output'];
|
|
237
|
-
id: Scalars['ID']['output'];
|
|
238
238
|
/** The item at the end of the edge. */
|
|
239
239
|
node?: Maybe<Activity>;
|
|
240
240
|
};
|
|
@@ -259,6 +259,32 @@ export type ActivityKindEnum =
|
|
|
259
259
|
| 'SIGNAL_FIRED'
|
|
260
260
|
| 'SUGGESTION';
|
|
261
261
|
|
|
262
|
+
/** A national administrative code attached to a division, such as a French INSEE region or département code. */
|
|
263
|
+
export type AdministrativeCode = Node & {
|
|
264
|
+
__typename?: 'AdministrativeCode';
|
|
265
|
+
id: Scalars['ID']['output'];
|
|
266
|
+
/**
|
|
267
|
+
* Global id of the division that carries this code natively. Equals the queried
|
|
268
|
+
* location's own id for its own codes, or an ancestor's id for an inherited one
|
|
269
|
+
* — e.g. Lyon reports Rhône's département code with Rhône's id here.
|
|
270
|
+
*/
|
|
271
|
+
locationId: Scalars['ID']['output'];
|
|
272
|
+
/** Coding scheme the value belongs to. */
|
|
273
|
+
scheme: AdministrativeCodeScheme;
|
|
274
|
+
/** The code itself, as the scheme's authority writes it — e.g. "11", "2A", "971". Not zero-stripped. */
|
|
275
|
+
value: Scalars['String']['output'];
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
/** National coding scheme an administrative code belongs to. */
|
|
279
|
+
export type AdministrativeCodeScheme =
|
|
280
|
+
/**
|
|
281
|
+
* French INSEE département code, e.g. "69" for Rhône, "2A" for Corse-du-Sud,
|
|
282
|
+
* "971" for Guadeloupe. Carried by COUNTY divisions.
|
|
283
|
+
*/
|
|
284
|
+
| 'INSEE_DEPARTMENT'
|
|
285
|
+
/** French INSEE region code, e.g. "11" for Île-de-France. Carried by REGION divisions. */
|
|
286
|
+
| 'INSEE_REGION';
|
|
287
|
+
|
|
262
288
|
/** The assistant's reply was cancelled before it finished. */
|
|
263
289
|
export type AgentLoopCancelledEvent = ConversationEventInterface & {
|
|
264
290
|
__typename?: 'AgentLoopCancelledEvent';
|
|
@@ -362,11 +388,10 @@ export type AgentTaskConnection = {
|
|
|
362
388
|
};
|
|
363
389
|
|
|
364
390
|
/** An edge in a connection. */
|
|
365
|
-
export type AgentTaskEdge =
|
|
391
|
+
export type AgentTaskEdge = {
|
|
366
392
|
__typename?: 'AgentTaskEdge';
|
|
367
393
|
/** A cursor for use in pagination. */
|
|
368
394
|
cursor: Scalars['String']['output'];
|
|
369
|
-
id: Scalars['ID']['output'];
|
|
370
395
|
/** The item at the end of the edge. */
|
|
371
396
|
node?: Maybe<AgentTask>;
|
|
372
397
|
};
|
|
@@ -455,11 +480,10 @@ export type BillingCreditConnection = {
|
|
|
455
480
|
};
|
|
456
481
|
|
|
457
482
|
/** An edge in a connection. */
|
|
458
|
-
export type BillingCreditEdge =
|
|
483
|
+
export type BillingCreditEdge = {
|
|
459
484
|
__typename?: 'BillingCreditEdge';
|
|
460
485
|
/** A cursor for use in pagination. */
|
|
461
486
|
cursor: Scalars['String']['output'];
|
|
462
|
-
id: Scalars['ID']['output'];
|
|
463
487
|
/** The item at the end of the edge. */
|
|
464
488
|
node?: Maybe<BillingCredit>;
|
|
465
489
|
};
|
|
@@ -489,6 +513,11 @@ export type BillingCustomer = Node & {
|
|
|
489
513
|
invoices: BillingInvoiceConnection;
|
|
490
514
|
/** The customer's outstanding sales offer (a pre-negotiated custom plan awaiting checkout), or null when none is pending. */
|
|
491
515
|
pendingOffer?: Maybe<Offer>;
|
|
516
|
+
/**
|
|
517
|
+
* Product this customer belongs to. Decides the Stripe account and plan catalog;
|
|
518
|
+
* credits and subscriptions never cross products.
|
|
519
|
+
*/
|
|
520
|
+
product: BillingProduct;
|
|
492
521
|
/** Total seats the customer is paying for: plan default + extras. */
|
|
493
522
|
seats: Scalars['Int']['output'];
|
|
494
523
|
/** Customer's VAT number for EU customers, captured by Stripe at Checkout. */
|
|
@@ -592,11 +621,10 @@ export type BillingInvoiceConnection = {
|
|
|
592
621
|
};
|
|
593
622
|
|
|
594
623
|
/** An edge in a connection. */
|
|
595
|
-
export type BillingInvoiceEdge =
|
|
624
|
+
export type BillingInvoiceEdge = {
|
|
596
625
|
__typename?: 'BillingInvoiceEdge';
|
|
597
626
|
/** A cursor for use in pagination. */
|
|
598
627
|
cursor: Scalars['String']['output'];
|
|
599
|
-
id: Scalars['ID']['output'];
|
|
600
628
|
/** The item at the end of the edge. */
|
|
601
629
|
node?: Maybe<BillingInvoice>;
|
|
602
630
|
};
|
|
@@ -659,6 +687,17 @@ export type BillingPlanName =
|
|
|
659
687
|
/** 1 seat, smallest credit allowance. */
|
|
660
688
|
| 'STARTER';
|
|
661
689
|
|
|
690
|
+
/**
|
|
691
|
+
* Sortlist product a billing customer belongs to. Each product runs on its own
|
|
692
|
+
* Stripe account with its own plan catalog; credits, subscriptions, and invoices
|
|
693
|
+
* never cross products.
|
|
694
|
+
*/
|
|
695
|
+
export type BillingProduct =
|
|
696
|
+
/** The original shared Stripe account — the old Max app's billing and the marketplace's Recurly payment-gateway traffic. */
|
|
697
|
+
| 'LEGACY'
|
|
698
|
+
/** The new Max product (rebuilt app replacing the old Max, keeping the name), on its own dedicated Stripe account. */
|
|
699
|
+
| 'MAX';
|
|
700
|
+
|
|
662
701
|
/**
|
|
663
702
|
* A mirrored Stripe subscription. Plan tier is identified by the subscription's
|
|
664
703
|
* plan-item Price (`PlanCatalog.find_by_stripe_price_id`).
|
|
@@ -753,6 +792,77 @@ export type CancelConversationPayload = Node & {
|
|
|
753
792
|
ok: Scalars['Boolean']['output'];
|
|
754
793
|
};
|
|
755
794
|
|
|
795
|
+
/** A single entry in a contact's career history: a work-experience role, degree, certification, award, or publication. */
|
|
796
|
+
export type CareerEntry = Node & {
|
|
797
|
+
__typename?: 'CareerEntry';
|
|
798
|
+
/** Free-text description of the entry as provided by the source. */
|
|
799
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
800
|
+
/** End date of the entry (upper bound of its period), or null when the entry is ongoing or the source gave no end date. */
|
|
801
|
+
endedOn?: Maybe<Scalars['ISO8601Date']['output']>;
|
|
802
|
+
id: Scalars['ID']['output'];
|
|
803
|
+
/** Which kind of career entry this is. */
|
|
804
|
+
kind: CareerEntryKind;
|
|
805
|
+
/**
|
|
806
|
+
* The organization this entry links to (e.g. the employer or school), or null
|
|
807
|
+
* when it could not be resolved to a known record.
|
|
808
|
+
*/
|
|
809
|
+
organization?: Maybe<Organization>;
|
|
810
|
+
/** Start date of the entry (lower bound of its period), or null when the source gave no start date. */
|
|
811
|
+
startedOn?: Maybe<Scalars['ISO8601Date']['output']>;
|
|
812
|
+
/** The entry's headline — role title, degree, certification name, award title, or publication title depending on kind. */
|
|
813
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
814
|
+
/** Source URL for the entry (e.g. the credential link), or null. */
|
|
815
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
/** The connection type for CareerEntry. */
|
|
819
|
+
export type CareerEntryConnection = {
|
|
820
|
+
__typename?: 'CareerEntryConnection';
|
|
821
|
+
/** A list of edges. */
|
|
822
|
+
edges?: Maybe<Array<Maybe<CareerEntryEdge>>>;
|
|
823
|
+
/** A list of nodes. */
|
|
824
|
+
nodes?: Maybe<Array<Maybe<CareerEntry>>>;
|
|
825
|
+
/** Information to aid in pagination. */
|
|
826
|
+
pageInfo: PageInfo;
|
|
827
|
+
/** Total number of items across all pages. */
|
|
828
|
+
totalCount: Scalars['Int']['output'];
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
/** An edge in a connection. */
|
|
832
|
+
export type CareerEntryEdge = Node & {
|
|
833
|
+
__typename?: 'CareerEntryEdge';
|
|
834
|
+
/** A cursor for use in pagination. */
|
|
835
|
+
cursor: Scalars['String']['output'];
|
|
836
|
+
id: Scalars['ID']['output'];
|
|
837
|
+
/** The item at the end of the edge. */
|
|
838
|
+
node?: Maybe<CareerEntry>;
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
/** The kind of entry in a contact's career history. */
|
|
842
|
+
export type CareerEntryKind =
|
|
843
|
+
/** An award or honor received. */
|
|
844
|
+
| 'AWARD'
|
|
845
|
+
/** A professional certification. */
|
|
846
|
+
| 'CERTIFICATION'
|
|
847
|
+
/** A degree or course of study. */
|
|
848
|
+
| 'EDUCATION'
|
|
849
|
+
/** A past or current work-experience role. */
|
|
850
|
+
| 'EXPERIENCE'
|
|
851
|
+
/** An authored publication. */
|
|
852
|
+
| 'PUBLICATION';
|
|
853
|
+
|
|
854
|
+
/** Filter on career-entry kind with schema-validated enum values. */
|
|
855
|
+
export type CareerEntryKindFilterInput = {
|
|
856
|
+
/** Exact match. */
|
|
857
|
+
eq?: InputMaybe<CareerEntryKind>;
|
|
858
|
+
/** Match any of these values. */
|
|
859
|
+
in?: InputMaybe<Array<CareerEntryKind>>;
|
|
860
|
+
/** Exclude exact match. */
|
|
861
|
+
notEq?: InputMaybe<CareerEntryKind>;
|
|
862
|
+
/** Exclude any of these values. */
|
|
863
|
+
notIn?: InputMaybe<Array<CareerEntryKind>>;
|
|
864
|
+
};
|
|
865
|
+
|
|
756
866
|
/** Autogenerated input type of ChangeBillingSubscription */
|
|
757
867
|
export type ChangeBillingSubscriptionInput = {
|
|
758
868
|
/** A unique identifier for the client performing the mutation. */
|
|
@@ -1023,11 +1133,10 @@ export type CompanyConnection = {
|
|
|
1023
1133
|
};
|
|
1024
1134
|
|
|
1025
1135
|
/** An edge in a connection. */
|
|
1026
|
-
export type CompanyEdge =
|
|
1136
|
+
export type CompanyEdge = {
|
|
1027
1137
|
__typename?: 'CompanyEdge';
|
|
1028
1138
|
/** A cursor for use in pagination. */
|
|
1029
1139
|
cursor: Scalars['String']['output'];
|
|
1030
|
-
id: Scalars['ID']['output'];
|
|
1031
1140
|
/** The item at the end of the edge. */
|
|
1032
1141
|
node?: Maybe<Company>;
|
|
1033
1142
|
};
|
|
@@ -1071,11 +1180,10 @@ export type CompanyOnboardingTaskConnection = {
|
|
|
1071
1180
|
};
|
|
1072
1181
|
|
|
1073
1182
|
/** An edge in a connection. */
|
|
1074
|
-
export type CompanyOnboardingTaskEdge =
|
|
1183
|
+
export type CompanyOnboardingTaskEdge = {
|
|
1075
1184
|
__typename?: 'CompanyOnboardingTaskEdge';
|
|
1076
1185
|
/** A cursor for use in pagination. */
|
|
1077
1186
|
cursor: Scalars['String']['output'];
|
|
1078
|
-
id: Scalars['ID']['output'];
|
|
1079
1187
|
/** The item at the end of the edge. */
|
|
1080
1188
|
node?: Maybe<CompanyOnboardingTask>;
|
|
1081
1189
|
};
|
|
@@ -1144,11 +1252,10 @@ export type CompetitorConnection = {
|
|
|
1144
1252
|
};
|
|
1145
1253
|
|
|
1146
1254
|
/** An edge in a connection. */
|
|
1147
|
-
export type CompetitorEdge =
|
|
1255
|
+
export type CompetitorEdge = {
|
|
1148
1256
|
__typename?: 'CompetitorEdge';
|
|
1149
1257
|
/** A cursor for use in pagination. */
|
|
1150
1258
|
cursor: Scalars['String']['output'];
|
|
1151
|
-
id: Scalars['ID']['output'];
|
|
1152
1259
|
/** The item at the end of the edge. */
|
|
1153
1260
|
node?: Maybe<Competitor>;
|
|
1154
1261
|
};
|
|
@@ -1193,6 +1300,8 @@ export type Contact = Node & {
|
|
|
1193
1300
|
* source provides one or the contact has no public photo.
|
|
1194
1301
|
*/
|
|
1195
1302
|
avatarUrl?: Maybe<Scalars['String']['output']>;
|
|
1303
|
+
/** Paginated career entries — experience, education, certifications, awards, and publications — most recent first. */
|
|
1304
|
+
careerEntries: CareerEntryConnection;
|
|
1196
1305
|
/** City where the contact is located. */
|
|
1197
1306
|
city?: Maybe<Scalars['String']['output']>;
|
|
1198
1307
|
/** Confidence score (0.0-1.0) from source quality, freshness, and diversity. */
|
|
@@ -1209,7 +1318,7 @@ export type Contact = Node & {
|
|
|
1209
1318
|
emailStatus?: Maybe<EmailStatus>;
|
|
1210
1319
|
/** First name. */
|
|
1211
1320
|
firstName?: Maybe<Scalars['String']['output']>;
|
|
1212
|
-
/** GlobalID-encoded
|
|
1321
|
+
/** GlobalID-encoded Contact id. */
|
|
1213
1322
|
id: Scalars['ID']['output'];
|
|
1214
1323
|
/** Functional department (e.g. marketing, sales, engineering). */
|
|
1215
1324
|
jobFunction?: Maybe<Scalars['String']['output']>;
|
|
@@ -1225,11 +1334,29 @@ export type Contact = Node & {
|
|
|
1225
1334
|
locations: LocationConnection;
|
|
1226
1335
|
/** The organization this contact belongs to. */
|
|
1227
1336
|
organization: Organization;
|
|
1337
|
+
/** Phone number from an enrichment source. Null until a source provides one. */
|
|
1338
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
1339
|
+
/**
|
|
1340
|
+
* Profile completeness score (0.0-1.0) from the presence of identity fields,
|
|
1341
|
+
* experience, and the merged confidence score. Consumers gate low-quality
|
|
1342
|
+
* records on this instead of counting raw history entries.
|
|
1343
|
+
*/
|
|
1344
|
+
profileCompleteness: Scalars['Float']['output'];
|
|
1228
1345
|
/** When the contact record was last modified. */
|
|
1229
1346
|
updatedAt: Scalars['ISO8601DateTime']['output'];
|
|
1230
1347
|
};
|
|
1231
1348
|
|
|
1232
1349
|
|
|
1350
|
+
/** A business contact associated with an organization. */
|
|
1351
|
+
export type ContactCareerEntriesArgs = {
|
|
1352
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1353
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1354
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1355
|
+
kind?: InputMaybe<CareerEntryKindFilterInput>;
|
|
1356
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
|
|
1233
1360
|
/** A business contact associated with an organization. */
|
|
1234
1361
|
export type ContactLocationsArgs = {
|
|
1235
1362
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1285,6 +1412,20 @@ export type ContactFilterInput = {
|
|
|
1285
1412
|
* Mercator-encoded division IDs, not a scalar Atlas ID filter.
|
|
1286
1413
|
*/
|
|
1287
1414
|
divisionIds?: InputMaybe<IdFilterInput>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Filter on the contact's email address. Values are downcased and trimmed
|
|
1417
|
+
* before matching — the same transform the column is written through — so
|
|
1418
|
+
* `eq: " Jane@Acme.com "` matches a stored "jane@acme.com". Matching is exact
|
|
1419
|
+
* after that, not a substring or domain search. An email is unique per
|
|
1420
|
+
* organization, and in practice globally, so a positive `eq` matches at most
|
|
1421
|
+
* one contact. Prefer this for a read-only "do we already have this person?"
|
|
1422
|
+
* lookup, batching a list through `in`; `searchContact` is the enriching
|
|
1423
|
+
* counterpart and will call paid providers on a miss. Pair with `valid: false`
|
|
1424
|
+
* to check existence irrespective of the quality floor — the default `valid`
|
|
1425
|
+
* gate requires a verified email and would hide a contact whose address is on
|
|
1426
|
+
* file but unverified. Use `emailStatus` to filter on verification state.
|
|
1427
|
+
*/
|
|
1428
|
+
emailAddress?: InputMaybe<StringFilterInput>;
|
|
1288
1429
|
/** Filter by email verification status (VALID, INVALID, CATCH_ALL, UNKNOWN). */
|
|
1289
1430
|
emailStatus?: InputMaybe<EmailStatusFilterInput>;
|
|
1290
1431
|
/** Filter by contact global id. */
|
|
@@ -1300,6 +1441,21 @@ export type ContactFilterInput = {
|
|
|
1300
1441
|
* Threshold validated by the embedding_calibration test suite.
|
|
1301
1442
|
*/
|
|
1302
1443
|
jobTitle?: InputMaybe<Array<EmbeddingFilterInput>>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Filter on the contact's LinkedIn URL. `presence: true` returns only contacts
|
|
1446
|
+
* that have one — independent of `valid`, so combine `valid: false` with it to
|
|
1447
|
+
* reach contacts reachable on LinkedIn but without a verified email. `eq`/`in`
|
|
1448
|
+
* match specific URLs.
|
|
1449
|
+
*/
|
|
1450
|
+
linkedin?: InputMaybe<StringFilterInput>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Filter on the contact's full name. `presence: true` returns only contacts with
|
|
1453
|
+
* both a first and a last name — it re-expresses `valid`'s name floor on its
|
|
1454
|
+
* own, so callers passing `valid: false` can keep it without the
|
|
1455
|
+
* email/confidence floors. `eq`/`in` match a full name; values are compared
|
|
1456
|
+
* case- and accent-insensitively.
|
|
1457
|
+
*/
|
|
1458
|
+
name?: InputMaybe<StringFilterInput>;
|
|
1303
1459
|
/** Return only complete records (name, email, confidence >= 0.5). */
|
|
1304
1460
|
valid?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1305
1461
|
};
|
|
@@ -1524,6 +1680,13 @@ export type CreateBillingCustomerInput = {
|
|
|
1524
1680
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
1525
1681
|
/** Customer's display name (typically `first last`). Stored on the Stripe Customer for Dashboard readability. */
|
|
1526
1682
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Product the customer belongs to — decides which Stripe account the customer is
|
|
1685
|
+
* created on and which plan catalog applies. Defaults to LEGACY for the old Max
|
|
1686
|
+
* app's callers; the account must be registered in the environment or the
|
|
1687
|
+
* mutation fails.
|
|
1688
|
+
*/
|
|
1689
|
+
product?: InputMaybe<BillingProduct>;
|
|
1527
1690
|
};
|
|
1528
1691
|
|
|
1529
1692
|
/** Autogenerated return type of CreateBillingCustomer. */
|
|
@@ -1964,6 +2127,28 @@ export type CreateWatcherInput = {
|
|
|
1964
2127
|
definitionSlug: Scalars['String']['input'];
|
|
1965
2128
|
/** Version of the Definition to subscribe to. */
|
|
1966
2129
|
definitionVersion: Scalars['Int']['input'];
|
|
2130
|
+
/**
|
|
2131
|
+
* How the upstream source treats a lead it has already delivered for this
|
|
2132
|
+
* watcher. Omit to leave the source's own default in place.
|
|
2133
|
+
*/
|
|
2134
|
+
duplicateHandling?: InputMaybe<DuplicateHandlingInput>;
|
|
2135
|
+
/**
|
|
2136
|
+
* Optional Ideal Customer Profile, in the same shape Atlas search uses —
|
|
2137
|
+
* including geography: `contact.divisionIds` / `organization.divisionIds` are
|
|
2138
|
+
* Mercator location division IDs filtered exactly as Atlas search filters them,
|
|
2139
|
+
* so `notIn` excludes places as well. Forwarded to each provider's upstream
|
|
2140
|
+
* source so leads outside the profile are never emitted — and never billed. Part
|
|
2141
|
+
* of the watcher's identity: two callers watching the same topic with different
|
|
2142
|
+
* profiles get separate watchers.
|
|
2143
|
+
*/
|
|
2144
|
+
icp?: InputMaybe<WatcherIcpInput>;
|
|
2145
|
+
/**
|
|
2146
|
+
* Optional freshness-first per-period lead caps for this watcher. Omit or pass
|
|
2147
|
+
* an empty list to leave the watcher uncapped. Caps are a property of the
|
|
2148
|
+
* watcher (not the individual webhook), so they replace any caps already set on
|
|
2149
|
+
* a shared watcher.
|
|
2150
|
+
*/
|
|
2151
|
+
leadCaps?: InputMaybe<Array<LeadCapInput>>;
|
|
1967
2152
|
/** User-supplied watcher input validated against the Definition's `watcherInputSchema`. */
|
|
1968
2153
|
watcherInput: Scalars['JSON']['input'];
|
|
1969
2154
|
/** Delivery endpoint registered on this watcher. Multiple callers with the same definition and input share one watcher. */
|
|
@@ -2196,11 +2381,10 @@ export type DeprecatedActionBindingConnection = {
|
|
|
2196
2381
|
};
|
|
2197
2382
|
|
|
2198
2383
|
/** An edge in a connection. */
|
|
2199
|
-
export type DeprecatedActionBindingEdge =
|
|
2384
|
+
export type DeprecatedActionBindingEdge = {
|
|
2200
2385
|
__typename?: 'DeprecatedActionBindingEdge';
|
|
2201
2386
|
/** A cursor for use in pagination. */
|
|
2202
2387
|
cursor: Scalars['String']['output'];
|
|
2203
|
-
id: Scalars['ID']['output'];
|
|
2204
2388
|
/** The item at the end of the edge. */
|
|
2205
2389
|
node?: Maybe<DeprecatedActionBinding>;
|
|
2206
2390
|
};
|
|
@@ -2359,11 +2543,10 @@ export type DifferentiatorConnection = {
|
|
|
2359
2543
|
};
|
|
2360
2544
|
|
|
2361
2545
|
/** An edge in a connection. */
|
|
2362
|
-
export type DifferentiatorEdge =
|
|
2546
|
+
export type DifferentiatorEdge = {
|
|
2363
2547
|
__typename?: 'DifferentiatorEdge';
|
|
2364
2548
|
/** A cursor for use in pagination. */
|
|
2365
2549
|
cursor: Scalars['String']['output'];
|
|
2366
|
-
id: Scalars['ID']['output'];
|
|
2367
2550
|
/** The item at the end of the edge. */
|
|
2368
2551
|
node?: Maybe<Differentiator>;
|
|
2369
2552
|
};
|
|
@@ -2413,6 +2596,30 @@ export type DomainValidationResultPayload = {
|
|
|
2413
2596
|
organization?: Maybe<Organization>;
|
|
2414
2597
|
};
|
|
2415
2598
|
|
|
2599
|
+
/**
|
|
2600
|
+
* Policy for a lead the upstream source has already delivered for this Watcher.
|
|
2601
|
+
* Omit the whole input to leave the source's own default in place.
|
|
2602
|
+
*/
|
|
2603
|
+
export type DuplicateHandlingInput = {
|
|
2604
|
+
/** Which policy applies. */
|
|
2605
|
+
mode: DuplicateHandlingModeEnum;
|
|
2606
|
+
/**
|
|
2607
|
+
* How long a repeat delivery stays refused, as an ISO-8601 duration (e.g. P7D).
|
|
2608
|
+
* Required when `mode` is REFUSE_DURING and rejected otherwise. Sources count
|
|
2609
|
+
* this in whole days, so a duration that isn't a whole number of days is rejected.
|
|
2610
|
+
*/
|
|
2611
|
+
period?: InputMaybe<Scalars['ISO8601Duration']['input']>;
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
/** How the upstream source treats a lead it has already delivered for a Watcher. */
|
|
2615
|
+
export type DuplicateHandlingModeEnum =
|
|
2616
|
+
/** Always deliver, even for a lead already seen. */
|
|
2617
|
+
| 'ALWAYS'
|
|
2618
|
+
/** Never deliver the same lead twice. */
|
|
2619
|
+
| 'REFUSE'
|
|
2620
|
+
/** Refuse a repeat delivery for `period`, then allow it again. */
|
|
2621
|
+
| 'REFUSE_DURING';
|
|
2622
|
+
|
|
2416
2623
|
/** Input for an EMAIL step's configuration. */
|
|
2417
2624
|
export type EmailInput = {
|
|
2418
2625
|
/** Email body content (Liquid template). Ignored when `generateWithAi` is true. */
|
|
@@ -2461,6 +2668,15 @@ export type EmailStepConfig = {
|
|
|
2461
2668
|
writingStyle?: Maybe<OutboundCampaignWritingStyle>;
|
|
2462
2669
|
};
|
|
2463
2670
|
|
|
2671
|
+
/** A semantic-similarity filter, as submitted. */
|
|
2672
|
+
export type EmbeddingFilter = {
|
|
2673
|
+
__typename?: 'EmbeddingFilter';
|
|
2674
|
+
/** Cosine distance constraints (0 = identical, 2 = opposite). */
|
|
2675
|
+
distance?: Maybe<FloatFilter>;
|
|
2676
|
+
/** Text that was embedded and compared against. */
|
|
2677
|
+
query?: Maybe<Scalars['String']['output']>;
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2464
2680
|
/** Filter by semantic similarity using vector embeddings. */
|
|
2465
2681
|
export type EmbeddingFilterInput = {
|
|
2466
2682
|
/** Cosine distance constraints (0 = identical, 2 = opposite). */
|
|
@@ -2615,15 +2831,29 @@ export type EventConnection = {
|
|
|
2615
2831
|
};
|
|
2616
2832
|
|
|
2617
2833
|
/** An edge in a connection. */
|
|
2618
|
-
export type EventEdge =
|
|
2834
|
+
export type EventEdge = {
|
|
2619
2835
|
__typename?: 'EventEdge';
|
|
2620
2836
|
/** A cursor for use in pagination. */
|
|
2621
2837
|
cursor: Scalars['String']['output'];
|
|
2622
|
-
id: Scalars['ID']['output'];
|
|
2623
2838
|
/** The item at the end of the edge. */
|
|
2624
2839
|
node?: Maybe<Event>;
|
|
2625
2840
|
};
|
|
2626
2841
|
|
|
2842
|
+
/** A numeric comparison filter, as submitted. */
|
|
2843
|
+
export type FloatFilter = {
|
|
2844
|
+
__typename?: 'FloatFilter';
|
|
2845
|
+
/** Exact match. */
|
|
2846
|
+
eq?: Maybe<Scalars['Float']['output']>;
|
|
2847
|
+
/** Greater than. */
|
|
2848
|
+
gt?: Maybe<Scalars['Float']['output']>;
|
|
2849
|
+
/** Greater than or equal. */
|
|
2850
|
+
gteq?: Maybe<Scalars['Float']['output']>;
|
|
2851
|
+
/** Less than. */
|
|
2852
|
+
lt?: Maybe<Scalars['Float']['output']>;
|
|
2853
|
+
/** Less than or equal. */
|
|
2854
|
+
lteq?: Maybe<Scalars['Float']['output']>;
|
|
2855
|
+
};
|
|
2856
|
+
|
|
2627
2857
|
/** Filter on a numeric column with comparison operators. */
|
|
2628
2858
|
export type FloatFilterInput = {
|
|
2629
2859
|
/** Exact match. */
|
|
@@ -2734,11 +2964,10 @@ export type IdealCustomerProfileConnection = {
|
|
|
2734
2964
|
};
|
|
2735
2965
|
|
|
2736
2966
|
/** An edge in a connection. */
|
|
2737
|
-
export type IdealCustomerProfileEdge =
|
|
2967
|
+
export type IdealCustomerProfileEdge = {
|
|
2738
2968
|
__typename?: 'IdealCustomerProfileEdge';
|
|
2739
2969
|
/** A cursor for use in pagination. */
|
|
2740
2970
|
cursor: Scalars['String']['output'];
|
|
2741
|
-
id: Scalars['ID']['output'];
|
|
2742
2971
|
/** The item at the end of the edge. */
|
|
2743
2972
|
node?: Maybe<IdealCustomerProfile>;
|
|
2744
2973
|
};
|
|
@@ -2906,11 +3135,10 @@ export type IntegrationConnection = {
|
|
|
2906
3135
|
};
|
|
2907
3136
|
|
|
2908
3137
|
/** An edge in a connection. */
|
|
2909
|
-
export type IntegrationEdge =
|
|
3138
|
+
export type IntegrationEdge = {
|
|
2910
3139
|
__typename?: 'IntegrationEdge';
|
|
2911
3140
|
/** A cursor for use in pagination. */
|
|
2912
3141
|
cursor: Scalars['String']['output'];
|
|
2913
|
-
id: Scalars['ID']['output'];
|
|
2914
3142
|
/** The item at the end of the edge. */
|
|
2915
3143
|
node?: Maybe<Integration>;
|
|
2916
3144
|
};
|
|
@@ -2956,11 +3184,10 @@ export type IntegrationProviderConnection = {
|
|
|
2956
3184
|
};
|
|
2957
3185
|
|
|
2958
3186
|
/** An edge in a connection. */
|
|
2959
|
-
export type IntegrationProviderEdge =
|
|
3187
|
+
export type IntegrationProviderEdge = {
|
|
2960
3188
|
__typename?: 'IntegrationProviderEdge';
|
|
2961
3189
|
/** A cursor for use in pagination. */
|
|
2962
3190
|
cursor: Scalars['String']['output'];
|
|
2963
|
-
id: Scalars['ID']['output'];
|
|
2964
3191
|
/** The item at the end of the edge. */
|
|
2965
3192
|
node?: Maybe<IntegrationProvider>;
|
|
2966
3193
|
};
|
|
@@ -3011,11 +3238,10 @@ export type InvitationConnection = {
|
|
|
3011
3238
|
};
|
|
3012
3239
|
|
|
3013
3240
|
/** An edge in a connection. */
|
|
3014
|
-
export type InvitationEdge =
|
|
3241
|
+
export type InvitationEdge = {
|
|
3015
3242
|
__typename?: 'InvitationEdge';
|
|
3016
3243
|
/** A cursor for use in pagination. */
|
|
3017
3244
|
cursor: Scalars['String']['output'];
|
|
3018
|
-
id: Scalars['ID']['output'];
|
|
3019
3245
|
/** The item at the end of the edge. */
|
|
3020
3246
|
node?: Maybe<Invitation>;
|
|
3021
3247
|
};
|
|
@@ -3163,11 +3389,10 @@ export type LeadAcquisitionConnection = {
|
|
|
3163
3389
|
};
|
|
3164
3390
|
|
|
3165
3391
|
/** An edge in a connection. */
|
|
3166
|
-
export type LeadAcquisitionEdge =
|
|
3392
|
+
export type LeadAcquisitionEdge = {
|
|
3167
3393
|
__typename?: 'LeadAcquisitionEdge';
|
|
3168
3394
|
/** A cursor for use in pagination. */
|
|
3169
3395
|
cursor: Scalars['String']['output'];
|
|
3170
|
-
id: Scalars['ID']['output'];
|
|
3171
3396
|
/** The item at the end of the edge. */
|
|
3172
3397
|
node?: Maybe<LeadAcquisition>;
|
|
3173
3398
|
};
|
|
@@ -3183,6 +3408,21 @@ export type LeadAcquisitionSourceEnum =
|
|
|
3183
3408
|
| 'MAX'
|
|
3184
3409
|
| 'SIGNALS';
|
|
3185
3410
|
|
|
3411
|
+
/**
|
|
3412
|
+
* A single freshness-first lead cap for a Watcher: at most `maximumLeads` events
|
|
3413
|
+
* are surfaced per `period`, counted from `startsAt` and reset at every period
|
|
3414
|
+
* boundary. Excess events are dropped, never buffered. Combine several caps to
|
|
3415
|
+
* constrain multiple periods at once — the most restrictive one wins.
|
|
3416
|
+
*/
|
|
3417
|
+
export type LeadCapInput = {
|
|
3418
|
+
/** Maximum number of events surfaced per period. Must be greater than zero. */
|
|
3419
|
+
maximumLeads: Scalars['Int']['input'];
|
|
3420
|
+
/** Length of the accumulation window as an ISO-8601 duration, e.g. P1D (one day) or P1W (one week). */
|
|
3421
|
+
period: Scalars['ISO8601Duration']['input'];
|
|
3422
|
+
/** Anchor at which the first period begins. Defaults to the moment the cap is created. */
|
|
3423
|
+
startsAt?: InputMaybe<Scalars['ISO8601DateTime']['input']>;
|
|
3424
|
+
};
|
|
3425
|
+
|
|
3186
3426
|
/** The connection type for Lead. */
|
|
3187
3427
|
export type LeadConnection = {
|
|
3188
3428
|
__typename?: 'LeadConnection';
|
|
@@ -3197,11 +3437,10 @@ export type LeadConnection = {
|
|
|
3197
3437
|
};
|
|
3198
3438
|
|
|
3199
3439
|
/** An edge in a connection. */
|
|
3200
|
-
export type LeadEdge =
|
|
3440
|
+
export type LeadEdge = {
|
|
3201
3441
|
__typename?: 'LeadEdge';
|
|
3202
3442
|
/** A cursor for use in pagination. */
|
|
3203
3443
|
cursor: Scalars['String']['output'];
|
|
3204
|
-
id: Scalars['ID']['output'];
|
|
3205
3444
|
/** The item at the end of the edge. */
|
|
3206
3445
|
node?: Maybe<Lead>;
|
|
3207
3446
|
};
|
|
@@ -3232,11 +3471,10 @@ export type LeadQualificationConnection = {
|
|
|
3232
3471
|
};
|
|
3233
3472
|
|
|
3234
3473
|
/** An edge in a connection. */
|
|
3235
|
-
export type LeadQualificationEdge =
|
|
3474
|
+
export type LeadQualificationEdge = {
|
|
3236
3475
|
__typename?: 'LeadQualificationEdge';
|
|
3237
3476
|
/** A cursor for use in pagination. */
|
|
3238
3477
|
cursor: Scalars['String']['output'];
|
|
3239
|
-
id: Scalars['ID']['output'];
|
|
3240
3478
|
/** The item at the end of the edge. */
|
|
3241
3479
|
node?: Maybe<LeadQualification>;
|
|
3242
3480
|
};
|
|
@@ -3280,6 +3518,22 @@ export type Location = Node & {
|
|
|
3280
3518
|
__typename?: 'Location';
|
|
3281
3519
|
/** Numeric hierarchy depth. 0 = country, higher = more granular. */
|
|
3282
3520
|
adminLevel: Scalars['Int']['output'];
|
|
3521
|
+
/**
|
|
3522
|
+
* National administrative codes for this division, own codes first, then codes
|
|
3523
|
+
* inherited from enclosing divisions — so a locality reports its département's
|
|
3524
|
+
* and region's INSEE codes without the caller walking the hierarchy. Each entry
|
|
3525
|
+
* names the division it came from via locationId. Empty for divisions in
|
|
3526
|
+
* countries without a mapped scheme.
|
|
3527
|
+
*/
|
|
3528
|
+
administrativeCodes: Array<AdministrativeCode>;
|
|
3529
|
+
/**
|
|
3530
|
+
* Every enclosing division, ordered root-first (highest ancestor first,
|
|
3531
|
+
* immediate parent last) so the connection reads as a breadcrumb path. Excludes
|
|
3532
|
+
* this location, so a root division returns an empty connection — and so does a
|
|
3533
|
+
* freshly imported division whose ancestry is not yet resolved. The two are
|
|
3534
|
+
* deliberately indistinguishable here: both mean "no ancestors to walk".
|
|
3535
|
+
*/
|
|
3536
|
+
ancestors: LocationConnection;
|
|
3283
3537
|
/** Center point of the division boundary as a GeoJSON Point. */
|
|
3284
3538
|
centroid?: Maybe<Coordinate>;
|
|
3285
3539
|
/** Child divisions in the hierarchy. */
|
|
@@ -3288,6 +3542,13 @@ export type Location = Node & {
|
|
|
3288
3542
|
countryCode?: Maybe<Scalars['String']['output']>;
|
|
3289
3543
|
/** GlobalID-encoded Location id. */
|
|
3290
3544
|
id: Scalars['ID']['output'];
|
|
3545
|
+
/**
|
|
3546
|
+
* ISO 3166-2 code of the principal subdivision this division belongs to, e.g.
|
|
3547
|
+
* "FR-IDF", "BE-WAL" — the division's own code only on REGION rows; every deeper
|
|
3548
|
+
* division carries its enclosing region's. As shipped by Overture; null when the
|
|
3549
|
+
* source has none.
|
|
3550
|
+
*/
|
|
3551
|
+
iso31662?: Maybe<Scalars['String']['output']>;
|
|
3291
3552
|
/** Primary English name of the division. */
|
|
3292
3553
|
name: Scalars['String']['output'];
|
|
3293
3554
|
/** Parent administrative division in the hierarchy. */
|
|
@@ -3297,6 +3558,15 @@ export type Location = Node & {
|
|
|
3297
3558
|
};
|
|
3298
3559
|
|
|
3299
3560
|
|
|
3561
|
+
/** Federation reference to a Location owned by another subgraph. */
|
|
3562
|
+
export type LocationAncestorsArgs = {
|
|
3563
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
3564
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
3565
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3566
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3567
|
+
};
|
|
3568
|
+
|
|
3569
|
+
|
|
3300
3570
|
/** Federation reference to a Location owned by another subgraph. */
|
|
3301
3571
|
export type LocationChildrenArgs = {
|
|
3302
3572
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3304,6 +3574,7 @@ export type LocationChildrenArgs = {
|
|
|
3304
3574
|
deep?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3305
3575
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3306
3576
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3577
|
+
sort?: InputMaybe<Array<LocationSortInput>>;
|
|
3307
3578
|
subtype?: InputMaybe<LocationSubtypeFilterInput>;
|
|
3308
3579
|
};
|
|
3309
3580
|
|
|
@@ -3329,6 +3600,22 @@ export type LocationEdge = {
|
|
|
3329
3600
|
node?: Maybe<Location>;
|
|
3330
3601
|
};
|
|
3331
3602
|
|
|
3603
|
+
/** Fields available for sorting locations. */
|
|
3604
|
+
export type LocationSortField =
|
|
3605
|
+
/**
|
|
3606
|
+
* Resident population as shipped by Overture. Null on small or minor divisions,
|
|
3607
|
+
* which sort after every populated one regardless of direction.
|
|
3608
|
+
*/
|
|
3609
|
+
| 'POPULATION';
|
|
3610
|
+
|
|
3611
|
+
/** Sort configuration for locations. */
|
|
3612
|
+
export type LocationSortInput = {
|
|
3613
|
+
/** Direction to sort in. Defaults to descending. */
|
|
3614
|
+
direction?: InputMaybe<SortDirection>;
|
|
3615
|
+
/** Field to sort by. */
|
|
3616
|
+
field: LocationSortField;
|
|
3617
|
+
};
|
|
3618
|
+
|
|
3332
3619
|
/** Administrative subdivision level of a geographic location. */
|
|
3333
3620
|
export type LocationSubtype =
|
|
3334
3621
|
/** Borough or city district between the locality and neighborhood levels. */
|
|
@@ -3343,6 +3630,12 @@ export type LocationSubtype =
|
|
|
3343
3630
|
| 'LOCALADMIN'
|
|
3344
3631
|
/** City, town, or municipality (admin_level 5-8). */
|
|
3345
3632
|
| 'LOCALITY'
|
|
3633
|
+
/**
|
|
3634
|
+
* Continent or business macro-region grouping whole countries, above the country
|
|
3635
|
+
* level. Its member countries are exposed through `children`, not through
|
|
3636
|
+
* `parent` on the country: a country belongs to several macro-countries at once.
|
|
3637
|
+
*/
|
|
3638
|
+
| 'MACROCOUNTRY'
|
|
3346
3639
|
/** Grouping of counties between the region and county levels. */
|
|
3347
3640
|
| 'MACROCOUNTY'
|
|
3348
3641
|
/** Large area grouping multiple neighborhoods within a locality. */
|
|
@@ -3415,11 +3708,10 @@ export type MembershipConnection = {
|
|
|
3415
3708
|
};
|
|
3416
3709
|
|
|
3417
3710
|
/** An edge in a connection. */
|
|
3418
|
-
export type MembershipEdge =
|
|
3711
|
+
export type MembershipEdge = {
|
|
3419
3712
|
__typename?: 'MembershipEdge';
|
|
3420
3713
|
/** A cursor for use in pagination. */
|
|
3421
3714
|
cursor: Scalars['String']['output'];
|
|
3422
|
-
id: Scalars['ID']['output'];
|
|
3423
3715
|
/** The item at the end of the edge. */
|
|
3424
3716
|
node?: Maybe<Membership>;
|
|
3425
3717
|
};
|
|
@@ -3462,11 +3754,10 @@ export type MembershipOnboardingTaskConnection = {
|
|
|
3462
3754
|
};
|
|
3463
3755
|
|
|
3464
3756
|
/** An edge in a connection. */
|
|
3465
|
-
export type MembershipOnboardingTaskEdge =
|
|
3757
|
+
export type MembershipOnboardingTaskEdge = {
|
|
3466
3758
|
__typename?: 'MembershipOnboardingTaskEdge';
|
|
3467
3759
|
/** A cursor for use in pagination. */
|
|
3468
3760
|
cursor: Scalars['String']['output'];
|
|
3469
|
-
id: Scalars['ID']['output'];
|
|
3470
3761
|
/** The item at the end of the edge. */
|
|
3471
3762
|
node?: Maybe<MembershipOnboardingTask>;
|
|
3472
3763
|
};
|
|
@@ -3498,11 +3789,10 @@ export type MemoryConnection = {
|
|
|
3498
3789
|
};
|
|
3499
3790
|
|
|
3500
3791
|
/** An edge in a connection. */
|
|
3501
|
-
export type MemoryEdge =
|
|
3792
|
+
export type MemoryEdge = {
|
|
3502
3793
|
__typename?: 'MemoryEdge';
|
|
3503
3794
|
/** A cursor for use in pagination. */
|
|
3504
3795
|
cursor: Scalars['String']['output'];
|
|
3505
|
-
id: Scalars['ID']['output'];
|
|
3506
3796
|
/** The item at the end of the edge. */
|
|
3507
3797
|
node?: Maybe<Memory>;
|
|
3508
3798
|
};
|
|
@@ -3594,11 +3884,10 @@ export type MessageConnection = {
|
|
|
3594
3884
|
};
|
|
3595
3885
|
|
|
3596
3886
|
/** An edge in a connection. */
|
|
3597
|
-
export type MessageEdge =
|
|
3887
|
+
export type MessageEdge = {
|
|
3598
3888
|
__typename?: 'MessageEdge';
|
|
3599
3889
|
/** A cursor for use in pagination. */
|
|
3600
3890
|
cursor: Scalars['String']['output'];
|
|
3601
|
-
id: Scalars['ID']['output'];
|
|
3602
3891
|
/** The item at the end of the edge. */
|
|
3603
3892
|
node?: Maybe<Message>;
|
|
3604
3893
|
};
|
|
@@ -3738,6 +4027,19 @@ export type Mutation = {
|
|
|
3738
4027
|
/**
|
|
3739
4028
|
* Create a Watcher for a given Definition. All providers registered on the
|
|
3740
4029
|
* Definition are auto-provisioned atomically; the user does not choose providers.
|
|
4030
|
+
*
|
|
4031
|
+
* There is no mutation to change a Watcher's `watcherInput` or `icp` afterwards,
|
|
4032
|
+
* by design. Both determine *which leads the Watcher returns*, and a Watcher is
|
|
4033
|
+
* shared: callers with the same definition and input attach their own webhook to
|
|
4034
|
+
* one row, so editing it in place would silently repoint every other webhook
|
|
4035
|
+
* attached to it. Those fields are also what the Watcher is keyed on, so
|
|
4036
|
+
* changing them means becoming a different Watcher.
|
|
4037
|
+
*
|
|
4038
|
+
* To change what a Watcher returns, call `createWatcher` again with the new
|
|
4039
|
+
* input — an existing match is reused, otherwise a new Watcher is provisioned —
|
|
4040
|
+
* then `deleteWatcher` the old one if nothing else needs it.
|
|
4041
|
+
* `updateWatcherLeadCaps` and `setWebhookActive` remain available: they bound
|
|
4042
|
+
* volume and delivery, not which leads qualify.
|
|
3741
4043
|
*/
|
|
3742
4044
|
createWatcher?: Maybe<CreateWatcherPayload>;
|
|
3743
4045
|
/**
|
|
@@ -3998,6 +4300,12 @@ export type Mutation = {
|
|
|
3998
4300
|
updateSource?: Maybe<Source>;
|
|
3999
4301
|
/** Update the calling user's preferred UI locale. */
|
|
4000
4302
|
updateUserLocale?: Maybe<UpdateUserLocalePayload>;
|
|
4303
|
+
/**
|
|
4304
|
+
* Replace the freshness-first per-period lead caps on a Watcher. The new caps
|
|
4305
|
+
* take effect in-house immediately and are propagated to Rodz-backed signals as
|
|
4306
|
+
* their per-day limit.
|
|
4307
|
+
*/
|
|
4308
|
+
updateWatcherLeadCaps?: Maybe<UpdateWatcherLeadCapsPayload>;
|
|
4001
4309
|
/**
|
|
4002
4310
|
* Asynchronously validate that the supplied name, email, and phone are internally consistent
|
|
4003
4311
|
* for a contact at the given organization.
|
|
@@ -4485,6 +4793,11 @@ export type MutationUpdateUserLocaleArgs = {
|
|
|
4485
4793
|
};
|
|
4486
4794
|
|
|
4487
4795
|
|
|
4796
|
+
export type MutationUpdateWatcherLeadCapsArgs = {
|
|
4797
|
+
input: UpdateWatcherLeadCapsInput;
|
|
4798
|
+
};
|
|
4799
|
+
|
|
4800
|
+
|
|
4488
4801
|
export type MutationValidateContactArgs = {
|
|
4489
4802
|
input: ValidateContactInput;
|
|
4490
4803
|
};
|
|
@@ -4584,7 +4897,7 @@ export type Organization = Node & {
|
|
|
4584
4897
|
domainReachableAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
|
|
4585
4898
|
/** Year the company was founded. */
|
|
4586
4899
|
foundedYear?: Maybe<Scalars['Int']['output']>;
|
|
4587
|
-
/** GlobalID-encoded
|
|
4900
|
+
/** GlobalID-encoded Organization id. */
|
|
4588
4901
|
id: Scalars['ID']['output'];
|
|
4589
4902
|
/** Primary industry classification. */
|
|
4590
4903
|
industry?: Maybe<Scalars['String']['output']>;
|
|
@@ -4631,6 +4944,7 @@ export type OrganizationOrganizationAddressesArgs = {
|
|
|
4631
4944
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
4632
4945
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4633
4946
|
isHeadquarters?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4947
|
+
kind?: InputMaybe<OrganizationAddressKind>;
|
|
4634
4948
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4635
4949
|
};
|
|
4636
4950
|
|
|
@@ -4648,8 +4962,13 @@ export type OrganizationAddress = Node & {
|
|
|
4648
4962
|
/** When the address was created. */
|
|
4649
4963
|
createdAt: Scalars['ISO8601DateTime']['output'];
|
|
4650
4964
|
id: Scalars['ID']['output'];
|
|
4651
|
-
/**
|
|
4965
|
+
/**
|
|
4966
|
+
* Whether this is the organization's headquarters.
|
|
4967
|
+
* @deprecated Use `kind == HEADQUARTERS` instead.
|
|
4968
|
+
*/
|
|
4652
4969
|
isHeadquarters: Scalars['Boolean']['output'];
|
|
4970
|
+
/** Classification of this address: headquarters, office, or unattended. */
|
|
4971
|
+
kind: OrganizationAddressKind;
|
|
4653
4972
|
/** Mercator location divisions for this office address. Empty until the background enrichment job runs. */
|
|
4654
4973
|
locations: LocationConnection;
|
|
4655
4974
|
/** Postal or ZIP code. */
|
|
@@ -4694,6 +5013,15 @@ export type OrganizationAddressEdge = Node & {
|
|
|
4694
5013
|
node?: Maybe<OrganizationAddress>;
|
|
4695
5014
|
};
|
|
4696
5015
|
|
|
5016
|
+
/** Classification of an organization address. */
|
|
5017
|
+
export type OrganizationAddressKind =
|
|
5018
|
+
/** The organization's elected headquarters. */
|
|
5019
|
+
| 'HEADQUARTERS'
|
|
5020
|
+
/** A staffed office or branch location. */
|
|
5021
|
+
| 'OFFICE'
|
|
5022
|
+
/** A location with no on-site staff (e.g. an ATM or EV charging station). */
|
|
5023
|
+
| 'UNATTENDED';
|
|
5024
|
+
|
|
4697
5025
|
/** Parameters for an organization search by visitor IP address. */
|
|
4698
5026
|
export type OrganizationByIpInput = {
|
|
4699
5027
|
/** Visitor's ISO 3166-1 alpha-2 country code — boosts matching accuracy. */
|
|
@@ -4758,6 +5086,24 @@ export type OrganizationFilterInput = {
|
|
|
4758
5086
|
* array-overlap filter against Mercator-encoded division IDs, not a scalar Atlas ID filter.
|
|
4759
5087
|
*/
|
|
4760
5088
|
divisionIds?: InputMaybe<IdFilterInput>;
|
|
5089
|
+
/**
|
|
5090
|
+
* Filter on the organization's domain. Values are matched against a normalized
|
|
5091
|
+
* form — host downcased, a single leading "www." dropped — so `eq:
|
|
5092
|
+
* "https://www.Acme.com/about"` matches a stored "acme.com". Matching is exact
|
|
5093
|
+
* after that normalization, not a substring or suffix search, and no further
|
|
5094
|
+
* subdomain stripping happens, so "barla.synlab.fr" and "synlab.fr" stay
|
|
5095
|
+
* distinct organizations. `domain` is unique, so a positive `eq` matches at
|
|
5096
|
+
* most one record. A value that cannot yield a host (a bare company name, an IP
|
|
5097
|
+
* literal, punctuation) matches no organization rather than silently dropping
|
|
5098
|
+
* the constraint — so passing a mixed name/domain list here returns only its
|
|
5099
|
+
* domain-shaped entries instead of the whole table. Prefer this for a read-only
|
|
5100
|
+
* "which of these organizations do we already have?" lookup over a list — it
|
|
5101
|
+
* normalizes and batches through `in`. `organization(domain:)` is the
|
|
5102
|
+
* single-record equivalent but matches the column raw, so it misses any URL
|
|
5103
|
+
* form; `searchOrganization(input: { domain: ... })` is the enriching
|
|
5104
|
+
* counterpart and will call paid providers on a miss.
|
|
5105
|
+
*/
|
|
5106
|
+
domain?: InputMaybe<StringFilterInput>;
|
|
4761
5107
|
/** Filter by organization global id. */
|
|
4762
5108
|
id?: InputMaybe<IdFilterInput>;
|
|
4763
5109
|
/**
|
|
@@ -4771,6 +5117,53 @@ export type OrganizationFilterInput = {
|
|
|
4771
5117
|
* Threshold validated by the embedding_calibration test suite.
|
|
4772
5118
|
*/
|
|
4773
5119
|
industry?: InputMaybe<Array<EmbeddingFilterInput>>;
|
|
5120
|
+
/**
|
|
5121
|
+
* Filter on the organization's LinkedIn company page. Values are matched on
|
|
5122
|
+
* the company vanity slug, extracted from both sides of the comparison, so
|
|
5123
|
+
* `eq: "http://fr.linkedin.com/company/acme/?trk=x"` matches a stored
|
|
5124
|
+
* "https://www.linkedin.com/company/acme". Slug matching is what makes this
|
|
5125
|
+
* usable: unlike `domain` and `name`, the stored URL is never normalized on
|
|
5126
|
+
* write, so any URL form may be on file. A slug is globally unique on
|
|
5127
|
+
* LinkedIn, so a positive `eq` matches at most one organization. Only the
|
|
5128
|
+
* first path segment identifies the company, so a sub-page link resolves the
|
|
5129
|
+
* company itself — `eq: ".../company/acme/about/"` matches a stored
|
|
5130
|
+
* ".../company/acme", and a stored sub-page URL is matched by the plain
|
|
5131
|
+
* company URL. Percent-encoded and literal non-ASCII slugs are the same page
|
|
5132
|
+
* ("/company/ko%C3%A7-holding" matches a stored "/company/koç-holding" and
|
|
5133
|
+
* the reverse). The slug is **case-sensitive** — scheme, host, sub-pages,
|
|
5134
|
+
* percent-encoding and trailing punctuation are normalized away, but
|
|
5135
|
+
* "/company/Acme" and "/company/acme" are two different pages, so pass the
|
|
5136
|
+
* slug exactly as LinkedIn spells it. A value yielding no company
|
|
5137
|
+
* slug (a `/in/` person profile, a bare slug, a school or showcase page, a
|
|
5138
|
+
* non-LinkedIn URL) matches no organization rather than silently dropping the
|
|
5139
|
+
* constraint. `presence: true` is a check on the raw column — it returns
|
|
5140
|
+
* organizations that have any LinkedIn URL on file, even one this filter's
|
|
5141
|
+
* `eq` could not parse — and applies independently of `valid`, so combine
|
|
5142
|
+
* `valid: false` with it to reach organizations reachable on LinkedIn but
|
|
5143
|
+
* below the quality floor. Note that `notEq`/`notIn` also exclude
|
|
5144
|
+
* organizations with no LinkedIn URL at all, matching how every other
|
|
5145
|
+
* negative string operator in this schema treats NULL.
|
|
5146
|
+
*/
|
|
5147
|
+
linkedin?: InputMaybe<StringFilterInput>;
|
|
5148
|
+
/**
|
|
5149
|
+
* Filter on the organization's name. Values are matched against a
|
|
5150
|
+
* normalized form — transliterated, downcased, punctuation-stripped and
|
|
5151
|
+
* with trailing legal-form tokens dropped — so `eq: "Acme"` matches a
|
|
5152
|
+
* stored "ACME, Inc." and `eq: "Sortlist NV/SA"` matches a stored
|
|
5153
|
+
* "Sortlist". Matching stays exact *after* that normalization: it is not
|
|
5154
|
+
* a substring or fuzzy search, so "Acme" does not match "Acme Widgets".
|
|
5155
|
+
* A name is not unique in Atlas (country subsidiaries, "<brand> SA" /
|
|
5156
|
+
* "<brand> NV" pairs), so every match is returned, ordered by the
|
|
5157
|
+
* connection's default confidence_score DESC — use
|
|
5158
|
+
* `searchOrganization(input: { domain: ... })` instead when the caller has
|
|
5159
|
+
* a domain and needs exactly one record. A value that normalizes to
|
|
5160
|
+
* nothing (punctuation only) matches no organization rather than silently
|
|
5161
|
+
* dropping the constraint. `presence: true` returns only organizations
|
|
5162
|
+
* that have a name, re-expressing `valid`'s name floor on its own, so
|
|
5163
|
+
* callers passing `valid: false` can keep it without the confidence and
|
|
5164
|
+
* domain-reachability floors.
|
|
5165
|
+
*/
|
|
5166
|
+
name?: InputMaybe<StringFilterInput>;
|
|
4774
5167
|
/** Return only complete records. */
|
|
4775
5168
|
valid?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4776
5169
|
};
|
|
@@ -5510,8 +5903,8 @@ export type Query = {
|
|
|
5510
5903
|
/** Liveness probe for the billing subgraph. */
|
|
5511
5904
|
billingPing: Scalars['String']['output'];
|
|
5512
5905
|
/**
|
|
5513
|
-
* Static catalog of plans (Starter / Growth / Scale × monthly / annual)
|
|
5514
|
-
* the upgrade ladder UI without round-tripping Stripe.
|
|
5906
|
+
* Static catalog of plans (Starter / Growth / Scale × monthly / annual) for one
|
|
5907
|
+
* product. Drives the upgrade ladder UI without round-tripping Stripe.
|
|
5515
5908
|
*/
|
|
5516
5909
|
billingPlanCatalog: Array<BillingPlanCatalogEntry>;
|
|
5517
5910
|
/**
|
|
@@ -5558,8 +5951,10 @@ export type Query = {
|
|
|
5558
5951
|
/**
|
|
5559
5952
|
* List organizations with optional filtering and sorting.
|
|
5560
5953
|
* Supports semantic search via embedding filters on `description` and `industry`.
|
|
5954
|
+
* The `name` and `domain` filters both accept `in`, so a whole list of company
|
|
5955
|
+
* identifiers can be resolved to records in one read — no enrichment, no external calls.
|
|
5561
5956
|
* Use `organization(domain:)` for a direct single-domain lookup.
|
|
5562
|
-
* Maximum page size:
|
|
5957
|
+
* Maximum page size: 100.
|
|
5563
5958
|
*/
|
|
5564
5959
|
organizations: OrganizationConnection;
|
|
5565
5960
|
/** Liveness probe for the outreach subgraph. */
|
|
@@ -5598,6 +5993,11 @@ export type QueryBillingCustomerArgs = {
|
|
|
5598
5993
|
};
|
|
5599
5994
|
|
|
5600
5995
|
|
|
5996
|
+
export type QueryBillingPlanCatalogArgs = {
|
|
5997
|
+
product?: InputMaybe<BillingProduct>;
|
|
5998
|
+
};
|
|
5999
|
+
|
|
6000
|
+
|
|
5601
6001
|
export type QueryContactsArgs = {
|
|
5602
6002
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
5603
6003
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5691,6 +6091,7 @@ export type QueryResolveLocationsArgs = {
|
|
|
5691
6091
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5692
6092
|
query: Scalars['String']['input'];
|
|
5693
6093
|
subtypes?: InputMaybe<LocationSubtypeFilterInput>;
|
|
6094
|
+
within?: InputMaybe<Scalars['ID']['input']>;
|
|
5694
6095
|
};
|
|
5695
6096
|
|
|
5696
6097
|
|
|
@@ -6097,11 +6498,10 @@ export type RoutineActionConnection = {
|
|
|
6097
6498
|
};
|
|
6098
6499
|
|
|
6099
6500
|
/** An edge in a connection. */
|
|
6100
|
-
export type RoutineActionEdge =
|
|
6501
|
+
export type RoutineActionEdge = {
|
|
6101
6502
|
__typename?: 'RoutineActionEdge';
|
|
6102
6503
|
/** A cursor for use in pagination. */
|
|
6103
6504
|
cursor: Scalars['String']['output'];
|
|
6104
|
-
id: Scalars['ID']['output'];
|
|
6105
6505
|
/** The item at the end of the edge. */
|
|
6106
6506
|
node?: Maybe<RoutineAction>;
|
|
6107
6507
|
};
|
|
@@ -6153,11 +6553,10 @@ export type RoutineActionRunConnection = {
|
|
|
6153
6553
|
};
|
|
6154
6554
|
|
|
6155
6555
|
/** An edge in a connection. */
|
|
6156
|
-
export type RoutineActionRunEdge =
|
|
6556
|
+
export type RoutineActionRunEdge = {
|
|
6157
6557
|
__typename?: 'RoutineActionRunEdge';
|
|
6158
6558
|
/** A cursor for use in pagination. */
|
|
6159
6559
|
cursor: Scalars['String']['output'];
|
|
6160
|
-
id: Scalars['ID']['output'];
|
|
6161
6560
|
/** The item at the end of the edge. */
|
|
6162
6561
|
node?: Maybe<RoutineActionRun>;
|
|
6163
6562
|
};
|
|
@@ -6185,11 +6584,10 @@ export type RoutineConnection = {
|
|
|
6185
6584
|
};
|
|
6186
6585
|
|
|
6187
6586
|
/** An edge in a connection. */
|
|
6188
|
-
export type RoutineEdge =
|
|
6587
|
+
export type RoutineEdge = {
|
|
6189
6588
|
__typename?: 'RoutineEdge';
|
|
6190
6589
|
/** A cursor for use in pagination. */
|
|
6191
6590
|
cursor: Scalars['String']['output'];
|
|
6192
|
-
id: Scalars['ID']['output'];
|
|
6193
6591
|
/** The item at the end of the edge. */
|
|
6194
6592
|
node?: Maybe<Routine>;
|
|
6195
6593
|
};
|
|
@@ -6261,11 +6659,10 @@ export type RoutineRunConnection = {
|
|
|
6261
6659
|
};
|
|
6262
6660
|
|
|
6263
6661
|
/** An edge in a connection. */
|
|
6264
|
-
export type RoutineRunEdge =
|
|
6662
|
+
export type RoutineRunEdge = {
|
|
6265
6663
|
__typename?: 'RoutineRunEdge';
|
|
6266
6664
|
/** A cursor for use in pagination. */
|
|
6267
6665
|
cursor: Scalars['String']['output'];
|
|
6268
|
-
id: Scalars['ID']['output'];
|
|
6269
6666
|
/** The item at the end of the edge. */
|
|
6270
6667
|
node?: Maybe<RoutineRun>;
|
|
6271
6668
|
};
|
|
@@ -6342,11 +6739,10 @@ export type RoutineTemplateActionConnection = {
|
|
|
6342
6739
|
};
|
|
6343
6740
|
|
|
6344
6741
|
/** An edge in a connection. */
|
|
6345
|
-
export type RoutineTemplateActionEdge =
|
|
6742
|
+
export type RoutineTemplateActionEdge = {
|
|
6346
6743
|
__typename?: 'RoutineTemplateActionEdge';
|
|
6347
6744
|
/** A cursor for use in pagination. */
|
|
6348
6745
|
cursor: Scalars['String']['output'];
|
|
6349
|
-
id: Scalars['ID']['output'];
|
|
6350
6746
|
/** The item at the end of the edge. */
|
|
6351
6747
|
node?: Maybe<RoutineTemplateAction>;
|
|
6352
6748
|
};
|
|
@@ -6365,11 +6761,10 @@ export type RoutineTemplateConnection = {
|
|
|
6365
6761
|
};
|
|
6366
6762
|
|
|
6367
6763
|
/** An edge in a connection. */
|
|
6368
|
-
export type RoutineTemplateEdge =
|
|
6764
|
+
export type RoutineTemplateEdge = {
|
|
6369
6765
|
__typename?: 'RoutineTemplateEdge';
|
|
6370
6766
|
/** A cursor for use in pagination. */
|
|
6371
6767
|
cursor: Scalars['String']['output'];
|
|
6372
|
-
id: Scalars['ID']['output'];
|
|
6373
6768
|
/** The item at the end of the edge. */
|
|
6374
6769
|
node?: Maybe<RoutineTemplate>;
|
|
6375
6770
|
};
|
|
@@ -6626,11 +7021,10 @@ export type SlackChannelConnection = {
|
|
|
6626
7021
|
};
|
|
6627
7022
|
|
|
6628
7023
|
/** An edge in a connection. */
|
|
6629
|
-
export type SlackChannelEdge =
|
|
7024
|
+
export type SlackChannelEdge = {
|
|
6630
7025
|
__typename?: 'SlackChannelEdge';
|
|
6631
7026
|
/** A cursor for use in pagination. */
|
|
6632
7027
|
cursor: Scalars['String']['output'];
|
|
6633
|
-
id: Scalars['ID']['output'];
|
|
6634
7028
|
/** The item at the end of the edge. */
|
|
6635
7029
|
node?: Maybe<SlackChannel>;
|
|
6636
7030
|
};
|
|
@@ -6716,6 +7110,8 @@ export type StartOutboundCampaignPayload = {
|
|
|
6716
7110
|
|
|
6717
7111
|
/** Filter on a string column with positive and negative matching. */
|
|
6718
7112
|
export type StringFilterInput = {
|
|
7113
|
+
/** When true, match only rows where the column is NULL or empty. False or omitted applies no constraint. */
|
|
7114
|
+
blank?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6719
7115
|
/** Exact match. */
|
|
6720
7116
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
6721
7117
|
/** Match any of these values. */
|
|
@@ -6724,6 +7120,8 @@ export type StringFilterInput = {
|
|
|
6724
7120
|
notEq?: InputMaybe<Scalars['String']['input']>;
|
|
6725
7121
|
/** Exclude any of these values. */
|
|
6726
7122
|
notIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7123
|
+
/** When true, match only rows where the column is neither NULL nor empty. False or omitted applies no constraint. */
|
|
7124
|
+
presence?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6727
7125
|
};
|
|
6728
7126
|
|
|
6729
7127
|
export type Subscription = {
|
|
@@ -6867,11 +7265,10 @@ export type SuggestionConnection = {
|
|
|
6867
7265
|
};
|
|
6868
7266
|
|
|
6869
7267
|
/** An edge in a connection. */
|
|
6870
|
-
export type SuggestionEdge =
|
|
7268
|
+
export type SuggestionEdge = {
|
|
6871
7269
|
__typename?: 'SuggestionEdge';
|
|
6872
7270
|
/** A cursor for use in pagination. */
|
|
6873
7271
|
cursor: Scalars['String']['output'];
|
|
6874
|
-
id: Scalars['ID']['output'];
|
|
6875
7272
|
/** The item at the end of the edge. */
|
|
6876
7273
|
node?: Maybe<Suggestion>;
|
|
6877
7274
|
};
|
|
@@ -6998,11 +7395,10 @@ export type ToneOfVoiceConnection = {
|
|
|
6998
7395
|
};
|
|
6999
7396
|
|
|
7000
7397
|
/** An edge in a connection. */
|
|
7001
|
-
export type ToneOfVoiceEdge =
|
|
7398
|
+
export type ToneOfVoiceEdge = {
|
|
7002
7399
|
__typename?: 'ToneOfVoiceEdge';
|
|
7003
7400
|
/** A cursor for use in pagination. */
|
|
7004
7401
|
cursor: Scalars['String']['output'];
|
|
7005
|
-
id: Scalars['ID']['output'];
|
|
7006
7402
|
/** The item at the end of the edge. */
|
|
7007
7403
|
node?: Maybe<ToneOfVoice>;
|
|
7008
7404
|
};
|
|
@@ -7058,11 +7454,10 @@ export type ToolCallConnection = {
|
|
|
7058
7454
|
};
|
|
7059
7455
|
|
|
7060
7456
|
/** An edge in a connection. */
|
|
7061
|
-
export type ToolCallEdge =
|
|
7457
|
+
export type ToolCallEdge = {
|
|
7062
7458
|
__typename?: 'ToolCallEdge';
|
|
7063
7459
|
/** A cursor for use in pagination. */
|
|
7064
7460
|
cursor: Scalars['String']['output'];
|
|
7065
|
-
id: Scalars['ID']['output'];
|
|
7066
7461
|
/** The item at the end of the edge. */
|
|
7067
7462
|
node?: Maybe<ToolCall>;
|
|
7068
7463
|
};
|
|
@@ -7472,6 +7867,26 @@ export type UpdateUserLocalePayload = Node & {
|
|
|
7472
7867
|
user: User;
|
|
7473
7868
|
};
|
|
7474
7869
|
|
|
7870
|
+
/** Autogenerated input type of UpdateWatcherLeadCaps */
|
|
7871
|
+
export type UpdateWatcherLeadCapsInput = {
|
|
7872
|
+
/** A unique identifier for the client performing the mutation. */
|
|
7873
|
+
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
7874
|
+
/** Global id of the Watcher whose caps are being replaced. */
|
|
7875
|
+
id: Scalars['ID']['input'];
|
|
7876
|
+
/** The full set of caps for the Watcher. Pass an empty list to remove all caps (leaving the Watcher uncapped). */
|
|
7877
|
+
leadCaps: Array<LeadCapInput>;
|
|
7878
|
+
};
|
|
7879
|
+
|
|
7880
|
+
/** Autogenerated return type of UpdateWatcherLeadCaps. */
|
|
7881
|
+
export type UpdateWatcherLeadCapsPayload = Node & {
|
|
7882
|
+
__typename?: 'UpdateWatcherLeadCapsPayload';
|
|
7883
|
+
/** A unique identifier for the client performing the mutation. */
|
|
7884
|
+
clientMutationId?: Maybe<Scalars['String']['output']>;
|
|
7885
|
+
id: Scalars['ID']['output'];
|
|
7886
|
+
/** The updated Watcher. */
|
|
7887
|
+
watcher: Watcher;
|
|
7888
|
+
};
|
|
7889
|
+
|
|
7475
7890
|
/** Federation reference to a User owned by another subgraph. */
|
|
7476
7891
|
export type User = Node & {
|
|
7477
7892
|
__typename?: 'User';
|
|
@@ -7564,11 +7979,10 @@ export type UserConnection = {
|
|
|
7564
7979
|
};
|
|
7565
7980
|
|
|
7566
7981
|
/** An edge in a connection. */
|
|
7567
|
-
export type UserEdge =
|
|
7982
|
+
export type UserEdge = {
|
|
7568
7983
|
__typename?: 'UserEdge';
|
|
7569
7984
|
/** A cursor for use in pagination. */
|
|
7570
7985
|
cursor: Scalars['String']['output'];
|
|
7571
|
-
id: Scalars['ID']['output'];
|
|
7572
7986
|
/** The item at the end of the edge. */
|
|
7573
7987
|
node?: Maybe<User>;
|
|
7574
7988
|
};
|
|
@@ -7709,6 +8123,13 @@ export type Watcher = AcquisitionerInterface & Node & {
|
|
|
7709
8123
|
definition: Definition;
|
|
7710
8124
|
/** Captured Events for this Watcher, newest first. */
|
|
7711
8125
|
events: EventConnection;
|
|
8126
|
+
/**
|
|
8127
|
+
* Ideal Customer Profile this Watcher filters its leads by, in the same shape
|
|
8128
|
+
* Atlas search uses — including geography, as `contact.divisionIds` /
|
|
8129
|
+
* `organization.divisionIds`. Null for a Watcher created without a profile. Part
|
|
8130
|
+
* of the Watcher's identity, so it is fixed at creation.
|
|
8131
|
+
*/
|
|
8132
|
+
icp?: Maybe<WatcherIcp>;
|
|
7712
8133
|
/** GlobalID-encoded Watcher id. */
|
|
7713
8134
|
id: Scalars['ID']['output'];
|
|
7714
8135
|
/**
|
|
@@ -7726,6 +8147,8 @@ export type Watcher = AcquisitionerInterface & Node & {
|
|
|
7726
8147
|
* provider requires client-side setup.
|
|
7727
8148
|
*/
|
|
7728
8149
|
installations: Array<Scalars['JSON']['output']>;
|
|
8150
|
+
/** Freshness-first per-period lead caps applied to this Watcher. Empty when the Watcher is uncapped. */
|
|
8151
|
+
leadCaps: WatcherLeadCapConnection;
|
|
7729
8152
|
/** Human-readable display name of the Watcher, derived from the signal Definition it tracks. */
|
|
7730
8153
|
name: Scalars['String']['output'];
|
|
7731
8154
|
/** Timestamp of the most recent change to this Watcher. */
|
|
@@ -7743,6 +8166,178 @@ export type WatcherEventsArgs = {
|
|
|
7743
8166
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7744
8167
|
};
|
|
7745
8168
|
|
|
8169
|
+
|
|
8170
|
+
/** Federation reference to a Watcher owned by another subgraph. */
|
|
8171
|
+
export type WatcherLeadCapsArgs = {
|
|
8172
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
8173
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
8174
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
8175
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
8176
|
+
};
|
|
8177
|
+
|
|
8178
|
+
/**
|
|
8179
|
+
* Person-level ICP criteria, as submitted. Mirrors `WatcherContactIcpInput`, which
|
|
8180
|
+
* in turn mirrors the subset of Atlas's `ContactFilterInput` an upstream lead
|
|
8181
|
+
* source can enforce.
|
|
8182
|
+
*/
|
|
8183
|
+
export type WatcherContactIcp = {
|
|
8184
|
+
__typename?: 'WatcherContactIcp';
|
|
8185
|
+
/** Mercator locations the person had to belong to. */
|
|
8186
|
+
divisionIds?: Maybe<WatcherDivisionFilter>;
|
|
8187
|
+
/**
|
|
8188
|
+
* Job title embedding filters. Only the *direction* of `distance` was honoured
|
|
8189
|
+
* upstream (`lt`/`lteq` include, `gt`/`gteq` exclude); the numeric threshold is
|
|
8190
|
+
* kept here because it is what the caller sent.
|
|
8191
|
+
*/
|
|
8192
|
+
jobTitle?: Maybe<Array<EmbeddingFilter>>;
|
|
8193
|
+
};
|
|
8194
|
+
|
|
8195
|
+
/** Person-level ICP criteria, mirroring the subset of Atlas's `ContactFilterInput` that an upstream lead source can enforce. */
|
|
8196
|
+
export type WatcherContactIcpInput = {
|
|
8197
|
+
/**
|
|
8198
|
+
* Mercator location division IDs the person must belong to. Resolved to place
|
|
8199
|
+
* names before being handed upstream, since no source speaks Mercator.
|
|
8200
|
+
*/
|
|
8201
|
+
divisionIds?: InputMaybe<IdFilterInput>;
|
|
8202
|
+
/**
|
|
8203
|
+
* Job title embedding filters. Each entry's `query` is matched against the
|
|
8204
|
+
* source's own role targeting. Combine related roles in one string (e.g. "CMO,
|
|
8205
|
+
* Marketing Director, VP Marketing") — the same convention Atlas search uses.
|
|
8206
|
+
* Only the *direction* of `distance` is honoured (`lt`/`lteq` include,
|
|
8207
|
+
* `gt`/`gteq` exclude); no upstream source supports a numeric distance threshold.
|
|
8208
|
+
*/
|
|
8209
|
+
jobTitle?: InputMaybe<Array<EmbeddingFilterInput>>;
|
|
8210
|
+
};
|
|
8211
|
+
|
|
8212
|
+
/** A Mercator location filter, as submitted, resolved to Locations. */
|
|
8213
|
+
export type WatcherDivisionFilter = {
|
|
8214
|
+
__typename?: 'WatcherDivisionFilter';
|
|
8215
|
+
/** Location that had to match exactly. */
|
|
8216
|
+
eq?: Maybe<Location>;
|
|
8217
|
+
/** Locations any of which had to match. */
|
|
8218
|
+
in?: Maybe<Array<Location>>;
|
|
8219
|
+
/** Location that was excluded. */
|
|
8220
|
+
notEq?: Maybe<Location>;
|
|
8221
|
+
/** Locations that were excluded. */
|
|
8222
|
+
notIn?: Maybe<Array<Location>>;
|
|
8223
|
+
};
|
|
8224
|
+
|
|
8225
|
+
/**
|
|
8226
|
+
* The Ideal Customer Profile a Watcher filters its leads by, returned in the same
|
|
8227
|
+
* vocabulary Atlas search uses. This is what the caller submitted, not what each
|
|
8228
|
+
* source could enforce: criteria an individual source cannot express are dropped
|
|
8229
|
+
* for that source only, and that translation is not reflected here.
|
|
8230
|
+
*/
|
|
8231
|
+
export type WatcherIcp = {
|
|
8232
|
+
__typename?: 'WatcherIcp';
|
|
8233
|
+
/** Person-level criteria. */
|
|
8234
|
+
contact?: Maybe<WatcherContactIcp>;
|
|
8235
|
+
/** Company-level criteria. */
|
|
8236
|
+
organization?: Maybe<WatcherOrganizationIcp>;
|
|
8237
|
+
};
|
|
8238
|
+
|
|
8239
|
+
/**
|
|
8240
|
+
* The subscriber's Ideal Customer Profile, expressed in the same vocabulary Atlas
|
|
8241
|
+
* search uses so a caller can pass the filters it already built for
|
|
8242
|
+
* `searchContacts`. Enforced twice: each Watcher provider translates what it can
|
|
8243
|
+
* into whatever its upstream source accepts, so out-of-ICP leads are never
|
|
8244
|
+
* streamed — and never billed — and every resolved contact is then re-checked
|
|
8245
|
+
* against the full ICP before delivery. Criteria an individual source cannot
|
|
8246
|
+
* express are therefore still applied, just later, so the ICP means the same thing
|
|
8247
|
+
* whichever provider backs the watcher.
|
|
8248
|
+
*/
|
|
8249
|
+
export type WatcherIcpInput = {
|
|
8250
|
+
/** Person-level criteria. */
|
|
8251
|
+
contact?: InputMaybe<WatcherContactIcpInput>;
|
|
8252
|
+
/** Company-level criteria. */
|
|
8253
|
+
organization?: InputMaybe<WatcherOrganizationIcpInput>;
|
|
8254
|
+
};
|
|
8255
|
+
|
|
8256
|
+
/**
|
|
8257
|
+
* A freshness-first lead cap on a Watcher: at most `maximumLeads` events are
|
|
8258
|
+
* surfaced per `period`, counted from `startsAt` and reset at every period boundary.
|
|
8259
|
+
*/
|
|
8260
|
+
export type WatcherLeadCap = Node & {
|
|
8261
|
+
__typename?: 'WatcherLeadCap';
|
|
8262
|
+
/** Timestamp when the cap was created. */
|
|
8263
|
+
createdAt: Scalars['ISO8601DateTime']['output'];
|
|
8264
|
+
/** Start of the window currently accumulating; events are counted from here and the usage resets at the next boundary. */
|
|
8265
|
+
currentPeriodStartsAt: Scalars['ISO8601DateTime']['output'];
|
|
8266
|
+
/** Number of events already surfaced in the current window. The cap drops further events once this reaches `maximumLeads`. */
|
|
8267
|
+
currentUsage: Scalars['Int']['output'];
|
|
8268
|
+
id: Scalars['ID']['output'];
|
|
8269
|
+
/** Maximum number of events surfaced per period. */
|
|
8270
|
+
maximumLeads: Scalars['Int']['output'];
|
|
8271
|
+
/** Length of the accumulation window as an ISO-8601 duration, e.g. P1D or P1W. */
|
|
8272
|
+
period: Scalars['ISO8601Duration']['output'];
|
|
8273
|
+
/** Anchor at which the first period begins; each window is measured forward from here. */
|
|
8274
|
+
startsAt: Scalars['ISO8601DateTime']['output'];
|
|
8275
|
+
};
|
|
8276
|
+
|
|
8277
|
+
/** The connection type for WatcherLeadCap. */
|
|
8278
|
+
export type WatcherLeadCapConnection = {
|
|
8279
|
+
__typename?: 'WatcherLeadCapConnection';
|
|
8280
|
+
/** A list of edges. */
|
|
8281
|
+
edges?: Maybe<Array<Maybe<WatcherLeadCapEdge>>>;
|
|
8282
|
+
/** A list of nodes. */
|
|
8283
|
+
nodes?: Maybe<Array<Maybe<WatcherLeadCap>>>;
|
|
8284
|
+
/** Information to aid in pagination. */
|
|
8285
|
+
pageInfo: PageInfo;
|
|
8286
|
+
/** Total number of items across all pages. */
|
|
8287
|
+
totalCount: Scalars['Int']['output'];
|
|
8288
|
+
};
|
|
8289
|
+
|
|
8290
|
+
/** An edge in a connection. */
|
|
8291
|
+
export type WatcherLeadCapEdge = {
|
|
8292
|
+
__typename?: 'WatcherLeadCapEdge';
|
|
8293
|
+
/** A cursor for use in pagination. */
|
|
8294
|
+
cursor: Scalars['String']['output'];
|
|
8295
|
+
/** The item at the end of the edge. */
|
|
8296
|
+
node?: Maybe<WatcherLeadCap>;
|
|
8297
|
+
};
|
|
8298
|
+
|
|
8299
|
+
/**
|
|
8300
|
+
* Company-level ICP criteria, as submitted. Mirrors `WatcherOrganizationIcpInput`,
|
|
8301
|
+
* which in turn mirrors the subset of Atlas's `OrganizationFilterInput` an
|
|
8302
|
+
* upstream lead source can enforce.
|
|
8303
|
+
*/
|
|
8304
|
+
export type WatcherOrganizationIcp = {
|
|
8305
|
+
__typename?: 'WatcherOrganizationIcp';
|
|
8306
|
+
/**
|
|
8307
|
+
* Employee-count range the organization had to fall in, as `[min, max]`.
|
|
8308
|
+
* Flattened from the submitted filter's `overlaps`, the only operator creation
|
|
8309
|
+
* accepts — `contains` and `contained_by` describe querying a stored range and
|
|
8310
|
+
* are rejected, so there is nothing else to report.
|
|
8311
|
+
*/
|
|
8312
|
+
companySize?: Maybe<Scalars['Range']['output']>;
|
|
8313
|
+
/** Mercator locations the organization had to belong to. */
|
|
8314
|
+
divisionIds?: Maybe<WatcherDivisionFilter>;
|
|
8315
|
+
/** Industry embedding filters, same `distance` handling as `WatcherContactIcp.jobTitle`. */
|
|
8316
|
+
industry?: Maybe<Array<EmbeddingFilter>>;
|
|
8317
|
+
};
|
|
8318
|
+
|
|
8319
|
+
/**
|
|
8320
|
+
* Company-level ICP criteria, mirroring the subset of Atlas's
|
|
8321
|
+
* `OrganizationFilterInput` that an upstream lead source can enforce.
|
|
8322
|
+
*/
|
|
8323
|
+
export type WatcherOrganizationIcpInput = {
|
|
8324
|
+
/**
|
|
8325
|
+
* Employee-count range, e.g. `{ overlaps: [0, 100] }` for "fewer than 100
|
|
8326
|
+
* employees" or `{ overlaps: [1000] }` for "1000+". Mapped onto the headcount
|
|
8327
|
+
* buckets the upstream source accepts. `contains` / `contained_by` describe
|
|
8328
|
+
* querying a stored range and have no meaning at an external source, so they are rejected.
|
|
8329
|
+
*/
|
|
8330
|
+
companySize?: InputMaybe<RangeFilterInput>;
|
|
8331
|
+
/** Mercator location division IDs the organization must belong to. Resolved to place names before being handed upstream. */
|
|
8332
|
+
divisionIds?: InputMaybe<IdFilterInput>;
|
|
8333
|
+
/**
|
|
8334
|
+
* Industry embedding filters. Each entry's `query` is matched against the
|
|
8335
|
+
* source's own industry taxonomy. Only the *direction* of `distance` is honoured
|
|
8336
|
+
* (`lt`/`lteq` include, `gt`/`gteq` exclude).
|
|
8337
|
+
*/
|
|
8338
|
+
industry?: InputMaybe<Array<EmbeddingFilterInput>>;
|
|
8339
|
+
};
|
|
8340
|
+
|
|
7746
8341
|
/** Delivery endpoint registered on a Watcher. Secrets are write-only — they are never returned by the API. */
|
|
7747
8342
|
export type WatcherWebhookInput = {
|
|
7748
8343
|
/**
|
|
@@ -7867,14 +8462,7 @@ export type Link__Purpose =
|
|
|
7867
8462
|
export type MeQueryVariables = Exact<{ [key: string]: never; }>;
|
|
7868
8463
|
|
|
7869
8464
|
|
|
7870
|
-
export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'User', sub: string, email: string, firstName?: string | null, lastName?: string | null
|
|
7871
|
-
|
|
7872
|
-
export type CreateSalesOfferMutationVariables = Exact<{
|
|
7873
|
-
input: CreateSalesOfferInput;
|
|
7874
|
-
}>;
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
export type CreateSalesOfferMutation = { __typename?: 'Mutation', createSalesOffer?: { __typename?: 'CreateSalesOfferPayload', inviteUrl: string, offerId: string, companyId: string } | null };
|
|
8465
|
+
export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'User', sub: string, email: string, firstName?: string | null, lastName?: string | null } | null };
|
|
7878
8466
|
|
|
7879
8467
|
export type LogoutUrlQueryVariables = Exact<{ [key: string]: never; }>;
|
|
7880
8468
|
|
|
@@ -7903,8 +8491,7 @@ export type RefreshTokenMutationVariables = Exact<{
|
|
|
7903
8491
|
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 };
|
|
7904
8492
|
|
|
7905
8493
|
|
|
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"}}
|
|
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>;
|
|
8494
|
+
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"}}]}}]}}]} as unknown as DocumentNode<MeQuery, MeQueryVariables>;
|
|
7908
8495
|
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>;
|
|
7909
8496
|
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>;
|
|
7910
8497
|
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>;
|