@dereekb/zoho 13.11.13 → 13.11.15
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/cli/index.js +5 -5
- package/cli/package.json +7 -7
- package/index.cjs.js +569 -503
- package/index.esm.js +569 -503
- package/nestjs/index.cjs.js +248 -255
- package/nestjs/index.esm.js +248 -255
- package/nestjs/package.json +5 -5
- package/nestjs/src/lib/accounts/accounts.config.d.ts +1 -1
- package/nestjs/src/lib/accounts/accounts.service.d.ts +11 -11
- package/nestjs/src/lib/crm/crm.api.d.ts +31 -31
- package/nestjs/src/lib/crm/crm.config.d.ts +1 -1
- package/nestjs/src/lib/crm/crm.module.d.ts +12 -13
- package/nestjs/src/lib/desk/desk.api.d.ts +48 -48
- package/nestjs/src/lib/desk/desk.config.d.ts +2 -1
- package/nestjs/src/lib/desk/desk.module.d.ts +6 -6
- package/nestjs/src/lib/recruit/recruit.api.d.ts +35 -35
- package/nestjs/src/lib/recruit/recruit.config.d.ts +1 -1
- package/nestjs/src/lib/recruit/recruit.module.d.ts +12 -13
- package/nestjs/src/lib/sign/sign.api.d.ts +16 -16
- package/nestjs/src/lib/sign/sign.module.d.ts +12 -13
- package/nestjs/src/lib/sign/webhook/webhook.zoho.sign.d.ts +2 -2
- package/nestjs/src/lib/sign/webhook/webhook.zoho.sign.module.d.ts +3 -3
- package/nestjs/src/lib/sign/webhook/webhook.zoho.sign.verify.d.ts +2 -2
- package/nestjs/src/lib/zoho.config.d.ts +2 -1
- package/package.json +8 -8
- package/src/lib/accounts/accounts.api.d.ts +10 -10
- package/src/lib/accounts/accounts.config.d.ts +2 -2
- package/src/lib/accounts/accounts.d.ts +3 -2
- package/src/lib/accounts/accounts.error.api.d.ts +5 -5
- package/src/lib/accounts/accounts.factory.d.ts +8 -6
- package/src/lib/crm/crm.api.d.ts +87 -81
- package/src/lib/crm/crm.api.notes.d.ts +11 -10
- package/src/lib/crm/crm.api.tags.d.ts +16 -14
- package/src/lib/crm/crm.config.d.ts +2 -2
- package/src/lib/crm/crm.d.ts +2 -2
- package/src/lib/crm/crm.error.api.d.ts +10 -10
- package/src/lib/crm/crm.factory.d.ts +3 -2
- package/src/lib/crm/crm.notes.d.ts +2 -2
- package/src/lib/desk/desk.agent.d.ts +2 -2
- package/src/lib/desk/desk.api.activities.d.ts +5 -4
- package/src/lib/desk/desk.api.agents.d.ts +11 -10
- package/src/lib/desk/desk.api.attachments.d.ts +4 -4
- package/src/lib/desk/desk.api.comments.d.ts +8 -8
- package/src/lib/desk/desk.api.contacts.d.ts +9 -8
- package/src/lib/desk/desk.api.departments.d.ts +4 -4
- package/src/lib/desk/desk.api.followers.d.ts +6 -6
- package/src/lib/desk/desk.api.page.d.ts +6 -5
- package/src/lib/desk/desk.api.tags.d.ts +10 -10
- package/src/lib/desk/desk.api.threads.d.ts +7 -6
- package/src/lib/desk/desk.api.tickets.d.ts +23 -21
- package/src/lib/desk/desk.api.time.d.ts +10 -10
- package/src/lib/desk/desk.config.d.ts +2 -2
- package/src/lib/desk/desk.error.api.d.ts +5 -5
- package/src/lib/desk/desk.factory.d.ts +3 -2
- package/src/lib/desk/desk.limit.d.ts +3 -3
- package/src/lib/desk/desk.ticket.d.ts +4 -4
- package/src/lib/recruit/recruit.api.candidates.d.ts +15 -13
- package/src/lib/recruit/recruit.api.d.ts +85 -80
- package/src/lib/recruit/recruit.api.notes.d.ts +11 -10
- package/src/lib/recruit/recruit.api.tags.d.ts +19 -18
- package/src/lib/recruit/recruit.config.d.ts +2 -2
- package/src/lib/recruit/recruit.d.ts +2 -2
- package/src/lib/recruit/recruit.error.api.d.ts +10 -10
- package/src/lib/recruit/recruit.factory.d.ts +3 -2
- package/src/lib/recruit/recruit.notes.d.ts +2 -2
- package/src/lib/shared/criteria.d.ts +5 -5
- package/src/lib/shared/criteria.util.d.ts +2 -2
- package/src/lib/sign/sign.api.d.ts +47 -46
- package/src/lib/sign/sign.api.page.d.ts +6 -5
- package/src/lib/sign/sign.config.d.ts +2 -2
- package/src/lib/sign/sign.d.ts +4 -4
- package/src/lib/sign/sign.error.api.d.ts +5 -5
- package/src/lib/sign/sign.factory.d.ts +3 -2
- package/src/lib/zoho.api.page.d.ts +5 -4
- package/src/lib/zoho.error.api.d.ts +17 -14
- package/src/lib/zoho.limit.d.ts +6 -5
- package/src/lib/zoho.type.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
1
|
+
import { type SuggestedString, type Maybe } from '@dereekb/util';
|
|
2
2
|
import { type ZohoDateTimeString } from '../zoho.type';
|
|
3
3
|
import { type ZohoDeskTicketId, type ZohoDeskContactId, type ZohoDeskProductId, type ZohoDeskDepartmentId, type ZohoDeskAgentId, type ZohoDeskTeamId, type ZohoDeskAccountId, type ZohoDeskContractId } from './desk';
|
|
4
4
|
/**
|
|
@@ -10,13 +10,13 @@ export type ZohoDeskTicketStatusType = 'Open' | 'Closed' | 'On Hold';
|
|
|
10
10
|
*
|
|
11
11
|
* Known values include Low, Medium, High, and Urgent. Custom priorities may also be defined.
|
|
12
12
|
*/
|
|
13
|
-
export type ZohoDeskTicketPriority = 'Low' | 'Medium' | 'High' | 'Urgent'
|
|
13
|
+
export type ZohoDeskTicketPriority = SuggestedString<'Low' | 'Medium' | 'High' | 'Urgent'>;
|
|
14
14
|
/**
|
|
15
15
|
* Communication channel through which a Zoho Desk ticket was created.
|
|
16
16
|
*
|
|
17
17
|
* Known values include Phone, Email, Social, Web, Chat, and Forums. Custom channels may also be present.
|
|
18
18
|
*/
|
|
19
|
-
export type ZohoDeskTicketChannel = 'Phone' | 'Email' | 'Social' | 'Web' | 'Chat' | 'Forums'
|
|
19
|
+
export type ZohoDeskTicketChannel = SuggestedString<'Phone' | 'Email' | 'Social' | 'Web' | 'Chat' | 'Forums'>;
|
|
20
20
|
/**
|
|
21
21
|
* Fields by which Zoho Desk ticket lists can be sorted.
|
|
22
22
|
*/
|
|
@@ -213,7 +213,7 @@ export interface ZohoDeskTicketTimer {
|
|
|
213
213
|
/**
|
|
214
214
|
* Communication channel for a thread.
|
|
215
215
|
*/
|
|
216
|
-
export type ZohoDeskThreadChannel = 'EMAIL' | 'PHONE' | 'WEB' | 'CUSTOMERPORTAL' | 'FORUMS' | 'FACEBOOK' | 'TWITTER' | 'TWITTER_DM' | 'ONLINE_CHAT' | 'OFFLINE_CHAT' | 'FEEDBACK' | 'FEEDBACK_WIDGET'
|
|
216
|
+
export type ZohoDeskThreadChannel = SuggestedString<'EMAIL' | 'PHONE' | 'WEB' | 'CUSTOMERPORTAL' | 'FORUMS' | 'FACEBOOK' | 'TWITTER' | 'TWITTER_DM' | 'ONLINE_CHAT' | 'OFFLINE_CHAT' | 'FEEDBACK' | 'FEEDBACK_WIDGET'>;
|
|
217
217
|
/**
|
|
218
218
|
* Direction of a thread message relative to the support team.
|
|
219
219
|
*/
|
|
@@ -59,10 +59,10 @@ export type ZohoRecruitAssociateCandidateRecordsWithJobOpeningsFunction = (input
|
|
|
59
59
|
*
|
|
60
60
|
* The result separates "already associated" errors from other errors, allowing callers to treat duplicate associations as non-fatal.
|
|
61
61
|
*
|
|
62
|
-
* @param context - Zoho Recruit API context providing fetch and authentication
|
|
62
|
+
* @param context - Zoho Recruit API context providing fetch and authentication.
|
|
63
63
|
* @returns Factory function that associates candidates with job openings
|
|
64
64
|
*
|
|
65
|
-
* https://www.zoho.com/recruit/developer-guide/apiv2/associate-candidate.html
|
|
65
|
+
* https://www.zoho.com/recruit/developer-guide/apiv2/associate-candidate.html.
|
|
66
66
|
*/
|
|
67
67
|
export declare function zohoRecruitAssociateCandidateRecordsWithJobOpenings(context: ZohoRecruitContext): ZohoRecruitAssociateCandidateRecordsWithJobOpeningsFunction;
|
|
68
68
|
/**
|
|
@@ -84,8 +84,8 @@ export type ZohoRecruitSearchAssociatedRecordsFunction<R extends ZohoRecruitSear
|
|
|
84
84
|
/**
|
|
85
85
|
* Searches for records associated with a given candidate or job opening. Returns an empty page result when no records are found.
|
|
86
86
|
*
|
|
87
|
-
* @param context - Zoho Recruit API context providing fetch and authentication
|
|
88
|
-
* @returns Factory function that searches for associated records
|
|
87
|
+
* @param context - Zoho Recruit API context providing fetch and authentication.
|
|
88
|
+
* @returns Factory function that searches for associated records.
|
|
89
89
|
*/
|
|
90
90
|
export declare function zohoRecruitSearchAssociatedRecords<R extends ZohoRecruitSearchAssociatedRecordsResponse>(context: ZohoRecruitContext): ZohoRecruitSearchAssociatedRecordsFunction<R>;
|
|
91
91
|
/**
|
|
@@ -96,15 +96,16 @@ export type ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsFunction<T exte
|
|
|
96
96
|
/**
|
|
97
97
|
* Searches for job openings associated with a specific candidate.
|
|
98
98
|
*
|
|
99
|
-
* @param context - Zoho Recruit API context providing fetch and authentication
|
|
100
|
-
* @returns Factory function that searches for job openings associated with a candidate
|
|
99
|
+
* @param context - Zoho Recruit API context providing fetch and authentication.
|
|
100
|
+
* @returns Factory function that searches for job openings associated with a candidate.
|
|
101
101
|
*/
|
|
102
102
|
export declare function zohoRecruitSearchCandidateAssociatedJobOpeningRecords<T extends ZohoRecruitRecord>(context: ZohoRecruitContext): ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsFunction<T>;
|
|
103
103
|
/**
|
|
104
104
|
* Creates a page factory for paginating over job openings associated with a candidate.
|
|
105
105
|
*
|
|
106
|
-
* @param context - Zoho Recruit API context providing fetch and authentication
|
|
107
|
-
* @returns Page factory for iterating through associated job openings
|
|
106
|
+
* @param context - Zoho Recruit API context providing fetch and authentication.
|
|
107
|
+
* @returns Page factory for iterating through associated job openings.
|
|
108
|
+
*
|
|
108
109
|
* @__NO_SIDE_EFFECTS__
|
|
109
110
|
*/
|
|
110
111
|
export declare function zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory<T extends ZohoRecruitRecord>(context: ZohoRecruitContext): import("@dereekb/util/fetch").FetchPageFactory<ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsInput, ZohoRecruitSearchAssociatedRecordsResponse<T>>;
|
|
@@ -116,16 +117,17 @@ export type ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsFunction<T exte
|
|
|
116
117
|
/**
|
|
117
118
|
* Searches for candidates associated with a specific job opening.
|
|
118
119
|
*
|
|
119
|
-
* @param context - Zoho Recruit API context providing fetch and authentication
|
|
120
|
-
* @param jobOpeningModuleName - Module name for job openings, defaults to the standard module
|
|
121
|
-
* @returns Factory function that searches for candidates associated with a job opening
|
|
120
|
+
* @param context - Zoho Recruit API context providing fetch and authentication.
|
|
121
|
+
* @param jobOpeningModuleName - Module name for job openings, defaults to the standard module.
|
|
122
|
+
* @returns Factory function that searches for candidates associated with a job opening.
|
|
122
123
|
*/
|
|
123
124
|
export declare function zohoRecruitSearchJobOpeningAssociatedCandidateRecords<T extends ZohoRecruitRecord>(context: ZohoRecruitContext, jobOpeningModuleName?: string): ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsFunction<T>;
|
|
124
125
|
/**
|
|
125
126
|
* Creates a page factory for paginating over candidates associated with a job opening.
|
|
126
127
|
*
|
|
127
|
-
* @param context - Zoho Recruit API context providing fetch and authentication
|
|
128
|
-
* @returns Page factory for iterating through associated candidates
|
|
128
|
+
* @param context - Zoho Recruit API context providing fetch and authentication.
|
|
129
|
+
* @returns Page factory for iterating through associated candidates.
|
|
130
|
+
*
|
|
129
131
|
* @__NO_SIDE_EFFECTS__
|
|
130
132
|
*/
|
|
131
133
|
export declare function zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory<T extends ZohoRecruitRecord>(context: ZohoRecruitContext): import("@dereekb/util/fetch").FetchPageFactory<ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsInput, ZohoRecruitSearchAssociatedRecordsResponse<T>>;
|
|
@@ -102,8 +102,10 @@ export type ZohoRecruitInsertRecordFunction = ZohoRecruitCreateRecordLikeFunctio
|
|
|
102
102
|
*
|
|
103
103
|
* Maximum of {@link ZOHO_RECRUIT_CRUD_FUNCTION_MAX_RECORDS_LIMIT} records per call.
|
|
104
104
|
*
|
|
105
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
106
|
-
* @returns Function that inserts records into the specified module
|
|
105
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
106
|
+
* @returns Function that inserts records into the specified module.
|
|
107
|
+
*
|
|
108
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/insert-records.html
|
|
107
109
|
*
|
|
108
110
|
* @example
|
|
109
111
|
* ```typescript
|
|
@@ -124,8 +126,6 @@ export type ZohoRecruitInsertRecordFunction = ZohoRecruitCreateRecordLikeFunctio
|
|
|
124
126
|
* ]
|
|
125
127
|
* });
|
|
126
128
|
* ```
|
|
127
|
-
*
|
|
128
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/insert-records.html
|
|
129
129
|
*/
|
|
130
130
|
export declare function zohoRecruitInsertRecord(context: ZohoRecruitContext): ZohoRecruitInsertRecordFunction;
|
|
131
131
|
/**
|
|
@@ -142,8 +142,10 @@ export type ZohoRecruitUpsertRecordFunction = ZohoRecruitUpsertRecordLikeFunctio
|
|
|
142
142
|
*
|
|
143
143
|
* Maximum of {@link ZOHO_RECRUIT_CRUD_FUNCTION_MAX_RECORDS_LIMIT} records per call.
|
|
144
144
|
*
|
|
145
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
146
|
-
* @returns Function that upserts records in the specified module
|
|
145
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
146
|
+
* @returns Function that upserts records in the specified module.
|
|
147
|
+
*
|
|
148
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/upsert-records.html
|
|
147
149
|
*
|
|
148
150
|
* @example
|
|
149
151
|
* ```typescript
|
|
@@ -170,8 +172,6 @@ export type ZohoRecruitUpsertRecordFunction = ZohoRecruitUpsertRecordLikeFunctio
|
|
|
170
172
|
* ]
|
|
171
173
|
* });
|
|
172
174
|
* ```
|
|
173
|
-
*
|
|
174
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/upsert-records.html
|
|
175
175
|
*/
|
|
176
176
|
export declare function zohoRecruitUpsertRecord(context: ZohoRecruitContext): ZohoRecruitUpsertRecordFunction;
|
|
177
177
|
export type ZohoRecruitUpdateRecordFunction = ZohoRecruitUpdateRecordLikeFunction;
|
|
@@ -184,8 +184,10 @@ export type ZohoRecruitUpdateRecordFunction = ZohoRecruitUpdateRecordLikeFunctio
|
|
|
184
184
|
*
|
|
185
185
|
* Maximum of {@link ZOHO_RECRUIT_CRUD_FUNCTION_MAX_RECORDS_LIMIT} records per call.
|
|
186
186
|
*
|
|
187
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
188
|
-
* @returns Function that updates records in the specified module
|
|
187
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
188
|
+
* @returns Function that updates records in the specified module.
|
|
189
|
+
*
|
|
190
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/update-records.html
|
|
189
191
|
*
|
|
190
192
|
* @example
|
|
191
193
|
* ```typescript
|
|
@@ -206,8 +208,6 @@ export type ZohoRecruitUpdateRecordFunction = ZohoRecruitUpdateRecordLikeFunctio
|
|
|
206
208
|
* ]
|
|
207
209
|
* });
|
|
208
210
|
* ```
|
|
209
|
-
*
|
|
210
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/update-records.html
|
|
211
211
|
*/
|
|
212
212
|
export declare function zohoRecruitUpdateRecord(context: ZohoRecruitContext): ZohoRecruitUpdateRecordFunction;
|
|
213
213
|
/**
|
|
@@ -250,8 +250,10 @@ export type ZohoRecruitDeleteRecordResult = ZohoRecruitChangeObjectResponseSucce
|
|
|
250
250
|
* an optional `wf_trigger` flag to execute workflow rules on deletion. Returns
|
|
251
251
|
* a response with separated success and error entries.
|
|
252
252
|
*
|
|
253
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
254
|
-
* @returns Function that deletes records from the specified module
|
|
253
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
254
|
+
* @returns Function that deletes records from the specified module.
|
|
255
|
+
*
|
|
256
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/delete-records.html
|
|
255
257
|
*
|
|
256
258
|
* @example
|
|
257
259
|
* ```typescript
|
|
@@ -262,8 +264,6 @@ export type ZohoRecruitDeleteRecordResult = ZohoRecruitChangeObjectResponseSucce
|
|
|
262
264
|
* ids: candidateId
|
|
263
265
|
* });
|
|
264
266
|
* ```
|
|
265
|
-
*
|
|
266
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/delete-records.html
|
|
267
267
|
*/
|
|
268
268
|
export declare function zohoRecruitDeleteRecord(context: ZohoRecruitContext): ZohoRecruitDeleteRecordFunction;
|
|
269
269
|
/**
|
|
@@ -292,8 +292,10 @@ export type ZohoRecruitGetRecordByIdFunction = <T = ZohoRecruitRecord>(input: Zo
|
|
|
292
292
|
* unwrapped from the standard data array, returning the record directly.
|
|
293
293
|
* Throws if the record is not found.
|
|
294
294
|
*
|
|
295
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
296
|
-
* @returns Function that retrieves a record by module name and ID
|
|
295
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
296
|
+
* @returns Function that retrieves a record by module name and ID.
|
|
297
|
+
*
|
|
298
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-records.html
|
|
297
299
|
*
|
|
298
300
|
* @example
|
|
299
301
|
* ```typescript
|
|
@@ -304,8 +306,6 @@ export type ZohoRecruitGetRecordByIdFunction = <T = ZohoRecruitRecord>(input: Zo
|
|
|
304
306
|
* id: candidateId
|
|
305
307
|
* });
|
|
306
308
|
* ```
|
|
307
|
-
*
|
|
308
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-records.html
|
|
309
309
|
*/
|
|
310
310
|
export declare function zohoRecruitGetRecordById(context: ZohoRecruitContext): ZohoRecruitGetRecordByIdFunction;
|
|
311
311
|
/**
|
|
@@ -342,8 +342,10 @@ export type ZohoRecruitGetRecordsFunction = <T = ZohoRecruitRecord>(input: ZohoR
|
|
|
342
342
|
* selection, sorting, custom view filtering, territory filtering, and
|
|
343
343
|
* conversion/approval status filters via {@link ZohoRecruitGetRecordsInput}.
|
|
344
344
|
*
|
|
345
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
346
|
-
* @returns Function that retrieves paginated records from a module
|
|
345
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
346
|
+
* @returns Function that retrieves paginated records from a module.
|
|
347
|
+
*
|
|
348
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-records.html
|
|
347
349
|
*
|
|
348
350
|
* @example
|
|
349
351
|
* ```typescript
|
|
@@ -354,8 +356,6 @@ export type ZohoRecruitGetRecordsFunction = <T = ZohoRecruitRecord>(input: ZohoR
|
|
|
354
356
|
* per_page: 10
|
|
355
357
|
* });
|
|
356
358
|
* ```
|
|
357
|
-
*
|
|
358
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-records.html
|
|
359
359
|
*/
|
|
360
360
|
export declare function zohoRecruitGetRecords(context: ZohoRecruitContext): ZohoRecruitGetRecordsFunction;
|
|
361
361
|
/**
|
|
@@ -389,9 +389,11 @@ export type ZohoRecruitSearchRecordsFunction = <T = ZohoRecruitRecord>(input: Zo
|
|
|
389
389
|
* At least one search parameter must be provided. Returns a paginated result,
|
|
390
390
|
* defaulting to an empty data array when no matches are found.
|
|
391
391
|
*
|
|
392
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
393
|
-
* @returns Function that searches records in the specified module
|
|
394
|
-
* @throws {Error} If none of `criteria`, `email`, `phone`, or `word` are provided
|
|
392
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
393
|
+
* @returns Function that searches records in the specified module.
|
|
394
|
+
* @throws {Error} If none of `criteria`, `email`, `phone`, or `word` are provided.
|
|
395
|
+
*
|
|
396
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/search-records.html
|
|
395
397
|
*
|
|
396
398
|
* @example
|
|
397
399
|
* ```typescript
|
|
@@ -410,8 +412,6 @@ export type ZohoRecruitSearchRecordsFunction = <T = ZohoRecruitRecord>(input: Zo
|
|
|
410
412
|
* word: 'engineer'
|
|
411
413
|
* });
|
|
412
414
|
* ```
|
|
413
|
-
*
|
|
414
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/search-records.html
|
|
415
415
|
*/
|
|
416
416
|
export declare function zohoRecruitSearchRecords(context: ZohoRecruitContext): ZohoRecruitSearchRecordsFunction;
|
|
417
417
|
/**
|
|
@@ -424,8 +424,8 @@ export type ZohoRecruitSearchRecordsPageFactory = <T = ZohoRecruitRecord>(input:
|
|
|
424
424
|
* Returns a page factory that automatically handles Zoho Recruit's pagination,
|
|
425
425
|
* making it easy to iterate through all search results across multiple pages.
|
|
426
426
|
*
|
|
427
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
428
|
-
* @returns Page factory for iterating over search results
|
|
427
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
428
|
+
* @returns Page factory for iterating over search results.
|
|
429
429
|
*
|
|
430
430
|
* @example
|
|
431
431
|
* ```typescript
|
|
@@ -440,6 +440,7 @@ export type ZohoRecruitSearchRecordsPageFactory = <T = ZohoRecruitRecord>(input:
|
|
|
440
440
|
* const firstPage = await fetchPage.fetchNext();
|
|
441
441
|
* const secondPage = await firstPage.fetchNext();
|
|
442
442
|
* ```
|
|
443
|
+
*
|
|
443
444
|
* @__NO_SIDE_EFFECTS__
|
|
444
445
|
*/
|
|
445
446
|
export declare function zohoRecruitSearchRecordsPageFactory(context: ZohoRecruitContext): ZohoRecruitSearchRecordsPageFactory;
|
|
@@ -495,8 +496,10 @@ export type ZohoRecruitGetRelatedRecordsFunction<T = ZohoRecruitRecord> = (input
|
|
|
495
496
|
* target module and empty-result behavior. By default, returns an empty page
|
|
496
497
|
* result instead of null when no records are found.
|
|
497
498
|
*
|
|
498
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
499
|
-
* @returns Factory that creates typed related-records retrieval functions
|
|
499
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
500
|
+
* @returns Factory that creates typed related-records retrieval functions.
|
|
501
|
+
*
|
|
502
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
500
503
|
*
|
|
501
504
|
* @example
|
|
502
505
|
* ```typescript
|
|
@@ -513,7 +516,6 @@ export type ZohoRecruitGetRelatedRecordsFunction<T = ZohoRecruitRecord> = (input
|
|
|
513
516
|
* });
|
|
514
517
|
* ```
|
|
515
518
|
*
|
|
516
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
517
519
|
* @__NO_SIDE_EFFECTS__
|
|
518
520
|
*/
|
|
519
521
|
export declare function zohoRecruitGetRelatedRecordsFunctionFactory(context: ZohoRecruitContext): ZohoRecruitGetRelatedRecordsFunctionFactory;
|
|
@@ -537,8 +539,10 @@ export type ZohoRecruitGetEmailsForRecordFunction = (input: ZohoRecruitGetEmails
|
|
|
537
539
|
* {@link ZohoRecruitRecordEmailMetadata} entries. When no emails exist for the
|
|
538
540
|
* record, the result contains an empty data array rather than null.
|
|
539
541
|
*
|
|
540
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
541
|
-
* @returns Function that retrieves emails for a record
|
|
542
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
543
|
+
* @returns Function that retrieves emails for a record.
|
|
544
|
+
*
|
|
545
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
542
546
|
*
|
|
543
547
|
* @example
|
|
544
548
|
* ```typescript
|
|
@@ -549,8 +553,6 @@ export type ZohoRecruitGetEmailsForRecordFunction = (input: ZohoRecruitGetEmails
|
|
|
549
553
|
* module: ZOHO_RECRUIT_CANDIDATES_MODULE
|
|
550
554
|
* });
|
|
551
555
|
* ```
|
|
552
|
-
*
|
|
553
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
554
556
|
*/
|
|
555
557
|
export declare function zohoRecruitGetEmailsForRecord(context: ZohoRecruitContext): ZohoRecruitGetEmailsForRecordFunction;
|
|
556
558
|
/**
|
|
@@ -564,8 +566,10 @@ export type ZohoRecruitGetEmailsForRecordPageFactory = FetchPageFactory<ZohoRecr
|
|
|
564
566
|
* multiple pages. Wraps {@link zohoRecruitGetEmailsForRecord} with automatic
|
|
565
567
|
* pagination handling via {@link zohoFetchPageFactory}.
|
|
566
568
|
*
|
|
567
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
568
|
-
* @returns Page factory for iterating over record emails
|
|
569
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
570
|
+
* @returns Page factory for iterating over record emails.
|
|
571
|
+
*
|
|
572
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
569
573
|
*
|
|
570
574
|
* @example
|
|
571
575
|
* ```typescript
|
|
@@ -584,7 +588,6 @@ export type ZohoRecruitGetEmailsForRecordPageFactory = FetchPageFactory<ZohoRecr
|
|
|
584
588
|
* }
|
|
585
589
|
* ```
|
|
586
590
|
*
|
|
587
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
588
591
|
* @__NO_SIDE_EFFECTS__
|
|
589
592
|
*/
|
|
590
593
|
export declare function zohoRecruitGetEmailsForRecordPageFactory(context: ZohoRecruitContext): ZohoRecruitGetEmailsForRecordPageFactory;
|
|
@@ -612,8 +615,10 @@ export type ZohoRecruitGetAttachmentsForRecordFunction = (input: ZohoRecruitGetA
|
|
|
612
615
|
* Each attachment entry includes a `$type` field that distinguishes between
|
|
613
616
|
* directly uploaded attachments (`'Attachment'`) and linked attachments.
|
|
614
617
|
*
|
|
615
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
616
|
-
* @returns Function that retrieves attachments for a record
|
|
618
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
619
|
+
* @returns Function that retrieves attachments for a record.
|
|
620
|
+
*
|
|
621
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
617
622
|
*
|
|
618
623
|
* @example
|
|
619
624
|
* ```typescript
|
|
@@ -627,8 +632,6 @@ export type ZohoRecruitGetAttachmentsForRecordFunction = (input: ZohoRecruitGetA
|
|
|
627
632
|
* // Filter to only directly uploaded attachments (downloadable):
|
|
628
633
|
* const downloadable = result.data.filter((x) => x.$type === 'Attachment');
|
|
629
634
|
* ```
|
|
630
|
-
*
|
|
631
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
632
635
|
*/
|
|
633
636
|
export declare function zohoRecruitGetAttachmentsForRecord(context: ZohoRecruitContext): ZohoRecruitGetAttachmentsForRecordFunction;
|
|
634
637
|
/**
|
|
@@ -642,8 +645,10 @@ export type ZohoRecruitGetAttachmentsForRecordPageFactory = FetchPageFactory<Zoh
|
|
|
642
645
|
* across multiple pages. Wraps {@link zohoRecruitGetAttachmentsForRecord} with
|
|
643
646
|
* automatic pagination handling via {@link zohoFetchPageFactory}.
|
|
644
647
|
*
|
|
645
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
646
|
-
* @returns Page factory for iterating over record attachments
|
|
648
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
649
|
+
* @returns Page factory for iterating over record attachments.
|
|
650
|
+
*
|
|
651
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
647
652
|
*
|
|
648
653
|
* @example
|
|
649
654
|
* ```typescript
|
|
@@ -662,7 +667,6 @@ export type ZohoRecruitGetAttachmentsForRecordPageFactory = FetchPageFactory<Zoh
|
|
|
662
667
|
* }
|
|
663
668
|
* ```
|
|
664
669
|
*
|
|
665
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/get-related-records.html
|
|
666
670
|
* @__NO_SIDE_EFFECTS__
|
|
667
671
|
*/
|
|
668
672
|
export declare function zohoRecruitGetAttachmentsForRecordPageFactory(context: ZohoRecruitContext): ZohoRecruitGetAttachmentsForRecordPageFactory;
|
|
@@ -719,10 +723,12 @@ export type ZohoRecruitUploadAttachmentForRecordFunction = (input: ZohoRecruitUp
|
|
|
719
723
|
* will fetch the file. An attachment category must be specified by ID or name.
|
|
720
724
|
* Maximum file size is {@link ZOHO_RECRUIT_ATTACHMENT_MAX_SIZE} (20MB).
|
|
721
725
|
*
|
|
722
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
723
|
-
* @returns Function that uploads an attachment to a record
|
|
724
|
-
* @throws {Error} If neither `file` nor `attachmentUrl` is provided
|
|
725
|
-
* @throws {Error} If neither `attachmentCategoryId` nor `attachmentCategoryName` is provided
|
|
726
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
727
|
+
* @returns Function that uploads an attachment to a record.
|
|
728
|
+
* @throws {Error} If neither `file` nor `attachmentUrl` is provided.
|
|
729
|
+
* @throws {Error} If neither `attachmentCategoryId` nor `attachmentCategoryName` is provided.
|
|
730
|
+
*
|
|
731
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/upload-attachment.html
|
|
726
732
|
*
|
|
727
733
|
* @example
|
|
728
734
|
* ```typescript
|
|
@@ -744,8 +750,6 @@ export type ZohoRecruitUploadAttachmentForRecordFunction = (input: ZohoRecruitUp
|
|
|
744
750
|
* attachmentCategoryName: 'Others'
|
|
745
751
|
* });
|
|
746
752
|
* ```
|
|
747
|
-
*
|
|
748
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/upload-attachment.html
|
|
749
753
|
*/
|
|
750
754
|
export declare function zohoRecruitUploadAttachmentForRecord(context: ZohoRecruitContext): ZohoRecruitUploadAttachmentForRecordFunction;
|
|
751
755
|
/**
|
|
@@ -769,8 +773,10 @@ export type ZohoRecruitDownloadAttachmentForRecordFunction = (input: ZohoRecruit
|
|
|
769
773
|
* {@link FetchFileResponse} containing the file data and metadata extracted
|
|
770
774
|
* from the response headers.
|
|
771
775
|
*
|
|
772
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
773
|
-
* @returns Function that downloads an attachment by record and attachment ID
|
|
776
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
777
|
+
* @returns Function that downloads an attachment by record and attachment ID.
|
|
778
|
+
*
|
|
779
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/download-attachments.html
|
|
774
780
|
*
|
|
775
781
|
* @example
|
|
776
782
|
* ```typescript
|
|
@@ -782,8 +788,6 @@ export type ZohoRecruitDownloadAttachmentForRecordFunction = (input: ZohoRecruit
|
|
|
782
788
|
* attachment_id: attachmentId
|
|
783
789
|
* });
|
|
784
790
|
* ```
|
|
785
|
-
*
|
|
786
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/download-attachments.html
|
|
787
791
|
*/
|
|
788
792
|
export declare function zohoRecruitDownloadAttachmentForRecord(context: ZohoRecruitContext): ZohoRecruitDownloadAttachmentForRecordFunction;
|
|
789
793
|
/**
|
|
@@ -806,8 +810,10 @@ export type ZohoRecruitDeleteAttachmentFromRecordFunction = (input: ZohoRecruitD
|
|
|
806
810
|
* Deletes a specific attachment from a record by its attachment ID.
|
|
807
811
|
* Returns the raw {@link Response}.
|
|
808
812
|
*
|
|
809
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
810
|
-
* @returns Function that deletes an attachment by record and attachment ID
|
|
813
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
814
|
+
* @returns Function that deletes an attachment by record and attachment ID.
|
|
815
|
+
*
|
|
816
|
+
* @see https://www.zoho.com/recruit/developer-guide/apiv2/delete-attachments.html
|
|
811
817
|
*
|
|
812
818
|
* @example
|
|
813
819
|
* ```typescript
|
|
@@ -819,8 +825,6 @@ export type ZohoRecruitDeleteAttachmentFromRecordFunction = (input: ZohoRecruitD
|
|
|
819
825
|
* attachment_id: attachmentId
|
|
820
826
|
* });
|
|
821
827
|
* ```
|
|
822
|
-
*
|
|
823
|
-
* @see https://www.zoho.com/recruit/developer-guide/apiv2/delete-attachments.html
|
|
824
828
|
*/
|
|
825
829
|
export declare function zohoRecruitDeleteAttachmentFromRecord(context: ZohoRecruitContext): ZohoRecruitDeleteAttachmentFromRecordFunction;
|
|
826
830
|
/**
|
|
@@ -909,9 +913,9 @@ export type ZohoRecruitExecuteRestApiFunctionFunction = (input: ZohoRecruitExecu
|
|
|
909
913
|
* - There is no documentation for ZohoRecruit specifically, but it seems to behave the same way
|
|
910
914
|
* - You will need the following scopes: ZohoRecruit.functions.execute.READ,ZohoRecruit.functions.execute.CREATE
|
|
911
915
|
*
|
|
912
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
913
|
-
* @returns Function that executes serverless functions via the REST API
|
|
914
|
-
* @throws {ZohoRecruitExecuteRestApiFunctionError} If the function execution fails
|
|
916
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
917
|
+
* @returns Function that executes serverless functions via the REST API.
|
|
918
|
+
* @throws {ZohoRecruitExecuteRestApiFunctionError} If the function execution fails.
|
|
915
919
|
*
|
|
916
920
|
* @example
|
|
917
921
|
* ```typescript
|
|
@@ -933,33 +937,30 @@ export type ZohoRecruitExecuteRestApiFunctionFunction = (input: ZohoRecruitExecu
|
|
|
933
937
|
* apiUrl: 'production'
|
|
934
938
|
* });
|
|
935
939
|
* ```
|
|
940
|
+
*
|
|
936
941
|
* @__NO_SIDE_EFFECTS__
|
|
937
942
|
*/
|
|
938
943
|
export declare function zohoRecruitExecuteRestApiFunction(context: ZohoRecruitContext): ZohoRecruitExecuteRestApiFunctionFunction;
|
|
939
944
|
/**
|
|
940
945
|
* Builds URL search params from input objects, omitting the `module` key since it is used in the URL path rather than query string.
|
|
941
946
|
*
|
|
942
|
-
* @param input - One or more objects whose key-value pairs become query parameters
|
|
943
|
-
* @returns URLSearchParams with the `module` key excluded
|
|
947
|
+
* @param input - One or more objects whose key-value pairs become query parameters.
|
|
948
|
+
* @returns URLSearchParams with the `module` key excluded.
|
|
944
949
|
*/
|
|
945
950
|
export declare function zohoRecruitUrlSearchParamsMinusModule(...input: Maybe<object | Record<string, string | number>>[]): URLSearchParams;
|
|
946
951
|
/**
|
|
947
952
|
* Builds URL search params from input objects, omitting both `id` and `module` keys since they are used in the URL path.
|
|
948
953
|
*
|
|
949
|
-
* @param input - One or more objects whose key-value pairs become query parameters
|
|
950
|
-
* @returns URLSearchParams with `id` and `module` keys excluded
|
|
954
|
+
* @param input - One or more objects whose key-value pairs become query parameters.
|
|
955
|
+
* @returns URLSearchParams with `id` and `module` keys excluded.
|
|
951
956
|
*/
|
|
952
957
|
export declare function zohoRecruitUrlSearchParamsMinusIdAndModule(...input: Maybe<object | Record<string, string | number>>[]): URLSearchParams;
|
|
953
|
-
/**
|
|
954
|
-
* @deprecated use makeUrlSearchParams instead.
|
|
955
|
-
*/
|
|
956
|
-
export declare const zohoRecruitUrlSearchParams: typeof makeUrlSearchParams;
|
|
957
958
|
/**
|
|
958
959
|
* Constructs a standard {@link FetchJsonInput} for Zoho Recruit API calls with the given HTTP method and optional body.
|
|
959
960
|
*
|
|
960
|
-
* @param method - HTTP method for the request
|
|
961
|
-
* @param body - Optional JSON body to include in the request
|
|
962
|
-
* @returns Configured fetch JSON input
|
|
961
|
+
* @param method - HTTP method for the request.
|
|
962
|
+
* @param body - Optional JSON body to include in the request.
|
|
963
|
+
* @returns Configured fetch JSON input.
|
|
963
964
|
*/
|
|
964
965
|
export declare function zohoRecruitApiFetchJsonInput(method: string, body?: Maybe<FetchJsonBody>): FetchJsonInput;
|
|
965
966
|
/**
|
|
@@ -999,8 +1000,8 @@ export type ZohoRecruitChangeObjectLikeResponseSuccessAndErrorPairs<T extends Zo
|
|
|
999
1000
|
* Used internally by {@link zohoRecruitDeleteRecord} and similar functions to provide
|
|
1000
1001
|
* convenient access to separated success/error results.
|
|
1001
1002
|
*
|
|
1002
|
-
* @param response - Raw change operation response containing mixed success/error entries
|
|
1003
|
-
* @returns The response augmented with pre-separated `successItems` and `errorItems` arrays
|
|
1003
|
+
* @param response - Raw change operation response containing mixed success/error entries.
|
|
1004
|
+
* @returns The response augmented with pre-separated `successItems` and `errorItems` arrays.
|
|
1004
1005
|
*
|
|
1005
1006
|
* @example
|
|
1006
1007
|
* ```typescript
|
|
@@ -1055,9 +1056,9 @@ export interface ZohoRecruitMultiRecordResultItem {
|
|
|
1055
1056
|
* Used internally by {@link updateRecordLikeFunction} to pair input data with API outcomes
|
|
1056
1057
|
* for insert, update, and upsert operations.
|
|
1057
1058
|
*
|
|
1058
|
-
* @param input - Array of input records that were submitted to the API
|
|
1059
|
+
* @param input - Array of input records that were submitted to the API.
|
|
1059
1060
|
* @param results - Array of per-record results returned by the API, positionally aligned with `input`
|
|
1060
|
-
* @returns Object with `successItems` and `errorItems`, each containing paired `{ input, result }` entries
|
|
1061
|
+
* @returns Object with `successItems` and `errorItems`, each containing paired `{ input, result }` entries.
|
|
1061
1062
|
*/
|
|
1062
1063
|
export declare function zohoRecruitMultiRecordResult<I, OS extends ZohoRecruitMultiRecordResultItem, OE extends ZohoRecruitMultiRecordResultItem>(input: I[], results: (OS | OE)[]): ZohoRecruitMultiRecordResult<I, OS, OE>;
|
|
1063
1064
|
export interface ZohoRecruitMultiRecordResultEntry<I, O> {
|
|
@@ -1070,6 +1071,10 @@ export interface ZohoRecruitMultiRecordResultEntry<I, O> {
|
|
|
1070
1071
|
*/
|
|
1071
1072
|
readonly result: O;
|
|
1072
1073
|
}
|
|
1074
|
+
/**
|
|
1075
|
+
* @deprecated use makeUrlSearchParams instead.
|
|
1076
|
+
*/
|
|
1077
|
+
export declare const zohoRecruitUrlSearchParams: typeof makeUrlSearchParams;
|
|
1073
1078
|
/**
|
|
1074
1079
|
* @deprecated use ZohoRecruitGetRelatedRecordsPageFilter instead.
|
|
1075
1080
|
*/
|
|
@@ -36,8 +36,8 @@ export type ZohoRecruitCreateNotesFunction = (input: ZohoRecruitCreateNotesReque
|
|
|
36
36
|
* Prefer {@link zohoRecruitCreateNotesForRecord} when creating notes linked to a specific
|
|
37
37
|
* record, as it handles the module/parent linking automatically.
|
|
38
38
|
*
|
|
39
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
40
|
-
* @returns Function that creates notes in the Notes module
|
|
39
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
40
|
+
* @returns Function that creates notes in the Notes module.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* ```typescript
|
|
@@ -78,8 +78,8 @@ export type ZohoRecruitDeleteNotesFunction = (input: ZohoRecruitDeleteNotesReque
|
|
|
78
78
|
* Deletes one or more notes by their IDs from the Notes module. Returns a paired
|
|
79
79
|
* success/error result for each note ID.
|
|
80
80
|
*
|
|
81
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
82
|
-
* @returns Function that deletes notes by ID
|
|
81
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
82
|
+
* @returns Function that deletes notes by ID.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* ```typescript
|
|
@@ -107,8 +107,8 @@ export type ZohoRecruitGetNotesForRecordFunction = (input: ZohoRecruitGetNotesFo
|
|
|
107
107
|
* Retrieves notes related to a specific record by targeting the Notes module
|
|
108
108
|
* via the related records API. Returns an empty page result when no notes exist.
|
|
109
109
|
*
|
|
110
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
111
|
-
* @returns Function that retrieves notes for a record
|
|
110
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
111
|
+
* @returns Function that retrieves notes for a record.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* ```typescript
|
|
@@ -132,8 +132,9 @@ export type ZohoRecruitGetNotesForRecordPageFactory = FetchPageFactory<ZohoRecru
|
|
|
132
132
|
* multiple pages. Wraps {@link zohoRecruitGetNotesForRecord} with automatic
|
|
133
133
|
* pagination handling via {@link zohoFetchPageFactory}.
|
|
134
134
|
*
|
|
135
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
136
|
-
* @returns Page factory for iterating over record notes
|
|
135
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
136
|
+
* @returns Page factory for iterating over record notes.
|
|
137
|
+
*
|
|
137
138
|
* @__NO_SIDE_EFFECTS__
|
|
138
139
|
*/
|
|
139
140
|
export declare function zohoRecruitGetNotesForRecordPageFactory(context: ZohoRecruitContext): ZohoRecruitGetNotesForRecordPageFactory;
|
|
@@ -155,8 +156,8 @@ export type ZohoRecruitCreateNotesForRecordFunction = (input: ZohoRecruitCreateN
|
|
|
155
156
|
* `se_module` and `Parent_Id` on each note entry from the request's `module` and `id`,
|
|
156
157
|
* then delegates to {@link zohoRecruitCreateNotes}.
|
|
157
158
|
*
|
|
158
|
-
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting
|
|
159
|
-
* @returns Function that creates notes linked to a specific record
|
|
159
|
+
* @param context - Authenticated Zoho Recruit context providing fetch and rate limiting.
|
|
160
|
+
* @returns Function that creates notes linked to a specific record.
|
|
160
161
|
*
|
|
161
162
|
* @example
|
|
162
163
|
* ```typescript
|