@kombo-api/sdk 0.2.4 → 0.3.2
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/README.md +5 -5
- package/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/esm/funcs/assessmentGetOpenOrders.js +1 -1
- package/esm/funcs/assessmentGetOpenOrders.js.map +1 -1
- package/esm/funcs/atsGetApplicationStages.js +1 -1
- package/esm/funcs/atsGetApplicationStages.js.map +1 -1
- package/esm/funcs/atsGetApplications.js +1 -1
- package/esm/funcs/atsGetApplications.js.map +1 -1
- package/esm/funcs/atsGetCandidates.js +1 -1
- package/esm/funcs/atsGetCandidates.js.map +1 -1
- package/esm/funcs/atsGetInterviews.js +1 -1
- package/esm/funcs/atsGetInterviews.js.map +1 -1
- package/esm/funcs/atsGetJobs.js +1 -1
- package/esm/funcs/atsGetJobs.js.map +1 -1
- package/esm/funcs/atsGetOffers.js +1 -1
- package/esm/funcs/atsGetOffers.js.map +1 -1
- package/esm/funcs/atsGetRejectionReasons.js +1 -1
- package/esm/funcs/atsGetRejectionReasons.js.map +1 -1
- package/esm/funcs/atsGetTags.js +1 -1
- package/esm/funcs/atsGetTags.js.map +1 -1
- package/esm/funcs/atsGetUsers.js +1 -1
- package/esm/funcs/atsGetUsers.js.map +1 -1
- package/esm/funcs/generalGetCustomFields.js +1 -1
- package/esm/funcs/generalGetCustomFields.js.map +1 -1
- package/esm/funcs/generalGetIntegrationFields.js +1 -1
- package/esm/funcs/generalGetIntegrationFields.js.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.d.ts +9 -1
- package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.js +9 -1
- package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
- package/esm/funcs/hrisGetAbsenceTypes.js +1 -1
- package/esm/funcs/hrisGetAbsenceTypes.js.map +1 -1
- package/esm/funcs/hrisGetAbsences.js +1 -1
- package/esm/funcs/hrisGetAbsences.js.map +1 -1
- package/esm/funcs/hrisGetEmployeeDocumentCategories.js +1 -1
- package/esm/funcs/hrisGetEmployeeDocumentCategories.js.map +1 -1
- package/esm/funcs/hrisGetEmployees.js +1 -1
- package/esm/funcs/hrisGetEmployees.js.map +1 -1
- package/esm/funcs/hrisGetEmployments.js +1 -1
- package/esm/funcs/hrisGetEmployments.js.map +1 -1
- package/esm/funcs/hrisGetGroups.js +1 -1
- package/esm/funcs/hrisGetGroups.js.map +1 -1
- package/esm/funcs/hrisGetLegalEntities.js +1 -1
- package/esm/funcs/hrisGetLegalEntities.js.map +1 -1
- package/esm/funcs/hrisGetLocations.js +1 -1
- package/esm/funcs/hrisGetLocations.js.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviewCycles.js +1 -1
- package/esm/funcs/hrisGetPerformanceReviewCycles.js.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviews.js +1 -1
- package/esm/funcs/hrisGetPerformanceReviews.js.map +1 -1
- package/esm/funcs/hrisGetTimeOffBalances.js +1 -1
- package/esm/funcs/hrisGetTimeOffBalances.js.map +1 -1
- package/esm/funcs/hrisGetTimesheets.js +1 -1
- package/esm/funcs/hrisGetTimesheets.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.d.ts +1 -0
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +12 -1
- package/esm/lib/encodings.js.map +1 -1
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +5 -5
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/assessmentorderreceivedwebhookpayload.js +2 -2
- package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/connectionflowfailedwebhookpayload.d.ts +4 -3
- package/esm/models/connectionflowfailedwebhookpayload.d.ts.map +1 -1
- package/esm/models/connectionflowfailedwebhookpayload.js +2 -1
- package/esm/models/connectionflowfailedwebhookpayload.js.map +1 -1
- package/esm/models/datachangedwebhookpayload.d.ts +11 -3
- package/esm/models/datachangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/datachangedwebhookpayload.js +9 -1
- package/esm/models/datachangedwebhookpayload.js.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts +4 -4
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.js +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.js.map +1 -1
- package/esm/models/getatsjobspositiveresponse.d.ts +3 -3
- package/esm/models/getatsjobspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsjobspositiveresponse.js +4 -4
- package/esm/models/getatsjobspositiveresponse.js.map +1 -1
- package/esm/models/gethrisemployeesformpositiveresponse.d.ts +2 -2
- package/esm/models/gethrisemployeesformpositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisemployeesformpositiveresponse.js +8 -8
- package/esm/models/gethrisemployeesformpositiveresponse.js.map +1 -1
- package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts +158 -16
- package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts.map +1 -1
- package/esm/models/getintegrationsintegrationidpositiveresponse.js +87 -13
- package/esm/models/getintegrationsintegrationidpositiveresponse.js.map +1 -1
- package/esm/models/gettoolscategoryparametercategory.d.ts +1 -0
- package/esm/models/gettoolscategoryparametercategory.d.ts.map +1 -1
- package/esm/models/gettoolscategoryparametercategory.js +1 -0
- package/esm/models/gettoolscategoryparametercategory.js.map +1 -1
- package/esm/models/gettoolscategorypositiveresponse.d.ts +66 -16
- package/esm/models/gettoolscategorypositiveresponse.d.ts.map +1 -1
- package/esm/models/gettoolscategorypositiveresponse.js +41 -14
- package/esm/models/gettoolscategorypositiveresponse.js.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +5 -5
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +2 -2
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/integrationcreatedwebhookpayload.d.ts +1 -0
- package/esm/models/integrationcreatedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationcreatedwebhookpayload.js +1 -0
- package/esm/models/integrationcreatedwebhookpayload.js.map +1 -1
- package/esm/models/integrationdeletedwebhookpayload.d.ts +1 -0
- package/esm/models/integrationdeletedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationdeletedwebhookpayload.js +1 -0
- package/esm/models/integrationdeletedwebhookpayload.js.map +1 -1
- package/esm/models/integrationstatechangedwebhookpayload.d.ts +4 -3
- package/esm/models/integrationstatechangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationstatechangedwebhookpayload.js +2 -1
- package/esm/models/integrationstatechangedwebhookpayload.js.map +1 -1
- package/esm/models/kombohriserror.d.ts +1 -0
- package/esm/models/kombohriserror.d.ts.map +1 -1
- package/esm/models/kombohriserror.js +1 -0
- package/esm/models/kombohriserror.js.map +1 -1
- package/esm/models/postatscandidatesrequestbody.d.ts +27 -0
- package/esm/models/postatscandidatesrequestbody.d.ts.map +1 -1
- package/esm/models/postatscandidatesrequestbody.js +10 -0
- package/esm/models/postatscandidatesrequestbody.js.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts +27 -0
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js +9 -0
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.d.ts +5 -0
- package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.js +5 -0
- package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
- package/esm/models/posthrisemployeesformpositiveresponse.d.ts +15 -3
- package/esm/models/posthrisemployeesformpositiveresponse.d.ts.map +1 -1
- package/esm/models/posthrisemployeesformpositiveresponse.js +8 -1
- package/esm/models/posthrisemployeesformpositiveresponse.js.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts +4 -4
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js +2 -2
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js.map +1 -1
- package/esm/models/schema1union1.d.ts +1 -1
- package/esm/models/schema1union1.d.ts.map +1 -1
- package/esm/models/schema1union1.js +4 -4
- package/esm/models/schema1union1.js.map +1 -1
- package/esm/models/schema1union2.d.ts +1 -1
- package/esm/models/schema1union2.d.ts.map +1 -1
- package/esm/models/schema1union2.js +4 -4
- package/esm/models/schema1union2.js.map +1 -1
- package/esm/models/schema2union1.d.ts +2 -2
- package/esm/models/schema2union1.d.ts.map +1 -1
- package/esm/models/schema2union1.js +8 -8
- package/esm/models/schema2union1.js.map +1 -1
- package/esm/models/schema2union2.d.ts +2 -2
- package/esm/models/schema2union2.d.ts.map +1 -1
- package/esm/models/schema2union2.js +8 -8
- package/esm/models/schema2union2.js.map +1 -1
- package/esm/models/syncfinishedwebhookpayload.d.ts +4 -3
- package/esm/models/syncfinishedwebhookpayload.d.ts.map +1 -1
- package/esm/models/syncfinishedwebhookpayload.js +2 -1
- package/esm/models/syncfinishedwebhookpayload.js.map +1 -1
- package/esm/sdk/general.d.ts +9 -1
- package/esm/sdk/general.d.ts.map +1 -1
- package/esm/sdk/general.js +9 -1
- package/esm/sdk/general.js.map +1 -1
- package/esm/types/unrecognized.d.ts +7 -1
- package/esm/types/unrecognized.d.ts.map +1 -1
- package/esm/types/unrecognized.js +9 -1
- package/esm/types/unrecognized.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/assessmentGetOpenOrders.ts +1 -1
- package/src/funcs/atsGetApplicationStages.ts +1 -1
- package/src/funcs/atsGetApplications.ts +1 -1
- package/src/funcs/atsGetCandidates.ts +1 -1
- package/src/funcs/atsGetInterviews.ts +1 -1
- package/src/funcs/atsGetJobs.ts +1 -1
- package/src/funcs/atsGetOffers.ts +1 -1
- package/src/funcs/atsGetRejectionReasons.ts +1 -1
- package/src/funcs/atsGetTags.ts +1 -1
- package/src/funcs/atsGetUsers.ts +1 -1
- package/src/funcs/generalGetCustomFields.ts +1 -1
- package/src/funcs/generalGetIntegrationFields.ts +1 -1
- package/src/funcs/generalSendPassthroughRequest.ts +9 -1
- package/src/funcs/hrisGetAbsenceTypes.ts +1 -1
- package/src/funcs/hrisGetAbsences.ts +1 -1
- package/src/funcs/hrisGetEmployeeDocumentCategories.ts +1 -1
- package/src/funcs/hrisGetEmployees.ts +1 -1
- package/src/funcs/hrisGetEmployments.ts +1 -1
- package/src/funcs/hrisGetGroups.ts +1 -1
- package/src/funcs/hrisGetLegalEntities.ts +1 -1
- package/src/funcs/hrisGetLocations.ts +1 -1
- package/src/funcs/hrisGetPerformanceReviewCycles.ts +1 -1
- package/src/funcs/hrisGetPerformanceReviews.ts +1 -1
- package/src/funcs/hrisGetTimeOffBalances.ts +1 -1
- package/src/funcs/hrisGetTimesheets.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/models/assessmentorderreceivedwebhookpayload.ts +7 -7
- package/src/models/connectionflowfailedwebhookpayload.ts +4 -3
- package/src/models/datachangedwebhookpayload.ts +11 -3
- package/src/models/getassessmentordersopenpositiveresponse.ts +5 -5
- package/src/models/getatsjobspositiveresponse.ts +9 -9
- package/src/models/gethrisemployeesformpositiveresponse.ts +18 -18
- package/src/models/getintegrationsintegrationidpositiveresponse.ts +292 -44
- package/src/models/gettoolscategoryparametercategory.ts +1 -0
- package/src/models/gettoolscategorypositiveresponse.ts +160 -48
- package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +7 -7
- package/src/models/integrationcreatedwebhookpayload.ts +1 -0
- package/src/models/integrationdeletedwebhookpayload.ts +1 -0
- package/src/models/integrationstatechangedwebhookpayload.ts +4 -3
- package/src/models/kombohriserror.ts +1 -0
- package/src/models/postatscandidatesrequestbody.ts +44 -0
- package/src/models/postatsjobsjobidapplicationsrequestbody.ts +49 -0
- package/src/models/postconnectcreatelinkrequestbody.ts +5 -0
- package/src/models/posthrisemployeesformpositiveresponse.ts +30 -4
- package/src/models/putassessmentordersassessmentorderidresultrequestbody.ts +7 -7
- package/src/models/schema1union1.ts +9 -9
- package/src/models/schema1union2.ts +9 -9
- package/src/models/schema2union1.ts +18 -18
- package/src/models/schema2union2.ts +18 -18
- package/src/models/syncfinishedwebhookpayload.ts +4 -3
- package/src/sdk/general.ts +9 -1
- package/src/types/unrecognized.ts +9 -1
- package/tests/basic-behavior.spec.ts +355 -2
- package/tests/helpers/test-context.ts +5 -2
- package/tsconfig.json +1 -2
|
@@ -7,19 +7,29 @@ import { safeParse } from "../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* An object containing the temporary pre-hire information from the remote system. This ID may change or become invalid when the pre-hire becomes a full employee. Only populated when `id` is null.
|
|
12
|
+
*/
|
|
13
|
+
export type Prehire = {
|
|
14
|
+
/**
|
|
15
|
+
* The temporary ID returned by the remote system when creating a pre-hire.
|
|
16
|
+
*/
|
|
17
|
+
remote_id: string | null;
|
|
18
|
+
};
|
|
19
|
+
|
|
10
20
|
export type PostHrisEmployeesFormPositiveResponseData = {
|
|
11
21
|
/**
|
|
12
22
|
* The Kombo id of the created employee. If null, we only created a pre-hire which shows up in the next sync after a successful onboarding.
|
|
13
23
|
*/
|
|
14
24
|
id: string | null;
|
|
15
25
|
/**
|
|
16
|
-
* The raw ID of the created employee in the remote system. This is only populated when `id` is set (i.e., when a full employee was created). For pre-hires, use `
|
|
26
|
+
* The raw ID of the created employee in the remote system. This is only populated when `id` is set (i.e., when a full employee was created). For pre-hires, use the `prehire` object instead.
|
|
17
27
|
*/
|
|
18
28
|
remote_id: string | null;
|
|
19
29
|
/**
|
|
20
|
-
*
|
|
30
|
+
* An object containing the temporary pre-hire information from the remote system. This ID may change or become invalid when the pre-hire becomes a full employee. Only populated when `id` is null.
|
|
21
31
|
*/
|
|
22
|
-
|
|
32
|
+
prehire: Prehire;
|
|
23
33
|
};
|
|
24
34
|
|
|
25
35
|
export type PostHrisEmployeesFormPositiveResponseWarning = {
|
|
@@ -35,6 +45,22 @@ export type PostHrisEmployeesFormPositiveResponse = {
|
|
|
35
45
|
warnings: Array<PostHrisEmployeesFormPositiveResponseWarning>;
|
|
36
46
|
};
|
|
37
47
|
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const Prehire$inboundSchema: z.ZodType<Prehire, z.ZodTypeDef, unknown> =
|
|
50
|
+
z.object({
|
|
51
|
+
remote_id: z.nullable(z.string()),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function prehireFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<Prehire, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => Prehire$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'Prehire' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
38
64
|
/** @internal */
|
|
39
65
|
export const PostHrisEmployeesFormPositiveResponseData$inboundSchema: z.ZodType<
|
|
40
66
|
PostHrisEmployeesFormPositiveResponseData,
|
|
@@ -43,7 +69,7 @@ export const PostHrisEmployeesFormPositiveResponseData$inboundSchema: z.ZodType<
|
|
|
43
69
|
> = z.object({
|
|
44
70
|
id: z.nullable(z.string()),
|
|
45
71
|
remote_id: z.nullable(z.string()),
|
|
46
|
-
|
|
72
|
+
prehire: z.lazy(() => Prehire$inboundSchema),
|
|
47
73
|
});
|
|
48
74
|
|
|
49
75
|
export function postHrisEmployeesFormPositiveResponseDataFromJSON(
|
|
@@ -55,7 +55,7 @@ export type AttributeText = {
|
|
|
55
55
|
value: string;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
export type Attribute =
|
|
58
|
+
export type Attribute = AttributeText | AttributeSubResult;
|
|
59
59
|
|
|
60
60
|
export type PutAssessmentOrdersAssessmentOrderIdResultRequestBodyAttachment = {
|
|
61
61
|
/**
|
|
@@ -137,7 +137,7 @@ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBody = {
|
|
|
137
137
|
*
|
|
138
138
|
* - If an ATS only supports writing text attributes, we will transform non `TEXT` attributes into formatted plain text values.
|
|
139
139
|
*/
|
|
140
|
-
attributes?: Array<
|
|
140
|
+
attributes?: Array<AttributeText | AttributeSubResult> | undefined;
|
|
141
141
|
/**
|
|
142
142
|
* An array of attachments containing the assessment result.
|
|
143
143
|
*/
|
|
@@ -237,8 +237,8 @@ export function attributeTextToJSON(attributeText: AttributeText): string {
|
|
|
237
237
|
|
|
238
238
|
/** @internal */
|
|
239
239
|
export type Attribute$Outbound =
|
|
240
|
-
|
|
|
241
|
-
|
|
|
240
|
+
| AttributeText$Outbound
|
|
241
|
+
| AttributeSubResult$Outbound;
|
|
242
242
|
|
|
243
243
|
/** @internal */
|
|
244
244
|
export const Attribute$outboundSchema: z.ZodType<
|
|
@@ -246,8 +246,8 @@ export const Attribute$outboundSchema: z.ZodType<
|
|
|
246
246
|
z.ZodTypeDef,
|
|
247
247
|
Attribute
|
|
248
248
|
> = z.union([
|
|
249
|
-
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
250
249
|
z.lazy(() => AttributeText$outboundSchema),
|
|
250
|
+
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
251
251
|
]);
|
|
252
252
|
|
|
253
253
|
export function attributeToJSON(attribute: Attribute): string {
|
|
@@ -356,7 +356,7 @@ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBody$Outbound = {
|
|
|
356
356
|
score?: number | undefined;
|
|
357
357
|
max_score?: number | undefined;
|
|
358
358
|
attributes?:
|
|
359
|
-
| Array<
|
|
359
|
+
| Array<AttributeText$Outbound | AttributeSubResult$Outbound>
|
|
360
360
|
| undefined;
|
|
361
361
|
attachments?:
|
|
362
362
|
| Array<
|
|
@@ -383,8 +383,8 @@ export const PutAssessmentOrdersAssessmentOrderIdResultRequestBody$outboundSchem
|
|
|
383
383
|
max_score: z.number().optional(),
|
|
384
384
|
attributes: z.array(
|
|
385
385
|
z.union([
|
|
386
|
-
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
387
386
|
z.lazy(() => AttributeText$outboundSchema),
|
|
387
|
+
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
388
388
|
]),
|
|
389
389
|
).optional(),
|
|
390
390
|
attachments: z.array(
|
|
@@ -340,15 +340,15 @@ export type Schema1Text = {
|
|
|
340
340
|
};
|
|
341
341
|
|
|
342
342
|
export type Schema1Union1 =
|
|
343
|
+
| Schema1Text
|
|
344
|
+
| Schema1Number
|
|
345
|
+
| Schema1Date
|
|
343
346
|
| Schema1SingleSelect
|
|
344
347
|
| Schema1MultiSelect
|
|
348
|
+
| Schema1Checkbox
|
|
345
349
|
| Schema1Object
|
|
346
350
|
| Schema1Array1
|
|
347
|
-
| Schema1File
|
|
348
|
-
| Schema1Text
|
|
349
|
-
| Schema1Number
|
|
350
|
-
| Schema1Date
|
|
351
|
-
| Schema1Checkbox;
|
|
351
|
+
| Schema1File;
|
|
352
352
|
|
|
353
353
|
/** @internal */
|
|
354
354
|
export const Schema1UnifiedKey8$inboundSchema: z.ZodNativeEnum<
|
|
@@ -841,15 +841,15 @@ export const Schema1Union1$inboundSchema: z.ZodType<
|
|
|
841
841
|
z.ZodTypeDef,
|
|
842
842
|
unknown
|
|
843
843
|
> = z.union([
|
|
844
|
+
z.lazy(() => Schema1Text$inboundSchema),
|
|
845
|
+
z.lazy(() => Schema1Number$inboundSchema),
|
|
846
|
+
z.lazy(() => Schema1Date$inboundSchema),
|
|
844
847
|
z.lazy(() => Schema1SingleSelect$inboundSchema),
|
|
845
848
|
z.lazy(() => Schema1MultiSelect$inboundSchema),
|
|
849
|
+
z.lazy(() => Schema1Checkbox$inboundSchema),
|
|
846
850
|
z.lazy(() => Schema1Object$inboundSchema),
|
|
847
851
|
z.lazy(() => Schema1Array1$inboundSchema),
|
|
848
852
|
z.lazy(() => Schema1File$inboundSchema),
|
|
849
|
-
z.lazy(() => Schema1Text$inboundSchema),
|
|
850
|
-
z.lazy(() => Schema1Number$inboundSchema),
|
|
851
|
-
z.lazy(() => Schema1Date$inboundSchema),
|
|
852
|
-
z.lazy(() => Schema1Checkbox$inboundSchema),
|
|
853
853
|
]);
|
|
854
854
|
|
|
855
855
|
export function schema1Union1FromJSON(
|
|
@@ -29,15 +29,15 @@ import {
|
|
|
29
29
|
import { Schema2Union2, Schema2Union2$inboundSchema } from "./schema2union2.js";
|
|
30
30
|
|
|
31
31
|
export type Schema1Union2 =
|
|
32
|
+
| Schema1Text
|
|
33
|
+
| Schema1Number
|
|
34
|
+
| Schema1Date
|
|
32
35
|
| Schema1SingleSelect
|
|
33
36
|
| Schema1MultiSelect
|
|
37
|
+
| Schema1Checkbox
|
|
34
38
|
| Schema1Object
|
|
35
39
|
| Schema1Array2
|
|
36
|
-
| Schema1File
|
|
37
|
-
| Schema1Text
|
|
38
|
-
| Schema1Number
|
|
39
|
-
| Schema1Date
|
|
40
|
-
| Schema1Checkbox;
|
|
40
|
+
| Schema1File;
|
|
41
41
|
|
|
42
42
|
export type Schema1Array2 = {
|
|
43
43
|
label: string;
|
|
@@ -56,15 +56,15 @@ export const Schema1Union2$inboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
unknown
|
|
58
58
|
> = z.union([
|
|
59
|
+
Schema1Text$inboundSchema,
|
|
60
|
+
Schema1Number$inboundSchema,
|
|
61
|
+
Schema1Date$inboundSchema,
|
|
59
62
|
Schema1SingleSelect$inboundSchema,
|
|
60
63
|
Schema1MultiSelect$inboundSchema,
|
|
64
|
+
Schema1Checkbox$inboundSchema,
|
|
61
65
|
Schema1Object$inboundSchema,
|
|
62
66
|
z.lazy(() => Schema1Array2$inboundSchema),
|
|
63
67
|
Schema1File$inboundSchema,
|
|
64
|
-
Schema1Text$inboundSchema,
|
|
65
|
-
Schema1Number$inboundSchema,
|
|
66
|
-
Schema1Date$inboundSchema,
|
|
67
|
-
Schema1Checkbox$inboundSchema,
|
|
68
68
|
]);
|
|
69
69
|
|
|
70
70
|
export function schema1Union2FromJSON(
|
|
@@ -328,15 +328,15 @@ export type Schema2Object1 = {
|
|
|
328
328
|
};
|
|
329
329
|
|
|
330
330
|
export type Schema2Union1 =
|
|
331
|
+
| Schema2Text
|
|
332
|
+
| Schema2Number
|
|
333
|
+
| Schema2Date
|
|
331
334
|
| Schema2SingleSelect
|
|
332
335
|
| Schema2MultiSelect
|
|
336
|
+
| Schema2Checkbox
|
|
333
337
|
| Schema2Object1
|
|
334
338
|
| Schema2Array1
|
|
335
|
-
| Schema2File
|
|
336
|
-
| Schema2Text
|
|
337
|
-
| Schema2Number
|
|
338
|
-
| Schema2Date
|
|
339
|
-
| Schema2Checkbox;
|
|
339
|
+
| Schema2File;
|
|
340
340
|
|
|
341
341
|
export type Schema2Array1 = {
|
|
342
342
|
label: string;
|
|
@@ -345,15 +345,15 @@ export type Schema2Array1 = {
|
|
|
345
345
|
unified_key?: Schema2UnifiedKey7 | null | undefined;
|
|
346
346
|
type: "array";
|
|
347
347
|
item_type:
|
|
348
|
+
| Schema2Text
|
|
349
|
+
| Schema2Number
|
|
350
|
+
| Schema2Date
|
|
348
351
|
| Schema2SingleSelect
|
|
349
352
|
| Schema2MultiSelect
|
|
353
|
+
| Schema2Checkbox
|
|
350
354
|
| Schema2Object1
|
|
351
355
|
| Schema2Array1
|
|
352
|
-
| Schema2File
|
|
353
|
-
| Schema2Text
|
|
354
|
-
| Schema2Number
|
|
355
|
-
| Schema2Date
|
|
356
|
-
| Schema2Checkbox;
|
|
356
|
+
| Schema2File;
|
|
357
357
|
min_items?: number | null | undefined;
|
|
358
358
|
max_items?: number | null | undefined;
|
|
359
359
|
};
|
|
@@ -823,15 +823,15 @@ export const Schema2Union1$inboundSchema: z.ZodType<
|
|
|
823
823
|
z.ZodTypeDef,
|
|
824
824
|
unknown
|
|
825
825
|
> = z.union([
|
|
826
|
+
z.lazy(() => Schema2Text$inboundSchema),
|
|
827
|
+
z.lazy(() => Schema2Number$inboundSchema),
|
|
828
|
+
z.lazy(() => Schema2Date$inboundSchema),
|
|
826
829
|
z.lazy(() => Schema2SingleSelect$inboundSchema),
|
|
827
830
|
z.lazy(() => Schema2MultiSelect$inboundSchema),
|
|
831
|
+
z.lazy(() => Schema2Checkbox$inboundSchema),
|
|
828
832
|
z.lazy(() => Schema2Object1$inboundSchema),
|
|
829
833
|
z.lazy(() => Schema2Array1$inboundSchema),
|
|
830
834
|
z.lazy(() => Schema2File$inboundSchema),
|
|
831
|
-
z.lazy(() => Schema2Text$inboundSchema),
|
|
832
|
-
z.lazy(() => Schema2Number$inboundSchema),
|
|
833
|
-
z.lazy(() => Schema2Date$inboundSchema),
|
|
834
|
-
z.lazy(() => Schema2Checkbox$inboundSchema),
|
|
835
835
|
]);
|
|
836
836
|
|
|
837
837
|
export function schema2Union1FromJSON(
|
|
@@ -856,15 +856,15 @@ export const Schema2Array1$inboundSchema: z.ZodType<
|
|
|
856
856
|
unified_key: z.nullable(Schema2UnifiedKey7$inboundSchema).optional(),
|
|
857
857
|
type: z.literal("array"),
|
|
858
858
|
item_type: z.union([
|
|
859
|
+
z.lazy(() => Schema2Text$inboundSchema),
|
|
860
|
+
z.lazy(() => Schema2Number$inboundSchema),
|
|
861
|
+
z.lazy(() => Schema2Date$inboundSchema),
|
|
859
862
|
z.lazy(() => Schema2SingleSelect$inboundSchema),
|
|
860
863
|
z.lazy(() => Schema2MultiSelect$inboundSchema),
|
|
864
|
+
z.lazy(() => Schema2Checkbox$inboundSchema),
|
|
861
865
|
z.lazy(() => Schema2Object1$inboundSchema),
|
|
862
866
|
z.lazy(() => Schema2Array1$inboundSchema),
|
|
863
867
|
z.lazy(() => Schema2File$inboundSchema),
|
|
864
|
-
z.lazy(() => Schema2Text$inboundSchema),
|
|
865
|
-
z.lazy(() => Schema2Number$inboundSchema),
|
|
866
|
-
z.lazy(() => Schema2Date$inboundSchema),
|
|
867
|
-
z.lazy(() => Schema2Checkbox$inboundSchema),
|
|
868
868
|
]),
|
|
869
869
|
min_items: z.nullable(z.number()).optional(),
|
|
870
870
|
max_items: z.nullable(z.number()).optional(),
|
|
@@ -38,15 +38,15 @@ export type Schema2Object2 = {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
export type Schema2Union2 =
|
|
41
|
+
| Schema2Text
|
|
42
|
+
| Schema2Number
|
|
43
|
+
| Schema2Date
|
|
41
44
|
| Schema2SingleSelect
|
|
42
45
|
| Schema2MultiSelect
|
|
46
|
+
| Schema2Checkbox
|
|
43
47
|
| Schema2Object2
|
|
44
48
|
| Schema2Array2
|
|
45
|
-
| Schema2File
|
|
46
|
-
| Schema2Text
|
|
47
|
-
| Schema2Number
|
|
48
|
-
| Schema2Date
|
|
49
|
-
| Schema2Checkbox;
|
|
49
|
+
| Schema2File;
|
|
50
50
|
|
|
51
51
|
export type Schema2Array2 = {
|
|
52
52
|
label: string;
|
|
@@ -55,15 +55,15 @@ export type Schema2Array2 = {
|
|
|
55
55
|
unified_key?: Schema2UnifiedKey7 | null | undefined;
|
|
56
56
|
type: "array";
|
|
57
57
|
item_type:
|
|
58
|
+
| Schema2Text
|
|
59
|
+
| Schema2Number
|
|
60
|
+
| Schema2Date
|
|
58
61
|
| Schema2SingleSelect
|
|
59
62
|
| Schema2MultiSelect
|
|
63
|
+
| Schema2Checkbox
|
|
60
64
|
| Schema2Object2
|
|
61
65
|
| Schema2Array2
|
|
62
|
-
| Schema2File
|
|
63
|
-
| Schema2Text
|
|
64
|
-
| Schema2Number
|
|
65
|
-
| Schema2Date
|
|
66
|
-
| Schema2Checkbox;
|
|
66
|
+
| Schema2File;
|
|
67
67
|
min_items?: number | null | undefined;
|
|
68
68
|
max_items?: number | null | undefined;
|
|
69
69
|
};
|
|
@@ -98,15 +98,15 @@ export const Schema2Union2$inboundSchema: z.ZodType<
|
|
|
98
98
|
z.ZodTypeDef,
|
|
99
99
|
unknown
|
|
100
100
|
> = z.union([
|
|
101
|
+
Schema2Text$inboundSchema,
|
|
102
|
+
Schema2Number$inboundSchema,
|
|
103
|
+
Schema2Date$inboundSchema,
|
|
101
104
|
Schema2SingleSelect$inboundSchema,
|
|
102
105
|
Schema2MultiSelect$inboundSchema,
|
|
106
|
+
Schema2Checkbox$inboundSchema,
|
|
103
107
|
z.lazy(() => Schema2Object2$inboundSchema),
|
|
104
108
|
z.lazy(() => Schema2Array2$inboundSchema),
|
|
105
109
|
Schema2File$inboundSchema,
|
|
106
|
-
Schema2Text$inboundSchema,
|
|
107
|
-
Schema2Number$inboundSchema,
|
|
108
|
-
Schema2Date$inboundSchema,
|
|
109
|
-
Schema2Checkbox$inboundSchema,
|
|
110
110
|
]);
|
|
111
111
|
|
|
112
112
|
export function schema2Union2FromJSON(
|
|
@@ -131,15 +131,15 @@ export const Schema2Array2$inboundSchema: z.ZodType<
|
|
|
131
131
|
unified_key: z.nullable(Schema2UnifiedKey7$inboundSchema).optional(),
|
|
132
132
|
type: z.literal("array"),
|
|
133
133
|
item_type: z.union([
|
|
134
|
+
Schema2Text$inboundSchema,
|
|
135
|
+
Schema2Number$inboundSchema,
|
|
136
|
+
Schema2Date$inboundSchema,
|
|
134
137
|
Schema2SingleSelect$inboundSchema,
|
|
135
138
|
Schema2MultiSelect$inboundSchema,
|
|
139
|
+
Schema2Checkbox$inboundSchema,
|
|
136
140
|
z.lazy(() => Schema2Object2$inboundSchema),
|
|
137
141
|
z.lazy(() => Schema2Array2$inboundSchema),
|
|
138
142
|
Schema2File$inboundSchema,
|
|
139
|
-
Schema2Text$inboundSchema,
|
|
140
|
-
Schema2Number$inboundSchema,
|
|
141
|
-
Schema2Date$inboundSchema,
|
|
142
|
-
Schema2Checkbox$inboundSchema,
|
|
143
143
|
]),
|
|
144
144
|
min_items: z.nullable(z.number()).optional(),
|
|
145
145
|
max_items: z.nullable(z.number()).optional(),
|
|
@@ -22,15 +22,16 @@ export type SyncFinishedWebhookPayloadType = ClosedEnum<
|
|
|
22
22
|
>;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* The category of the integration (HRIS, ATS, or
|
|
25
|
+
* The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
|
|
26
26
|
*/
|
|
27
27
|
export const SyncFinishedWebhookPayloadIntegrationCategory = {
|
|
28
28
|
Hris: "HRIS",
|
|
29
29
|
Ats: "ATS",
|
|
30
30
|
Assessment: "ASSESSMENT",
|
|
31
|
+
Lms: "LMS",
|
|
31
32
|
} as const;
|
|
32
33
|
/**
|
|
33
|
-
* The category of the integration (HRIS, ATS, or
|
|
34
|
+
* The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
|
|
34
35
|
*/
|
|
35
36
|
export type SyncFinishedWebhookPayloadIntegrationCategory = ClosedEnum<
|
|
36
37
|
typeof SyncFinishedWebhookPayloadIntegrationCategory
|
|
@@ -84,7 +85,7 @@ export type SyncFinishedWebhookPayloadData = {
|
|
|
84
85
|
*/
|
|
85
86
|
integration_tool: string;
|
|
86
87
|
/**
|
|
87
|
-
* The category of the integration (HRIS, ATS, or
|
|
88
|
+
* The category of the integration (HRIS, ATS, ASSESSMENT, or LMS).
|
|
88
89
|
*/
|
|
89
90
|
integration_category: SyncFinishedWebhookPayloadIntegrationCategory;
|
|
90
91
|
/**
|
package/src/sdk/general.ts
CHANGED
|
@@ -115,6 +115,7 @@ export class General extends ClientSDK {
|
|
|
115
115
|
* |HeavenHR|`heavenhr/v2`|[HeavenHR API](https://api.heavenhr.com/). We automatically authenticate all requests using the provided credentials and use `https://api.heavenhr.com/api/v2` as the base URL.|
|
|
116
116
|
* |HiBob|`hibob/v1`|[HibBob's v1 API](https://apidocs.hibob.com/reference/get_people). We automatically authenticate all requests using the service user credentials (or, for old integrations, the API key) and use `https://api.hibob.com/v1` as the base URL.|
|
|
117
117
|
* |HiBob|`hibob/hire`|[HiBob's Hire API](https://apidocs.hibob.com/docs/how-to-integrate-with-ats-hire-api). We automatically authenticate all requests using the hire service user credentials. The base URL is configured during the integration setup.|
|
|
118
|
+
* |HiBob|`hibob/docs`|This passthrough is only used for fetching employee documents in Hibob. It is present as a workaround while we are working on a new endpoint for fetching documents in HRIS. It should not be used for any other purpose. We automatically authenticate all requests using the service user credentials and use `https://app.hibob.com/api/docs/employees/` as the base URL.|
|
|
118
119
|
* |Softgarden|`softgarden/frontend-v3`|[Softgarden's Frontend API v3](https://dev.softgarden.de/frontend-v3/. We automatically authenticate all requests and use 'https://api.softgarden.io/api/rest' as base URL.|
|
|
119
120
|
* |Softgarden|`softgarden/apply-api`|[Softgarden's Apply API](https://dev.softgarden.de/apply-api/). We automatically authenticate all requests and use 'https://jobdb.softgarden.de/jobdb/public' as base URL.|
|
|
120
121
|
* |Cezanne HR|`cezannehr/dataservice`|[CezanneHR's v7 dataservice API](https://api.cezannehr.com/).We automatically authenticate all requests and use the base URL `https://subdomain.cezanneondemand.com/cezanneondemand/v7/dataservice.svc`|
|
|
@@ -154,10 +155,12 @@ export class General extends ClientSDK {
|
|
|
154
155
|
* |JobDiva|`jobdiva/api`|We automatically authenticate all requests and use `https://api.jobdiva.com` as the base URL.|
|
|
155
156
|
* |Visma Peple|`peple/hrm`|[Visma Payroll Reporting API](https://api.analytics1.hrm.visma.net/docs/openapi.html). We automatically authenticate all requests using the client credentials and use 'https://api.analytics1.hrm.visma.net' as the base URL.|
|
|
156
157
|
* |Visma YouServe|`youserve/learning`|Visma YouServe [Learning API](https://youserve-domain-api.github.io/SwaggerUI/learning.html). We automatically authenticate all requests using OAuth 2.0 with the provided credentials and use `https://api.youserve.nl/learning/v1.0` as the base URL.|
|
|
158
|
+
* |Eightfold|`eightfold/api`|Eightfold's [API](https://apidocs.eightfold.ai/). We automatically authenticate all requests and use `https://apiv2.\{region\}/api/v2/core/` as the base URL.|
|
|
157
159
|
* |Dayforce|`dayforce/V1`|[Dayforce's API](https://developers.dayforce.com/Build/Home.aspx). We automatically authenticate all requests and use `\{\{baseUrl\}\}/Api/\{\{clientNamespace\}\}/V1` as the base URL|
|
|
158
160
|
* |Hansalog|`hansalog/vision`|Hansalog's [Vision API](https://hansalog-vision.document360.io/docs/). We automatically authenticate all requests and use `https://\{subdomain\}.hansalog-cloud.de/vision` as the base URL.|
|
|
159
161
|
* |Lattice|`lattice/passthrough`|Lattice's [API](https://developers.lattice.com/v2/docs/base-url-1). We automatically authenticate all requests using OAuth credentials with `https://api.latticehq.com` as the base URL.|
|
|
160
162
|
* |Lattice|`lattice/talent`|Lattice's [Talent API](https://developers.lattice.com/docs/introduction-1). We automatically authenticate all requests using OAuth credentials with `https://api.latticehq.com` as the base URL.|
|
|
163
|
+
* |HoorayHR|`hoorayhr/api`|[HoorayHR API](https://api.hoorayhr.io/documentation/). We automatically authenticate all requests and use `https://api.hoorayhr.io` as the base URL.|
|
|
161
164
|
* |Paylocity|`paylocity/default`|[Paylocity's Weblink API](https://developer.paylocity.com/integrations/reference/authentication-weblink). We automatically authenticate all requests and use 'https://\{api|dc1demogw\}.paylocity.com/' as the base URL.|
|
|
162
165
|
* |Paylocity|`paylocity/next-gen`|[Paylocity's NextGen API](https://developer.paylocity.com/integrations/reference/authentication). We automatically authenticate all requests and use 'https://dc1prodgwext.paylocity.com/' as the base URL.|
|
|
163
166
|
* |Paycor|`paycor/v1`|[Paycors's v1 API](https://developers.paycor.com/explore#section/Getting-Started). We automatically authenticate all requests and use 'https://apis.paycor.com'.|
|
|
@@ -167,6 +170,8 @@ export class General extends ClientSDK {
|
|
|
167
170
|
* |Avature|`avature/custom-api`|Avatures's Custom API. Call `Get /openapi` to retrieve the specific custom API schema. We automatically authenticate all requests and use the instance specific custom API URL as the base URL.|
|
|
168
171
|
* |Apploi|`apploi/rest-api`|The [Apploi API](https://integrate.apploi.com/). We automatically authenticate all requests and use `https://partners.apploi.com/` as the base URL.|
|
|
169
172
|
* |Phenom|`phenom/rest-api`|The [Phenom API](https://developer.phenom.com/). We automatically authenticate all requests and use `https://api-stg.phenompro.com` as the base URL.|
|
|
173
|
+
* |Paradox|`paradox/v1public`|We use `\{api_url\}/api/v1/public` as the base URL. Find the official docs [here](https://paradox.readme.io/).|
|
|
174
|
+
* |Paradox|`paradox/v1`|We use `\{api_url\}/api/v1` as the base URL. Find the official docs [here](https://paradox.readme.io/).|
|
|
170
175
|
* |Rippling|`rippling/api`|Rippling's [API](https://developer.rippling.com/documentation). We automatically authenticate all requests and use `https://api.rippling.com/platform/api` or`https://rest.ripplingapis.com` as the base URL.|
|
|
171
176
|
* |Heyrecruit|`heyrecruit/v2`|[Heyrecruit's v2 API](https://documenter.getpostman.com/view/23241256/2s9YysBLcf#47e271ac-47c8-4c75-9cc6-b8c506e9dad6). We automatically authenticate all requests using the client ID and secret and use `https://app.heyrecruit.de/api/v2` as the base URL.|
|
|
172
177
|
* |PeopleHR|`peoplehr/default`|[PeopleHR's API](https://apidocs.peoplehr.com/#). We automatically authenticate all request ans use 'https://api.peoplehr.net' as the base URL.|
|
|
@@ -175,13 +180,15 @@ export class General extends ClientSDK {
|
|
|
175
180
|
* |BITE|`bite/v1`|[Bite's v1 API](https://api.b-ite.io/docs/#/). We automatically authenticate all requests and use 'https://api.b-ite.io/v1' as base URL.|
|
|
176
181
|
* |Zelt|`zelt/partner`|Zelt's [Partner API](https://go.zelt.app/apiv2/swagger). We automatically authenticate all requests using the connected OAuth credentials and use `https://go.zelt.app/apiv2/partner` as the base URL.|
|
|
177
182
|
* |Planday|`planday/api`|Planday's [HR API v1.0](https://openapi.planday.com/api/hr?version=v1.0). We automatically authenticate all requests and use `https://openapi.planday.com` as the base URL.|
|
|
183
|
+
* |BoondManager|`boondmanager/api`|BoondManager [REST API](https://ui.boondmanager.com/administrator/developer/apisandbox). We automatically authenticate all requests and use `https://ui.boondmanager.com/api` as the base URL.|
|
|
178
184
|
* |Hailey HR|`haileyhr/api`|Hailey HR's [API](https://api.haileyhr.app/docs/index.html). We automatically authenticate all requests using the provided credentials and use `https://api.haileyhr.app` as the base URL.|
|
|
179
185
|
* |Silae|`silae/rest`|[Silae's REST API](https://silae-api.document360.io/docs). We automatically authenticate all requests and use 'https://payroll-api.silae.fr/payroll' as the base URL.|
|
|
180
186
|
* |Mysolution|`mysolution/default`|[Mysolution's API](https://swagger.mysolution.nl/). We automatically authenticate all requests and use the customer's domain as base URL.|
|
|
181
187
|
* |InRecruiting by Zucchetti|`inrecruiting/default`|[inRecruiting's v3 API](https://inrecruiting.intervieweb.it/api-docs/). We automatically authenticate all requests and use the customers domain as base URL|
|
|
182
188
|
* |Connexys By Bullhorn|`connexys/api`|[Connexy's API](https://api.conexsys.com/client/v2/docs/#section/Overview). We automatically authenticate all requests and use `https://\{connexys_domain\}/` as the base URL.|
|
|
183
189
|
* |HR4YOU|`hr4you/v2`|[HR4YOU's v2 API](https://apiprodemo.hr4you.org/api2/docs). We automatically authenticate all requests and use the customers provided base URL (e.g., https://`\{base_url\}`/ or https://`\{subdomain\}.hr4you.org`/).|
|
|
184
|
-
* |Cornerstone OnDemand|`cornerstoneondemand/recruiting`|Cornerstone's [Recruiting API](https://csod.dev/reference/recruiting/). We automatically authenticate all requests using the client ID and secret and use `https
|
|
190
|
+
* |Cornerstone OnDemand|`cornerstoneondemand/recruiting`|Cornerstone's [Recruiting API](https://csod.dev/reference/recruiting/). We automatically authenticate all requests using the client ID and secret and use `https://\{your_domain\}.csod.com/services/api` as the base URL.|
|
|
191
|
+
* |Cornerstone OnDemand|`cornerstoneondemand/learning`|Cornerstone's [Learning API](https://csod.dev/reference/learning/). We automatically authenticate all requests using the client ID and secret and use `https://\{your_domain\}.csod.com/services/api` as the base URL.|
|
|
185
192
|
* |Zvoove Recruit|`zvooverecruit/jobs`|[Zvoove Recruit's Jobs API](https://api.zvoove.com/docs/). We automatically authenticate all requests using the jobs API key and use 'https://\{domain\}/api/public' as base URL.|
|
|
186
193
|
* |Zvoove Recruit|`zvooverecruit/applicants`|[Zvoove Recruit's Applicants API](https://api.zvoove.com/docs/). We automatically authenticate all requests using the applicants API key and use 'https://\{domain\}/api/public' as base URL.|
|
|
187
194
|
* |Spark Hire Recruit|`comeet/api`|[Spark Hire Recruit's API.](https://developers.comeet.com/reference/recruiting-api-overview)We automatically authenticate all requests and use `https://api.comeet.com` as the base URL.|
|
|
@@ -201,6 +208,7 @@ export class General extends ClientSDK {
|
|
|
201
208
|
* |Manatal|`manatal/career-page`|Manatal's Career Page API. We use `https://api.manatal.com/open/v3/career-page/\{client_slug\}` as the base URL.|
|
|
202
209
|
* |Avionté|`avionte/front-office-v1`|Avionte's API. We automatically authenticate all requests and use `https://api.avionte.com/front-office/v1` as the base URL. Documentation for the BOLD Front Office API: https://developer.avionte.com/reference/get-all-talent-tags|
|
|
203
210
|
* |a3innuva Nómina|`a3innuvanomina/laboral`|a3innuva Nómina API [docs](https://a3developers.wolterskluwer.es/). Requests are automatically authenticated using OAuth access tokens (refreshed when needed). Base URL: `https://a3api.wolterskluwer.es/Laboral/api`.|
|
|
211
|
+
* |Asymbl|`asymbl/v63`|We use `https://\{customerDomainName\}` as the base URL. Find the official docs [here](https://asymblinc.github.io/ats/ats.html).|
|
|
204
212
|
* |DATEV|`datevhr/hr-exports`|DATEV's [hr-exports](https://developer.datev.de/en/product-detail/hr-exports/1.0.0/overview). We automatically authenticate all requests and use `https://hr-exports.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}` as the base URL.|
|
|
205
213
|
* |DATEV|`datevhr/hr:payrollreports`|DATEV's [hr:payrollreports](https://developer.datev.de/en/product-detail/hr-payrollreports/2.0.0/overview) API. We automatically authenticate all requests and use `https://hr-payrollreports.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
|
|
206
214
|
* |DATEV|`datevhr/eau`|DATEV's [eau](https://developer.datev.de/en/product-detail/eau-api/1.0.0/overview) API. We automatically authenticate all requests and use `https://eau.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
|
|
@@ -16,8 +16,16 @@ export function startCountingUnrecognized() {
|
|
|
16
16
|
refCount++;
|
|
17
17
|
const start = globalCount;
|
|
18
18
|
return {
|
|
19
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Ends counting and returns the delta.
|
|
21
|
+
* @param delta - If provided, only this amount is added to the parent counter
|
|
22
|
+
* (used for nested unions where we only want to record the winning option's count).
|
|
23
|
+
* If not provided, records all counts since start().
|
|
24
|
+
*/
|
|
25
|
+
end: (delta?: number) => {
|
|
20
26
|
const count = globalCount - start;
|
|
27
|
+
// Reset globalCount back to start, then add only the specified delta
|
|
28
|
+
globalCount = start + (delta ?? count);
|
|
21
29
|
if (--refCount === 0) globalCount = 0;
|
|
22
30
|
return count;
|
|
23
31
|
},
|