Skip to content

Commit be2da88

Browse files
authored
chore: remove prebuild running tests (#46)
* remove prebuild running tests * added messaging and screening
1 parent e968a50 commit be2da88

File tree

16 files changed

+17080
-3847
lines changed

16 files changed

+17080
-3847
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"prebuild": "rimraf dist",
1717
"build": "bun build ./src/index.ts --outdir ./dist --target node && tsc --emitDeclarationOnly",
1818
"rebuild": "bun run fetch:specs && bun run build",
19-
"prepublishOnly": "bun run rebuild && bun run test",
19+
"prepublishOnly": "bun run rebuild",
2020
"test": "bun test",
2121
"fetch:specs": "bun run ./scripts/fetch-specs.ts && bun run format",
2222
"build:docs": "bun run ./scripts/build-docs.ts",

src/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export const SPECS = [
66
'documents',
77
'marketing',
88
'ticketing',
9+
'screening',
10+
'messaging',
911
'iam',
1012
'lms',
1113
];

src/openapi/generated/ats.ts

Lines changed: 62 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4050,6 +4050,17 @@ export const atsSpec = {
40504050
type: 'string',
40514051
},
40524052
},
4053+
{
4054+
name: 'export_format',
4055+
required: false,
4056+
in: 'query',
4057+
description: 'The export format of the file',
4058+
schema: {
4059+
nullable: true,
4060+
example: 'text/plain',
4061+
type: 'string',
4062+
},
4063+
},
40534064
],
40544065
responses: {
40554066
'200': {
@@ -12617,7 +12628,7 @@ export const atsSpec = {
1261712628
schema: {
1261812629
nullable: true,
1261912630
example:
12620-
'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',
12631+
'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',
1262112632
type: 'string',
1262212633
},
1262312634
},
@@ -12941,7 +12952,7 @@ export const atsSpec = {
1294112952
schema: {
1294212953
nullable: true,
1294312954
example:
12944-
'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',
12955+
'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',
1294512956
type: 'string',
1294612957
},
1294712958
},
@@ -17354,6 +17365,9 @@ export const atsSpec = {
1735417365
'number',
1735517366
'date',
1735617367
'video',
17368+
'reference_check',
17369+
'url',
17370+
'unmapped_value',
1735717371
null,
1735817372
],
1735917373
description: 'The type of the answer.',
@@ -18062,6 +18076,7 @@ export const atsSpec = {
1806218076
'company_overview',
1806318077
'description',
1806418078
'other',
18079+
'unmapped_value',
1806518080
null,
1806618081
],
1806718082
description: 'The type of the description.',
@@ -18538,7 +18553,7 @@ export const atsSpec = {
1853818553
confidential: {
1853918554
type: 'string',
1854018555
description: 'Confidential status of the job',
18541-
enum: ['true', 'false', null],
18556+
enum: ['true', 'false', 'unmapped_value', null],
1854218557
'x-speakeasy-unknown-values': 'allow',
1854318558
nullable: true,
1854418559
},
@@ -19394,7 +19409,7 @@ export const atsSpec = {
1939419409
confidential: {
1939519410
type: 'string',
1939619411
description: 'Confidential status of the job',
19397-
enum: ['true', 'false', null],
19412+
enum: ['true', 'false', 'unmapped_value', null],
1939819413
'x-speakeasy-unknown-values': 'allow',
1939919414
nullable: true,
1940019415
},
@@ -20113,7 +20128,7 @@ export const atsSpec = {
2011320128
properties: {
2011420129
value: {
2011520130
type: 'string',
20116-
enum: ['equals_to', 'contains', null],
20131+
enum: ['equals_to', 'contains', 'unmapped_value', null],
2011720132
description: "The type of the question's condition",
2011820133
example: 'equals_to',
2011920134
'x-speakeasy-unknown-values': 'allow',
@@ -20150,7 +20165,7 @@ export const atsSpec = {
2015020165
value: {
2015120166
type: 'string',
2015220167
description: 'Whether the file is confidential or not',
20153-
enum: ['true', 'false', null],
20168+
enum: ['true', 'false', 'unmapped_value', null],
2015420169
example: 'true',
2015520170
'x-speakeasy-unknown-values': 'allow',
2015620171
nullable: true,
@@ -20679,6 +20694,7 @@ export const atsSpec = {
2067920694
'multi_select',
2068020695
'url',
2068120696
'other',
20697+
'unmapped_value',
2068220698
null,
2068320699
],
2068420700
'x-speakeasy-unknown-values': 'allow',
@@ -22234,7 +22250,7 @@ export const atsSpec = {
2223422250
items: {},
2223522251
},
2223622252
],
22237-
example: 'abc',
22253+
example: 'application/pdf',
2223822254
nullable: true,
2223922255
},
2224022256
},
@@ -22880,7 +22896,7 @@ export const atsSpec = {
2288022896
confidential: {
2288122897
type: 'string',
2288222898
description: 'Confidential status of the job',
22883-
enum: ['true', 'false', null],
22899+
enum: ['true', 'false', 'unmapped_value', null],
2288422900
'x-speakeasy-unknown-values': 'allow',
2288522901
nullable: true,
2288622902
},
@@ -22998,7 +23014,7 @@ export const atsSpec = {
2299823014
},
2299923015
internal: {
2300023016
type: 'string',
23001-
enum: ['true', 'false', null],
23017+
enum: ['true', 'false', 'unmapped_value', null],
2300223018
example: 'true',
2300323019
'x-speakeasy-unknown-values': 'allow',
2300423020
nullable: true,
@@ -23281,6 +23297,13 @@ export const atsSpec = {
2328123297
$ref: '#/components/schemas/JobPostingQuestionnaire',
2328223298
},
2328323299
},
23300+
start_date: {
23301+
type: 'string',
23302+
description: 'The posting start date',
23303+
example: '2021-01-01T00:00:00.000Z',
23304+
format: 'date-time',
23305+
nullable: true,
23306+
},
2328423307
created_at: {
2328523308
type: 'string',
2328623309
description: 'Date of creation',
@@ -23961,7 +23984,7 @@ export const atsSpec = {
2396123984
properties: {
2396223985
value: {
2396323986
type: 'string',
23964-
enum: ['private', 'public', null],
23987+
enum: ['private', 'public', 'unmapped_value', null],
2396523988
description: 'The visibility of the notes.',
2396623989
example: 'public',
2396723990
'x-speakeasy-unknown-values': 'allow',
@@ -24662,7 +24685,16 @@ export const atsSpec = {
2466224685
type: {
2466324686
type: 'string',
2466424687
description: 'Type of phone number',
24665-
enum: ['personal', 'work', 'mobile', 'home', 'unknown', 'other', null],
24688+
enum: [
24689+
'personal',
24690+
'work',
24691+
'mobile',
24692+
'home',
24693+
'unknown',
24694+
'other',
24695+
'unmapped_value',
24696+
null,
24697+
],
2466624698
'x-speakeasy-unknown-values': 'allow',
2466724699
nullable: true,
2466824700
},
@@ -24879,6 +24911,9 @@ export const atsSpec = {
2487924911
'number',
2488024912
'date',
2488124913
'video',
24914+
'reference_check',
24915+
'url',
24916+
'unmapped_value',
2488224917
null,
2488324918
],
2488424919
description: 'The type of the questions.',
@@ -24928,10 +24963,6 @@ export const atsSpec = {
2492824963
{
2492924964
type: 'object',
2493024965
},
24931-
{
24932-
type: 'string',
24933-
format: 'binary',
24934-
},
2493524966
{
2493624967
type: 'array',
2493724968
items: {
@@ -24941,17 +24972,24 @@ export const atsSpec = {
2494124972
maximum: 255,
2494224973
},
2494324974
},
24944-
{
24945-
type: 'string',
24946-
format: 'byte',
24947-
},
2494824975
],
2494924976
additionalProperties: true,
2495024977
nullable: true,
2495124978
},
2495224979
response: {
24953-
type: 'object',
24954-
additionalProperties: true,
24980+
oneOf: [
24981+
{
24982+
type: 'object',
24983+
additionalProperties: true,
24984+
},
24985+
{
24986+
type: 'array',
24987+
items: {},
24988+
},
24989+
{
24990+
type: 'string',
24991+
},
24992+
],
2495524993
nullable: true,
2495624994
},
2495724995
},
@@ -25164,7 +25202,7 @@ export const atsSpec = {
2516425202
properties: {
2516525203
value: {
2516625204
type: 'string',
25167-
enum: ['cancelled', 'completed', 'expired', 'failed', 'passed', null],
25205+
enum: ['cancelled', 'completed', 'expired', 'failed', 'passed', 'unmapped_value', null],
2516825206
description: 'The result of the test.',
2516925207
example: 'passed',
2517025208
'x-speakeasy-unknown-values': 'allow',
@@ -25491,14 +25529,14 @@ export const atsSpec = {
2549125529
created_at: {
2549225530
type: 'string',
2549325531
description: 'The creation date of the scorecard',
25494-
example: '2021-01-01T00:00.000Z',
25532+
example: '2021-01-01T00:00:00.000Z',
2549525533
format: 'date-time',
2549625534
nullable: true,
2549725535
},
2549825536
updated_at: {
2549925537
type: 'string',
2550025538
description: 'The update date of the scorecard',
25501-
example: '2021-01-01T00:00.000Z',
25539+
example: '2021-01-01T00:00:00.000Z',
2550225540
format: 'date-time',
2550325541
nullable: true,
2550425542
},

src/openapi/generated/crm.ts

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3182,6 +3182,7 @@ export const crmSpec = {
31823182
'YE',
31833183
'ZM',
31843184
'ZW',
3185+
'unmapped_value',
31853186
null,
31863187
],
31873188
description: 'The ISO 3166-1 alpha-2 code of the country.',
@@ -3470,6 +3471,7 @@ export const crmSpec = {
34703471
'multi_select',
34713472
'url',
34723473
'other',
3474+
'unmapped_value',
34733475
null,
34743476
],
34753477
'x-speakeasy-unknown-values': 'allow',
@@ -3853,10 +3855,6 @@ export const crmSpec = {
38533855
{
38543856
type: 'object',
38553857
},
3856-
{
3857-
type: 'string',
3858-
format: 'binary',
3859-
},
38603858
{
38613859
type: 'array',
38623860
items: {
@@ -3866,17 +3864,24 @@ export const crmSpec = {
38663864
maximum: 255,
38673865
},
38683866
},
3869-
{
3870-
type: 'string',
3871-
format: 'byte',
3872-
},
38733867
],
38743868
additionalProperties: true,
38753869
nullable: true,
38763870
},
38773871
response: {
3878-
type: 'object',
3879-
additionalProperties: true,
3872+
oneOf: [
3873+
{
3874+
type: 'object',
3875+
additionalProperties: true,
3876+
},
3877+
{
3878+
type: 'array',
3879+
items: {},
3880+
},
3881+
{
3882+
type: 'string',
3883+
},
3884+
],
38803885
nullable: true,
38813886
},
38823887
},

0 commit comments

Comments
 (0)