featurebase-node 0.10.0 → 0.12.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/CHANGELOG.md +21 -0
- package/package.json +1 -1
- package/resources/feedback/feedback.d.mts +2 -2
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +2 -2
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/feedback.js.map +1 -1
- package/resources/feedback/feedback.mjs.map +1 -1
- package/resources/feedback/index.d.mts +1 -1
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +1 -1
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/index.js.map +1 -1
- package/resources/feedback/index.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +1 -1
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +1 -1
- package/resources/feedback/posts/index.d.ts.map +1 -1
- package/resources/feedback/posts/index.js.map +1 -1
- package/resources/feedback/posts/index.mjs.map +1 -1
- package/resources/feedback/posts/posts.d.mts +520 -1
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +520 -1
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +155 -0
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +155 -0
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/help-center/articles.d.mts +407 -1
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +407 -1
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +130 -0
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +130 -0
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +2 -2
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +2 -2
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-center.js.map +1 -1
- package/resources/help-center/help-center.mjs.map +1 -1
- package/resources/help-center/index.d.mts +1 -1
- package/resources/help-center/index.d.mts.map +1 -1
- package/resources/help-center/index.d.ts +1 -1
- package/resources/help-center/index.d.ts.map +1 -1
- package/resources/help-center/index.js.map +1 -1
- package/resources/help-center/index.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +14 -10
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +14 -10
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +3 -1
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +3 -1
- package/resources/support/conversations/conversations.mjs.map +1 -1
- package/resources/users/companies/companies.d.mts +237 -1
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +237 -1
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +94 -0
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +94 -0
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/index.d.mts +1 -1
- package/resources/users/companies/index.d.mts.map +1 -1
- package/resources/users/companies/index.d.ts +1 -1
- package/resources/users/companies/index.d.ts.map +1 -1
- package/resources/users/companies/index.js.map +1 -1
- package/resources/users/companies/index.mjs.map +1 -1
- package/resources/users/contacts/contacts.d.mts +261 -1
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +261 -1
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +99 -0
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +99 -0
- package/resources/users/contacts/contacts.mjs.map +1 -1
- package/resources/users/contacts/index.d.mts +1 -1
- package/resources/users/contacts/index.d.mts.map +1 -1
- package/resources/users/contacts/index.d.ts +1 -1
- package/resources/users/contacts/index.d.ts.map +1 -1
- package/resources/users/contacts/index.js.map +1 -1
- package/resources/users/contacts/index.mjs.map +1 -1
- package/resources/users/index.d.mts +2 -2
- package/resources/users/index.d.mts.map +1 -1
- package/resources/users/index.d.ts +2 -2
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/users.d.mts +4 -4
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +4 -4
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs.map +1 -1
- package/src/resources/feedback/feedback.ts +4 -0
- package/src/resources/feedback/index.ts +2 -0
- package/src/resources/feedback/posts/index.ts +2 -0
- package/src/resources/feedback/posts/posts.ts +636 -0
- package/src/resources/help-center/articles.ts +686 -0
- package/src/resources/help-center/help-center.ts +4 -0
- package/src/resources/help-center/index.ts +2 -0
- package/src/resources/support/conversations/conversations.ts +14 -12
- package/src/resources/users/companies/companies.ts +289 -0
- package/src/resources/users/companies/index.ts +2 -0
- package/src/resources/users/contacts/contacts.ts +320 -0
- package/src/resources/users/contacts/index.ts +2 -0
- package/src/resources/users/index.ts +4 -0
- package/src/resources/users/users.ts +8 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -312,6 +312,86 @@ export declare class Companies extends APIResource {
|
|
|
312
312
|
* ```
|
|
313
313
|
*/
|
|
314
314
|
deleteByCompanyID(companyID: string, params?: CompanyDeleteByCompanyIDParams | null | undefined, options?: RequestOptions): APIPromise<DeletedCompany>;
|
|
315
|
+
/**
|
|
316
|
+
* Search companies with a structured filter AST, sorting, and cursor pagination.
|
|
317
|
+
*
|
|
318
|
+
* ### Structured query AST
|
|
319
|
+
*
|
|
320
|
+
* Each clause has the shape `{ field, operator, value }`. You can pass a single
|
|
321
|
+
* clause or wrap up to 15 in a top-level `AND` group:
|
|
322
|
+
*
|
|
323
|
+
* ```json
|
|
324
|
+
* {
|
|
325
|
+
* "query": {
|
|
326
|
+
* "operator": "AND",
|
|
327
|
+
* "value": [
|
|
328
|
+
* { "field": "plan", "operator": "IN", "value": ["enterprise", "pro"] },
|
|
329
|
+
* { "field": "monthly_spend", "operator": ">", "value": 1000 }
|
|
330
|
+
* ]
|
|
331
|
+
* },
|
|
332
|
+
* "sort": "monthly_spend:desc",
|
|
333
|
+
* "limit": 20
|
|
334
|
+
* }
|
|
335
|
+
* ```
|
|
336
|
+
*
|
|
337
|
+
* Top-level `OR` groups and nested groups are not supported in this version.
|
|
338
|
+
*
|
|
339
|
+
* ### Supported fields and operators
|
|
340
|
+
*
|
|
341
|
+
* | Field | Type | Operators |
|
|
342
|
+
* | --------------- | ----------------------------------- | --------------------------- |
|
|
343
|
+
* | `external_id` | string (caller-provided company id) | `=`, `!=`, `IN`, `NIN` |
|
|
344
|
+
* | `name` | string | `=`, `!=`, `IN`, `NIN`, `~` |
|
|
345
|
+
* | `monthly_spend` | number | `=`, `!=`, `>`, `<` |
|
|
346
|
+
* | `plan` | string | `=`, `!=`, `IN`, `NIN` |
|
|
347
|
+
* | `industry` | string | `=`, `!=`, `IN`, `NIN` |
|
|
348
|
+
* | `website` | string | `=`, `!=`, `IN`, `NIN` |
|
|
349
|
+
* | `company_size` | number | `=`, `!=`, `>`, `<` |
|
|
350
|
+
* | `linked_users` | number | `=`, `!=`, `>`, `<` |
|
|
351
|
+
* | `last_activity` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
352
|
+
* | `created_at` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
353
|
+
*
|
|
354
|
+
* The `name ~ "..."` operator runs a word-aware substring search via the
|
|
355
|
+
* underlying text index. Other string operators (`!~`, `^`, `$`) are reserved for
|
|
356
|
+
* future use and currently return `400`.
|
|
357
|
+
*
|
|
358
|
+
* A query consisting only of `!=` or `NIN` clauses is rejected with
|
|
359
|
+
* `query_too_broad` to prevent full-org scans. Combine the negation with at least
|
|
360
|
+
* one positive clause (`=`, `IN`, `>`, `<`) instead.
|
|
361
|
+
*
|
|
362
|
+
* ### Sort
|
|
363
|
+
*
|
|
364
|
+
* Allowed values:
|
|
365
|
+
*
|
|
366
|
+
* - `created_at:desc` (default), `created_at:asc`
|
|
367
|
+
* - `monthly_spend:desc`, `monthly_spend:asc`
|
|
368
|
+
* - `last_activity:desc`, `last_activity:asc`
|
|
369
|
+
*
|
|
370
|
+
* The chosen sort axis is encoded in the cursor; switching `sort` mid-pagination
|
|
371
|
+
* returns `400 invalid_cursor`. Restart pagination without a cursor when changing
|
|
372
|
+
* sort.
|
|
373
|
+
*
|
|
374
|
+
* ### Pagination
|
|
375
|
+
*
|
|
376
|
+
* Cursor-based, `limit` between 1 and 100 (default 10). `totalCount` is
|
|
377
|
+
* approximate and capped at 5000; `totalCountCapped` is `true` when the real count
|
|
378
|
+
* may be higher.
|
|
379
|
+
*
|
|
380
|
+
* ### Response
|
|
381
|
+
*
|
|
382
|
+
* Returns a standard list envelope with company rows identical to
|
|
383
|
+
* `GET /v2/companies/{id}`.
|
|
384
|
+
*
|
|
385
|
+
* ### Version Availability
|
|
386
|
+
*
|
|
387
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
388
|
+
*
|
|
389
|
+
* @example
|
|
390
|
+
* ```ts
|
|
391
|
+
* const response = await client.users.companies.search();
|
|
392
|
+
* ```
|
|
393
|
+
*/
|
|
394
|
+
search(params: CompanySearchParams, options?: RequestOptions): APIPromise<CompanySearchResponse>;
|
|
315
395
|
}
|
|
316
396
|
export type CompaniesCursorPage = CursorPage<Company>;
|
|
317
397
|
export interface Company {
|
|
@@ -388,6 +468,93 @@ export interface DeletedCompany {
|
|
|
388
468
|
*/
|
|
389
469
|
object: 'company';
|
|
390
470
|
}
|
|
471
|
+
export interface CompanySearchResponse {
|
|
472
|
+
/**
|
|
473
|
+
* Array of search results
|
|
474
|
+
*/
|
|
475
|
+
data: Array<CompanySearchResponse.Data>;
|
|
476
|
+
/**
|
|
477
|
+
* Cursor for fetching the next page (null if no more results)
|
|
478
|
+
*/
|
|
479
|
+
nextCursor: string | null;
|
|
480
|
+
/**
|
|
481
|
+
* Object type identifier
|
|
482
|
+
*/
|
|
483
|
+
object: 'list';
|
|
484
|
+
/**
|
|
485
|
+
* Total number of companies matching the query, capped at 5000. When the actual
|
|
486
|
+
* total is at or above the cap, `totalCountCapped` is true and the value is
|
|
487
|
+
* exactly the cap.
|
|
488
|
+
*/
|
|
489
|
+
totalCount?: number;
|
|
490
|
+
/**
|
|
491
|
+
* True when `totalCount` is exactly the cap and the real count may be higher. UI
|
|
492
|
+
* can render as e.g. "5000+".
|
|
493
|
+
*/
|
|
494
|
+
totalCountCapped?: boolean;
|
|
495
|
+
}
|
|
496
|
+
export declare namespace CompanySearchResponse {
|
|
497
|
+
interface Data {
|
|
498
|
+
/**
|
|
499
|
+
* Featurebase internal ID
|
|
500
|
+
*/
|
|
501
|
+
id: string;
|
|
502
|
+
/**
|
|
503
|
+
* External company ID from your system
|
|
504
|
+
*/
|
|
505
|
+
companyId: string;
|
|
506
|
+
/**
|
|
507
|
+
* Company employee headcount
|
|
508
|
+
*/
|
|
509
|
+
companySize: number | null;
|
|
510
|
+
/**
|
|
511
|
+
* ISO date when company was created
|
|
512
|
+
*/
|
|
513
|
+
createdAt: string | null;
|
|
514
|
+
/**
|
|
515
|
+
* Industry
|
|
516
|
+
*/
|
|
517
|
+
industry: string | null;
|
|
518
|
+
/**
|
|
519
|
+
* ISO date of last activity
|
|
520
|
+
*/
|
|
521
|
+
lastActivity: string | null;
|
|
522
|
+
/**
|
|
523
|
+
* Number of users linked to this company
|
|
524
|
+
*/
|
|
525
|
+
linkedUsers: number | null;
|
|
526
|
+
/**
|
|
527
|
+
* Monthly spend
|
|
528
|
+
*/
|
|
529
|
+
monthlySpend: number | null;
|
|
530
|
+
/**
|
|
531
|
+
* Company name
|
|
532
|
+
*/
|
|
533
|
+
name: string;
|
|
534
|
+
/**
|
|
535
|
+
* Object type identifier
|
|
536
|
+
*/
|
|
537
|
+
object: 'company';
|
|
538
|
+
/**
|
|
539
|
+
* Plan or tier name
|
|
540
|
+
*/
|
|
541
|
+
plan: string | null;
|
|
542
|
+
/**
|
|
543
|
+
* ISO date when company was last updated
|
|
544
|
+
*/
|
|
545
|
+
updatedAt: string | null;
|
|
546
|
+
/**
|
|
547
|
+
* Company website URL
|
|
548
|
+
*/
|
|
549
|
+
website: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Custom field values
|
|
552
|
+
*/
|
|
553
|
+
customFields?: {
|
|
554
|
+
[key: string]: unknown;
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
}
|
|
391
558
|
export interface CompanyRetrieveParams {
|
|
392
559
|
/**
|
|
393
560
|
* API version for this request. Defaults to your organization's configured API
|
|
@@ -472,8 +639,77 @@ export interface CompanyDeleteByCompanyIDParams {
|
|
|
472
639
|
*/
|
|
473
640
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
474
641
|
}
|
|
642
|
+
export interface CompanySearchParams {
|
|
643
|
+
/**
|
|
644
|
+
* Body param: An opaque cursor for pagination. Use the `nextCursor` value from a
|
|
645
|
+
* previous response to fetch the next page of results.
|
|
646
|
+
*/
|
|
647
|
+
cursor?: string;
|
|
648
|
+
/**
|
|
649
|
+
* Body param: A limit on the number of objects to be returned, between 1 and 100.
|
|
650
|
+
*/
|
|
651
|
+
limit?: number;
|
|
652
|
+
/**
|
|
653
|
+
* Body param: Structured filter AST. Either a single filter clause or one
|
|
654
|
+
* top-level AND group (max 15 clauses). Top-level OR groups are not yet supported.
|
|
655
|
+
*/
|
|
656
|
+
query?: CompanySearchParams.SearchFilter | CompanySearchParams.SearchFilterGroup;
|
|
657
|
+
/**
|
|
658
|
+
* Body param: Sort field + direction. Defaults to `created_at:desc`. The chosen
|
|
659
|
+
* sort axis is encoded in the cursor; switching `sort` mid-pagination returns
|
|
660
|
+
* `400 invalid_cursor`.
|
|
661
|
+
*/
|
|
662
|
+
sort?: 'created_at:desc' | 'created_at:asc' | 'monthly_spend:desc' | 'monthly_spend:asc' | 'last_activity:desc' | 'last_activity:asc';
|
|
663
|
+
/**
|
|
664
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
665
|
+
* configured API version if not specified.
|
|
666
|
+
*/
|
|
667
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
668
|
+
}
|
|
669
|
+
export declare namespace CompanySearchParams {
|
|
670
|
+
interface SearchFilter {
|
|
671
|
+
/**
|
|
672
|
+
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
673
|
+
*/
|
|
674
|
+
field: string;
|
|
675
|
+
/**
|
|
676
|
+
* Comparison operator
|
|
677
|
+
*/
|
|
678
|
+
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
679
|
+
/**
|
|
680
|
+
* Value to compare against (primitive or array of primitives)
|
|
681
|
+
*/
|
|
682
|
+
value: string | number | boolean | Array<string | number> | null;
|
|
683
|
+
}
|
|
684
|
+
interface SearchFilterGroup {
|
|
685
|
+
/**
|
|
686
|
+
* Group operator: AND (all match) or OR (any match)
|
|
687
|
+
*/
|
|
688
|
+
operator: 'AND' | 'OR';
|
|
689
|
+
/**
|
|
690
|
+
* Array of filter clauses (1-15 entries)
|
|
691
|
+
*/
|
|
692
|
+
value: Array<SearchFilterGroup.Value>;
|
|
693
|
+
}
|
|
694
|
+
namespace SearchFilterGroup {
|
|
695
|
+
interface Value {
|
|
696
|
+
/**
|
|
697
|
+
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
698
|
+
*/
|
|
699
|
+
field: string;
|
|
700
|
+
/**
|
|
701
|
+
* Comparison operator
|
|
702
|
+
*/
|
|
703
|
+
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
704
|
+
/**
|
|
705
|
+
* Value to compare against (primitive or array of primitives)
|
|
706
|
+
*/
|
|
707
|
+
value: string | number | boolean | Array<string | number> | null;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
475
711
|
export declare namespace Companies {
|
|
476
|
-
export { type Company as Company, type DeletedCompany as DeletedCompany, type CompaniesCursorPage as CompaniesCursorPage, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyListParams as CompanyListParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, };
|
|
712
|
+
export { type Company as Company, type DeletedCompany as DeletedCompany, type CompanySearchResponse as CompanySearchResponse, type CompaniesCursorPage as CompaniesCursorPage, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyListParams as CompanyListParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, type CompanySearchParams as CompanySearchParams, };
|
|
477
713
|
export { Contacts as Contacts, type ContactAttachResponse as ContactAttachResponse, type ContactRemoveResponse as ContactRemoveResponse, type ContactListParams as ContactListParams, type ContactAttachParams as ContactAttachParams, type ContactRemoveParams as ContactRemoveParams, };
|
|
478
714
|
}
|
|
479
715
|
//# sourceMappingURL=companies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companies.d.ts","sourceRoot":"","sources":["../../../src/resources/users/companies/companies.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EA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G,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;YAEvF;;eAEG;YACH,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC;SAClE;KACF;CACF;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -387,6 +387,100 @@ class Companies extends resource_1.APIResource {
|
|
|
387
387
|
]),
|
|
388
388
|
});
|
|
389
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* Search companies with a structured filter AST, sorting, and cursor pagination.
|
|
392
|
+
*
|
|
393
|
+
* ### Structured query AST
|
|
394
|
+
*
|
|
395
|
+
* Each clause has the shape `{ field, operator, value }`. You can pass a single
|
|
396
|
+
* clause or wrap up to 15 in a top-level `AND` group:
|
|
397
|
+
*
|
|
398
|
+
* ```json
|
|
399
|
+
* {
|
|
400
|
+
* "query": {
|
|
401
|
+
* "operator": "AND",
|
|
402
|
+
* "value": [
|
|
403
|
+
* { "field": "plan", "operator": "IN", "value": ["enterprise", "pro"] },
|
|
404
|
+
* { "field": "monthly_spend", "operator": ">", "value": 1000 }
|
|
405
|
+
* ]
|
|
406
|
+
* },
|
|
407
|
+
* "sort": "monthly_spend:desc",
|
|
408
|
+
* "limit": 20
|
|
409
|
+
* }
|
|
410
|
+
* ```
|
|
411
|
+
*
|
|
412
|
+
* Top-level `OR` groups and nested groups are not supported in this version.
|
|
413
|
+
*
|
|
414
|
+
* ### Supported fields and operators
|
|
415
|
+
*
|
|
416
|
+
* | Field | Type | Operators |
|
|
417
|
+
* | --------------- | ----------------------------------- | --------------------------- |
|
|
418
|
+
* | `external_id` | string (caller-provided company id) | `=`, `!=`, `IN`, `NIN` |
|
|
419
|
+
* | `name` | string | `=`, `!=`, `IN`, `NIN`, `~` |
|
|
420
|
+
* | `monthly_spend` | number | `=`, `!=`, `>`, `<` |
|
|
421
|
+
* | `plan` | string | `=`, `!=`, `IN`, `NIN` |
|
|
422
|
+
* | `industry` | string | `=`, `!=`, `IN`, `NIN` |
|
|
423
|
+
* | `website` | string | `=`, `!=`, `IN`, `NIN` |
|
|
424
|
+
* | `company_size` | number | `=`, `!=`, `>`, `<` |
|
|
425
|
+
* | `linked_users` | number | `=`, `!=`, `>`, `<` |
|
|
426
|
+
* | `last_activity` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
427
|
+
* | `created_at` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
428
|
+
*
|
|
429
|
+
* The `name ~ "..."` operator runs a word-aware substring search via the
|
|
430
|
+
* underlying text index. Other string operators (`!~`, `^`, `$`) are reserved for
|
|
431
|
+
* future use and currently return `400`.
|
|
432
|
+
*
|
|
433
|
+
* A query consisting only of `!=` or `NIN` clauses is rejected with
|
|
434
|
+
* `query_too_broad` to prevent full-org scans. Combine the negation with at least
|
|
435
|
+
* one positive clause (`=`, `IN`, `>`, `<`) instead.
|
|
436
|
+
*
|
|
437
|
+
* ### Sort
|
|
438
|
+
*
|
|
439
|
+
* Allowed values:
|
|
440
|
+
*
|
|
441
|
+
* - `created_at:desc` (default), `created_at:asc`
|
|
442
|
+
* - `monthly_spend:desc`, `monthly_spend:asc`
|
|
443
|
+
* - `last_activity:desc`, `last_activity:asc`
|
|
444
|
+
*
|
|
445
|
+
* The chosen sort axis is encoded in the cursor; switching `sort` mid-pagination
|
|
446
|
+
* returns `400 invalid_cursor`. Restart pagination without a cursor when changing
|
|
447
|
+
* sort.
|
|
448
|
+
*
|
|
449
|
+
* ### Pagination
|
|
450
|
+
*
|
|
451
|
+
* Cursor-based, `limit` between 1 and 100 (default 10). `totalCount` is
|
|
452
|
+
* approximate and capped at 5000; `totalCountCapped` is `true` when the real count
|
|
453
|
+
* may be higher.
|
|
454
|
+
*
|
|
455
|
+
* ### Response
|
|
456
|
+
*
|
|
457
|
+
* Returns a standard list envelope with company rows identical to
|
|
458
|
+
* `GET /v2/companies/{id}`.
|
|
459
|
+
*
|
|
460
|
+
* ### Version Availability
|
|
461
|
+
*
|
|
462
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
463
|
+
*
|
|
464
|
+
* @example
|
|
465
|
+
* ```ts
|
|
466
|
+
* const response = await client.users.companies.search();
|
|
467
|
+
* ```
|
|
468
|
+
*/
|
|
469
|
+
search(params, options) {
|
|
470
|
+
const { 'Featurebase-Version': featurebaseVersion, ...body } = params;
|
|
471
|
+
return this._client.post('/v2/companies/search', {
|
|
472
|
+
body,
|
|
473
|
+
...options,
|
|
474
|
+
headers: (0, headers_1.buildHeaders)([
|
|
475
|
+
{
|
|
476
|
+
...(featurebaseVersion?.toString() != null ?
|
|
477
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
478
|
+
: undefined),
|
|
479
|
+
},
|
|
480
|
+
options?.headers,
|
|
481
|
+
]),
|
|
482
|
+
});
|
|
483
|
+
}
|
|
390
484
|
}
|
|
391
485
|
exports.Companies = Companies;
|
|
392
486
|
Companies.Contacts = contacts_1.Contacts;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companies.js","sourceRoot":"","sources":["../../../src/resources/users/companies/companies.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,mEAA0C;AAC1C,4CAOoB;AAEpB,4DAA0F;AAC1F,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"companies.js","sourceRoot":"","sources":["../../../src/resources/users/companies/companies.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,mEAA0C;AAC1C,4CAOoB;AAEpB,4DAA0F;AAC1F,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAse1E,CAAC;IApeC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4DG;IACH,QAAQ,CACN,EAAU,EACV,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,EAAE,EAAE;YACjD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,C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IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8EG;IACH,MAAM,CAAC,MAA2B,EAAE,OAAwB;QAC1D,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE;YAC/C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAveD,8BAueC;AAkYD,SAAS,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -383,6 +383,100 @@ export class Companies extends APIResource {
|
|
|
383
383
|
]),
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
|
+
/**
|
|
387
|
+
* Search companies with a structured filter AST, sorting, and cursor pagination.
|
|
388
|
+
*
|
|
389
|
+
* ### Structured query AST
|
|
390
|
+
*
|
|
391
|
+
* Each clause has the shape `{ field, operator, value }`. You can pass a single
|
|
392
|
+
* clause or wrap up to 15 in a top-level `AND` group:
|
|
393
|
+
*
|
|
394
|
+
* ```json
|
|
395
|
+
* {
|
|
396
|
+
* "query": {
|
|
397
|
+
* "operator": "AND",
|
|
398
|
+
* "value": [
|
|
399
|
+
* { "field": "plan", "operator": "IN", "value": ["enterprise", "pro"] },
|
|
400
|
+
* { "field": "monthly_spend", "operator": ">", "value": 1000 }
|
|
401
|
+
* ]
|
|
402
|
+
* },
|
|
403
|
+
* "sort": "monthly_spend:desc",
|
|
404
|
+
* "limit": 20
|
|
405
|
+
* }
|
|
406
|
+
* ```
|
|
407
|
+
*
|
|
408
|
+
* Top-level `OR` groups and nested groups are not supported in this version.
|
|
409
|
+
*
|
|
410
|
+
* ### Supported fields and operators
|
|
411
|
+
*
|
|
412
|
+
* | Field | Type | Operators |
|
|
413
|
+
* | --------------- | ----------------------------------- | --------------------------- |
|
|
414
|
+
* | `external_id` | string (caller-provided company id) | `=`, `!=`, `IN`, `NIN` |
|
|
415
|
+
* | `name` | string | `=`, `!=`, `IN`, `NIN`, `~` |
|
|
416
|
+
* | `monthly_spend` | number | `=`, `!=`, `>`, `<` |
|
|
417
|
+
* | `plan` | string | `=`, `!=`, `IN`, `NIN` |
|
|
418
|
+
* | `industry` | string | `=`, `!=`, `IN`, `NIN` |
|
|
419
|
+
* | `website` | string | `=`, `!=`, `IN`, `NIN` |
|
|
420
|
+
* | `company_size` | number | `=`, `!=`, `>`, `<` |
|
|
421
|
+
* | `linked_users` | number | `=`, `!=`, `>`, `<` |
|
|
422
|
+
* | `last_activity` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
423
|
+
* | `created_at` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
424
|
+
*
|
|
425
|
+
* The `name ~ "..."` operator runs a word-aware substring search via the
|
|
426
|
+
* underlying text index. Other string operators (`!~`, `^`, `$`) are reserved for
|
|
427
|
+
* future use and currently return `400`.
|
|
428
|
+
*
|
|
429
|
+
* A query consisting only of `!=` or `NIN` clauses is rejected with
|
|
430
|
+
* `query_too_broad` to prevent full-org scans. Combine the negation with at least
|
|
431
|
+
* one positive clause (`=`, `IN`, `>`, `<`) instead.
|
|
432
|
+
*
|
|
433
|
+
* ### Sort
|
|
434
|
+
*
|
|
435
|
+
* Allowed values:
|
|
436
|
+
*
|
|
437
|
+
* - `created_at:desc` (default), `created_at:asc`
|
|
438
|
+
* - `monthly_spend:desc`, `monthly_spend:asc`
|
|
439
|
+
* - `last_activity:desc`, `last_activity:asc`
|
|
440
|
+
*
|
|
441
|
+
* The chosen sort axis is encoded in the cursor; switching `sort` mid-pagination
|
|
442
|
+
* returns `400 invalid_cursor`. Restart pagination without a cursor when changing
|
|
443
|
+
* sort.
|
|
444
|
+
*
|
|
445
|
+
* ### Pagination
|
|
446
|
+
*
|
|
447
|
+
* Cursor-based, `limit` between 1 and 100 (default 10). `totalCount` is
|
|
448
|
+
* approximate and capped at 5000; `totalCountCapped` is `true` when the real count
|
|
449
|
+
* may be higher.
|
|
450
|
+
*
|
|
451
|
+
* ### Response
|
|
452
|
+
*
|
|
453
|
+
* Returns a standard list envelope with company rows identical to
|
|
454
|
+
* `GET /v2/companies/{id}`.
|
|
455
|
+
*
|
|
456
|
+
* ### Version Availability
|
|
457
|
+
*
|
|
458
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
459
|
+
*
|
|
460
|
+
* @example
|
|
461
|
+
* ```ts
|
|
462
|
+
* const response = await client.users.companies.search();
|
|
463
|
+
* ```
|
|
464
|
+
*/
|
|
465
|
+
search(params, options) {
|
|
466
|
+
const { 'Featurebase-Version': featurebaseVersion, ...body } = params;
|
|
467
|
+
return this._client.post('/v2/companies/search', {
|
|
468
|
+
body,
|
|
469
|
+
...options,
|
|
470
|
+
headers: buildHeaders([
|
|
471
|
+
{
|
|
472
|
+
...(featurebaseVersion?.toString() != null ?
|
|
473
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
474
|
+
: undefined),
|
|
475
|
+
},
|
|
476
|
+
options?.headers,
|
|
477
|
+
]),
|
|
478
|
+
});
|
|
479
|
+
}
|
|
386
480
|
}
|
|
387
481
|
Companies.Contacts = Contacts;
|
|
388
482
|
//# sourceMappingURL=companies.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companies.mjs","sourceRoot":"","sources":["../../../src/resources/users/companies/companies.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAML,QAAQ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1D,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE;YAC/C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAkYD,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Companies, type Company, type DeletedCompany, type CompanyRetrieveParams, type CompanyListParams, type CompanyDeleteParams, type CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams, type CompaniesCursorPage, } from "./companies.mjs";
|
|
1
|
+
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type CompanyRetrieveParams, type CompanyListParams, type CompanyDeleteParams, type CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams, type CompanySearchParams, type CompaniesCursorPage, } from "./companies.mjs";
|
|
2
2
|
export { Contacts, type ContactAttachResponse, type ContactRemoveResponse, type ContactListParams, type ContactAttachParams, type ContactRemoveParams, } from "./contacts.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,GACzB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Companies, type Company, type DeletedCompany, type CompanyRetrieveParams, type CompanyListParams, type CompanyDeleteParams, type CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams, type CompaniesCursorPage, } from "./companies.js";
|
|
1
|
+
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type CompanyRetrieveParams, type CompanyListParams, type CompanyDeleteParams, type CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams, type CompanySearchParams, type CompaniesCursorPage, } from "./companies.js";
|
|
2
2
|
export { Contacts, type ContactAttachResponse, type ContactRemoveResponse, type ContactListParams, type ContactAttachParams, type ContactRemoveParams, } from "./contacts.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,GACzB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAYqB;AAXnB,sGAAA,SAAS,OAAA;AAYX,0CAOoB;AANlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/users/companies/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAWV;OACM,EACL,QAAQ,GAMT"}
|