@dereekb/zoho 12.1.3 → 12.1.5

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/index.cjs.js CHANGED
@@ -2369,6 +2369,9 @@ function searchRecords(context) {
2369
2369
  const criteriaString = zohoRecruitSearchRecordsCriteriaString(input.criteria);
2370
2370
  baseInput.criteria = criteriaString;
2371
2371
  }
2372
+ if (!baseInput.word && !input.criteria && !input.email && !input.phone) {
2373
+ throw new Error('At least one of word, criteria, email, or phone must be provided');
2374
+ }
2372
2375
  const urlParams = zohoRecruitUrlSearchParamsMinusModule(baseInput);
2373
2376
  return urlParams;
2374
2377
  }
package/index.esm.js CHANGED
@@ -2367,6 +2367,9 @@ function searchRecords(context) {
2367
2367
  const criteriaString = zohoRecruitSearchRecordsCriteriaString(input.criteria);
2368
2368
  baseInput.criteria = criteriaString;
2369
2369
  }
2370
+ if (!baseInput.word && !input.criteria && !input.email && !input.phone) {
2371
+ throw new Error('At least one of word, criteria, email, or phone must be provided');
2372
+ }
2370
2373
  const urlParams = zohoRecruitUrlSearchParamsMinusModule(baseInput);
2371
2374
  return urlParams;
2372
2375
  }
@@ -2,6 +2,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [12.1.5](https://github.com/dereekb/dbx-components/compare/v12.1.4-dev...v12.1.5) (2025-05-30)
6
+
7
+
8
+
9
+ ## [12.1.4](https://github.com/dereekb/dbx-components/compare/v12.1.3-dev...v12.1.4) (2025-05-22)
10
+
11
+
12
+
5
13
  ## [12.1.3](https://github.com/dereekb/dbx-components/compare/v12.1.2-dev...v12.1.3) (2025-05-20)
6
14
 
7
15
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoho/nestjs",
3
- "version": "12.1.3",
3
+ "version": "12.1.5",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "main": "./src/index.js"
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/zoho",
3
- "version": "12.1.3",
3
+ "version": "12.1.5",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./src/index.d.ts",
7
7
  "node": {
8
- "require": "./index.cjs.js",
9
- "import": "./index.mjs"
8
+ "require": "./index.cjs.js"
10
9
  },
11
10
  "browser": {
12
11
  "require": "./index.cjs.js",
@@ -118,6 +118,9 @@ export declare function getRecords(context: ZohoRecruitContext): ZohoRecruitGetR
118
118
  */
119
119
  export interface ZohoRecruitSearchRecordsInput<T = ZohoRecruitRecord> extends ZohoRecruitModuleNameRef, ZohoRecruitGetRecordsPageFilter {
120
120
  readonly criteria?: Maybe<ZohoRecruitSearchRecordsCriteriaTreeElement<T>>;
121
+ /**
122
+ * @deprecated may be deprecated. Waiting on Zoho Recruit to get back to me.
123
+ */
121
124
  readonly email?: Maybe<EmailAddress>;
122
125
  readonly phone?: Maybe<PhoneNumber>;
123
126
  readonly word?: Maybe<string>;