@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.
Files changed (77) hide show
  1. package/cli/index.js +5 -5
  2. package/cli/package.json +7 -7
  3. package/index.cjs.js +569 -503
  4. package/index.esm.js +569 -503
  5. package/nestjs/index.cjs.js +248 -255
  6. package/nestjs/index.esm.js +248 -255
  7. package/nestjs/package.json +5 -5
  8. package/nestjs/src/lib/accounts/accounts.config.d.ts +1 -1
  9. package/nestjs/src/lib/accounts/accounts.service.d.ts +11 -11
  10. package/nestjs/src/lib/crm/crm.api.d.ts +31 -31
  11. package/nestjs/src/lib/crm/crm.config.d.ts +1 -1
  12. package/nestjs/src/lib/crm/crm.module.d.ts +12 -13
  13. package/nestjs/src/lib/desk/desk.api.d.ts +48 -48
  14. package/nestjs/src/lib/desk/desk.config.d.ts +2 -1
  15. package/nestjs/src/lib/desk/desk.module.d.ts +6 -6
  16. package/nestjs/src/lib/recruit/recruit.api.d.ts +35 -35
  17. package/nestjs/src/lib/recruit/recruit.config.d.ts +1 -1
  18. package/nestjs/src/lib/recruit/recruit.module.d.ts +12 -13
  19. package/nestjs/src/lib/sign/sign.api.d.ts +16 -16
  20. package/nestjs/src/lib/sign/sign.module.d.ts +12 -13
  21. package/nestjs/src/lib/sign/webhook/webhook.zoho.sign.d.ts +2 -2
  22. package/nestjs/src/lib/sign/webhook/webhook.zoho.sign.module.d.ts +3 -3
  23. package/nestjs/src/lib/sign/webhook/webhook.zoho.sign.verify.d.ts +2 -2
  24. package/nestjs/src/lib/zoho.config.d.ts +2 -1
  25. package/package.json +8 -8
  26. package/src/lib/accounts/accounts.api.d.ts +10 -10
  27. package/src/lib/accounts/accounts.config.d.ts +2 -2
  28. package/src/lib/accounts/accounts.d.ts +3 -2
  29. package/src/lib/accounts/accounts.error.api.d.ts +5 -5
  30. package/src/lib/accounts/accounts.factory.d.ts +8 -6
  31. package/src/lib/crm/crm.api.d.ts +87 -81
  32. package/src/lib/crm/crm.api.notes.d.ts +11 -10
  33. package/src/lib/crm/crm.api.tags.d.ts +16 -14
  34. package/src/lib/crm/crm.config.d.ts +2 -2
  35. package/src/lib/crm/crm.d.ts +2 -2
  36. package/src/lib/crm/crm.error.api.d.ts +10 -10
  37. package/src/lib/crm/crm.factory.d.ts +3 -2
  38. package/src/lib/crm/crm.notes.d.ts +2 -2
  39. package/src/lib/desk/desk.agent.d.ts +2 -2
  40. package/src/lib/desk/desk.api.activities.d.ts +5 -4
  41. package/src/lib/desk/desk.api.agents.d.ts +11 -10
  42. package/src/lib/desk/desk.api.attachments.d.ts +4 -4
  43. package/src/lib/desk/desk.api.comments.d.ts +8 -8
  44. package/src/lib/desk/desk.api.contacts.d.ts +9 -8
  45. package/src/lib/desk/desk.api.departments.d.ts +4 -4
  46. package/src/lib/desk/desk.api.followers.d.ts +6 -6
  47. package/src/lib/desk/desk.api.page.d.ts +6 -5
  48. package/src/lib/desk/desk.api.tags.d.ts +10 -10
  49. package/src/lib/desk/desk.api.threads.d.ts +7 -6
  50. package/src/lib/desk/desk.api.tickets.d.ts +23 -21
  51. package/src/lib/desk/desk.api.time.d.ts +10 -10
  52. package/src/lib/desk/desk.config.d.ts +2 -2
  53. package/src/lib/desk/desk.error.api.d.ts +5 -5
  54. package/src/lib/desk/desk.factory.d.ts +3 -2
  55. package/src/lib/desk/desk.limit.d.ts +3 -3
  56. package/src/lib/desk/desk.ticket.d.ts +4 -4
  57. package/src/lib/recruit/recruit.api.candidates.d.ts +15 -13
  58. package/src/lib/recruit/recruit.api.d.ts +85 -80
  59. package/src/lib/recruit/recruit.api.notes.d.ts +11 -10
  60. package/src/lib/recruit/recruit.api.tags.d.ts +19 -18
  61. package/src/lib/recruit/recruit.config.d.ts +2 -2
  62. package/src/lib/recruit/recruit.d.ts +2 -2
  63. package/src/lib/recruit/recruit.error.api.d.ts +10 -10
  64. package/src/lib/recruit/recruit.factory.d.ts +3 -2
  65. package/src/lib/recruit/recruit.notes.d.ts +2 -2
  66. package/src/lib/shared/criteria.d.ts +5 -5
  67. package/src/lib/shared/criteria.util.d.ts +2 -2
  68. package/src/lib/sign/sign.api.d.ts +47 -46
  69. package/src/lib/sign/sign.api.page.d.ts +6 -5
  70. package/src/lib/sign/sign.config.d.ts +2 -2
  71. package/src/lib/sign/sign.d.ts +4 -4
  72. package/src/lib/sign/sign.error.api.d.ts +5 -5
  73. package/src/lib/sign/sign.factory.d.ts +3 -2
  74. package/src/lib/zoho.api.page.d.ts +5 -4
  75. package/src/lib/zoho.error.api.d.ts +17 -14
  76. package/src/lib/zoho.limit.d.ts +6 -5
  77. package/src/lib/zoho.type.d.ts +1 -1
