featurebase-node 0.10.0 → 0.11.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 +8 -0
- package/package.json +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/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
|
@@ -438,6 +438,106 @@ export class Contacts extends APIResource {
|
|
|
438
438
|
});
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
+
/**
|
|
442
|
+
* Search contacts (customers and leads) with a structured filter AST, sorting, and
|
|
443
|
+
* cursor pagination.
|
|
444
|
+
*
|
|
445
|
+
* ### Structured query AST
|
|
446
|
+
*
|
|
447
|
+
* Each clause has the shape `{ field, operator, value }`. You can pass a single
|
|
448
|
+
* clause or wrap up to 15 in a top-level `AND` group:
|
|
449
|
+
*
|
|
450
|
+
* ```json
|
|
451
|
+
* {
|
|
452
|
+
* "query": {
|
|
453
|
+
* "operator": "AND",
|
|
454
|
+
* "value": [
|
|
455
|
+
* { "field": "type", "operator": "=", "value": "customer" },
|
|
456
|
+
* { "field": "last_activity", "operator": ">", "value": 1735689600 }
|
|
457
|
+
* ]
|
|
458
|
+
* },
|
|
459
|
+
* "sort": "last_activity:desc",
|
|
460
|
+
* "limit": 20
|
|
461
|
+
* }
|
|
462
|
+
* ```
|
|
463
|
+
*
|
|
464
|
+
* Top-level `OR` groups and nested groups are not supported in this version.
|
|
465
|
+
*
|
|
466
|
+
* ### Supported fields and operators
|
|
467
|
+
*
|
|
468
|
+
* | Field | Type | Operators |
|
|
469
|
+
* | ------------------ | -------------------------------- | --------------------------- |
|
|
470
|
+
* | `external_id` | string (caller-provided user id) | `=`, `!=`, `IN`, `NIN` |
|
|
471
|
+
* | `email` | string | `=`, `!=`, `IN`, `NIN` |
|
|
472
|
+
* | `name` | string | `=`, `!=`, `IN`, `NIN`, `~` |
|
|
473
|
+
* | `type` | enum (`customer`, `lead`) | `=`, `!=`, `IN`, `NIN` |
|
|
474
|
+
* | `company_ids` | id (Featurebase company `id`) | `=`, `!=`, `IN`, `NIN` |
|
|
475
|
+
* | `posts_created` | number | `=`, `!=`, `>`, `<` |
|
|
476
|
+
* | `comments_created` | number | `=`, `!=`, `>`, `<` |
|
|
477
|
+
* | `last_activity` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
478
|
+
* | `created_at` | unix seconds | `=`, `!=`, `>`, `<` |
|
|
479
|
+
*
|
|
480
|
+
* The `name ~ "..."` operator runs a word-aware substring search via the
|
|
481
|
+
* underlying text index. Other string operators (`!~`, `^`, `$`) are reserved for
|
|
482
|
+
* future use and currently return `400`.
|
|
483
|
+
*
|
|
484
|
+
* A query consisting only of `!=` or `NIN` clauses on unbounded fields is rejected
|
|
485
|
+
* with `query_too_broad` to prevent full-org scans. Combine the negation with at
|
|
486
|
+
* least one positive clause (`=`, `IN`, `>`, `<`) instead. The closed-enum field
|
|
487
|
+
* `type` is exempt from this guard.
|
|
488
|
+
*
|
|
489
|
+
* Contacts that have been merged into another contact (lead-to-customer rollup)
|
|
490
|
+
* are always excluded from results.
|
|
491
|
+
*
|
|
492
|
+
* ### Sort
|
|
493
|
+
*
|
|
494
|
+
* Allowed values:
|
|
495
|
+
*
|
|
496
|
+
* - `last_activity:desc` (default), `last_activity:asc`
|
|
497
|
+
* - `created_at:desc`, `created_at:asc`
|
|
498
|
+
* - `posts_created:desc`, `posts_created:asc`
|
|
499
|
+
* - `comments_created:desc`, `comments_created:asc`
|
|
500
|
+
*
|
|
501
|
+
* The chosen sort axis is encoded in the cursor; switching `sort` mid-pagination
|
|
502
|
+
* returns `400 invalid_cursor`. Restart pagination without a cursor when changing
|
|
503
|
+
* sort.
|
|
504
|
+
*
|
|
505
|
+
* ### Pagination
|
|
506
|
+
*
|
|
507
|
+
* Cursor-based, `limit` between 1 and 100 (default 10). `totalCount` is
|
|
508
|
+
* approximate and capped at 5000; `totalCountCapped` is `true` when the real count
|
|
509
|
+
* may be higher.
|
|
510
|
+
*
|
|
511
|
+
* ### Response
|
|
512
|
+
*
|
|
513
|
+
* Returns a standard list envelope with contact rows identical to
|
|
514
|
+
* `GET /v2/contacts/{id}`.
|
|
515
|
+
*
|
|
516
|
+
* ### Version Availability
|
|
517
|
+
*
|
|
518
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
519
|
+
*
|
|
520
|
+
* @example
|
|
521
|
+
* ```ts
|
|
522
|
+
* const response = await client.users.contacts.search();
|
|
523
|
+
* ```
|
|
524
|
+
*/
|
|
525
|
+
search(params: ContactSearchParams, options?: RequestOptions): APIPromise<ContactSearchResponse> {
|
|
526
|
+
const { 'Featurebase-Version': featurebaseVersion, ...body } = params;
|
|
527
|
+
return this._client.post('/v2/contacts/search', {
|
|
528
|
+
body,
|
|
529
|
+
...options,
|
|
530
|
+
headers: buildHeaders([
|
|
531
|
+
{
|
|
532
|
+
...(featurebaseVersion?.toString() != null ?
|
|
533
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
534
|
+
: undefined),
|
|
535
|
+
},
|
|
536
|
+
options?.headers,
|
|
537
|
+
]),
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
|
|
441
541
|
/**
|
|
442
542
|
* Unblocks a contact by their Featurebase ID from the messenger/inbox.
|
|
443
543
|
*
|
|
@@ -679,6 +779,134 @@ export interface ContactBlockResponse {
|
|
|
679
779
|
*/
|
|
680
780
|
export type ContactCreateOrUpdateResponse = Contact | (null & {});
|
|
681
781
|
|
|
782
|
+
export interface ContactSearchResponse {
|
|
783
|
+
/**
|
|
784
|
+
* Array of search results
|
|
785
|
+
*/
|
|
786
|
+
data: Array<ContactSearchResponse.Data>;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Cursor for fetching the next page (null if no more results)
|
|
790
|
+
*/
|
|
791
|
+
nextCursor: string | null;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Object type identifier
|
|
795
|
+
*/
|
|
796
|
+
object: 'list';
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Total number of contacts matching the query, capped at 5000. When the actual
|
|
800
|
+
* total is at or above the cap, `totalCountCapped` is true and the value is
|
|
801
|
+
* exactly the cap.
|
|
802
|
+
*/
|
|
803
|
+
totalCount?: number;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* True when `totalCount` is exactly the cap and the real count may be higher.
|
|
807
|
+
*/
|
|
808
|
+
totalCountCapped?: boolean;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export namespace ContactSearchResponse {
|
|
812
|
+
export interface Data {
|
|
813
|
+
/**
|
|
814
|
+
* Unique identifier
|
|
815
|
+
*/
|
|
816
|
+
id: string;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Contact display name
|
|
820
|
+
*/
|
|
821
|
+
name: string;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Object type identifier
|
|
825
|
+
*/
|
|
826
|
+
object: 'contact';
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Type of contact
|
|
830
|
+
*/
|
|
831
|
+
type: 'customer' | 'lead';
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Number of comments created
|
|
835
|
+
*/
|
|
836
|
+
commentsCreated?: number;
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Companies the contact belongs to
|
|
840
|
+
*/
|
|
841
|
+
companies?: Array<CompaniesAPI.Company>;
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Custom field values on the contact
|
|
845
|
+
*/
|
|
846
|
+
customFields?: { [key: string]: unknown };
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Contact description/bio
|
|
850
|
+
*/
|
|
851
|
+
description?: string;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Contact email
|
|
855
|
+
*/
|
|
856
|
+
email?: string | null;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Last activity ISO timestamp
|
|
860
|
+
*/
|
|
861
|
+
lastActivity?: string;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Contact locale
|
|
865
|
+
*/
|
|
866
|
+
locale?: string;
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Whether manually opted out from changelog
|
|
870
|
+
*/
|
|
871
|
+
manuallyOptedOutFromChangelog?: boolean;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Organization ID the contact belongs to
|
|
875
|
+
*/
|
|
876
|
+
organizationId?: string;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Number of posts created
|
|
880
|
+
*/
|
|
881
|
+
postsCreated?: number;
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Profile picture URL
|
|
885
|
+
*/
|
|
886
|
+
profilePicture?: string | null;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Contact roles
|
|
890
|
+
*/
|
|
891
|
+
roles?: Array<string>;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Whether subscribed to changelog
|
|
895
|
+
*/
|
|
896
|
+
subscribedToChangelog?: boolean;
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* External user ID from SSO
|
|
900
|
+
*/
|
|
901
|
+
userId?: string;
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Whether email is verified
|
|
905
|
+
*/
|
|
906
|
+
verified?: boolean;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
|
|
682
910
|
export interface ContactUnblockResponse {
|
|
683
911
|
/**
|
|
684
912
|
* Unique identifier of the unblocked contact
|
|
@@ -885,6 +1113,96 @@ export namespace ContactCreateOrUpdateParams {
|
|
|
885
1113
|
}
|
|
886
1114
|
}
|
|
887
1115
|
|
|
1116
|
+
export interface ContactSearchParams {
|
|
1117
|
+
/**
|
|
1118
|
+
* Body param: An opaque cursor for pagination. Use the `nextCursor` value from a
|
|
1119
|
+
* previous response to fetch the next page of results.
|
|
1120
|
+
*/
|
|
1121
|
+
cursor?: string;
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* Body param: A limit on the number of objects to be returned, between 1 and 100.
|
|
1125
|
+
*/
|
|
1126
|
+
limit?: number;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Body param: Structured filter AST. Either a single filter clause or one
|
|
1130
|
+
* top-level AND group (max 15 clauses). Top-level OR groups are not yet supported.
|
|
1131
|
+
*/
|
|
1132
|
+
query?: ContactSearchParams.SearchFilter | ContactSearchParams.SearchFilterGroup;
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Body param: Sort field + direction. Defaults to `last_activity:desc` (matches
|
|
1136
|
+
* the dashboard's default contact ordering). The chosen sort axis is encoded in
|
|
1137
|
+
* the cursor; switching `sort` mid-pagination returns `400 invalid_cursor`.
|
|
1138
|
+
*/
|
|
1139
|
+
sort?:
|
|
1140
|
+
| 'created_at:desc'
|
|
1141
|
+
| 'created_at:asc'
|
|
1142
|
+
| 'last_activity:desc'
|
|
1143
|
+
| 'last_activity:asc'
|
|
1144
|
+
| 'posts_created:desc'
|
|
1145
|
+
| 'posts_created:asc'
|
|
1146
|
+
| 'comments_created:desc'
|
|
1147
|
+
| 'comments_created:asc';
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
1151
|
+
* configured API version if not specified.
|
|
1152
|
+
*/
|
|
1153
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
export namespace ContactSearchParams {
|
|
1157
|
+
export interface SearchFilter {
|
|
1158
|
+
/**
|
|
1159
|
+
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
1160
|
+
*/
|
|
1161
|
+
field: string;
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Comparison operator
|
|
1165
|
+
*/
|
|
1166
|
+
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Value to compare against (primitive or array of primitives)
|
|
1170
|
+
*/
|
|
1171
|
+
value: string | number | boolean | Array<string | number> | null;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
export interface SearchFilterGroup {
|
|
1175
|
+
/**
|
|
1176
|
+
* Group operator: AND (all match) or OR (any match)
|
|
1177
|
+
*/
|
|
1178
|
+
operator: 'AND' | 'OR';
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Array of filter clauses (1-15 entries)
|
|
1182
|
+
*/
|
|
1183
|
+
value: Array<SearchFilterGroup.Value>;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
export namespace SearchFilterGroup {
|
|
1187
|
+
export interface Value {
|
|
1188
|
+
/**
|
|
1189
|
+
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
1190
|
+
*/
|
|
1191
|
+
field: string;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Comparison operator
|
|
1195
|
+
*/
|
|
1196
|
+
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* Value to compare against (primitive or array of primitives)
|
|
1200
|
+
*/
|
|
1201
|
+
value: string | number | boolean | Array<string | number> | null;
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
|
|
888
1206
|
export interface ContactUnblockParams {
|
|
889
1207
|
/**
|
|
890
1208
|
* API version for this request. Defaults to your organization's configured API
|
|
@@ -904,6 +1222,7 @@ export declare namespace Contacts {
|
|
|
904
1222
|
type ContactRetrieveResponse as ContactRetrieveResponse,
|
|
905
1223
|
type ContactBlockResponse as ContactBlockResponse,
|
|
906
1224
|
type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse,
|
|
1225
|
+
type ContactSearchResponse as ContactSearchResponse,
|
|
907
1226
|
type ContactUnblockResponse as ContactUnblockResponse,
|
|
908
1227
|
type ContactListDataCursorPage as ContactListDataCursorPage,
|
|
909
1228
|
type ContactRetrieveParams as ContactRetrieveParams,
|
|
@@ -911,6 +1230,7 @@ export declare namespace Contacts {
|
|
|
911
1230
|
type ContactDeleteParams as ContactDeleteParams,
|
|
912
1231
|
type ContactBlockParams as ContactBlockParams,
|
|
913
1232
|
type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams,
|
|
1233
|
+
type ContactSearchParams as ContactSearchParams,
|
|
914
1234
|
type ContactUnblockParams as ContactUnblockParams,
|
|
915
1235
|
};
|
|
916
1236
|
|
|
@@ -14,12 +14,14 @@ export {
|
|
|
14
14
|
type ContactRetrieveResponse,
|
|
15
15
|
type ContactBlockResponse,
|
|
16
16
|
type ContactCreateOrUpdateResponse,
|
|
17
|
+
type ContactSearchResponse,
|
|
17
18
|
type ContactUnblockResponse,
|
|
18
19
|
type ContactRetrieveParams,
|
|
19
20
|
type ContactListParams,
|
|
20
21
|
type ContactDeleteParams,
|
|
21
22
|
type ContactBlockParams,
|
|
22
23
|
type ContactCreateOrUpdateParams,
|
|
24
|
+
type ContactSearchParams,
|
|
23
25
|
type ContactUnblockParams,
|
|
24
26
|
type ContactListDataCursorPage,
|
|
25
27
|
} from './contacts';
|
|
@@ -4,11 +4,13 @@ export {
|
|
|
4
4
|
Companies,
|
|
5
5
|
type Company,
|
|
6
6
|
type DeletedCompany,
|
|
7
|
+
type CompanySearchResponse,
|
|
7
8
|
type CompanyRetrieveParams,
|
|
8
9
|
type CompanyListParams,
|
|
9
10
|
type CompanyDeleteParams,
|
|
10
11
|
type CompanyCreateOrUpdateParams,
|
|
11
12
|
type CompanyDeleteByCompanyIDParams,
|
|
13
|
+
type CompanySearchParams,
|
|
12
14
|
type CompaniesCursorPage,
|
|
13
15
|
} from './companies/index';
|
|
14
16
|
export {
|
|
@@ -19,12 +21,14 @@ export {
|
|
|
19
21
|
type ContactRetrieveResponse,
|
|
20
22
|
type ContactBlockResponse,
|
|
21
23
|
type ContactCreateOrUpdateResponse,
|
|
24
|
+
type ContactSearchResponse,
|
|
22
25
|
type ContactUnblockResponse,
|
|
23
26
|
type ContactRetrieveParams,
|
|
24
27
|
type ContactListParams,
|
|
25
28
|
type ContactDeleteParams,
|
|
26
29
|
type ContactBlockParams,
|
|
27
30
|
type ContactCreateOrUpdateParams,
|
|
31
|
+
type ContactSearchParams,
|
|
28
32
|
type ContactUnblockParams,
|
|
29
33
|
type ContactListDataCursorPage,
|
|
30
34
|
} from './contacts/index';
|
|
@@ -11,6 +11,8 @@ import {
|
|
|
11
11
|
CompanyDeleteParams,
|
|
12
12
|
CompanyListParams,
|
|
13
13
|
CompanyRetrieveParams,
|
|
14
|
+
CompanySearchParams,
|
|
15
|
+
CompanySearchResponse,
|
|
14
16
|
DeletedCompany,
|
|
15
17
|
} from './companies/companies';
|
|
16
18
|
import * as ContactsAPI from './contacts/contacts';
|
|
@@ -26,6 +28,8 @@ import {
|
|
|
26
28
|
ContactListParams,
|
|
27
29
|
ContactRetrieveParams,
|
|
28
30
|
ContactRetrieveResponse,
|
|
31
|
+
ContactSearchParams,
|
|
32
|
+
ContactSearchResponse,
|
|
29
33
|
ContactUnblockParams,
|
|
30
34
|
ContactUnblockResponse,
|
|
31
35
|
Contacts,
|
|
@@ -49,6 +53,7 @@ export declare namespace Users {
|
|
|
49
53
|
type ContactRetrieveResponse as ContactRetrieveResponse,
|
|
50
54
|
type ContactBlockResponse as ContactBlockResponse,
|
|
51
55
|
type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse,
|
|
56
|
+
type ContactSearchResponse as ContactSearchResponse,
|
|
52
57
|
type ContactUnblockResponse as ContactUnblockResponse,
|
|
53
58
|
type ContactListDataCursorPage as ContactListDataCursorPage,
|
|
54
59
|
type ContactRetrieveParams as ContactRetrieveParams,
|
|
@@ -56,6 +61,7 @@ export declare namespace Users {
|
|
|
56
61
|
type ContactDeleteParams as ContactDeleteParams,
|
|
57
62
|
type ContactBlockParams as ContactBlockParams,
|
|
58
63
|
type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams,
|
|
64
|
+
type ContactSearchParams as ContactSearchParams,
|
|
59
65
|
type ContactUnblockParams as ContactUnblockParams,
|
|
60
66
|
};
|
|
61
67
|
|
|
@@ -63,11 +69,13 @@ export declare namespace Users {
|
|
|
63
69
|
Companies as Companies,
|
|
64
70
|
type Company as Company,
|
|
65
71
|
type DeletedCompany as DeletedCompany,
|
|
72
|
+
type CompanySearchResponse as CompanySearchResponse,
|
|
66
73
|
type CompaniesCursorPage as CompaniesCursorPage,
|
|
67
74
|
type CompanyRetrieveParams as CompanyRetrieveParams,
|
|
68
75
|
type CompanyListParams as CompanyListParams,
|
|
69
76
|
type CompanyDeleteParams as CompanyDeleteParams,
|
|
70
77
|
type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams,
|
|
71
78
|
type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams,
|
|
79
|
+
type CompanySearchParams as CompanySearchParams,
|
|
72
80
|
};
|
|
73
81
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.11.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.11.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.11.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.11.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|