@dereekb/zoho 13.43.0 → 14.0.0

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.
@@ -80,9 +80,7 @@ function readZohoConfigFromConfigService(configOrService, servicePrefix) {
80
80
  }
81
81
 
82
82
  function _class_call_check$i(instance, Constructor) {
83
- if (!(instance instanceof Constructor)) {
84
- throw new TypeError("Cannot call a class as a function");
85
- }
83
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
86
84
  }
87
85
  function _defineProperties$g(target, props) {
88
86
  for(var i = 0; i < props.length; i++){
@@ -105,9 +103,7 @@ function _define_property$i(obj, key, value) {
105
103
  configurable: true,
106
104
  writable: true
107
105
  });
108
- } else {
109
- obj[key] = value;
110
- }
106
+ } else obj[key] = value;
111
107
  return obj;
112
108
  }
113
109
  /**
@@ -201,11 +197,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
201
197
  reject(error);
202
198
  return;
203
199
  }
204
- if (info.done) {
205
- resolve(value);
206
- } else {
207
- Promise.resolve(value).then(_next, _throw);
208
- }
200
+ if (info.done) resolve(value);
201
+ else Promise.resolve(value).then(_next, _throw);
209
202
  }
210
203
  function _async_to_generator$3(fn) {
211
204
  return function() {
@@ -223,9 +216,7 @@ function _async_to_generator$3(fn) {
223
216
  };
224
217
  }
225
218
  function _class_call_check$h(instance, Constructor) {
226
- if (!(instance instanceof Constructor)) {
227
- throw new TypeError("Cannot call a class as a function");
228
- }
219
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
229
220
  }
230
221
  function _define_property$h(obj, key, value) {
231
222
  if (key in obj) {
@@ -235,21 +226,19 @@ function _define_property$h(obj, key, value) {
235
226
  configurable: true,
236
227
  writable: true
237
228
  });
238
- } else {
239
- obj[key] = value;
240
- }
229
+ } else obj[key] = value;
241
230
  return obj;
242
231
  }
243
232
  function _instanceof(left, right) {
244
233
  "@swc/helpers - instanceof";
245
234
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
246
235
  return !!right[Symbol.hasInstance](left);
247
- } else {
248
- return left instanceof right;
249
- }
236
+ } else return left instanceof right;
250
237
  }
251
238
  function _iterable_to_array$6(iter) {
252
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
239
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
240
+ return Array.from(iter);
241
+ }
253
242
  }
254
243
  function _iterable_to_array_limit(arr, i) {
255
244
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -276,10 +265,10 @@ function _iterable_to_array_limit(arr, i) {
276
265
  return _arr;
277
266
  }
278
267
  function _non_iterable_rest() {
279
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
268
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
280
269
  }
281
270
  function _non_iterable_spread$6() {
282
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
271
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
283
272
  }
284
273
  function _object_spread$7(target) {
285
274
  for(var i = 1; i < arguments.length; i++){
@@ -306,9 +295,8 @@ function ownKeys$6(object, enumerableOnly) {
306
295
  }
307
296
  function _object_spread_props$6(target, source) {
308
297
  source = source != null ? source : {};
309
- if (Object.getOwnPropertyDescriptors) {
310
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
311
- } else {
298
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
299
+ else {
312
300
  ownKeys$6(Object(source)).forEach(function(key) {
313
301
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
314
302
  });
@@ -321,18 +309,6 @@ function _sliced_to_array(arr, i) {
321
309
  function _to_consumable_array$6(arr) {
322
310
  return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$6(arr) || _non_iterable_spread$6();
323
311
  }
324
- function _type_of(obj) {
325
- "@swc/helpers - typeof";
326
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
327
- }
328
- function _unsupported_iterable_to_array$6(o, minLen) {
329
- if (!o) return;
330
- if (typeof o === "string") return _array_like_to_array$6(o, minLen);
331
- var n = Object.prototype.toString.call(o).slice(8, -1);
332
- if (n === "Object" && o.constructor) n = o.constructor.name;
333
- if (n === "Map" || n === "Set") return Array.from(n);
334
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
335
- }
336
312
  function _ts_generator$3(thisArg, body) {
337
313
  var f, y, t, _ = {
338
314
  label: 0,
@@ -432,6 +408,18 @@ function _ts_generator$3(thisArg, body) {
432
408
  };
433
409
  }
434
410
  }
411
+ function _type_of(obj) {
412
+ "@swc/helpers - typeof";
413
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
414
+ }
415
+ function _unsupported_iterable_to_array$6(o, minLen) {
416
+ if (!o) return;
417
+ if (typeof o === "string") return _array_like_to_array$6(o, minLen);
418
+ var n = Object.prototype.toString.call(o).slice(8, -1);
419
+ if (n === "Object" && o.constructor) n = o.constructor.name;
420
+ if (n === "Map" || n === "Set") return Array.from(n);
421
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
422
+ }
435
423
  /**
436
424
  * Service used for retrieving ZohoAccessTokenCache for Zoho services.
437
425
  */ var ZohoAccountsAccessTokenCacheService = function ZohoAccountsAccessTokenCacheService() {
@@ -979,9 +967,7 @@ var DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH = '.tmp/zoho-acce
979
967
  }