@@ -17,285 +17,285 @@ export declare class ZohoDeskApi {
17
17
  /**
18
18
  * The authenticated Desk context used by all operation accessors.
19
19
  *
20
- * @returns the Desk context from the underlying client
20
+ * @returns The Desk context from the underlying client.
21
21
  */
22
22
  get deskContext(): ZohoDeskContext;
23
23
  /**
24
24
  * Rate limiter shared across all Desk requests to respect Zoho API quotas.
25
25
  *
26
- * @returns the shared rate limiter instance
26
+ * @returns The shared rate limiter instance.
27
27
  */
28
28
  get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
29
29
  /**
30
30
  * Initializes the Desk client by combining the service config with the
31
31
  * accounts context for OAuth token management.
32
32
  *
33
- * @param config - Zoho Desk service configuration
34
- * @param zohoAccountsApi - accounts API used for OAuth token management
33
+ * @param config - Zoho Desk service configuration.
34
+ * @param zohoAccountsApi - Accounts API used for OAuth token management.
35
35
  */
36
36
  constructor(config: ZohoDeskServiceConfig, zohoAccountsApi: ZohoAccountsApi);
37
37
  /**
38
38
  * Configured pass-through for {@link zohoDeskGetTickets}.
39
39
  *
40
- * @returns a function that lists Desk tickets matching the supplied filter/pagination input
40
+ * @returns Lists Desk tickets matching the supplied filter/pagination input.
41
41
  */
42
42
  get getTickets(): import("@dereekb/zoho").ZohoDeskGetTicketsFunction;
43
43
  /**
44
44
  * Configured pass-through for {@link zohoDeskGetTicketById}.
45
45
  *
46
- * @returns a function that fetches a single Desk ticket by its identifier
46
+ * @returns Fetches a single Desk ticket by its identifier.
47
47
  */
48
48
  get getTicketById(): import("@dereekb/zoho").ZohoDeskGetTicketByIdFunction;
49
49
  /**
50
50
  * Configured pass-through for {@link zohoDeskSearchTickets}.
51
51
  *
52
- * @returns a function that runs a Desk ticket search with the provided criteria
52
+ * @returns Runs a Desk ticket search with the provided criteria.
53
53
  */
54
54
  get searchTickets(): import("@dereekb/zoho").ZohoDeskSearchTicketsFunction;
55
55
  /**
56
56
  * Configured pass-through for {@link zohoDeskGetTicketsForContact}.
57
57
  *
58
- * @returns a function that lists Desk tickets associated with the given contact id
58
+ * @returns Lists Desk tickets associated with the given contact id.
59
59
  */
60
60
  get getTicketsForContact(): import("@dereekb/zoho").ZohoDeskGetTicketsForContactFunction;
61
61
  /**
62
62
  * Configured pass-through for {@link zohoDeskGetTicketsForProduct}.
63
63
  *
64
- * @returns a function that lists Desk tickets associated with the given product id
64
+ * @returns Lists Desk tickets associated with the given product id.
65
65
  */
66
66
  get getTicketsForProduct(): import("@dereekb/zoho").ZohoDeskGetTicketsForProductFunction;
67
67
  /**
68
68
  * Configured pass-through for {@link zohoDeskGetTicketMetrics}.
69
69
  *
70
- * @returns a function that fetches aggregated metrics for the requested Desk tickets
70
+ * @returns Fetches aggregated metrics for the requested Desk tickets.
71
71
  */
72
72
  get getTicketMetrics(): import("@dereekb/zoho").ZohoDeskGetTicketMetricsFunction;
73
73
  /**
74
74
  * Configured pass-through for {@link zohoDeskGetAgentsTicketsCount}.
75
75
  *
76
- * @returns a function that returns ticket counts grouped by agent for the requested filter
76
+ * @returns Returns ticket counts grouped by agent for the requested filter.
77
77
  */
78
78
  get getAgentsTicketsCount(): import("@dereekb/zoho").ZohoDeskGetAgentsTicketsCountFunction;
79
79
  /**
80
80
  * Configured pass-through for {@link zohoDeskGetTicketsPageFactory}.
81
81
  *
82
- * @returns a paged result factory for iterating over Desk ticket list responses
82
+ * @returns A paged result factory for iterating over Desk ticket list responses.
83
83
  */
84
84
  get getTicketsPageFactory(): import("@dereekb/zoho").ZohoDeskGetTicketsPageFactory;
85
85
  /**
86
86
  * Configured pass-through for {@link zohoDeskSearchTicketsPageFactory}.
87
87
  *
88
- * @returns a paged result factory for iterating over Desk ticket search responses
88
+ * @returns A paged result factory for iterating over Desk ticket search responses.
89
89
  */
90
90
  get searchTicketsPageFactory(): import("@dereekb/zoho").ZohoDeskSearchTicketsPageFactory;
91
91
  /**
92
92
  * Configured pass-through for {@link zohoDeskGetDepartments}.
93
93
  *
94
- * @returns a function that lists Desk departments visible to the authenticated portal
94
+ * @returns Lists Desk departments visible to the authenticated portal.
95
95
  */
96
96
  get getDepartments(): import("@dereekb/zoho").ZohoDeskGetDepartmentsFunction;
97
97
  /**
98
98
  * Configured pass-through for {@link zohoDeskGetDepartmentById}.
99
99
  *
100
- * @returns a function that fetches a single Desk department by its identifier
100
+ * @returns Fetches a single Desk department by its identifier.
101
101
  */
102
102
  get getDepartmentById(): import("@dereekb/zoho").ZohoDeskGetDepartmentByIdFunction;
103
103
  /**
104
104
  * Configured pass-through for {@link zohoDeskGetContacts}.
105
105
  *
106
- * @returns a function that lists Desk contacts matching the supplied filter/pagination input
106
+ * @returns Lists Desk contacts matching the supplied filter/pagination input.
107
107
  */
108
108
  get getContacts(): import("@dereekb/zoho").ZohoDeskGetContactsFunction;
109
109
  /**
110
110
  * Configured pass-through for {@link zohoDeskGetContactById}.
111
111
  *
112
- * @returns a function that fetches a single Desk contact by its identifier
112
+ * @returns Fetches a single Desk contact by its identifier.
113
113
  */
114
114
  get getContactById(): import("@dereekb/zoho").ZohoDeskGetContactByIdFunction;
115
115
  /**
116
116
  * Configured pass-through for {@link zohoDeskGetContactsByIds}.
117
117
  *
118
- * @returns a function that fetches multiple Desk contacts in a single request by their identifiers
118
+ * @returns Fetches multiple Desk contacts in a single request by their identifiers.
119
119
  */
120
120
  get getContactsByIds(): import("@dereekb/zoho").ZohoDeskGetContactsByIdsFunction;
121
121
  /**
122
122
  * Configured pass-through for {@link zohoDeskGetContactsPageFactory}.
123
123
  *
124
- * @returns a paged result factory for iterating over Desk contact list responses
124
+ * @returns A paged result factory for iterating over Desk contact list responses.
125
125
  */
126
126
  get getContactsPageFactory(): import("@dereekb/zoho").ZohoDeskGetContactsPageFactory;
127
127
  /**
128
128
  * Configured pass-through for {@link zohoDeskGetTicketTags}.
129
129
  *
130
- * @returns a function that lists the tags currently associated with a given Desk ticket
130
+ * @returns Lists the tags currently associated with a given Desk ticket.
131
131
  */
132
132
  get getTicketTags(): import("@dereekb/zoho").ZohoDeskGetTicketTagsFunction;
133
133
  /**
134
134
  * Configured pass-through for {@link zohoDeskAssociateTicketTags}.
135
135
  *
136
- * @returns a function that associates one or more tags with a Desk ticket
136
+ * @returns Associates one or more tags with a Desk ticket.
137
137
  */
138
138
  get associateTicketTags(): import("@dereekb/zoho").ZohoDeskAssociateTicketTagsFunction;
139
139
  /**
140
140
  * Configured pass-through for {@link zohoDeskDissociateTicketTag}.
141
141
  *
142
- * @returns a function that removes a single tag association from a Desk ticket
142
+ * @returns Removes a single tag association from a Desk ticket.
143
143
  */
144
144
  get dissociateTicketTag(): import("@dereekb/zoho").ZohoDeskDissociateTicketTagFunction;
145
145
  /**
146
146
  * Configured pass-through for {@link zohoDeskSearchTags}.
147
147
  *
148
- * @returns a function that searches the Desk tag catalog by the supplied criteria
148
+ * @returns Searches the Desk tag catalog by the supplied criteria.
149
149
  */
150
150
  get searchTags(): import("@dereekb/zoho").ZohoDeskSearchTagsFunction;
151
151
  /**
152
152
  * Configured pass-through for {@link zohoDeskGetAllTags}.
153
153
  *
154
- * @returns a function that lists every tag defined on the Desk portal
154
+ * @returns Lists every tag defined on the Desk portal.
155
155
  */
156
156
  get getAllTags(): import("@dereekb/zoho").ZohoDeskGetAllTagsFunction;
157
157
  /**
158
158
  * Configured pass-through for {@link zohoDeskGetTicketFollowers}.
159
159
  *
160
- * @returns a function that lists the agents following a given Desk ticket
160
+ * @returns Lists the agents following a given Desk ticket.
161
161
  */
162
162
  get getTicketFollowers(): import("@dereekb/zoho").ZohoDeskGetTicketFollowersFunction;
163
163
  /**
164
164
  * Configured pass-through for {@link zohoDeskAddTicketFollowers}.
165
165
  *
166
- * @returns a function that adds one or more agents as followers of a Desk ticket
166
+ * @returns Adds one or more agents as followers of a Desk ticket.
167
167
  */
168
168
  get addTicketFollowers(): import("@dereekb/zoho").ZohoDeskAddTicketFollowersFunction;
169
169
  /**
170
170
  * Configured pass-through for {@link zohoDeskRemoveTicketFollowers}.
171
171
  *
172
- * @returns a function that removes one or more agents from a Desk ticket's follower list
172
+ * @returns Removes one or more agents from a Desk ticket's follower list.
173
173
  */
174
174
  get removeTicketFollowers(): import("@dereekb/zoho").ZohoDeskRemoveTicketFollowersFunction;
175
175
  /**
176
176
  * Configured pass-through for {@link zohoDeskGetTicketAttachments}.
177
177
  *
178
- * @returns a function that lists the file attachments on a given Desk ticket
178
+ * @returns Lists the file attachments on a given Desk ticket.
179
179
  */
180
180
  get getTicketAttachments(): import("@dereekb/zoho").ZohoDeskGetTicketAttachmentsFunction;
181
181
  /**
182
182
  * Configured pass-through for {@link zohoDeskDeleteTicketAttachment}.
183
183
  *
184
- * @returns a function that deletes a single attachment from a Desk ticket by attachment id
184
+ * @returns Deletes a single attachment from a Desk ticket by attachment id.
185
185
  */
186
186
  get deleteTicketAttachment(): import("@dereekb/zoho").ZohoDeskDeleteTicketAttachmentFunction;
187
187
  /**
188
188
  * Configured pass-through for {@link zohoDeskGetTicketComments}.
189
189
  *
190
- * @returns a function that lists the comments on a given Desk ticket
190
+ * @returns Lists the comments on a given Desk ticket.
191
191
  */
192
192
  get getTicketComments(): import("@dereekb/zoho").ZohoDeskGetTicketCommentsFunction;
193
193
  /**
194
194
  * Configured pass-through for {@link zohoDeskGetTicketCommentById}.
195
195
  *
196
- * @returns a function that fetches a single comment on a Desk ticket by comment id
196
+ * @returns Fetches a single comment on a Desk ticket by comment id.
197
197
  */
198
198
  get getTicketCommentById(): import("@dereekb/zoho").ZohoDeskGetTicketCommentByIdFunction;
199
199
  /**
200
200
  * Configured pass-through for {@link zohoDeskCreateTicketComment}.
201
201
  *
202
- * @returns a function that creates a new comment on a Desk ticket from the supplied body
202
+ * @returns Creates a new comment on a Desk ticket from the supplied body.
203
203
  */
204
204
  get createTicketComment(): import("@dereekb/zoho").ZohoDeskCreateTicketCommentFunction;
205
205
  /**
206
206
  * Configured pass-through for {@link zohoDeskDeleteTicketComment}.
207
207
  *
208
- * @returns a function that deletes a single comment from a Desk ticket by comment id
208
+ * @returns Deletes a single comment from a Desk ticket by comment id.
209
209
  */
210
210
  get deleteTicketComment(): import("@dereekb/zoho").ZohoDeskDeleteTicketCommentFunction;
211
211
  /**
212
212
  * Configured pass-through for {@link zohoDeskGetTicketTimer}.
213
213
  *
214
- * @returns a function that fetches the current timer state for a Desk ticket
214
+ * @returns Fetches the current timer state for a Desk ticket.
215
215
  */
216
216
  get getTicketTimer(): import("@dereekb/zoho").ZohoDeskGetTicketTimerFunction;
217
217
  /**
218
218
  * Configured pass-through for {@link zohoDeskPerformTicketTimerAction}.
219
219
  *
220
- * @returns a function that performs a timer action (start/pause/stop) on a Desk ticket
220
+ * @returns Performs a timer action (start/pause/stop) on a Desk ticket.
221
221
  */
222
222
  get performTicketTimerAction(): import("@dereekb/zoho").ZohoDeskPerformTicketTimerActionFunction;
223
223
  /**
224
224
  * Configured pass-through for {@link zohoDeskGetTicketTimeEntries}.
225
225
  *
226
- * @returns a function that lists the time entries logged against a Desk ticket
226
+ * @returns Lists the time entries logged against a Desk ticket.
227
227
  */
228
228
  get getTicketTimeEntries(): import("@dereekb/zoho").ZohoDeskGetTicketTimeEntriesFunction;
229
229
  /**
230
230
  * Configured pass-through for {@link zohoDeskGetTicketTimeEntryById}.
231
231
  *
232
- * @returns a function that fetches a single time entry on a Desk ticket by entry id
232
+ * @returns Fetches a single time entry on a Desk ticket by entry id.
233
233
  */
234
234
  get getTicketTimeEntryById(): import("@dereekb/zoho").ZohoDeskGetTicketTimeEntryByIdFunction;
235
235
  /**
236
236
  * Configured pass-through for {@link zohoDeskGetTicketTimeEntrySummation}.
237
237
  *
238
- * @returns a function that fetches the aggregated time-entry totals for a Desk ticket
238
+ * @returns Fetches the aggregated time-entry totals for a Desk ticket.
239
239
  */
240
240
  get getTicketTimeEntrySummation(): import("@dereekb/zoho").ZohoDeskGetTicketTimeEntrySummationFunction;
241
241
  /**
242
242
  * Configured pass-through for {@link zohoDeskGetTicketThreads}.
243
243
  *
244
- * @returns a function that lists the conversation threads on a given Desk ticket
244
+ * @returns Lists the conversation threads on a given Desk ticket.
245
245
  */
246
246
  get getTicketThreads(): import("@dereekb/zoho").ZohoDeskGetTicketThreadsFunction;
247
247
  /**
248
248
  * Configured pass-through for {@link zohoDeskGetTicketThreadById}.
249
249
  *
250
- * @returns a function that fetches a single thread on a Desk ticket by thread id
250
+ * @returns Fetches a single thread on a Desk ticket by thread id.
251
251
  */
252
252
  get getTicketThreadById(): import("@dereekb/zoho").ZohoDeskGetTicketThreadByIdFunction;
253
253
  /**
254
254
  * Configured pass-through for {@link zohoDeskGetTicketThreadsPageFactory}.
255
255
  *
256
- * @returns a paged result factory for iterating over Desk ticket thread responses
256
+ * @returns A paged result factory for iterating over Desk ticket thread responses.
257
257
  */
258
258
  get getTicketThreadsPageFactory(): import("@dereekb/zoho").ZohoDeskGetTicketThreadsPageFactory;
259
259
  /**
260
260
  * Configured pass-through for {@link zohoDeskGetTicketActivities}.
261
261
  *
262
- * @returns a function that lists the activity log entries for a given Desk ticket
262
+ * @returns Lists the activity log entries for a given Desk ticket.
263
263
  */
264
264
  get getTicketActivities(): import("@dereekb/zoho").ZohoDeskGetTicketActivitiesFunction;
265
265
  /**
266
266
  * Configured pass-through for {@link zohoDeskGetTicketActivitiesPageFactory}.
267
267
  *
268
- * @returns a paged result factory for iterating over Desk ticket activity responses
268
+ * @returns A paged result factory for iterating over Desk ticket activity responses.
269
269
  */
270
270
  get getTicketActivitiesPageFactory(): import("@dereekb/zoho").ZohoDeskGetTicketActivitiesPageFactory;
271
271
  /**
272
272
  * Configured pass-through for {@link zohoDeskGetAgents}.
273
273
  *
274
- * @returns a function that lists Desk agents matching the supplied filter/pagination input
274
+ * @returns Lists Desk agents matching the supplied filter/pagination input.
275
275
  */
276
276
  get getAgents(): import("@dereekb/zoho").ZohoDeskGetAgentsFunction;
277
277
  /**
278
278
  * Configured pass-through for {@link zohoDeskGetAgentById}.
279
279
  *
280
- * @returns a function that fetches a single Desk agent by agent id
280
+ * @returns Fetches a single Desk agent by agent id.
281
281
  */
282
282
  get getAgentById(): import("@dereekb/zoho").ZohoDeskGetAgentByIdFunction;
283
283
  /**
284
284
  * Configured pass-through for {@link zohoDeskGetAgentsByIds}.
285
285
  *
286
- * @returns a function that fetches multiple Desk agents in a single request by their identifiers
286
+ * @returns Fetches multiple Desk agents in a single request by their identifiers.
287
287
  */
288
288
  get getAgentsByIds(): import("@dereekb/zoho").ZohoDeskGetAgentsByIdsFunction;
289
289
  /**
290
290
  * Configured pass-through for {@link zohoDeskGetMyInfo}.
291
291
  *
292
- * @returns a function that fetches the profile information for the currently authenticated agent
292
+ * @returns Fetches the profile information for the currently authenticated agent.
293
293
  */
294
294
  get getMyInfo(): import("@dereekb/zoho").ZohoDeskGetMyInfoFunction;
295
295
  /**
296
296
  * Configured pass-through for {@link zohoDeskGetAgentsPageFactory}.
297
297
  *
298
- * @returns a paged result factory for iterating over Desk agent list responses
298
+ * @returns A paged result factory for iterating over Desk agent list responses.
299
299
  */
300
300
  get getAgentsPageFactory(): import("@dereekb/zoho").ZohoDeskGetAgentsPageFactory;
301
301
  }
