@axivoy/api 2.23.0 → 2.25.0
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/generated/schema.d.ts +401 -1
- package/package.json +1 -1
|
@@ -12961,6 +12961,28 @@ export interface paths {
|
|
|
12961
12961
|
patch?: never;
|
|
12962
12962
|
trace?: never;
|
|
12963
12963
|
};
|
|
12964
|
+
"/ops/recruiting.advertising.advertise.creatives.add_video": {
|
|
12965
|
+
parameters: {
|
|
12966
|
+
query?: never;
|
|
12967
|
+
header?: never;
|
|
12968
|
+
path?: never;
|
|
12969
|
+
cookie?: never;
|
|
12970
|
+
};
|
|
12971
|
+
get?: never;
|
|
12972
|
+
put?: never;
|
|
12973
|
+
/**
|
|
12974
|
+
* Add another video to a campaign draft
|
|
12975
|
+
* @description Writes one more video for a campaign draft that is waiting for approval, from a description of the video when one is given.
|
|
12976
|
+
*
|
|
12977
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
12978
|
+
*/
|
|
12979
|
+
post: operations["ops.recruiting.advertising.advertise.creatives.add_video"];
|
|
12980
|
+
delete?: never;
|
|
12981
|
+
options?: never;
|
|
12982
|
+
head?: never;
|
|
12983
|
+
patch?: never;
|
|
12984
|
+
trace?: never;
|
|
12985
|
+
};
|
|
12964
12986
|
"/ops/recruiting.advertising.advertise.creatives.approve_script": {
|
|
12965
12987
|
parameters: {
|
|
12966
12988
|
query?: never;
|
|
@@ -12972,7 +12994,7 @@ export interface paths {
|
|
|
12972
12994
|
put?: never;
|
|
12973
12995
|
/**
|
|
12974
12996
|
* Make a draft video
|
|
12975
|
-
* @description Approves a draft video
|
|
12997
|
+
* @description Approves a draft video (its script, when it has one) and starts making it, within the video cost cap.
|
|
12976
12998
|
*
|
|
12977
12999
|
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
12978
13000
|
*/
|
|
@@ -13115,6 +13137,28 @@ export interface paths {
|
|
|
13115
13137
|
patch?: never;
|
|
13116
13138
|
trace?: never;
|
|
13117
13139
|
};
|
|
13140
|
+
"/ops/recruiting.advertising.advertise.creatives.retry_script": {
|
|
13141
|
+
parameters: {
|
|
13142
|
+
query?: never;
|
|
13143
|
+
header?: never;
|
|
13144
|
+
path?: never;
|
|
13145
|
+
cookie?: never;
|
|
13146
|
+
};
|
|
13147
|
+
get?: never;
|
|
13148
|
+
put?: never;
|
|
13149
|
+
/**
|
|
13150
|
+
* Try writing a failed video script again
|
|
13151
|
+
* @description Writes the openings and script again for a draft video whose script could not be written.
|
|
13152
|
+
*
|
|
13153
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
13154
|
+
*/
|
|
13155
|
+
post: operations["ops.recruiting.advertising.advertise.creatives.retry_script"];
|
|
13156
|
+
delete?: never;
|
|
13157
|
+
options?: never;
|
|
13158
|
+
head?: never;
|
|
13159
|
+
patch?: never;
|
|
13160
|
+
trace?: never;
|
|
13161
|
+
};
|
|
13118
13162
|
"/ops/recruiting.advertising.advertise.creatives.storyboard": {
|
|
13119
13163
|
parameters: {
|
|
13120
13164
|
query?: never;
|
|
@@ -14127,6 +14171,28 @@ export interface paths {
|
|
|
14127
14171
|
patch?: never;
|
|
14128
14172
|
trace?: never;
|
|
14129
14173
|
};
|
|
14174
|
+
"/ops/recruiting.candidates.reopen": {
|
|
14175
|
+
parameters: {
|
|
14176
|
+
query?: never;
|
|
14177
|
+
header?: never;
|
|
14178
|
+
path?: never;
|
|
14179
|
+
cookie?: never;
|
|
14180
|
+
};
|
|
14181
|
+
get?: never;
|
|
14182
|
+
put?: never;
|
|
14183
|
+
/**
|
|
14184
|
+
* Reopen a rejected candidate
|
|
14185
|
+
* @description Takes back a rejection and returns the candidate to the stage they were rejected from, with a reason. Sends nothing to the candidate.
|
|
14186
|
+
*
|
|
14187
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
14188
|
+
*/
|
|
14189
|
+
post: operations["ops.recruiting.candidates.reopen"];
|
|
14190
|
+
delete?: never;
|
|
14191
|
+
options?: never;
|
|
14192
|
+
head?: never;
|
|
14193
|
+
patch?: never;
|
|
14194
|
+
trace?: never;
|
|
14195
|
+
};
|
|
14130
14196
|
"/ops/recruiting.candidates.resume_extractions.approve": {
|
|
14131
14197
|
parameters: {
|
|
14132
14198
|
query?: never;
|
|
@@ -117262,6 +117328,113 @@ export interface operations {
|
|
|
117262
117328
|
};
|
|
117263
117329
|
};
|
|
117264
117330
|
};
|
|
117331
|
+
"ops.recruiting.advertising.advertise.creatives.add_video": {
|
|
117332
|
+
parameters: {
|
|
117333
|
+
query?: never;
|
|
117334
|
+
header?: {
|
|
117335
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
117336
|
+
"Idempotency-Key"?: string;
|
|
117337
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
117338
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
117339
|
+
};
|
|
117340
|
+
path?: never;
|
|
117341
|
+
cookie?: never;
|
|
117342
|
+
};
|
|
117343
|
+
requestBody?: {
|
|
117344
|
+
content: {
|
|
117345
|
+
"application/json": {
|
|
117346
|
+
/** @description The campaign draft (composer run) */
|
|
117347
|
+
run_id: number;
|
|
117348
|
+
/** @description What the video should show, in plain words (500 characters at most); empty lets the writer pick the idea */
|
|
117349
|
+
description?: string | null;
|
|
117350
|
+
};
|
|
117351
|
+
};
|
|
117352
|
+
};
|
|
117353
|
+
responses: {
|
|
117354
|
+
/** @description The operation ran. */
|
|
117355
|
+
200: {
|
|
117356
|
+
headers: {
|
|
117357
|
+
[name: string]: unknown;
|
|
117358
|
+
};
|
|
117359
|
+
content: {
|
|
117360
|
+
"application/json": {
|
|
117361
|
+
result: {
|
|
117362
|
+
/** @description What happened, in the operator's words */
|
|
117363
|
+
message: string;
|
|
117364
|
+
/** @description The campaign draft */
|
|
117365
|
+
run_id: number;
|
|
117366
|
+
/** @description The new video draft */
|
|
117367
|
+
creative_id?: number | null;
|
|
117368
|
+
};
|
|
117369
|
+
};
|
|
117370
|
+
};
|
|
117371
|
+
};
|
|
117372
|
+
202: components["responses"]["Proposal"];
|
|
117373
|
+
/** @description Refused: credits_exhausted. */
|
|
117374
|
+
402: {
|
|
117375
|
+
headers: {
|
|
117376
|
+
[name: string]: unknown;
|
|
117377
|
+
};
|
|
117378
|
+
content: {
|
|
117379
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117380
|
+
};
|
|
117381
|
+
};
|
|
117382
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
117383
|
+
403: {
|
|
117384
|
+
headers: {
|
|
117385
|
+
[name: string]: unknown;
|
|
117386
|
+
};
|
|
117387
|
+
content: {
|
|
117388
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117389
|
+
};
|
|
117390
|
+
};
|
|
117391
|
+
/** @description Refused: not_found. */
|
|
117392
|
+
404: {
|
|
117393
|
+
headers: {
|
|
117394
|
+
[name: string]: unknown;
|
|
117395
|
+
};
|
|
117396
|
+
content: {
|
|
117397
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117398
|
+
};
|
|
117399
|
+
};
|
|
117400
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
117401
|
+
409: {
|
|
117402
|
+
headers: {
|
|
117403
|
+
[name: string]: unknown;
|
|
117404
|
+
};
|
|
117405
|
+
content: {
|
|
117406
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117407
|
+
};
|
|
117408
|
+
};
|
|
117409
|
+
/** @description Refused: operation_retired. */
|
|
117410
|
+
410: {
|
|
117411
|
+
headers: {
|
|
117412
|
+
[name: string]: unknown;
|
|
117413
|
+
};
|
|
117414
|
+
content: {
|
|
117415
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117416
|
+
};
|
|
117417
|
+
};
|
|
117418
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
117419
|
+
422: {
|
|
117420
|
+
headers: {
|
|
117421
|
+
[name: string]: unknown;
|
|
117422
|
+
};
|
|
117423
|
+
content: {
|
|
117424
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117425
|
+
};
|
|
117426
|
+
};
|
|
117427
|
+
/** @description Refused: rate_limited. */
|
|
117428
|
+
429: {
|
|
117429
|
+
headers: {
|
|
117430
|
+
[name: string]: unknown;
|
|
117431
|
+
};
|
|
117432
|
+
content: {
|
|
117433
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117434
|
+
};
|
|
117435
|
+
};
|
|
117436
|
+
};
|
|
117437
|
+
};
|
|
117265
117438
|
"ops.recruiting.advertising.advertise.creatives.approve_script": {
|
|
117266
117439
|
parameters: {
|
|
117267
117440
|
query?: never;
|
|
@@ -118128,6 +118301,128 @@ export interface operations {
|
|
|
118128
118301
|
};
|
|
118129
118302
|
};
|
|
118130
118303
|
};
|
|
118304
|
+
"ops.recruiting.advertising.advertise.creatives.retry_script": {
|
|
118305
|
+
parameters: {
|
|
118306
|
+
query?: never;
|
|
118307
|
+
header?: {
|
|
118308
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
118309
|
+
"Idempotency-Key"?: string;
|
|
118310
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
118311
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
118312
|
+
};
|
|
118313
|
+
path?: never;
|
|
118314
|
+
cookie?: never;
|
|
118315
|
+
};
|
|
118316
|
+
requestBody?: {
|
|
118317
|
+
content: {
|
|
118318
|
+
/**
|
|
118319
|
+
* @example {
|
|
118320
|
+
* "run_id": 2,
|
|
118321
|
+
* "creative_id": 8
|
|
118322
|
+
* }
|
|
118323
|
+
*/
|
|
118324
|
+
"application/json": {
|
|
118325
|
+
/** @description The campaign draft (composer run) */
|
|
118326
|
+
run_id: number;
|
|
118327
|
+
/** @description The draft ad */
|
|
118328
|
+
creative_id: number;
|
|
118329
|
+
};
|
|
118330
|
+
};
|
|
118331
|
+
};
|
|
118332
|
+
responses: {
|
|
118333
|
+
/** @description The operation ran. */
|
|
118334
|
+
200: {
|
|
118335
|
+
headers: {
|
|
118336
|
+
[name: string]: unknown;
|
|
118337
|
+
};
|
|
118338
|
+
content: {
|
|
118339
|
+
/**
|
|
118340
|
+
* @example {
|
|
118341
|
+
* "result": {
|
|
118342
|
+
* "message": "Writing the script again. This usually takes a few minutes.",
|
|
118343
|
+
* "run_id": 2,
|
|
118344
|
+
* "creative_id": 8
|
|
118345
|
+
* }
|
|
118346
|
+
* }
|
|
118347
|
+
*/
|
|
118348
|
+
"application/json": {
|
|
118349
|
+
result: {
|
|
118350
|
+
/** @description What happened, in the operator's words */
|
|
118351
|
+
message: string;
|
|
118352
|
+
/** @description The campaign draft */
|
|
118353
|
+
run_id: number;
|
|
118354
|
+
/** @description The draft ad */
|
|
118355
|
+
creative_id: number;
|
|
118356
|
+
};
|
|
118357
|
+
};
|
|
118358
|
+
};
|
|
118359
|
+
};
|
|
118360
|
+
202: components["responses"]["Proposal"];
|
|
118361
|
+
/** @description Refused: credits_exhausted. */
|
|
118362
|
+
402: {
|
|
118363
|
+
headers: {
|
|
118364
|
+
[name: string]: unknown;
|
|
118365
|
+
};
|
|
118366
|
+
content: {
|
|
118367
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118368
|
+
};
|
|
118369
|
+
};
|
|
118370
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
118371
|
+
403: {
|
|
118372
|
+
headers: {
|
|
118373
|
+
[name: string]: unknown;
|
|
118374
|
+
};
|
|
118375
|
+
content: {
|
|
118376
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118377
|
+
};
|
|
118378
|
+
};
|
|
118379
|
+
/** @description Refused: not_found. */
|
|
118380
|
+
404: {
|
|
118381
|
+
headers: {
|
|
118382
|
+
[name: string]: unknown;
|
|
118383
|
+
};
|
|
118384
|
+
content: {
|
|
118385
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118386
|
+
};
|
|
118387
|
+
};
|
|
118388
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
118389
|
+
409: {
|
|
118390
|
+
headers: {
|
|
118391
|
+
[name: string]: unknown;
|
|
118392
|
+
};
|
|
118393
|
+
content: {
|
|
118394
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118395
|
+
};
|
|
118396
|
+
};
|
|
118397
|
+
/** @description Refused: operation_retired. */
|
|
118398
|
+
410: {
|
|
118399
|
+
headers: {
|
|
118400
|
+
[name: string]: unknown;
|
|
118401
|
+
};
|
|
118402
|
+
content: {
|
|
118403
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118404
|
+
};
|
|
118405
|
+
};
|
|
118406
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
118407
|
+
422: {
|
|
118408
|
+
headers: {
|
|
118409
|
+
[name: string]: unknown;
|
|
118410
|
+
};
|
|
118411
|
+
content: {
|
|
118412
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118413
|
+
};
|
|
118414
|
+
};
|
|
118415
|
+
/** @description Refused: rate_limited. */
|
|
118416
|
+
429: {
|
|
118417
|
+
headers: {
|
|
118418
|
+
[name: string]: unknown;
|
|
118419
|
+
};
|
|
118420
|
+
content: {
|
|
118421
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118422
|
+
};
|
|
118423
|
+
};
|
|
118424
|
+
};
|
|
118425
|
+
};
|
|
118131
118426
|
"ops.recruiting.advertising.advertise.creatives.storyboard": {
|
|
118132
118427
|
parameters: {
|
|
118133
118428
|
query?: never;
|
|
@@ -123897,6 +124192,111 @@ export interface operations {
|
|
|
123897
124192
|
};
|
|
123898
124193
|
};
|
|
123899
124194
|
};
|
|
124195
|
+
"ops.recruiting.candidates.reopen": {
|
|
124196
|
+
parameters: {
|
|
124197
|
+
query?: never;
|
|
124198
|
+
header?: {
|
|
124199
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
124200
|
+
"Idempotency-Key"?: string;
|
|
124201
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
124202
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
124203
|
+
};
|
|
124204
|
+
path?: never;
|
|
124205
|
+
cookie?: never;
|
|
124206
|
+
};
|
|
124207
|
+
requestBody?: {
|
|
124208
|
+
content: {
|
|
124209
|
+
"application/json": {
|
|
124210
|
+
/** @description The candidate */
|
|
124211
|
+
candidate_id: number;
|
|
124212
|
+
/** @description Why the rejection is being taken back, max 2000 */
|
|
124213
|
+
reopen_reason: string | null;
|
|
124214
|
+
};
|
|
124215
|
+
};
|
|
124216
|
+
};
|
|
124217
|
+
responses: {
|
|
124218
|
+
/** @description The operation ran. */
|
|
124219
|
+
200: {
|
|
124220
|
+
headers: {
|
|
124221
|
+
[name: string]: unknown;
|
|
124222
|
+
};
|
|
124223
|
+
content: {
|
|
124224
|
+
"application/json": {
|
|
124225
|
+
result: {
|
|
124226
|
+
/** @description What happened, in the operator's words */
|
|
124227
|
+
message: string;
|
|
124228
|
+
/** @description The candidate */
|
|
124229
|
+
candidate_id: number;
|
|
124230
|
+
};
|
|
124231
|
+
};
|
|
124232
|
+
};
|
|
124233
|
+
};
|
|
124234
|
+
202: components["responses"]["Proposal"];
|
|
124235
|
+
/** @description Refused: credits_exhausted. */
|
|
124236
|
+
402: {
|
|
124237
|
+
headers: {
|
|
124238
|
+
[name: string]: unknown;
|
|
124239
|
+
};
|
|
124240
|
+
content: {
|
|
124241
|
+
"application/json": components["schemas"]["OperationError"];
|
|
124242
|
+
};
|
|
124243
|
+
};
|
|
124244
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
124245
|
+
403: {
|
|
124246
|
+
headers: {
|
|
124247
|
+
[name: string]: unknown;
|
|
124248
|
+
};
|
|
124249
|
+
content: {
|
|
124250
|
+
"application/json": components["schemas"]["OperationError"];
|
|
124251
|
+
};
|
|
124252
|
+
};
|
|
124253
|
+
/** @description Refused: not_found. */
|
|
124254
|
+
404: {
|
|
124255
|
+
headers: {
|
|
124256
|
+
[name: string]: unknown;
|
|
124257
|
+
};
|
|
124258
|
+
content: {
|
|
124259
|
+
"application/json": components["schemas"]["OperationError"];
|
|
124260
|
+
};
|
|
124261
|
+
};
|
|
124262
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
124263
|
+
409: {
|
|
124264
|
+
headers: {
|
|
124265
|
+
[name: string]: unknown;
|
|
124266
|
+
};
|
|
124267
|
+
content: {
|
|
124268
|
+
"application/json": components["schemas"]["OperationError"];
|
|
124269
|
+
};
|
|
124270
|
+
};
|
|
124271
|
+
/** @description Refused: operation_retired. */
|
|
124272
|
+
410: {
|
|
124273
|
+
headers: {
|
|
124274
|
+
[name: string]: unknown;
|
|
124275
|
+
};
|
|
124276
|
+
content: {
|
|
124277
|
+
"application/json": components["schemas"]["OperationError"];
|
|
124278
|
+
};
|
|
124279
|
+
};
|
|
124280
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
124281
|
+
422: {
|
|
124282
|
+
headers: {
|
|
124283
|
+
[name: string]: unknown;
|
|
124284
|
+
};
|
|
124285
|
+
content: {
|
|
124286
|
+
"application/json": components["schemas"]["OperationError"];
|
|
124287
|
+
};
|
|
124288
|
+
};
|
|
124289
|
+
/** @description Refused: rate_limited. */
|
|
124290
|
+
429: {
|
|
124291
|
+
headers: {
|
|
124292
|
+
[name: string]: unknown;
|
|
124293
|
+
};
|
|
124294
|
+
content: {
|
|
124295
|
+
"application/json": components["schemas"]["OperationError"];
|
|
124296
|
+
};
|
|
124297
|
+
};
|
|
124298
|
+
};
|
|
124299
|
+
};
|
|
123900
124300
|
"ops.recruiting.candidates.resume_extractions.approve": {
|
|
123901
124301
|
parameters: {
|
|
123902
124302
|
query?: never;
|