@htlkg/data 0.0.23 → 0.0.24
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/hooks/index.d.ts
CHANGED
|
@@ -1056,8 +1056,6 @@ type ContactWithRelations = Contact & {
|
|
|
1056
1056
|
interface UsePaginatedContactsOptions extends PaginatedHookOptions {
|
|
1057
1057
|
/** Filter by brand ID */
|
|
1058
1058
|
brandId?: string;
|
|
1059
|
-
/** Filter by account ID */
|
|
1060
|
-
accountId?: string;
|
|
1061
1059
|
/** Search query (searches email, firstName, lastName) */
|
|
1062
1060
|
search?: string;
|
|
1063
1061
|
/** Filter by GDPR consent */
|
package/dist/hooks/index.js
CHANGED
|
@@ -1178,9 +1178,6 @@ function buildFilter10(options) {
|
|
|
1178
1178
|
if (options.brandId) {
|
|
1179
1179
|
conditions.push({ brandId: { eq: options.brandId } });
|
|
1180
1180
|
}
|
|
1181
|
-
if (options.accountId) {
|
|
1182
|
-
conditions.push({ accountId: { eq: options.accountId } });
|
|
1183
|
-
}
|
|
1184
1181
|
if (options.search) {
|
|
1185
1182
|
conditions.push({
|
|
1186
1183
|
or: [
|
|
@@ -1228,7 +1225,6 @@ var CONTACT_SELECTION_SET = [
|
|
|
1228
1225
|
"lastName",
|
|
1229
1226
|
"locale",
|
|
1230
1227
|
"brandId",
|
|
1231
|
-
"accountId",
|
|
1232
1228
|
"gdprConsent",
|
|
1233
1229
|
"gdprConsentDate",
|
|
1234
1230
|
"marketingOptIn",
|