@@ -21,7 +21,8 @@ export declare abstract class ZohoDeskServiceConfig {
21
21
  /**
22
22
  * Validates that the required Zoho Desk connection fields are present and well-formed.
23
23
  *
24
- * @param config - the Desk service config to validate
24
+ * @param config - The Desk service config to validate.
25
+ * @throws {Error} When `config.zohoDesk.orgId` is missing or fails the shared Zoho config assertion.
25
26
  */
26
27
  static assertValidConfig(config: ZohoDeskServiceConfig): void;
27
28
  }
@@ -16,17 +16,17 @@ export declare const ZOHO_ORG_ID_CONFIG_KEY = "ORG_ID";
16
16
  * `ZOHO_DESK_API_URL` (service-specific) or `ZOHO_API_URL` (shared fallback).
17
17
  * The organization ID is read from `ZOHO_DESK_ORG_ID` or `ZOHO_ORG_ID`.
18
18
  *
19
- * @param configService - NestJS config service populated with Zoho environment variables
20
- * @returns Validated Zoho Desk service configuration
21
- * @throws {Error} If required config values (API URL or orgId) are missing
19
+ * @param configService - NestJS config service populated with Zoho environment variables.
20
+ * @returns Validated Zoho Desk service configuration.
21
+ * @throws {Error} If required config values (API URL or orgId) are missing.
22
22
  */
