featurebase-node 0.9.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 +16 -0
- package/package.json +1 -1
- package/resources/support/conversations/conversations.d.mts +106 -95
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +106 -95
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +21 -15
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +21 -15
- 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 +121 -112
- 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.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/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,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B;OACM,EAAE,KAAK,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/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,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B;OACM,EAAE,KAAK,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAY2B;AAXzB,kGAAA,SAAS,OAAA;AAYX,6CAkB0B;AAjBxB,iGAAA,QAAQ,OAAA;AAkBV,oCAAgC;AAAvB,8FAAA,KAAK,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAWV;OACM,EACL,QAAQ,GAiBT;OACM,EAAE,KAAK,EAAE"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as CompaniesAPI from "./companies/companies.mjs";
|
|
3
|
-
import { Companies, CompaniesCursorPage, Company, CompanyCreateOrUpdateParams, CompanyDeleteByCompanyIDParams, CompanyDeleteParams, CompanyListParams, CompanyRetrieveParams, DeletedCompany } from "./companies/companies.mjs";
|
|
3
|
+
import { Companies, CompaniesCursorPage, Company, CompanyCreateOrUpdateParams, CompanyDeleteByCompanyIDParams, CompanyDeleteParams, CompanyListParams, CompanyRetrieveParams, CompanySearchParams, CompanySearchResponse, DeletedCompany } from "./companies/companies.mjs";
|
|
4
4
|
import * as ContactsAPI from "./contacts/contacts.mjs";
|
|
5
|
-
import { Contact, ContactBlockParams, ContactBlockResponse, ContactCreateOrUpdateParams, ContactCreateOrUpdateResponse, ContactDeleteParams, ContactList, ContactListDataCursorPage, ContactListParams, ContactRetrieveParams, ContactRetrieveResponse, ContactUnblockParams, ContactUnblockResponse, Contacts, DeletedContact } from "./contacts/contacts.mjs";
|
|
5
|
+
import { Contact, ContactBlockParams, ContactBlockResponse, ContactCreateOrUpdateParams, ContactCreateOrUpdateResponse, ContactDeleteParams, ContactList, ContactListDataCursorPage, ContactListParams, ContactRetrieveParams, ContactRetrieveResponse, ContactSearchParams, ContactSearchResponse, ContactUnblockParams, ContactUnblockResponse, Contacts, DeletedContact } from "./contacts/contacts.mjs";
|
|
6
6
|
export declare class Users extends APIResource {
|
|
7
7
|
contacts: ContactsAPI.Contacts;
|
|
8
8
|
companies: CompaniesAPI.Companies;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Users {
|
|
11
|
-
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type ContactRetrieveParams as ContactRetrieveParams, type ContactListParams as ContactListParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactUnblockParams as ContactUnblockParams, };
|
|
12
|
-
export { Companies as Companies, 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, };
|
|
11
|
+
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactSearchResponse as ContactSearchResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type ContactRetrieveParams as ContactRetrieveParams, type ContactListParams as ContactListParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactSearchParams as ContactSearchParams, type ContactUnblockParams as ContactUnblockParams, };
|
|
12
|
+
export { Companies as Companies, 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, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACf;OACM,KAAK,WAAW;OAChB,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACf;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,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,
|
|
1
|
+
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACf;OACM,KAAK,WAAW;OAChB,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACf;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,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;CACH"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as CompaniesAPI from "./companies/companies.js";
|
|
3
|
-
import { Companies, CompaniesCursorPage, Company, CompanyCreateOrUpdateParams, CompanyDeleteByCompanyIDParams, CompanyDeleteParams, CompanyListParams, CompanyRetrieveParams, DeletedCompany } from "./companies/companies.js";
|
|
3
|
+
import { Companies, CompaniesCursorPage, Company, CompanyCreateOrUpdateParams, CompanyDeleteByCompanyIDParams, CompanyDeleteParams, CompanyListParams, CompanyRetrieveParams, CompanySearchParams, CompanySearchResponse, DeletedCompany } from "./companies/companies.js";
|
|
4
4
|
import * as ContactsAPI from "./contacts/contacts.js";
|
|
5
|
-
import { Contact, ContactBlockParams, ContactBlockResponse, ContactCreateOrUpdateParams, ContactCreateOrUpdateResponse, ContactDeleteParams, ContactList, ContactListDataCursorPage, ContactListParams, ContactRetrieveParams, ContactRetrieveResponse, ContactUnblockParams, ContactUnblockResponse, Contacts, DeletedContact } from "./contacts/contacts.js";
|
|
5
|
+
import { Contact, ContactBlockParams, ContactBlockResponse, ContactCreateOrUpdateParams, ContactCreateOrUpdateResponse, ContactDeleteParams, ContactList, ContactListDataCursorPage, ContactListParams, ContactRetrieveParams, ContactRetrieveResponse, ContactSearchParams, ContactSearchResponse, ContactUnblockParams, ContactUnblockResponse, Contacts, DeletedContact } from "./contacts/contacts.js";
|
|
6
6
|
export declare class Users extends APIResource {
|
|
7
7
|
contacts: ContactsAPI.Contacts;
|
|
8
8
|
companies: CompaniesAPI.Companies;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Users {
|
|
11
|
-
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type ContactRetrieveParams as ContactRetrieveParams, type ContactListParams as ContactListParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactUnblockParams as ContactUnblockParams, };
|
|
12
|
-
export { Companies as Companies, 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, };
|
|
11
|
+
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactSearchResponse as ContactSearchResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type ContactRetrieveParams as ContactRetrieveParams, type ContactListParams as ContactListParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactSearchParams as ContactSearchParams, type ContactUnblockParams as ContactUnblockParams, };
|
|
12
|
+
export { Companies as Companies, 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, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACf;OACM,KAAK,WAAW;OAChB,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACf;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,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,
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACf;OACM,KAAK,WAAW;OAChB,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACf;AAED,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,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;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+EAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+EAAsD;AACtD,wDAY+B;AAC/B,4EAAmD;AACnD,qDAkB6B;AAE7B,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAHD,sBAGC;AAED,KAAK,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC1B,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,GAWV;OACM,KAAK,WAAW;OAChB,EAgBL,QAAQ,GAET;AAED,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAED,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -946,7 +946,9 @@ export class Conversations extends APIResource {
|
|
|
946
946
|
* `sort` to `last_activity_at:asc` for the inverse.
|
|
947
947
|
* - **Search mode** (`search` set, `query` optional): full-text search across
|
|
948
948
|
* conversation messages, then narrowed by the same `query` AST so the same
|
|
949
|
-
* filters apply. Results are ranked by relevance
|
|
949
|
+
* filters apply. Results are ranked by relevance by default; set `sort` to order
|
|
950
|
+
* by `lastActivityAt` instead (the same query string still gates which
|
|
951
|
+
* conversations appear, only their ordering changes).
|
|
950
952
|
*
|
|
951
953
|
* ### Structured query AST
|
|
952
954
|
*
|
|
@@ -973,17 +975,18 @@ export class Conversations extends APIResource {
|
|
|
973
975
|
*
|
|
974
976
|
* ### Supported fields and operators
|
|
975
977
|
*
|
|
976
|
-
* | Field | Type
|
|
977
|
-
* | ---------------------------- |
|
|
978
|
-
* | `state` | enum (`open` / `closed` / `snoozed`)
|
|
979
|
-
* | `priority` | boolean
|
|
980
|
-
* | `admin_assignee_id` | id or null (unassigned)
|
|
981
|
-
* | `team_assignee_id` | id or null (unassigned)
|
|
982
|
-
* | `brand_id` | id or null
|
|
983
|
-
* | `tag_ids` | id (matches any conversation containing this tag)
|
|
984
|
-
* | `user_id` / `participant_id` | id of a conversation participant
|
|
985
|
-
* | `
|
|
986
|
-
* | `
|
|
978
|
+
* | Field | Type | Operators |
|
|
979
|
+
* | ---------------------------- | --------------------------------------------------------------------------- | ---------------------- |
|
|
980
|
+
* | `state` | enum (`open` / `closed` / `snoozed`) | `=`, `!=`, `IN`, `NIN` |
|
|
981
|
+
* | `priority` | boolean | `=`, `!=` |
|
|
982
|
+
* | `admin_assignee_id` | id or null (unassigned) | `=`, `!=`, `IN`, `NIN` |
|
|
983
|
+
* | `team_assignee_id` | id or null (unassigned) | `=`, `!=`, `IN`, `NIN` |
|
|
984
|
+
* | `brand_id` | id or null | `=`, `!=`, `IN`, `NIN` |
|
|
985
|
+
* | `tag_ids` | id (matches any conversation containing this tag) | `=`, `!=`, `IN`, `NIN` |
|
|
986
|
+
* | `user_id` / `participant_id` | id of a conversation participant | `=`, `!=`, `IN`, `NIN` |
|
|
987
|
+
* | `company_id` | company id (matches conversations whose participants belong to the company) | `=`, `!=`, `IN`, `NIN` |
|
|
988
|
+
* | `mentioned_admin_ids` | admin id | `=`, `!=`, `IN`, `NIN` |
|
|
989
|
+
* | `created_at` | unix seconds | `=`, `>`, `<` |
|
|
987
990
|
*
|
|
988
991
|
* For unbounded fields a query consisting only of `!=` or `NIN` clauses is
|
|
989
992
|
* rejected with `query_too_broad` to prevent full-org scans. Combine the negation
|
|
@@ -1008,9 +1011,12 @@ export class Conversations extends APIResource {
|
|
|
1008
1011
|
*
|
|
1009
1012
|
* - `conversationUser` - the customer / lead the conversation is with. Use this
|
|
1010
1013
|
* for the row identity.
|
|
1011
|
-
* - `
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
+
* - `surroundingConversationParts` - context window of human messages around the
|
|
1015
|
+
* matched message (≈15 before + 15 from the match onwards in search mode,
|
|
1016
|
+
* sliding to first / last 30 if the match is near the conversation boundaries;
|
|
1017
|
+
* falls back to the latest 30 messages in filter mode). Each `previewMarkdown`
|
|
1018
|
+
* value is truncated server-side; fetch the full conversation for complete
|
|
1019
|
+
* history and full bodies.
|
|
1014
1020
|
* - `matchingPartAuthor` - author of the specific message that matched the search
|
|
1015
1021
|
* query (search mode only). May be a teammate or bot.
|
|
1016
1022
|
* - `matchingPart` - reference to the matched message (search mode only).
|
|
@@ -2944,13 +2950,6 @@ export namespace ConversationSearchResponse {
|
|
|
2944
2950
|
*/
|
|
2945
2951
|
conversationUser?: Data.ConversationUser | null;
|
|
2946
2952
|
|
|
2947
|
-
/**
|
|
2948
|
-
* Latest conversation messages for lightweight timeline previews. Capped and
|
|
2949
|
-
* truncated by the server; fetch the full conversation for complete message
|
|
2950
|
-
* history.
|
|
2951
|
-
*/
|
|
2952
|
-
latestConversationParts?: Array<Data.LatestConversationPart>;
|
|
2953
|
-
|
|
2954
2953
|
/**
|
|
2955
2954
|
* Plain-text / markdown preview of the matching conversation part body (search
|
|
2956
2955
|
* mode only)
|
|
@@ -2977,6 +2976,16 @@ export namespace ConversationSearchResponse {
|
|
|
2977
2976
|
|
|
2978
2977
|
source?: Data.Source;
|
|
2979
2978
|
|
|
2979
|
+
/**
|
|
2980
|
+
* Window of conversation messages around the matching part for lightweight context
|
|
2981
|
+
* previews. In search mode this is up to 15 messages before plus 15 from the
|
|
2982
|
+
* matching message onwards (sliding to first 30 / last 30 if the match is near the
|
|
2983
|
+
* conversation boundaries). In filter mode (no matching message) this falls back
|
|
2984
|
+
* to the latest 30 messages. Always capped and truncated by the server; fetch the
|
|
2985
|
+
* full conversation for complete message history.
|
|
2986
|
+
*/
|
|
2987
|
+
surroundingConversationParts?: Array<Data.SurroundingConversationPart>;
|
|
2988
|
+
|
|
2980
2989
|
/**
|
|
2981
2990
|
* Conversation title
|
|
2982
2991
|
*/
|
|
@@ -3028,85 +3037,6 @@ export namespace ConversationSearchResponse {
|
|
|
3028
3037
|
}
|
|
3029
3038
|
}
|
|
3030
3039
|
|
|
3031
|
-
export interface LatestConversationPart {
|
|
3032
|
-
/**
|
|
3033
|
-
* Conversation part id
|
|
3034
|
-
*/
|
|
3035
|
-
id: string;
|
|
3036
|
-
|
|
3037
|
-
/**
|
|
3038
|
-
* Plain-text truncated preview of the part body
|
|
3039
|
-
*/
|
|
3040
|
-
previewMarkdown: string | null;
|
|
3041
|
-
|
|
3042
|
-
/**
|
|
3043
|
-
* True when previewMarkdown was truncated by the server
|
|
3044
|
-
*/
|
|
3045
|
-
previewMarkdownTruncated: boolean;
|
|
3046
|
-
|
|
3047
|
-
/**
|
|
3048
|
-
* The customer or lead the conversation is with. Use this for the row identity;
|
|
3049
|
-
* use `matchingPartAuthor` if you specifically want the message author.
|
|
3050
|
-
*/
|
|
3051
|
-
author?: LatestConversationPart.Author | null;
|
|
3052
|
-
|
|
3053
|
-
/**
|
|
3054
|
-
* ISO timestamp when the part was created
|
|
3055
|
-
*/
|
|
3056
|
-
createdAt?: string | null;
|
|
3057
|
-
|
|
3058
|
-
/**
|
|
3059
|
-
* Conversation part type
|
|
3060
|
-
*/
|
|
3061
|
-
partType?: string;
|
|
3062
|
-
}
|
|
3063
|
-
|
|
3064
|
-
export namespace LatestConversationPart {
|
|
3065
|
-
/**
|
|
3066
|
-
* The customer or lead the conversation is with. Use this for the row identity;
|
|
3067
|
-
* use `matchingPartAuthor` if you specifically want the message author.
|
|
3068
|
-
*/
|
|
3069
|
-
export interface Author {
|
|
3070
|
-
/**
|
|
3071
|
-
* Author id
|
|
3072
|
-
*/
|
|
3073
|
-
id: string;
|
|
3074
|
-
|
|
3075
|
-
/**
|
|
3076
|
-
* Author type
|
|
3077
|
-
*/
|
|
3078
|
-
type: 'admin' | 'customer' | 'lead' | 'bot' | 'guest' | 'integration';
|
|
3079
|
-
|
|
3080
|
-
/**
|
|
3081
|
-
* Companies the author belongs to (customers only)
|
|
3082
|
-
*/
|
|
3083
|
-
companies?: Array<Author.Company>;
|
|
3084
|
-
|
|
3085
|
-
/**
|
|
3086
|
-
* Email when known
|
|
3087
|
-
*/
|
|
3088
|
-
email?: string | null;
|
|
3089
|
-
|
|
3090
|
-
/**
|
|
3091
|
-
* Display name when known
|
|
3092
|
-
*/
|
|
3093
|
-
name?: string | null;
|
|
3094
|
-
|
|
3095
|
-
/**
|
|
3096
|
-
* Profile picture URL when known
|
|
3097
|
-
*/
|
|
3098
|
-
profilePicture?: string | null;
|
|
3099
|
-
}
|
|
3100
|
-
|
|
3101
|
-
export namespace Author {
|
|
3102
|
-
export interface Company {
|
|
3103
|
-
id: string;
|
|
3104
|
-
|
|
3105
|
-
name?: string;
|
|
3106
|
-
}
|
|
3107
|
-
}
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
3040
|
/**
|
|
3111
3041
|
* Reference to the conversation part that best matched the search query (search
|
|
3112
3042
|
* mode only)
|
|
@@ -3205,6 +3135,85 @@ export namespace ConversationSearchResponse {
|
|
|
3205
3135
|
*/
|
|
3206
3136
|
url?: string;
|
|
3207
3137
|
}
|
|
3138
|
+
|
|
3139
|
+
export interface SurroundingConversationPart {
|
|
3140
|
+
/**
|
|
3141
|
+
* Conversation part id
|
|
3142
|
+
*/
|
|
3143
|
+
id: string;
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* Plain-text truncated preview of the part body
|
|
3147
|
+
*/
|
|
3148
|
+
previewMarkdown: string | null;
|
|
3149
|
+
|
|
3150
|
+
/**
|
|
3151
|
+
* True when previewMarkdown was truncated by the server
|
|
3152
|
+
*/
|
|
3153
|
+
previewMarkdownTruncated: boolean;
|
|
3154
|
+
|
|
3155
|
+
/**
|
|
3156
|
+
* The customer or lead the conversation is with. Use this for the row identity;
|
|
3157
|
+
* use `matchingPartAuthor` if you specifically want the message author.
|
|
3158
|
+
*/
|
|
3159
|
+
author?: SurroundingConversationPart.Author | null;
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* ISO timestamp when the part was created
|
|
3163
|
+
*/
|
|
3164
|
+
createdAt?: string | null;
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* Conversation part type
|
|
3168
|
+
*/
|
|
3169
|
+
partType?: string;
|
|
3170
|
+
}
|
|
3171
|
+
|
|
3172
|
+
export namespace SurroundingConversationPart {
|
|
3173
|
+
/**
|
|
3174
|
+
* The customer or lead the conversation is with. Use this for the row identity;
|
|
3175
|
+
* use `matchingPartAuthor` if you specifically want the message author.
|
|
3176
|
+
*/
|
|
3177
|
+
export interface Author {
|
|
3178
|
+
/**
|
|
3179
|
+
* Author id
|
|
3180
|
+
*/
|
|
3181
|
+
id: string;
|
|
3182
|
+
|
|
3183
|
+
/**
|
|
3184
|
+
* Author type
|
|
3185
|
+
*/
|
|
3186
|
+
type: 'admin' | 'customer' | 'lead' | 'bot' | 'guest' | 'integration';
|
|
3187
|
+
|
|
3188
|
+
/**
|
|
3189
|
+
* Companies the author belongs to (customers only)
|
|
3190
|
+
*/
|
|
3191
|
+
companies?: Array<Author.Company>;
|
|
3192
|
+
|
|
3193
|
+
/**
|
|
3194
|
+
* Email when known
|
|
3195
|
+
*/
|
|
3196
|
+
email?: string | null;
|
|
3197
|
+
|
|
3198
|
+
/**
|
|
3199
|
+
* Display name when known
|
|
3200
|
+
*/
|
|
3201
|
+
name?: string | null;
|
|
3202
|
+
|
|
3203
|
+
/**
|
|
3204
|
+
* Profile picture URL when known
|
|
3205
|
+
*/
|
|
3206
|
+
profilePicture?: string | null;
|
|
3207
|
+
}
|
|
3208
|
+
|
|
3209
|
+
export namespace Author {
|
|
3210
|
+
export interface Company {
|
|
3211
|
+
id: string;
|
|
3212
|
+
|
|
3213
|
+
name?: string;
|
|
3214
|
+
}
|
|
3215
|
+
}
|
|
3216
|
+
}
|
|
3208
3217
|
}
|
|
3209
3218
|
}
|
|
3210
3219
|
|
|
@@ -3589,9 +3598,7 @@ export interface ConversationSearchParams {
|
|
|
3589
3598
|
* top-level AND group. Use this for filtering by `state`, `tag_ids`,
|
|
3590
3599
|
* `admin_assignee_id`, etc.
|
|
3591
3600
|
*/
|
|
3592
|
-
query?:
|
|
3593
|
-
| ConversationSearchParams.ConversationSearchFilter
|
|
3594
|
-
| ConversationSearchParams.ConversationSearchFilterGroup;
|
|
3601
|
+
query?: ConversationSearchParams.SearchFilter | ConversationSearchParams.SearchFilterGroup;
|
|
3595
3602
|
|
|
3596
3603
|
/**
|
|
3597
3604
|
* Body param: Plain-text full-text search across conversation messages.
|
|
@@ -3600,8 +3607,10 @@ export interface ConversationSearchParams {
|
|
|
3600
3607
|
search?: string;
|
|
3601
3608
|
|
|
3602
3609
|
/**
|
|
3603
|
-
* Body param:
|
|
3604
|
-
*
|
|
3610
|
+
* Body param: Result ordering. When omitted, filter mode defaults to
|
|
3611
|
+
* last_activity_at:desc and search mode defaults to relevance ranking. When set,
|
|
3612
|
+
* both modes order by lastActivityAt in the requested direction (so you can ask a
|
|
3613
|
+
* search query to return its hits in chronological order).
|
|
3605
3614
|
*/
|
|
3606
3615
|
sort?: 'last_activity_at:desc' | 'last_activity_at:asc';
|
|
3607
3616
|
|
|
@@ -3613,7 +3622,7 @@ export interface ConversationSearchParams {
|
|
|
3613
3622
|
}
|
|
3614
3623
|
|
|
3615
3624
|
export namespace ConversationSearchParams {
|
|
3616
|
-
export interface
|
|
3625
|
+
export interface SearchFilter {
|
|
3617
3626
|
/**
|
|
3618
3627
|
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
3619
3628
|
*/
|
|
@@ -3622,7 +3631,7 @@ export namespace ConversationSearchParams {
|
|
|
3622
3631
|
/**
|
|
3623
3632
|
* Comparison operator
|
|
3624
3633
|
*/
|
|
3625
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '~' | '!~' | '^' | '$';
|
|
3634
|
+
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
3626
3635
|
|
|
3627
3636
|
/**
|
|
3628
3637
|
* Value to compare against (primitive or array of primitives)
|
|
@@ -3630,7 +3639,7 @@ export namespace ConversationSearchParams {
|
|
|
3630
3639
|
value: string | number | boolean | Array<string | number> | null;
|
|
3631
3640
|
}
|
|
3632
3641
|
|
|
3633
|
-
export interface
|
|
3642
|
+
export interface SearchFilterGroup {
|
|
3634
3643
|
/**
|
|
3635
3644
|
* Group operator: AND (all match) or OR (any match)
|
|
3636
3645
|
*/
|
|
@@ -3639,10 +3648,10 @@ export namespace ConversationSearchParams {
|
|
|
3639
3648
|
/**
|
|
3640
3649
|
* Array of filter clauses (1-15 entries)
|
|
3641
3650
|
*/
|
|
3642
|
-
value: Array<
|
|
3651
|
+
value: Array<SearchFilterGroup.Value>;
|
|
3643
3652
|
}
|
|
3644
3653
|
|
|
3645
|
-
export namespace
|
|
3654
|
+
export namespace SearchFilterGroup {
|
|
3646
3655
|
export interface Value {
|
|
3647
3656
|
/**
|
|
3648
3657
|
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
@@ -3652,7 +3661,7 @@ export namespace ConversationSearchParams {
|
|
|
3652
3661
|
/**
|
|
3653
3662
|
* Comparison operator
|
|
3654
3663
|
*/
|
|
3655
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '~' | '!~' | '^' | '$';
|
|
3664
|
+
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
3656
3665
|
|
|
3657
3666
|
/**
|
|
3658
3667
|
* Value to compare against (primitive or array of primitives)
|