@keystrokehq/recruitee 0.1.0 → 0.1.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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-candidate.cjs +4 -4
- package/dist/actions/create-candidate.cjs.map +1 -1
- package/dist/actions/create-candidate.d.cts +43 -3
- package/dist/actions/create-candidate.d.cts.map +1 -1
- package/dist/actions/create-candidate.d.mts +43 -3
- package/dist/actions/create-candidate.d.mts.map +1 -1
- package/dist/actions/create-candidate.mjs +4 -4
- package/dist/actions/create-candidate.mjs.map +1 -1
- package/dist/actions/create-note.cjs +3 -3
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +39 -3
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +39 -3
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +3 -3
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-offer.cjs +3 -3
- package/dist/actions/create-offer.cjs.map +1 -1
- package/dist/actions/create-offer.d.cts +96 -3
- package/dist/actions/create-offer.d.cts.map +1 -1
- package/dist/actions/create-offer.d.mts +96 -3
- package/dist/actions/create-offer.d.mts.map +1 -1
- package/dist/actions/create-offer.mjs +3 -3
- package/dist/actions/create-offer.mjs.map +1 -1
- package/dist/actions/delete-candidate.cjs.map +1 -1
- package/dist/actions/delete-candidate.d.cts +7 -3
- package/dist/actions/delete-candidate.d.cts.map +1 -1
- package/dist/actions/delete-candidate.d.mts +7 -3
- package/dist/actions/delete-candidate.d.mts.map +1 -1
- package/dist/actions/delete-candidate.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +7 -3
- package/dist/actions/delete-tag.d.cts.map +1 -1
- package/dist/actions/delete-tag.d.mts +7 -3
- package/dist/actions/delete-tag.d.mts.map +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/get-candidate.cjs +4 -4
- package/dist/actions/get-candidate.cjs.map +1 -1
- package/dist/actions/get-candidate.d.cts +30 -3
- package/dist/actions/get-candidate.d.cts.map +1 -1
- package/dist/actions/get-candidate.d.mts +30 -3
- package/dist/actions/get-candidate.d.mts.map +1 -1
- package/dist/actions/get-candidate.mjs +4 -4
- package/dist/actions/get-candidate.mjs.map +1 -1
- package/dist/actions/get-candidates.cjs +3 -3
- package/dist/actions/get-candidates.cjs.map +1 -1
- package/dist/actions/get-candidates.d.cts +48 -3
- package/dist/actions/get-candidates.d.cts.map +1 -1
- package/dist/actions/get-candidates.d.mts +48 -3
- package/dist/actions/get-candidates.d.mts.map +1 -1
- package/dist/actions/get-candidates.mjs +3 -3
- package/dist/actions/get-candidates.mjs.map +1 -1
- package/dist/actions/get-company-id.cjs +4 -4
- package/dist/actions/get-company-id.cjs.map +1 -1
- package/dist/actions/get-company-id.d.cts +10 -3
- package/dist/actions/get-company-id.d.cts.map +1 -1
- package/dist/actions/get-company-id.d.mts +10 -3
- package/dist/actions/get-company-id.d.mts.map +1 -1
- package/dist/actions/get-company-id.mjs +4 -4
- package/dist/actions/get-company-id.mjs.map +1 -1
- package/dist/actions/get-company-offer-public.cjs +3 -3
- package/dist/actions/get-company-offer-public.cjs.map +1 -1
- package/dist/actions/get-company-offer-public.d.cts +28 -3
- package/dist/actions/get-company-offer-public.d.cts.map +1 -1
- package/dist/actions/get-company-offer-public.d.mts +28 -3
- package/dist/actions/get-company-offer-public.d.mts.map +1 -1
- package/dist/actions/get-company-offer-public.mjs +3 -3
- package/dist/actions/get-company-offer-public.mjs.map +1 -1
- package/dist/actions/get-departments.cjs +3 -3
- package/dist/actions/get-departments.cjs.map +1 -1
- package/dist/actions/get-departments.d.cts +9 -3
- package/dist/actions/get-departments.d.cts.map +1 -1
- package/dist/actions/get-departments.d.mts +9 -3
- package/dist/actions/get-departments.d.mts.map +1 -1
- package/dist/actions/get-departments.mjs +3 -3
- package/dist/actions/get-departments.mjs.map +1 -1
- package/dist/actions/get-locations.cjs +8 -8
- package/dist/actions/get-locations.cjs.map +1 -1
- package/dist/actions/get-locations.d.cts +32 -3
- package/dist/actions/get-locations.d.cts.map +1 -1
- package/dist/actions/get-locations.d.mts +32 -3
- package/dist/actions/get-locations.d.mts.map +1 -1
- package/dist/actions/get-locations.mjs +8 -8
- package/dist/actions/get-locations.mjs.map +1 -1
- package/dist/actions/get-notes.cjs +9 -9
- package/dist/actions/get-notes.cjs.map +1 -1
- package/dist/actions/get-notes.d.cts +40 -3
- package/dist/actions/get-notes.d.cts.map +1 -1
- package/dist/actions/get-notes.d.mts +40 -3
- package/dist/actions/get-notes.d.mts.map +1 -1
- package/dist/actions/get-notes.mjs +9 -9
- package/dist/actions/get-notes.mjs.map +1 -1
- package/dist/actions/get-offers.cjs +4 -4
- package/dist/actions/get-offers.cjs.map +1 -1
- package/dist/actions/get-offers.d.cts +34 -3
- package/dist/actions/get-offers.d.cts.map +1 -1
- package/dist/actions/get-offers.d.mts +34 -3
- package/dist/actions/get-offers.d.mts.map +1 -1
- package/dist/actions/get-offers.mjs +4 -4
- package/dist/actions/get-offers.mjs.map +1 -1
- package/dist/actions/get-pipeline-stages.cjs +3 -3
- package/dist/actions/get-pipeline-stages.cjs.map +1 -1
- package/dist/actions/get-pipeline-stages.d.cts +16 -3
- package/dist/actions/get-pipeline-stages.d.cts.map +1 -1
- package/dist/actions/get-pipeline-stages.d.mts +16 -3
- package/dist/actions/get-pipeline-stages.d.mts.map +1 -1
- package/dist/actions/get-pipeline-stages.mjs +3 -3
- package/dist/actions/get-pipeline-stages.mjs.map +1 -1
- package/dist/actions/get-tags.cjs +4 -4
- package/dist/actions/get-tags.cjs.map +1 -1
- package/dist/actions/get-tags.d.cts +32 -3
- package/dist/actions/get-tags.d.cts.map +1 -1
- package/dist/actions/get-tags.d.mts +32 -3
- package/dist/actions/get-tags.d.mts.map +1 -1
- package/dist/actions/get-tags.mjs +4 -4
- package/dist/actions/get-tags.mjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.cjs.map +1 -1
- package/dist/actions/list-eeo-job-categories.d.cts +5 -3
- package/dist/actions/list-eeo-job-categories.d.cts.map +1 -1
- package/dist/actions/list-eeo-job-categories.d.mts +5 -3
- package/dist/actions/list-eeo-job-categories.d.mts.map +1 -1
- package/dist/actions/list-eeo-job-categories.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +21 -3
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +21 -3
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-localization-settings.cjs.map +1 -1
- package/dist/actions/list-localization-settings.d.cts +6 -3
- package/dist/actions/list-localization-settings.d.cts.map +1 -1
- package/dist/actions/list-localization-settings.d.mts +6 -3
- package/dist/actions/list-localization-settings.d.mts.map +1 -1
- package/dist/actions/list-localization-settings.mjs.map +1 -1
- package/dist/actions/list-share-countries.cjs +1 -1
- package/dist/actions/list-share-countries.cjs.map +1 -1
- package/dist/actions/list-share-countries.d.cts +10 -3
- package/dist/actions/list-share-countries.d.cts.map +1 -1
- package/dist/actions/list-share-countries.d.mts +10 -3
- package/dist/actions/list-share-countries.d.mts.map +1 -1
- package/dist/actions/list-share-countries.mjs +1 -1
- package/dist/actions/list-share-countries.mjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.cjs.map +1 -1
- package/dist/actions/list-share-eeo-answers.d.cts +10 -3
- package/dist/actions/list-share-eeo-answers.d.cts.map +1 -1
- package/dist/actions/list-share-eeo-answers.d.mts +10 -3
- package/dist/actions/list-share-eeo-answers.d.mts.map +1 -1
- package/dist/actions/list-share-eeo-answers.mjs.map +1 -1
- package/dist/actions/update-candidate.cjs +4 -4
- package/dist/actions/update-candidate.cjs.map +1 -1
- package/dist/actions/update-candidate.d.cts +52 -3
- package/dist/actions/update-candidate.d.cts.map +1 -1
- package/dist/actions/update-candidate.d.mts +52 -3
- package/dist/actions/update-candidate.d.mts.map +1 -1
- package/dist/actions/update-candidate.mjs +4 -4
- package/dist/actions/update-candidate.mjs.map +1 -1
- package/dist/actions/update-note.cjs +4 -4
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +27 -3
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +27 -3
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +4 -4
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-offer.cjs +9 -9
- package/dist/actions/update-offer.cjs.map +1 -1
- package/dist/actions/update-offer.d.cts +108 -3
- package/dist/actions/update-offer.d.cts.map +1 -1
- package/dist/actions/update-offer.d.mts +108 -3
- package/dist/actions/update-offer.d.mts.map +1 -1
- package/dist/actions/update-offer.mjs +9 -9
- package/dist/actions/update-offer.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,26 +6,26 @@ const RecruiteeGetLocations_LocationTranslationSchema = zod.z.object({
|
|
|
6
6
|
city: zod.z.string().describe("Translated city name.").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Translated location name.").nullable().optional(),
|
|
8
8
|
street: zod.z.string().describe("Translated street address.").nullable().optional(),
|
|
9
|
-
lang_code: zod.z.string().describe("Language code of the translation."),
|
|
9
|
+
lang_code: zod.z.string().describe("Language code of the translation.").nullable(),
|
|
10
10
|
state_code: zod.z.string().describe("Translated state code.").nullable().optional(),
|
|
11
11
|
state_name: zod.z.string().describe("Translated state name.").nullable().optional(),
|
|
12
12
|
postal_code: zod.z.string().describe("Translated postal code.").nullable().optional(),
|
|
13
13
|
full_address: zod.z.string().describe("Translated full address.").nullable().optional()
|
|
14
14
|
});
|
|
15
15
|
const RecruiteeGetLocations_LocationSchema = zod.z.object({
|
|
16
|
-
id: zod.z.number().int().describe("Unique location ID - used in job offers to refer to a correct location."),
|
|
17
|
-
city: zod.z.string().describe("City."),
|
|
18
|
-
name: zod.z.string().describe("Location name."),
|
|
16
|
+
id: zod.z.number().int().describe("Unique location ID - used in job offers to refer to a correct location.").nullable(),
|
|
17
|
+
city: zod.z.string().describe("City.").nullable(),
|
|
18
|
+
name: zod.z.string().describe("Location name.").nullable(),
|
|
19
19
|
street: zod.z.string().describe("Street address.").nullable().optional(),
|
|
20
|
-
lang_code: zod.z.string().describe("Default language code of the location."),
|
|
21
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp of creation."),
|
|
20
|
+
lang_code: zod.z.string().describe("Default language code of the location.").nullable(),
|
|
21
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp of creation.").nullable(),
|
|
22
22
|
state_code: zod.z.string().describe("State code.").nullable().optional(),
|
|
23
23
|
state_name: zod.z.string().describe("State name.").nullable().optional(),
|
|
24
24
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when last updated.").nullable().optional(),
|
|
25
25
|
archived_at: zod.z.string().describe("ISO 8601 timestamp when archived.").nullable().optional(),
|
|
26
26
|
postal_code: zod.z.string().describe("Postal code.").nullable().optional(),
|
|
27
|
-
country_code: zod.z.string().describe("ISO 3166 country code."),
|
|
28
|
-
full_address: zod.z.string().describe("One line full address (country, state, city, postal code, street)."),
|
|
27
|
+
country_code: zod.z.string().describe("ISO 3166 country code.").nullable(),
|
|
28
|
+
full_address: zod.z.string().describe("One line full address (country, state, city, postal code, street).").nullable(),
|
|
29
29
|
is_deletable: zod.z.boolean().default(true).describe("Indicates if the location can be deleted.").nullable().optional(),
|
|
30
30
|
translations: zod.z.array(RecruiteeGetLocations_LocationTranslationSchema).describe("List of objects containing translation fields and values.").nullable().optional(),
|
|
31
31
|
active_offers_count: zod.z.number().int().default(0).describe("Number of offers the location is assigned to.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.cjs","names":["z","action"],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput
|
|
1
|
+
{"version":3,"file":"get-locations.cjs","names":["z","action"],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput = z.object({}).describe(\"Request model for retrieving company locations. No parameters required.\");\nconst RecruiteeGetLocations_LocationTranslationSchema = z.object({\n city: z.string().describe(\"Translated city name.\").nullable().optional(),\n name: z.string().describe(\"Translated location name.\").nullable().optional(),\n street: z.string().describe(\"Translated street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Language code of the translation.\").nullable(),\n state_code: z.string().describe(\"Translated state code.\").nullable().optional(),\n state_name: z.string().describe(\"Translated state name.\").nullable().optional(),\n postal_code: z.string().describe(\"Translated postal code.\").nullable().optional(),\n full_address: z.string().describe(\"Translated full address.\").nullable().optional(),\n});\nconst RecruiteeGetLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique location ID - used in job offers to refer to a correct location.\").nullable(),\n city: z.string().describe(\"City.\").nullable(),\n name: z.string().describe(\"Location name.\").nullable(),\n street: z.string().describe(\"Street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Default language code of the location.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable(),\n state_code: z.string().describe(\"State code.\").nullable().optional(),\n state_name: z.string().describe(\"State name.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"ISO 8601 timestamp when archived.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code.\").nullable().optional(),\n country_code: z.string().describe(\"ISO 3166 country code.\").nullable(),\n full_address: z.string().describe(\"One line full address (country, state, city, postal code, street).\").nullable(),\n is_deletable: z.boolean().default(true).describe(\"Indicates if the location can be deleted.\").nullable().optional(),\n translations: z.array(RecruiteeGetLocations_LocationTranslationSchema).describe(\"List of objects containing translation fields and values.\").nullable().optional(),\n active_offers_count: z.number().int().default(0).describe(\"Number of offers the location is assigned to.\").nullable().optional(),\n active_requisitions_count: z.number().int().default(0).describe(\"Number of requisitions the location is assigned to.\").nullable().optional(),\n});\nexport const RecruiteeGetLocationsOutput = z.object({\n locations: z.array(RecruiteeGetLocations_LocationSchema).describe(\"List of company locations.\"),\n}).describe(\"Response model containing a list of company locations.\");\n\nexport const recruiteeGetLocations = action(\"RECRUITEE_GET_LOCATIONS\", {\n slug: \"recruitee-get-locations\",\n name: \"Get Locations\",\n description: \"Tool to retrieve a list of company locations. Use when you need to see all location options before assigning them to offers.\",\n input: RecruiteeGetLocationsInput,\n output: RecruiteeGetLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACzI,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B,EAChG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-locations.d.ts
|
|
4
|
-
declare const RecruiteeGetLocationsInput: z.
|
|
5
|
-
declare const RecruiteeGetLocationsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetLocationsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RecruiteeGetLocationsOutput: z.ZodObject<{
|
|
6
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
city: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
12
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
19
|
+
full_address: z.ZodNullable<z.ZodString>;
|
|
20
|
+
is_deletable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
21
|
+
translations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
26
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
full_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$strip>>>>;
|
|
31
|
+
active_offers_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
32
|
+
active_requisitions_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
declare const recruiteeGetLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { recruiteeGetLocations };
|
|
9
38
|
//# sourceMappingURL=get-locations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.d.cts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-locations.d.cts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-locations.d.ts
|
|
4
|
-
declare const RecruiteeGetLocationsInput: z.
|
|
5
|
-
declare const RecruiteeGetLocationsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetLocationsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RecruiteeGetLocationsOutput: z.ZodObject<{
|
|
6
|
+
locations: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
city: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
12
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
13
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
19
|
+
full_address: z.ZodNullable<z.ZodString>;
|
|
20
|
+
is_deletable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
21
|
+
translations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
lang_code: z.ZodNullable<z.ZodString>;
|
|
26
|
+
state_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
state_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
full_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$strip>>>>;
|
|
31
|
+
active_offers_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
32
|
+
active_requisitions_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
declare const recruiteeGetLocations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
36
|
//#endregion
|
|
8
37
|
export { recruiteeGetLocations };
|
|
9
38
|
//# sourceMappingURL=get-locations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.d.mts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-locations.d.mts","names":[],"sources":["../../src/actions/get-locations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cA8B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,26 +6,26 @@ const RecruiteeGetLocations_LocationTranslationSchema = z.object({
|
|
|
6
6
|
city: z.string().describe("Translated city name.").nullable().optional(),
|
|
7
7
|
name: z.string().describe("Translated location name.").nullable().optional(),
|
|
8
8
|
street: z.string().describe("Translated street address.").nullable().optional(),
|
|
9
|
-
lang_code: z.string().describe("Language code of the translation."),
|
|
9
|
+
lang_code: z.string().describe("Language code of the translation.").nullable(),
|
|
10
10
|
state_code: z.string().describe("Translated state code.").nullable().optional(),
|
|
11
11
|
state_name: z.string().describe("Translated state name.").nullable().optional(),
|
|
12
12
|
postal_code: z.string().describe("Translated postal code.").nullable().optional(),
|
|
13
13
|
full_address: z.string().describe("Translated full address.").nullable().optional()
|
|
14
14
|
});
|
|
15
15
|
const RecruiteeGetLocations_LocationSchema = z.object({
|
|
16
|
-
id: z.number().int().describe("Unique location ID - used in job offers to refer to a correct location."),
|
|
17
|
-
city: z.string().describe("City."),
|
|
18
|
-
name: z.string().describe("Location name."),
|
|
16
|
+
id: z.number().int().describe("Unique location ID - used in job offers to refer to a correct location.").nullable(),
|
|
17
|
+
city: z.string().describe("City.").nullable(),
|
|
18
|
+
name: z.string().describe("Location name.").nullable(),
|
|
19
19
|
street: z.string().describe("Street address.").nullable().optional(),
|
|
20
|
-
lang_code: z.string().describe("Default language code of the location."),
|
|
21
|
-
created_at: z.string().describe("ISO 8601 timestamp of creation."),
|
|
20
|
+
lang_code: z.string().describe("Default language code of the location.").nullable(),
|
|
21
|
+
created_at: z.string().describe("ISO 8601 timestamp of creation.").nullable(),
|
|
22
22
|
state_code: z.string().describe("State code.").nullable().optional(),
|
|
23
23
|
state_name: z.string().describe("State name.").nullable().optional(),
|
|
24
24
|
updated_at: z.string().describe("ISO 8601 timestamp when last updated.").nullable().optional(),
|
|
25
25
|
archived_at: z.string().describe("ISO 8601 timestamp when archived.").nullable().optional(),
|
|
26
26
|
postal_code: z.string().describe("Postal code.").nullable().optional(),
|
|
27
|
-
country_code: z.string().describe("ISO 3166 country code."),
|
|
28
|
-
full_address: z.string().describe("One line full address (country, state, city, postal code, street)."),
|
|
27
|
+
country_code: z.string().describe("ISO 3166 country code.").nullable(),
|
|
28
|
+
full_address: z.string().describe("One line full address (country, state, city, postal code, street).").nullable(),
|
|
29
29
|
is_deletable: z.boolean().default(true).describe("Indicates if the location can be deleted.").nullable().optional(),
|
|
30
30
|
translations: z.array(RecruiteeGetLocations_LocationTranslationSchema).describe("List of objects containing translation fields and values.").nullable().optional(),
|
|
31
31
|
active_offers_count: z.number().int().default(0).describe("Number of offers the location is assigned to.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locations.mjs","names":[],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput
|
|
1
|
+
{"version":3,"file":"get-locations.mjs","names":[],"sources":["../../src/actions/get-locations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetLocationsInput = z.object({}).describe(\"Request model for retrieving company locations. No parameters required.\");\nconst RecruiteeGetLocations_LocationTranslationSchema = z.object({\n city: z.string().describe(\"Translated city name.\").nullable().optional(),\n name: z.string().describe(\"Translated location name.\").nullable().optional(),\n street: z.string().describe(\"Translated street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Language code of the translation.\").nullable(),\n state_code: z.string().describe(\"Translated state code.\").nullable().optional(),\n state_name: z.string().describe(\"Translated state name.\").nullable().optional(),\n postal_code: z.string().describe(\"Translated postal code.\").nullable().optional(),\n full_address: z.string().describe(\"Translated full address.\").nullable().optional(),\n});\nconst RecruiteeGetLocations_LocationSchema = z.object({\n id: z.number().int().describe(\"Unique location ID - used in job offers to refer to a correct location.\").nullable(),\n city: z.string().describe(\"City.\").nullable(),\n name: z.string().describe(\"Location name.\").nullable(),\n street: z.string().describe(\"Street address.\").nullable().optional(),\n lang_code: z.string().describe(\"Default language code of the location.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable(),\n state_code: z.string().describe(\"State code.\").nullable().optional(),\n state_name: z.string().describe(\"State name.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"ISO 8601 timestamp when archived.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code.\").nullable().optional(),\n country_code: z.string().describe(\"ISO 3166 country code.\").nullable(),\n full_address: z.string().describe(\"One line full address (country, state, city, postal code, street).\").nullable(),\n is_deletable: z.boolean().default(true).describe(\"Indicates if the location can be deleted.\").nullable().optional(),\n translations: z.array(RecruiteeGetLocations_LocationTranslationSchema).describe(\"List of objects containing translation fields and values.\").nullable().optional(),\n active_offers_count: z.number().int().default(0).describe(\"Number of offers the location is assigned to.\").nullable().optional(),\n active_requisitions_count: z.number().int().default(0).describe(\"Number of requisitions the location is assigned to.\").nullable().optional(),\n});\nexport const RecruiteeGetLocationsOutput = z.object({\n locations: z.array(RecruiteeGetLocations_LocationSchema).describe(\"List of company locations.\"),\n}).describe(\"Response model containing a list of company locations.\");\n\nexport const recruiteeGetLocations = action(\"RECRUITEE_GET_LOCATIONS\", {\n slug: \"recruitee-get-locations\",\n name: \"Get Locations\",\n description: \"Tool to retrieve a list of company locations. Use when you need to see all location options before assigning them to offers.\",\n input: RecruiteeGetLocationsInput,\n output: RecruiteeGetLocationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACzI,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC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,SAAS;CAC/H,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC;AAKD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B,EAChG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -7,22 +7,22 @@ const RecruiteeGetNotesInput = zod.z.object({
|
|
|
7
7
|
candidate_id: zod.z.number().int().describe("Unique identifier of the candidate.")
|
|
8
8
|
}).describe("Request model for retrieving a list of notes for a specific candidate.");
|
|
9
9
|
const RecruiteeGetNotes_NoteAdminSchema = zod.z.object({
|
|
10
|
-
id: zod.z.number().int().describe("Unique identifier of the admin user."),
|
|
10
|
+
id: zod.z.number().int().describe("Unique identifier of the admin user.").nullable(),
|
|
11
11
|
email: zod.z.string().describe("Admin user's email address.").nullable().optional(),
|
|
12
12
|
last_name: zod.z.string().describe("Admin user's last name.").nullable().optional(),
|
|
13
13
|
first_name: zod.z.string().describe("Admin user's first name.").nullable().optional()
|
|
14
14
|
}).describe("Admin user object for a note.");
|
|
15
15
|
const RecruiteeGetNotes_NoteGuestSchema = zod.z.object({
|
|
16
|
-
id: zod.z.number().int().describe("Unique identifier of the guest user."),
|
|
16
|
+
id: zod.z.number().int().describe("Unique identifier of the guest user.").nullable(),
|
|
17
17
|
name: zod.z.string().describe("Guest user's name.").nullable().optional(),
|
|
18
18
|
email: zod.z.string().describe("Guest user's email address.").nullable().optional()
|
|
19
19
|
}).describe("Guest user object for a note.");
|
|
20
20
|
const RecruiteeGetNotes_NoteAttachmentSchema = zod.z.object({
|
|
21
|
-
id: zod.z.number().int().describe("Unique identifier of the attachment."),
|
|
22
|
-
url: zod.z.string().describe("Download URL of the attachment."),
|
|
23
|
-
filename: zod.z.string().describe("Name of the attachment file."),
|
|
24
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was created."),
|
|
25
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was last updated.")
|
|
21
|
+
id: zod.z.number().int().describe("Unique identifier of the attachment.").nullable(),
|
|
22
|
+
url: zod.z.string().describe("Download URL of the attachment.").nullable(),
|
|
23
|
+
filename: zod.z.string().describe("Name of the attachment file.").nullable(),
|
|
24
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was created.").nullable(),
|
|
25
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the attachment was last updated.").nullable()
|
|
26
26
|
}).describe("Attachment object for a note.");
|
|
27
27
|
const RecruiteeGetNotes_NoteSchema = zod.z.object({
|
|
28
28
|
admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),
|
|
@@ -31,8 +31,8 @@ const RecruiteeGetNotes_NoteSchema = zod.z.object({
|
|
|
31
31
|
guest_id: zod.z.number().int().describe("ID of the guest who created the note.").nullable().optional(),
|
|
32
32
|
body_json: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON representation of the note body.").nullable().optional(),
|
|
33
33
|
triggered: zod.z.boolean().describe("Whether the note was triggered by an event.").nullable().optional(),
|
|
34
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the note was created."),
|
|
35
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp when the note was last updated."),
|
|
34
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the note was created.").nullable(),
|
|
35
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
|
|
36
36
|
attachments: zod.z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe("List of attachments.").nullable().optional(),
|
|
37
37
|
reply_to_id: zod.z.number().int().describe("ID of the note this one replies to.").nullable().optional(),
|
|
38
38
|
candidate_id: zod.z.number().int().describe("ID of the associated candidate.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notes.cjs","names":["z","action"],"sources":["../../src/actions/get-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetNotesInput
|
|
1
|
+
{"version":3,"file":"get-notes.cjs","names":["z","action"],"sources":["../../src/actions/get-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetNotesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of notes to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of notes to skip.\").optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for retrieving a list of notes for a specific candidate.\");\nconst RecruiteeGetNotes_NoteAdminSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the admin user.\").nullable(),\n email: z.string().describe(\"Admin user's email address.\").nullable().optional(),\n last_name: z.string().describe(\"Admin user's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Admin user's first name.\").nullable().optional(),\n}).describe(\"Admin user object for a note.\");\nconst RecruiteeGetNotes_NoteGuestSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the guest user.\").nullable(),\n name: z.string().describe(\"Guest user's name.\").nullable().optional(),\n email: z.string().describe(\"Guest user's email address.\").nullable().optional(),\n}).describe(\"Guest user object for a note.\");\nconst RecruiteeGetNotes_NoteAttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Name of the attachment file.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the attachment was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the attachment was last updated.\").nullable(),\n}).describe(\"Attachment object for a note.\");\nconst RecruiteeGetNotes_NoteSchema = z.object({\n admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),\n guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created the note.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body.\").nullable().optional(),\n triggered: z.boolean().describe(\"Whether the note was triggered by an event.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\").nullable(),\n attachments: z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe(\"List of attachments.\").nullable().optional(),\n reply_to_id: z.number().int().describe(\"ID of the note this one replies to.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the associated candidate.\").nullable().optional(),\n}).describe(\"Note object.\");\nexport const RecruiteeGetNotesOutput = z.object({\n notes: z.array(RecruiteeGetNotes_NoteSchema).describe(\"List of note objects.\"),\n}).describe(\"Response model containing a list of notes for the candidate.\");\n\nexport const recruiteeGetNotes = action(\"RECRUITEE_GET_NOTES\", {\n slug: \"recruitee-get-notes\",\n name: \"Get Notes\",\n description: \"Tool to retrieve a list of notes for a specific candidate. Use after confirming the candidate exists when you need to review their notes.\",\n input: RecruiteeGetNotesInput,\n output: RecruiteeGetNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAA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A4B,CAAC,CAAC,SAAS,uBAAuB,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,46 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-notes.d.ts
|
|
4
|
-
declare const RecruiteeGetNotesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetNotesInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
candidate_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RecruiteeGetNotesOutput: z.ZodObject<{
|
|
10
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
11
|
+
admin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
guest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$strip>>>;
|
|
22
|
+
admin_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
guest_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
body_json: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
|
+
triggered: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
27
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
28
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
url: z.ZodNullable<z.ZodString>;
|
|
31
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
32
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>>>;
|
|
35
|
+
reply_to_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
declare const recruiteeGetNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
candidate_id: number;
|
|
41
|
+
limit?: number | undefined;
|
|
42
|
+
offset?: number | undefined;
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
44
|
//#endregion
|
|
8
45
|
export { recruiteeGetNotes };
|
|
9
46
|
//# sourceMappingURL=get-notes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notes.d.cts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-notes.d.cts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAoCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,46 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-notes.d.ts
|
|
4
|
-
declare const RecruiteeGetNotesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetNotesInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
candidate_id: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RecruiteeGetNotesOutput: z.ZodObject<{
|
|
10
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
11
|
+
admin: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
guest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$strip>>>;
|
|
22
|
+
admin_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
guest_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
body_json: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
|
+
triggered: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
27
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
28
|
+
attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
url: z.ZodNullable<z.ZodString>;
|
|
31
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
32
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>>>;
|
|
35
|
+
reply_to_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
candidate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
declare const recruiteeGetNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
|
+
candidate_id: number;
|
|
41
|
+
limit?: number | undefined;
|
|
42
|
+
offset?: number | undefined;
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
44
|
//#endregion
|
|
8
45
|
export { recruiteeGetNotes };
|
|
9
46
|
//# sourceMappingURL=get-notes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notes.d.mts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-notes.d.mts","names":[],"sources":["../../src/actions/get-notes.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAoCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -7,22 +7,22 @@ const RecruiteeGetNotesInput = z.object({
|
|
|
7
7
|
candidate_id: z.number().int().describe("Unique identifier of the candidate.")
|
|
8
8
|
}).describe("Request model for retrieving a list of notes for a specific candidate.");
|
|
9
9
|
const RecruiteeGetNotes_NoteAdminSchema = z.object({
|
|
10
|
-
id: z.number().int().describe("Unique identifier of the admin user."),
|
|
10
|
+
id: z.number().int().describe("Unique identifier of the admin user.").nullable(),
|
|
11
11
|
email: z.string().describe("Admin user's email address.").nullable().optional(),
|
|
12
12
|
last_name: z.string().describe("Admin user's last name.").nullable().optional(),
|
|
13
13
|
first_name: z.string().describe("Admin user's first name.").nullable().optional()
|
|
14
14
|
}).describe("Admin user object for a note.");
|
|
15
15
|
const RecruiteeGetNotes_NoteGuestSchema = z.object({
|
|
16
|
-
id: z.number().int().describe("Unique identifier of the guest user."),
|
|
16
|
+
id: z.number().int().describe("Unique identifier of the guest user.").nullable(),
|
|
17
17
|
name: z.string().describe("Guest user's name.").nullable().optional(),
|
|
18
18
|
email: z.string().describe("Guest user's email address.").nullable().optional()
|
|
19
19
|
}).describe("Guest user object for a note.");
|
|
20
20
|
const RecruiteeGetNotes_NoteAttachmentSchema = z.object({
|
|
21
|
-
id: z.number().int().describe("Unique identifier of the attachment."),
|
|
22
|
-
url: z.string().describe("Download URL of the attachment."),
|
|
23
|
-
filename: z.string().describe("Name of the attachment file."),
|
|
24
|
-
created_at: z.string().describe("ISO 8601 timestamp when the attachment was created."),
|
|
25
|
-
updated_at: z.string().describe("ISO 8601 timestamp when the attachment was last updated.")
|
|
21
|
+
id: z.number().int().describe("Unique identifier of the attachment.").nullable(),
|
|
22
|
+
url: z.string().describe("Download URL of the attachment.").nullable(),
|
|
23
|
+
filename: z.string().describe("Name of the attachment file.").nullable(),
|
|
24
|
+
created_at: z.string().describe("ISO 8601 timestamp when the attachment was created.").nullable(),
|
|
25
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the attachment was last updated.").nullable()
|
|
26
26
|
}).describe("Attachment object for a note.");
|
|
27
27
|
const RecruiteeGetNotes_NoteSchema = z.object({
|
|
28
28
|
admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),
|
|
@@ -31,8 +31,8 @@ const RecruiteeGetNotes_NoteSchema = z.object({
|
|
|
31
31
|
guest_id: z.number().int().describe("ID of the guest who created the note.").nullable().optional(),
|
|
32
32
|
body_json: z.record(z.string(), z.unknown()).describe("JSON representation of the note body.").nullable().optional(),
|
|
33
33
|
triggered: z.boolean().describe("Whether the note was triggered by an event.").nullable().optional(),
|
|
34
|
-
created_at: z.string().describe("ISO 8601 timestamp when the note was created."),
|
|
35
|
-
updated_at: z.string().describe("ISO 8601 timestamp when the note was last updated."),
|
|
34
|
+
created_at: z.string().describe("ISO 8601 timestamp when the note was created.").nullable(),
|
|
35
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the note was last updated.").nullable(),
|
|
36
36
|
attachments: z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe("List of attachments.").nullable().optional(),
|
|
37
37
|
reply_to_id: z.number().int().describe("ID of the note this one replies to.").nullable().optional(),
|
|
38
38
|
candidate_id: z.number().int().describe("ID of the associated candidate.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-notes.mjs","names":[],"sources":["../../src/actions/get-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetNotesInput
|
|
1
|
+
{"version":3,"file":"get-notes.mjs","names":[],"sources":["../../src/actions/get-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetNotesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of notes to return per page.\").optional(),\n offset: z.number().int().describe(\"Number of notes to skip.\").optional(),\n candidate_id: z.number().int().describe(\"Unique identifier of the candidate.\"),\n}).describe(\"Request model for retrieving a list of notes for a specific candidate.\");\nconst RecruiteeGetNotes_NoteAdminSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the admin user.\").nullable(),\n email: z.string().describe(\"Admin user's email address.\").nullable().optional(),\n last_name: z.string().describe(\"Admin user's last name.\").nullable().optional(),\n first_name: z.string().describe(\"Admin user's first name.\").nullable().optional(),\n}).describe(\"Admin user object for a note.\");\nconst RecruiteeGetNotes_NoteGuestSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the guest user.\").nullable(),\n name: z.string().describe(\"Guest user's name.\").nullable().optional(),\n email: z.string().describe(\"Guest user's email address.\").nullable().optional(),\n}).describe(\"Guest user object for a note.\");\nconst RecruiteeGetNotes_NoteAttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the attachment.\").nullable(),\n url: z.string().describe(\"Download URL of the attachment.\").nullable(),\n filename: z.string().describe(\"Name of the attachment file.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the attachment was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the attachment was last updated.\").nullable(),\n}).describe(\"Attachment object for a note.\");\nconst RecruiteeGetNotes_NoteSchema = z.object({\n admin: RecruiteeGetNotes_NoteAdminSchema.nullable().optional(),\n guest: RecruiteeGetNotes_NoteGuestSchema.nullable().optional(),\n admin_id: z.number().int().describe(\"ID of the admin who created the note.\").nullable().optional(),\n guest_id: z.number().int().describe(\"ID of the guest who created the note.\").nullable().optional(),\n body_json: z.record(z.string(), z.unknown()).describe(\"JSON representation of the note body.\").nullable().optional(),\n triggered: z.boolean().describe(\"Whether the note was triggered by an event.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the note was last updated.\").nullable(),\n attachments: z.array(RecruiteeGetNotes_NoteAttachmentSchema).describe(\"List of attachments.\").nullable().optional(),\n reply_to_id: z.number().int().describe(\"ID of the note this one replies to.\").nullable().optional(),\n candidate_id: z.number().int().describe(\"ID of the associated candidate.\").nullable().optional(),\n}).describe(\"Note object.\");\nexport const RecruiteeGetNotesOutput = z.object({\n notes: z.array(RecruiteeGetNotes_NoteSchema).describe(\"List of note objects.\"),\n}).describe(\"Response model containing a list of notes for the candidate.\");\n\nexport const recruiteeGetNotes = action(\"RECRUITEE_GET_NOTES\", {\n slug: \"recruitee-get-notes\",\n name: \"Get Notes\",\n description: \"Tool to retrieve a list of notes for a specific candidate. Use after confirming the candidate exists when you need to review their notes.\",\n input: RecruiteeGetNotesInput,\n output: RecruiteeGetNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SA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sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,cAAc;AAK1B,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uBAAuB,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -8,17 +8,17 @@ const RecruiteeGetOffersInput = zod.z.object({
|
|
|
8
8
|
company_id: zod.z.union([zod.z.number().int(), zod.z.string()]).optional()
|
|
9
9
|
}).describe("Query parameters for listing job offers. Use filters and pagination to narrow results.");
|
|
10
10
|
const RecruiteeGetOffers_OfferSchema = zod.z.object({
|
|
11
|
-
id: zod.z.number().int().describe("Unique identifier of the offer."),
|
|
12
|
-
kind: zod.z.enum(["job", "talent_pool"]).describe("Type of the offer ('job' or 'talent_pool')."),
|
|
11
|
+
id: zod.z.number().int().describe("Unique identifier of the offer.").nullable(),
|
|
12
|
+
kind: zod.z.enum(["job", "talent_pool"]).describe("Type of the offer ('job' or 'talent_pool').").nullable(),
|
|
13
13
|
slug: zod.z.string().describe("URL-friendly slug of the offer title.").nullable().optional(),
|
|
14
|
-
title: zod.z.string().describe("Title of the job offer."),
|
|
14
|
+
title: zod.z.string().describe("Title of the job offer.").nullable(),
|
|
15
15
|
status: zod.z.enum([
|
|
16
16
|
"draft",
|
|
17
17
|
"internal",
|
|
18
18
|
"published",
|
|
19
19
|
"closed",
|
|
20
20
|
"archived"
|
|
21
|
-
]).describe("Current status of the offer."),
|
|
21
|
+
]).describe("Current status of the offer.").nullable(),
|
|
22
22
|
location: zod.z.string().describe("Location of the job offer, if provided.").nullable().optional(),
|
|
23
23
|
created_at: zod.z.string().describe("ISO 8601 timestamp when the offer was created.").nullable().optional(),
|
|
24
24
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when the offer was last updated.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-offers.cjs","names":["z","action"],"sources":["../../src/actions/get-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetOffersInput
|
|
1
|
+
{"version":3,"file":"get-offers.cjs","names":["z","action"],"sources":["../../src/actions/get-offers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RecruiteeGetOffersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of offers to return (1-100).\").optional(),\n query: z.string().describe(\"Search term to filter job offers.\").optional(),\n offset: z.number().int().describe(\"Number of offers to skip (for pagination).\").optional(),\n company_id: z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Query parameters for listing job offers. Use filters and pagination to narrow results.\");\nconst RecruiteeGetOffers_OfferSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the offer.\").nullable(),\n kind: z.enum([\"job\", \"talent_pool\"]).describe(\"Type of the offer ('job' or 'talent_pool').\").nullable(),\n slug: z.string().describe(\"URL-friendly slug of the offer title.\").nullable().optional(),\n title: z.string().describe(\"Title of the job offer.\").nullable(),\n status: z.enum([\"draft\", \"internal\", \"published\", \"closed\", \"archived\"]).describe(\"Current status of the offer.\").nullable(),\n location: z.string().describe(\"Location of the job offer, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the offer was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the offer was last updated.\").nullable().optional(),\n}).describe(\"A single job offer.\");\nexport const RecruiteeGetOffersOutput = z.object({\n total: z.number().int().describe(\"Total number of offers available.\").nullable().optional(),\n offers: z.array(RecruiteeGetOffers_OfferSchema).describe(\"List of job offers.\"),\n}).describe(\"Response model containing a list of job offers and total count.\");\n\nexport const recruiteeGetOffers = action(\"RECRUITEE_GET_OFFERS\", {\n slug: \"recruitee-get-offers\",\n name: \"Get Offers\",\n description: \"Tool to retrieve a list of all job offers. Use after authentication to browse or paginate your company's complete set of offers.\",\n input: RecruiteeGetOffersInput,\n output: RecruiteeGetOffersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;EAAa;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACjC,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,qBAAqB;AAChF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-offers.d.ts
|
|
4
|
-
declare const RecruiteeGetOffersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RecruiteeGetOffersInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
query: z.ZodOptional<z.ZodString>;
|
|
7
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
company_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RecruiteeGetOffersOutput: z.ZodObject<{
|
|
11
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
offers: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
15
|
+
job: "job";
|
|
16
|
+
talent_pool: "talent_pool";
|
|
17
|
+
}>>;
|
|
18
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
title: z.ZodNullable<z.ZodString>;
|
|
20
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
draft: "draft";
|
|
22
|
+
internal: "internal";
|
|
23
|
+
published: "published";
|
|
24
|
+
closed: "closed";
|
|
25
|
+
archived: "archived";
|
|
26
|
+
}>>;
|
|
27
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const recruiteeGetOffers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
|
+
limit?: number | undefined;
|
|
34
|
+
query?: string | undefined;
|
|
35
|
+
offset?: number | undefined;
|
|
36
|
+
company_id?: string | number | undefined;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { recruiteeGetOffers };
|
|
9
40
|
//# sourceMappingURL=get-offers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-offers.d.cts","names":[],"sources":["../../src/actions/get-offers.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-offers.d.cts","names":[],"sources":["../../src/actions/get-offers.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|