Skip to content

chore: remove prebuild running tests #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"prebuild": "rimraf dist",
"build": "bun build ./src/index.ts --outdir ./dist --target node && tsc --emitDeclarationOnly",
"rebuild": "bun run fetch:specs && bun run build",
"prepublishOnly": "bun run rebuild && bun run test",
"prepublishOnly": "bun run rebuild",
"test": "bun test",
"fetch:specs": "bun run ./scripts/fetch-specs.ts && bun run format",
"build:docs": "bun run ./scripts/build-docs.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export const SPECS = [
'documents',
'marketing',
'ticketing',
'screening',
'messaging',
'iam',
'lms',
];
86 changes: 62 additions & 24 deletions src/openapi/generated/ats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4050,6 +4050,17 @@ export const atsSpec = {
type: 'string',
},
},
{
name: 'export_format',
required: false,
in: 'query',
description: 'The export format of the file',
schema: {
nullable: true,
example: 'text/plain',
type: 'string',
},
},
],
responses: {
'200': {
Expand Down Expand Up @@ -12617,7 +12628,7 @@ export const atsSpec = {
schema: {
nullable: true,
example:
'id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at',
'id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,start_date,updated_at,created_at',
type: 'string',
},
},
Expand Down Expand Up @@ -12941,7 +12952,7 @@ export const atsSpec = {
schema: {
nullable: true,
example:
'id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at',
'id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,start_date,updated_at,created_at',
type: 'string',
},
},
Expand Down Expand Up @@ -17354,6 +17365,9 @@ export const atsSpec = {
'number',
'date',
'video',
'reference_check',
'url',
'unmapped_value',
null,
],
description: 'The type of the answer.',
Expand Down Expand Up @@ -18062,6 +18076,7 @@ export const atsSpec = {
'company_overview',
'description',
'other',
'unmapped_value',
null,
],
description: 'The type of the description.',
Expand Down Expand Up @@ -18538,7 +18553,7 @@ export const atsSpec = {
confidential: {
type: 'string',
description: 'Confidential status of the job',
enum: ['true', 'false', null],
enum: ['true', 'false', 'unmapped_value', null],
'x-speakeasy-unknown-values': 'allow',
nullable: true,
},
Expand Down Expand Up @@ -19394,7 +19409,7 @@ export const atsSpec = {
confidential: {
type: 'string',
description: 'Confidential status of the job',
enum: ['true', 'false', null],
enum: ['true', 'false', 'unmapped_value', null],
'x-speakeasy-unknown-values': 'allow',
nullable: true,
},
Expand Down Expand Up @@ -20113,7 +20128,7 @@ export const atsSpec = {
properties: {
value: {
type: 'string',
enum: ['equals_to', 'contains', null],
enum: ['equals_to', 'contains', 'unmapped_value', null],
description: "The type of the question's condition",
example: 'equals_to',
'x-speakeasy-unknown-values': 'allow',
Expand Down Expand Up @@ -20150,7 +20165,7 @@ export const atsSpec = {
value: {
type: 'string',
description: 'Whether the file is confidential or not',
enum: ['true', 'false', null],
enum: ['true', 'false', 'unmapped_value', null],
example: 'true',
'x-speakeasy-unknown-values': 'allow',
nullable: true,
Expand Down Expand Up @@ -20679,6 +20694,7 @@ export const atsSpec = {
'multi_select',
'url',
'other',
'unmapped_value',
null,
],
'x-speakeasy-unknown-values': 'allow',
Expand Down Expand Up @@ -22234,7 +22250,7 @@ export const atsSpec = {
items: {},
},
],
example: 'abc',
example: 'application/pdf',
nullable: true,
},
},
Expand Down Expand Up @@ -22880,7 +22896,7 @@ export const atsSpec = {
confidential: {
type: 'string',
description: 'Confidential status of the job',
enum: ['true', 'false', null],
enum: ['true', 'false', 'unmapped_value', null],
'x-speakeasy-unknown-values': 'allow',
nullable: true,
},
Expand Down Expand Up @@ -22998,7 +23014,7 @@ export const atsSpec = {
},
internal: {
type: 'string',
enum: ['true', 'false', null],
enum: ['true', 'false', 'unmapped_value', null],
example: 'true',
'x-speakeasy-unknown-values': 'allow',
nullable: true,
Expand Down Expand Up @@ -23281,6 +23297,13 @@ export const atsSpec = {
$ref: '#/components/schemas/JobPostingQuestionnaire',
},
},
start_date: {
type: 'string',
description: 'The posting start date',
example: '2021-01-01T00:00:00.000Z',
format: 'date-time',
nullable: true,
},
created_at: {
type: 'string',
description: 'Date of creation',
Expand Down Expand Up @@ -23961,7 +23984,7 @@ export const atsSpec = {
properties: {
value: {
type: 'string',
enum: ['private', 'public', null],
enum: ['private', 'public', 'unmapped_value', null],
description: 'The visibility of the notes.',
example: 'public',
'x-speakeasy-unknown-values': 'allow',
Expand Down Expand Up @@ -24662,7 +24685,16 @@ export const atsSpec = {
type: {
type: 'string',
description: 'Type of phone number',
enum: ['personal', 'work', 'mobile', 'home', 'unknown', 'other', null],
enum: [
'personal',
'work',
'mobile',
'home',
'unknown',
'other',
'unmapped_value',
null,
],
'x-speakeasy-unknown-values': 'allow',
nullable: true,
},
Expand Down Expand Up @@ -24879,6 +24911,9 @@ export const atsSpec = {
'number',
'date',
'video',
'reference_check',
'url',
'unmapped_value',
null,
],
description: 'The type of the questions.',
Expand Down Expand Up @@ -24928,10 +24963,6 @@ export const atsSpec = {
{
type: 'object',
},
{
type: 'string',
format: 'binary',
},
{
type: 'array',
items: {
Expand All @@ -24941,17 +24972,24 @@ export const atsSpec = {
maximum: 255,
},
},
{
type: 'string',
format: 'byte',
},
],
additionalProperties: true,
nullable: true,
},
response: {
type: 'object',
additionalProperties: true,
oneOf: [
{
type: 'object',
additionalProperties: true,
},
{
type: 'array',
items: {},
},
{
type: 'string',
},
],
nullable: true,
},
},
Expand Down Expand Up @@ -25164,7 +25202,7 @@ export const atsSpec = {
properties: {
value: {
type: 'string',
enum: ['cancelled', 'completed', 'expired', 'failed', 'passed', null],
enum: ['cancelled', 'completed', 'expired', 'failed', 'passed', 'unmapped_value', null],
description: 'The result of the test.',
example: 'passed',
'x-speakeasy-unknown-values': 'allow',
Expand Down Expand Up @@ -25491,14 +25529,14 @@ export const atsSpec = {
created_at: {
type: 'string',
description: 'The creation date of the scorecard',
example: '2021-01-01T00:00.000Z',
example: '2021-01-01T00:00:00.000Z',
format: 'date-time',
nullable: true,
},
updated_at: {
type: 'string',
description: 'The update date of the scorecard',
example: '2021-01-01T00:00.000Z',
example: '2021-01-01T00:00:00.000Z',
format: 'date-time',
nullable: true,
},
Expand Down
25 changes: 15 additions & 10 deletions src/openapi/generated/crm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3182,6 +3182,7 @@ export const crmSpec = {
'YE',
'ZM',
'ZW',
'unmapped_value',
null,
],
description: 'The ISO 3166-1 alpha-2 code of the country.',
Expand Down Expand Up @@ -3470,6 +3471,7 @@ export const crmSpec = {
'multi_select',
'url',
'other',
'unmapped_value',
null,
],
'x-speakeasy-unknown-values': 'allow',
Expand Down Expand Up @@ -3853,10 +3855,6 @@ export const crmSpec = {
{
type: 'object',
},
{
type: 'string',
format: 'binary',
},
{
type: 'array',
items: {
Expand All @@ -3866,17 +3864,24 @@ export const crmSpec = {
maximum: 255,
},
},
{
type: 'string',
format: 'byte',
},
],
additionalProperties: true,
nullable: true,
},
response: {
type: 'object',
additionalProperties: true,
oneOf: [
{
type: 'object',
additionalProperties: true,
},
{
type: 'array',
items: {},
},
{
type: 'string',
},
],
nullable: true,
},
},
Expand Down
Loading