@dereekb/zoho 13.4.0 → 13.4.1

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 +292 -95
  2. package/index.esm.js +292 -96
  3. package/nestjs/index.cjs.js +407 -89
  4. package/nestjs/index.esm.js +407 -89
  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
@@ -50,27 +50,33 @@ function zohoConfigServiceReaderFunction(inputOrKey, inputConfigService) {
50
50
  return (_configService_get = configService.get(serviceSpecificConfigKey)) !== null && _configService_get !== void 0 ? _configService_get : configService.get(baseConfigKey);
51
51
  };
52
52
  }
53
- /**
54
- * Reads the ZohoConfig config from the ConfigService.
55
- *
56
- * @param configService
57
- * @param prefix
58
- */ function readZohoConfigFromConfigService(configService, servicePrefix) {
53
+ function readZohoConfigFromConfigService(configOrService, servicePrefix) {
59
54
  var assertValid = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : true;
60
55
  var _configService_get;
56
+ var configService;
57
+ if ('configService' in configOrService) {
58
+ var _configOrService_assertValid;
59
+ configService = configOrService.configService;
60
+ servicePrefix = configOrService.servicePrefix;
61
+ assertValid = (_configOrService_assertValid = configOrService.assertValid) !== null && _configOrService_assertValid !== void 0 ? _configOrService_assertValid : true;
62
+ } else {
63
+ configService = configOrService;
64
+ }
61
65
  var servicePrefixString = servicePrefix ? "".concat(servicePrefix, "_") : '';
62
66
  var apiUrlConfigKey = "".concat(servicePrefixString).concat(ZOHO_API_URL_CONFIG_KEY);
63
67
  var config = {
64
68
  apiUrl: (_configService_get = configService.get(apiUrlConfigKey)) !== null && _configService_get !== void 0 ? _configService_get : configService.get(ZOHO_API_URL_CONFIG_KEY)
65
69
  };
66
- if (assertValid) {
67
- if (!config.apiUrl) {
68
- throw new Error('No Zoho API url or type specified for key "'.concat(apiUrlConfigKey, '".'));
69
- }
70
+ if (assertValid && !config.apiUrl) {
71
+ throw new Error('No Zoho API url or type specified for key "'.concat(apiUrlConfigKey, '".'));
70
72
  }
71
73
  return config;
72
74
  }
73
- function assertValidZohoConfig(config) {
75
+ /**
76
+ * Asserts that the provided ZohoConfig has a valid API URL configured.
77
+ *
78
+ * @param config - the Zoho config to validate
79
+ */ function assertValidZohoConfig(config) {
74
80
  if (!config.apiUrl) {
75
81
  throw new Error("No Zoho API url or type specified.");
76
82
  }
@@ -121,6 +127,7 @@ function _define_property$c(obj, key, value) {
121
127
  value: function assertValidConfig(config) {
122
128
  var zohoAccounts = config.zohoAccounts;
123
129
  if (!zohoAccounts) {
130
+ // eslint-disable-line @typescript-eslint/no-unnecessary-condition -- runtime guard for consumers passing invalid config
124
131
  throw new Error('ZohoAccountsServiceConfig.zohoAccounts is required');
125
132
  } else {
126
133
  if (!zohoAccounts.serviceAccessTokenKey) {
@@ -406,7 +413,11 @@ function _ts_generator$3(thisArg, body) {
406
413
  exports.ZohoAccountsAccessTokenCacheService = __decorate([
407
414
  common.Injectable()
408
415
  ], exports.ZohoAccountsAccessTokenCacheService);
409
- function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction(failedUpdates) {
416
+ /**
417
+ * Default error logging function for merged Zoho access token cache services.
418
+ *
419
+ * @param failedUpdates - array of cache/error tuples that failed during update
420
+ */ function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction(failedUpdates) {
410
421
  console.warn("mergeZohoAccountsAccessTokenCacheServices(): failed updating ".concat(failedUpdates.length, " caches."));
411
422
  failedUpdates.forEach(function(param, i) {
412
423
  var _param = _sliced_to_array(param, 2); _param[0]; var e = _param[1];
@@ -421,6 +432,9 @@ function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction(failedUpdates)
421
432
  * When updating a cached token, it will update the token across all services.
422
433
  *
423
434
  * @param servicesToMerge Must include atleast one service. Empty arrays will throw an error.
435
+ * @param inputServicesToMerge - cache services to merge in priority order
436
+ * @param logError - optional error logging toggle or custom logging function
437
+ * @returns a merged ZohoAccountsAccessTokenCacheService that delegates across all inputs
424
438
  */ function mergeZohoAccountsAccessTokenCacheServices(inputServicesToMerge, logError) {
425
439
  var services = _to_consumable_array$3(inputServicesToMerge);
426
440
  var logErrorFunction = typeof logError === 'function' ? logError : logError !== false ? logMergeZohoAccountsAccessTokenCacheServiceErrorFunction : undefined;
@@ -470,6 +484,7 @@ function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction(failedUpdates)
470
484
  })).then(function(x) {
471
485
  // only find the failures if we're logging
472
486
  if (logErrorFunction != null) {
487
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- PromiseSettledResult requires any for generic access
473
488
  var failedUpdates = util.filterMaybeArrayValues(x.map(function(y) {
474
489
  return y.value;
475
490
  }));
@@ -512,7 +527,9 @@ function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction(failedUpdates)
512
527
  /**
513
528
  * Creates a ZohoAccountsAccessTokenCacheService that uses in-memory storage.
514
529
  *
515
- * @returns
530
+ * @param existingCache - optional pre-populated token cache record to use as initial state
531
+ * @param logAccessToConsole - whether to log cache reads and writes to the console
532
+ * @returns a ZohoAccountsAccessTokenCacheService backed by in-memory storage
516
533
  */ function memoryZohoAccountsAccessTokenCacheService(existingCache, logAccessToConsole) {
517
534
  var tokens = existingCache !== null && existingCache !== void 0 ? existingCache : {};
518
535
  function loadZohoAccessTokenCache(service) {
@@ -580,7 +597,9 @@ var DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH = '.tmp/zoho-acce
580
597
  *
581
598
  * Useful for testing.
582
599
  *
583
- * @returns
600
+ * @param filename - path to the JSON file used for token persistence
601
+ * @param useMemoryCache - whether to also cache tokens in memory for faster reads
602
+ * @returns a FileSystemZohoAccountsAccessTokenCacheService backed by file storage
584
603
  */ function fileZohoAccountsAccessTokenCacheService() {
585
604
  var filename = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH, useMemoryCache = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
586
605
  var loadedTokens = null;
@@ -687,7 +706,7 @@ var DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH = '.tmp/zoho-acce
687
706
  var accessTokenCache = {
688
707
  loadCachedToken: function loadCachedToken() {
689
708
  return _async_to_generator$3(function() {
690
- var tokens, token;
709
+ var tokens;
691
710
  return _ts_generator$3(this, function(_state) {
692
711
  switch(_state.label){
693
712
  case 0:
@@ -697,11 +716,10 @@ var DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH = '.tmp/zoho-acce
697
716
  ];
698
717
  case 1:
699
718
  tokens = _state.sent();
700
- token = tokens[service];
701
719
  // console.log('retrieving access token from file: ', { token, service });
702
720
  return [
703
721
  2,
704
- token
722
+ tokens[service]
705
723
  ];
706
724
  }
707
725
  });
@@ -719,6 +737,7 @@ var DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH = '.tmp/zoho-acce
719
737
  ];
720
738
  case 1:
721
739
  tokens = _state.sent();
740
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- defensive guard in case loadTokens() changes
722
741
  if (tokens) {
723
742
  tokens[service] = accessToken;
724
743
  }
@@ -852,13 +871,13 @@ function _object_spread$4(target) {
852
871
  exports.ZohoAccountsApi = /*#__PURE__*/ function() {
853
872
  function ZohoAccountsApi(config, cacheService) {
854
873
  _class_call_check$a(this, ZohoAccountsApi);
855
- var _config_factoryConfig;
874
+ var _config_zohoAccounts_accessTokenCache, _config_factoryConfig;
856
875
  _define_property$a(this, "config", void 0);
857
876
  _define_property$a(this, "cacheService", void 0);
858
877
  _define_property$a(this, "zohoAccounts", void 0);
859
878
  this.config = config;
860
879
  this.cacheService = cacheService;
861
- var accessTokenCache = config.zohoAccounts.accessTokenCache ? config.zohoAccounts.accessTokenCache : cacheService.loadZohoAccessTokenCache(config.zohoAccounts.serviceAccessTokenKey);
880
+ var accessTokenCache = (_config_zohoAccounts_accessTokenCache = config.zohoAccounts.accessTokenCache) !== null && _config_zohoAccounts_accessTokenCache !== void 0 ? _config_zohoAccounts_accessTokenCache : cacheService.loadZohoAccessTokenCache(config.zohoAccounts.serviceAccessTokenKey);
862
881
  this.zohoAccounts = zoho.zohoAccountsFactory((_config_factoryConfig = config.factoryConfig) !== null && _config_factoryConfig !== void 0 ? _config_factoryConfig : {})(_object_spread$4({
863
882
  accessTokenCache: accessTokenCache
864
883
  }, config.zohoAccounts));
@@ -937,6 +956,8 @@ function _define_property$9(obj, key, value) {
937
956
  key: "assertValidConfig",
938
957
  value: /**
939
958
  * Validates that the required Zoho CRM connection fields are present and well-formed.
959
+ *
960
+ * @param config - the CRM service config to validate
940
961
  */ function assertValidConfig(config) {
941
962
  assertValidZohoConfig(config.zohoCrm);
942
963
  }
@@ -1035,6 +1056,8 @@ function _object_spread_props$3(target, source) {
1035
1056
  key: "crmContext",
1036
1057
  get: /**
1037
1058
  * The authenticated CRM context used by all operation accessors.
1059
+ *
1060
+ * @returns the CRM context from the underlying client
1038
1061
  */ function get() {
1039
1062
  return this.zohoCrm.crmContext;
1040
1063
  }
@@ -1043,6 +1066,8 @@ function _object_spread_props$3(target, source) {
1043
1066
  key: "zohoRateLimiter",
1044
1067
  get: /**
1045
1068
  * Rate limiter shared across all CRM requests to respect Zoho API quotas.
1069
+ *
1070
+ * @returns the shared rate limiter instance
1046
1071
  */ function get() {
1047
1072
  return this.zohoCrm.crmContext.zohoRateLimiter;
1048
1073
  }
@@ -1050,163 +1075,271 @@ function _object_spread_props$3(target, source) {
1050
1075
  {
1051
1076
  key: "insertRecord",
1052
1077
  get: // MARK: Accessors
1053
- /** Configured pass-through for {@link zohoCrmInsertRecord}. */ function get() {
1078
+ /**
1079
+ * Configured pass-through for {@link zohoCrmInsertRecord}.
1080
+ *
1081
+ * @returns bound insert record function
1082
+ */ function get() {
1054
1083
  return zoho.zohoCrmInsertRecord(this.crmContext);
1055
1084
  }
1056
1085
  },
1057
1086
  {
1058
1087
  key: "upsertRecord",
1059
- get: /** Configured pass-through for {@link zohoCrmUpsertRecord}. */ function get() {
1088
+ get: /**
1089
+ * Configured pass-through for {@link zohoCrmUpsertRecord}.
1090
+ *
1091
+ * @returns bound upsert record function
1092
+ */ function get() {
1060
1093
  return zoho.zohoCrmUpsertRecord(this.crmContext);
1061
1094
  }
1062
1095
  },
1063
1096
  {
1064
1097
  key: "updateRecord",
1065
- get: /** Configured pass-through for {@link zohoCrmUpdateRecord}. */ function get() {
1098
+ get: /**
1099
+ * Configured pass-through for {@link zohoCrmUpdateRecord}.
1100
+ *
1101
+ * @returns bound update record function
1102
+ */ function get() {
1066
1103
  return zoho.zohoCrmUpdateRecord(this.crmContext);
1067
1104
  }
1068
1105
  },
1069
1106
  {
1070
1107
  key: "deleteRecord",
1071
- get: /** Configured pass-through for {@link zohoCrmDeleteRecord}. */ function get() {
1108
+ get: /**
1109
+ * Configured pass-through for {@link zohoCrmDeleteRecord}.
1110
+ *
1111
+ * @returns bound delete record function
1112
+ */ function get() {
1072
1113
  return zoho.zohoCrmDeleteRecord(this.crmContext);
1073
1114
  }
1074
1115
  },
1075
1116
  {
1076
1117
  key: "getRecordById",
1077
- get: /** Configured pass-through for {@link zohoCrmGetRecordById}. */ function get() {
1118
+ get: /**
1119
+ * Configured pass-through for {@link zohoCrmGetRecordById}.
1120
+ *
1121
+ * @returns bound get record by ID function
1122
+ */ function get() {
1078
1123
  return zoho.zohoCrmGetRecordById(this.crmContext);
1079
1124
  }
1080
1125
  },
1081
1126
  {
1082
1127
  key: "getRecords",
1083
- get: /** Configured pass-through for {@link zohoCrmGetRecords}. */ function get() {
1128
+ get: /**
1129
+ * Configured pass-through for {@link zohoCrmGetRecords}.
1130
+ *
1131
+ * @returns bound get records function
1132
+ */ function get() {
1084
1133
  return zoho.zohoCrmGetRecords(this.crmContext);
1085
1134
  }
1086
1135
  },
1087
1136
  {
1088
1137
  key: "searchRecords",
1089
- get: /** Configured pass-through for {@link zohoCrmSearchRecords}. */ function get() {
1138
+ get: /**
1139
+ * Configured pass-through for {@link zohoCrmSearchRecords}.
1140
+ *
1141
+ * @returns bound search records function
1142
+ */ function get() {
1090
1143
  return zoho.zohoCrmSearchRecords(this.crmContext);
1091
1144
  }
1092
1145
  },
1093
1146
  {
1094
1147
  key: "searchRecordsPageFactory",
1095
- get: /** Configured pass-through for {@link zohoCrmSearchRecordsPageFactory}. */ function get() {
1148
+ get: /**
1149
+ * Configured pass-through for {@link zohoCrmSearchRecordsPageFactory}.
1150
+ *
1151
+ * @returns bound search records page factory function
1152
+ */ function get() {
1096
1153
  return zoho.zohoCrmSearchRecordsPageFactory(this.crmContext);
1097
1154
  }
1098
1155
  },
1099
1156
  {
1100
1157
  key: "getRelatedRecordsFunctionFactory",
1101
- get: /** Configured pass-through for {@link zohoCrmGetRelatedRecordsFunctionFactory}. */ function get() {
1158
+ get: /**
1159
+ * Configured pass-through for {@link zohoCrmGetRelatedRecordsFunctionFactory}.
1160
+ *
1161
+ * @returns bound get related records factory function
1162
+ */ function get() {
1102
1163
  return zoho.zohoCrmGetRelatedRecordsFunctionFactory(this.crmContext);
1103
1164
  }
1104
1165
  },
1105
1166
  {
1106
1167
  key: "getEmailsForRecord",
1107
- get: /** Configured pass-through for {@link zohoCrmGetEmailsForRecord}. */ function get() {
1168
+ get: /**
1169
+ * Configured pass-through for {@link zohoCrmGetEmailsForRecord}.
1170
+ *
1171
+ * @returns bound get emails for record function
1172
+ */ function get() {
1108
1173
  return zoho.zohoCrmGetEmailsForRecord(this.crmContext);
1109
1174
  }
1110
1175
  },
1111
1176
  {
1112
1177
  key: "getEmailsForRecordPageFactory",
1113
- get: /** Configured pass-through for {@link zohoCrmGetEmailsForRecordPageFactory}. */ function get() {
1178
+ get: /**
1179
+ * Configured pass-through for {@link zohoCrmGetEmailsForRecordPageFactory}.
1180
+ *
1181
+ * @returns bound get emails page factory function
1182
+ */ function get() {
1114
1183
  return zoho.zohoCrmGetEmailsForRecordPageFactory(this.crmContext);
1115
1184
  }
1116
1185
  },
1117
1186
  {
1118
1187
  key: "getAttachmentsForRecord",
1119
- get: /** Configured pass-through for {@link zohoCrmGetAttachmentsForRecord}. */ function get() {
1188
+ get: /**
1189
+ * Configured pass-through for {@link zohoCrmGetAttachmentsForRecord}.
1190
+ *
1191
+ * @returns bound get attachments for record function
1192
+ */ function get() {
1120
1193
  return zoho.zohoCrmGetAttachmentsForRecord(this.crmContext);
1121
1194
  }
1122
1195
  },
1123
1196
  {
1124
1197
  key: "getAttachmentsForRecordPageFactory",
1125
- get: /** Configured pass-through for {@link zohoCrmGetAttachmentsForRecordPageFactory}. */ function get() {
1198
+ get: /**
1199
+ * Configured pass-through for {@link zohoCrmGetAttachmentsForRecordPageFactory}.
1200
+ *
1201
+ * @returns bound get attachments page factory function
1202
+ */ function get() {
1126
1203
  return zoho.zohoCrmGetAttachmentsForRecordPageFactory(this.crmContext);
1127
1204
  }
1128
1205
  },
1129
1206
  {
1130
1207
  key: "uploadAttachmentForRecord",
1131
- get: /** Configured pass-through for {@link zohoCrmUploadAttachmentForRecord}. */ function get() {
1208
+ get: /**
1209
+ * Configured pass-through for {@link zohoCrmUploadAttachmentForRecord}.
1210
+ *
1211
+ * @returns bound upload attachment function
1212
+ */ function get() {
1132
1213
  return zoho.zohoCrmUploadAttachmentForRecord(this.crmContext);
1133
1214
  }
1134
1215
  },
1135
1216
  {
1136
1217
  key: "downloadAttachmentForRecord",
1137
- get: /** Configured pass-through for {@link zohoCrmDownloadAttachmentForRecord}. */ function get() {
1218
+ get: /**
1219
+ * Configured pass-through for {@link zohoCrmDownloadAttachmentForRecord}.
1220
+ *
1221
+ * @returns bound download attachment function
1222
+ */ function get() {
1138
1223
  return zoho.zohoCrmDownloadAttachmentForRecord(this.crmContext);
1139
1224
  }
1140
1225
  },
1141
1226
  {
1142
1227
  key: "deleteAttachmentFromRecord",
1143
- get: /** Configured pass-through for {@link zohoCrmDeleteAttachmentFromRecord}. */ function get() {
1228
+ get: /**
1229
+ * Configured pass-through for {@link zohoCrmDeleteAttachmentFromRecord}.
1230
+ *
1231
+ * @returns bound delete attachment function
1232
+ */ function get() {
1144
1233
  return zoho.zohoCrmDeleteAttachmentFromRecord(this.crmContext);
1145
1234
  }
1146
1235
  },
1147
1236
  {
1148
1237
  key: "createNotes",
1149
- get: /** Configured pass-through for {@link zohoCrmCreateNotes}. */ function get() {
1238
+ get: /**
1239
+ * Configured pass-through for {@link zohoCrmCreateNotes}.
1240
+ *
1241
+ * @returns bound create notes function
1242
+ */ function get() {
1150
1243
  return zoho.zohoCrmCreateNotes(this.crmContext);
1151
1244
  }
1152
1245
  },
1153
1246
  {
1154
1247
  key: "deleteNotes",
1155
- get: /** Configured pass-through for {@link zohoCrmDeleteNotes}. */ function get() {
1248
+ get: /**
1249
+ * Configured pass-through for {@link zohoCrmDeleteNotes}.
1250
+ *
1251
+ * @returns bound delete notes function
1252
+ */ function get() {
1156
1253
  return zoho.zohoCrmDeleteNotes(this.crmContext);
1157
1254
  }
1158
1255
  },
1159
1256
  {
1160
1257
  key: "createNotesForRecord",
1161
- get: /** Configured pass-through for {@link zohoCrmCreateNotesForRecord}. */ function get() {
1258
+ get: /**
1259
+ * Configured pass-through for {@link zohoCrmCreateNotesForRecord}.
1260
+ *
1261
+ * @returns bound create notes for record function
1262
+ */ function get() {
1162
1263
  return zoho.zohoCrmCreateNotesForRecord(this.crmContext);
1163
1264
  }
1164
1265
  },
1165
1266
  {
1166
1267
  key: "getNotesForRecord",
1167
- get: /** Configured pass-through for {@link zohoCrmGetNotesForRecord}. */ function get() {
1268
+ get: /**
1269
+ * Configured pass-through for {@link zohoCrmGetNotesForRecord}.
1270
+ *
1271
+ * @returns bound get notes for record function
1272
+ */ function get() {
1168
1273
  return zoho.zohoCrmGetNotesForRecord(this.crmContext);
1169
1274
  }
1170
1275
  },
1171
1276
  {
1172
1277
  key: "getNotesForRecordPageFactory",
1173
- get: /** Configured pass-through for {@link zohoCrmGetNotesForRecordPageFactory}. */ function get() {
1278
+ get: /**
1279
+ * Configured pass-through for {@link zohoCrmGetNotesForRecordPageFactory}.
1280
+ *
1281
+ * @returns bound get notes page factory function
1282
+ */ function get() {
1174
1283
  return zoho.zohoCrmGetNotesForRecordPageFactory(this.crmContext);
1175
1284
  }
1176
1285
  },
1177
1286
  {
1178
1287
  key: "executeRestApiFunction",
1179
- get: /** Configured pass-through for {@link zohoCrmExecuteRestApiFunction}. */ function get() {
1288
+ get: /**
1289
+ * Configured pass-through for {@link zohoCrmExecuteRestApiFunction}.
1290
+ *
1291
+ * @returns bound execute REST API function
1292
+ */ function get() {
1180
1293
  return zoho.zohoCrmExecuteRestApiFunction(this.crmContext);
1181
1294
  }
1182
1295
  },
1183
1296
  {
1184
1297
  key: "createTagsForModule",
1185
- get: /** Configured pass-through for {@link zohoCrmCreateTagsForModule}. */ function get() {
1298
+ get: /**
1299
+ * Configured pass-through for {@link zohoCrmCreateTagsForModule}.
1300
+ *
1301
+ * @returns bound create tags for module function
1302
+ */ function get() {
1186
1303
  return zoho.zohoCrmCreateTagsForModule(this.crmContext);
1187
1304
  }
1188
1305
  },
1189
1306
  {
1190
1307
  key: "deleteTag",
1191
- get: /** Configured pass-through for {@link zohoCrmDeleteTag}. */ function get() {
1308
+ get: /**
1309
+ * Configured pass-through for {@link zohoCrmDeleteTag}.
1310
+ *
1311
+ * @returns bound delete tag function
1312
+ */ function get() {
1192
1313
  return zoho.zohoCrmDeleteTag(this.crmContext);
1193
1314
  }
1194
1315
  },
1195
1316
  {
1196
1317
  key: "getTagsForModule",
1197
- get: /** Configured pass-through for {@link zohoCrmGetTagsForModule}. */ function get() {
1318
+ get: /**
1319
+ * Configured pass-through for {@link zohoCrmGetTagsForModule}.
1320
+ *
1321
+ * @returns bound get tags for module function
1322
+ */ function get() {
1198
1323
  return zoho.zohoCrmGetTagsForModule(this.crmContext);
1199
1324
  }
1200
1325
  },
1201
1326
  {
1202
1327
  key: "addTagsToRecords",
1203
- get: /** Configured pass-through for {@link zohoCrmAddTagsToRecords}. */ function get() {
1328
+ get: /**
1329
+ * Configured pass-through for {@link zohoCrmAddTagsToRecords}.
1330
+ *
1331
+ * @returns bound add tags to records function
1332
+ */ function get() {
1204
1333
  return zoho.zohoCrmAddTagsToRecords(this.crmContext);
1205
1334
  }
1206
1335
  },
1207
1336
  {
1208
1337
  key: "removeTagsFromRecords",
1209
- get: /** Configured pass-through for {@link zohoCrmRemoveTagsFromRecords}. */ function get() {
1338
+ get: /**
1339
+ * Configured pass-through for {@link zohoCrmRemoveTagsFromRecords}.
1340
+ *
1341
+ * @returns bound remove tags from records function
1342
+ */ function get() {
1210
1343
  return zoho.zohoCrmRemoveTagsFromRecords(this.crmContext);
1211
1344
  }
1212
1345
  }
@@ -1415,6 +1548,8 @@ function _define_property$7(obj, key, value) {
1415
1548
  key: "assertValidConfig",
1416
1549
  value: /**
1417
1550
  * Validates that the required Zoho Recruit connection fields are present and well-formed.
1551
+ *
1552
+ * @param config - the Recruit service config to validate
1418
1553
  */ function assertValidConfig(config) {
1419
1554
  assertValidZohoConfig(config.zohoRecruit);
1420
1555
  }
@@ -1513,6 +1648,8 @@ function _object_spread_props$2(target, source) {
1513
1648
  key: "recruitContext",
1514
1649
  get: /**
1515
1650
  * The authenticated Recruit context used by all operation accessors.
1651
+ *
1652
+ * @returns the Recruit context from the underlying client
1516
1653
  */ function get() {
1517
1654
  return this.zohoRecruit.recruitContext;
1518
1655
  }
@@ -1521,6 +1658,8 @@ function _object_spread_props$2(target, source) {
1521
1658
  key: "zohoRateLimiter",
1522
1659
  get: /**
1523
1660
  * Rate limiter shared across all Recruit requests to respect Zoho API quotas.
1661
+ *
1662
+ * @returns the shared rate limiter instance
1524
1663
  */ function get() {
1525
1664
  return this.zohoRecruit.recruitContext.zohoRateLimiter;
1526
1665
  }
@@ -1528,187 +1667,311 @@ function _object_spread_props$2(target, source) {
1528
1667
  {
1529
1668
  key: "insertRecord",
1530
1669
  get: // MARK: Accessors
1531
- /** Configured pass-through for {@link zohoRecruitInsertRecord}. */ function get() {
1670
+ /**
1671
+ * Configured pass-through for {@link zohoRecruitInsertRecord}.
1672
+ *
1673
+ * @returns bound insert record function
1674
+ */ function get() {
1532
1675
  return zoho.zohoRecruitInsertRecord(this.recruitContext);
1533
1676
  }
1534
1677
  },
1535
1678
  {
1536
1679
  key: "upsertRecord",
1537
- get: /** Configured pass-through for {@link zohoRecruitUpsertRecord}. */ function get() {
1680
+ get: /**
1681
+ * Configured pass-through for {@link zohoRecruitUpsertRecord}.
1682
+ *
1683
+ * @returns bound upsert record function
1684
+ */ function get() {
1538
1685
  return zoho.zohoRecruitUpsertRecord(this.recruitContext);
1539
1686
  }
1540
1687
  },
1541
1688
  {
1542
1689
  key: "updateRecord",
1543
- get: /** Configured pass-through for {@link zohoRecruitUpdateRecord}. */ function get() {
1690
+ get: /**
1691
+ * Configured pass-through for {@link zohoRecruitUpdateRecord}.
1692
+ *
1693
+ * @returns bound update record function
1694
+ */ function get() {
1544
1695
  return zoho.zohoRecruitUpdateRecord(this.recruitContext);
1545
1696
  }
1546
1697
  },
1547
1698
  {
1548
1699
  key: "deleteRecord",
1549
- get: /** Configured pass-through for {@link zohoRecruitDeleteRecord}. */ function get() {
1700
+ get: /**
1701
+ * Configured pass-through for {@link zohoRecruitDeleteRecord}.
1702
+ *
1703
+ * @returns bound delete record function
1704
+ */ function get() {
1550
1705
  return zoho.zohoRecruitDeleteRecord(this.recruitContext);
1551
1706
  }
1552
1707
  },
1553
1708
  {
1554
1709
  key: "getRecordById",
1555
- get: /** Configured pass-through for {@link zohoRecruitGetRecordById}. */ function get() {
1710
+ get: /**
1711
+ * Configured pass-through for {@link zohoRecruitGetRecordById}.
1712
+ *
1713
+ * @returns bound get record by ID function
1714
+ */ function get() {
1556
1715
  return zoho.zohoRecruitGetRecordById(this.recruitContext);
1557
1716
  }
1558
1717
  },
1559
1718
  {
1560
1719
  key: "getRecords",
1561
- get: /** Configured pass-through for {@link zohoRecruitGetRecords}. */ function get() {
1720
+ get: /**
1721
+ * Configured pass-through for {@link zohoRecruitGetRecords}.
1722
+ *
1723
+ * @returns bound get records function
1724
+ */ function get() {
1562
1725
  return zoho.zohoRecruitGetRecords(this.recruitContext);
1563
1726
  }
1564
1727
  },
1565
1728
  {
1566
1729
  key: "searchRecords",
1567
- get: /** Configured pass-through for {@link zohoRecruitSearchRecords}. */ function get() {
1730
+ get: /**
1731
+ * Configured pass-through for {@link zohoRecruitSearchRecords}.
1732
+ *
1733
+ * @returns bound search records function
1734
+ */ function get() {
1568
1735
  return zoho.zohoRecruitSearchRecords(this.recruitContext);
1569
1736
  }
1570
1737
  },
1571
1738
  {
1572
1739
  key: "searchRecordsPageFactory",
1573
- get: /** Configured pass-through for {@link zohoRecruitSearchRecordsPageFactory}. */ function get() {
1740
+ get: /**
1741
+ * Configured pass-through for {@link zohoRecruitSearchRecordsPageFactory}.
1742
+ *
1743
+ * @returns bound search records page factory function
1744
+ */ function get() {
1574
1745
  return zoho.zohoRecruitSearchRecordsPageFactory(this.recruitContext);
1575
1746
  }
1576
1747
  },
1577
1748
  {
1578
1749
  key: "getRelatedRecordsFunctionFactory",
1579
- get: /** Configured pass-through for {@link zohoRecruitGetRelatedRecordsFunctionFactory}. */ function get() {
1750
+ get: /**
1751
+ * Configured pass-through for {@link zohoRecruitGetRelatedRecordsFunctionFactory}.
1752
+ *
1753
+ * @returns bound get related records factory function
1754
+ */ function get() {
1580
1755
  return zoho.zohoRecruitGetRelatedRecordsFunctionFactory(this.recruitContext);
1581
1756
  }
1582
1757
  },
1583
1758
  {
1584
1759
  key: "getEmailsForRecord",
1585
- get: /** Configured pass-through for {@link zohoRecruitGetEmailsForRecord}. */ function get() {
1760
+ get: /**
1761
+ * Configured pass-through for {@link zohoRecruitGetEmailsForRecord}.
1762
+ *
1763
+ * @returns bound get emails for record function
1764
+ */ function get() {
1586
1765
  return zoho.zohoRecruitGetEmailsForRecord(this.recruitContext);
1587
1766
  }
1588
1767
  },
1589
1768
  {
1590
1769
  key: "getEmailsForRecordPageFactory",
1591
- get: /** Configured pass-through for {@link zohoRecruitGetEmailsForRecordPageFactory}. */ function get() {
1770
+ get: /**
1771
+ * Configured pass-through for {@link zohoRecruitGetEmailsForRecordPageFactory}.
1772
+ *
1773
+ * @returns bound get emails page factory function
1774
+ */ function get() {
1592
1775
  return zoho.zohoRecruitGetEmailsForRecordPageFactory(this.recruitContext);
1593
1776
  }
1594
1777
  },
1595
1778
  {
1596
1779
  key: "getAttachmentsForRecord",
1597
- get: /** Configured pass-through for {@link zohoRecruitGetAttachmentsForRecord}. */ function get() {
1780
+ get: /**
1781
+ * Configured pass-through for {@link zohoRecruitGetAttachmentsForRecord}.
1782
+ *
1783
+ * @returns bound get attachments for record function
1784
+ */ function get() {
1598
1785
  return zoho.zohoRecruitGetAttachmentsForRecord(this.recruitContext);
1599
1786
  }
1600
1787
  },
1601
1788
  {
1602
1789
  key: "getAttachmentsForRecordPageFactory",
1603
- get: /** Configured pass-through for {@link zohoRecruitGetAttachmentsForRecordPageFactory}. */ function get() {
1790
+ get: /**
1791
+ * Configured pass-through for {@link zohoRecruitGetAttachmentsForRecordPageFactory}.
1792
+ *
1793
+ * @returns bound get attachments page factory function
1794
+ */ function get() {
1604
1795
  return zoho.zohoRecruitGetAttachmentsForRecordPageFactory(this.recruitContext);
1605
1796
  }
1606
1797
  },
1607
1798
  {
1608
1799
  key: "uploadAttachmentForRecord",
1609
- get: /** Configured pass-through for {@link zohoRecruitUploadAttachmentForRecord}. */ function get() {
1800
+ get: /**
1801
+ * Configured pass-through for {@link zohoRecruitUploadAttachmentForRecord}.
1802
+ *
1803
+ * @returns bound upload attachment function
1804
+ */ function get() {
1610
1805
  return zoho.zohoRecruitUploadAttachmentForRecord(this.recruitContext);
1611
1806
  }
1612
1807
  },
1613
1808
  {
1614
1809
  key: "downloadAttachmentForRecord",
1615
- get: /** Configured pass-through for {@link zohoRecruitDownloadAttachmentForRecord}. */ function get() {
1810
+ get: /**
1811
+ * Configured pass-through for {@link zohoRecruitDownloadAttachmentForRecord}.
1812
+ *
1813
+ * @returns bound download attachment function
1814
+ */ function get() {
1616
1815
  return zoho.zohoRecruitDownloadAttachmentForRecord(this.recruitContext);
1617
1816
  }
1618
1817
  },
1619
1818
  {
1620
1819
  key: "deleteAttachmentFromRecord",
1621
- get: /** Configured pass-through for {@link zohoRecruitDeleteAttachmentFromRecord}. */ function get() {
1820
+ get: /**
1821
+ * Configured pass-through for {@link zohoRecruitDeleteAttachmentFromRecord}.
1822
+ *
1823
+ * @returns bound delete attachment function
1824
+ */ function get() {
1622
1825
  return zoho.zohoRecruitDeleteAttachmentFromRecord(this.recruitContext);
1623
1826
  }
1624
1827
  },
1625
1828
  {
1626
1829
  key: "createNotes",
1627
- get: /** Configured pass-through for {@link zohoRecruitCreateNotes}. */ function get() {
1830
+ get: /**
1831
+ * Configured pass-through for {@link zohoRecruitCreateNotes}.
1832
+ *
1833
+ * @returns bound create notes function
1834
+ */ function get() {
1628
1835
  return zoho.zohoRecruitCreateNotes(this.recruitContext);
1629
1836
  }
1630
1837
  },
1631
1838
  {
1632
1839
  key: "deleteNotes",
1633
- get: /** Configured pass-through for {@link zohoRecruitDeleteNotes}. */ function get() {
1840
+ get: /**
1841
+ * Configured pass-through for {@link zohoRecruitDeleteNotes}.
1842
+ *
1843
+ * @returns bound delete notes function
1844
+ */ function get() {
1634
1845
  return zoho.zohoRecruitDeleteNotes(this.recruitContext);
1635
1846
  }
1636
1847
  },
1637
1848
  {
1638
1849
  key: "createNotesForRecord",
1639
- get: /** Configured pass-through for {@link zohoRecruitCreateNotesForRecord}. */ function get() {
1850
+ get: /**
1851
+ * Configured pass-through for {@link zohoRecruitCreateNotesForRecord}.
1852
+ *
1853
+ * @returns bound create notes for record function
1854
+ */ function get() {
1640
1855
  return zoho.zohoRecruitCreateNotesForRecord(this.recruitContext);
1641
1856
  }
1642
1857
  },
1643
1858
  {
1644
1859
  key: "getNotesForRecord",
1645
- get: /** Configured pass-through for {@link zohoRecruitGetNotesForRecord}. */ function get() {
1860
+ get: /**
1861
+ * Configured pass-through for {@link zohoRecruitGetNotesForRecord}.
1862
+ *
1863
+ * @returns bound get notes for record function
1864
+ */ function get() {
1646
1865
  return zoho.zohoRecruitGetNotesForRecord(this.recruitContext);
1647
1866
  }
1648
1867
  },
1649
1868
  {
1650
1869
  key: "getNotesForRecordPageFactory",
1651
- get: /** Configured pass-through for {@link zohoRecruitGetNotesForRecordPageFactory}. */ function get() {
1870
+ get: /**
1871
+ * Configured pass-through for {@link zohoRecruitGetNotesForRecordPageFactory}.
1872
+ *
1873
+ * @returns bound get notes page factory function
1874
+ */ function get() {
1652
1875
  return zoho.zohoRecruitGetNotesForRecordPageFactory(this.recruitContext);
1653
1876
  }
1654
1877
  },
1655
1878
  {
1656
1879
  key: "executeRestApiFunction",
1657
- get: /** Configured pass-through for {@link zohoRecruitExecuteRestApiFunction}. */ function get() {
1880
+ get: /**
1881
+ * Configured pass-through for {@link zohoRecruitExecuteRestApiFunction}.
1882
+ *
1883
+ * @returns bound execute REST API function
1884
+ */ function get() {
1658
1885
  return zoho.zohoRecruitExecuteRestApiFunction(this.recruitContext);
1659
1886
  }
1660
1887
  },
1661
1888
  {
1662
1889
  key: "associateCandidateRecordsWithJobOpenings",
1663
- get: /** Configured pass-through for {@link zohoRecruitAssociateCandidateRecordsWithJobOpenings}. */ function get() {
1890
+ get: /**
1891
+ * Configured pass-through for {@link zohoRecruitAssociateCandidateRecordsWithJobOpenings}.
1892
+ *
1893
+ * @returns bound associate candidates with job openings function
1894
+ */ function get() {
1664
1895
  return zoho.zohoRecruitAssociateCandidateRecordsWithJobOpenings(this.recruitContext);
1665
1896
  }
1666
1897
  },
1667
1898
  {
1668
1899
  key: "searchCandidateAssociatedJobOpeningRecords",
1669
- get: /** Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecords}. */ function get() {
1900
+ get: /**
1901
+ * Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecords}.
1902
+ *
1903
+ * @returns bound search candidate associated job openings function
1904
+ */ function get() {
1670
1905
  return zoho.zohoRecruitSearchCandidateAssociatedJobOpeningRecords(this.recruitContext);
1671
1906
  }
1672
1907
  },
1673
1908
  {
1674
1909
  key: "searchCandidateAssociatedJobOpeningRecordsPageFactory",
1675
- get: /** Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory}. */ function get() {
1910
+ get: /**
1911
+ * Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory}.
1912
+ *
1913
+ * @returns bound search candidate job openings page factory function
1914
+ */ function get() {
1676
1915
  return zoho.zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory(this.recruitContext);
1677
1916
  }
1678
1917
  },
1679
1918
  {
1680
1919
  key: "searchJobOpeningAssociatedCandidateRecords",
1681
- get: /** Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecords}. */ function get() {
1920
+ get: /**
1921
+ * Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecords}.
1922
+ *
1923
+ * @returns bound search job opening associated candidates function
1924
+ */ function get() {
1682
1925
  return zoho.zohoRecruitSearchJobOpeningAssociatedCandidateRecords(this.recruitContext);
1683
1926
  }
1684
1927
  },
1685
1928
  {
1686
1929
  key: "searchJobOpeningAssociatedCandidateRecordsPageFactory",
1687
- get: /** Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory}. */ function get() {
1930
+ get: /**
1931
+ * Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory}.
1932
+ *
1933
+ * @returns bound search job opening candidates page factory function
1934
+ */ function get() {
1688
1935
  return zoho.zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory(this.recruitContext);
1689
1936
  }
1690
1937
  },
1691
1938
  {
1692
1939
  key: "createTagsForModule",
1693
- get: /** Configured pass-through for {@link zohoRecruitCreateTagsForModule}. */ function get() {
1940
+ get: /**
1941
+ * Configured pass-through for {@link zohoRecruitCreateTagsForModule}.
1942
+ *
1943
+ * @returns bound create tags for module function
1944
+ */ function get() {
1694
1945
  return zoho.zohoRecruitCreateTagsForModule(this.recruitContext);
1695
1946
  }
1696
1947
  },
1697
1948
  {
1698
1949
  key: "getTagsForModule",
1699
- get: /** Configured pass-through for {@link zohoRecruitGetTagsForModule}. */ function get() {
1950
+ get: /**
1951
+ * Configured pass-through for {@link zohoRecruitGetTagsForModule}.
1952
+ *
1953
+ * @returns bound get tags for module function
1954
+ */ function get() {
1700
1955
  return zoho.zohoRecruitGetTagsForModule(this.recruitContext);
1701
1956
  }
1702
1957
  },
1703
1958
  {
1704
1959
  key: "addTagsToRecords",
1705
- get: /** Configured pass-through for {@link zohoRecruitAddTagsToRecords}. */ function get() {
1960
+ get: /**
1961
+ * Configured pass-through for {@link zohoRecruitAddTagsToRecords}.
1962
+ *
1963
+ * @returns bound add tags to records function
1964
+ */ function get() {
1706
1965
  return zoho.zohoRecruitAddTagsToRecords(this.recruitContext);
1707
1966
  }
1708
1967
  },
1709
1968
  {
1710
1969
  key: "removeTagsFromRecords",
1711
- get: /** Configured pass-through for {@link zohoRecruitRemoveTagsFromRecords}. */ function get() {
1970
+ get: /**
1971
+ * Configured pass-through for {@link zohoRecruitRemoveTagsFromRecords}.
1972
+ *
1973
+ * @returns bound remove tags from records function
1974
+ */ function get() {
1712
1975
  return zoho.zohoRecruitRemoveTagsFromRecords(this.recruitContext);
1713
1976
  }
1714
1977
  }
@@ -2006,6 +2269,8 @@ function _object_spread_props$1(target, source) {
2006
2269
  key: "signContext",
2007
2270
  get: /**
2008
2271
  * The authenticated Sign context used by all operation accessors.
2272
+ *
2273
+ * @returns the Sign context from the underlying client
2009
2274
  */ function get() {
2010
2275
  return this.zohoSign.signContext;
2011
2276
  }
@@ -2014,6 +2279,8 @@ function _object_spread_props$1(target, source) {
2014
2279
  key: "zohoRateLimiter",
2015
2280
  get: /**
2016
2281
  * Rate limiter shared across all Sign requests to respect Zoho API quotas.
2282
+ *
2283
+ * @returns the shared rate limiter instance
2017
2284
  */ function get() {
2018
2285
  return this.zohoSign.signContext.zohoRateLimiter;
2019
2286
  }
@@ -2021,73 +2288,121 @@ function _object_spread_props$1(target, source) {
2021
2288
  {
2022
2289
  key: "getDocument",
2023
2290
  get: // MARK: Accessors
2024
- /** Configured pass-through for {@link zohoSignGetDocument}. */ function get() {
2291
+ /**
2292
+ * Configured pass-through for {@link zohoSignGetDocument}.
2293
+ *
2294
+ * @returns bound get document function
2295
+ */ function get() {
2025
2296
  return zoho.zohoSignGetDocument(this.signContext);
2026
2297
  }
2027
2298
  },
2028
2299
  {
2029
2300
  key: "getDocuments",
2030
- get: /** Configured pass-through for {@link zohoSignGetDocuments}. */ function get() {
2301
+ get: /**
2302
+ * Configured pass-through for {@link zohoSignGetDocuments}.
2303
+ *
2304
+ * @returns bound get documents function
2305
+ */ function get() {
2031
2306
  return zoho.zohoSignGetDocuments(this.signContext);
2032
2307
  }
2033
2308
  },
2034
2309
  {
2035
2310
  key: "getDocumentsPageFactory",
2036
- get: /** Configured pass-through for {@link zohoSignGetDocumentsPageFactory}. */ function get() {
2311
+ get: /**
2312
+ * Configured pass-through for {@link zohoSignGetDocumentsPageFactory}.
2313
+ *
2314
+ * @returns bound get documents page factory function
2315
+ */ function get() {
2037
2316
  return zoho.zohoSignGetDocumentsPageFactory(this.signContext);
2038
2317
  }
2039
2318
  },
2040
2319
  {
2041
2320
  key: "getDocumentFormData",
2042
- get: /** Configured pass-through for {@link zohoSignGetDocumentFormData}. */ function get() {
2321
+ get: /**
2322
+ * Configured pass-through for {@link zohoSignGetDocumentFormData}.
2323
+ *
2324
+ * @returns bound get document form data function
2325
+ */ function get() {
2043
2326
  return zoho.zohoSignGetDocumentFormData(this.signContext);
2044
2327
  }
2045
2328
  },
2046
2329
  {
2047
2330
  key: "retrieveFieldTypes",
2048
- get: /** Configured pass-through for {@link zohoSignRetrieveFieldTypes}. */ function get() {
2331
+ get: /**
2332
+ * Configured pass-through for {@link zohoSignRetrieveFieldTypes}.
2333
+ *
2334
+ * @returns bound retrieve field types function
2335
+ */ function get() {
2049
2336
  return zoho.zohoSignRetrieveFieldTypes(this.signContext);
2050
2337
  }
2051
2338
  },
2052
2339
  {
2053
2340
  key: "downloadPdf",
2054
- get: /** Configured pass-through for {@link zohoSignDownloadPdf}. */ function get() {
2341
+ get: /**
2342
+ * Configured pass-through for {@link zohoSignDownloadPdf}.
2343
+ *
2344
+ * @returns bound download PDF function
2345
+ */ function get() {
2055
2346
  return zoho.zohoSignDownloadPdf(this.signContext);
2056
2347
  }
2057
2348
  },
2058
2349
  {
2059
2350
  key: "downloadCompletionCertificate",
2060
- get: /** Configured pass-through for {@link zohoSignDownloadCompletionCertificate}. */ function get() {
2351
+ get: /**
2352
+ * Configured pass-through for {@link zohoSignDownloadCompletionCertificate}.
2353
+ *
2354
+ * @returns bound download completion certificate function
2355
+ */ function get() {
2061
2356
  return zoho.zohoSignDownloadCompletionCertificate(this.signContext);
2062
2357
  }
2063
2358
  },
2064
2359
  {
2065
2360
  key: "createDocument",
2066
- get: /** Configured pass-through for {@link zohoSignCreateDocument}. */ function get() {
2361
+ get: /**
2362
+ * Configured pass-through for {@link zohoSignCreateDocument}.
2363
+ *
2364
+ * @returns bound create document function
2365
+ */ function get() {
2067
2366
  return zoho.zohoSignCreateDocument(this.signContext);
2068
2367
  }
2069
2368
  },
2070
2369
  {
2071
2370
  key: "updateDocument",
2072
- get: /** Configured pass-through for {@link zohoSignUpdateDocument}. */ function get() {
2371
+ get: /**
2372
+ * Configured pass-through for {@link zohoSignUpdateDocument}.
2373
+ *
2374
+ * @returns bound update document function
2375
+ */ function get() {
2073
2376
  return zoho.zohoSignUpdateDocument(this.signContext);
2074
2377
  }
2075
2378
  },
2076
2379
  {
2077
2380
  key: "sendDocumentForSignature",
2078
- get: /** Configured pass-through for {@link zohoSignSendDocumentForSignature}. */ function get() {
2381
+ get: /**
2382
+ * Configured pass-through for {@link zohoSignSendDocumentForSignature}.
2383
+ *
2384
+ * @returns bound send document for signature function
2385
+ */ function get() {
2079
2386
  return zoho.zohoSignSendDocumentForSignature(this.signContext);
2080
2387
  }
2081
2388
  },
2082
2389
  {
2083
2390
  key: "extendDocument",
2084
- get: /** Configured pass-through for {@link zohoSignExtendDocument}. */ function get() {
2391
+ get: /**
2392
+ * Configured pass-through for {@link zohoSignExtendDocument}.
2393
+ *
2394
+ * @returns bound extend document function
2395
+ */ function get() {
2085
2396
  return zoho.zohoSignExtendDocument(this.signContext);
2086
2397
  }
2087
2398
  },
2088
2399
  {
2089
2400
  key: "deleteDocument",
2090
- get: /** Configured pass-through for {@link zohoSignDeleteDocument}. */ function get() {
2401
+ get: /**
2402
+ * Configured pass-through for {@link zohoSignDeleteDocument}.
2403
+ *
2404
+ * @returns bound delete document function
2405
+ */ function get() {
2091
2406
  return zoho.zohoSignDeleteDocument(this.signContext);
2092
2407
  }
2093
2408
  }
@@ -2295,6 +2610,9 @@ function _object_spread_props(target, source) {
2295
2610
  }
2296
2611
  /**
2297
2612
  * Creates a {@link ZohoSignWebhookEvent} from a raw payload.
2613
+ *
2614
+ * @param payload - the raw Zoho Sign webhook payload to convert
2615
+ * @returns a webhook event with the operation type extracted for convenience
2298
2616
  */ function zohoSignWebhookEvent(payload) {
2299
2617
  return _object_spread_props(_object_spread({}, payload), {
2300
2618
  operationType: payload.notifications.operation_type