980
968
 
981
969
  function _class_call_check$g(instance, Constructor) {
982
- if (!(instance instanceof Constructor)) {
983
- throw new TypeError("Cannot call a class as a function");
984
- }
970
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
985
971
  }
986
972
  function _defineProperties$f(target, props) {
987
973
  for(var i = 0; i < props.length; i++){
@@ -1004,9 +990,7 @@ function _define_property$g(obj, key, value) {
1004
990
  configurable: true,
1005
991
  writable: true
1006
992
  });
1007
- } else {
1008
- obj[key] = value;
1009
- }
993
+ } else obj[key] = value;
1010
994
  return obj;
1011
995
  }
1012
996
  function _object_spread$6(target) {
@@ -1062,9 +1046,7 @@ ZohoAccountsApi = __decorate([
1062
1046
  ], ZohoAccountsApi);
1063
1047
 
1064
1048
  function _class_call_check$f(instance, Constructor) {
1065
- if (!(instance instanceof Constructor)) {
1066
- throw new TypeError("Cannot call a class as a function");
1067
- }
1049
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1068
1050
  }
1069
1051
  function _defineProperties$e(target, props) {
1070
1052
  for(var i = 0; i < props.length; i++){
@@ -1087,9 +1069,7 @@ function _define_property$f(obj, key, value) {
1087
1069
  configurable: true,
1088
1070
  writable: true
1089
1071
  });
1090
- } else {
1091
- obj[key] = value;
1092
- }
1072
+ } else obj[key] = value;
1093
1073
  return obj;
1094
1074
  }
