@dereekb/zoho 11.0.4 → 11.0.5
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 +5 -0
- package/index.esm.js +15 -2
- package/nestjs/CHANGELOG.md +4 -0
- package/nestjs/package.json +1 -1
- package/package.json +1 -1
- package/src/lib/recruit/recruit.d.ts +13 -1
package/index.cjs.js
CHANGED
|
@@ -2482,6 +2482,10 @@ var addToUnscopables = addToUnscopables$2;
|
|
|
2482
2482
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2483
2483
|
addToUnscopables('flatMap');
|
|
2484
2484
|
|
|
2485
|
+
/**
|
|
2486
|
+
* Returns true if it is a valid ZohoRecruitValidUrl.
|
|
2487
|
+
*/
|
|
2488
|
+
const isZohoRecruitValidUrl = util.isStandardInternetAccessibleWebsiteUrl;
|
|
2485
2489
|
/**
|
|
2486
2490
|
* Creates a ZohoRecruitSearchRecordsCriteriaString from a ZohoRecruitSearchRecordsCriteriaTree.
|
|
2487
2491
|
*
|
|
@@ -4460,6 +4464,7 @@ exports.insertRecord = insertRecord;
|
|
|
4460
4464
|
exports.interceptZohoAccountsErrorResponse = interceptZohoAccountsErrorResponse;
|
|
4461
4465
|
exports.interceptZohoErrorResponseFactory = interceptZohoErrorResponseFactory;
|
|
4462
4466
|
exports.interceptZohoRecruitErrorResponse = interceptZohoRecruitErrorResponse;
|
|
4467
|
+
exports.isZohoRecruitValidUrl = isZohoRecruitValidUrl;
|
|
4463
4468
|
exports.logZohoAccountsErrorToConsole = logZohoAccountsErrorToConsole;
|
|
4464
4469
|
exports.logZohoRecruitErrorToConsole = logZohoRecruitErrorToConsole;
|
|
4465
4470
|
exports.logZohoServerErrorFunction = logZohoServerErrorFunction;
|
package/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { escapeStringCharactersFunction, filterMaybeValues, asArray, MS_IN_MINUTE, MS_IN_SECOND } from '@dereekb/util';
|
|
1
|
+
import { escapeStringCharactersFunction, isStandardInternetAccessibleWebsiteUrl, filterMaybeValues, asArray, MS_IN_MINUTE, MS_IN_SECOND } from '@dereekb/util';
|
|
2
2
|
import { BaseError } from 'make-error';
|
|
3
3
|
import { FetchResponseError, FetchRequestFactoryError, fetchJsonFunction, returnNullHandleFetchJsonParseErrorFunction, nodeFetchService } from '@dereekb/util/fetch';
|
|
4
4
|
|
|
@@ -2514,6 +2514,19 @@ addToUnscopables('flatMap');
|
|
|
2514
2514
|
* A ZohoRecruit record containing record details.
|
|
2515
2515
|
*/
|
|
2516
2516
|
|
|
2517
|
+
/**
|
|
2518
|
+
* Zoho Recruit only allows URLs that can be resolved via the internet (I.E. uses a normal tdl)
|
|
2519
|
+
*
|
|
2520
|
+
* The following are considered invalid:
|
|
2521
|
+
* - localhost:8080
|
|
2522
|
+
* - ht://dereekb.com
|
|
2523
|
+
*/
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* Returns true if it is a valid ZohoRecruitValidUrl.
|
|
2527
|
+
*/
|
|
2528
|
+
const isZohoRecruitValidUrl = isStandardInternetAccessibleWebsiteUrl;
|
|
2529
|
+
|
|
2517
2530
|
/**
|
|
2518
2531
|
* Update details returned by the server for an updated object.
|
|
2519
2532
|
*/
|
|
@@ -4396,4 +4409,4 @@ function zohoAccountsZohoAccessTokenFactory(config) {
|
|
|
4396
4409
|
};
|
|
4397
4410
|
}
|
|
4398
4411
|
|
|
4399
|
-
export { ZOHO_ACCOUNTS_INVALID_CLIENT_ERROR_CODE, ZOHO_ACCOUNTS_INVALID_CODE_ERROR_CODE, ZOHO_ACCOUNTS_US_API_URL, ZOHO_DUPLICATE_DATA_ERROR_CODE, ZOHO_INTERNAL_ERROR_CODE, ZOHO_INVALID_AUTHORIZATION_ERROR_CODE, ZOHO_INVALID_DATA_ERROR_CODE, ZOHO_INVALID_QUERY_ERROR_CODE, ZOHO_MANDATORY_NOT_FOUND_ERROR_CODE, ZOHO_RECRUIT_SERVICE_NAME, ZOHO_SUCCESS_CODE, ZohoAccountsAccessTokenError, ZohoAccountsAuthFailureError, ZohoInternalError, ZohoInvalidAuthorizationError, ZohoInvalidQueryError, ZohoRecruitRecordCrudDuplicateDataError, ZohoRecruitRecordCrudError, ZohoRecruitRecordCrudInvalidDataError, ZohoRecruitRecordCrudMandatoryFieldNotFoundError, ZohoRecruitRecordCrudNoMatchingRecordError, ZohoRecruitRecordNoContentError, ZohoServerError, ZohoServerFetchResponseError, accessToken, assertRecordDataArrayResultHasContent, escapeZohoFieldValueForCriteriaString, getRecordById, getRecords, handleZohoAccountsErrorFetch, handleZohoErrorFetchFactory, handleZohoRecruitErrorFetch, insertRecord, interceptZohoAccountsErrorResponse, interceptZohoErrorResponseFactory, interceptZohoRecruitErrorResponse, logZohoAccountsErrorToConsole, logZohoRecruitErrorToConsole, logZohoServerErrorFunction, parseZohoAccountsError, parseZohoAccountsServerErrorResponseData, parseZohoRecruitError, parseZohoRecruitServerErrorResponseData, parseZohoServerErrorResponseData, searchRecords, tryFindZohoServerErrorData, updateRecord, upsertRecord, zohoAccessTokenStringFactory, zohoAccountsApiFetchJsonInput, zohoAccountsConfigApiUrl, zohoAccountsFactory, zohoAccountsZohoAccessTokenFactory, zohoRecruitApiFetchJsonInput, zohoRecruitConfigApiUrl, zohoRecruitFactory, zohoRecruitMultiRecordResult, zohoRecruitRecordCrudError, zohoRecruitSearchRecordsCriteriaEntryToCriteriaString, zohoRecruitSearchRecordsCriteriaString, zohoRecruitSearchRecordsCriteriaStringForTree, zohoRecruitUrlSearchParamsMinusModule, zohoServerErrorData };
|
|
4412
|
+
export { ZOHO_ACCOUNTS_INVALID_CLIENT_ERROR_CODE, ZOHO_ACCOUNTS_INVALID_CODE_ERROR_CODE, ZOHO_ACCOUNTS_US_API_URL, ZOHO_DUPLICATE_DATA_ERROR_CODE, ZOHO_INTERNAL_ERROR_CODE, ZOHO_INVALID_AUTHORIZATION_ERROR_CODE, ZOHO_INVALID_DATA_ERROR_CODE, ZOHO_INVALID_QUERY_ERROR_CODE, ZOHO_MANDATORY_NOT_FOUND_ERROR_CODE, ZOHO_RECRUIT_SERVICE_NAME, ZOHO_SUCCESS_CODE, ZohoAccountsAccessTokenError, ZohoAccountsAuthFailureError, ZohoInternalError, ZohoInvalidAuthorizationError, ZohoInvalidQueryError, ZohoRecruitRecordCrudDuplicateDataError, ZohoRecruitRecordCrudError, ZohoRecruitRecordCrudInvalidDataError, ZohoRecruitRecordCrudMandatoryFieldNotFoundError, ZohoRecruitRecordCrudNoMatchingRecordError, ZohoRecruitRecordNoContentError, ZohoServerError, ZohoServerFetchResponseError, accessToken, assertRecordDataArrayResultHasContent, escapeZohoFieldValueForCriteriaString, getRecordById, getRecords, handleZohoAccountsErrorFetch, handleZohoErrorFetchFactory, handleZohoRecruitErrorFetch, insertRecord, interceptZohoAccountsErrorResponse, interceptZohoErrorResponseFactory, interceptZohoRecruitErrorResponse, isZohoRecruitValidUrl, logZohoAccountsErrorToConsole, logZohoRecruitErrorToConsole, logZohoServerErrorFunction, parseZohoAccountsError, parseZohoAccountsServerErrorResponseData, parseZohoRecruitError, parseZohoRecruitServerErrorResponseData, parseZohoServerErrorResponseData, searchRecords, tryFindZohoServerErrorData, updateRecord, upsertRecord, zohoAccessTokenStringFactory, zohoAccountsApiFetchJsonInput, zohoAccountsConfigApiUrl, zohoAccountsFactory, zohoAccountsZohoAccessTokenFactory, zohoRecruitApiFetchJsonInput, zohoRecruitConfigApiUrl, zohoRecruitFactory, zohoRecruitMultiRecordResult, zohoRecruitRecordCrudError, zohoRecruitSearchRecordsCriteriaEntryToCriteriaString, zohoRecruitSearchRecordsCriteriaString, zohoRecruitSearchRecordsCriteriaStringForTree, zohoRecruitUrlSearchParamsMinusModule, zohoServerErrorData };
|
package/nestjs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [11.0.5](https://github.com/dereekb/dbx-components/compare/v11.0.4-dev...v11.0.5) (2024-11-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [11.0.4](https://github.com/dereekb/dbx-components/compare/v11.0.3-dev...v11.0.4) (2024-11-19)
|
|
6
10
|
|
|
7
11
|
|
package/nestjs/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommaSeparatedString, ISO8601DateString, Maybe, UniqueModelWithId } from '@dereekb/util';
|
|
1
|
+
import { CommaSeparatedString, ISO8601DateString, Maybe, UniqueModelWithId, WebsiteUrl } from '@dereekb/util';
|
|
2
2
|
/**
|
|
3
3
|
* Zoho Recruit module name.
|
|
4
4
|
*
|
|
@@ -51,6 +51,18 @@ export type UpdateZohoRecruitRecordData = UniqueModelWithId & ZohoRecruitRecordF
|
|
|
51
51
|
* A ZohoRecruit record containing record details.
|
|
52
52
|
*/
|
|
53
53
|
export type ZohoRecruitRecord = UniqueModelWithId & ZohoRecruitRecordFieldsData;
|
|
54
|
+
/**
|
|
55
|
+
* Zoho Recruit only allows URLs that can be resolved via the internet (I.E. uses a normal tdl)
|
|
56
|
+
*
|
|
57
|
+
* The following are considered invalid:
|
|
58
|
+
* - localhost:8080
|
|
59
|
+
* - ht://dereekb.com
|
|
60
|
+
*/
|
|
61
|
+
export type ZohoRecruitValidUrl = WebsiteUrl;
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if it is a valid ZohoRecruitValidUrl.
|
|
64
|
+
*/
|
|
65
|
+
export declare const isZohoRecruitValidUrl: (input: WebsiteUrl) => input is ZohoRecruitValidUrl;
|
|
54
66
|
/**
|
|
55
67
|
* Update details returned by the server for an updated object.
|
|
56
68
|
*/
|