23
23
  export declare function zohoDeskServiceConfigFactory(configService: ConfigService): ZohoDeskServiceConfig;
24
24
  /**
25
25
  * Reads Zoho Accounts (OAuth) settings scoped to the Desk service from
26
26
  * the NestJS ConfigService and returns an accounts service config.
27
27
  *
28
- * @param configService - NestJS config service populated with Zoho OAuth environment variables
29
- * @returns Zoho Accounts service config scoped to the Desk service access token
28
+ * @param configService - NestJS config service populated with Zoho OAuth environment variables.
29
+ * @returns Zoho Accounts service config scoped to the Desk service access token.
30
30
  */
31
31
  export declare function zohoDeskAccountServiceConfigFactory(configService: ConfigService): ZohoAccountsServiceConfig;
32
32
  /**
@@ -56,7 +56,7 @@ export interface ProvideAppZohoDeskMetadataConfig extends Pick<ModuleMetadata, '
56
56
  * exports {@link ZohoDeskApi} by default. Additional imports, exports, and providers
57
57
  * from the config are merged in.
58
58
  *
59
- * @param config - Module configuration with optional dependency module and extra metadata
59
+ * @param config - Module configuration with optional dependency module and extra metadata.
60
60
  * @returns Complete NestJS module metadata ready to pass to `@Module()`
61
61
  */
