@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
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/zoho/nestjs",
3
- "version": "13.11.13",
3
+ "version": "13.11.15",
4
4
  "peerDependencies": {
5
- "@dereekb/nestjs": "13.11.13",
6
- "@dereekb/rxjs": "13.11.13",
7
- "@dereekb/util": "13.11.13",
8
- "@dereekb/zoho": "13.11.13",
5
+ "@dereekb/nestjs": "13.11.15",
6
+ "@dereekb/rxjs": "13.11.15",
7
+ "@dereekb/util": "13.11.15",
8
+ "@dereekb/zoho": "13.11.15",
9
9
  "@nestjs/common": "^11.1.19",
10
10
  "@nestjs/config": "^4.0.4",
11
11
  "express": "^5.2.1"
@@ -42,6 +42,6 @@ export type ZohoAccountsServiceConfigFromConfigServiceInput = ZohoConfigServiceR
42
42
  * @param input - The {@link ZohoAccountsServiceConfigFromConfigServiceInput} containing the
43
43
  * `ConfigService` and the `serviceAccessTokenKey` for the target Zoho service.
44
44
  * @returns A validated {@link ZohoAccountsServiceConfig} ready for use with `ZohoAccountsApi`.
45
- * @throws If any required credential (apiUrl, refreshToken, clientId) is missing.
45
+ * @throws {Error} If any required credential (apiUrl, refreshToken, clientId) is missing.
46
46
  */
47
47
  export declare function zohoAccountsServiceConfigFromConfigService(input: ZohoAccountsServiceConfigFromConfigServiceInput): ZohoAccountsServiceConfig;
@@ -16,7 +16,7 @@ export type LogMergeZohoAccountsAccessTokenCacheServiceErrorFunction = (failedUp
16
16
  /**
17
17
  * Default error logging function for merged Zoho access token cache services.
18
18
  *
19
- * @param failedUpdates - array of cache/error tuples that failed during update
19
+ * @param failedUpdates - Array of cache/error tuples that failed during update.
20
20
  */
21
21
  export declare function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction(failedUpdates: (readonly [ZohoAccessTokenCache, unknown])[]): void;
22
22
  /**
@@ -31,10 +31,10 @@ export declare function logMergeZohoAccountsAccessTokenCacheServiceErrorFunction
31
31
  * never short-circuits the lookup. Updates and clears run across all services in parallel
32
32
  * via `Promise.allSettled`, mirroring the previous behavior, with optional error logging.
33
33
  *
34
- * @param servicesToMerge Must include atleast one service. Empty arrays will throw an error.
35
- * @param inputServicesToMerge - cache services to merge in priority order
36
- * @param logError - optional error logging toggle or custom logging function
37
- * @returns a merged ZohoAccountsAccessTokenCacheService that delegates across all inputs
34
+ * @param inputServicesToMerge - Cache services to merge in priority order. Must include at least one service.
35
+ * @param logError - Optional error logging toggle or custom logging function.
36
+ * @returns A merged ZohoAccountsAccessTokenCacheService that delegates across all inputs.
37
+ * @throws {Error} When `inputServicesToMerge` is empty.
38
38
  */
39
39
  export declare function mergeZohoAccountsAccessTokenCacheServices(inputServicesToMerge: ZohoAccountsAccessTokenCacheService[], logError?: Maybe<boolean | LogMergeZohoAccountsAccessTokenCacheServiceErrorFunction>): ZohoAccountsAccessTokenCacheService;
40
40
  /**
@@ -43,9 +43,9 @@ export declare function mergeZohoAccountsAccessTokenCacheServices(inputServicesT
43
43
  * Backed by {@link inMemoryAsyncKeyedValueCache} so all per-service caches share the
44
44
  * same record instance.
45
45
  *
46
- * @param existingCache - optional pre-populated token cache record to use as initial state
47
- * @param logAccessToConsole - whether to log cache reads and writes to the console
48
- * @returns a ZohoAccountsAccessTokenCacheService backed by in-memory storage
46
+ * @param existingCache - Optional pre-populated token cache record to use as initial state.
47
+ * @param logAccessToConsole - Whether to log cache reads and writes to the console.
48
+ * @returns A ZohoAccountsAccessTokenCacheService backed by in-memory storage.
49
49
  */
50
50
  export declare function memoryZohoAccountsAccessTokenCacheService(existingCache?: ZohoAccountsAccessTokenCacheRecord, logAccessToConsole?: boolean): ZohoAccountsAccessTokenCacheService;
51
51
  export interface FileSystemZohoAccountsAccessTokenCacheService extends ZohoAccountsAccessTokenCacheService {
@@ -62,8 +62,8 @@ export declare const DEFAULT_FILE_ZOHO_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH
62
62
  *
63
63
  * Useful for testing.
64
64
  *
65
- * @param filename - path to the JSON file used for token persistence
66
- * @param useMemoryCache - whether to also cache tokens in memory for faster reads
67
- * @returns a FileSystemZohoAccountsAccessTokenCacheService backed by file storage
65
+ * @param filename - Path to the JSON file used for token persistence.
66
+ * @param useMemoryCache - Whether to also cache tokens in memory for faster reads.
67
+ * @returns A FileSystemZohoAccountsAccessTokenCacheService backed by file storage.
68
68
  */
69
69
  export declare function fileZohoAccountsAccessTokenCacheService(filename?: string, useMemoryCache?: boolean): FileSystemZohoAccountsAccessTokenCacheService;
@@ -17,159 +17,159 @@ export declare class ZohoCrmApi {
17
17
  /**
18
18
  * The authenticated CRM context used by all operation accessors.
19
19
  *
20
- * @returns the CRM context from the underlying client
20
+ * @returns The CRM context from the underlying client.
21
21
  */
22
22
  get crmContext(): ZohoCrmContext;
23
23
  /**
24
24
  * Rate limiter shared across all CRM 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 CRM client by combining the service config with the
31
31
  * accounts context for OAuth token management.
32
32
  *
33
- * @param config - Zoho CRM service configuration
34
- * @param zohoAccountsApi - accounts API used for OAuth token management
33
+ * @param config - Zoho CRM service configuration.
34
+ * @param zohoAccountsApi - Accounts API used for OAuth token management.
35
35
  */
36
36
  constructor(config: ZohoCrmServiceConfig, zohoAccountsApi: ZohoAccountsApi);
37
37
  /**
38
38
  * Configured pass-through for {@link zohoCrmInsertRecord}.
39
39
  *
40
- * @returns bound insert record function
40
+ * @returns Bound insert record function.
41
41
  */
42
42
  get insertRecord(): import("@dereekb/zoho").ZohoCrmCreateRecordLikeFunction;
43
43
  /**
44
44
  * Configured pass-through for {@link zohoCrmUpsertRecord}.
45
45
  *
46
- * @returns bound upsert record function
46
+ * @returns Bound upsert record function.
47
47
  */
48
48
  get upsertRecord(): import("@dereekb/zoho").ZohoCrmUpsertRecordLikeFunction;
49
49
  /**
50
50
  * Configured pass-through for {@link zohoCrmUpdateRecord}.
51
51
  *
52
- * @returns bound update record function
52
+ * @returns Bound update record function.
53
53
  */
54
54
  get updateRecord(): import("@dereekb/zoho").ZohoCrmUpdateRecordLikeFunction;
55
55
  /**
56
56
  * Configured pass-through for {@link zohoCrmDeleteRecord}.
57
57
  *
58
- * @returns bound delete record function
58
+ * @returns Bound delete record function.
59
59
  */
60
60
  get deleteRecord(): import("@dereekb/zoho").ZohoCrmDeleteRecordFunction;
61
61
  /**
62
62
  * Configured pass-through for {@link zohoCrmGetRecordById}.
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").ZohoCrmGetRecordByIdFunction;
67
67
  /**
68
68
  * Configured pass-through for {@link zohoCrmGetRecords}.
69
69
  *
70
- * @returns bound get records function
70
+ * @returns Bound get records function.
71
71
  */
72
72
  get getRecords(): import("@dereekb/zoho").ZohoCrmGetRecordsFunction;
73
73
  /**
74
74
  * Configured pass-through for {@link zohoCrmSearchRecords}.
75
75
  *
76
- * @returns bound search records function
76
+ * @returns Bound search records function.
77
77
  */
78
78
  get searchRecords(): import("@dereekb/zoho").ZohoCrmSearchRecordsFunction;
79
79
  /**
80
80
  * Configured pass-through for {@link zohoCrmSearchRecordsPageFactory}.
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").ZohoCrmSearchRecordsPageFactory;
85
85
  /**
86
86
  * Configured pass-through for {@link zohoCrmGetRelatedRecordsFunctionFactory}.
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").ZohoCrmGetRelatedRecordsFunctionFactory;
91
91
  /**
92
92
  * Configured pass-through for {@link zohoCrmGetEmailsForRecord}.
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").ZohoCrmGetEmailsForRecordFunction;
97
97
  /**
98
98
  * Configured pass-through for {@link zohoCrmGetEmailsForRecordPageFactory}.
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").ZohoCrmGetEmailsForRecordPageFactory;
103
103
  /**
104
104
  * Configured pass-through for {@link zohoCrmGetAttachmentsForRecord}.
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").ZohoCrmGetAttachmentsForRecordFunction;
109
109
  /**
110
110
  * Configured pass-through for {@link zohoCrmGetAttachmentsForRecordPageFactory}.
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").ZohoCrmGetAttachmentsForRecordPageFactory;
115
115
  /**
116
116
  * Configured pass-through for {@link zohoCrmUploadAttachmentForRecord}.
117
117
  *
118
- * @returns bound upload attachment function
118
+ * @returns Bound upload attachment function.
119
119
  */
120
120
  get uploadAttachmentForRecord(): import("@dereekb/zoho").ZohoCrmUploadAttachmentForRecordFunction;
121
121
  /**
122
122
  * Configured pass-through for {@link zohoCrmDownloadAttachmentForRecord}.
123
123
  *
124
- * @returns bound download attachment function
124
+ * @returns Bound download attachment function.
125
125
  */
126
126
  get downloadAttachmentForRecord(): import("@dereekb/zoho").ZohoCrmDownloadAttachmentForRecordFunction;
127
127
  /**
128
128
  * Configured pass-through for {@link zohoCrmDeleteAttachmentFromRecord}.
129
129
  *
130
- * @returns bound delete attachment function
130
+ * @returns Bound delete attachment function.
131
131
  */
132
132
  get deleteAttachmentFromRecord(): import("@dereekb/zoho").ZohoCrmDeleteAttachmentFromRecordFunction;
133
133
  /**
134
134
  * Configured pass-through for {@link zohoCrmCreateNotes}.
135
135
  *
136
- * @returns bound create notes function
136
+ * @returns Bound create notes function.
137
137
  */
138
138
  get createNotes(): (input: import("@dereekb/zoho").ZohoCrmCreateNotesRequest) => Promise<import("@dereekb/zoho").ZohoCrmMultiRecordResult<import("@dereekb/zoho").NewZohoCrmNoteData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoCrmChangeObjectDetails>, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>>;
139
139
  /**
140
140
  * Configured pass-through for {@link zohoCrmDeleteNotes}.
141
141
  *
142
- * @returns bound delete notes function
142
+ * @returns Bound delete notes function.
143
143
  */
144
144
  get deleteNotes(): (input: import("@dereekb/zoho").ZohoCrmDeleteNotesRequest) => Promise<import("@dereekb/zoho").ZohoCrmMultiRecordResult<string, import("@dereekb/zoho").ZohoCrmChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoCrmChangeObjectDetails>, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>>;
145
145
  /**
146
146
  * Configured pass-through for {@link zohoCrmCreateNotesForRecord}.
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").ZohoCrmCreateNotesForRecordFunction;
151
151
  /**
152
152
  * Configured pass-through for {@link zohoCrmGetNotesForRecord}.
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").ZohoCrmGetNotesForRecordFunction;
157
157
  /**
158
158
  * Configured pass-through for {@link zohoCrmGetNotesForRecordPageFactory}.
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").ZohoCrmGetNotesForRecordPageFactory;
163
163
  /**
164
164
  * Configured pass-through for {@link zohoCrmExecuteRestApiFunction}.
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").ZohoCrmExecuteRestApiFunctionFunction;
169
169
  /**
170
170
  * Configured pass-through for {@link zohoCrmCreateTagsForModule}.
171
171
  *
172
- * @returns bound create tags for module function
172
+ * @returns Bound create tags for module function.
173
173
  */
174
174
  get createTagsForModule(): (input: import("@dereekb/zoho").ZohoCrmCreateTagsRequest) => Promise<{
175
175
  errorItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>[];
@@ -180,25 +180,25 @@ export declare class ZohoCrmApi {
180
180
  /**
181
181
  * Configured pass-through for {@link zohoCrmDeleteTag}.
182
182
  *
183
- * @returns bound delete tag function
183
+ * @returns Bound delete tag function.
184
184
  */
185
185
  get deleteTag(): import("@dereekb/zoho").ZohoCrmDeleteTagFunction;
186
186
  /**
187
187
  * Configured pass-through for {@link zohoCrmGetTagsForModule}.
188
188
  *
189
- * @returns bound get tags for module function
189
+ * @returns Bound get tags for module function.
190
190
  */
191
191
  get getTagsForModule(): import("@dereekb/zoho").ZohoCrmGetTagsFunction;
192
192
  /**
193
193
  * Configured pass-through for {@link zohoCrmAddTagsToRecords}.
194
194
  *
195
- * @returns bound add tags to records function
195
+ * @returns Bound add tags to records function.
196
196
  */
197
197
  get addTagsToRecords(): import("@dereekb/zoho").ZohoCrmAddTagsToRecordsFunction;
198
198
  /**
199
199
  * Configured pass-through for {@link zohoCrmRemoveTagsFromRecords}.
200
200
  *
201
- * @returns bound remove tags from records function
201
+ * @returns Bound remove tags from records function.
202
202
  */
203
203
  get removeTagsFromRecords(): import("@dereekb/zoho").ZohoCrmRemoveTagsFromRecordsFunction;
204
204
  }
@@ -21,7 +21,7 @@ export declare abstract class ZohoCrmServiceConfig {
21
21
  /**
22
22
  * Validates that the required Zoho CRM connection fields are present and well-formed.
23
23
  *
24
- * @param config - the CRM service config to validate
24
+ * @param config - The CRM service config to validate.
25
25
  */
26
26
  static assertValidConfig(config: ZohoCrmServiceConfig): void;
27
27
  }
@@ -10,9 +10,9 @@ import { type Maybe } from '@dereekb/util';
10
10
  * Resolves the API URL via environment variables following the naming convention
11
11
  * `ZOHO_CRM_API_URL` (service-specific) or `ZOHO_API_URL` (shared fallback).
12
12
  *
13
- * @param configService - NestJS config service populated with Zoho environment variables
14
- * @returns Validated Zoho CRM service configuration
15
- * @throws {Error} If required config values (e.g. API URL) are missing
13
+ * @param configService - NestJS config service populated with Zoho environment variables.
14
+ * @returns Validated Zoho CRM service configuration.
15
+ * @throws {Error} If required config values (e.g. API URL) are missing.
16
16
  *
17
17
  * @example
18
18
  * ```typescript
@@ -28,8 +28,8 @@ export declare function zohoCrmServiceConfigFactory(configService: ConfigService
28
28
  * Reads Zoho Accounts (OAuth) settings scoped to the CRM service from
29
29
  * the NestJS ConfigService and returns an accounts service config.
30
30
  *
31
- * @param configService - NestJS config service populated with Zoho OAuth environment variables
32
- * @returns Zoho Accounts service config scoped to the CRM service access token
31
+ * @param configService - NestJS config service populated with Zoho OAuth environment variables.
32
+ * @returns Zoho Accounts service config scoped to the CRM service access token.
33
33
  *
34
34
  * @example
35
35
  * ```typescript
@@ -68,14 +68,10 @@ export interface ProvideAppZohoCrmMetadataConfig extends Pick<ModuleMetadata, 'i
68
68
  * exports {@link ZohoCrmApi} by default. Additional imports, exports, and providers
69
69
  * from the config are merged in.
70
70
  *
71
- * @param config - Module configuration with optional dependency module and extra metadata
71
+ * @param config - Module configuration with optional dependency module and extra metadata.
72
72
  * @returns Complete NestJS module metadata ready to pass to `@Module()`
73
73
  *
74
- * @example
75
- * ```typescript
76
- * const cacheService = fileZohoAccountsAccessTokenCacheService();
77
- *
78
- * @Module({
74
+ * @Module ({
79
75
  * providers: [
80
76
  * {
81
77
  * provide: ZohoAccountsAccessTokenCacheService,
@@ -85,9 +81,12 @@ export interface ProvideAppZohoCrmMetadataConfig extends Pick<ModuleMetadata, 'i
85
81
  * exports: [ZohoAccountsAccessTokenCacheService]
86
82
  * })
87
83
  * export class ZohoCrmDependencyModule {}
88
- *
89
- * @Module(appZohoCrmModuleMetadata({ dependencyModule: ZohoCrmDependencyModule }))
84
+ * @Module (appZohoCrmModuleMetadata({ dependencyModule: ZohoCrmDependencyModule }))
90
85
  * export class AppZohoCrmModule {}
91
86
  * ```
87
+ *
88
+ * @example
89
+ * ```typescript
90
+ * const cacheService = fileZohoAccountsAccessTokenCacheService();
92
91
  */
93
92
  export declare function appZohoCrmModuleMetadata(config: ProvideAppZohoCrmMetadataConfig): ModuleMetadata;