@dereekb/zoho 13.4.0 → 13.4.2

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.
Files changed (40) hide show
  1. package/index.cjs.js +272 -92
  2. package/index.esm.js +272 -93
  3. package/nestjs/index.cjs.js +404 -90
  4. package/nestjs/index.esm.js +404 -90
  5. package/nestjs/package.json +4 -4
  6. package/nestjs/src/lib/accounts/accounts.service.d.ts +14 -2
  7. package/nestjs/src/lib/crm/crm.api.d.ts +142 -27
  8. package/nestjs/src/lib/crm/crm.config.d.ts +2 -0
  9. package/nestjs/src/lib/recruit/recruit.api.d.ts +162 -31
  10. package/nestjs/src/lib/recruit/recruit.config.d.ts +2 -0
  11. package/nestjs/src/lib/sign/sign.api.d.ts +67 -12
  12. package/nestjs/src/lib/sign/webhook/webhook.zoho.sign.d.ts +3 -0
  13. package/nestjs/src/lib/zoho.config.d.ts +26 -2
  14. package/package.json +3 -3
  15. package/src/lib/accounts/accounts.api.d.ts +9 -5
  16. package/src/lib/accounts/accounts.config.d.ts +12 -2
  17. package/src/lib/accounts/accounts.d.ts +6 -3
  18. package/src/lib/accounts/accounts.error.api.d.ts +13 -0
  19. package/src/lib/accounts/accounts.factory.d.ts +2 -2
  20. package/src/lib/crm/crm.api.d.ts +13 -0
  21. package/src/lib/crm/crm.api.notes.d.ts +15 -0
  22. package/src/lib/crm/crm.api.tags.d.ts +17 -8
  23. package/src/lib/crm/crm.config.d.ts +9 -2
  24. package/src/lib/crm/crm.d.ts +12 -12
  25. package/src/lib/crm/crm.error.api.d.ts +14 -0
  26. package/src/lib/crm/crm.factory.d.ts +3 -3
  27. package/src/lib/crm/crm.notes.d.ts +23 -23
  28. package/src/lib/crm/crm.tags.d.ts +3 -3
  29. package/src/lib/recruit/recruit.api.candidates.d.ts +19 -0
  30. package/src/lib/recruit/recruit.api.d.ts +10 -0
  31. package/src/lib/recruit/recruit.config.d.ts +9 -2
  32. package/src/lib/recruit/recruit.d.ts +12 -12
  33. package/src/lib/recruit/recruit.error.api.d.ts +14 -0
  34. package/src/lib/recruit/recruit.factory.d.ts +3 -3
  35. package/src/lib/sign/sign.config.d.ts +12 -2
  36. package/src/lib/sign/sign.d.ts +14 -14
  37. package/src/lib/sign/sign.error.api.d.ts +13 -0
  38. package/src/lib/sign/sign.factory.d.ts +3 -3
  39. package/src/lib/zoho.error.api.d.ts +25 -8
  40. package/src/lib/zoho.limit.d.ts +8 -1
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dereekb/zoho/nestjs",
3
- "version": "13.4.0",
3
+ "version": "13.4.2",
4
4
  "peerDependencies": {
5
- "@dereekb/nestjs": "13.4.0",
6
- "@dereekb/util": "13.4.0",
7
- "@dereekb/zoho": "13.4.0",
5
+ "@dereekb/nestjs": "13.4.2",
6
+ "@dereekb/util": "13.4.2",
7
+ "@dereekb/zoho": "13.4.2",
8
8
  "@nestjs/common": "^11.1.16",
9
9
  "@nestjs/config": "^4.0.3",
10
10
  "express": "^5.0.0"
@@ -13,6 +13,11 @@ export declare abstract class ZohoAccountsAccessTokenCacheService {
13
13
  abstract loadZohoAccessTokenCache(service: ZohoServiceAccessTokenKey): ZohoAccessTokenCache;
14
14
  }
15
15
  export type LogMergeZohoAccountsAccessTokenCacheServiceErrorFunction = (failedUpdates: (readonly [ZohoAccessTokenCache, unknown])[]) => void;
16
+ /**
17
+ * Default error logging function for merged Zoho access token cache services.
18
+ *
19
+ * @param failedUpdates - array of cache/error tuples that failed during update
20
+ */
16
21
  export declare function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction(failedUpdates: (readonly [ZohoAccessTokenCache, unknown])[]): void;
17
22
  /**
18
23
  * Merges the input services in order to use some as a backup source.
@@ -22,12 +27,17 @@ export declare function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction
22
27
  * When updating a cached token, it will update the token across all services.
23
28
  *
24
29
  * @param servicesToMerge Must include atleast one service. Empty arrays will throw an error.
30
+ * @param inputServicesToMerge - cache services to merge in priority order
31
+ * @param logError - optional error logging toggle or custom logging function
32
+ * @returns a merged ZohoAccountsAccessTokenCacheService that delegates across all inputs
25
33
  */
26
34
  export declare function mergeZohoAccountsAccessTokenCacheServices(inputServicesToMerge: ZohoAccountsAccessTokenCacheService[], logError?: Maybe<boolean | LogMergeZohoAccountsAccessTokenCacheServiceErrorFunction>): ZohoAccountsAccessTokenCacheService;
27
35
  /**
28
36
  * Creates a ZohoAccountsAccessTokenCacheService that uses in-memory storage.
29
37
  *
30
- * @returns
38
+ * @param existingCache - optional pre-populated token cache record to use as initial state
39
+ * @param logAccessToConsole - whether to log cache reads and writes to the console
40
+ * @returns a ZohoAccountsAccessTokenCacheService backed by in-memory storage
31
41
  */
32
42
  export declare function memoryZohoAccountsAccessTokenCacheService(existingCache?: ZohoAccountsAccessTokenCacheRecord, logAccessToConsole?: boolean): ZohoAccountsAccessTokenCacheService;
33
43
  export interface FileSystemZohoAccountsAccessTokenCacheService extends ZohoAccountsAccessTokenCacheService {
@@ -41,6 +51,8 @@ export declare const DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH
41
51
  *
42
52
  * Useful for testing.
43
53
  *
44
- * @returns
54
+ * @param filename - path to the JSON file used for token persistence
55
+ * @param useMemoryCache - whether to also cache tokens in memory for faster reads
56
+ * @returns a FileSystemZohoAccountsAccessTokenCacheService backed by file storage
45
57
  */
46
58
  export declare function fileZohoAccountsAccessTokenCacheService(filename?: string, useMemoryCache?: boolean): FileSystemZohoAccountsAccessTokenCacheService;
@@ -16,74 +16,189 @@ export declare class ZohoCrmApi {
16
16
  readonly zohoCrm: ZohoCrm;
17
17
  /**
18
18
  * The authenticated CRM context used by all operation accessors.
19
+ *
20
+ * @returns the CRM context from the underlying client
19
21
  */
20
22
  get crmContext(): ZohoCrmContext;
21
23
  /**
22
24
  * Rate limiter shared across all CRM requests to respect Zoho API quotas.
25
+ *
26
+ * @returns the shared rate limiter instance
23
27
  */
24
28
  get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
25
29
  /**
26
30
  * Initializes the CRM client by combining the service config with the
27
31
  * accounts context for OAuth token management.
32
+ *
33
+ * @param config - Zoho CRM service configuration
34
+ * @param zohoAccountsApi - accounts API used for OAuth token management
28
35
  */
29
36
  constructor(config: ZohoCrmServiceConfig, zohoAccountsApi: ZohoAccountsApi);
30
- /** Configured pass-through for {@link zohoCrmInsertRecord}. */
37
+ /**
38
+ * Configured pass-through for {@link zohoCrmInsertRecord}.
39
+ *
40
+ * @returns bound insert record function
41
+ */
31
42
  get insertRecord(): import("@dereekb/zoho").ZohoCrmCreateRecordLikeFunction;
32
- /** Configured pass-through for {@link zohoCrmUpsertRecord}. */
43
+ /**
44
+ * Configured pass-through for {@link zohoCrmUpsertRecord}.
45
+ *
46
+ * @returns bound upsert record function
47
+ */
33
48
  get upsertRecord(): import("@dereekb/zoho").ZohoCrmUpsertRecordLikeFunction;
34
- /** Configured pass-through for {@link zohoCrmUpdateRecord}. */
49
+ /**
50
+ * Configured pass-through for {@link zohoCrmUpdateRecord}.
51
+ *
52
+ * @returns bound update record function
53
+ */
35
54
  get updateRecord(): import("@dereekb/zoho").ZohoCrmUpdateRecordLikeFunction;
36
- /** Configured pass-through for {@link zohoCrmDeleteRecord}. */
55
+ /**
56
+ * Configured pass-through for {@link zohoCrmDeleteRecord}.
57
+ *
58
+ * @returns bound delete record function
59
+ */
37
60
  get deleteRecord(): import("@dereekb/zoho").ZohoCrmDeleteRecordFunction;
38
- /** Configured pass-through for {@link zohoCrmGetRecordById}. */
61
+ /**
62
+ * Configured pass-through for {@link zohoCrmGetRecordById}.
63
+ *
64
+ * @returns bound get record by ID function
65
+ */
39
66
  get getRecordById(): import("@dereekb/zoho").ZohoCrmGetRecordByIdFunction;
40
- /** Configured pass-through for {@link zohoCrmGetRecords}. */
67
+ /**
68
+ * Configured pass-through for {@link zohoCrmGetRecords}.
69
+ *
70
+ * @returns bound get records function
71
+ */
41
72
  get getRecords(): import("@dereekb/zoho").ZohoCrmGetRecordsFunction;
42
- /** Configured pass-through for {@link zohoCrmSearchRecords}. */
73
+ /**
74
+ * Configured pass-through for {@link zohoCrmSearchRecords}.
75
+ *
76
+ * @returns bound search records function
77
+ */
43
78
  get searchRecords(): import("@dereekb/zoho").ZohoCrmSearchRecordsFunction;
44
- /** Configured pass-through for {@link zohoCrmSearchRecordsPageFactory}. */
79
+ /**
80
+ * Configured pass-through for {@link zohoCrmSearchRecordsPageFactory}.
81
+ *
82
+ * @returns bound search records page factory function
83
+ */
45
84
  get searchRecordsPageFactory(): import("@dereekb/zoho").ZohoCrmSearchRecordsPageFactory;
46
- /** Configured pass-through for {@link zohoCrmGetRelatedRecordsFunctionFactory}. */
85
+ /**
86
+ * Configured pass-through for {@link zohoCrmGetRelatedRecordsFunctionFactory}.
87
+ *
88
+ * @returns bound get related records factory function
89
+ */
47
90
  get getRelatedRecordsFunctionFactory(): import("@dereekb/zoho").ZohoCrmGetRelatedRecordsFunctionFactory;
48
- /** Configured pass-through for {@link zohoCrmGetEmailsForRecord}. */
91
+ /**
92
+ * Configured pass-through for {@link zohoCrmGetEmailsForRecord}.
93
+ *
94
+ * @returns bound get emails for record function
95
+ */
49
96
  get getEmailsForRecord(): import("@dereekb/zoho").ZohoCrmGetEmailsForRecordFunction;
50
- /** Configured pass-through for {@link zohoCrmGetEmailsForRecordPageFactory}. */
97
+ /**
98
+ * Configured pass-through for {@link zohoCrmGetEmailsForRecordPageFactory}.
99
+ *
100
+ * @returns bound get emails page factory function
101
+ */
51
102
  get getEmailsForRecordPageFactory(): import("@dereekb/zoho").ZohoCrmGetEmailsForRecordPageFactory;
52
- /** Configured pass-through for {@link zohoCrmGetAttachmentsForRecord}. */
103
+ /**
104
+ * Configured pass-through for {@link zohoCrmGetAttachmentsForRecord}.
105
+ *
106
+ * @returns bound get attachments for record function
107
+ */
53
108
  get getAttachmentsForRecord(): import("@dereekb/zoho").ZohoCrmGetAttachmentsForRecordFunction;
54
- /** Configured pass-through for {@link zohoCrmGetAttachmentsForRecordPageFactory}. */
109
+ /**
110
+ * Configured pass-through for {@link zohoCrmGetAttachmentsForRecordPageFactory}.
111
+ *
112
+ * @returns bound get attachments page factory function
113
+ */
55
114
  get getAttachmentsForRecordPageFactory(): import("@dereekb/zoho").ZohoCrmGetAttachmentsForRecordPageFactory;
56
- /** Configured pass-through for {@link zohoCrmUploadAttachmentForRecord}. */
115
+ /**
116
+ * Configured pass-through for {@link zohoCrmUploadAttachmentForRecord}.
117
+ *
118
+ * @returns bound upload attachment function
119
+ */
57
120
  get uploadAttachmentForRecord(): import("@dereekb/zoho").ZohoCrmUploadAttachmentForRecordFunction;
58
- /** Configured pass-through for {@link zohoCrmDownloadAttachmentForRecord}. */
121
+ /**
122
+ * Configured pass-through for {@link zohoCrmDownloadAttachmentForRecord}.
123
+ *
124
+ * @returns bound download attachment function
125
+ */
59
126
  get downloadAttachmentForRecord(): import("@dereekb/zoho").ZohoCrmDownloadAttachmentForRecordFunction;
60
- /** Configured pass-through for {@link zohoCrmDeleteAttachmentFromRecord}. */
127
+ /**
128
+ * Configured pass-through for {@link zohoCrmDeleteAttachmentFromRecord}.
129
+ *
130
+ * @returns bound delete attachment function
131
+ */
61
132
  get deleteAttachmentFromRecord(): import("@dereekb/zoho").ZohoCrmDeleteAttachmentFromRecordFunction;
62
- /** Configured pass-through for {@link zohoCrmCreateNotes}. */
133
+ /**
134
+ * Configured pass-through for {@link zohoCrmCreateNotes}.
135
+ *
136
+ * @returns bound create notes function
137
+ */
63
138
  get createNotes(): (input: import("@dereekb/zoho").ZohoCrmCreateNotesRequest) => Promise<import("@dereekb/zoho").ZohoCrmMultiRecordResult<import("@dereekb/zoho").NewZohoCrmNoteData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoCrmChangeObjectDetails>, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>>;
64
- /** Configured pass-through for {@link zohoCrmDeleteNotes}. */
139
+ /**
140
+ * Configured pass-through for {@link zohoCrmDeleteNotes}.
141
+ *
142
+ * @returns bound delete notes function
143
+ */
65
144
  get deleteNotes(): (input: import("@dereekb/zoho").ZohoCrmDeleteNotesRequest) => Promise<import("@dereekb/zoho").ZohoCrmMultiRecordResult<string, import("@dereekb/zoho").ZohoCrmChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoCrmChangeObjectDetails>, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>>;
66
- /** Configured pass-through for {@link zohoCrmCreateNotesForRecord}. */
145
+ /**
146
+ * Configured pass-through for {@link zohoCrmCreateNotesForRecord}.
147
+ *
148
+ * @returns bound create notes for record function
149
+ */
67
150
  get createNotesForRecord(): import("@dereekb/zoho").ZohoCrmCreateNotesForRecordFunction;
68
- /** Configured pass-through for {@link zohoCrmGetNotesForRecord}. */
151
+ /**
152
+ * Configured pass-through for {@link zohoCrmGetNotesForRecord}.
153
+ *
154
+ * @returns bound get notes for record function
155
+ */
69
156
  get getNotesForRecord(): import("@dereekb/zoho").ZohoCrmGetNotesForRecordFunction;
70
- /** Configured pass-through for {@link zohoCrmGetNotesForRecordPageFactory}. */
157
+ /**
158
+ * Configured pass-through for {@link zohoCrmGetNotesForRecordPageFactory}.
159
+ *
160
+ * @returns bound get notes page factory function
161
+ */
71
162
  get getNotesForRecordPageFactory(): import("@dereekb/zoho").ZohoCrmGetNotesForRecordPageFactory;
72
- /** Configured pass-through for {@link zohoCrmExecuteRestApiFunction}. */
163
+ /**
164
+ * Configured pass-through for {@link zohoCrmExecuteRestApiFunction}.
165
+ *
166
+ * @returns bound execute REST API function
167
+ */
73
168
  get executeRestApiFunction(): import("@dereekb/zoho").ZohoCrmExecuteRestApiFunctionFunction;
74
- /** Configured pass-through for {@link zohoCrmCreateTagsForModule}. */
169
+ /**
170
+ * Configured pass-through for {@link zohoCrmCreateTagsForModule}.
171
+ *
172
+ * @returns bound create tags for module function
173
+ */
75
174
  get createTagsForModule(): (input: import("@dereekb/zoho").ZohoCrmCreateTagsRequest) => Promise<{
76
175
  errorItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>[];
77
176
  duplicateErrorItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>[];
78
177
  allErrorItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>[];
79
178
  successItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoCrmChangeObjectDetails>>[];
80
179
  }>;
81
- /** Configured pass-through for {@link zohoCrmDeleteTag}. */
180
+ /**
181
+ * Configured pass-through for {@link zohoCrmDeleteTag}.
182
+ *
183
+ * @returns bound delete tag function
184
+ */
82
185
  get deleteTag(): import("@dereekb/zoho").ZohoCrmDeleteTagFunction;
83
- /** Configured pass-through for {@link zohoCrmGetTagsForModule}. */
186
+ /**
187
+ * Configured pass-through for {@link zohoCrmGetTagsForModule}.
188
+ *
189
+ * @returns bound get tags for module function
190
+ */
84
191
  get getTagsForModule(): import("@dereekb/zoho").ZohoCrmGetTagsFunction;
85
- /** Configured pass-through for {@link zohoCrmAddTagsToRecords}. */
192
+ /**
193
+ * Configured pass-through for {@link zohoCrmAddTagsToRecords}.
194
+ *
195
+ * @returns bound add tags to records function
196
+ */
86
197
  get addTagsToRecords(): import("@dereekb/zoho").ZohoCrmAddTagsToRecordsFunction;
87
- /** Configured pass-through for {@link zohoCrmRemoveTagsFromRecords}. */
198
+ /**
199
+ * Configured pass-through for {@link zohoCrmRemoveTagsFromRecords}.
200
+ *
201
+ * @returns bound remove tags from records function
202
+ */
88
203
  get removeTagsFromRecords(): import("@dereekb/zoho").ZohoCrmRemoveTagsFromRecordsFunction;
89
204
  }
@@ -20,6 +20,8 @@ export declare abstract class ZohoCrmServiceConfig {
20
20
  readonly factoryConfig?: ZohoCrmFactoryConfig;
21
21
  /**
22
22
  * Validates that the required Zoho CRM connection fields are present and well-formed.
23
+ *
24
+ * @param config - the CRM service config to validate
23
25
  */
24
26
  static assertValidConfig(config: ZohoCrmServiceConfig): void;
25
27
  }
@@ -16,82 +16,213 @@ export declare class ZohoRecruitApi {
16
16
  readonly zohoRecruit: ZohoRecruit;
17
17
  /**
18
18
  * The authenticated Recruit context used by all operation accessors.
19
+ *
20
+ * @returns the Recruit context from the underlying client
19
21
  */
20
22
  get recruitContext(): ZohoRecruitContext;
21
23
  /**
22
24
  * Rate limiter shared across all Recruit requests to respect Zoho API quotas.
25
+ *
26
+ * @returns the shared rate limiter instance
23
27
  */
24
28
  get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
25
29
  /**
26
30
  * Initializes the Recruit client by combining the service config with the
27
31
  * accounts context for OAuth token management.
32
+ *
33
+ * @param config - Zoho Recruit service configuration
34
+ * @param zohoAccountsApi - accounts API used for OAuth token management
28
35
  */
29
36
  constructor(config: ZohoRecruitServiceConfig, zohoAccountsApi: ZohoAccountsApi);
30
- /** Configured pass-through for {@link zohoRecruitInsertRecord}. */
37
+ /**
38
+ * Configured pass-through for {@link zohoRecruitInsertRecord}.
39
+ *
40
+ * @returns bound insert record function
41
+ */
31
42
  get insertRecord(): import("@dereekb/zoho").ZohoRecruitCreateRecordLikeFunction;
32
- /** Configured pass-through for {@link zohoRecruitUpsertRecord}. */
43
+ /**
44
+ * Configured pass-through for {@link zohoRecruitUpsertRecord}.
45
+ *
46
+ * @returns bound upsert record function
47
+ */
33
48
  get upsertRecord(): import("@dereekb/zoho").ZohoRecruitUpsertRecordLikeFunction;
34
- /** Configured pass-through for {@link zohoRecruitUpdateRecord}. */
49
+ /**
50
+ * Configured pass-through for {@link zohoRecruitUpdateRecord}.
51
+ *
52
+ * @returns bound update record function
53
+ */
35
54
  get updateRecord(): import("@dereekb/zoho").ZohoRecruitUpdateRecordLikeFunction;
36
- /** Configured pass-through for {@link zohoRecruitDeleteRecord}. */
55
+ /**
56
+ * Configured pass-through for {@link zohoRecruitDeleteRecord}.
57
+ *
58
+ * @returns bound delete record function
59
+ */
37
60
  get deleteRecord(): import("@dereekb/zoho").ZohoRecruitDeleteRecordFunction;
38
- /** Configured pass-through for {@link zohoRecruitGetRecordById}. */
61
+ /**
62
+ * Configured pass-through for {@link zohoRecruitGetRecordById}.
63
+ *
64
+ * @returns bound get record by ID function
65
+ */
39
66
  get getRecordById(): import("@dereekb/zoho").ZohoRecruitGetRecordByIdFunction;
40
- /** Configured pass-through for {@link zohoRecruitGetRecords}. */
67
+ /**
68
+ * Configured pass-through for {@link zohoRecruitGetRecords}.
69
+ *
70
+ * @returns bound get records function
71
+ */
41
72
  get getRecords(): import("@dereekb/zoho").ZohoRecruitGetRecordsFunction;
42
- /** Configured pass-through for {@link zohoRecruitSearchRecords}. */
73
+ /**
74
+ * Configured pass-through for {@link zohoRecruitSearchRecords}.
75
+ *
76
+ * @returns bound search records function
77
+ */
43
78
  get searchRecords(): import("@dereekb/zoho").ZohoRecruitSearchRecordsFunction;
44
- /** Configured pass-through for {@link zohoRecruitSearchRecordsPageFactory}. */
79
+ /**
80
+ * Configured pass-through for {@link zohoRecruitSearchRecordsPageFactory}.
81
+ *
82
+ * @returns bound search records page factory function
83
+ */
45
84
  get searchRecordsPageFactory(): import("@dereekb/zoho").ZohoRecruitSearchRecordsPageFactory;
46
- /** Configured pass-through for {@link zohoRecruitGetRelatedRecordsFunctionFactory}. */
85
+ /**
86
+ * Configured pass-through for {@link zohoRecruitGetRelatedRecordsFunctionFactory}.
87
+ *
88
+ * @returns bound get related records factory function
89
+ */
47
90
  get getRelatedRecordsFunctionFactory(): import("@dereekb/zoho").ZohoRecruitGetRelatedRecordsFunctionFactory;
48
- /** Configured pass-through for {@link zohoRecruitGetEmailsForRecord}. */
91
+ /**
92
+ * Configured pass-through for {@link zohoRecruitGetEmailsForRecord}.
93
+ *
94
+ * @returns bound get emails for record function
95
+ */
49
96
  get getEmailsForRecord(): import("@dereekb/zoho").ZohoRecruitGetEmailsForRecordFunction;
50
- /** Configured pass-through for {@link zohoRecruitGetEmailsForRecordPageFactory}. */
97
+ /**
98
+ * Configured pass-through for {@link zohoRecruitGetEmailsForRecordPageFactory}.
99
+ *
100
+ * @returns bound get emails page factory function
101
+ */
51
102
  get getEmailsForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetEmailsForRecordPageFactory;
52
- /** Configured pass-through for {@link zohoRecruitGetAttachmentsForRecord}. */
103
+ /**
104
+ * Configured pass-through for {@link zohoRecruitGetAttachmentsForRecord}.
105
+ *
106
+ * @returns bound get attachments for record function
107
+ */
53
108
  get getAttachmentsForRecord(): import("@dereekb/zoho").ZohoRecruitGetAttachmentsForRecordFunction;
54
- /** Configured pass-through for {@link zohoRecruitGetAttachmentsForRecordPageFactory}. */
109
+ /**
110
+ * Configured pass-through for {@link zohoRecruitGetAttachmentsForRecordPageFactory}.
111
+ *
112
+ * @returns bound get attachments page factory function
113
+ */
55
114
  get getAttachmentsForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetAttachmentsForRecordPageFactory;
56
- /** Configured pass-through for {@link zohoRecruitUploadAttachmentForRecord}. */
115
+ /**
116
+ * Configured pass-through for {@link zohoRecruitUploadAttachmentForRecord}.
117
+ *
118
+ * @returns bound upload attachment function
119
+ */
57
120
  get uploadAttachmentForRecord(): import("@dereekb/zoho").ZohoRecruitUploadAttachmentForRecordFunction;
58
- /** Configured pass-through for {@link zohoRecruitDownloadAttachmentForRecord}. */
121
+ /**
122
+ * Configured pass-through for {@link zohoRecruitDownloadAttachmentForRecord}.
123
+ *
124
+ * @returns bound download attachment function
125
+ */
59
126
  get downloadAttachmentForRecord(): import("@dereekb/zoho").ZohoRecruitDownloadAttachmentForRecordFunction;
60
- /** Configured pass-through for {@link zohoRecruitDeleteAttachmentFromRecord}. */
127
+ /**
128
+ * Configured pass-through for {@link zohoRecruitDeleteAttachmentFromRecord}.
129
+ *
130
+ * @returns bound delete attachment function
131
+ */
61
132
  get deleteAttachmentFromRecord(): import("@dereekb/zoho").ZohoRecruitDeleteAttachmentFromRecordFunction;
62
- /** Configured pass-through for {@link zohoRecruitCreateNotes}. */
133
+ /**
134
+ * Configured pass-through for {@link zohoRecruitCreateNotes}.
135
+ *
136
+ * @returns bound create notes function
137
+ */
63
138
  get createNotes(): (input: import("@dereekb/zoho").ZohoRecruitCreateNotesRequest) => Promise<import("@dereekb/zoho").ZohoRecruitMultiRecordResult<import("@dereekb/zoho").NewZohoRecruitNoteData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoRecruitChangeObjectDetails>, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>>;
64
- /** Configured pass-through for {@link zohoRecruitDeleteNotes}. */
139
+ /**
140
+ * Configured pass-through for {@link zohoRecruitDeleteNotes}.
141
+ *
142
+ * @returns bound delete notes function
143
+ */
65
144
  get deleteNotes(): (input: import("@dereekb/zoho").ZohoRecruitDeleteNotesRequest) => Promise<import("@dereekb/zoho").ZohoRecruitMultiRecordResult<string, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoRecruitChangeObjectDetails>, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>>;
66
- /** Configured pass-through for {@link zohoRecruitCreateNotesForRecord}. */
145
+ /**
146
+ * Configured pass-through for {@link zohoRecruitCreateNotesForRecord}.
147
+ *
148
+ * @returns bound create notes for record function
149
+ */
67
150
  get createNotesForRecord(): import("@dereekb/zoho").ZohoRecruitCreateNotesForRecordFunction;
68
- /** Configured pass-through for {@link zohoRecruitGetNotesForRecord}. */
151
+ /**
152
+ * Configured pass-through for {@link zohoRecruitGetNotesForRecord}.
153
+ *
154
+ * @returns bound get notes for record function
155
+ */
69
156
  get getNotesForRecord(): import("@dereekb/zoho").ZohoRecruitGetNotesForRecordFunction;
70
- /** Configured pass-through for {@link zohoRecruitGetNotesForRecordPageFactory}. */
157
+ /**
158
+ * Configured pass-through for {@link zohoRecruitGetNotesForRecordPageFactory}.
159
+ *
160
+ * @returns bound get notes page factory function
161
+ */
71
162
  get getNotesForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetNotesForRecordPageFactory;
72
- /** Configured pass-through for {@link zohoRecruitExecuteRestApiFunction}. */
163
+ /**
164
+ * Configured pass-through for {@link zohoRecruitExecuteRestApiFunction}.
165
+ *
166
+ * @returns bound execute REST API function
167
+ */
73
168
  get executeRestApiFunction(): import("@dereekb/zoho").ZohoRecruitExecuteRestApiFunctionFunction;
74
- /** Configured pass-through for {@link zohoRecruitAssociateCandidateRecordsWithJobOpenings}. */
169
+ /**
170
+ * Configured pass-through for {@link zohoRecruitAssociateCandidateRecordsWithJobOpenings}.
171
+ *
172
+ * @returns bound associate candidates with job openings function
173
+ */
75
174
  get associateCandidateRecordsWithJobOpenings(): import("@dereekb/zoho").ZohoRecruitAssociateCandidateRecordsWithJobOpeningsFunction;
76
- /** Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecords}. */
175
+ /**
176
+ * Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecords}.
177
+ *
178
+ * @returns bound search candidate associated job openings function
179
+ */
77
180
  get searchCandidateAssociatedJobOpeningRecords(): import("@dereekb/zoho").ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsFunction<import("@dereekb/zoho").ZohoRecruitRecord>;
78
- /** Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory}. */
181
+ /**
182
+ * Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory}.
183
+ *
184
+ * @returns bound search candidate job openings page factory function
185
+ */
79
186
  get searchCandidateAssociatedJobOpeningRecordsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsInput, import("@dereekb/zoho").ZohoRecruitSearchAssociatedRecordsResponse<import("@dereekb/zoho").ZohoRecruitRecord>>;
80
- /** Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecords}. */
187
+ /**
188
+ * Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecords}.
189
+ *
190
+ * @returns bound search job opening associated candidates function
191
+ */
81
192
  get searchJobOpeningAssociatedCandidateRecords(): import("@dereekb/zoho").ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsFunction<import("@dereekb/zoho").ZohoRecruitRecord>;
82
- /** Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory}. */
193
+ /**
194
+ * Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory}.
195
+ *
196
+ * @returns bound search job opening candidates page factory function
197
+ */
83
198
  get searchJobOpeningAssociatedCandidateRecordsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsInput, import("@dereekb/zoho").ZohoRecruitSearchAssociatedRecordsResponse<import("@dereekb/zoho").ZohoRecruitRecord>>;
84
- /** Configured pass-through for {@link zohoRecruitCreateTagsForModule}. */
199
+ /**
200
+ * Configured pass-through for {@link zohoRecruitCreateTagsForModule}.
201
+ *
202
+ * @returns bound create tags for module function
203
+ */
85
204
  get createTagsForModule(): (input: import("@dereekb/zoho").ZohoRecruitCreateTagsRequest) => Promise<{
86
205
  errorItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>[];
87
206
  duplicateErrorItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>[];
88
207
  allErrorItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>[];
89
208
  successItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoRecruitChangeObjectDetails>>[];
90
209
  }>;
91
- /** Configured pass-through for {@link zohoRecruitGetTagsForModule}. */
210
+ /**
211
+ * Configured pass-through for {@link zohoRecruitGetTagsForModule}.
212
+ *
213
+ * @returns bound get tags for module function
214
+ */
92
215
  get getTagsForModule(): import("@dereekb/zoho").ZohoRecruitGetTagsFunction;
93
- /** Configured pass-through for {@link zohoRecruitAddTagsToRecords}. */
216
+ /**
217
+ * Configured pass-through for {@link zohoRecruitAddTagsToRecords}.
218
+ *
219
+ * @returns bound add tags to records function
220
+ */
94
221
  get addTagsToRecords(): import("@dereekb/zoho").ZohoRecruitAddTagsToRecordsFunction;
95
- /** Configured pass-through for {@link zohoRecruitRemoveTagsFromRecords}. */
222
+ /**
223
+ * Configured pass-through for {@link zohoRecruitRemoveTagsFromRecords}.
224
+ *
225
+ * @returns bound remove tags from records function
226
+ */
96
227
  get removeTagsFromRecords(): import("@dereekb/zoho").ZohoRecruitRemoveTagsFromRecordsFunction;
97
228
  }
@@ -20,6 +20,8 @@ export declare abstract class ZohoRecruitServiceConfig {
20
20
  readonly factoryConfig?: ZohoRecruitFactoryConfig;
21
21
  /**
22
22
  * Validates that the required Zoho Recruit connection fields are present and well-formed.
23
+ *
24
+ * @param config - the Recruit service config to validate
23
25
  */
24
26
  static assertValidConfig(config: ZohoRecruitServiceConfig): void;
25
27
  }
@@ -16,39 +16,94 @@ export declare class ZohoSignApi {
16
16
  readonly zohoSign: ZohoSign;
17
17
  /**
18
18
  * The authenticated Sign context used by all operation accessors.
19
+ *
20
+ * @returns the Sign context from the underlying client
19
21
  */
20
22
  get signContext(): ZohoSignContext;
21
23
  /**
22
24
  * Rate limiter shared across all Sign requests to respect Zoho API quotas.
25
+ *
26
+ * @returns the shared rate limiter instance
23
27
  */
24
28
  get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
25
29
  /**
26
30
  * Initializes the Sign client by combining the service config with the
27
31
  * accounts context for OAuth token management.
32
+ *
33
+ * @param config - Zoho Sign service configuration
34
+ * @param zohoAccountsApi - accounts API used for OAuth token management
28
35
  */
29
36
  constructor(config: ZohoSignServiceConfig, zohoAccountsApi: ZohoAccountsApi);
30
- /** Configured pass-through for {@link zohoSignGetDocument}. */
37
+ /**
38
+ * Configured pass-through for {@link zohoSignGetDocument}.
39
+ *
40
+ * @returns bound get document function
41
+ */
31
42
  get getDocument(): import("@dereekb/zoho").ZohoSignGetDocumentFunction;
32
- /** Configured pass-through for {@link zohoSignGetDocuments}. */
43
+ /**
44
+ * Configured pass-through for {@link zohoSignGetDocuments}.
45
+ *
46
+ * @returns bound get documents function
47
+ */
33
48
  get getDocuments(): import("@dereekb/zoho").ZohoSignGetDocumentsFunction;
34
- /** Configured pass-through for {@link zohoSignGetDocumentsPageFactory}. */
49
+ /**
50
+ * Configured pass-through for {@link zohoSignGetDocumentsPageFactory}.
51
+ *
52
+ * @returns bound get documents page factory function
53
+ */
35
54
  get getDocumentsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoSignGetDocumentsInput, import("@dereekb/zoho").ZohoSignGetDocumentsResponse>;
36
- /** Configured pass-through for {@link zohoSignGetDocumentFormData}. */
55
+ /**
56
+ * Configured pass-through for {@link zohoSignGetDocumentFormData}.
57
+ *
58
+ * @returns bound get document form data function
59
+ */
37
60
  get getDocumentFormData(): import("@dereekb/zoho").ZohoSignGetDocumentFormDataFunction;
38
- /** Configured pass-through for {@link zohoSignRetrieveFieldTypes}. */
61
+ /**
62
+ * Configured pass-through for {@link zohoSignRetrieveFieldTypes}.
63
+ *
64
+ * @returns bound retrieve field types function
65
+ */
39
66
  get retrieveFieldTypes(): import("@dereekb/zoho").ZohoSignRetrieveFieldTypesFunction;
40
- /** Configured pass-through for {@link zohoSignDownloadPdf}. */
67
+ /**
68
+ * Configured pass-through for {@link zohoSignDownloadPdf}.
69
+ *
70
+ * @returns bound download PDF function
71
+ */
41
72
  get downloadPdf(): import("@dereekb/zoho").ZohoSignDownloadPdfFunction;
42
- /** Configured pass-through for {@link zohoSignDownloadCompletionCertificate}. */
73
+ /**
74
+ * Configured pass-through for {@link zohoSignDownloadCompletionCertificate}.
75
+ *
76
+ * @returns bound download completion certificate function
77
+ */
43
78
  get downloadCompletionCertificate(): import("@dereekb/zoho").ZohoSignDownloadCompletionCertificateFunction;
44
- /** Configured pass-through for {@link zohoSignCreateDocument}. */
79
+ /**
80
+ * Configured pass-through for {@link zohoSignCreateDocument}.
81
+ *
82
+ * @returns bound create document function
83
+ */
45
84
  get createDocument(): import("@dereekb/zoho").ZohoSignCreateDocumentFunction;
46
- /** Configured pass-through for {@link zohoSignUpdateDocument}. */
85
+ /**
86
+ * Configured pass-through for {@link zohoSignUpdateDocument}.
87
+ *
88
+ * @returns bound update document function
89
+ */
47
90
  get updateDocument(): import("@dereekb/zoho").ZohoSignUpdateDocumentFunction;
48
- /** Configured pass-through for {@link zohoSignSendDocumentForSignature}. */
91
+ /**
92
+ * Configured pass-through for {@link zohoSignSendDocumentForSignature}.
93
+ *
94
+ * @returns bound send document for signature function
95
+ */
49
96
  get sendDocumentForSignature(): import("@dereekb/zoho").ZohoSignSendDocumentForSignatureFunction;
50
- /** Configured pass-through for {@link zohoSignExtendDocument}. */
97
+ /**
98
+ * Configured pass-through for {@link zohoSignExtendDocument}.
99
+ *
100
+ * @returns bound extend document function
101
+ */
51
102
  get extendDocument(): import("@dereekb/zoho").ZohoSignExtendDocumentFunction;
52
- /** Configured pass-through for {@link zohoSignDeleteDocument}. */
103
+ /**
104
+ * Configured pass-through for {@link zohoSignDeleteDocument}.
105
+ *
106
+ * @returns bound delete document function
107
+ */
53
108
  get deleteDocument(): import("@dereekb/zoho").ZohoSignDeleteDocumentFunction;
54
109
  }
@@ -106,6 +106,9 @@ export type ZohoSignWebhookEvent<T extends ZohoSignWebhookOperationType = ZohoSi
106
106
  };
107
107
  /**
108
108
  * Creates a {@link ZohoSignWebhookEvent} from a raw payload.
109
+ *
110
+ * @param payload - the raw Zoho Sign webhook payload to convert
111
+ * @returns a webhook event with the operation type extracted for convenience
109
112
  */
110
113
  export declare function zohoSignWebhookEvent(payload: ZohoSignWebhookPayload): ZohoSignWebhookEvent;
111
114
  export type ZohoSignEventHandler = Handler<ZohoSignWebhookEvent, ZohoSignWebhookOperationType>;