@dereekb/zoho 13.0.7 → 13.2.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.
@@ -35,10 +35,6 @@ function __param(paramIndex, decorator) {
35
35
  return function (target, key) { decorator(target, key, paramIndex); }
36
36
  }
37
37
 
38
- function __metadata(metadataKey, metadataValue) {
39
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
40
- }
41
-
42
38
  typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
43
39
  var e = new Error(message);
44
40
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
@@ -410,9 +406,7 @@ exports.ZohoAccountsApi = class ZohoAccountsApi {
410
406
  exports.ZohoAccountsApi = __decorate([
411
407
  common.Injectable(),
412
408
  __param(0, common.Inject(ZohoAccountsServiceConfig)),
413
- __param(1, common.Inject(exports.ZohoAccountsAccessTokenCacheService)),
414
- __metadata("design:paramtypes", [ZohoAccountsServiceConfig,
415
- exports.ZohoAccountsAccessTokenCacheService])
409
+ __param(1, common.Inject(exports.ZohoAccountsAccessTokenCacheService))
416
410
  ], exports.ZohoAccountsApi);
417
411
 
418
412
  /**
@@ -588,9 +582,7 @@ exports.ZohoCrmApi = class ZohoCrmApi {
588
582
  exports.ZohoCrmApi = __decorate([
589
583
  common.Injectable(),
590
584
  __param(0, common.Inject(ZohoCrmServiceConfig)),
591
- __param(1, common.Inject(exports.ZohoAccountsApi)),
592
- __metadata("design:paramtypes", [ZohoCrmServiceConfig,
593
- exports.ZohoAccountsApi])
585
+ __param(1, common.Inject(exports.ZohoAccountsApi))
594
586
  ], exports.ZohoCrmApi);
595
587
 
596
588
  // MARK: Provider Factories
@@ -896,9 +888,7 @@ exports.ZohoRecruitApi = class ZohoRecruitApi {
896
888
  exports.ZohoRecruitApi = __decorate([
897
889
  common.Injectable(),
898
890
  __param(0, common.Inject(ZohoRecruitServiceConfig)),
899
- __param(1, common.Inject(exports.ZohoAccountsApi)),
900
- __metadata("design:paramtypes", [ZohoRecruitServiceConfig,
901
- exports.ZohoAccountsApi])
891
+ __param(1, common.Inject(exports.ZohoAccountsApi))
902
892
  ], exports.ZohoRecruitApi);
903
893
 
904
894
  // MARK: Provider Factories
@@ -1116,9 +1106,7 @@ exports.ZohoSignApi = class ZohoSignApi {
1116
1106
  exports.ZohoSignApi = __decorate([
1117
1107
  common.Injectable(),
1118
1108
  __param(0, common.Inject(ZohoSignServiceConfig)),
1119
- __param(1, common.Inject(exports.ZohoAccountsApi)),
1120
- __metadata("design:paramtypes", [ZohoSignServiceConfig,
1121
- exports.ZohoAccountsApi])
1109
+ __param(1, common.Inject(exports.ZohoAccountsApi))
1122
1110
  ], exports.ZohoSignApi);
1123
1111
 
1124
1112
  // MARK: Provider Factories
@@ -33,10 +33,6 @@ function __param(paramIndex, decorator) {
33
33
  return function (target, key) { decorator(target, key, paramIndex); }
34
34
  }
35
35
 
36
- function __metadata(metadataKey, metadataValue) {
37
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
38
- }
39
-
40
36
  typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
41
37
  var e = new Error(message);
42
38
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
@@ -408,9 +404,7 @@ let ZohoAccountsApi = class ZohoAccountsApi {
408
404
  ZohoAccountsApi = __decorate([
409
405
  Injectable(),
410
406
  __param(0, Inject(ZohoAccountsServiceConfig)),
411
- __param(1, Inject(ZohoAccountsAccessTokenCacheService)),
412
- __metadata("design:paramtypes", [ZohoAccountsServiceConfig,
413
- ZohoAccountsAccessTokenCacheService])
407
+ __param(1, Inject(ZohoAccountsAccessTokenCacheService))
414
408
  ], ZohoAccountsApi);
415
409
 
416
410
  /**
@@ -586,9 +580,7 @@ let ZohoCrmApi = class ZohoCrmApi {
586
580
  ZohoCrmApi = __decorate([
587
581
  Injectable(),
588
582
  __param(0, Inject(ZohoCrmServiceConfig)),
589
- __param(1, Inject(ZohoAccountsApi)),
590
- __metadata("design:paramtypes", [ZohoCrmServiceConfig,
591
- ZohoAccountsApi])
583
+ __param(1, Inject(ZohoAccountsApi))
592
584
  ], ZohoCrmApi);
593
585
 
594
586
  // MARK: Provider Factories
@@ -894,9 +886,7 @@ let ZohoRecruitApi = class ZohoRecruitApi {
894
886
  ZohoRecruitApi = __decorate([
895
887
  Injectable(),
896
888
  __param(0, Inject(ZohoRecruitServiceConfig)),
897
- __param(1, Inject(ZohoAccountsApi)),
898
- __metadata("design:paramtypes", [ZohoRecruitServiceConfig,
899
- ZohoAccountsApi])
889
+ __param(1, Inject(ZohoAccountsApi))
900
890
  ], ZohoRecruitApi);
901
891
 
902
892
  // MARK: Provider Factories
@@ -1114,9 +1104,7 @@ let ZohoSignApi = class ZohoSignApi {
1114
1104
  ZohoSignApi = __decorate([
1115
1105
  Injectable(),
1116
1106
  __param(0, Inject(ZohoSignServiceConfig)),
1117
- __param(1, Inject(ZohoAccountsApi)),
1118
- __metadata("design:paramtypes", [ZohoSignServiceConfig,
1119
- ZohoAccountsApi])
1107
+ __param(1, Inject(ZohoAccountsApi))
1120
1108
  ], ZohoSignApi);
1121
1109
 
1122
1110
  // MARK: Provider Factories
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@dereekb/zoho/nestjs",
3
- "version": "13.0.7",
3
+ "version": "13.2.0",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.0.7",
6
- "@dereekb/zoho": "13.0.7",
5
+ "@dereekb/util": "13.2.0",
6
+ "@dereekb/zoho": "13.2.0",
7
7
  "@nestjs/common": "^11.0.0",
8
8
  "@nestjs/config": "^4.0.0"
9
9
  },
@@ -1,4 +1,4 @@
1
- import { ZohoAccounts, ZohoAccountsContext } from '@dereekb/zoho';
1
+ import { type ZohoAccounts, type ZohoAccountsContext } from '@dereekb/zoho';
2
2
  import { ZohoAccountsServiceConfig } from './accounts.config';
3
3
  import { ZohoAccountsAccessTokenCacheService } from './accounts.service';
4
4
  export declare class ZohoAccountsApi {
@@ -1,5 +1,5 @@
1
- import { ZohoAccessToken, ZohoAccessTokenCache, ZohoServiceAccessTokenKey } from '@dereekb/zoho';
2
- import { Maybe } from '@dereekb/util';
1
+ import { type ZohoAccessToken, type ZohoAccessTokenCache, type ZohoServiceAccessTokenKey } from '@dereekb/zoho';
2
+ import { type Maybe } from '@dereekb/util';
3
3
  export type ZohoAccountsAccessTokenCacheRecord = Record<ZohoServiceAccessTokenKey, Maybe<ZohoAccessToken>>;
4
4
  /**
5
5
  * Service used for retrieving ZohoAccessTokenCache for Zoho services.
@@ -1,4 +1,4 @@
1
- import { ZohoCrm, ZohoCrmContext } from '@dereekb/zoho';
1
+ import { type ZohoCrm, type ZohoCrmContext } from '@dereekb/zoho';
2
2
  import { ZohoCrmServiceConfig } from './crm.config';
3
3
  import { ZohoAccountsApi } from '../accounts/accounts.api';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ZohoRecruit, ZohoRecruitContext } from '@dereekb/zoho';
1
+ import { type ZohoRecruit, type ZohoRecruitContext } from '@dereekb/zoho';
2
2
  import { ZohoRecruitServiceConfig } from './recruit.config';
3
3
  import { ZohoAccountsApi } from '../accounts/accounts.api';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ZohoSign, ZohoSignContext } from '@dereekb/zoho';
1
+ import { type ZohoSign, type ZohoSignContext } from '@dereekb/zoho';
2
2
  import { ZohoSignServiceConfig } from './sign.config';
3
3
  import { ZohoAccountsApi } from '../accounts/accounts.api';
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoho",
3
- "version": "13.0.7",
3
+ "version": "13.2.0",
4
4
  "exports": {
5
5
  "./nestjs": {
6
6
  "module": "./nestjs/index.esm.js",
@@ -17,7 +17,7 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@dereekb/util": "13.0.7",
20
+ "@dereekb/util": "13.2.0",
21
21
  "@nestjs/common": "^11.0.0",
22
22
  "@nestjs/config": "^4.0.0",
23
23
  "make-error": "^1.3.0"