@vibase/sdk 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/operations.js +91 -315
- package/dist/generated/types.d.ts +210 -727
- package/package.json +1 -1
|
@@ -106,7 +106,7 @@ export declare namespace ApiDocument {
|
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
108
108
|
* Count companies, and sum, average or take the minimum or maximum of their fields
|
|
109
|
-
* @description Counts the live companies that match the filters, which are exactly the filters of companies.list (no after, limit, sort or order), and optionally sums, averages or takes the minimum or maximum of fields. The answer is { count, sum?, avg?, min?, max?, currency?, groups? }: count always, and each function you ask for as an object keyed by field. Nulls are ignored, a function with no values is null, sum is refused above 9007199254740991 (the largest exact integer), avg is not rounded, min and max return the value as the record shows it. At most 10 field terms in all. With group_by (up to 2 of name, domain, created_by) the answer is { count, groups: [{ key, count, sum?, avg?, min?, max?, currency? }] }: count is every matching row, and each group is the answer the call would give with the key added as filters, ordered by the group fields with the null group last; more than 200 groups is refused, never truncated. Cost: reads every live company that matches the filters, with no page limit; a filter schema.get marks `indexed` narrows that read through an index; any other filter, or none, reads every live company of the workspace. With group_by the same rows are read and sorted by the group fields (no index).
|
|
109
|
+
* @description Counts the live companies that match the filters, which are exactly the filters of companies.list (no after, limit, sort or order), and optionally sums, averages or takes the minimum or maximum of fields. The answer is { count, sum?, avg?, min?, max?, currency?, groups? }: count always, and each function you ask for as an object keyed by field. Nulls are ignored, a function with no values is null, sum is refused above 9007199254740991 (the largest exact integer), avg is not rounded, min and max return the value as the record shows it. At most 10 field terms in all. With group_by (up to 2 of name, domain, owner_id, created_by) the answer is { count, groups: [{ key, count, sum?, avg?, min?, max?, currency? }] }: count is every matching row, and each group is the answer the call would give with the key added as filters, ordered by the group fields with the null group last; more than 200 groups is refused, never truncated. Cost: reads every live company that matches the filters, with no page limit; a filter schema.get marks `indexed` narrows that read through an index; any other filter, or none, reads every live company of the workspace. With group_by the same rows are read and sorted by the group fields (no index).
|
|
110
110
|
*/
|
|
111
111
|
get: operations["companies.aggregate"];
|
|
112
112
|
put?: never;
|
|
@@ -148,7 +148,10 @@ export declare namespace ApiDocument {
|
|
|
148
148
|
get: operations["companies.get"];
|
|
149
149
|
put?: never;
|
|
150
150
|
post?: never;
|
|
151
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* Delete a company
|
|
153
|
+
* @description Soft-deletes the company. It unlinks the company's live contacts and deals (company_id becomes null, one contact.updated or deal.updated each) and deletes its file links and associations.
|
|
154
|
+
*/
|
|
152
155
|
delete: operations["companies.delete"];
|
|
153
156
|
options?: never;
|
|
154
157
|
head?: never;
|
|
@@ -183,7 +186,7 @@ export declare namespace ApiDocument {
|
|
|
183
186
|
};
|
|
184
187
|
/**
|
|
185
188
|
* Count contacts, and sum, average or take the minimum or maximum of their fields
|
|
186
|
-
* @description Counts the live contacts that match the filters, which are exactly the filters of contacts.list (no after, limit, sort or order), and optionally sums, averages or takes the minimum or maximum of fields. The answer is { count, sum?, avg?, min?, max?, currency?, groups? }: count always, and each function you ask for as an object keyed by field. Nulls are ignored, a function with no values is null, sum is refused above 9007199254740991 (the largest exact integer), avg is not rounded, min and max return the value as the record shows it. At most 10 field terms in all. With group_by (up to 2 of name, company_id, merged_into_id, created_by) the answer is { count, groups: [{ key, count, sum?, avg?, min?, max?, currency? }] }: count is every matching row, and each group is the answer the call would give with the key added as filters, ordered by the group fields with the null group last; more than 200 groups is refused, never truncated. Cost: reads every live contact that matches the filters, with no page limit; a filter schema.get marks `indexed` narrows that read through an index; any other filter, or none, reads every live contact of the workspace. With group_by the same rows are read and sorted by the group fields (no index).
|
|
189
|
+
* @description Counts the live contacts that match the filters, which are exactly the filters of contacts.list (no after, limit, sort or order), and optionally sums, averages or takes the minimum or maximum of fields. The answer is { count, sum?, avg?, min?, max?, currency?, groups? }: count always, and each function you ask for as an object keyed by field. Nulls are ignored, a function with no values is null, sum is refused above 9007199254740991 (the largest exact integer), avg is not rounded, min and max return the value as the record shows it. At most 10 field terms in all. With group_by (up to 2 of name, company_id, owner_id, merged_into_id, created_by) the answer is { count, groups: [{ key, count, sum?, avg?, min?, max?, currency? }] }: count is every matching row, and each group is the answer the call would give with the key added as filters, ordered by the group fields with the null group last; more than 200 groups is refused, never truncated. Cost: reads every live contact that matches the filters, with no page limit; a filter schema.get marks `indexed` narrows that read through an index; any other filter, or none, reads every live contact of the workspace. With group_by the same rows are read and sorted by the group fields (no index).
|
|
187
190
|
*/
|
|
188
191
|
get: operations["contacts.aggregate"];
|
|
189
192
|
put?: never;
|
|
@@ -245,7 +248,7 @@ export declare namespace ApiDocument {
|
|
|
245
248
|
put?: never;
|
|
246
249
|
/**
|
|
247
250
|
* Create a identity
|
|
248
|
-
* @description Record an address, for a contact (contact_id) or as one of our own (own: true; a signed-in person only, 403 user_required for an agent). 409 identity_exists when the address is already live.
|
|
251
|
+
* @description Record an address or a public profile, for a contact (contact_id) or as one of our own (own: true; a signed-in person only, 403 user_required for an agent). For the kinds linkedin, x, github, instagram, facebook and tiktok a profile may be given as a URL or a handle; the lowercase handle is stored. 400 invalid_identity when the value is not valid for its kind. 409 identity_exists when the address is already live.
|
|
249
252
|
*/
|
|
250
253
|
post: operations["identities.create"];
|
|
251
254
|
delete?: never;
|
|
@@ -380,7 +383,7 @@ export declare namespace ApiDocument {
|
|
|
380
383
|
};
|
|
381
384
|
/**
|
|
382
385
|
* Count deals, and sum, average or take the minimum or maximum of their fields
|
|
383
|
-
* @description Counts the live deals that match the filters, which are exactly the filters of deals.list (no after, limit, sort or order), and optionally sums, averages or takes the minimum or maximum of fields. The answer is { count, sum?, avg?, min?, max?, currency?, groups? }: count always, and each function you ask for as an object keyed by field. Nulls are ignored, a function with no values is null, sum is refused above 9007199254740991 (the largest exact integer), avg is not rounded, min and max return the value as the record shows it. At most 10 field terms in all. With group_by (up to 2 of name, pipeline_id, stage_id, amount_minor, currency, expected_close_date, owner_id, created_by) the answer is { count, groups: [{ key, count, sum?, avg?, min?, max?, currency? }] }: count is every matching row, and each group is the answer the call would give with the key added as filters, ordered by the group fields with the null group last; more than 200 groups is refused, never truncated. amount_minor is money in the minor units of each deal's currency: sum, avg, min or max of it is refused (400) when the matching amounts are in more than one currency, naming them (add currency=eq.<code> to aggregate one); otherwise the answer carries currency: { amount_minor: "<code>" } (null when there are no amounts). count is never refused. With group_by the rule is judged in each group, so group_by=currency gives one total per currency. Cost: reads every live deal that matches the filters, with no page limit; a filter schema.get marks `indexed` narrows that read through an index; any other filter, or none, reads every live deal of the workspace. With group_by the same rows are read and sorted by the group fields (no index).
|
|
386
|
+
* @description Counts the live deals that match the filters, which are exactly the filters of deals.list (no after, limit, sort or order), and optionally sums, averages or takes the minimum or maximum of fields. The answer is { count, sum?, avg?, min?, max?, currency?, groups? }: count always, and each function you ask for as an object keyed by field. Nulls are ignored, a function with no values is null, sum is refused above 9007199254740991 (the largest exact integer), avg is not rounded, min and max return the value as the record shows it. At most 10 field terms in all. With group_by (up to 2 of name, pipeline_id, stage_id, amount_minor, currency, expected_close_date, owner_id, company_id, created_by) the answer is { count, groups: [{ key, count, sum?, avg?, min?, max?, currency? }] }: count is every matching row, and each group is the answer the call would give with the key added as filters, ordered by the group fields with the null group last; more than 200 groups is refused, never truncated. amount_minor is money in the minor units of each deal's currency: sum, avg, min or max of it is refused (400) when the matching amounts are in more than one currency, naming them (add currency=eq.<code> to aggregate one); otherwise the answer carries currency: { amount_minor: "<code>" } (null when there are no amounts). count is never refused. With group_by the rule is judged in each group, so group_by=currency gives one total per currency. Cost: reads every live deal that matches the filters, with no page limit; a filter schema.get marks `indexed` narrows that read through an index; any other filter, or none, reads every live deal of the workspace. With group_by the same rows are read and sorted by the group fields (no index).
|
|
384
387
|
*/
|
|
385
388
|
get: operations["deals.aggregate"];
|
|
386
389
|
put?: never;
|
|
@@ -586,78 +589,6 @@ export declare namespace ApiDocument {
|
|
|
586
589
|
patch?: never;
|
|
587
590
|
trace?: never;
|
|
588
591
|
};
|
|
589
|
-
"/api/v1/contact-files": {
|
|
590
|
-
parameters: {
|
|
591
|
-
query?: never;
|
|
592
|
-
header?: never;
|
|
593
|
-
path?: never;
|
|
594
|
-
cookie?: never;
|
|
595
|
-
};
|
|
596
|
-
/** List contact_files */
|
|
597
|
-
get: operations["contact_files.list"];
|
|
598
|
-
put?: never;
|
|
599
|
-
/** Create a contact_file */
|
|
600
|
-
post: operations["contact_files.create"];
|
|
601
|
-
delete?: never;
|
|
602
|
-
options?: never;
|
|
603
|
-
head?: never;
|
|
604
|
-
patch?: never;
|
|
605
|
-
trace?: never;
|
|
606
|
-
};
|
|
607
|
-
"/api/v1/contact-files/{id}": {
|
|
608
|
-
parameters: {
|
|
609
|
-
query?: never;
|
|
610
|
-
header?: never;
|
|
611
|
-
path?: never;
|
|
612
|
-
cookie?: never;
|
|
613
|
-
};
|
|
614
|
-
/** Get a contact_file */
|
|
615
|
-
get: operations["contact_files.get"];
|
|
616
|
-
put?: never;
|
|
617
|
-
post?: never;
|
|
618
|
-
/** Delete a contact_file */
|
|
619
|
-
delete: operations["contact_files.delete"];
|
|
620
|
-
options?: never;
|
|
621
|
-
head?: never;
|
|
622
|
-
patch?: never;
|
|
623
|
-
trace?: never;
|
|
624
|
-
};
|
|
625
|
-
"/api/v1/company-files": {
|
|
626
|
-
parameters: {
|
|
627
|
-
query?: never;
|
|
628
|
-
header?: never;
|
|
629
|
-
path?: never;
|
|
630
|
-
cookie?: never;
|
|
631
|
-
};
|
|
632
|
-
/** List company_files */
|
|
633
|
-
get: operations["company_files.list"];
|
|
634
|
-
put?: never;
|
|
635
|
-
/** Create a company_file */
|
|
636
|
-
post: operations["company_files.create"];
|
|
637
|
-
delete?: never;
|
|
638
|
-
options?: never;
|
|
639
|
-
head?: never;
|
|
640
|
-
patch?: never;
|
|
641
|
-
trace?: never;
|
|
642
|
-
};
|
|
643
|
-
"/api/v1/company-files/{id}": {
|
|
644
|
-
parameters: {
|
|
645
|
-
query?: never;
|
|
646
|
-
header?: never;
|
|
647
|
-
path?: never;
|
|
648
|
-
cookie?: never;
|
|
649
|
-
};
|
|
650
|
-
/** Get a company_file */
|
|
651
|
-
get: operations["company_files.get"];
|
|
652
|
-
put?: never;
|
|
653
|
-
post?: never;
|
|
654
|
-
/** Delete a company_file */
|
|
655
|
-
delete: operations["company_files.delete"];
|
|
656
|
-
options?: never;
|
|
657
|
-
head?: never;
|
|
658
|
-
patch?: never;
|
|
659
|
-
trace?: never;
|
|
660
|
-
};
|
|
661
592
|
"/api/v1/associations": {
|
|
662
593
|
parameters: {
|
|
663
594
|
query?: never;
|
|
@@ -746,7 +677,10 @@ export declare namespace ApiDocument {
|
|
|
746
677
|
};
|
|
747
678
|
get?: never;
|
|
748
679
|
put?: never;
|
|
749
|
-
/**
|
|
680
|
+
/**
|
|
681
|
+
* Resolve addresses to identities, creating contacts for new ones
|
|
682
|
+
* @description Find the identity and contact for each address (the contact is null for one of the organisation's own). An unknown address gets a new contact, named from name when given. kind is email, phone or a public profile (linkedin, x, github, instagram, facebook, tiktok); a profile may be given as a URL or a handle.
|
|
683
|
+
*/
|
|
750
684
|
post: operations["identities.resolve"];
|
|
751
685
|
delete?: never;
|
|
752
686
|
options?: never;
|
|
@@ -1034,8 +968,6 @@ export declare namespace ApiDocument {
|
|
|
1034
968
|
data: {
|
|
1035
969
|
/** Format: uuid */
|
|
1036
970
|
id: string;
|
|
1037
|
-
/** Format: uuid */
|
|
1038
|
-
organization_id: string;
|
|
1039
971
|
title: string;
|
|
1040
972
|
description: string | null;
|
|
1041
973
|
/** @enum {string} */
|
|
@@ -1095,8 +1027,6 @@ export declare namespace ApiDocument {
|
|
|
1095
1027
|
"application/json": {
|
|
1096
1028
|
/** Format: uuid */
|
|
1097
1029
|
id: string;
|
|
1098
|
-
/** Format: uuid */
|
|
1099
|
-
organization_id: string;
|
|
1100
1030
|
title: string;
|
|
1101
1031
|
description: string | null;
|
|
1102
1032
|
/** @enum {string} */
|
|
@@ -1268,8 +1198,6 @@ export declare namespace ApiDocument {
|
|
|
1268
1198
|
"application/json": {
|
|
1269
1199
|
/** Format: uuid */
|
|
1270
1200
|
id: string;
|
|
1271
|
-
/** Format: uuid */
|
|
1272
|
-
organization_id: string;
|
|
1273
1201
|
title: string;
|
|
1274
1202
|
description: string | null;
|
|
1275
1203
|
/** @enum {string} */
|
|
@@ -1361,8 +1289,6 @@ export declare namespace ApiDocument {
|
|
|
1361
1289
|
"application/json": {
|
|
1362
1290
|
/** Format: uuid */
|
|
1363
1291
|
id: string;
|
|
1364
|
-
/** Format: uuid */
|
|
1365
|
-
organization_id: string;
|
|
1366
1292
|
title: string;
|
|
1367
1293
|
description: string | null;
|
|
1368
1294
|
/** @enum {string} */
|
|
@@ -1392,6 +1318,8 @@ export declare namespace ApiDocument {
|
|
|
1392
1318
|
limit?: number;
|
|
1393
1319
|
/** @description Filter by domain (text, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is, like, ilike. Example: domain=ilike.*acme*. A range is two conditions: domain=gte.a&domain=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send domain=eq.<value> for a literal. */
|
|
1394
1320
|
domain?: string | string[];
|
|
1321
|
+
/** @description Filter by owner_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: owner_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send owner_id=eq.<value> for a literal. */
|
|
1322
|
+
owner_id?: string | string[];
|
|
1395
1323
|
/** @description Only rows linked to this tag (an association). Needs tags:read and associations:read. */
|
|
1396
1324
|
tag_id?: string;
|
|
1397
1325
|
/** @description Only rows linked to the live tag with exactly this name (trimmed, case-sensitive: unlike tags?name=, which folds ASCII case). An unknown name gives an empty page. Needs tags:read and associations:read. */
|
|
@@ -1429,10 +1357,10 @@ export declare namespace ApiDocument {
|
|
|
1429
1357
|
data: {
|
|
1430
1358
|
/** Format: uuid */
|
|
1431
1359
|
id: string;
|
|
1432
|
-
/** Format: uuid */
|
|
1433
|
-
organization_id: string;
|
|
1434
1360
|
name: string;
|
|
1435
1361
|
domain: string | null;
|
|
1362
|
+
/** Format: uuid */
|
|
1363
|
+
owner_id: string | null;
|
|
1436
1364
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1437
1365
|
additional_props: {
|
|
1438
1366
|
[key: string]: string | number | boolean;
|
|
@@ -1461,6 +1389,8 @@ export declare namespace ApiDocument {
|
|
|
1461
1389
|
"application/json": {
|
|
1462
1390
|
name: string;
|
|
1463
1391
|
domain?: string | null;
|
|
1392
|
+
/** Format: uuid */
|
|
1393
|
+
owner_id?: string | null;
|
|
1464
1394
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1465
1395
|
additional_props?: {
|
|
1466
1396
|
[key: string]: unknown;
|
|
@@ -1478,10 +1408,10 @@ export declare namespace ApiDocument {
|
|
|
1478
1408
|
"application/json": {
|
|
1479
1409
|
/** Format: uuid */
|
|
1480
1410
|
id: string;
|
|
1481
|
-
/** Format: uuid */
|
|
1482
|
-
organization_id: string;
|
|
1483
1411
|
name: string;
|
|
1484
1412
|
domain: string | null;
|
|
1413
|
+
/** Format: uuid */
|
|
1414
|
+
owner_id: string | null;
|
|
1485
1415
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1486
1416
|
additional_props: {
|
|
1487
1417
|
[key: string]: string | number | boolean;
|
|
@@ -1502,10 +1432,12 @@ export declare namespace ApiDocument {
|
|
|
1502
1432
|
min?: string;
|
|
1503
1433
|
/** @description Maximum of fields, comma-separated: name, domain, created_at, updated_at. The answer has max as an object keyed by field. Nulls are ignored; no values gives null. */
|
|
1504
1434
|
max?: string;
|
|
1505
|
-
/** @description Group the answer by up to 2 fields, comma-separated: name, domain, created_by. The answer is { count, groups } with one entry per group (key, count and each function you ask for), ordered by the group fields with the null group last. More than 200 groups is refused. A function over a money field is judged in each group. */
|
|
1435
|
+
/** @description Group the answer by up to 2 fields, comma-separated: name, domain, owner_id, created_by. The answer is { count, groups } with one entry per group (key, count and each function you ask for), ordered by the group fields with the null group last. More than 200 groups is refused. A function over a money field is judged in each group. */
|
|
1506
1436
|
group_by?: string;
|
|
1507
1437
|
/** @description Filter by domain (text, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is, like, ilike. Example: domain=ilike.*acme*. A range is two conditions: domain=gte.a&domain=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send domain=eq.<value> for a literal. */
|
|
1508
1438
|
domain?: string | string[];
|
|
1439
|
+
/** @description Filter by owner_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: owner_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send owner_id=eq.<value> for a literal. */
|
|
1440
|
+
owner_id?: string | string[];
|
|
1509
1441
|
/** @description Only rows linked to this tag (an association). Needs tags:read and associations:read. */
|
|
1510
1442
|
tag_id?: string;
|
|
1511
1443
|
/** @description Only rows linked to the live tag with exactly this name (trimmed, case-sensitive: unlike tags?name=, which folds ASCII case). An unknown name gives an empty page. Needs tags:read and associations:read. */
|
|
@@ -1637,10 +1569,10 @@ export declare namespace ApiDocument {
|
|
|
1637
1569
|
"application/json": {
|
|
1638
1570
|
/** Format: uuid */
|
|
1639
1571
|
id: string;
|
|
1640
|
-
/** Format: uuid */
|
|
1641
|
-
organization_id: string;
|
|
1642
1572
|
name: string;
|
|
1643
1573
|
domain: string | null;
|
|
1574
|
+
/** Format: uuid */
|
|
1575
|
+
owner_id: string | null;
|
|
1644
1576
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1645
1577
|
additional_props: {
|
|
1646
1578
|
[key: string]: string | number | boolean;
|
|
@@ -1701,6 +1633,8 @@ export declare namespace ApiDocument {
|
|
|
1701
1633
|
"application/json": {
|
|
1702
1634
|
name?: string;
|
|
1703
1635
|
domain?: string | null;
|
|
1636
|
+
/** Format: uuid */
|
|
1637
|
+
owner_id?: string | null;
|
|
1704
1638
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1705
1639
|
additional_props?: {
|
|
1706
1640
|
[key: string]: unknown;
|
|
@@ -1718,10 +1652,10 @@ export declare namespace ApiDocument {
|
|
|
1718
1652
|
"application/json": {
|
|
1719
1653
|
/** Format: uuid */
|
|
1720
1654
|
id: string;
|
|
1721
|
-
/** Format: uuid */
|
|
1722
|
-
organization_id: string;
|
|
1723
1655
|
name: string;
|
|
1724
1656
|
domain: string | null;
|
|
1657
|
+
/** Format: uuid */
|
|
1658
|
+
owner_id: string | null;
|
|
1725
1659
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1726
1660
|
additional_props: {
|
|
1727
1661
|
[key: string]: string | number | boolean;
|
|
@@ -1743,6 +1677,8 @@ export declare namespace ApiDocument {
|
|
|
1743
1677
|
limit?: number;
|
|
1744
1678
|
/** @description Filter by company_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: company_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send company_id=eq.<value> for a literal. */
|
|
1745
1679
|
company_id?: string | string[];
|
|
1680
|
+
/** @description Filter by owner_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: owner_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send owner_id=eq.<value> for a literal. */
|
|
1681
|
+
owner_id?: string | string[];
|
|
1746
1682
|
/** @description Only rows linked to this tag (an association). Needs tags:read and associations:read. */
|
|
1747
1683
|
tag_id?: string;
|
|
1748
1684
|
/** @description Only rows linked to the live tag with exactly this name (trimmed, case-sensitive: unlike tags?name=, which folds ASCII case). An unknown name gives an empty page. Needs tags:read and associations:read. */
|
|
@@ -1794,12 +1730,12 @@ export declare namespace ApiDocument {
|
|
|
1794
1730
|
data: {
|
|
1795
1731
|
/** Format: uuid */
|
|
1796
1732
|
id: string;
|
|
1797
|
-
/** Format: uuid */
|
|
1798
|
-
organization_id: string;
|
|
1799
1733
|
name: string | null;
|
|
1800
1734
|
/** Format: uuid */
|
|
1801
1735
|
company_id: string | null;
|
|
1802
1736
|
/** Format: uuid */
|
|
1737
|
+
owner_id: string | null;
|
|
1738
|
+
/** Format: uuid */
|
|
1803
1739
|
merged_into_id: string | null;
|
|
1804
1740
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1805
1741
|
additional_props: {
|
|
@@ -1834,6 +1770,8 @@ export declare namespace ApiDocument {
|
|
|
1834
1770
|
name?: string | null;
|
|
1835
1771
|
/** Format: uuid */
|
|
1836
1772
|
company_id?: string | null;
|
|
1773
|
+
/** Format: uuid */
|
|
1774
|
+
owner_id?: string | null;
|
|
1837
1775
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1838
1776
|
additional_props?: {
|
|
1839
1777
|
[key: string]: unknown;
|
|
@@ -1851,12 +1789,12 @@ export declare namespace ApiDocument {
|
|
|
1851
1789
|
"application/json": {
|
|
1852
1790
|
/** Format: uuid */
|
|
1853
1791
|
id: string;
|
|
1854
|
-
/** Format: uuid */
|
|
1855
|
-
organization_id: string;
|
|
1856
1792
|
name: string | null;
|
|
1857
1793
|
/** Format: uuid */
|
|
1858
1794
|
company_id: string | null;
|
|
1859
1795
|
/** Format: uuid */
|
|
1796
|
+
owner_id: string | null;
|
|
1797
|
+
/** Format: uuid */
|
|
1860
1798
|
merged_into_id: string | null;
|
|
1861
1799
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
1862
1800
|
additional_props: {
|
|
@@ -1882,10 +1820,12 @@ export declare namespace ApiDocument {
|
|
|
1882
1820
|
min?: string;
|
|
1883
1821
|
/** @description Maximum of fields, comma-separated: name, created_at, updated_at. The answer has max as an object keyed by field. Nulls are ignored; no values gives null. */
|
|
1884
1822
|
max?: string;
|
|
1885
|
-
/** @description Group the answer by up to 2 fields, comma-separated: name, company_id, merged_into_id, created_by. The answer is { count, groups } with one entry per group (key, count and each function you ask for), ordered by the group fields with the null group last. More than 200 groups is refused. A function over a money field is judged in each group. */
|
|
1823
|
+
/** @description Group the answer by up to 2 fields, comma-separated: name, company_id, owner_id, merged_into_id, created_by. The answer is { count, groups } with one entry per group (key, count and each function you ask for), ordered by the group fields with the null group last. More than 200 groups is refused. A function over a money field is judged in each group. */
|
|
1886
1824
|
group_by?: string;
|
|
1887
1825
|
/** @description Filter by company_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: company_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send company_id=eq.<value> for a literal. */
|
|
1888
1826
|
company_id?: string | string[];
|
|
1827
|
+
/** @description Filter by owner_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: owner_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send owner_id=eq.<value> for a literal. */
|
|
1828
|
+
owner_id?: string | string[];
|
|
1889
1829
|
/** @description Only rows linked to this tag (an association). Needs tags:read and associations:read. */
|
|
1890
1830
|
tag_id?: string;
|
|
1891
1831
|
/** @description Only rows linked to the live tag with exactly this name (trimmed, case-sensitive: unlike tags?name=, which folds ASCII case). An unknown name gives an empty page. Needs tags:read and associations:read. */
|
|
@@ -2031,12 +1971,12 @@ export declare namespace ApiDocument {
|
|
|
2031
1971
|
"application/json": {
|
|
2032
1972
|
/** Format: uuid */
|
|
2033
1973
|
id: string;
|
|
2034
|
-
/** Format: uuid */
|
|
2035
|
-
organization_id: string;
|
|
2036
1974
|
name: string | null;
|
|
2037
1975
|
/** Format: uuid */
|
|
2038
1976
|
company_id: string | null;
|
|
2039
1977
|
/** Format: uuid */
|
|
1978
|
+
owner_id: string | null;
|
|
1979
|
+
/** Format: uuid */
|
|
2040
1980
|
merged_into_id: string | null;
|
|
2041
1981
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
2042
1982
|
additional_props: {
|
|
@@ -2103,6 +2043,8 @@ export declare namespace ApiDocument {
|
|
|
2103
2043
|
name?: string | null;
|
|
2104
2044
|
/** Format: uuid */
|
|
2105
2045
|
company_id?: string | null;
|
|
2046
|
+
/** Format: uuid */
|
|
2047
|
+
owner_id?: string | null;
|
|
2106
2048
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
2107
2049
|
additional_props?: {
|
|
2108
2050
|
[key: string]: unknown;
|
|
@@ -2120,12 +2062,12 @@ export declare namespace ApiDocument {
|
|
|
2120
2062
|
"application/json": {
|
|
2121
2063
|
/** Format: uuid */
|
|
2122
2064
|
id: string;
|
|
2123
|
-
/** Format: uuid */
|
|
2124
|
-
organization_id: string;
|
|
2125
2065
|
name: string | null;
|
|
2126
2066
|
/** Format: uuid */
|
|
2127
2067
|
company_id: string | null;
|
|
2128
2068
|
/** Format: uuid */
|
|
2069
|
+
owner_id: string | null;
|
|
2070
|
+
/** Format: uuid */
|
|
2129
2071
|
merged_into_id: string | null;
|
|
2130
2072
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
2131
2073
|
additional_props: {
|
|
@@ -2187,10 +2129,8 @@ export declare namespace ApiDocument {
|
|
|
2187
2129
|
data: {
|
|
2188
2130
|
/** Format: uuid */
|
|
2189
2131
|
id: string;
|
|
2190
|
-
/** Format: uuid */
|
|
2191
|
-
organization_id: string;
|
|
2192
2132
|
/** @enum {string} */
|
|
2193
|
-
kind: "email" | "phone";
|
|
2133
|
+
kind: "email" | "phone" | "linkedin" | "x" | "github" | "instagram" | "facebook" | "tiktok";
|
|
2194
2134
|
value: string;
|
|
2195
2135
|
/** Format: uuid */
|
|
2196
2136
|
contact_id: string | null;
|
|
@@ -2218,7 +2158,7 @@ export declare namespace ApiDocument {
|
|
|
2218
2158
|
content: {
|
|
2219
2159
|
"application/json": {
|
|
2220
2160
|
/** @enum {string} */
|
|
2221
|
-
kind: "email" | "phone";
|
|
2161
|
+
kind: "email" | "phone" | "linkedin" | "x" | "github" | "instagram" | "facebook" | "tiktok";
|
|
2222
2162
|
value: string;
|
|
2223
2163
|
/** Format: uuid */
|
|
2224
2164
|
contact_id?: string;
|
|
@@ -2237,10 +2177,8 @@ export declare namespace ApiDocument {
|
|
|
2237
2177
|
"application/json": {
|
|
2238
2178
|
/** Format: uuid */
|
|
2239
2179
|
id: string;
|
|
2240
|
-
/** Format: uuid */
|
|
2241
|
-
organization_id: string;
|
|
2242
2180
|
/** @enum {string} */
|
|
2243
|
-
kind: "email" | "phone";
|
|
2181
|
+
kind: "email" | "phone" | "linkedin" | "x" | "github" | "instagram" | "facebook" | "tiktok";
|
|
2244
2182
|
value: string;
|
|
2245
2183
|
/** Format: uuid */
|
|
2246
2184
|
contact_id: string | null;
|
|
@@ -2274,10 +2212,8 @@ export declare namespace ApiDocument {
|
|
|
2274
2212
|
"application/json": {
|
|
2275
2213
|
/** Format: uuid */
|
|
2276
2214
|
id: string;
|
|
2277
|
-
/** Format: uuid */
|
|
2278
|
-
organization_id: string;
|
|
2279
2215
|
/** @enum {string} */
|
|
2280
|
-
kind: "email" | "phone";
|
|
2216
|
+
kind: "email" | "phone" | "linkedin" | "x" | "github" | "instagram" | "facebook" | "tiktok";
|
|
2281
2217
|
value: string;
|
|
2282
2218
|
/** Format: uuid */
|
|
2283
2219
|
contact_id: string | null;
|
|
@@ -2340,10 +2276,8 @@ export declare namespace ApiDocument {
|
|
|
2340
2276
|
"application/json": {
|
|
2341
2277
|
/** Format: uuid */
|
|
2342
2278
|
id: string;
|
|
2343
|
-
/** Format: uuid */
|
|
2344
|
-
organization_id: string;
|
|
2345
2279
|
/** @enum {string} */
|
|
2346
|
-
kind: "email" | "phone";
|
|
2280
|
+
kind: "email" | "phone" | "linkedin" | "x" | "github" | "instagram" | "facebook" | "tiktok";
|
|
2347
2281
|
value: string;
|
|
2348
2282
|
/** Format: uuid */
|
|
2349
2283
|
contact_id: string | null;
|
|
@@ -2396,8 +2330,6 @@ export declare namespace ApiDocument {
|
|
|
2396
2330
|
data: {
|
|
2397
2331
|
/** Format: uuid */
|
|
2398
2332
|
id: string;
|
|
2399
|
-
/** Format: uuid */
|
|
2400
|
-
organization_id: string;
|
|
2401
2333
|
title: string | null;
|
|
2402
2334
|
content: string;
|
|
2403
2335
|
/** Format: uuid */
|
|
@@ -2437,8 +2369,6 @@ export declare namespace ApiDocument {
|
|
|
2437
2369
|
"application/json": {
|
|
2438
2370
|
/** Format: uuid */
|
|
2439
2371
|
id: string;
|
|
2440
|
-
/** Format: uuid */
|
|
2441
|
-
organization_id: string;
|
|
2442
2372
|
title: string | null;
|
|
2443
2373
|
content: string;
|
|
2444
2374
|
/** Format: uuid */
|
|
@@ -2472,8 +2402,6 @@ export declare namespace ApiDocument {
|
|
|
2472
2402
|
"application/json": {
|
|
2473
2403
|
/** Format: uuid */
|
|
2474
2404
|
id: string;
|
|
2475
|
-
/** Format: uuid */
|
|
2476
|
-
organization_id: string;
|
|
2477
2405
|
title: string | null;
|
|
2478
2406
|
content: string;
|
|
2479
2407
|
/** Format: uuid */
|
|
@@ -2545,8 +2473,6 @@ export declare namespace ApiDocument {
|
|
|
2545
2473
|
"application/json": {
|
|
2546
2474
|
/** Format: uuid */
|
|
2547
2475
|
id: string;
|
|
2548
|
-
/** Format: uuid */
|
|
2549
|
-
organization_id: string;
|
|
2550
2476
|
title: string | null;
|
|
2551
2477
|
content: string;
|
|
2552
2478
|
/** Format: uuid */
|
|
@@ -2597,8 +2523,6 @@ export declare namespace ApiDocument {
|
|
|
2597
2523
|
data: {
|
|
2598
2524
|
/** Format: uuid */
|
|
2599
2525
|
id: string;
|
|
2600
|
-
/** Format: uuid */
|
|
2601
|
-
organization_id: string;
|
|
2602
2526
|
name: string;
|
|
2603
2527
|
description: string | null;
|
|
2604
2528
|
/** Format: uuid */
|
|
@@ -2638,8 +2562,6 @@ export declare namespace ApiDocument {
|
|
|
2638
2562
|
"application/json": {
|
|
2639
2563
|
/** Format: uuid */
|
|
2640
2564
|
id: string;
|
|
2641
|
-
/** Format: uuid */
|
|
2642
|
-
organization_id: string;
|
|
2643
2565
|
name: string;
|
|
2644
2566
|
description: string | null;
|
|
2645
2567
|
/** Format: uuid */
|
|
@@ -2673,8 +2595,6 @@ export declare namespace ApiDocument {
|
|
|
2673
2595
|
"application/json": {
|
|
2674
2596
|
/** Format: uuid */
|
|
2675
2597
|
id: string;
|
|
2676
|
-
/** Format: uuid */
|
|
2677
|
-
organization_id: string;
|
|
2678
2598
|
name: string;
|
|
2679
2599
|
description: string | null;
|
|
2680
2600
|
/** Format: uuid */
|
|
@@ -2746,8 +2666,6 @@ export declare namespace ApiDocument {
|
|
|
2746
2666
|
"application/json": {
|
|
2747
2667
|
/** Format: uuid */
|
|
2748
2668
|
id: string;
|
|
2749
|
-
/** Format: uuid */
|
|
2750
|
-
organization_id: string;
|
|
2751
2669
|
name: string;
|
|
2752
2670
|
description: string | null;
|
|
2753
2671
|
/** Format: uuid */
|
|
@@ -2775,14 +2693,16 @@ export declare namespace ApiDocument {
|
|
|
2775
2693
|
created_by?: string | string[];
|
|
2776
2694
|
/** @description Filter by currency (text, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is, like, ilike. Example: currency=ilike.*acme*. A range is two conditions: currency=gte.a¤cy=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send currency=eq.<value> for a literal. */
|
|
2777
2695
|
currency?: string | string[];
|
|
2696
|
+
/** @description Filter by company_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: company_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send company_id=eq.<value> for a literal. */
|
|
2697
|
+
company_id?: string | string[];
|
|
2778
2698
|
/** @description Only deals whose stage is of this kind: open, won or lost. */
|
|
2779
2699
|
status?: "open" | "won" | "lost";
|
|
2780
2700
|
/** @description Only deals linked to this tag. */
|
|
2781
2701
|
tag_id?: string;
|
|
2782
2702
|
/** @description Only rows linked to the live tag with exactly this name (trimmed, case-sensitive: unlike tags?name=, which folds ASCII case). An unknown name gives an empty page. Needs tags:read and associations:read. */
|
|
2783
2703
|
tag?: string;
|
|
2784
|
-
/** @description Only deals linked to this company
|
|
2785
|
-
|
|
2704
|
+
/** @description Only deals linked to this company by an association; the main company is the company_id filter. */
|
|
2705
|
+
linked_company_id?: string;
|
|
2786
2706
|
/** @description Only deals linked to this contact (an association). */
|
|
2787
2707
|
contact_id?: string;
|
|
2788
2708
|
/** @description Filter by one key of additional_props: additional_props=<key>.<condition>, once per request. Conditions: eq (or a bare value), neq, in, is.null, not.is.null. Example: additional_props=employees.eq.40. A stored string matches by its text and a stored number or boolean by its JSON literal (employees.eq.40 matches 40 and "40", verified.eq.true matches true and "true"), case-sensitively. An absent key matches only is.null: eq, neq and in never match it. Reads every live row of the organisation, whatever the index. Other operators and not. forms are refused; list the keys in use with the property_keys read. */
|
|
@@ -2822,8 +2742,6 @@ export declare namespace ApiDocument {
|
|
|
2822
2742
|
data: {
|
|
2823
2743
|
/** Format: uuid */
|
|
2824
2744
|
id: string;
|
|
2825
|
-
/** Format: uuid */
|
|
2826
|
-
organization_id: string;
|
|
2827
2745
|
name: string;
|
|
2828
2746
|
/** Format: uuid */
|
|
2829
2747
|
pipeline_id: string;
|
|
@@ -2839,6 +2757,8 @@ export declare namespace ApiDocument {
|
|
|
2839
2757
|
expected_close_date: string | null;
|
|
2840
2758
|
/** Format: uuid */
|
|
2841
2759
|
owner_id: string | null;
|
|
2760
|
+
/** Format: uuid */
|
|
2761
|
+
company_id: string | null;
|
|
2842
2762
|
closed_at: string | null;
|
|
2843
2763
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
2844
2764
|
additional_props: {
|
|
@@ -2878,6 +2798,8 @@ export declare namespace ApiDocument {
|
|
|
2878
2798
|
expected_close_date?: string | null;
|
|
2879
2799
|
/** Format: uuid */
|
|
2880
2800
|
owner_id?: string | null;
|
|
2801
|
+
/** Format: uuid */
|
|
2802
|
+
company_id?: string | null;
|
|
2881
2803
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
2882
2804
|
additional_props?: {
|
|
2883
2805
|
[key: string]: unknown;
|
|
@@ -2897,8 +2819,6 @@ export declare namespace ApiDocument {
|
|
|
2897
2819
|
"application/json": {
|
|
2898
2820
|
/** Format: uuid */
|
|
2899
2821
|
id: string;
|
|
2900
|
-
/** Format: uuid */
|
|
2901
|
-
organization_id: string;
|
|
2902
2822
|
name: string;
|
|
2903
2823
|
/** Format: uuid */
|
|
2904
2824
|
pipeline_id: string;
|
|
@@ -2914,6 +2834,8 @@ export declare namespace ApiDocument {
|
|
|
2914
2834
|
expected_close_date: string | null;
|
|
2915
2835
|
/** Format: uuid */
|
|
2916
2836
|
owner_id: string | null;
|
|
2837
|
+
/** Format: uuid */
|
|
2838
|
+
company_id: string | null;
|
|
2917
2839
|
closed_at: string | null;
|
|
2918
2840
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
2919
2841
|
additional_props: {
|
|
@@ -2939,7 +2861,7 @@ export declare namespace ApiDocument {
|
|
|
2939
2861
|
min?: string;
|
|
2940
2862
|
/** @description Maximum of fields, comma-separated: name, amount_minor, currency, expected_close_date, closed_at, created_at, updated_at. The answer has max as an object keyed by field. Nulls are ignored; no values gives null. */
|
|
2941
2863
|
max?: string;
|
|
2942
|
-
/** @description Group the answer by up to 2 fields, comma-separated: name, pipeline_id, stage_id, amount_minor, currency, expected_close_date, owner_id, created_by. The answer is { count, groups } with one entry per group (key, count and each function you ask for), ordered by the group fields with the null group last. More than 200 groups is refused. A function over a money field is judged in each group. */
|
|
2864
|
+
/** @description Group the answer by up to 2 fields, comma-separated: name, pipeline_id, stage_id, amount_minor, currency, expected_close_date, owner_id, company_id, created_by. The answer is { count, groups } with one entry per group (key, count and each function you ask for), ordered by the group fields with the null group last. More than 200 groups is refused. A function over a money field is judged in each group. */
|
|
2943
2865
|
group_by?: string;
|
|
2944
2866
|
/** @description Filter by pipeline_id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: pipeline_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send pipeline_id=eq.<value> for a literal. */
|
|
2945
2867
|
pipeline_id?: string | string[];
|
|
@@ -2951,14 +2873,16 @@ export declare namespace ApiDocument {
|
|
|
2951
2873
|
created_by?: string | string[];
|
|
2952
2874
|
/** @description Filter by currency (text, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is, like, ilike. Example: currency=ilike.*acme*. A range is two conditions: currency=gte.a¤cy=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send currency=eq.<value> for a literal. */
|
|
2953
2875
|
currency?: string | string[];
|
|
2876
|
+
/** @description Filter by company_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: company_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send company_id=eq.<value> for a literal. */
|
|
2877
|
+
company_id?: string | string[];
|
|
2954
2878
|
/** @description Only deals whose stage is of this kind: open, won or lost. */
|
|
2955
2879
|
status?: "open" | "won" | "lost";
|
|
2956
2880
|
/** @description Only deals linked to this tag. */
|
|
2957
2881
|
tag_id?: string;
|
|
2958
2882
|
/** @description Only rows linked to the live tag with exactly this name (trimmed, case-sensitive: unlike tags?name=, which folds ASCII case). An unknown name gives an empty page. Needs tags:read and associations:read. */
|
|
2959
2883
|
tag?: string;
|
|
2960
|
-
/** @description Only deals linked to this company
|
|
2961
|
-
|
|
2884
|
+
/** @description Only deals linked to this company by an association; the main company is the company_id filter. */
|
|
2885
|
+
linked_company_id?: string;
|
|
2962
2886
|
/** @description Only deals linked to this contact (an association). */
|
|
2963
2887
|
contact_id?: string;
|
|
2964
2888
|
/** @description Filter by one key of additional_props: additional_props=<key>.<condition>, once per request. Conditions: eq (or a bare value), neq, in, is.null, not.is.null. Example: additional_props=employees.eq.40. A stored string matches by its text and a stored number or boolean by its JSON literal (employees.eq.40 matches 40 and "40", verified.eq.true matches true and "true"), case-sensitively. An absent key matches only is.null: eq, neq and in never match it. Reads every live row of the organisation, whatever the index. Other operators and not. forms are refused; list the keys in use with the property_keys read. */
|
|
@@ -3092,8 +3016,6 @@ export declare namespace ApiDocument {
|
|
|
3092
3016
|
"application/json": {
|
|
3093
3017
|
/** Format: uuid */
|
|
3094
3018
|
id: string;
|
|
3095
|
-
/** Format: uuid */
|
|
3096
|
-
organization_id: string;
|
|
3097
3019
|
name: string;
|
|
3098
3020
|
/** Format: uuid */
|
|
3099
3021
|
pipeline_id: string;
|
|
@@ -3109,6 +3031,8 @@ export declare namespace ApiDocument {
|
|
|
3109
3031
|
expected_close_date: string | null;
|
|
3110
3032
|
/** Format: uuid */
|
|
3111
3033
|
owner_id: string | null;
|
|
3034
|
+
/** Format: uuid */
|
|
3035
|
+
company_id: string | null;
|
|
3112
3036
|
closed_at: string | null;
|
|
3113
3037
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
3114
3038
|
additional_props: {
|
|
@@ -3180,6 +3104,8 @@ export declare namespace ApiDocument {
|
|
|
3180
3104
|
expected_close_date?: string | null;
|
|
3181
3105
|
/** Format: uuid */
|
|
3182
3106
|
owner_id?: string | null;
|
|
3107
|
+
/** Format: uuid */
|
|
3108
|
+
company_id?: string | null;
|
|
3183
3109
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
3184
3110
|
additional_props?: {
|
|
3185
3111
|
[key: string]: unknown;
|
|
@@ -3197,8 +3123,6 @@ export declare namespace ApiDocument {
|
|
|
3197
3123
|
"application/json": {
|
|
3198
3124
|
/** Format: uuid */
|
|
3199
3125
|
id: string;
|
|
3200
|
-
/** Format: uuid */
|
|
3201
|
-
organization_id: string;
|
|
3202
3126
|
name: string;
|
|
3203
3127
|
/** Format: uuid */
|
|
3204
3128
|
pipeline_id: string;
|
|
@@ -3214,6 +3138,8 @@ export declare namespace ApiDocument {
|
|
|
3214
3138
|
expected_close_date: string | null;
|
|
3215
3139
|
/** Format: uuid */
|
|
3216
3140
|
owner_id: string | null;
|
|
3141
|
+
/** Format: uuid */
|
|
3142
|
+
company_id: string | null;
|
|
3217
3143
|
closed_at: string | null;
|
|
3218
3144
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
3219
3145
|
additional_props: {
|
|
@@ -3255,8 +3181,6 @@ export declare namespace ApiDocument {
|
|
|
3255
3181
|
"application/json": {
|
|
3256
3182
|
/** Format: uuid */
|
|
3257
3183
|
id: string;
|
|
3258
|
-
/** Format: uuid */
|
|
3259
|
-
organization_id: string;
|
|
3260
3184
|
name: string;
|
|
3261
3185
|
/** Format: uuid */
|
|
3262
3186
|
pipeline_id: string;
|
|
@@ -3272,6 +3196,8 @@ export declare namespace ApiDocument {
|
|
|
3272
3196
|
expected_close_date: string | null;
|
|
3273
3197
|
/** Format: uuid */
|
|
3274
3198
|
owner_id: string | null;
|
|
3199
|
+
/** Format: uuid */
|
|
3200
|
+
company_id: string | null;
|
|
3275
3201
|
closed_at: string | null;
|
|
3276
3202
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
3277
3203
|
additional_props: {
|
|
@@ -3442,12 +3368,6 @@ export declare namespace ApiDocument {
|
|
|
3442
3368
|
kind: "message" | "reaction";
|
|
3443
3369
|
external_id: string;
|
|
3444
3370
|
in_reply_to: string | null;
|
|
3445
|
-
author: {
|
|
3446
|
-
user_id: string;
|
|
3447
|
-
user_name: string;
|
|
3448
|
-
full_name: string;
|
|
3449
|
-
is_bot: boolean;
|
|
3450
|
-
};
|
|
3451
3371
|
occurred_at: string;
|
|
3452
3372
|
/** @description The first 200 characters of the body. Present only with messages:read. */
|
|
3453
3373
|
preview?: string;
|
|
@@ -3509,12 +3429,6 @@ export declare namespace ApiDocument {
|
|
|
3509
3429
|
kind: "message" | "reaction";
|
|
3510
3430
|
external_id: string;
|
|
3511
3431
|
in_reply_to: string | null;
|
|
3512
|
-
author: {
|
|
3513
|
-
user_id: string;
|
|
3514
|
-
user_name: string;
|
|
3515
|
-
full_name: string;
|
|
3516
|
-
is_bot: boolean;
|
|
3517
|
-
};
|
|
3518
3432
|
occurred_at: string;
|
|
3519
3433
|
/** @description The first 200 characters of the body. Present only with messages:read. */
|
|
3520
3434
|
preview?: string;
|
|
@@ -3608,6 +3522,7 @@ export declare namespace ApiDocument {
|
|
|
3608
3522
|
identity_id: string;
|
|
3609
3523
|
/** @enum {string} */
|
|
3610
3524
|
role: "from" | "to" | "cc" | "bcc";
|
|
3525
|
+
name: string | null;
|
|
3611
3526
|
}[];
|
|
3612
3527
|
/** Format: uuid */
|
|
3613
3528
|
created_by: string;
|
|
@@ -3658,6 +3573,7 @@ export declare namespace ApiDocument {
|
|
|
3658
3573
|
identity_id: string;
|
|
3659
3574
|
/** @enum {string} */
|
|
3660
3575
|
role: "from" | "to" | "cc" | "bcc";
|
|
3576
|
+
name: string | null;
|
|
3661
3577
|
}[];
|
|
3662
3578
|
/** Format: uuid */
|
|
3663
3579
|
created_by: string;
|
|
@@ -3670,272 +3586,38 @@ export declare namespace ApiDocument {
|
|
|
3670
3586
|
neighbour_type: string;
|
|
3671
3587
|
/** Format: uuid */
|
|
3672
3588
|
neighbour_id: string;
|
|
3673
|
-
/** Format: uuid */
|
|
3674
|
-
created_by: string;
|
|
3675
|
-
created_at: string;
|
|
3676
|
-
}[];
|
|
3677
|
-
associations_truncated?: boolean;
|
|
3678
|
-
};
|
|
3679
|
-
};
|
|
3680
|
-
};
|
|
3681
|
-
};
|
|
3682
|
-
};
|
|
3683
|
-
"files.list": {
|
|
3684
|
-
parameters: {
|
|
3685
|
-
query?: {
|
|
3686
|
-
/** @description Opaque cursor: pass the next_cursor of the previous page back unchanged. With sort it must come from a page with the same sort and order; without sort it is the id of the last record. */
|
|
3687
|
-
after?: string;
|
|
3688
|
-
limit?: number;
|
|
3689
|
-
/** @description Filter by sha256 (text). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, like, ilike. Example: sha256=ilike.*acme*. A range is two conditions: sha256=gte.a&sha256=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send sha256=eq.<value> for a literal. */
|
|
3690
|
-
sha256?: string | string[];
|
|
3691
|
-
/** @description Filter by id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send id=eq.<value> for a literal. */
|
|
3692
|
-
id?: string | string[];
|
|
3693
|
-
/** @description Filter by name (text). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, like, ilike. Example: name=ilike.*acme*. A range is two conditions: name=gte.a&name=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send name=eq.<value> for a literal. */
|
|
3694
|
-
name?: string | string[];
|
|
3695
|
-
/** @description Filter by mime_type (text). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, like, ilike. Example: mime_type=ilike.*acme*. A range is two conditions: mime_type=gte.a&mime_type=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send mime_type=eq.<value> for a literal. */
|
|
3696
|
-
mime_type?: string | string[];
|
|
3697
|
-
/** @description Filter by size_bytes (integer). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: size_bytes=gt.500000. A range is two conditions: size_bytes=gte.100&size_bytes=lt.500. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send size_bytes=eq.<value> for a literal. */
|
|
3698
|
-
size_bytes?: string | string[];
|
|
3699
|
-
/** @description Filter by created_by (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: created_by=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send created_by=eq.<value> for a literal. */
|
|
3700
|
-
created_by?: string | string[];
|
|
3701
|
-
/** @description Filter by created_at (timestamp). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: created_at=gte.2026-11-01. A range is two conditions: created_at=gte.2026-11-01&created_at=lt.2026-12-01. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value is a date (midnight UTC) or an ISO 8601 date-time with an offset. A value that starts with not. or an operator name and a dot is read as an operator: send created_at=eq.<value> for a literal. */
|
|
3702
|
-
created_at?: string | string[];
|
|
3703
|
-
/** @description Sort by id or created_at or name. Stored columns need only this list's read scope; derived fields need the scopes that show them. null sorts as the lowest value: first in asc, last in desc. Ties break on id in the same direction. Newest first: sort=created_at&order=desc; for mail use sort=occurred_at&order=desc. Without sort the list is in ascending id order with UUID cursors. Paging is by keyset, not a snapshot: values can rise between pages (or fall), so a record may repeat in asc or be missed in desc. In descending mail date order, newly arrived mail ahead of the cursor is not seen; backfilled older mail behind it is. A complete walk uses the default order. An incremental walk also uses the default ascending id order. Mail created_at uses a temporary sort over the workspace's rows; id is indexed and follows capture order. */
|
|
3704
|
-
sort?: "id" | "created_at" | "name";
|
|
3705
|
-
/** @description Sort direction: asc (default) or desc. Needs sort. */
|
|
3706
|
-
order?: "asc" | "desc";
|
|
3707
|
-
};
|
|
3708
|
-
header?: never;
|
|
3709
|
-
path?: never;
|
|
3710
|
-
cookie?: never;
|
|
3711
|
-
};
|
|
3712
|
-
requestBody?: never;
|
|
3713
|
-
responses: {
|
|
3714
|
-
/** @description Success */
|
|
3715
|
-
200: {
|
|
3716
|
-
headers: {
|
|
3717
|
-
[name: string]: unknown;
|
|
3718
|
-
};
|
|
3719
|
-
content: {
|
|
3720
|
-
"application/json": {
|
|
3721
|
-
data: {
|
|
3722
|
-
/** Format: uuid */
|
|
3723
|
-
id: string;
|
|
3724
|
-
name: string;
|
|
3725
|
-
mime_type: string;
|
|
3726
|
-
size_bytes: number;
|
|
3727
|
-
sha256: string;
|
|
3728
|
-
/** Format: uuid */
|
|
3729
|
-
created_by: string;
|
|
3730
|
-
created_at: string;
|
|
3731
|
-
}[];
|
|
3732
|
-
/** @description Opaque cursor for the next page, or null at the end. Pass it back as after, with the same sort and order. */
|
|
3733
|
-
next_cursor: string | null;
|
|
3734
|
-
};
|
|
3735
|
-
};
|
|
3736
|
-
};
|
|
3737
|
-
};
|
|
3738
|
-
};
|
|
3739
|
-
"files.get": {
|
|
3740
|
-
parameters: {
|
|
3741
|
-
query?: never;
|
|
3742
|
-
header?: never;
|
|
3743
|
-
path: {
|
|
3744
|
-
id: string;
|
|
3745
|
-
};
|
|
3746
|
-
cookie?: never;
|
|
3747
|
-
};
|
|
3748
|
-
requestBody?: never;
|
|
3749
|
-
responses: {
|
|
3750
|
-
/** @description Success */
|
|
3751
|
-
200: {
|
|
3752
|
-
headers: {
|
|
3753
|
-
[name: string]: unknown;
|
|
3754
|
-
};
|
|
3755
|
-
content: {
|
|
3756
|
-
"application/json": {
|
|
3757
|
-
/** Format: uuid */
|
|
3758
|
-
id: string;
|
|
3759
|
-
name: string;
|
|
3760
|
-
mime_type: string;
|
|
3761
|
-
size_bytes: number;
|
|
3762
|
-
sha256: string;
|
|
3763
|
-
/** Format: uuid */
|
|
3764
|
-
created_by: string;
|
|
3765
|
-
created_at: string;
|
|
3766
|
-
};
|
|
3767
|
-
};
|
|
3768
|
-
};
|
|
3769
|
-
};
|
|
3770
|
-
};
|
|
3771
|
-
"contact_files.list": {
|
|
3772
|
-
parameters: {
|
|
3773
|
-
query?: {
|
|
3774
|
-
/** @description Opaque cursor: pass the next_cursor of the previous page back unchanged. With sort it must come from a page with the same sort and order; without sort it is the id of the last record. */
|
|
3775
|
-
after?: string;
|
|
3776
|
-
limit?: number;
|
|
3777
|
-
/** @description Filter by contact_id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: contact_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send contact_id=eq.<value> for a literal. */
|
|
3778
|
-
contact_id?: string | string[];
|
|
3779
|
-
/** @description Filter by file_id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: file_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send file_id=eq.<value> for a literal. */
|
|
3780
|
-
file_id?: string | string[];
|
|
3781
|
-
/** @description Filter by id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send id=eq.<value> for a literal. */
|
|
3782
|
-
id?: string | string[];
|
|
3783
|
-
/** @description Filter by created_by (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: created_by=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send created_by=eq.<value> for a literal. */
|
|
3784
|
-
created_by?: string | string[];
|
|
3785
|
-
/** @description Filter by created_at (timestamp). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: created_at=gte.2026-11-01. A range is two conditions: created_at=gte.2026-11-01&created_at=lt.2026-12-01. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value is a date (midnight UTC) or an ISO 8601 date-time with an offset. A value that starts with not. or an operator name and a dot is read as an operator: send created_at=eq.<value> for a literal. */
|
|
3786
|
-
created_at?: string | string[];
|
|
3787
|
-
/** @description Filter by updated_at (timestamp). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: updated_at=gte.2026-11-01. A range is two conditions: updated_at=gte.2026-11-01&updated_at=lt.2026-12-01. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value is a date (midnight UTC) or an ISO 8601 date-time with an offset. A value that starts with not. or an operator name and a dot is read as an operator: send updated_at=eq.<value> for a literal. */
|
|
3788
|
-
updated_at?: string | string[];
|
|
3789
|
-
/** @description Sort by id or created_at or updated_at. Stored columns need only this list's read scope; derived fields need the scopes that show them. null sorts as the lowest value: first in asc, last in desc. Ties break on id in the same direction. Newest first: sort=created_at&order=desc; for mail use sort=occurred_at&order=desc. Without sort the list is in ascending id order with UUID cursors. Paging is by keyset, not a snapshot: values can rise between pages (or fall), so a record may repeat in asc or be missed in desc. In descending mail date order, newly arrived mail ahead of the cursor is not seen; backfilled older mail behind it is. A complete walk uses the default order. An incremental walk also uses the default ascending id order. Mail created_at uses a temporary sort over the workspace's rows; id is indexed and follows capture order. */
|
|
3790
|
-
sort?: "id" | "created_at" | "updated_at";
|
|
3791
|
-
/** @description Sort direction: asc (default) or desc. Needs sort. */
|
|
3792
|
-
order?: "asc" | "desc";
|
|
3793
|
-
};
|
|
3794
|
-
header?: never;
|
|
3795
|
-
path?: never;
|
|
3796
|
-
cookie?: never;
|
|
3797
|
-
};
|
|
3798
|
-
requestBody?: never;
|
|
3799
|
-
responses: {
|
|
3800
|
-
/** @description Success */
|
|
3801
|
-
200: {
|
|
3802
|
-
headers: {
|
|
3803
|
-
[name: string]: unknown;
|
|
3804
|
-
};
|
|
3805
|
-
content: {
|
|
3806
|
-
"application/json": {
|
|
3807
|
-
data: {
|
|
3808
|
-
/** Format: uuid */
|
|
3809
|
-
id: string;
|
|
3810
|
-
/** Format: uuid */
|
|
3811
|
-
contact_id: string;
|
|
3812
|
-
/** Format: uuid */
|
|
3813
|
-
file_id: string;
|
|
3814
|
-
/** Format: uuid */
|
|
3815
|
-
created_by: string;
|
|
3816
|
-
created_at: string;
|
|
3817
|
-
updated_at: string;
|
|
3818
|
-
}[];
|
|
3819
|
-
/** @description Opaque cursor for the next page, or null at the end. Pass it back as after, with the same sort and order. */
|
|
3820
|
-
next_cursor: string | null;
|
|
3821
|
-
};
|
|
3822
|
-
};
|
|
3823
|
-
};
|
|
3824
|
-
};
|
|
3825
|
-
};
|
|
3826
|
-
"contact_files.create": {
|
|
3827
|
-
parameters: {
|
|
3828
|
-
query?: never;
|
|
3829
|
-
header?: never;
|
|
3830
|
-
path?: never;
|
|
3831
|
-
cookie?: never;
|
|
3832
|
-
};
|
|
3833
|
-
requestBody: {
|
|
3834
|
-
content: {
|
|
3835
|
-
"application/json": {
|
|
3836
|
-
/** Format: uuid */
|
|
3837
|
-
contact_id: string;
|
|
3838
|
-
/** Format: uuid */
|
|
3839
|
-
file_id: string;
|
|
3840
|
-
};
|
|
3841
|
-
};
|
|
3842
|
-
};
|
|
3843
|
-
responses: {
|
|
3844
|
-
/** @description Success */
|
|
3845
|
-
201: {
|
|
3846
|
-
headers: {
|
|
3847
|
-
[name: string]: unknown;
|
|
3848
|
-
};
|
|
3849
|
-
content: {
|
|
3850
|
-
"application/json": {
|
|
3851
|
-
/** Format: uuid */
|
|
3852
|
-
id: string;
|
|
3853
|
-
/** Format: uuid */
|
|
3854
|
-
contact_id: string;
|
|
3855
|
-
/** Format: uuid */
|
|
3856
|
-
file_id: string;
|
|
3857
|
-
/** Format: uuid */
|
|
3858
|
-
created_by: string;
|
|
3859
|
-
created_at: string;
|
|
3860
|
-
updated_at: string;
|
|
3861
|
-
};
|
|
3862
|
-
};
|
|
3863
|
-
};
|
|
3864
|
-
};
|
|
3865
|
-
};
|
|
3866
|
-
"contact_files.get": {
|
|
3867
|
-
parameters: {
|
|
3868
|
-
query?: never;
|
|
3869
|
-
header?: never;
|
|
3870
|
-
path: {
|
|
3871
|
-
id: string;
|
|
3872
|
-
};
|
|
3873
|
-
cookie?: never;
|
|
3874
|
-
};
|
|
3875
|
-
requestBody?: never;
|
|
3876
|
-
responses: {
|
|
3877
|
-
/** @description Success */
|
|
3878
|
-
200: {
|
|
3879
|
-
headers: {
|
|
3880
|
-
[name: string]: unknown;
|
|
3881
|
-
};
|
|
3882
|
-
content: {
|
|
3883
|
-
"application/json": {
|
|
3884
|
-
/** Format: uuid */
|
|
3885
|
-
id: string;
|
|
3886
|
-
/** Format: uuid */
|
|
3887
|
-
contact_id: string;
|
|
3888
|
-
/** Format: uuid */
|
|
3889
|
-
file_id: string;
|
|
3890
|
-
/** Format: uuid */
|
|
3891
|
-
created_by: string;
|
|
3892
|
-
created_at: string;
|
|
3893
|
-
updated_at: string;
|
|
3894
|
-
};
|
|
3895
|
-
};
|
|
3896
|
-
};
|
|
3897
|
-
};
|
|
3898
|
-
};
|
|
3899
|
-
"contact_files.delete": {
|
|
3900
|
-
parameters: {
|
|
3901
|
-
query?: never;
|
|
3902
|
-
header?: never;
|
|
3903
|
-
path: {
|
|
3904
|
-
id: string;
|
|
3905
|
-
};
|
|
3906
|
-
cookie?: never;
|
|
3907
|
-
};
|
|
3908
|
-
requestBody?: never;
|
|
3909
|
-
responses: {
|
|
3910
|
-
/** @description No content */
|
|
3911
|
-
204: {
|
|
3912
|
-
headers: {
|
|
3913
|
-
[name: string]: unknown;
|
|
3589
|
+
/** Format: uuid */
|
|
3590
|
+
created_by: string;
|
|
3591
|
+
created_at: string;
|
|
3592
|
+
}[];
|
|
3593
|
+
associations_truncated?: boolean;
|
|
3594
|
+
};
|
|
3914
3595
|
};
|
|
3915
|
-
content?: never;
|
|
3916
3596
|
};
|
|
3917
3597
|
};
|
|
3918
3598
|
};
|
|
3919
|
-
"
|
|
3599
|
+
"files.list": {
|
|
3920
3600
|
parameters: {
|
|
3921
3601
|
query?: {
|
|
3922
3602
|
/** @description Opaque cursor: pass the next_cursor of the previous page back unchanged. With sort it must come from a page with the same sort and order; without sort it is the id of the last record. */
|
|
3923
3603
|
after?: string;
|
|
3924
3604
|
limit?: number;
|
|
3925
|
-
/** @description Filter by
|
|
3926
|
-
|
|
3927
|
-
/** @description Filter by file_id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: file_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send file_id=eq.<value> for a literal. */
|
|
3928
|
-
file_id?: string | string[];
|
|
3605
|
+
/** @description Filter by sha256 (text). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, like, ilike. Example: sha256=ilike.*acme*. A range is two conditions: sha256=gte.a&sha256=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send sha256=eq.<value> for a literal. */
|
|
3606
|
+
sha256?: string | string[];
|
|
3929
3607
|
/** @description Filter by id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send id=eq.<value> for a literal. */
|
|
3930
3608
|
id?: string | string[];
|
|
3609
|
+
/** @description Filter by name (text). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, like, ilike. Example: name=ilike.*acme*. A range is two conditions: name=gte.a&name=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send name=eq.<value> for a literal. */
|
|
3610
|
+
name?: string | string[];
|
|
3611
|
+
/** @description Filter by mime_type (text). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, like, ilike. Example: mime_type=ilike.*acme*. A range is two conditions: mime_type=gte.a&mime_type=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send mime_type=eq.<value> for a literal. */
|
|
3612
|
+
mime_type?: string | string[];
|
|
3613
|
+
/** @description Filter by size_bytes (integer). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: size_bytes=gt.500000. A range is two conditions: size_bytes=gte.100&size_bytes=lt.500. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send size_bytes=eq.<value> for a literal. */
|
|
3614
|
+
size_bytes?: string | string[];
|
|
3931
3615
|
/** @description Filter by created_by (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: created_by=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send created_by=eq.<value> for a literal. */
|
|
3932
3616
|
created_by?: string | string[];
|
|
3933
3617
|
/** @description Filter by created_at (timestamp). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: created_at=gte.2026-11-01. A range is two conditions: created_at=gte.2026-11-01&created_at=lt.2026-12-01. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value is a date (midnight UTC) or an ISO 8601 date-time with an offset. A value that starts with not. or an operator name and a dot is read as an operator: send created_at=eq.<value> for a literal. */
|
|
3934
3618
|
created_at?: string | string[];
|
|
3935
|
-
/** @description
|
|
3936
|
-
|
|
3937
|
-
/** @description Sort by id or created_at or updated_at. Stored columns need only this list's read scope; derived fields need the scopes that show them. null sorts as the lowest value: first in asc, last in desc. Ties break on id in the same direction. Newest first: sort=created_at&order=desc; for mail use sort=occurred_at&order=desc. Without sort the list is in ascending id order with UUID cursors. Paging is by keyset, not a snapshot: values can rise between pages (or fall), so a record may repeat in asc or be missed in desc. In descending mail date order, newly arrived mail ahead of the cursor is not seen; backfilled older mail behind it is. A complete walk uses the default order. An incremental walk also uses the default ascending id order. Mail created_at uses a temporary sort over the workspace's rows; id is indexed and follows capture order. */
|
|
3938
|
-
sort?: "id" | "created_at" | "updated_at";
|
|
3619
|
+
/** @description Sort by id or created_at or name. Stored columns need only this list's read scope; derived fields need the scopes that show them. null sorts as the lowest value: first in asc, last in desc. Ties break on id in the same direction. Newest first: sort=created_at&order=desc; for mail use sort=occurred_at&order=desc. Without sort the list is in ascending id order with UUID cursors. Paging is by keyset, not a snapshot: values can rise between pages (or fall), so a record may repeat in asc or be missed in desc. In descending mail date order, newly arrived mail ahead of the cursor is not seen; backfilled older mail behind it is. A complete walk uses the default order. An incremental walk also uses the default ascending id order. Mail created_at uses a temporary sort over the workspace's rows; id is indexed and follows capture order. */
|
|
3620
|
+
sort?: "id" | "created_at" | "name";
|
|
3939
3621
|
/** @description Sort direction: asc (default) or desc. Needs sort. */
|
|
3940
3622
|
order?: "asc" | "desc";
|
|
3941
3623
|
};
|
|
@@ -3955,14 +3637,13 @@ export declare namespace ApiDocument {
|
|
|
3955
3637
|
data: {
|
|
3956
3638
|
/** Format: uuid */
|
|
3957
3639
|
id: string;
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3640
|
+
name: string;
|
|
3641
|
+
mime_type: string;
|
|
3642
|
+
size_bytes: number;
|
|
3643
|
+
sha256: string;
|
|
3962
3644
|
/** Format: uuid */
|
|
3963
3645
|
created_by: string;
|
|
3964
3646
|
created_at: string;
|
|
3965
|
-
updated_at: string;
|
|
3966
3647
|
}[];
|
|
3967
3648
|
/** @description Opaque cursor for the next page, or null at the end. Pass it back as after, with the same sort and order. */
|
|
3968
3649
|
next_cursor: string | null;
|
|
@@ -3971,49 +3652,11 @@ export declare namespace ApiDocument {
|
|
|
3971
3652
|
};
|
|
3972
3653
|
};
|
|
3973
3654
|
};
|
|
3974
|
-
"
|
|
3655
|
+
"files.get": {
|
|
3975
3656
|
parameters: {
|
|
3976
|
-
query?:
|
|
3977
|
-
|
|
3978
|
-
path?: never;
|
|
3979
|
-
cookie?: never;
|
|
3980
|
-
};
|
|
3981
|
-
requestBody: {
|
|
3982
|
-
content: {
|
|
3983
|
-
"application/json": {
|
|
3984
|
-
/** Format: uuid */
|
|
3985
|
-
company_id: string;
|
|
3986
|
-
/** Format: uuid */
|
|
3987
|
-
file_id: string;
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
};
|
|
3991
|
-
responses: {
|
|
3992
|
-
/** @description Success */
|
|
3993
|
-
201: {
|
|
3994
|
-
headers: {
|
|
3995
|
-
[name: string]: unknown;
|
|
3996
|
-
};
|
|
3997
|
-
content: {
|
|
3998
|
-
"application/json": {
|
|
3999
|
-
/** Format: uuid */
|
|
4000
|
-
id: string;
|
|
4001
|
-
/** Format: uuid */
|
|
4002
|
-
company_id: string;
|
|
4003
|
-
/** Format: uuid */
|
|
4004
|
-
file_id: string;
|
|
4005
|
-
/** Format: uuid */
|
|
4006
|
-
created_by: string;
|
|
4007
|
-
created_at: string;
|
|
4008
|
-
updated_at: string;
|
|
4009
|
-
};
|
|
4010
|
-
};
|
|
3657
|
+
query?: {
|
|
3658
|
+
include?: "associations";
|
|
4011
3659
|
};
|
|
4012
|
-
};
|
|
4013
|
-
};
|
|
4014
|
-
"company_files.get": {
|
|
4015
|
-
parameters: {
|
|
4016
|
-
query?: never;
|
|
4017
3660
|
header?: never;
|
|
4018
3661
|
path: {
|
|
4019
3662
|
id: string;
|
|
@@ -4031,39 +3674,31 @@ export declare namespace ApiDocument {
|
|
|
4031
3674
|
"application/json": {
|
|
4032
3675
|
/** Format: uuid */
|
|
4033
3676
|
id: string;
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
3677
|
+
name: string;
|
|
3678
|
+
mime_type: string;
|
|
3679
|
+
size_bytes: number;
|
|
3680
|
+
sha256: string;
|
|
4038
3681
|
/** Format: uuid */
|
|
4039
3682
|
created_by: string;
|
|
4040
3683
|
created_at: string;
|
|
4041
|
-
|
|
3684
|
+
associations?: {
|
|
3685
|
+
/** Format: uuid */
|
|
3686
|
+
id: string;
|
|
3687
|
+
/** @enum {string} */
|
|
3688
|
+
relation: "related_to";
|
|
3689
|
+
neighbour_type: string;
|
|
3690
|
+
/** Format: uuid */
|
|
3691
|
+
neighbour_id: string;
|
|
3692
|
+
/** Format: uuid */
|
|
3693
|
+
created_by: string;
|
|
3694
|
+
created_at: string;
|
|
3695
|
+
}[];
|
|
3696
|
+
associations_truncated?: boolean;
|
|
4042
3697
|
};
|
|
4043
3698
|
};
|
|
4044
3699
|
};
|
|
4045
3700
|
};
|
|
4046
3701
|
};
|
|
4047
|
-
"company_files.delete": {
|
|
4048
|
-
parameters: {
|
|
4049
|
-
query?: never;
|
|
4050
|
-
header?: never;
|
|
4051
|
-
path: {
|
|
4052
|
-
id: string;
|
|
4053
|
-
};
|
|
4054
|
-
cookie?: never;
|
|
4055
|
-
};
|
|
4056
|
-
requestBody?: never;
|
|
4057
|
-
responses: {
|
|
4058
|
-
/** @description No content */
|
|
4059
|
-
204: {
|
|
4060
|
-
headers: {
|
|
4061
|
-
[name: string]: unknown;
|
|
4062
|
-
};
|
|
4063
|
-
content?: never;
|
|
4064
|
-
};
|
|
4065
|
-
};
|
|
4066
|
-
};
|
|
4067
3702
|
"associations.list": {
|
|
4068
3703
|
parameters: {
|
|
4069
3704
|
query: {
|
|
@@ -4271,7 +3906,7 @@ export declare namespace ApiDocument {
|
|
|
4271
3906
|
"application/json": {
|
|
4272
3907
|
identities: {
|
|
4273
3908
|
/** @enum {string} */
|
|
4274
|
-
kind: "email" | "phone";
|
|
3909
|
+
kind: "email" | "phone" | "linkedin" | "x" | "github" | "instagram" | "facebook" | "tiktok";
|
|
4275
3910
|
value: string;
|
|
4276
3911
|
name?: string;
|
|
4277
3912
|
}[];
|
|
@@ -4290,10 +3925,8 @@ export declare namespace ApiDocument {
|
|
|
4290
3925
|
identity: {
|
|
4291
3926
|
/** Format: uuid */
|
|
4292
3927
|
id: string;
|
|
4293
|
-
/** Format: uuid */
|
|
4294
|
-
organization_id: string;
|
|
4295
3928
|
/** @enum {string} */
|
|
4296
|
-
kind: "email" | "phone";
|
|
3929
|
+
kind: "email" | "phone" | "linkedin" | "x" | "github" | "instagram" | "facebook" | "tiktok";
|
|
4297
3930
|
value: string;
|
|
4298
3931
|
/** Format: uuid */
|
|
4299
3932
|
contact_id: string | null;
|
|
@@ -4306,12 +3939,12 @@ export declare namespace ApiDocument {
|
|
|
4306
3939
|
contact: {
|
|
4307
3940
|
/** Format: uuid */
|
|
4308
3941
|
id: string;
|
|
4309
|
-
/** Format: uuid */
|
|
4310
|
-
organization_id: string;
|
|
4311
3942
|
name: string | null;
|
|
4312
3943
|
/** Format: uuid */
|
|
4313
3944
|
company_id: string | null;
|
|
4314
3945
|
/** Format: uuid */
|
|
3946
|
+
owner_id: string | null;
|
|
3947
|
+
/** Format: uuid */
|
|
4315
3948
|
merged_into_id: string | null;
|
|
4316
3949
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
4317
3950
|
additional_props: {
|
|
@@ -4360,12 +3993,12 @@ export declare namespace ApiDocument {
|
|
|
4360
3993
|
"application/json": {
|
|
4361
3994
|
/** Format: uuid */
|
|
4362
3995
|
id: string;
|
|
4363
|
-
/** Format: uuid */
|
|
4364
|
-
organization_id: string;
|
|
4365
3996
|
name: string | null;
|
|
4366
3997
|
/** Format: uuid */
|
|
4367
3998
|
company_id: string | null;
|
|
4368
3999
|
/** Format: uuid */
|
|
4000
|
+
owner_id: string | null;
|
|
4001
|
+
/** Format: uuid */
|
|
4369
4002
|
merged_into_id: string | null;
|
|
4370
4003
|
/** @description A flat object of extra facts about this record that no typed field holds. Keys: lowercase snake_case, at most 64 characters, at most one ":" prefix separator, no dot or double underscore. Values: a string of at most 1000 characters, a finite number or a boolean; no nested objects, arrays or stored null. At most 50 keys and 8192 bytes of compact JSON in all. Writing is a merge patch: the keys you send are set, a key sent as null is removed, keys you do not name are kept; the whole bag cannot be replaced and additional_props: null is refused. Convention: a plain fact about the thing takes a plain shared key (linkedin_title) so agents reuse it; a judgment (a grade, a classification) takes the judging agent's prefix (scorer:lead_grade). Reads return the whole bag, {} when empty. */
|
|
4371
4004
|
additional_props: {
|
|
@@ -4432,8 +4065,6 @@ export declare namespace ApiDocument {
|
|
|
4432
4065
|
"application/json": {
|
|
4433
4066
|
/** Format: uuid */
|
|
4434
4067
|
id: string;
|
|
4435
|
-
/** Format: uuid */
|
|
4436
|
-
organization_id: string;
|
|
4437
4068
|
/** @description The enqueued operation this executes, for example messages.send. */
|
|
4438
4069
|
operation: string;
|
|
4439
4070
|
/**
|
|
@@ -4514,12 +4145,6 @@ export declare namespace ApiDocument {
|
|
|
4514
4145
|
decision_reason?: string | string[];
|
|
4515
4146
|
/** @description Filter by superseded_by_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: superseded_by_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send superseded_by_id=eq.<value> for a literal. */
|
|
4516
4147
|
superseded_by_id?: string | string[];
|
|
4517
|
-
/** @description Filter by error_code (text, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is, like, ilike. Example: error_code=ilike.*acme*. A range is two conditions: error_code=gte.a&error_code=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send error_code=eq.<value> for a literal. */
|
|
4518
|
-
error_code?: string | string[];
|
|
4519
|
-
/** @description Filter by error_message (text, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is, like, ilike. Example: error_message=ilike.*acme*. A range is two conditions: error_message=gte.a&error_message=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send error_message=eq.<value> for a literal. */
|
|
4520
|
-
error_message?: string | string[];
|
|
4521
|
-
/** @description Filter by executed_at (timestamp, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is. Example: executed_at=gte.2026-11-01. A range is two conditions: executed_at=gte.2026-11-01&executed_at=lt.2026-12-01. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value is a date (midnight UTC) or an ISO 8601 date-time with an offset. A value that starts with not. or an operator name and a dot is read as an operator: send executed_at=eq.<value> for a literal. */
|
|
4522
|
-
executed_at?: string | string[];
|
|
4523
4148
|
/** @description Filter by target_summary (text, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in, is, like, ilike. Example: target_summary=ilike.*acme*. A range is two conditions: target_summary=gte.a&target_summary=lt.n. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. Patterns: * is the wildcard; like is case-sensitive, ilike folds ASCII case only. Comparison is by byte order. A value that starts with not. or an operator name and a dot is read as an operator: send target_summary=eq.<value> for a literal. */
|
|
4524
4149
|
target_summary?: string | string[];
|
|
4525
4150
|
/** @description Filter by created_at (timestamp). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: created_at=gte.2026-11-01. A range is two conditions: created_at=gte.2026-11-01&created_at=lt.2026-12-01. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value is a date (midnight UTC) or an ISO 8601 date-time with an offset. A value that starts with not. or an operator name and a dot is read as an operator: send created_at=eq.<value> for a literal. */
|
|
@@ -4547,8 +4172,6 @@ export declare namespace ApiDocument {
|
|
|
4547
4172
|
data: {
|
|
4548
4173
|
/** Format: uuid */
|
|
4549
4174
|
id: string;
|
|
4550
|
-
/** Format: uuid */
|
|
4551
|
-
organization_id: string;
|
|
4552
4175
|
/** @description The registered operation proposed, for example tasks.update. */
|
|
4553
4176
|
operation: string;
|
|
4554
4177
|
/** @description The operation's flat arguments as proposed (the MCP shape: path, query and body fields in one object). Never changed after creation. */
|
|
@@ -4585,14 +4208,15 @@ export declare namespace ApiDocument {
|
|
|
4585
4208
|
decision_reason: string | null;
|
|
4586
4209
|
/** Format: uuid */
|
|
4587
4210
|
superseded_by_id: string | null;
|
|
4588
|
-
/** @description
|
|
4211
|
+
/** @description The execution's result, read from the execution: for an inline operation { events: [{ type, resource_type, resource_id }] }, the events it wrote; for a queued one what the provider returned. Null until the execution is done. */
|
|
4589
4212
|
result?: unknown;
|
|
4590
|
-
error_code
|
|
4591
|
-
error_message
|
|
4592
|
-
|
|
4213
|
+
error_code?: string | null;
|
|
4214
|
+
error_message?: string | null;
|
|
4215
|
+
/** @description When the execution finished (its done_at); null until it is done, and for a failed one. */
|
|
4216
|
+
executed_at?: string | null;
|
|
4593
4217
|
/**
|
|
4594
4218
|
* Format: uuid
|
|
4595
|
-
* @description The execution
|
|
4219
|
+
* @description The execution the approval created (an inline one is already done, a queued one runs later); null until the request is approved.
|
|
4596
4220
|
*/
|
|
4597
4221
|
execution_id?: string | null;
|
|
4598
4222
|
/** @description One line the vault wrote when the request was created, saying what it asks for as proposed (the operation, the target record's name, the changed fields; for a send the mailbox and recipients). Built from the request and the stored records, never from the proposer's reason; any outside text in it is quoted and shortened. Not rewritten by an edited approval; null on a request created before this field existed. */
|
|
@@ -4686,8 +4310,6 @@ export declare namespace ApiDocument {
|
|
|
4686
4310
|
"application/json": {
|
|
4687
4311
|
/** Format: uuid */
|
|
4688
4312
|
id: string;
|
|
4689
|
-
/** Format: uuid */
|
|
4690
|
-
organization_id: string;
|
|
4691
4313
|
/** @description The registered operation proposed, for example tasks.update. */
|
|
4692
4314
|
operation: string;
|
|
4693
4315
|
/** @description The operation's flat arguments as proposed (the MCP shape: path, query and body fields in one object). Never changed after creation. */
|
|
@@ -4724,14 +4346,15 @@ export declare namespace ApiDocument {
|
|
|
4724
4346
|
decision_reason: string | null;
|
|
4725
4347
|
/** Format: uuid */
|
|
4726
4348
|
superseded_by_id: string | null;
|
|
4727
|
-
/** @description
|
|
4349
|
+
/** @description The execution's result, read from the execution: for an inline operation { events: [{ type, resource_type, resource_id }] }, the events it wrote; for a queued one what the provider returned. Null until the execution is done. */
|
|
4728
4350
|
result?: unknown;
|
|
4729
|
-
error_code
|
|
4730
|
-
error_message
|
|
4731
|
-
|
|
4351
|
+
error_code?: string | null;
|
|
4352
|
+
error_message?: string | null;
|
|
4353
|
+
/** @description When the execution finished (its done_at); null until it is done, and for a failed one. */
|
|
4354
|
+
executed_at?: string | null;
|
|
4732
4355
|
/**
|
|
4733
4356
|
* Format: uuid
|
|
4734
|
-
* @description The execution
|
|
4357
|
+
* @description The execution the approval created (an inline one is already done, a queued one runs later); null until the request is approved.
|
|
4735
4358
|
*/
|
|
4736
4359
|
execution_id?: string | null;
|
|
4737
4360
|
/** @description One line the vault wrote when the request was created, saying what it asks for as proposed (the operation, the target record's name, the changed fields; for a send the mailbox and recipients). Built from the request and the stored records, never from the proposer's reason; any outside text in it is quoted and shortened. Not rewritten by an edited approval; null on a request created before this field existed. */
|
|
@@ -4779,8 +4402,6 @@ export declare namespace ApiDocument {
|
|
|
4779
4402
|
"application/json": {
|
|
4780
4403
|
/** Format: uuid */
|
|
4781
4404
|
id: string;
|
|
4782
|
-
/** Format: uuid */
|
|
4783
|
-
organization_id: string;
|
|
4784
4405
|
/** @description The registered operation proposed, for example tasks.update. */
|
|
4785
4406
|
operation: string;
|
|
4786
4407
|
/** @description The operation's flat arguments as proposed (the MCP shape: path, query and body fields in one object). Never changed after creation. */
|
|
@@ -4817,14 +4438,15 @@ export declare namespace ApiDocument {
|
|
|
4817
4438
|
decision_reason: string | null;
|
|
4818
4439
|
/** Format: uuid */
|
|
4819
4440
|
superseded_by_id: string | null;
|
|
4820
|
-
/** @description
|
|
4441
|
+
/** @description The execution's result, read from the execution: for an inline operation { events: [{ type, resource_type, resource_id }] }, the events it wrote; for a queued one what the provider returned. Null until the execution is done. */
|
|
4821
4442
|
result?: unknown;
|
|
4822
|
-
error_code
|
|
4823
|
-
error_message
|
|
4824
|
-
|
|
4443
|
+
error_code?: string | null;
|
|
4444
|
+
error_message?: string | null;
|
|
4445
|
+
/** @description When the execution finished (its done_at); null until it is done, and for a failed one. */
|
|
4446
|
+
executed_at?: string | null;
|
|
4825
4447
|
/**
|
|
4826
4448
|
* Format: uuid
|
|
4827
|
-
* @description The execution
|
|
4449
|
+
* @description The execution the approval created (an inline one is already done, a queued one runs later); null until the request is approved.
|
|
4828
4450
|
*/
|
|
4829
4451
|
execution_id?: string | null;
|
|
4830
4452
|
/** @description One line the vault wrote when the request was created, saying what it asks for as proposed (the operation, the target record's name, the changed fields; for a send the mailbox and recipients). Built from the request and the stored records, never from the proposer's reason; any outside text in it is quoted and shortened. Not rewritten by an edited approval; null on a request created before this field existed. */
|
|
@@ -4872,8 +4494,6 @@ export declare namespace ApiDocument {
|
|
|
4872
4494
|
"application/json": {
|
|
4873
4495
|
/** Format: uuid */
|
|
4874
4496
|
id: string;
|
|
4875
|
-
/** Format: uuid */
|
|
4876
|
-
organization_id: string;
|
|
4877
4497
|
/** @description The registered operation proposed, for example tasks.update. */
|
|
4878
4498
|
operation: string;
|
|
4879
4499
|
/** @description The operation's flat arguments as proposed (the MCP shape: path, query and body fields in one object). Never changed after creation. */
|
|
@@ -4910,14 +4530,15 @@ export declare namespace ApiDocument {
|
|
|
4910
4530
|
decision_reason: string | null;
|
|
4911
4531
|
/** Format: uuid */
|
|
4912
4532
|
superseded_by_id: string | null;
|
|
4913
|
-
/** @description
|
|
4533
|
+
/** @description The execution's result, read from the execution: for an inline operation { events: [{ type, resource_type, resource_id }] }, the events it wrote; for a queued one what the provider returned. Null until the execution is done. */
|
|
4914
4534
|
result?: unknown;
|
|
4915
|
-
error_code
|
|
4916
|
-
error_message
|
|
4917
|
-
|
|
4535
|
+
error_code?: string | null;
|
|
4536
|
+
error_message?: string | null;
|
|
4537
|
+
/** @description When the execution finished (its done_at); null until it is done, and for a failed one. */
|
|
4538
|
+
executed_at?: string | null;
|
|
4918
4539
|
/**
|
|
4919
4540
|
* Format: uuid
|
|
4920
|
-
* @description The execution
|
|
4541
|
+
* @description The execution the approval created (an inline one is already done, a queued one runs later); null until the request is approved.
|
|
4921
4542
|
*/
|
|
4922
4543
|
execution_id?: string | null;
|
|
4923
4544
|
/** @description One line the vault wrote when the request was created, saying what it asks for as proposed (the operation, the target record's name, the changed fields; for a send the mailbox and recipients). Built from the request and the stored records, never from the proposer's reason; any outside text in it is quoted and shortened. Not rewritten by an edited approval; null on a request created before this field existed. */
|
|
@@ -4975,8 +4596,6 @@ export declare namespace ApiDocument {
|
|
|
4975
4596
|
"application/json": {
|
|
4976
4597
|
/** Format: uuid */
|
|
4977
4598
|
id: string;
|
|
4978
|
-
/** Format: uuid */
|
|
4979
|
-
organization_id: string;
|
|
4980
4599
|
/** @description The registered operation proposed, for example tasks.update. */
|
|
4981
4600
|
operation: string;
|
|
4982
4601
|
/** @description The operation's flat arguments as proposed (the MCP shape: path, query and body fields in one object). Never changed after creation. */
|
|
@@ -5013,14 +4632,15 @@ export declare namespace ApiDocument {
|
|
|
5013
4632
|
decision_reason: string | null;
|
|
5014
4633
|
/** Format: uuid */
|
|
5015
4634
|
superseded_by_id: string | null;
|
|
5016
|
-
/** @description
|
|
4635
|
+
/** @description The execution's result, read from the execution: for an inline operation { events: [{ type, resource_type, resource_id }] }, the events it wrote; for a queued one what the provider returned. Null until the execution is done. */
|
|
5017
4636
|
result?: unknown;
|
|
5018
|
-
error_code
|
|
5019
|
-
error_message
|
|
5020
|
-
|
|
4637
|
+
error_code?: string | null;
|
|
4638
|
+
error_message?: string | null;
|
|
4639
|
+
/** @description When the execution finished (its done_at); null until it is done, and for a failed one. */
|
|
4640
|
+
executed_at?: string | null;
|
|
5021
4641
|
/**
|
|
5022
4642
|
* Format: uuid
|
|
5023
|
-
* @description The execution
|
|
4643
|
+
* @description The execution the approval created (an inline one is already done, a queued one runs later); null until the request is approved.
|
|
5024
4644
|
*/
|
|
5025
4645
|
execution_id?: string | null;
|
|
5026
4646
|
/** @description One line the vault wrote when the request was created, saying what it asks for as proposed (the operation, the target record's name, the changed fields; for a send the mailbox and recipients). Built from the request and the stored records, never from the proposer's reason; any outside text in it is quoted and shortened. Not rewritten by an edited approval; null on a request created before this field existed. */
|
|
@@ -5074,8 +4694,6 @@ export declare namespace ApiDocument {
|
|
|
5074
4694
|
"application/json": {
|
|
5075
4695
|
/** Format: uuid */
|
|
5076
4696
|
id: string;
|
|
5077
|
-
/** Format: uuid */
|
|
5078
|
-
organization_id: string;
|
|
5079
4697
|
/** @description The registered operation proposed, for example tasks.update. */
|
|
5080
4698
|
operation: string;
|
|
5081
4699
|
/** @description The operation's flat arguments as proposed (the MCP shape: path, query and body fields in one object). Never changed after creation. */
|
|
@@ -5112,14 +4730,15 @@ export declare namespace ApiDocument {
|
|
|
5112
4730
|
decision_reason: string | null;
|
|
5113
4731
|
/** Format: uuid */
|
|
5114
4732
|
superseded_by_id: string | null;
|
|
5115
|
-
/** @description
|
|
4733
|
+
/** @description The execution's result, read from the execution: for an inline operation { events: [{ type, resource_type, resource_id }] }, the events it wrote; for a queued one what the provider returned. Null until the execution is done. */
|
|
5116
4734
|
result?: unknown;
|
|
5117
|
-
error_code
|
|
5118
|
-
error_message
|
|
5119
|
-
|
|
4735
|
+
error_code?: string | null;
|
|
4736
|
+
error_message?: string | null;
|
|
4737
|
+
/** @description When the execution finished (its done_at); null until it is done, and for a failed one. */
|
|
4738
|
+
executed_at?: string | null;
|
|
5120
4739
|
/**
|
|
5121
4740
|
* Format: uuid
|
|
5122
|
-
* @description The execution
|
|
4741
|
+
* @description The execution the approval created (an inline one is already done, a queued one runs later); null until the request is approved.
|
|
5123
4742
|
*/
|
|
5124
4743
|
execution_id?: string | null;
|
|
5125
4744
|
/** @description One line the vault wrote when the request was created, saying what it asks for as proposed (the operation, the target record's name, the changed fields; for a send the mailbox and recipients). Built from the request and the stored records, never from the proposer's reason; any outside text in it is quoted and shortened. Not rewritten by an edited approval; null on a request created before this field existed. */
|
|
@@ -5200,8 +4819,6 @@ export declare namespace ApiDocument {
|
|
|
5200
4819
|
data: {
|
|
5201
4820
|
/** Format: uuid */
|
|
5202
4821
|
id: string;
|
|
5203
|
-
/** Format: uuid */
|
|
5204
|
-
organization_id: string;
|
|
5205
4822
|
/** @description The enqueued operation this executes, for example messages.send. */
|
|
5206
4823
|
operation: string;
|
|
5207
4824
|
/**
|
|
@@ -5271,8 +4888,6 @@ export declare namespace ApiDocument {
|
|
|
5271
4888
|
"application/json": {
|
|
5272
4889
|
/** Format: uuid */
|
|
5273
4890
|
id: string;
|
|
5274
|
-
/** Format: uuid */
|
|
5275
|
-
organization_id: string;
|
|
5276
4891
|
/** @description The enqueued operation this executes, for example messages.send. */
|
|
5277
4892
|
operation: string;
|
|
5278
4893
|
/**
|
|
@@ -5348,8 +4963,6 @@ export declare namespace ApiDocument {
|
|
|
5348
4963
|
data: {
|
|
5349
4964
|
/** Format: uuid */
|
|
5350
4965
|
id: string;
|
|
5351
|
-
/** Format: uuid */
|
|
5352
|
-
organization_id: string;
|
|
5353
4966
|
type: string;
|
|
5354
4967
|
resource_type: string;
|
|
5355
4968
|
/** Format: uuid */
|
|
@@ -5391,8 +5004,6 @@ export declare namespace ApiDocument {
|
|
|
5391
5004
|
"application/json": {
|
|
5392
5005
|
/** Format: uuid */
|
|
5393
5006
|
id: string;
|
|
5394
|
-
/** Format: uuid */
|
|
5395
|
-
organization_id: string;
|
|
5396
5007
|
type: string;
|
|
5397
5008
|
resource_type: string;
|
|
5398
5009
|
/** Format: uuid */
|
|
@@ -5524,7 +5135,7 @@ export declare namespace MetaDocument {
|
|
|
5524
5135
|
head?: never;
|
|
5525
5136
|
/**
|
|
5526
5137
|
* Change a connection's capture settings: which labels are captured, who is blocked, who becomes a contact
|
|
5527
|
-
* @description Human only, and only the connection's owner: send any of capture_labels, blocked_senders, exclude_group_addresses, exclude_personal_domains and contact_creation; a list replaces the whole list and a field you leave out is untouched. Answers 200 with the connection record. Works on a connection that needs a reconnect too. Anything not listed (owner, status, provider) is refused with 400. 403 user_required for an agent; 404 for an unknown or disconnected connection; 403 not_connection_owner for someone else's. Example: vibase connections update <id> --contact-creation sent --capture-labels '["INBOX","Label_1"]'
|
|
5138
|
+
* @description Human only, and only the connection's owner: send any of capture_labels, blocked_senders, exclude_group_addresses, exclude_personal_domains and contact_creation; a list replaces the whole list and a field you leave out is untouched; blocked_senders is the mailbox's own entries (rows of blocked_senders with this connection_id): an entry kept stays, one removed is lifted, one added is created, each with its event, and anyone who reads blocked senders can see them. Answers 200 with the connection record. Works on a connection that needs a reconnect too. Anything not listed (owner, status, provider) is refused with 400. 403 user_required for an agent; 404 for an unknown or disconnected connection; 403 not_connection_owner for someone else's. Example: vibase connections update <id> --contact-creation sent --capture-labels '["INBOX","Label_1"]'
|
|
5528
5139
|
*/
|
|
5529
5140
|
patch: operations["connections.update"];
|
|
5530
5141
|
trace?: never;
|
|
@@ -5538,13 +5149,13 @@ export declare namespace MetaDocument {
|
|
|
5538
5149
|
};
|
|
5539
5150
|
/**
|
|
5540
5151
|
* List blocked_senders
|
|
5541
|
-
* @description The
|
|
5152
|
+
* @description The blocklist: addresses and domains whose mail is not captured, for the whole instance (connection_id null) or for one mailbox. Everyone who can read blocked senders sees every entry, a mailbox's included. Filter by kind or by value (exact, lowercase). Example: vibase blocked-senders list --kind domain
|
|
5542
5153
|
*/
|
|
5543
5154
|
get: operations["blocked_senders.list"];
|
|
5544
5155
|
put?: never;
|
|
5545
5156
|
/**
|
|
5546
5157
|
* Create a blocked_sender
|
|
5547
|
-
* @description Human only
|
|
5158
|
+
* @description Human only. Block an address or a domain: for the whole instance (leave connection_id out; needs blocked_senders:write, an owner) or for one mailbox (set connection_id; needs connections:write and that you own the connection, whatever else you hold). The value is stored lowercase; a domain is a bare hostname such as example.com (subdomains are not matched here). 409 blocked_sender_exists when the entry is already live in the same scope; 403 user_required for an agent; 404 for an unknown or disconnected connection; 403 not_connection_owner for someone else's. Example: vibase blocked-senders create --kind domain --value spam.example
|
|
5548
5159
|
*/
|
|
5549
5160
|
post: operations["blocked_senders.create"];
|
|
5550
5161
|
delete?: never;
|
|
@@ -5569,7 +5180,7 @@ export declare namespace MetaDocument {
|
|
|
5569
5180
|
post?: never;
|
|
5570
5181
|
/**
|
|
5571
5182
|
* Delete a blocked_sender
|
|
5572
|
-
* @description Human only
|
|
5183
|
+
* @description Human only. Lift an entry (soft delete): an instance-wide one needs blocked_senders:write, a mailbox's needs connections:write and that you own the connection (still allowed after it is disconnected). 404 for an unknown or already lifted entry; 403 user_required for an agent; 403 not_connection_owner for someone else's mailbox. Example: vibase blocked-senders delete <id>
|
|
5573
5184
|
*/
|
|
5574
5185
|
delete: operations["blocked_senders.delete"];
|
|
5575
5186
|
options?: never;
|
|
@@ -5586,13 +5197,13 @@ export declare namespace MetaDocument {
|
|
|
5586
5197
|
};
|
|
5587
5198
|
/**
|
|
5588
5199
|
* List forms
|
|
5589
|
-
* @description The workspace forms: name, public id, enabled flag, field mapping, consent text
|
|
5200
|
+
* @description The workspace forms: name, public id, enabled flag, field mapping, consent text and allowed origins. Filter by enabled or by public_id (exact). Example: vibase forms list --enabled true
|
|
5590
5201
|
*/
|
|
5591
5202
|
get: operations["forms.list"];
|
|
5592
5203
|
put?: never;
|
|
5593
5204
|
/**
|
|
5594
5205
|
* Create a form
|
|
5595
|
-
* @description Human only, and only an owner: create a form and its agent. The public id is minted and returned; name must be unique among live forms (409 form_name_exists); the mapping defaults to email and name and needs email_field or phone_field; challenge (none by default, or turnstile to require Cloudflare Turnstile), allowed_origins (at most 20 normalised https origins, none by default: no browser origin is admitted)
|
|
5206
|
+
* @description Human only, and only an owner: create a form and its agent. The public id is minted and returned; name must be unique among live forms (409 form_name_exists); the mapping defaults to email and name and needs email_field or phone_field; challenge (none by default, or turnstile to require Cloudflare Turnstile), allowed_origins (at most 20 normalised https origins, none by default: no browser origin is admitted) are optional; 403 user_required for an agent. Example: vibase forms create --name "Website contact" --allowed-origins '["https://example.com"]'
|
|
5596
5207
|
*/
|
|
5597
5208
|
post: operations["forms.create"];
|
|
5598
5209
|
delete?: never;
|
|
@@ -5624,7 +5235,7 @@ export declare namespace MetaDocument {
|
|
|
5624
5235
|
head?: never;
|
|
5625
5236
|
/**
|
|
5626
5237
|
* Update a form
|
|
5627
|
-
* @description Human only, and only an owner: change a form (name, enabled, the field mapping, consent text, challenge, allowed origins
|
|
5238
|
+
* @description Human only, and only an owner: change a form (name, enabled, the field mapping, consent text, challenge, allowed origins). A list replaces the whole set ([] clears it) and an absent list is left as it is. A new name also renames the agent of the form (an agent.updated event before form.updated). At least one field; the merged mapping must still have an identity field and no two equal fields; the public id never changes. Example: vibase forms update <id> --enabled false
|
|
5628
5239
|
*/
|
|
5629
5240
|
patch: operations["forms.update"];
|
|
5630
5241
|
trace?: never;
|
|
@@ -6147,8 +5758,6 @@ export declare namespace MetaDocument {
|
|
|
6147
5758
|
data: {
|
|
6148
5759
|
/** Format: uuid */
|
|
6149
5760
|
id: string;
|
|
6150
|
-
/** Format: uuid */
|
|
6151
|
-
organization_id: string;
|
|
6152
5761
|
name: string;
|
|
6153
5762
|
/** Format: uuid */
|
|
6154
5763
|
created_by: string;
|
|
@@ -6186,8 +5795,6 @@ export declare namespace MetaDocument {
|
|
|
6186
5795
|
"application/json": {
|
|
6187
5796
|
/** Format: uuid */
|
|
6188
5797
|
id: string;
|
|
6189
|
-
/** Format: uuid */
|
|
6190
|
-
organization_id: string;
|
|
6191
5798
|
name: string;
|
|
6192
5799
|
/** Format: uuid */
|
|
6193
5800
|
created_by: string;
|
|
@@ -6218,8 +5825,6 @@ export declare namespace MetaDocument {
|
|
|
6218
5825
|
"application/json": {
|
|
6219
5826
|
/** Format: uuid */
|
|
6220
5827
|
id: string;
|
|
6221
|
-
/** Format: uuid */
|
|
6222
|
-
organization_id: string;
|
|
6223
5828
|
name: string;
|
|
6224
5829
|
/** Format: uuid */
|
|
6225
5830
|
created_by: string;
|
|
@@ -6276,8 +5881,6 @@ export declare namespace MetaDocument {
|
|
|
6276
5881
|
"application/json": {
|
|
6277
5882
|
/** Format: uuid */
|
|
6278
5883
|
id: string;
|
|
6279
|
-
/** Format: uuid */
|
|
6280
|
-
organization_id: string;
|
|
6281
5884
|
name: string;
|
|
6282
5885
|
/** Format: uuid */
|
|
6283
5886
|
created_by: string;
|
|
@@ -6332,8 +5935,6 @@ export declare namespace MetaDocument {
|
|
|
6332
5935
|
/** Format: uuid */
|
|
6333
5936
|
id: string;
|
|
6334
5937
|
/** Format: uuid */
|
|
6335
|
-
organization_id: string;
|
|
6336
|
-
/** Format: uuid */
|
|
6337
5938
|
pipeline_id: string;
|
|
6338
5939
|
name: string;
|
|
6339
5940
|
/** @enum {string} */
|
|
@@ -6381,8 +5982,6 @@ export declare namespace MetaDocument {
|
|
|
6381
5982
|
/** Format: uuid */
|
|
6382
5983
|
id: string;
|
|
6383
5984
|
/** Format: uuid */
|
|
6384
|
-
organization_id: string;
|
|
6385
|
-
/** Format: uuid */
|
|
6386
5985
|
pipeline_id: string;
|
|
6387
5986
|
name: string;
|
|
6388
5987
|
/** @enum {string} */
|
|
@@ -6418,8 +6017,6 @@ export declare namespace MetaDocument {
|
|
|
6418
6017
|
/** Format: uuid */
|
|
6419
6018
|
id: string;
|
|
6420
6019
|
/** Format: uuid */
|
|
6421
|
-
organization_id: string;
|
|
6422
|
-
/** Format: uuid */
|
|
6423
6020
|
pipeline_id: string;
|
|
6424
6021
|
name: string;
|
|
6425
6022
|
/** @enum {string} */
|
|
@@ -6482,8 +6079,6 @@ export declare namespace MetaDocument {
|
|
|
6482
6079
|
/** Format: uuid */
|
|
6483
6080
|
id: string;
|
|
6484
6081
|
/** Format: uuid */
|
|
6485
|
-
organization_id: string;
|
|
6486
|
-
/** Format: uuid */
|
|
6487
6082
|
pipeline_id: string;
|
|
6488
6083
|
name: string;
|
|
6489
6084
|
/** @enum {string} */
|
|
@@ -6551,8 +6146,6 @@ export declare namespace MetaDocument {
|
|
|
6551
6146
|
data: {
|
|
6552
6147
|
/** Format: uuid */
|
|
6553
6148
|
id: string;
|
|
6554
|
-
/** Format: uuid */
|
|
6555
|
-
organization_id: string;
|
|
6556
6149
|
/**
|
|
6557
6150
|
* @description The provider of the account; google only for now.
|
|
6558
6151
|
* @enum {string}
|
|
@@ -6581,7 +6174,7 @@ export declare namespace MetaDocument {
|
|
|
6581
6174
|
connected_at: string;
|
|
6582
6175
|
/** @description The Gmail label ids whose messages are captured, sorted; INBOX and SENT by default and never empty ([[CHN406]] D4). Change them with connections.update. */
|
|
6583
6176
|
capture_labels: string[];
|
|
6584
|
-
/** @description This connection's own blocked addresses and domains, sorted by kind then value (lowercase); none by default.
|
|
6177
|
+
/** @description This connection's own blocked addresses and domains, sorted by kind then value (lowercase); none by default. They are the live blocked_senders rows with this connection_id, shown to anyone who can read the connection; instance-wide entries (no connection_id) are not listed here. */
|
|
6585
6178
|
blocked_senders: {
|
|
6586
6179
|
/** @enum {string} */
|
|
6587
6180
|
kind: "address" | "domain";
|
|
@@ -6604,6 +6197,8 @@ export declare namespace MetaDocument {
|
|
|
6604
6197
|
last_synced_at?: string | null;
|
|
6605
6198
|
/** @description A short code for the last sync failure; null when the last run was fine or none ran. Derived, read-only. */
|
|
6606
6199
|
last_error_code?: string | null;
|
|
6200
|
+
/** @description Whether a sync of this mailbox is running or about to start: a run holds the sync lease, or a request made in the last 5 minutes is waiting for one. A run that stopped without finishing can leave this true for up to 5 minutes. Derived, read-only. */
|
|
6201
|
+
syncing?: boolean;
|
|
6607
6202
|
}[];
|
|
6608
6203
|
/** @description Opaque cursor for the next page, or null at the end. Pass it back as after, with the same sort and order. */
|
|
6609
6204
|
next_cursor: string | null;
|
|
@@ -6632,8 +6227,6 @@ export declare namespace MetaDocument {
|
|
|
6632
6227
|
"application/json": {
|
|
6633
6228
|
/** Format: uuid */
|
|
6634
6229
|
id: string;
|
|
6635
|
-
/** Format: uuid */
|
|
6636
|
-
organization_id: string;
|
|
6637
6230
|
/**
|
|
6638
6231
|
* @description The provider of the account; google only for now.
|
|
6639
6232
|
* @enum {string}
|
|
@@ -6662,7 +6255,7 @@ export declare namespace MetaDocument {
|
|
|
6662
6255
|
connected_at: string;
|
|
6663
6256
|
/** @description The Gmail label ids whose messages are captured, sorted; INBOX and SENT by default and never empty ([[CHN406]] D4). Change them with connections.update. */
|
|
6664
6257
|
capture_labels: string[];
|
|
6665
|
-
/** @description This connection's own blocked addresses and domains, sorted by kind then value (lowercase); none by default.
|
|
6258
|
+
/** @description This connection's own blocked addresses and domains, sorted by kind then value (lowercase); none by default. They are the live blocked_senders rows with this connection_id, shown to anyone who can read the connection; instance-wide entries (no connection_id) are not listed here. */
|
|
6666
6259
|
blocked_senders: {
|
|
6667
6260
|
/** @enum {string} */
|
|
6668
6261
|
kind: "address" | "domain";
|
|
@@ -6685,6 +6278,8 @@ export declare namespace MetaDocument {
|
|
|
6685
6278
|
last_synced_at?: string | null;
|
|
6686
6279
|
/** @description A short code for the last sync failure; null when the last run was fine or none ran. Derived, read-only. */
|
|
6687
6280
|
last_error_code?: string | null;
|
|
6281
|
+
/** @description Whether a sync of this mailbox is running or about to start: a run holds the sync lease, or a request made in the last 5 minutes is waiting for one. A run that stopped without finishing can leave this true for up to 5 minutes. Derived, read-only. */
|
|
6282
|
+
syncing?: boolean;
|
|
6688
6283
|
};
|
|
6689
6284
|
};
|
|
6690
6285
|
};
|
|
@@ -6753,8 +6348,6 @@ export declare namespace MetaDocument {
|
|
|
6753
6348
|
"application/json": {
|
|
6754
6349
|
/** Format: uuid */
|
|
6755
6350
|
id: string;
|
|
6756
|
-
/** Format: uuid */
|
|
6757
|
-
organization_id: string;
|
|
6758
6351
|
/**
|
|
6759
6352
|
* @description The provider of the account; google only for now.
|
|
6760
6353
|
* @enum {string}
|
|
@@ -6783,7 +6376,7 @@ export declare namespace MetaDocument {
|
|
|
6783
6376
|
connected_at: string;
|
|
6784
6377
|
/** @description The Gmail label ids whose messages are captured, sorted; INBOX and SENT by default and never empty ([[CHN406]] D4). Change them with connections.update. */
|
|
6785
6378
|
capture_labels: string[];
|
|
6786
|
-
/** @description This connection's own blocked addresses and domains, sorted by kind then value (lowercase); none by default.
|
|
6379
|
+
/** @description This connection's own blocked addresses and domains, sorted by kind then value (lowercase); none by default. They are the live blocked_senders rows with this connection_id, shown to anyone who can read the connection; instance-wide entries (no connection_id) are not listed here. */
|
|
6787
6380
|
blocked_senders: {
|
|
6788
6381
|
/** @enum {string} */
|
|
6789
6382
|
kind: "address" | "domain";
|
|
@@ -6806,6 +6399,8 @@ export declare namespace MetaDocument {
|
|
|
6806
6399
|
last_synced_at?: string | null;
|
|
6807
6400
|
/** @description A short code for the last sync failure; null when the last run was fine or none ran. Derived, read-only. */
|
|
6808
6401
|
last_error_code?: string | null;
|
|
6402
|
+
/** @description Whether a sync of this mailbox is running or about to start: a run holds the sync lease, or a request made in the last 5 minutes is waiting for one. A run that stopped without finishing can leave this true for up to 5 minutes. Derived, read-only. */
|
|
6403
|
+
syncing?: boolean;
|
|
6809
6404
|
};
|
|
6810
6405
|
};
|
|
6811
6406
|
};
|
|
@@ -6823,6 +6418,8 @@ export declare namespace MetaDocument {
|
|
|
6823
6418
|
value?: string | string[];
|
|
6824
6419
|
/** @description Filter by id (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send id=eq.<value> for a literal. */
|
|
6825
6420
|
id?: string | string[];
|
|
6421
|
+
/** @description Filter by connection_id (uuid, can be null). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in, is. Example: connection_id=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send connection_id=eq.<value> for a literal. */
|
|
6422
|
+
connection_id?: string | string[];
|
|
6826
6423
|
/** @description Filter by created_by (uuid). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, in. Example: created_by=in.(<uuid>,<uuid>). Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value that starts with not. or an operator name and a dot is read as an operator: send created_by=eq.<value> for a literal. */
|
|
6827
6424
|
created_by?: string | string[];
|
|
6828
6425
|
/** @description Filter by created_at (timestamp). A bare value means equals; otherwise [not.]<operator>.<value>. Repeat the parameter up to 4 times to combine conditions on the field; they AND together and with the other filters. Operators: eq, neq, gt, gte, lt, lte, in. Example: created_at=gte.2026-11-01. A range is two conditions: created_at=gte.2026-11-01&created_at=lt.2026-12-01. Comparisons, neq and not. never match a null value; is.null does. neq, not., like and ilike read every live row of the organisation, whatever the index. A value is a date (midnight UTC) or an ISO 8601 date-time with an offset. A value that starts with not. or an operator name and a dot is read as an operator: send created_at=eq.<value> for a literal. */
|
|
@@ -6850,8 +6447,11 @@ export declare namespace MetaDocument {
|
|
|
6850
6447
|
data: {
|
|
6851
6448
|
/** Format: uuid */
|
|
6852
6449
|
id: string;
|
|
6853
|
-
/**
|
|
6854
|
-
|
|
6450
|
+
/**
|
|
6451
|
+
* Format: uuid
|
|
6452
|
+
* @description The connection (mailbox) this entry applies to; null: the entry applies to every mailbox and every form of the instance. Anyone who can read blocked senders sees every entry, a mailbox's included.
|
|
6453
|
+
*/
|
|
6454
|
+
connection_id: string | null;
|
|
6855
6455
|
/**
|
|
6856
6456
|
* @description address: one sender (user@example.com); domain: every sender at a bare domain (example.com).
|
|
6857
6457
|
* @enum {string}
|
|
@@ -6891,6 +6491,11 @@ export declare namespace MetaDocument {
|
|
|
6891
6491
|
kind: "address" | "domain";
|
|
6892
6492
|
/** @description An address (user@example.com) or a bare domain (example.com); stored lowercase. */
|
|
6893
6493
|
value: string;
|
|
6494
|
+
/**
|
|
6495
|
+
* Format: uuid
|
|
6496
|
+
* @description Omit to block for the whole instance (needs blocked_senders:write). Set it to one connection to block only that mailbox: you must own the connection (connections:write), whatever else you hold.
|
|
6497
|
+
*/
|
|
6498
|
+
connection_id?: string;
|
|
6894
6499
|
};
|
|
6895
6500
|
};
|
|
6896
6501
|
};
|
|
@@ -6904,8 +6509,11 @@ export declare namespace MetaDocument {
|
|
|
6904
6509
|
"application/json": {
|
|
6905
6510
|
/** Format: uuid */
|
|
6906
6511
|
id: string;
|
|
6907
|
-
/**
|
|
6908
|
-
|
|
6512
|
+
/**
|
|
6513
|
+
* Format: uuid
|
|
6514
|
+
* @description The connection (mailbox) this entry applies to; null: the entry applies to every mailbox and every form of the instance. Anyone who can read blocked senders sees every entry, a mailbox's included.
|
|
6515
|
+
*/
|
|
6516
|
+
connection_id: string | null;
|
|
6909
6517
|
/**
|
|
6910
6518
|
* @description address: one sender (user@example.com); domain: every sender at a bare domain (example.com).
|
|
6911
6519
|
* @enum {string}
|
|
@@ -6945,8 +6553,11 @@ export declare namespace MetaDocument {
|
|
|
6945
6553
|
"application/json": {
|
|
6946
6554
|
/** Format: uuid */
|
|
6947
6555
|
id: string;
|
|
6948
|
-
/**
|
|
6949
|
-
|
|
6556
|
+
/**
|
|
6557
|
+
* Format: uuid
|
|
6558
|
+
* @description The connection (mailbox) this entry applies to; null: the entry applies to every mailbox and every form of the instance. Anyone who can read blocked senders sees every entry, a mailbox's included.
|
|
6559
|
+
*/
|
|
6560
|
+
connection_id: string | null;
|
|
6950
6561
|
/**
|
|
6951
6562
|
* @description address: one sender (user@example.com); domain: every sender at a bare domain (example.com).
|
|
6952
6563
|
* @enum {string}
|
|
@@ -7040,8 +6651,6 @@ export declare namespace MetaDocument {
|
|
|
7040
6651
|
* @description The form's id; also the id of the form's agent, which every capture from the form is attributed to.
|
|
7041
6652
|
*/
|
|
7042
6653
|
id: string;
|
|
7043
|
-
/** Format: uuid */
|
|
7044
|
-
organization_id: string;
|
|
7045
6654
|
/** @description The form name, unique among live forms ignoring ASCII case. */
|
|
7046
6655
|
name: string;
|
|
7047
6656
|
/** @description The id a website embeds: frm_ and 26 lowercase base32 characters. Minted by the vault, never changes. */
|
|
@@ -7063,8 +6672,6 @@ export declare namespace MetaDocument {
|
|
|
7063
6672
|
challenge: "none" | "turnstile";
|
|
7064
6673
|
/** @description The browser origins allowed to post to the form, stored normalised (https://example.com, no path), sorted. Empty: no browser origin is admitted. */
|
|
7065
6674
|
allowed_origins: string[];
|
|
7066
|
-
/** @description The tags a submitter is given, sorted. Each was a live tag when written; a tag deleted since stays listed here and is skipped when a submission is applied. */
|
|
7067
|
-
tag_ids: string[];
|
|
7068
6675
|
/**
|
|
7069
6676
|
* Format: uuid
|
|
7070
6677
|
* @description The owner who created the form.
|
|
@@ -7128,11 +6735,6 @@ export declare namespace MetaDocument {
|
|
|
7128
6735
|
* @default []
|
|
7129
6736
|
*/
|
|
7130
6737
|
allowed_origins?: string[];
|
|
7131
|
-
/**
|
|
7132
|
-
* @description The tags given to a submitter (at most 20 distinct ids), each a live tag when written. An update replaces the whole list.
|
|
7133
|
-
* @default []
|
|
7134
|
-
*/
|
|
7135
|
-
tag_ids?: string[];
|
|
7136
6738
|
};
|
|
7137
6739
|
};
|
|
7138
6740
|
};
|
|
@@ -7149,8 +6751,6 @@ export declare namespace MetaDocument {
|
|
|
7149
6751
|
* @description The form's id; also the id of the form's agent, which every capture from the form is attributed to.
|
|
7150
6752
|
*/
|
|
7151
6753
|
id: string;
|
|
7152
|
-
/** Format: uuid */
|
|
7153
|
-
organization_id: string;
|
|
7154
6754
|
/** @description The form name, unique among live forms ignoring ASCII case. */
|
|
7155
6755
|
name: string;
|
|
7156
6756
|
/** @description The id a website embeds: frm_ and 26 lowercase base32 characters. Minted by the vault, never changes. */
|
|
@@ -7172,8 +6772,6 @@ export declare namespace MetaDocument {
|
|
|
7172
6772
|
challenge: "none" | "turnstile";
|
|
7173
6773
|
/** @description The browser origins allowed to post to the form, stored normalised (https://example.com, no path), sorted. Empty: no browser origin is admitted. */
|
|
7174
6774
|
allowed_origins: string[];
|
|
7175
|
-
/** @description The tags a submitter is given, sorted. Each was a live tag when written; a tag deleted since stays listed here and is skipped when a submission is applied. */
|
|
7176
|
-
tag_ids: string[];
|
|
7177
6775
|
/**
|
|
7178
6776
|
* Format: uuid
|
|
7179
6777
|
* @description The owner who created the form.
|
|
@@ -7209,8 +6807,6 @@ export declare namespace MetaDocument {
|
|
|
7209
6807
|
* @description The form's id; also the id of the form's agent, which every capture from the form is attributed to.
|
|
7210
6808
|
*/
|
|
7211
6809
|
id: string;
|
|
7212
|
-
/** Format: uuid */
|
|
7213
|
-
organization_id: string;
|
|
7214
6810
|
/** @description The form name, unique among live forms ignoring ASCII case. */
|
|
7215
6811
|
name: string;
|
|
7216
6812
|
/** @description The id a website embeds: frm_ and 26 lowercase base32 characters. Minted by the vault, never changes. */
|
|
@@ -7232,8 +6828,6 @@ export declare namespace MetaDocument {
|
|
|
7232
6828
|
challenge: "none" | "turnstile";
|
|
7233
6829
|
/** @description The browser origins allowed to post to the form, stored normalised (https://example.com, no path), sorted. Empty: no browser origin is admitted. */
|
|
7234
6830
|
allowed_origins: string[];
|
|
7235
|
-
/** @description The tags a submitter is given, sorted. Each was a live tag when written; a tag deleted since stays listed here and is skipped when a submission is applied. */
|
|
7236
|
-
tag_ids: string[];
|
|
7237
6831
|
/**
|
|
7238
6832
|
* Format: uuid
|
|
7239
6833
|
* @description The owner who created the form.
|
|
@@ -7293,8 +6887,6 @@ export declare namespace MetaDocument {
|
|
|
7293
6887
|
challenge?: "none" | "turnstile";
|
|
7294
6888
|
/** @description The browser origins allowed to post to the form (at most 20): https origins such as https://example.com, or http for localhost, 127.0.0.1 and [::1]; no path, query, fragment, userinfo or wildcard. Stored normalised and sorted; an update replaces the whole list. */
|
|
7295
6889
|
allowed_origins?: string[];
|
|
7296
|
-
/** @description The tags given to a submitter (at most 20 distinct ids), each a live tag when written. An update replaces the whole list. */
|
|
7297
|
-
tag_ids?: string[];
|
|
7298
6890
|
};
|
|
7299
6891
|
};
|
|
7300
6892
|
};
|
|
@@ -7311,8 +6903,6 @@ export declare namespace MetaDocument {
|
|
|
7311
6903
|
* @description The form's id; also the id of the form's agent, which every capture from the form is attributed to.
|
|
7312
6904
|
*/
|
|
7313
6905
|
id: string;
|
|
7314
|
-
/** Format: uuid */
|
|
7315
|
-
organization_id: string;
|
|
7316
6906
|
/** @description The form name, unique among live forms ignoring ASCII case. */
|
|
7317
6907
|
name: string;
|
|
7318
6908
|
/** @description The id a website embeds: frm_ and 26 lowercase base32 characters. Minted by the vault, never changes. */
|
|
@@ -7334,8 +6924,6 @@ export declare namespace MetaDocument {
|
|
|
7334
6924
|
challenge: "none" | "turnstile";
|
|
7335
6925
|
/** @description The browser origins allowed to post to the form, stored normalised (https://example.com, no path), sorted. Empty: no browser origin is admitted. */
|
|
7336
6926
|
allowed_origins: string[];
|
|
7337
|
-
/** @description The tags a submitter is given, sorted. Each was a live tag when written; a tag deleted since stays listed here and is skipped when a submission is applied. */
|
|
7338
|
-
tag_ids: string[];
|
|
7339
6927
|
/**
|
|
7340
6928
|
* Format: uuid
|
|
7341
6929
|
* @description The owner who created the form.
|
|
@@ -7445,8 +7033,6 @@ export declare namespace MetaDocument {
|
|
|
7445
7033
|
/** Format: uuid */
|
|
7446
7034
|
id: string;
|
|
7447
7035
|
/** Format: uuid */
|
|
7448
|
-
organization_id: string;
|
|
7449
|
-
/** Format: uuid */
|
|
7450
7036
|
user_id: string;
|
|
7451
7037
|
/** @enum {string} */
|
|
7452
7038
|
role: "owner" | "member";
|
|
@@ -7483,8 +7069,6 @@ export declare namespace MetaDocument {
|
|
|
7483
7069
|
/** Format: uuid */
|
|
7484
7070
|
id: string;
|
|
7485
7071
|
/** Format: uuid */
|
|
7486
|
-
organization_id: string;
|
|
7487
|
-
/** Format: uuid */
|
|
7488
7072
|
user_id: string;
|
|
7489
7073
|
/** @enum {string} */
|
|
7490
7074
|
role: "owner" | "member";
|
|
@@ -7518,8 +7102,6 @@ export declare namespace MetaDocument {
|
|
|
7518
7102
|
/** Format: uuid */
|
|
7519
7103
|
id: string;
|
|
7520
7104
|
/** Format: uuid */
|
|
7521
|
-
organization_id: string;
|
|
7522
|
-
/** Format: uuid */
|
|
7523
7105
|
user_id: string;
|
|
7524
7106
|
/** @enum {string} */
|
|
7525
7107
|
role: "owner" | "member";
|
|
@@ -7560,8 +7142,6 @@ export declare namespace MetaDocument {
|
|
|
7560
7142
|
/** Format: uuid */
|
|
7561
7143
|
id: string;
|
|
7562
7144
|
/** Format: uuid */
|
|
7563
|
-
organization_id: string;
|
|
7564
|
-
/** Format: uuid */
|
|
7565
7145
|
user_id: string;
|
|
7566
7146
|
/** @enum {string} */
|
|
7567
7147
|
role: "owner" | "member";
|
|
@@ -7621,8 +7201,6 @@ export declare namespace MetaDocument {
|
|
|
7621
7201
|
data: {
|
|
7622
7202
|
/** Format: uuid */
|
|
7623
7203
|
id: string;
|
|
7624
|
-
/** Format: uuid */
|
|
7625
|
-
organization_id: string;
|
|
7626
7204
|
name: string;
|
|
7627
7205
|
scopes: string[];
|
|
7628
7206
|
disabled_at: string | null;
|
|
@@ -7669,8 +7247,6 @@ export declare namespace MetaDocument {
|
|
|
7669
7247
|
"application/json": {
|
|
7670
7248
|
/** Format: uuid */
|
|
7671
7249
|
id: string;
|
|
7672
|
-
/** Format: uuid */
|
|
7673
|
-
organization_id: string;
|
|
7674
7250
|
name: string;
|
|
7675
7251
|
scopes: string[];
|
|
7676
7252
|
disabled_at: string | null;
|
|
@@ -7708,8 +7284,6 @@ export declare namespace MetaDocument {
|
|
|
7708
7284
|
"application/json": {
|
|
7709
7285
|
/** Format: uuid */
|
|
7710
7286
|
id: string;
|
|
7711
|
-
/** Format: uuid */
|
|
7712
|
-
organization_id: string;
|
|
7713
7287
|
name: string;
|
|
7714
7288
|
scopes: string[];
|
|
7715
7289
|
disabled_at: string | null;
|
|
@@ -7757,8 +7331,6 @@ export declare namespace MetaDocument {
|
|
|
7757
7331
|
"application/json": {
|
|
7758
7332
|
/** Format: uuid */
|
|
7759
7333
|
id: string;
|
|
7760
|
-
/** Format: uuid */
|
|
7761
|
-
organization_id: string;
|
|
7762
7334
|
name: string;
|
|
7763
7335
|
scopes: string[];
|
|
7764
7336
|
disabled_at: string | null;
|
|
@@ -7886,8 +7458,6 @@ export declare namespace MetaDocument {
|
|
|
7886
7458
|
/** Format: uuid */
|
|
7887
7459
|
id: string;
|
|
7888
7460
|
/** Format: uuid */
|
|
7889
|
-
organization_id: string;
|
|
7890
|
-
/** Format: uuid */
|
|
7891
7461
|
agent_id: string;
|
|
7892
7462
|
prefix: string;
|
|
7893
7463
|
last_used_at: string | null;
|
|
@@ -7933,8 +7503,6 @@ export declare namespace MetaDocument {
|
|
|
7933
7503
|
/** Format: uuid */
|
|
7934
7504
|
id: string;
|
|
7935
7505
|
/** Format: uuid */
|
|
7936
|
-
organization_id: string;
|
|
7937
|
-
/** Format: uuid */
|
|
7938
7506
|
agent_id: string;
|
|
7939
7507
|
prefix: string;
|
|
7940
7508
|
last_used_at: string | null;
|
|
@@ -7971,8 +7539,6 @@ export declare namespace MetaDocument {
|
|
|
7971
7539
|
/** Format: uuid */
|
|
7972
7540
|
id: string;
|
|
7973
7541
|
/** Format: uuid */
|
|
7974
|
-
organization_id: string;
|
|
7975
|
-
/** Format: uuid */
|
|
7976
7542
|
agent_id: string;
|
|
7977
7543
|
prefix: string;
|
|
7978
7544
|
last_used_at: string | null;
|
|
@@ -8008,8 +7574,6 @@ export declare namespace MetaDocument {
|
|
|
8008
7574
|
/** Format: uuid */
|
|
8009
7575
|
id: string;
|
|
8010
7576
|
/** Format: uuid */
|
|
8011
|
-
organization_id: string;
|
|
8012
|
-
/** Format: uuid */
|
|
8013
7577
|
agent_id: string;
|
|
8014
7578
|
prefix: string;
|
|
8015
7579
|
last_used_at: string | null;
|
|
@@ -8680,8 +8244,6 @@ export declare namespace MetaDocument {
|
|
|
8680
8244
|
data: {
|
|
8681
8245
|
/** Format: uuid */
|
|
8682
8246
|
id: string;
|
|
8683
|
-
/** Format: uuid */
|
|
8684
|
-
organization_id: string;
|
|
8685
8247
|
/**
|
|
8686
8248
|
* Format: uuid
|
|
8687
8249
|
* @description The agent that owns the subscription: it receives only event types it could read itself.
|
|
@@ -8740,8 +8302,6 @@ export declare namespace MetaDocument {
|
|
|
8740
8302
|
"application/json": {
|
|
8741
8303
|
/** Format: uuid */
|
|
8742
8304
|
id: string;
|
|
8743
|
-
/** Format: uuid */
|
|
8744
|
-
organization_id: string;
|
|
8745
8305
|
/**
|
|
8746
8306
|
* Format: uuid
|
|
8747
8307
|
* @description The agent that owns the subscription: it receives only event types it could read itself.
|
|
@@ -8787,8 +8347,6 @@ export declare namespace MetaDocument {
|
|
|
8787
8347
|
"application/json": {
|
|
8788
8348
|
/** Format: uuid */
|
|
8789
8349
|
id: string;
|
|
8790
|
-
/** Format: uuid */
|
|
8791
|
-
organization_id: string;
|
|
8792
8350
|
/**
|
|
8793
8351
|
* Format: uuid
|
|
8794
8352
|
* @description The agent that owns the subscription: it receives only event types it could read itself.
|
|
@@ -8865,8 +8423,6 @@ export declare namespace MetaDocument {
|
|
|
8865
8423
|
"application/json": {
|
|
8866
8424
|
/** Format: uuid */
|
|
8867
8425
|
id: string;
|
|
8868
|
-
/** Format: uuid */
|
|
8869
|
-
organization_id: string;
|
|
8870
8426
|
/**
|
|
8871
8427
|
* Format: uuid
|
|
8872
8428
|
* @description The agent that owns the subscription: it receives only event types it could read itself.
|
|
@@ -9050,9 +8606,6 @@ export type BuiltInOperations = {
|
|
|
9050
8606
|
'decided_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is'];
|
|
9051
8607
|
'decision_reason': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9052
8608
|
'superseded_by_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9053
|
-
'error_code': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9054
|
-
'error_message': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9055
|
-
'executed_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is'];
|
|
9056
8609
|
'target_summary': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9057
8610
|
'created_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
9058
8611
|
'updated_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
@@ -9238,6 +8791,7 @@ export type BuiltInOperations = {
|
|
|
9238
8791
|
'kind': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'like' | 'ilike'];
|
|
9239
8792
|
'value': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'like' | 'ilike'];
|
|
9240
8793
|
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
8794
|
+
'connection_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9241
8795
|
'created_by': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9242
8796
|
'created_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
9243
8797
|
'updated_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
@@ -9252,6 +8806,7 @@ export type BuiltInOperations = {
|
|
|
9252
8806
|
method: 'aggregate';
|
|
9253
8807
|
args: WithFilters<ArgsOf<ApiDocument.operations['companies.aggregate']>, {
|
|
9254
8808
|
'domain': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
8809
|
+
'owner_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9255
8810
|
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9256
8811
|
'name': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'like' | 'ilike'];
|
|
9257
8812
|
'created_by': ['uuid', 'eq' | 'neq' | 'in'];
|
|
@@ -9265,13 +8820,14 @@ export type BuiltInOperations = {
|
|
|
9265
8820
|
avg: never;
|
|
9266
8821
|
min: 'name' | 'domain' | 'created_at' | 'updated_at';
|
|
9267
8822
|
max: 'name' | 'domain' | 'created_at' | 'updated_at';
|
|
9268
|
-
group_by: 'name' | 'domain' | 'created_by';
|
|
8823
|
+
group_by: 'name' | 'domain' | 'owner_id' | 'created_by';
|
|
9269
8824
|
};
|
|
9270
8825
|
kinds: {
|
|
9271
8826
|
'name': 'text';
|
|
9272
8827
|
'domain': 'text';
|
|
9273
8828
|
'created_at': 'timestamp';
|
|
9274
8829
|
'updated_at': 'timestamp';
|
|
8830
|
+
'owner_id': 'uuid';
|
|
9275
8831
|
'created_by': 'uuid';
|
|
9276
8832
|
};
|
|
9277
8833
|
money: {};
|
|
@@ -9308,6 +8864,7 @@ export type BuiltInOperations = {
|
|
|
9308
8864
|
method: 'list';
|
|
9309
8865
|
args: WithFilters<ArgsOf<ApiDocument.operations['companies.list']>, {
|
|
9310
8866
|
'domain': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
8867
|
+
'owner_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9311
8868
|
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9312
8869
|
'name': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'like' | 'ilike'];
|
|
9313
8870
|
'created_by': ['uuid', 'eq' | 'neq' | 'in'];
|
|
@@ -9335,46 +8892,6 @@ export type BuiltInOperations = {
|
|
|
9335
8892
|
proposable: true;
|
|
9336
8893
|
paginated: false;
|
|
9337
8894
|
};
|
|
9338
|
-
'company_files.create': {
|
|
9339
|
-
namespace: 'companyFiles';
|
|
9340
|
-
method: 'create';
|
|
9341
|
-
args: ArgsOf<ApiDocument.operations['company_files.create']>;
|
|
9342
|
-
result: ResultOf<ApiDocument.operations['company_files.create'], 201>;
|
|
9343
|
-
proposable: false;
|
|
9344
|
-
paginated: false;
|
|
9345
|
-
};
|
|
9346
|
-
'company_files.delete': {
|
|
9347
|
-
namespace: 'companyFiles';
|
|
9348
|
-
method: 'delete';
|
|
9349
|
-
args: ArgsOf<ApiDocument.operations['company_files.delete']>;
|
|
9350
|
-
result: undefined;
|
|
9351
|
-
proposable: false;
|
|
9352
|
-
paginated: false;
|
|
9353
|
-
};
|
|
9354
|
-
'company_files.get': {
|
|
9355
|
-
namespace: 'companyFiles';
|
|
9356
|
-
method: 'get';
|
|
9357
|
-
args: ArgsOf<ApiDocument.operations['company_files.get']>;
|
|
9358
|
-
result: ResultOf<ApiDocument.operations['company_files.get'], 200>;
|
|
9359
|
-
proposable: false;
|
|
9360
|
-
paginated: false;
|
|
9361
|
-
};
|
|
9362
|
-
'company_files.list': {
|
|
9363
|
-
namespace: 'companyFiles';
|
|
9364
|
-
method: 'list';
|
|
9365
|
-
args: WithFilters<ArgsOf<ApiDocument.operations['company_files.list']>, {
|
|
9366
|
-
'company_id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9367
|
-
'file_id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9368
|
-
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9369
|
-
'created_by': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9370
|
-
'created_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
9371
|
-
'updated_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
9372
|
-
}>;
|
|
9373
|
-
result: ResultOf<ApiDocument.operations['company_files.list'], 200>;
|
|
9374
|
-
item: ItemOf<ResultOf<ApiDocument.operations['company_files.list'], 200>>;
|
|
9375
|
-
proposable: false;
|
|
9376
|
-
paginated: true;
|
|
9377
|
-
};
|
|
9378
8895
|
'connections.authorize': {
|
|
9379
8896
|
namespace: 'connections';
|
|
9380
8897
|
method: 'authorize';
|
|
@@ -9438,51 +8955,12 @@ export type BuiltInOperations = {
|
|
|
9438
8955
|
proposable: false;
|
|
9439
8956
|
paginated: false;
|
|
9440
8957
|
};
|
|
9441
|
-
'contact_files.create': {
|
|
9442
|
-
namespace: 'contactFiles';
|
|
9443
|
-
method: 'create';
|
|
9444
|
-
args: ArgsOf<ApiDocument.operations['contact_files.create']>;
|
|
9445
|
-
result: ResultOf<ApiDocument.operations['contact_files.create'], 201>;
|
|
9446
|
-
proposable: false;
|
|
9447
|
-
paginated: false;
|
|
9448
|
-
};
|
|
9449
|
-
'contact_files.delete': {
|
|
9450
|
-
namespace: 'contactFiles';
|
|
9451
|
-
method: 'delete';
|
|
9452
|
-
args: ArgsOf<ApiDocument.operations['contact_files.delete']>;
|
|
9453
|
-
result: undefined;
|
|
9454
|
-
proposable: false;
|
|
9455
|
-
paginated: false;
|
|
9456
|
-
};
|
|
9457
|
-
'contact_files.get': {
|
|
9458
|
-
namespace: 'contactFiles';
|
|
9459
|
-
method: 'get';
|
|
9460
|
-
args: ArgsOf<ApiDocument.operations['contact_files.get']>;
|
|
9461
|
-
result: ResultOf<ApiDocument.operations['contact_files.get'], 200>;
|
|
9462
|
-
proposable: false;
|
|
9463
|
-
paginated: false;
|
|
9464
|
-
};
|
|
9465
|
-
'contact_files.list': {
|
|
9466
|
-
namespace: 'contactFiles';
|
|
9467
|
-
method: 'list';
|
|
9468
|
-
args: WithFilters<ArgsOf<ApiDocument.operations['contact_files.list']>, {
|
|
9469
|
-
'contact_id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9470
|
-
'file_id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9471
|
-
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9472
|
-
'created_by': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9473
|
-
'created_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
9474
|
-
'updated_at': ['timestamp', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in'];
|
|
9475
|
-
}>;
|
|
9476
|
-
result: ResultOf<ApiDocument.operations['contact_files.list'], 200>;
|
|
9477
|
-
item: ItemOf<ResultOf<ApiDocument.operations['contact_files.list'], 200>>;
|
|
9478
|
-
proposable: false;
|
|
9479
|
-
paginated: true;
|
|
9480
|
-
};
|
|
9481
8958
|
'contacts.aggregate': {
|
|
9482
8959
|
namespace: 'contacts';
|
|
9483
8960
|
method: 'aggregate';
|
|
9484
8961
|
args: WithFilters<ArgsOf<ApiDocument.operations['contacts.aggregate']>, {
|
|
9485
8962
|
'company_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
8963
|
+
'owner_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9486
8964
|
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9487
8965
|
'name': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9488
8966
|
'merged_into_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
@@ -9497,13 +8975,14 @@ export type BuiltInOperations = {
|
|
|
9497
8975
|
avg: never;
|
|
9498
8976
|
min: 'name' | 'created_at' | 'updated_at';
|
|
9499
8977
|
max: 'name' | 'created_at' | 'updated_at';
|
|
9500
|
-
group_by: 'name' | 'company_id' | 'merged_into_id' | 'created_by';
|
|
8978
|
+
group_by: 'name' | 'company_id' | 'owner_id' | 'merged_into_id' | 'created_by';
|
|
9501
8979
|
};
|
|
9502
8980
|
kinds: {
|
|
9503
8981
|
'name': 'text';
|
|
9504
8982
|
'created_at': 'timestamp';
|
|
9505
8983
|
'updated_at': 'timestamp';
|
|
9506
8984
|
'company_id': 'uuid';
|
|
8985
|
+
'owner_id': 'uuid';
|
|
9507
8986
|
'merged_into_id': 'uuid';
|
|
9508
8987
|
'created_by': 'uuid';
|
|
9509
8988
|
};
|
|
@@ -9541,6 +9020,7 @@ export type BuiltInOperations = {
|
|
|
9541
9020
|
method: 'list';
|
|
9542
9021
|
args: WithFilters<ArgsOf<ApiDocument.operations['contacts.list']>, {
|
|
9543
9022
|
'company_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9023
|
+
'owner_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9544
9024
|
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9545
9025
|
'name': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9546
9026
|
'merged_into_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
@@ -9586,6 +9066,7 @@ export type BuiltInOperations = {
|
|
|
9586
9066
|
'owner_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9587
9067
|
'created_by': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9588
9068
|
'currency': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9069
|
+
'company_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9589
9070
|
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9590
9071
|
'name': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'like' | 'ilike'];
|
|
9591
9072
|
'amount_minor': ['integer', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is'];
|
|
@@ -9601,7 +9082,7 @@ export type BuiltInOperations = {
|
|
|
9601
9082
|
avg: 'amount_minor';
|
|
9602
9083
|
min: 'name' | 'amount_minor' | 'currency' | 'expected_close_date' | 'closed_at' | 'created_at' | 'updated_at';
|
|
9603
9084
|
max: 'name' | 'amount_minor' | 'currency' | 'expected_close_date' | 'closed_at' | 'created_at' | 'updated_at';
|
|
9604
|
-
group_by: 'name' | 'pipeline_id' | 'stage_id' | 'amount_minor' | 'currency' | 'expected_close_date' | 'owner_id' | 'created_by';
|
|
9085
|
+
group_by: 'name' | 'pipeline_id' | 'stage_id' | 'amount_minor' | 'currency' | 'expected_close_date' | 'owner_id' | 'company_id' | 'created_by';
|
|
9605
9086
|
};
|
|
9606
9087
|
kinds: {
|
|
9607
9088
|
'amount_minor': 'integer';
|
|
@@ -9614,6 +9095,7 @@ export type BuiltInOperations = {
|
|
|
9614
9095
|
'pipeline_id': 'uuid';
|
|
9615
9096
|
'stage_id': 'uuid';
|
|
9616
9097
|
'owner_id': 'uuid';
|
|
9098
|
+
'company_id': 'uuid';
|
|
9617
9099
|
'created_by': 'uuid';
|
|
9618
9100
|
};
|
|
9619
9101
|
money: {
|
|
@@ -9656,6 +9138,7 @@ export type BuiltInOperations = {
|
|
|
9656
9138
|
'owner_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9657
9139
|
'created_by': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9658
9140
|
'currency': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is' | 'like' | 'ilike'];
|
|
9141
|
+
'company_id': ['uuid', 'eq' | 'neq' | 'in' | 'is'];
|
|
9659
9142
|
'id': ['uuid', 'eq' | 'neq' | 'in'];
|
|
9660
9143
|
'name': ['text', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'like' | 'ilike'];
|
|
9661
9144
|
'amount_minor': ['integer', 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'is'];
|