@dereekb/zoho 13.0.6 → 13.1.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.
- package/index.cjs.js +2164 -231
- package/index.esm.js +2143 -232
- package/nestjs/LICENSE +21 -0
- package/nestjs/README.md +11 -0
- package/nestjs/docs/configuration.md +165 -0
- package/nestjs/docs/crm-getting-started.md +296 -0
- package/nestjs/index.cjs.js +651 -15
- package/nestjs/index.esm.js +645 -17
- package/nestjs/package.json +3 -3
- package/nestjs/src/lib/accounts/accounts.api.d.ts +1 -1
- package/nestjs/src/lib/accounts/accounts.service.d.ts +2 -2
- package/nestjs/src/lib/crm/crm.api.d.ts +47 -1
- package/nestjs/src/lib/crm/crm.config.d.ts +16 -1
- package/nestjs/src/lib/crm/crm.module.d.ts +77 -8
- package/nestjs/src/lib/index.d.ts +2 -0
- package/nestjs/src/lib/recruit/recruit.api.d.ts +51 -1
- package/nestjs/src/lib/recruit/recruit.config.d.ts +16 -1
- package/nestjs/src/lib/recruit/recruit.module.d.ts +77 -8
- package/nestjs/src/lib/sign/index.d.ts +3 -0
- package/nestjs/src/lib/sign/sign.api.d.ts +54 -0
- package/nestjs/src/lib/sign/sign.config.d.ts +10 -0
- package/nestjs/src/lib/sign/sign.module.d.ts +94 -0
- package/package.json +2 -2
- package/src/lib/accounts/accounts.api.d.ts +149 -3
- package/src/lib/accounts/accounts.factory.d.ts +73 -6
- package/src/lib/crm/crm.api.d.ts +599 -62
- package/src/lib/crm/crm.api.notes.d.ts +46 -3
- package/src/lib/crm/crm.api.tags.d.ts +65 -2
- package/src/lib/crm/crm.config.d.ts +30 -0
- package/src/lib/crm/crm.criteria.d.ts +60 -3
- package/src/lib/crm/crm.error.api.d.ts +42 -0
- package/src/lib/crm/crm.factory.d.ts +39 -3
- package/src/lib/crm/crm.notes.d.ts +36 -0
- package/src/lib/crm/crm.tags.d.ts +3 -0
- package/src/lib/index.d.ts +1 -0
- package/src/lib/recruit/recruit.api.candidates.d.ts +44 -3
- package/src/lib/recruit/recruit.api.d.ts +719 -57
- package/src/lib/recruit/recruit.api.notes.d.ts +140 -0
- package/src/lib/recruit/recruit.api.tags.d.ts +122 -14
- package/src/lib/recruit/recruit.config.d.ts +30 -0
- package/src/lib/recruit/recruit.criteria.d.ts +55 -3
- package/src/lib/recruit/recruit.error.api.d.ts +39 -0
- package/src/lib/recruit/recruit.factory.d.ts +39 -3
- package/src/lib/recruit/recruit.notes.d.ts +21 -0
- package/src/lib/recruit/recruit.tags.d.ts +3 -0
- package/src/lib/shared/criteria.d.ts +95 -11
- package/src/lib/shared/criteria.util.d.ts +19 -4
- package/src/lib/sign/index.d.ts +6 -0
- package/src/lib/sign/sign.api.d.ts +397 -0
- package/src/lib/sign/sign.api.page.d.ts +109 -0
- package/src/lib/sign/sign.config.d.ts +24 -0
- package/src/lib/sign/sign.d.ts +225 -0
- package/src/lib/sign/sign.error.api.d.ts +7 -0
- package/src/lib/sign/sign.factory.d.ts +58 -0
- package/src/lib/zoho.api.page.d.ts +41 -10
- package/src/lib/zoho.config.d.ts +24 -9
- package/src/lib/zoho.limit.d.ts +41 -9
- package/src/lib/zoho.type.d.ts +24 -8
package/nestjs/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/zoho/nestjs",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/util": "13.0
|
|
6
|
-
"@dereekb/zoho": "13.0
|
|
5
|
+
"@dereekb/util": "13.1.0",
|
|
6
|
+
"@dereekb/zoho": "13.1.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,43 +1,89 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* NestJS injectable service that wraps the Zoho CRM API.
|
|
6
|
+
*
|
|
7
|
+
* Provides convenient accessor getters for all CRM operations, each bound
|
|
8
|
+
* to the authenticated CRM context created during construction.
|
|
9
|
+
*/
|
|
4
10
|
export declare class ZohoCrmApi {
|
|
5
11
|
readonly config: ZohoCrmServiceConfig;
|
|
6
12
|
readonly zohoAccountsApi: ZohoAccountsApi;
|
|
13
|
+
/**
|
|
14
|
+
* Underlying Zoho CRM client instance, initialized from the injected config and accounts context.
|
|
15
|
+
*/
|
|
7
16
|
readonly zohoCrm: ZohoCrm;
|
|
17
|
+
/**
|
|
18
|
+
* The authenticated CRM context used by all operation accessors.
|
|
19
|
+
*/
|
|
8
20
|
get crmContext(): ZohoCrmContext;
|
|
21
|
+
/**
|
|
22
|
+
* Rate limiter shared across all CRM requests to respect Zoho API quotas.
|
|
23
|
+
*/
|
|
9
24
|
get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
|
|
25
|
+
/**
|
|
26
|
+
* Initializes the CRM client by combining the service config with the
|
|
27
|
+
* accounts context for OAuth token management.
|
|
28
|
+
*/
|
|
10
29
|
constructor(config: ZohoCrmServiceConfig, zohoAccountsApi: ZohoAccountsApi);
|
|
30
|
+
/** Configured pass-through for {@link zohoCrmInsertRecord}. */
|
|
11
31
|
get insertRecord(): import("@dereekb/zoho").ZohoCrmCreateRecordLikeFunction;
|
|
32
|
+
/** Configured pass-through for {@link zohoCrmUpsertRecord}. */
|
|
12
33
|
get upsertRecord(): import("@dereekb/zoho").ZohoCrmUpsertRecordLikeFunction;
|
|
34
|
+
/** Configured pass-through for {@link zohoCrmUpdateRecord}. */
|
|
13
35
|
get updateRecord(): import("@dereekb/zoho").ZohoCrmUpdateRecordLikeFunction;
|
|
36
|
+
/** Configured pass-through for {@link zohoCrmDeleteRecord}. */
|
|
14
37
|
get deleteRecord(): import("@dereekb/zoho").ZohoCrmDeleteRecordFunction;
|
|
38
|
+
/** Configured pass-through for {@link zohoCrmGetRecordById}. */
|
|
15
39
|
get getRecordById(): import("@dereekb/zoho").ZohoCrmGetRecordByIdFunction;
|
|
40
|
+
/** Configured pass-through for {@link zohoCrmGetRecords}. */
|
|
16
41
|
get getRecords(): import("@dereekb/zoho").ZohoCrmGetRecordsFunction;
|
|
42
|
+
/** Configured pass-through for {@link zohoCrmSearchRecords}. */
|
|
17
43
|
get searchRecords(): import("@dereekb/zoho").ZohoCrmSearchRecordsFunction;
|
|
44
|
+
/** Configured pass-through for {@link zohoCrmSearchRecordsPageFactory}. */
|
|
18
45
|
get searchRecordsPageFactory(): import("@dereekb/zoho").ZohoCrmSearchRecordsPageFactory;
|
|
46
|
+
/** Configured pass-through for {@link zohoCrmGetRelatedRecordsFunctionFactory}. */
|
|
19
47
|
get getRelatedRecordsFunctionFactory(): import("@dereekb/zoho").ZohoCrmGetRelatedRecordsFunctionFactory;
|
|
48
|
+
/** Configured pass-through for {@link zohoCrmGetEmailsForRecord}. */
|
|
20
49
|
get getEmailsForRecord(): import("@dereekb/zoho").ZohoCrmGetEmailsForRecordFunction;
|
|
50
|
+
/** Configured pass-through for {@link zohoCrmGetEmailsForRecordPageFactory}. */
|
|
21
51
|
get getEmailsForRecordPageFactory(): import("@dereekb/zoho").ZohoCrmGetEmailsForRecordPageFactory;
|
|
52
|
+
/** Configured pass-through for {@link zohoCrmGetAttachmentsForRecord}. */
|
|
22
53
|
get getAttachmentsForRecord(): import("@dereekb/zoho").ZohoCrmGetAttachmentsForRecordFunction;
|
|
54
|
+
/** Configured pass-through for {@link zohoCrmGetAttachmentsForRecordPageFactory}. */
|
|
23
55
|
get getAttachmentsForRecordPageFactory(): import("@dereekb/zoho").ZohoCrmGetAttachmentsForRecordPageFactory;
|
|
56
|
+
/** Configured pass-through for {@link zohoCrmUploadAttachmentForRecord}. */
|
|
24
57
|
get uploadAttachmentForRecord(): import("@dereekb/zoho").ZohoCrmUploadAttachmentForRecordFunction;
|
|
58
|
+
/** Configured pass-through for {@link zohoCrmDownloadAttachmentForRecord}. */
|
|
25
59
|
get downloadAttachmentForRecord(): import("@dereekb/zoho").ZohoCrmDownloadAttachmentForRecordFunction;
|
|
60
|
+
/** Configured pass-through for {@link zohoCrmDeleteAttachmentFromRecord}. */
|
|
26
61
|
get deleteAttachmentFromRecord(): import("@dereekb/zoho").ZohoCrmDeleteAttachmentFromRecordFunction;
|
|
62
|
+
/** Configured pass-through for {@link zohoCrmCreateNotes}. */
|
|
27
63
|
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>>;
|
|
64
|
+
/** Configured pass-through for {@link zohoCrmDeleteNotes}. */
|
|
28
65
|
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>>;
|
|
66
|
+
/** Configured pass-through for {@link zohoCrmCreateNotesForRecord}. */
|
|
29
67
|
get createNotesForRecord(): import("@dereekb/zoho").ZohoCrmCreateNotesForRecordFunction;
|
|
68
|
+
/** Configured pass-through for {@link zohoCrmGetNotesForRecord}. */
|
|
30
69
|
get getNotesForRecord(): import("@dereekb/zoho").ZohoCrmGetNotesForRecordFunction;
|
|
70
|
+
/** Configured pass-through for {@link zohoCrmGetNotesForRecordPageFactory}. */
|
|
31
71
|
get getNotesForRecordPageFactory(): import("@dereekb/zoho").ZohoCrmGetNotesForRecordPageFactory;
|
|
72
|
+
/** Configured pass-through for {@link zohoCrmExecuteRestApiFunction}. */
|
|
32
73
|
get executeRestApiFunction(): import("@dereekb/zoho").ZohoCrmExecuteRestApiFunctionFunction;
|
|
74
|
+
/** Configured pass-through for {@link zohoCrmCreateTagsForModule}. */
|
|
33
75
|
get createTagsForModule(): (input: import("@dereekb/zoho").ZohoCrmCreateTagsRequest) => Promise<{
|
|
34
76
|
errorItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>[];
|
|
35
77
|
duplicateErrorItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>[];
|
|
36
78
|
allErrorItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseErrorEntry>[];
|
|
37
79
|
successItems: import("@dereekb/zoho").ZohoCrmMultiRecordResultEntry<import("@dereekb/zoho").ZohoCrmCreateTagData, import("@dereekb/zoho").ZohoCrmChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoCrmChangeObjectDetails>>[];
|
|
38
80
|
}>;
|
|
81
|
+
/** Configured pass-through for {@link zohoCrmDeleteTag}. */
|
|
39
82
|
get deleteTag(): import("@dereekb/zoho").ZohoCrmDeleteTagFunction;
|
|
83
|
+
/** Configured pass-through for {@link zohoCrmGetTagsForModule}. */
|
|
40
84
|
get getTagsForModule(): import("@dereekb/zoho").ZohoCrmGetTagsFunction;
|
|
85
|
+
/** Configured pass-through for {@link zohoCrmAddTagsToRecords}. */
|
|
41
86
|
get addTagsToRecords(): import("@dereekb/zoho").ZohoCrmAddTagsToRecordsFunction;
|
|
87
|
+
/** Configured pass-through for {@link zohoCrmRemoveTagsFromRecords}. */
|
|
42
88
|
get removeTagsFromRecords(): import("@dereekb/zoho").ZohoCrmRemoveTagsFromRecordsFunction;
|
|
43
89
|
}
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import { type ZohoCrmConfig, type ZohoCrmFactoryConfig } from '@dereekb/zoho';
|
|
2
|
+
/**
|
|
3
|
+
* API configuration for connecting to the Zoho CRM service endpoint.
|
|
4
|
+
*/
|
|
2
5
|
export type ZohoCrmServiceApiConfig = ZohoCrmConfig & {};
|
|
3
6
|
/**
|
|
4
|
-
*
|
|
7
|
+
* Abstract configuration class for the NestJS Zoho CRM service.
|
|
8
|
+
*
|
|
9
|
+
* Used as a DI token so that applications can provide their own config values
|
|
10
|
+
* while keeping the expected shape consistent.
|
|
5
11
|
*/
|
|
6
12
|
export declare abstract class ZohoCrmServiceConfig {
|
|
13
|
+
/**
|
|
14
|
+
* Zoho CRM API connection settings (endpoint URL, etc.).
|
|
15
|
+
*/
|
|
7
16
|
readonly zohoCrm: ZohoCrmServiceApiConfig;
|
|
17
|
+
/**
|
|
18
|
+
* Optional factory-level overrides applied when creating the underlying CRM client.
|
|
19
|
+
*/
|
|
8
20
|
readonly factoryConfig?: ZohoCrmFactoryConfig;
|
|
21
|
+
/**
|
|
22
|
+
* Validates that the required Zoho CRM connection fields are present and well-formed.
|
|
23
|
+
*/
|
|
9
24
|
static assertValidConfig(config: ZohoCrmServiceConfig): void;
|
|
10
25
|
}
|
|
@@ -3,22 +3,91 @@ import { ConfigService } from '@nestjs/config';
|
|
|
3
3
|
import { ZohoCrmServiceConfig } from './crm.config';
|
|
4
4
|
import { ZohoAccountsServiceConfig } from '../accounts/accounts.config';
|
|
5
5
|
import { type Maybe } from '@dereekb/util';
|
|
6
|
+
/**
|
|
7
|
+
* Reads Zoho CRM connection settings from the NestJS ConfigService
|
|
8
|
+
* and returns a validated service config.
|
|
9
|
+
*
|
|
10
|
+
* Resolves the API URL via environment variables following the naming convention
|
|
11
|
+
* `ZOHO_CRM_API_URL` (service-specific) or `ZOHO_API_URL` (shared fallback).
|
|
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
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* {
|
|
20
|
+
* provide: ZohoCrmServiceConfig,
|
|
21
|
+
* inject: [ConfigService],
|
|
22
|
+
* useFactory: zohoCrmServiceConfigFactory
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
6
26
|
export declare function zohoCrmServiceConfigFactory(configService: ConfigService): ZohoCrmServiceConfig;
|
|
27
|
+
/**
|
|
28
|
+
* Reads Zoho Accounts (OAuth) settings scoped to the CRM service from
|
|
29
|
+
* the NestJS ConfigService and returns an accounts service config.
|
|
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
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```typescript
|
|
36
|
+
* {
|
|
37
|
+
* provide: ZohoAccountsServiceConfig,
|
|
38
|
+
* inject: [ConfigService],
|
|
39
|
+
* useFactory: zohoCrmAccountServiceConfigFactory
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
7
43
|
export declare function zohoCrmAccountServiceConfigFactory(configService: ConfigService): ZohoAccountsServiceConfig;
|
|
44
|
+
/**
|
|
45
|
+
* Configuration for generating the application-level Zoho CRM NestJS module metadata.
|
|
46
|
+
*
|
|
47
|
+
* Extends standard NestJS {@link ModuleMetadata} fields (`imports`, `exports`, `providers`)
|
|
48
|
+
* so additional providers or modules can be merged into the generated metadata.
|
|
49
|
+
*/
|
|
8
50
|
export interface ProvideAppZohoCrmMetadataConfig extends Pick<ModuleMetadata, 'imports' | 'exports' | 'providers'> {
|
|
9
51
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* This module declaration makes it easier to import a module that exports those depenendencies.
|
|
52
|
+
* Module that exports the required dependencies for this module.
|
|
53
|
+
* When provided, this module is automatically included in the generated `imports` array.
|
|
14
54
|
*/
|
|
15
55
|
readonly dependencyModule?: Maybe<Required<ModuleMetadata>['imports']['0']>;
|
|
16
56
|
}
|
|
17
57
|
/**
|
|
18
|
-
*
|
|
58
|
+
* Generates NestJS {@link ModuleMetadata} that wires up the full Zoho CRM stack
|
|
59
|
+
* (config, accounts, and API service) so consuming modules only need a single import.
|
|
60
|
+
*
|
|
61
|
+
* The generated module requires the following dependencies in order to initialize properly:
|
|
62
|
+
* - {@link ZohoAccountsAccessTokenCacheService}
|
|
63
|
+
*
|
|
64
|
+
* Use the `dependencyModule` config option to import a module that exports those dependencies.
|
|
65
|
+
*
|
|
66
|
+
* The returned metadata registers {@link ZohoCrmServiceConfig}, {@link ZohoCrmApi},
|
|
67
|
+
* {@link ZohoAccountsServiceConfig}, and {@link ZohoAccountsApi} as providers, and
|
|
68
|
+
* exports {@link ZohoCrmApi} by default. Additional imports, exports, and providers
|
|
69
|
+
* from the config are merged in.
|
|
70
|
+
*
|
|
71
|
+
* @param config - Module configuration with optional dependency module and extra metadata
|
|
72
|
+
* @returns Complete NestJS module metadata ready to pass to `@Module()`
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```typescript
|
|
76
|
+
* const cacheService = fileZohoAccountsAccessTokenCacheService();
|
|
77
|
+
*
|
|
78
|
+
* @Module({
|
|
79
|
+
* providers: [
|
|
80
|
+
* {
|
|
81
|
+
* provide: ZohoAccountsAccessTokenCacheService,
|
|
82
|
+
* useValue: cacheService
|
|
83
|
+
* }
|
|
84
|
+
* ],
|
|
85
|
+
* exports: [ZohoAccountsAccessTokenCacheService]
|
|
86
|
+
* })
|
|
87
|
+
* export class ZohoCrmDependencyModule {}
|
|
19
88
|
*
|
|
20
|
-
* @
|
|
21
|
-
*
|
|
22
|
-
*
|
|
89
|
+
* @Module(appZohoCrmModuleMetadata({ dependencyModule: ZohoCrmDependencyModule }))
|
|
90
|
+
* export class AppZohoCrmModule {}
|
|
91
|
+
* ```
|
|
23
92
|
*/
|
|
24
93
|
export declare function appZohoCrmModuleMetadata(config: ProvideAppZohoCrmMetadataConfig): ModuleMetadata;
|
|
@@ -1,47 +1,97 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* NestJS injectable service that wraps the Zoho Recruit API.
|
|
6
|
+
*
|
|
7
|
+
* Provides convenient accessor getters for all Recruit operations, each bound
|
|
8
|
+
* to the authenticated Recruit context created during construction.
|
|
9
|
+
*/
|
|
4
10
|
export declare class ZohoRecruitApi {
|
|
5
11
|
readonly config: ZohoRecruitServiceConfig;
|
|
6
12
|
readonly zohoAccountsApi: ZohoAccountsApi;
|
|
13
|
+
/**
|
|
14
|
+
* Underlying Zoho Recruit client instance, initialized from the injected config and accounts context.
|
|
15
|
+
*/
|
|
7
16
|
readonly zohoRecruit: ZohoRecruit;
|
|
17
|
+
/**
|
|
18
|
+
* The authenticated Recruit context used by all operation accessors.
|
|
19
|
+
*/
|
|
8
20
|
get recruitContext(): ZohoRecruitContext;
|
|
21
|
+
/**
|
|
22
|
+
* Rate limiter shared across all Recruit requests to respect Zoho API quotas.
|
|
23
|
+
*/
|
|
9
24
|
get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
|
|
25
|
+
/**
|
|
26
|
+
* Initializes the Recruit client by combining the service config with the
|
|
27
|
+
* accounts context for OAuth token management.
|
|
28
|
+
*/
|
|
10
29
|
constructor(config: ZohoRecruitServiceConfig, zohoAccountsApi: ZohoAccountsApi);
|
|
30
|
+
/** Configured pass-through for {@link zohoRecruitInsertRecord}. */
|
|
11
31
|
get insertRecord(): import("@dereekb/zoho").ZohoRecruitCreateRecordLikeFunction;
|
|
32
|
+
/** Configured pass-through for {@link zohoRecruitUpsertRecord}. */
|
|
12
33
|
get upsertRecord(): import("@dereekb/zoho").ZohoRecruitUpsertRecordLikeFunction;
|
|
34
|
+
/** Configured pass-through for {@link zohoRecruitUpdateRecord}. */
|
|
13
35
|
get updateRecord(): import("@dereekb/zoho").ZohoRecruitUpdateRecordLikeFunction;
|
|
36
|
+
/** Configured pass-through for {@link zohoRecruitDeleteRecord}. */
|
|
14
37
|
get deleteRecord(): import("@dereekb/zoho").ZohoRecruitDeleteRecordFunction;
|
|
38
|
+
/** Configured pass-through for {@link zohoRecruitGetRecordById}. */
|
|
15
39
|
get getRecordById(): import("@dereekb/zoho").ZohoRecruitGetRecordByIdFunction;
|
|
40
|
+
/** Configured pass-through for {@link zohoRecruitGetRecords}. */
|
|
16
41
|
get getRecords(): import("@dereekb/zoho").ZohoRecruitGetRecordsFunction;
|
|
42
|
+
/** Configured pass-through for {@link zohoRecruitSearchRecords}. */
|
|
17
43
|
get searchRecords(): import("@dereekb/zoho").ZohoRecruitSearchRecordsFunction;
|
|
44
|
+
/** Configured pass-through for {@link zohoRecruitSearchRecordsPageFactory}. */
|
|
18
45
|
get searchRecordsPageFactory(): import("@dereekb/zoho").ZohoRecruitSearchRecordsPageFactory;
|
|
46
|
+
/** Configured pass-through for {@link zohoRecruitGetRelatedRecordsFunctionFactory}. */
|
|
19
47
|
get getRelatedRecordsFunctionFactory(): import("@dereekb/zoho").ZohoRecruitGetRelatedRecordsFunctionFactory;
|
|
48
|
+
/** Configured pass-through for {@link zohoRecruitGetEmailsForRecord}. */
|
|
20
49
|
get getEmailsForRecord(): import("@dereekb/zoho").ZohoRecruitGetEmailsForRecordFunction;
|
|
50
|
+
/** Configured pass-through for {@link zohoRecruitGetEmailsForRecordPageFactory}. */
|
|
21
51
|
get getEmailsForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetEmailsForRecordPageFactory;
|
|
52
|
+
/** Configured pass-through for {@link zohoRecruitGetAttachmentsForRecord}. */
|
|
22
53
|
get getAttachmentsForRecord(): import("@dereekb/zoho").ZohoRecruitGetAttachmentsForRecordFunction;
|
|
54
|
+
/** Configured pass-through for {@link zohoRecruitGetAttachmentsForRecordPageFactory}. */
|
|
23
55
|
get getAttachmentsForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetAttachmentsForRecordPageFactory;
|
|
56
|
+
/** Configured pass-through for {@link zohoRecruitUploadAttachmentForRecord}. */
|
|
24
57
|
get uploadAttachmentForRecord(): import("@dereekb/zoho").ZohoRecruitUploadAttachmentForRecordFunction;
|
|
58
|
+
/** Configured pass-through for {@link zohoRecruitDownloadAttachmentForRecord}. */
|
|
25
59
|
get downloadAttachmentForRecord(): import("@dereekb/zoho").ZohoRecruitDownloadAttachmentForRecordFunction;
|
|
60
|
+
/** Configured pass-through for {@link zohoRecruitDeleteAttachmentFromRecord}. */
|
|
26
61
|
get deleteAttachmentFromRecord(): import("@dereekb/zoho").ZohoRecruitDeleteAttachmentFromRecordFunction;
|
|
62
|
+
/** Configured pass-through for {@link zohoRecruitCreateNotes}. */
|
|
27
63
|
get createNotes(): (input: import("@dereekb/zoho").ZohoRecruitCreateNotesRequest) => Promise<import("@dereekb/zoho").ZohoRecruitMultiRecordResult<import("@dereekb/zoho").NewZohoRecruitNoteData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoRecruitChangeObjectDetails>, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>>;
|
|
64
|
+
/** Configured pass-through for {@link zohoRecruitDeleteNotes}. */
|
|
28
65
|
get deleteNotes(): (input: import("@dereekb/zoho").ZohoRecruitDeleteNotesRequest) => Promise<import("@dereekb/zoho").ZohoRecruitMultiRecordResult<string, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoRecruitChangeObjectDetails>, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>>;
|
|
66
|
+
/** Configured pass-through for {@link zohoRecruitCreateNotesForRecord}. */
|
|
29
67
|
get createNotesForRecord(): import("@dereekb/zoho").ZohoRecruitCreateNotesForRecordFunction;
|
|
68
|
+
/** Configured pass-through for {@link zohoRecruitGetNotesForRecord}. */
|
|
30
69
|
get getNotesForRecord(): import("@dereekb/zoho").ZohoRecruitGetNotesForRecordFunction;
|
|
70
|
+
/** Configured pass-through for {@link zohoRecruitGetNotesForRecordPageFactory}. */
|
|
31
71
|
get getNotesForRecordPageFactory(): import("@dereekb/zoho").ZohoRecruitGetNotesForRecordPageFactory;
|
|
72
|
+
/** Configured pass-through for {@link zohoRecruitExecuteRestApiFunction}. */
|
|
32
73
|
get executeRestApiFunction(): import("@dereekb/zoho").ZohoRecruitExecuteRestApiFunctionFunction;
|
|
74
|
+
/** Configured pass-through for {@link zohoRecruitAssociateCandidateRecordsWithJobOpenings}. */
|
|
33
75
|
get associateCandidateRecordsWithJobOpenings(): import("@dereekb/zoho").ZohoRecruitAssociateCandidateRecordsWithJobOpeningsFunction;
|
|
76
|
+
/** Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecords}. */
|
|
34
77
|
get searchCandidateAssociatedJobOpeningRecords(): import("@dereekb/zoho").ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsFunction<import("@dereekb/zoho").ZohoRecruitRecord>;
|
|
78
|
+
/** Configured pass-through for {@link zohoRecruitSearchCandidateAssociatedJobOpeningRecordsPageFactory}. */
|
|
35
79
|
get searchCandidateAssociatedJobOpeningRecordsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoRecruitSearchCandidateAssociatedJobOpeningRecordsInput, import("@dereekb/zoho").ZohoRecruitSearchAssociatedRecordsResponse<import("@dereekb/zoho").ZohoRecruitRecord>>;
|
|
80
|
+
/** Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecords}. */
|
|
36
81
|
get searchJobOpeningAssociatedCandidateRecords(): import("@dereekb/zoho").ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsFunction<import("@dereekb/zoho").ZohoRecruitRecord>;
|
|
82
|
+
/** Configured pass-through for {@link zohoRecruitSearchJobOpeningAssociatedCandidateRecordsPageFactory}. */
|
|
37
83
|
get searchJobOpeningAssociatedCandidateRecordsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoRecruitSearchJobOpeningAssociatedCandidateRecordsInput, import("@dereekb/zoho").ZohoRecruitSearchAssociatedRecordsResponse<import("@dereekb/zoho").ZohoRecruitRecord>>;
|
|
84
|
+
/** Configured pass-through for {@link zohoRecruitCreateTagsForModule}. */
|
|
38
85
|
get createTagsForModule(): (input: import("@dereekb/zoho").ZohoRecruitCreateTagsRequest) => Promise<{
|
|
39
86
|
errorItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>[];
|
|
40
87
|
duplicateErrorItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>[];
|
|
41
88
|
allErrorItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseErrorEntry>[];
|
|
42
89
|
successItems: import("@dereekb/zoho").ZohoRecruitMultiRecordResultEntry<import("@dereekb/zoho").ZohoRecruitCreateTagData, import("@dereekb/zoho").ZohoRecruitChangeObjectResponseSuccessEntry<import("@dereekb/zoho").ZohoRecruitChangeObjectDetails>>[];
|
|
43
90
|
}>;
|
|
91
|
+
/** Configured pass-through for {@link zohoRecruitGetTagsForModule}. */
|
|
44
92
|
get getTagsForModule(): import("@dereekb/zoho").ZohoRecruitGetTagsFunction;
|
|
93
|
+
/** Configured pass-through for {@link zohoRecruitAddTagsToRecords}. */
|
|
45
94
|
get addTagsToRecords(): import("@dereekb/zoho").ZohoRecruitAddTagsToRecordsFunction;
|
|
95
|
+
/** Configured pass-through for {@link zohoRecruitRemoveTagsFromRecords}. */
|
|
46
96
|
get removeTagsFromRecords(): import("@dereekb/zoho").ZohoRecruitRemoveTagsFromRecordsFunction;
|
|
47
97
|
}
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import { type ZohoRecruitConfig, type ZohoRecruitFactoryConfig } from '@dereekb/zoho';
|
|
2
|
+
/**
|
|
3
|
+
* API configuration for connecting to the Zoho Recruit service endpoint.
|
|
4
|
+
*/
|
|
2
5
|
export type ZohoRecruitServiceApiConfig = ZohoRecruitConfig & {};
|
|
3
6
|
/**
|
|
4
|
-
*
|
|
7
|
+
* Abstract configuration class for the NestJS Zoho Recruit service.
|
|
8
|
+
*
|
|
9
|
+
* Used as a DI token so that applications can provide their own config values
|
|
10
|
+
* while keeping the expected shape consistent.
|
|
5
11
|
*/
|
|
6
12
|
export declare abstract class ZohoRecruitServiceConfig {
|
|
13
|
+
/**
|
|
14
|
+
* Zoho Recruit API connection settings (endpoint URL, etc.).
|
|
15
|
+
*/
|
|
7
16
|
readonly zohoRecruit: ZohoRecruitServiceApiConfig;
|
|
17
|
+
/**
|
|
18
|
+
* Optional factory-level overrides applied when creating the underlying Recruit client.
|
|
19
|
+
*/
|
|
8
20
|
readonly factoryConfig?: ZohoRecruitFactoryConfig;
|
|
21
|
+
/**
|
|
22
|
+
* Validates that the required Zoho Recruit connection fields are present and well-formed.
|
|
23
|
+
*/
|
|
9
24
|
static assertValidConfig(config: ZohoRecruitServiceConfig): void;
|
|
10
25
|
}
|
|
@@ -3,22 +3,91 @@ import { ConfigService } from '@nestjs/config';
|
|
|
3
3
|
import { ZohoRecruitServiceConfig } from './recruit.config';
|
|
4
4
|
import { ZohoAccountsServiceConfig } from '../accounts/accounts.config';
|
|
5
5
|
import { type Maybe } from '@dereekb/util';
|
|
6
|
+
/**
|
|
7
|
+
* Reads Zoho Recruit connection settings from the NestJS ConfigService
|
|
8
|
+
* and returns a validated service config.
|
|
9
|
+
*
|
|
10
|
+
* Resolves the API URL via environment variables following the naming convention
|
|
11
|
+
* `ZOHO_RECRUIT_API_URL` (service-specific) or `ZOHO_API_URL` (shared fallback).
|
|
12
|
+
*
|
|
13
|
+
* @param configService - NestJS config service populated with Zoho environment variables
|
|
14
|
+
* @returns Validated Zoho Recruit service configuration
|
|
15
|
+
* @throws {Error} If required config values (e.g. API URL) are missing
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* {
|
|
20
|
+
* provide: ZohoRecruitServiceConfig,
|
|
21
|
+
* inject: [ConfigService],
|
|
22
|
+
* useFactory: zohoRecruitServiceConfigFactory
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
6
26
|
export declare function zohoRecruitServiceConfigFactory(configService: ConfigService): ZohoRecruitServiceConfig;
|
|
27
|
+
/**
|
|
28
|
+
* Reads Zoho Accounts (OAuth) settings scoped to the Recruit service from
|
|
29
|
+
* the NestJS ConfigService and returns an accounts service config.
|
|
30
|
+
*
|
|
31
|
+
* @param configService - NestJS config service populated with Zoho OAuth environment variables
|
|
32
|
+
* @returns Zoho Accounts service config scoped to the Recruit service access token
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```typescript
|
|
36
|
+
* {
|
|
37
|
+
* provide: ZohoAccountsServiceConfig,
|
|
38
|
+
* inject: [ConfigService],
|
|
39
|
+
* useFactory: zohoRecruitAccountServiceConfigFactory
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
7
43
|
export declare function zohoRecruitAccountServiceConfigFactory(configService: ConfigService): ZohoAccountsServiceConfig;
|
|
44
|
+
/**
|
|
45
|
+
* Configuration for generating the application-level Zoho Recruit NestJS module metadata.
|
|
46
|
+
*
|
|
47
|
+
* Extends standard NestJS {@link ModuleMetadata} fields (`imports`, `exports`, `providers`)
|
|
48
|
+
* so additional providers or modules can be merged into the generated metadata.
|
|
49
|
+
*/
|
|
8
50
|
export interface ProvideAppZohoRecruitMetadataConfig extends Pick<ModuleMetadata, 'imports' | 'exports' | 'providers'> {
|
|
9
51
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* This module declaration makes it easier to import a module that exports those depenendencies.
|
|
52
|
+
* Module that exports the required dependencies for this module.
|
|
53
|
+
* When provided, this module is automatically included in the generated `imports` array.
|
|
14
54
|
*/
|
|
15
55
|
readonly dependencyModule?: Maybe<Required<ModuleMetadata>['imports']['0']>;
|
|
16
56
|
}
|
|
17
57
|
/**
|
|
18
|
-
*
|
|
58
|
+
* Generates NestJS {@link ModuleMetadata} that wires up the full Zoho Recruit stack
|
|
59
|
+
* (config, accounts, and API service) so consuming modules only need a single import.
|
|
60
|
+
*
|
|
61
|
+
* The generated module requires the following dependencies in order to initialize properly:
|
|
62
|
+
* - {@link ZohoAccountsAccessTokenCacheService}
|
|
63
|
+
*
|
|
64
|
+
* Use the `dependencyModule` config option to import a module that exports those dependencies.
|
|
65
|
+
*
|
|
66
|
+
* The returned metadata registers {@link ZohoRecruitServiceConfig}, {@link ZohoRecruitApi},
|
|
67
|
+
* {@link ZohoAccountsServiceConfig}, and {@link ZohoAccountsApi} as providers, and
|
|
68
|
+
* exports {@link ZohoRecruitApi} by default. Additional imports, exports, and providers
|
|
69
|
+
* from the config are merged in.
|
|
70
|
+
*
|
|
71
|
+
* @param config - Module configuration with optional dependency module and extra metadata
|
|
72
|
+
* @returns Complete NestJS module metadata ready to pass to `@Module()`
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```typescript
|
|
76
|
+
* const cacheService = fileZohoAccountsAccessTokenCacheService();
|
|
77
|
+
*
|
|
78
|
+
* @Module({
|
|
79
|
+
* providers: [
|
|
80
|
+
* {
|
|
81
|
+
* provide: ZohoAccountsAccessTokenCacheService,
|
|
82
|
+
* useValue: cacheService
|
|
83
|
+
* }
|
|
84
|
+
* ],
|
|
85
|
+
* exports: [ZohoAccountsAccessTokenCacheService]
|
|
86
|
+
* })
|
|
87
|
+
* export class ZohoRecruitDependencyModule {}
|
|
19
88
|
*
|
|
20
|
-
* @
|
|
21
|
-
*
|
|
22
|
-
*
|
|
89
|
+
* @Module(appZohoRecruitModuleMetadata({ dependencyModule: ZohoRecruitDependencyModule }))
|
|
90
|
+
* export class AppZohoRecruitModule {}
|
|
91
|
+
* ```
|
|
23
92
|
*/
|
|
24
93
|
export declare function appZohoRecruitModuleMetadata(config: ProvideAppZohoRecruitMetadataConfig): ModuleMetadata;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type ZohoSign, type ZohoSignContext } from '@dereekb/zoho';
|
|
2
|
+
import { ZohoSignServiceConfig } from './sign.config';
|
|
3
|
+
import { ZohoAccountsApi } from '../accounts/accounts.api';
|
|
4
|
+
/**
|
|
5
|
+
* NestJS injectable service that wraps the Zoho Sign API.
|
|
6
|
+
*
|
|
7
|
+
* Provides convenient accessor getters for all Sign operations, each bound
|
|
8
|
+
* to the authenticated Sign context created during construction.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ZohoSignApi {
|
|
11
|
+
readonly config: ZohoSignServiceConfig;
|
|
12
|
+
readonly zohoAccountsApi: ZohoAccountsApi;
|
|
13
|
+
/**
|
|
14
|
+
* Underlying Zoho Sign client instance, initialized from the injected config and accounts context.
|
|
15
|
+
*/
|
|
16
|
+
readonly zohoSign: ZohoSign;
|
|
17
|
+
/**
|
|
18
|
+
* The authenticated Sign context used by all operation accessors.
|
|
19
|
+
*/
|
|
20
|
+
get signContext(): ZohoSignContext;
|
|
21
|
+
/**
|
|
22
|
+
* Rate limiter shared across all Sign requests to respect Zoho API quotas.
|
|
23
|
+
*/
|
|
24
|
+
get zohoRateLimiter(): import("@dereekb/util").ResetPeriodPromiseRateLimiter;
|
|
25
|
+
/**
|
|
26
|
+
* Initializes the Sign client by combining the service config with the
|
|
27
|
+
* accounts context for OAuth token management.
|
|
28
|
+
*/
|
|
29
|
+
constructor(config: ZohoSignServiceConfig, zohoAccountsApi: ZohoAccountsApi);
|
|
30
|
+
/** Configured pass-through for {@link zohoSignGetDocument}. */
|
|
31
|
+
get getDocument(): import("@dereekb/zoho").ZohoSignGetDocumentFunction;
|
|
32
|
+
/** Configured pass-through for {@link zohoSignGetDocuments}. */
|
|
33
|
+
get getDocuments(): import("@dereekb/zoho").ZohoSignGetDocumentsFunction;
|
|
34
|
+
/** Configured pass-through for {@link zohoSignGetDocumentsPageFactory}. */
|
|
35
|
+
get getDocumentsPageFactory(): import("@dereekb/util/fetch").FetchPageFactory<import("@dereekb/zoho").ZohoSignGetDocumentsInput, import("@dereekb/zoho").ZohoSignGetDocumentsResponse>;
|
|
36
|
+
/** Configured pass-through for {@link zohoSignGetDocumentFormData}. */
|
|
37
|
+
get getDocumentFormData(): import("@dereekb/zoho").ZohoSignGetDocumentFormDataFunction;
|
|
38
|
+
/** Configured pass-through for {@link zohoSignRetrieveFieldTypes}. */
|
|
39
|
+
get retrieveFieldTypes(): import("@dereekb/zoho").ZohoSignRetrieveFieldTypesFunction;
|
|
40
|
+
/** Configured pass-through for {@link zohoSignDownloadPdf}. */
|
|
41
|
+
get downloadPdf(): import("@dereekb/zoho").ZohoSignDownloadPdfFunction;
|
|
42
|
+
/** Configured pass-through for {@link zohoSignDownloadCompletionCertificate}. */
|
|
43
|
+
get downloadCompletionCertificate(): import("@dereekb/zoho").ZohoSignDownloadCompletionCertificateFunction;
|
|
44
|
+
/** Configured pass-through for {@link zohoSignCreateDocument}. */
|
|
45
|
+
get createDocument(): import("@dereekb/zoho").ZohoSignCreateDocumentFunction;
|
|
46
|
+
/** Configured pass-through for {@link zohoSignUpdateDocument}. */
|
|
47
|
+
get updateDocument(): import("@dereekb/zoho").ZohoSignUpdateDocumentFunction;
|
|
48
|
+
/** Configured pass-through for {@link zohoSignSendDocumentForSignature}. */
|
|
49
|
+
get sendDocumentForSignature(): import("@dereekb/zoho").ZohoSignSendDocumentForSignatureFunction;
|
|
50
|
+
/** Configured pass-through for {@link zohoSignExtendDocument}. */
|
|
51
|
+
get extendDocument(): import("@dereekb/zoho").ZohoSignExtendDocumentFunction;
|
|
52
|
+
/** Configured pass-through for {@link zohoSignDeleteDocument}. */
|
|
53
|
+
get deleteDocument(): import("@dereekb/zoho").ZohoSignDeleteDocumentFunction;
|
|
54
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ZohoSignConfig, type ZohoSignFactoryConfig } from '@dereekb/zoho';
|
|
2
|
+
export type ZohoSignServiceApiConfig = ZohoSignConfig & {};
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for ZohoSignService
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class ZohoSignServiceConfig {
|
|
7
|
+
readonly zohoSign: ZohoSignServiceApiConfig;
|
|
8
|
+
readonly factoryConfig?: ZohoSignFactoryConfig;
|
|
9
|
+
static assertValidConfig(config: ZohoSignServiceConfig): void;
|
|
10
|
+
}
|