1095
1075
  /**
@@ -1156,9 +1136,7 @@ function _define_property$f(obj, key, value) {
1156
1136
  }
1157
1137
 
1158
1138
  function _class_call_check$e(instance, Constructor) {
1159
- if (!(instance instanceof Constructor)) {
1160
- throw new TypeError("Cannot call a class as a function");
1161
- }
1139
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1162
1140
  }
1163
1141
  function _defineProperties$d(target, props) {
1164
1142
  for(var i = 0; i < props.length; i++){
@@ -1181,9 +1159,7 @@ function _define_property$e(obj, key, value) {
1181
1159
  configurable: true,
1182
1160
  writable: true
1183
1161
  });
1184
- } else {
1185
- obj[key] = value;
1186
- }
1162
+ } else obj[key] = value;
1187
1163
  return obj;
1188
1164
  }
1189
1165
  /**
@@ -1322,10 +1298,12 @@ function _array_without_holes$5(arr) {
1322
1298
  if (Array.isArray(arr)) return _array_like_to_array$5(arr);
1323
1299
  }
1324
1300
  function _iterable_to_array$5(iter) {
1325
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1301
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
1302
+ return Array.from(iter);
1303
+ }
1326
1304
  }
1327
1305
  function _non_iterable_spread$5() {
1328
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1306
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1329
1307
  }
1330
1308
  function _to_consumable_array$5(arr) {
1331
1309
  return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread$5();
@@ -1370,9 +1348,7 @@ function _unsupported_iterable_to_array$5(o, minLen) {
1370
1348
  }
1371
1349
 
1372
1350
  function _class_call_check$d(instance, Constructor) {
1373
- if (!(instance instanceof Constructor)) {
1374
- throw new TypeError("Cannot call a class as a function");
1375
- }
1351
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1376
1352
  }
1377
1353
  function _defineProperties$c(target, props) {
1378
1354
  for(var i = 0; i < props.length; i++){
@@ -1395,9 +1371,7 @@ function _define_property$d(obj, key, value) {
1395
1371
  configurable: true,
1396
1372
  writable: true
1397
1373
  });
1398
- } else {
1399
- obj[key] = value;
1400
- }
1374
+ } else obj[key] = value;
1401
1375
  return obj;
1402
1376
  }
1403
1377
  /**
@@ -1432,9 +1406,7 @@ function _define_property$d(obj, key, value) {
1432
1406
  ();
1433
1407
 
1434
1408
  function _class_call_check$c(instance, Constructor) {
1435
- if (!(instance instanceof Constructor)) {
1436
- throw new TypeError("Cannot call a class as a function");
1437
- }
1409
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1438
1410
  }
1439
1411
  function _defineProperties$b(target, props) {
1440
1412
  for(var i = 0; i < props.length; i++){
@@ -1457,9 +1429,7 @@ function _define_property$c(obj, key, value) {
1457
1429
  configurable: true,
1458
1430
  writable: true
1459
1431
  });
1460
- } else {
1461
- obj[key] = value;
1462
- }
1432
+ } else obj[key] = value;
1463
1433
  return obj;
1464
1434
  }
1465
1435
  function _object_spread$5(target) {
@@ -1487,9 +1457,8 @@ function ownKeys$5(object, enumerableOnly) {
1487
1457
  }
1488
1458
  function _object_spread_props$5(target, source) {
1489
1459
  source = source != null ? source : {};
1490
- if (Object.getOwnPropertyDescriptors) {
1491
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
1492
- } else {
1460
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
1461
+ else {
1493
1462
  ownKeys$5(Object(source)).forEach(function(key) {
1494
1463
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
1495
1464
  });
@@ -1825,10 +1794,12 @@ function _array_without_holes$4(arr) {
1825
1794
  if (Array.isArray(arr)) return _array_like_to_array$4(arr);
1826
1795
  }
1827
1796
  function _iterable_to_array$4(iter) {
1828
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1797
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
1798
+ return Array.from(iter);
1799
+ }
1829
1800
  }
1830
1801
  function _non_iterable_spread$4() {
1831
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1802
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1832
1803
  }
1833
1804
  function _to_consumable_array$4(arr) {
1834
1805
  return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$4(arr) || _non_iterable_spread$4();
@@ -1961,9 +1932,7 @@ function _unsupported_iterable_to_array$4(o, minLen) {
1961
1932
  }
1962
1933
 
1963
1934
  function _class_call_check$b(instance, Constructor) {
1964
- if (!(instance instanceof Constructor)) {
1965
- throw new TypeError("Cannot call a class as a function");
1966
- }
1935
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1967
1936
  }
1968
1937
  function _defineProperties$a(target, props) {
1969
1938
  for(var i = 0; i < props.length; i++){
@@ -1986,9 +1955,7 @@ function _define_property$b(obj, key, value) {
1986
1955
  configurable: true,
1987
1956
  writable: true
1988
1957
  });
1989
- } else {
1990
- obj[key] = value;
1991
- }
1958
+ } else obj[key] = value;
1992
1959
  return obj;
1993
1960
  }
1994
1961
  /**
@@ -2023,9 +1990,7 @@ function _define_property$b(obj, key, value) {
2023
1990
  ();
2024
1991
 
2025
1992
  function _class_call_check$a(instance, Constructor) {
2026
- if (!(instance instanceof Constructor)) {
2027
- throw new TypeError("Cannot call a class as a function");
2028
- }
1993
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2029
1994
  }
2030
1995
  function _defineProperties$9(target, props) {
2031
1996
  for(var i = 0; i < props.length; i++){
@@ -2048,9 +2013,7 @@ function _define_property$a(obj, key, value) {
2048
2013
  configurable: true,
2049
2014
  writable: true
2050
2015
  });
2051
- } else {
2052
- obj[key] = value;
2053
- }
2016
+ } else obj[key] = value;
2054
2017
  return obj;
2055
2018
  }
2056
2019
  function _object_spread$4(target) {
@@ -2078,9 +2041,8 @@ function ownKeys$4(object, enumerableOnly) {
2078
2041
  }
2079
2042
  function _object_spread_props$4(target, source) {
2080
2043
  source = source != null ? source : {};
2081
- if (Object.getOwnPropertyDescriptors) {
2082
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2083
- } else {
2044
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2045
+ else {
2084
2046
  ownKeys$4(Object(source)).forEach(function(key) {
2085
2047
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2086
2048
  });
@@ -2456,10 +2418,12 @@ function _array_without_holes$3(arr) {
2456
2418
  if (Array.isArray(arr)) return _array_like_to_array$3(arr);
2457
2419
  }
2458
2420
  function _iterable_to_array$3(iter) {
2459
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
2421
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
2422
+ return Array.from(iter);
2423
+ }
2460
2424
  }
2461
2425
  function _non_iterable_spread$3() {
2462
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2426
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2463
2427
  }
2464
2428
  function _to_consumable_array$3(arr) {
2465
2429
  return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$3();
@@ -2592,9 +2556,7 @@ function _unsupported_iterable_to_array$3(o, minLen) {
2592
2556
  }
2593
2557
 
2594
2558
  function _class_call_check$9(instance, Constructor) {
2595
- if (!(instance instanceof Constructor)) {
2596
- throw new TypeError("Cannot call a class as a function");
2597
- }
2559
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2598
2560
  }
2599
2561
  function _defineProperties$8(target, props) {
2600
2562
  for(var i = 0; i < props.length; i++){
@@ -2617,9 +2579,7 @@ function _define_property$9(obj, key, value) {
2617
2579
  configurable: true,
2618
2580
  writable: true
2619
2581
  });
2620
- } else {
2621
- obj[key] = value;
2622
- }
2582
+ } else obj[key] = value;
2623
2583
  return obj;
2624
2584
  }
2625
2585
  /**
@@ -2643,9 +2603,7 @@ function _define_property$9(obj, key, value) {
2643
2603
  ();
2644
2604
 
2645
2605
  function _class_call_check$8(instance, Constructor) {
2646
- if (!(instance instanceof Constructor)) {
2647
- throw new TypeError("Cannot call a class as a function");
2648
- }
2606
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2649
2607
  }
2650
2608
  function _defineProperties$7(target, props) {
2651
2609
  for(var i = 0; i < props.length; i++){
@@ -2668,9 +2626,7 @@ function _define_property$8(obj, key, value) {
2668
2626
  configurable: true,
2669
2627
  writable: true
2670
2628
  });
2671
- } else {
2672
- obj[key] = value;
2673
- }
2629
+ } else obj[key] = value;
2674
2630
  return obj;
2675
2631
  }
2676
2632
  function _object_spread$3(target) {
@@ -2698,9 +2654,8 @@ function ownKeys$3(object, enumerableOnly) {
2698
2654
  }
2699
2655
  function _object_spread_props$3(target, source) {
2700
2656
  source = source != null ? source : {};
2701
- if (Object.getOwnPropertyDescriptors) {
2702
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2703
- } else {
2657
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2658
+ else {
2704
2659
  ownKeys$3(Object(source)).forEach(function(key) {
2705
2660
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2706
2661
  });
@@ -2926,10 +2881,12 @@ function _array_without_holes$2(arr) {
2926
2881
  if (Array.isArray(arr)) return _array_like_to_array$2(arr);
2927
2882
  }
2928
2883
  function _iterable_to_array$2(iter) {
2929
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
2884
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
2885
+ return Array.from(iter);
2886
+ }
2930
2887
  }
2931
2888
  function _non_iterable_spread$2() {
2932
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2889
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2933
2890
  }
2934
2891
  function _to_consumable_array$2(arr) {
2935
2892
  return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$2();
@@ -3070,9 +3027,7 @@ function _define_property$7(obj, key, value) {
3070
3027
  configurable: true,
3071
3028
  writable: true
3072
3029
  });
3073
- } else {
3074
- obj[key] = value;
3075
- }
3030
+ } else obj[key] = value;
3076
3031
  return obj;
3077
3032
  }
3078
3033
  function _object_spread$2(target) {
@@ -3100,9 +3055,8 @@ function ownKeys$2(object, enumerableOnly) {
3100
3055
  }
3101
3056
  function _object_spread_props$2(target, source) {
3102
3057
  source = source != null ? source : {};
3103
- if (Object.getOwnPropertyDescriptors) {
3104
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3105
- } else {
3058
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3059
+ else {
3106
3060
  ownKeys$2(Object(source)).forEach(function(key) {
3107
3061
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
3108
3062
  });
@@ -3142,9 +3096,7 @@ var zohoSignEventHandlerConfigurerFactory = handlerConfigurerFactory({
3142
3096
  });
3143
3097
 
3144
3098
  function _class_call_check$7(instance, Constructor) {
3145
- if (!(instance instanceof Constructor)) {
3146
- throw new TypeError("Cannot call a class as a function");
3147
- }
3099
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3148
3100
  }
3149
3101
  function _defineProperties$6(target, props) {
3150
3102
  for(var i = 0; i < props.length; i++){
@@ -3167,9 +3119,7 @@ function _define_property$6(obj, key, value) {
3167
3119
  configurable: true,
3168
3120
  writable: true
3169
3121
  });
3170
- } else {
3171
- obj[key] = value;
3172
- }
3122
+ } else obj[key] = value;
3173
3123
  return obj;
3174
3124
  }
3175
3125
  var ZOHO_SIGN_WEBHOOK_SECRET_TOKEN_ENV_VAR = 'ZOHO_SIGN_WEBHOOK_SECRET_TOKEN';
@@ -3202,11 +3152,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
3202
3152
  reject(error);
3203
3153
  return;
3204
3154
  }
3205
- if (info.done) {
3206
- resolve(value);
3207
- } else {
3208
- Promise.resolve(value).then(_next, _throw);
3209
- }
3155
+ if (info.done) resolve(value);
3156
+ else Promise.resolve(value).then(_next, _throw);
3210
3157
  }
3211
3158
  function _async_to_generator$2(fn) {
3212
3159
  return function() {
@@ -3401,11 +3348,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
3401
3348
  reject(error);
3402
3349
  return;
3403
3350
  }
3404
- if (info.done) {
3405
- resolve(value);
3406
- } else {
3407
- Promise.resolve(value).then(_next, _throw);
3408
- }
3351
+ if (info.done) resolve(value);
3352
+ else Promise.resolve(value).then(_next, _throw);
3409
3353
  }
3410
3354
  function _async_to_generator$1(fn) {
3411
3355
  return function() {
@@ -3423,9 +3367,7 @@ function _async_to_generator$1(fn) {
3423
3367
  };
3424
3368
  }
3425
3369
  function _class_call_check$6(instance, Constructor) {
3426
- if (!(instance instanceof Constructor)) {
3427
- throw new TypeError("Cannot call a class as a function");
3428
- }
3370
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3429
3371
  }
3430
3372
  function _defineProperties$5(target, props) {
3431
3373
  for(var i = 0; i < props.length; i++){
@@ -3448,9 +3390,7 @@ function _define_property$5(obj, key, value) {
3448
3390
  configurable: true,
3449
3391
  writable: true
3450
3392
  });
3451
- } else {
3452
- obj[key] = value;
3453
- }
3393
+ } else obj[key] = value;
3454
3394
  return obj;
3455
3395
  }
3456
3396
  function _ts_generator$1(thisArg, body) {
@@ -3648,11 +3588,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
3648
3588
  reject(error);
3649
3589
  return;
3650
3590
  }
3651
- if (info.done) {
3652
- resolve(value);
3653
- } else {
3654
- Promise.resolve(value).then(_next, _throw);
3655
- }
3591
+ if (info.done) resolve(value);
3592
+ else Promise.resolve(value).then(_next, _throw);
3656
3593
  }
3657
3594
  function _async_to_generator(fn) {
3658
3595
  return function() {
@@ -3670,9 +3607,7 @@ function _async_to_generator(fn) {
3670
3607
  };
3671
3608
  }
3672
3609
  function _class_call_check$5(instance, Constructor) {
3673
- if (!(instance instanceof Constructor)) {
3674
- throw new TypeError("Cannot call a class as a function");
3675
- }
3610
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3676
3611
  }
3677
3612
  function _defineProperties$4(target, props) {
3678
3613
  for(var i = 0; i < props.length; i++){
@@ -3695,9 +3630,7 @@ function _define_property$4(obj, key, value) {
3695
3630
  configurable: true,
3696
3631
  writable: true
3697
3632
  });
3698
- } else {
3699
- obj[key] = value;
3700
- }
3633
+ } else obj[key] = value;
3701
3634
  return obj;
3702
3635
  }
3703
3636
  function _ts_generator(thisArg, body) {
@@ -3841,9 +3774,7 @@ ZohoSignWebhookController = __decorate([
3841
3774
  ], ZohoSignWebhookController);
3842
3775
 
3843
3776
  function _class_call_check$4(instance, Constructor) {
3844
- if (!(instance instanceof Constructor)) {
3845
- throw new TypeError("Cannot call a class as a function");
3846
- }
3777
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3847
3778
  }
3848
3779
  /**
3849
3780
  * Reads the Zoho Sign webhook secret from the NestJS ConfigService
@@ -3889,9 +3820,7 @@ ZohoSignWebhookModule = __decorate([
3889
3820
  ], ZohoSignWebhookModule);
3890
3821
 
3891
3822
  function _class_call_check$3(instance, Constructor) {
3892
- if (!(instance instanceof Constructor)) {
3893
- throw new TypeError("Cannot call a class as a function");
3894
- }
3823
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3895
3824
  }
3896
3825
  function _defineProperties$3(target, props) {
3897
3826
  for(var i = 0; i < props.length; i++){
@@ -3914,9 +3843,7 @@ function _define_property$3(obj, key, value) {
3914
3843
  configurable: true,
3915
3844
  writable: true
3916
3845
  });
3917
- } else {
3918
- obj[key] = value;
3919
- }
3846
+ } else obj[key] = value;
3920
3847
  return obj;
3921
3848
  }
3922
3849
  /**
@@ -3955,9 +3882,7 @@ function _define_property$3(obj, key, value) {
3955
3882
  ();
3956
3883
 
3957
3884
  function _class_call_check$2(instance, Constructor) {
3958
- if (!(instance instanceof Constructor)) {
3959
- throw new TypeError("Cannot call a class as a function");
3960
- }
3885
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3961
3886
  }
3962
3887
  function _defineProperties$2(target, props) {
3963
3888
  for(var i = 0; i < props.length; i++){
@@ -3980,9 +3905,7 @@ function _define_property$2(obj, key, value) {
3980
3905
  configurable: true,
3981
3906
  writable: true
3982
3907
  });
3983
- } else {
3984
- obj[key] = value;
3985
- }
3908
+ } else obj[key] = value;
3986
3909
  return obj;
3987
3910
  }
3988
3911
  function _object_spread$1(target) {
@@ -4010,9 +3933,8 @@ function ownKeys$1(object, enumerableOnly) {
4010
3933
  }
4011
3934
  function _object_spread_props$1(target, source) {
4012
3935
  source = source != null ? source : {};
4013
- if (Object.getOwnPropertyDescriptors) {
4014
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
4015
- } else {
3936
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3937
+ else {
4016
3938
  ownKeys$1(Object(source)).forEach(function(key) {
4017
3939
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
4018
3940
  });
@@ -4528,10 +4450,12 @@ function _array_without_holes$1(arr) {
4528
4450
  if (Array.isArray(arr)) return _array_like_to_array$1(arr);
4529
4451
  }
4530
4452
  function _iterable_to_array$1(iter) {
4531
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
4453
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
4454
+ return Array.from(iter);
4455
+ }
4532
4456
  }
4533
4457
  function _non_iterable_spread$1() {
4534
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4458
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4535
4459
  }
4536
4460
  function _to_consumable_array$1(arr) {
4537
4461
  return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
@@ -4634,9 +4558,7 @@ function _unsupported_iterable_to_array$1(o, minLen) {
4634
4558
  }
4635
4559
 
4636
4560
  function _class_call_check$1(instance, Constructor) {
4637
- if (!(instance instanceof Constructor)) {
4638
- throw new TypeError("Cannot call a class as a function");
4639
- }
4561
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
4640
4562
  }
4641
4563
  function _defineProperties$1(target, props) {
4642
4564
  for(var i = 0; i < props.length; i++){
@@ -4659,9 +4581,7 @@ function _define_property$1(obj, key, value) {
4659
4581
  configurable: true,
4660
4582
  writable: true
4661
4583
  });
4662
- } else {
4663
- obj[key] = value;
4664
- }
4584
+ } else obj[key] = value;
4665
4585
  return obj;
4666
4586
  }
4667
4587
  /**
@@ -4695,9 +4615,7 @@ function _define_property$1(obj, key, value) {
4695
4615
  ();
4696
4616
 
4697
4617
  function _class_call_check(instance, Constructor) {
4698
- if (!(instance instanceof Constructor)) {
4699
- throw new TypeError("Cannot call a class as a function");
4700
- }
4618
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
4701
4619
  }
4702
4620
  function _defineProperties(target, props) {
4703
4621
  for(var i = 0; i < props.length; i++){
@@ -4720,9 +4638,7 @@ function _define_property(obj, key, value) {
4720
4638
  configurable: true,
4721
4639
  writable: true
4722
4640
  });
4723
- } else {
4724
- obj[key] = value;
4725
- }
4641
+ } else obj[key] = value;
4726
4642
  return obj;
4727
4643
  }
4728
4644
  function _object_spread(target) {
@@ -4750,9 +4666,8 @@ function ownKeys(object, enumerableOnly) {
4750
4666
  }
4751
4667
  function _object_spread_props(target, source) {
4752
4668
  source = source != null ? source : {};
4753
- if (Object.getOwnPropertyDescriptors) {
4754
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
4755
- } else {
4669
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
4670
+ else {
4756
4671
  ownKeys(Object(source)).forEach(function(key) {
4757
4672
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
4758
4673
  });
@@ -5124,10 +5039,12 @@ function _array_without_holes(arr) {
5124
5039
  if (Array.isArray(arr)) return _array_like_to_array(arr);
5125
5040
  }
5126
5041
  function _iterable_to_array(iter) {
5127
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
5042
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
5043
+ return Array.from(iter);
5044
+ }
5128
5045
  }
5129
5046
  function _non_iterable_spread() {
5130
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5047
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5131
5048
  }
5132
5049
  function _to_consumable_array(arr) {
5133
5050
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();