62
62
  export declare function appZohoDeskModuleMetadata(config: ProvideAppZohoDeskMetadataConfig): ModuleMetadata;
@@ -17,189 +17,189 @@ export declare class ZohoRecruitApi {
17
17
  /**
18
18
  * The authenticated Recruit context used by all operation accessors.
19
19
  *
20
- * @returns the Recruit context from the underlying client
20
+ * @returns The Recruit context from the underlying client.
21
21
  */
22
22
  get recruitContext(): ZohoRecruitContext;
23
23
  /**
24
24
  * Rate limiter shared across all Recruit requests to respect Zoho API quotas.
25
25
  *
26
- * @returns the shared rate limiter instance
26
+ * @returns The shared rate limiter instance.
27
27
  */
28
28
  get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
29
29
  /**
30
30
  * Initializes the Recruit client by combining the service config with the
31
31
  * accounts context for OAuth token management.
32
32
  *
33
- * @param config - Zoho Recruit service configuration
34
- * @param zohoAccountsApi - accounts API used for OAuth token management
33
+ * @param config - Zoho Recruit service configuration.
34
+ * @param zohoAccountsApi - Accounts API used for OAuth token management.
35
35
  */
36
36
  constructor(config: ZohoRecruitServiceConfig, zohoAccountsApi: ZohoAccountsApi);
37
37
  /**
38
38
  * Configured pass-through for {@link zohoRecruitInsertRecord}.
39
39
  *
40
- * @returns bound insert record function
40
+ * @returns Bound insert record function.
41
41
  */
42
42
  get insertRecord(): import("@dereekb/zoho").ZohoRecruitCreateRecordLikeFunction;
43
43
  /**
44
44
  * Configured pass-through for {@link zohoRecruitUpsertRecord}.
45
45
  *
46
- * @returns bound upsert record function
46
+ * @returns Bound upsert record function.
47
47
  */
48
48
  get upsertRecord(): import("@dereekb/zoho").ZohoRecruitUpsertRecordLikeFunction;
49
49
  /**
50
50
  * Configured pass-through for {@link zohoRecruitUpdateRecord}.
51
51
  *
52
- * @returns bound update record function
52
+ * @returns Bound update record function.
53
53
  */
54
54
  get updateRecord(): import("@dereekb/zoho").ZohoRecruitUpdateRecordLikeFunction;
55
55
  /**
56
56
  * Configured pass-through for {@link zohoRecruitDeleteRecord}.
57
57
  *
58
- * @returns bound delete record function
58
+ * @returns Bound delete record function.
59
59
  */
60
60
  get deleteRecord(): import("@dereekb/zoho").ZohoRecruitDeleteRecordFunction;
61
61
  /**
62
62
  * Configured pass-through for {@link zohoRecruitGetRecordById}.
63
63
  *
64
- * @returns bound get record by ID function
64
+ * @returns Bound get record by ID function.
65
65
  */
66
66
  get getRecordById(): import("@dereekb/zoho").ZohoRecruitGetRecordByIdFunction;
67
67
  /**
68
68
  * Configured pass-through for {@link zohoRecruitGetRecords}.
69
69
  *
70
- * @returns bound get records function
70
+ * @returns Bound get records function.
71
71
  */
72
72
  get getRecords(): import("@dereekb/zoho").ZohoRecruitGetRecordsFunction;
73
73
  /**
74
74
  * Configured pass-through for {@link zohoRecruitSearchRecords}.
75
75
  *
76
- * @returns bound search records function
76
+ * @returns Bound search records function.
77
77
  */
78
78
  get searchRecords(): import("@dereekb/zoho").ZohoRecruitSearchRecordsFunction;
79
79
  /**
80
80
  * Configured pass-through for {@link zohoRecruitSearchRecordsPageFactory}.
81
81
  *
82
- * @returns bound search records page factory function
82
+ * @returns Bound search records page factory function.
83
83
  */
84
84
  get searchRecordsPageFactory(): import("@dereekb/zoho").ZohoRecruitSearchRecordsPageFactory;
85
85
  /**
86
86
  * Configured pass-through for {@link zohoRecruitGetRelatedRecordsFunctionFactory}.
87
87
  *
88
- * @returns bound get related records factory function
88
+ * @returns Bound get related records factory function.
89
89
  */
90
90
  get getRelatedRecordsFunctionFactory(): import("@dereekb/zoho").ZohoRecruitGetRelatedRecordsFunctionFactory;
91
91
  /**
92
92
  * Configured pass-through for {@link zohoRecruitGetEmailsForRecord}.
93
93
  *
94
- * @returns bound get emails for record function
94
+ * @returns Bound get emails for record function.
95
95
  */
96
96
  get getEmailsForRecord(): import("@dereekb/zoho").ZohoRecruitGetEmailsForRecordFunction;
97
97
  /**
98
98
  * Configured pass-through for {@link zohoRecruitGetEmailsForRecordPageFactory}.
99
99
  *
100
- * @returns bound get emails page factory function
100
+ * @returns Bound get emails page factory function.
101
101
  */
102
102
  get getEmailsForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetEmailsForRecordPageFactory;
103
103
  /**
104
104
  * Configured pass-through for {@link zohoRecruitGetAttachmentsForRecord}.
105
105
  *
106
- * @returns bound get attachments for record function
106
+ * @returns Bound get attachments for record function.
107
107
  */
108
108
  get getAttachmentsForRecord(): import("@dereekb/zoho").ZohoRecruitGetAttachmentsForRecordFunction;
109
109
  /**
110
110
  * Configured pass-through for {@link zohoRecruitGetAttachmentsForRecordPageFactory}.
111
111
  *
112
- * @returns bound get attachments page factory function
112
+ * @returns Bound get attachments page factory function.
113
113
  */
114
114
  get getAttachmentsForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetAttachmentsForRecordPageFactory;
115
115
  /**
116
116
  * Configured pass-through for {@link zohoRecruitUploadAttachmentForRecord}.
117
117
  *
118
- * @returns bound upload attachment function
118
+ * @returns Bound upload attachment function.
119
119
  */
120
120
  get uploadAttachmentForRecord(): import("@dereekb/zoho").ZohoRecruitUploadAttachmentForRecordFunction;
121
121
  /**
122
122
  * Configured pass-through for {@link zohoRecruitDownloadAttachmentForRecord}.
123
123
  *
124
- * @returns bound download attachment function
124
+ * @returns Bound download attachment function.
125
125
  */
126
126
  get downloadAttachmentForRecord(): import("@dereekb/zoho").ZohoRecruitDownloadAttachmentForRecordFunction;
127
127
  /**
128
128
  * Configured pass-through for {@link zohoRecruitDeleteAttachmentFromRecord}.
129
129
  *
130
- * @returns bound delete attachment function
130
+ * @returns Bound delete attachment function.
131
131
  */
132
132
  get deleteAttachmentFromRecord(): import("@dereekb/zoho").ZohoRecruitDeleteAttachmentFromRecordFunction;
133
133
  /**
134
134
  * Configured pass-through for {@link zohoRecruitCreateNotes}.
135
135
  *
136
- * @returns bound create notes function
136
+ * @returns Bound create notes function.
137
137
  */
138
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>>;
139
139
  /**
140
140
  * Configured pass-through for {@link zohoRecruitDeleteNotes}.
141
141
  *
142
- * @returns bound delete notes function
142
+ * @returns Bound delete notes function.
143
143
  */
144
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>>;
145
145
  /**
146
146
  * Configured pass-through for {@link zohoRecruitCreateNotesForRecord}.
147
147
  *
148
- * @returns bound create notes for record function
148
+ * @returns Bound create notes for record function.
149
149
  */
150
150
  get createNotesForRecord(): import("@dereekb/zoho").ZohoRecruitCreateNotesForRecordFunction;
151
151
  /**
152
152
  * Configured pass-through for {@link zohoRecruitGetNotesForRecord}.
153
153
  *
154
- * @returns bound get notes for record function
154
+ * @returns Bound get notes for record function.
155
155
  */
156
156
  get getNotesForRecord(): import("@dereekb/zoho").ZohoRecruitGetNotesForRecordFunction;
157
157
  /**
158
158
  * Configured pass-through for {@link zohoRecruitGetNotesForRecordPageFactory}.
159
159
  *
160
- * @returns bound get notes page factory function
160
+ * @returns Bound get notes page factory function.
161
161
  */
162
162
  get getNotesForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetNotesForRecordPageFactory;
163
163
  /**
164
164
  * Configured pass-through for {@link zohoRecruitExecuteRestApiFunction}.
165
165
  *
166
- * @returns bound execute REST API function
166
+ * @returns Bound execute REST API function.
167
167
  */
168
168
  get executeRestApiFunction(): import("@dereekb/zoho").ZohoRecruitExecuteRestApiFunctionFunction;
169
169
  /**
170
170
  * Configured pass-through for {@link zohoRecruitAssociateCandidateRecordsWithJobOpenings}.
171
171
  *
172
- * @returns bound associate candidates with job openings function
172
+ * @returns Bound associate candidates with job openings function.
173
173
  */
174
174
  get associateCandidateRecordsWithJobOpenings(): import("@dereekb/zoho").ZohoRecruitAssociateCandidateRecordsWithJobOpeningsFunction;
175
175
  /**
176
176
  * Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecords}.
177
177
  *
178
- * @returns bound search candidate associated job openings function
178
+ * @returns Bound search candidate associated job openings function.
179
179
  */
180
180
  get searchCandidateAssociatedJobOpeningRecords(): import("@dereekb/zoho").ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsFunction<import("@dereekb/zoho").ZohoRecruitRecord>;
181
181
  /**
182
182
  * Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory}.
183
183
  *
184
- * @returns bound search candidate job openings page factory function
184
+ * @returns Bound search candidate job openings page factory function.
185
185
  */
186
186
  get searchCandidateAssociatedJobOpeningRecordsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsInput, import("@dereekb/zoho").ZohoRecruitSearchAssociatedRecordsResponse<import("@dereekb/zoho").ZohoRecruitRecord>>;
187
187
  /**
188
188
  * Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecords}.
189
189
  *
190
- * @returns bound search job opening associated candidates function
190
+ * @returns Bound search job opening associated candidates function.
191
191
  */
192
192
  get searchJobOpeningAssociatedCandidateRecords(): import("@dereekb/zoho").ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsFunction<import("@dereekb/zoho").ZohoRecruitRecord>;
193
193
  /**
194
194
  * Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory}.
195
195
  *
196
- * @returns bound search job opening candidates page factory function
196
+ * @returns Bound search job opening candidates page factory function.
197
197
  */
198
198
  get searchJobOpeningAssociatedCandidateRecordsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsInput, import("@dereekb/zoho").ZohoRecruitSearchAssociatedRecordsResponse<import("@dereekb/zoho").ZohoRecruitRecord>>;
199
199
  /**
200
200
  * Configured pass-through for {@link zohoRecruitCreateTagsForModule}.
201
201
  *
202
- * @returns bound create tags for module function
202
+ * @returns Bound create tags for module function.
203
203
  */
204
204
  get createTagsForModule(): (input: import("@dereekb/zoho").ZohoRecruitCreateTagsRequest) => Promise<{
205
205
  errorItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>[];
@@ -210,19 +210,19 @@ export declare class ZohoRecruitApi {
210
210
  /**
211
211
  * Configured pass-through for {@link zohoRecruitGetTagsForModule}.
212
212
  *
213
- * @returns bound get tags for module function
213
+ * @returns Bound get tags for module function.
214
214
  */
215
215
  get getTagsForModule(): import("@dereekb/zoho").ZohoRecruitGetTagsFunction;
216
216
  /**
217
217
  * Configured pass-through for {@link zohoRecruitAddTagsToRecords}.
218
218
  *
219
- * @returns bound add tags to records function
219
+ * @returns Bound add tags to records function.
220
220
  */
221
221
  get addTagsToRecords(): import("@dereekb/zoho").ZohoRecruitAddTagsToRecordsFunction;
222
222
  /**
223
223
  * Configured pass-through for {@link zohoRecruitRemoveTagsFromRecords}.
224
224
  *
225
- * @returns bound remove tags from records function
225
+ * @returns Bound remove tags from records function.
226
226
  */
227
227
  get removeTagsFromRecords(): import("@dereekb/zoho").ZohoRecruitRemoveTagsFromRecordsFunction;
228
228
  }
@@ -21,7 +21,7 @@ export declare abstract class ZohoRecruitServiceConfig {
21
21
  /**
22
22
  * Validates that the required Zoho Recruit connection fields are present and well-formed.
23
23
  *
24
- * @param config - the Recruit service config to validate
24
+ * @param config - The Recruit service config to validate.
25
25
  */
26
26
  static assertValidConfig(config: ZohoRecruitServiceConfig): void;
27
27
  }