@axivoy/api 2.23.0 → 2.24.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 +273 -0
- 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;
|
|
@@ -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;
|
|
@@ -117262,6 +117306,113 @@ export interface operations {
|
|
|
117262
117306
|
};
|
|
117263
117307
|
};
|
|
117264
117308
|
};
|
|
117309
|
+
"ops.recruiting.advertising.advertise.creatives.add_video": {
|
|
117310
|
+
parameters: {
|
|
117311
|
+
query?: never;
|
|
117312
|
+
header?: {
|
|
117313
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
117314
|
+
"Idempotency-Key"?: string;
|
|
117315
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
117316
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
117317
|
+
};
|
|
117318
|
+
path?: never;
|
|
117319
|
+
cookie?: never;
|
|
117320
|
+
};
|
|
117321
|
+
requestBody?: {
|
|
117322
|
+
content: {
|
|
117323
|
+
"application/json": {
|
|
117324
|
+
/** @description The campaign draft (composer run) */
|
|
117325
|
+
run_id: number;
|
|
117326
|
+
/** @description What the video should show, in plain words (500 characters at most); empty lets the writer pick the idea */
|
|
117327
|
+
description?: string | null;
|
|
117328
|
+
};
|
|
117329
|
+
};
|
|
117330
|
+
};
|
|
117331
|
+
responses: {
|
|
117332
|
+
/** @description The operation ran. */
|
|
117333
|
+
200: {
|
|
117334
|
+
headers: {
|
|
117335
|
+
[name: string]: unknown;
|
|
117336
|
+
};
|
|
117337
|
+
content: {
|
|
117338
|
+
"application/json": {
|
|
117339
|
+
result: {
|
|
117340
|
+
/** @description What happened, in the operator's words */
|
|
117341
|
+
message: string;
|
|
117342
|
+
/** @description The campaign draft */
|
|
117343
|
+
run_id: number;
|
|
117344
|
+
/** @description The new video draft */
|
|
117345
|
+
creative_id?: number | null;
|
|
117346
|
+
};
|
|
117347
|
+
};
|
|
117348
|
+
};
|
|
117349
|
+
};
|
|
117350
|
+
202: components["responses"]["Proposal"];
|
|
117351
|
+
/** @description Refused: credits_exhausted. */
|
|
117352
|
+
402: {
|
|
117353
|
+
headers: {
|
|
117354
|
+
[name: string]: unknown;
|
|
117355
|
+
};
|
|
117356
|
+
content: {
|
|
117357
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117358
|
+
};
|
|
117359
|
+
};
|
|
117360
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
117361
|
+
403: {
|
|
117362
|
+
headers: {
|
|
117363
|
+
[name: string]: unknown;
|
|
117364
|
+
};
|
|
117365
|
+
content: {
|
|
117366
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117367
|
+
};
|
|
117368
|
+
};
|
|
117369
|
+
/** @description Refused: not_found. */
|
|
117370
|
+
404: {
|
|
117371
|
+
headers: {
|
|
117372
|
+
[name: string]: unknown;
|
|
117373
|
+
};
|
|
117374
|
+
content: {
|
|
117375
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117376
|
+
};
|
|
117377
|
+
};
|
|
117378
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
117379
|
+
409: {
|
|
117380
|
+
headers: {
|
|
117381
|
+
[name: string]: unknown;
|
|
117382
|
+
};
|
|
117383
|
+
content: {
|
|
117384
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117385
|
+
};
|
|
117386
|
+
};
|
|
117387
|
+
/** @description Refused: operation_retired. */
|
|
117388
|
+
410: {
|
|
117389
|
+
headers: {
|
|
117390
|
+
[name: string]: unknown;
|
|
117391
|
+
};
|
|
117392
|
+
content: {
|
|
117393
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117394
|
+
};
|
|
117395
|
+
};
|
|
117396
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
117397
|
+
422: {
|
|
117398
|
+
headers: {
|
|
117399
|
+
[name: string]: unknown;
|
|
117400
|
+
};
|
|
117401
|
+
content: {
|
|
117402
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117403
|
+
};
|
|
117404
|
+
};
|
|
117405
|
+
/** @description Refused: rate_limited. */
|
|
117406
|
+
429: {
|
|
117407
|
+
headers: {
|
|
117408
|
+
[name: string]: unknown;
|
|
117409
|
+
};
|
|
117410
|
+
content: {
|
|
117411
|
+
"application/json": components["schemas"]["OperationError"];
|
|
117412
|
+
};
|
|
117413
|
+
};
|
|
117414
|
+
};
|
|
117415
|
+
};
|
|
117265
117416
|
"ops.recruiting.advertising.advertise.creatives.approve_script": {
|
|
117266
117417
|
parameters: {
|
|
117267
117418
|
query?: never;
|
|
@@ -118128,6 +118279,128 @@ export interface operations {
|
|
|
118128
118279
|
};
|
|
118129
118280
|
};
|
|
118130
118281
|
};
|
|
118282
|
+
"ops.recruiting.advertising.advertise.creatives.retry_script": {
|
|
118283
|
+
parameters: {
|
|
118284
|
+
query?: never;
|
|
118285
|
+
header?: {
|
|
118286
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
118287
|
+
"Idempotency-Key"?: string;
|
|
118288
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
118289
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
118290
|
+
};
|
|
118291
|
+
path?: never;
|
|
118292
|
+
cookie?: never;
|
|
118293
|
+
};
|
|
118294
|
+
requestBody?: {
|
|
118295
|
+
content: {
|
|
118296
|
+
/**
|
|
118297
|
+
* @example {
|
|
118298
|
+
* "run_id": 2,
|
|
118299
|
+
* "creative_id": 8
|
|
118300
|
+
* }
|
|
118301
|
+
*/
|
|
118302
|
+
"application/json": {
|
|
118303
|
+
/** @description The campaign draft (composer run) */
|
|
118304
|
+
run_id: number;
|
|
118305
|
+
/** @description The draft ad */
|
|
118306
|
+
creative_id: number;
|
|
118307
|
+
};
|
|
118308
|
+
};
|
|
118309
|
+
};
|
|
118310
|
+
responses: {
|
|
118311
|
+
/** @description The operation ran. */
|
|
118312
|
+
200: {
|
|
118313
|
+
headers: {
|
|
118314
|
+
[name: string]: unknown;
|
|
118315
|
+
};
|
|
118316
|
+
content: {
|
|
118317
|
+
/**
|
|
118318
|
+
* @example {
|
|
118319
|
+
* "result": {
|
|
118320
|
+
* "message": "Writing the script again. This usually takes a few minutes.",
|
|
118321
|
+
* "run_id": 2,
|
|
118322
|
+
* "creative_id": 8
|
|
118323
|
+
* }
|
|
118324
|
+
* }
|
|
118325
|
+
*/
|
|
118326
|
+
"application/json": {
|
|
118327
|
+
result: {
|
|
118328
|
+
/** @description What happened, in the operator's words */
|
|
118329
|
+
message: string;
|
|
118330
|
+
/** @description The campaign draft */
|
|
118331
|
+
run_id: number;
|
|
118332
|
+
/** @description The draft ad */
|
|
118333
|
+
creative_id: number;
|
|
118334
|
+
};
|
|
118335
|
+
};
|
|
118336
|
+
};
|
|
118337
|
+
};
|
|
118338
|
+
202: components["responses"]["Proposal"];
|
|
118339
|
+
/** @description Refused: credits_exhausted. */
|
|
118340
|
+
402: {
|
|
118341
|
+
headers: {
|
|
118342
|
+
[name: string]: unknown;
|
|
118343
|
+
};
|
|
118344
|
+
content: {
|
|
118345
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118346
|
+
};
|
|
118347
|
+
};
|
|
118348
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
118349
|
+
403: {
|
|
118350
|
+
headers: {
|
|
118351
|
+
[name: string]: unknown;
|
|
118352
|
+
};
|
|
118353
|
+
content: {
|
|
118354
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118355
|
+
};
|
|
118356
|
+
};
|
|
118357
|
+
/** @description Refused: not_found. */
|
|
118358
|
+
404: {
|
|
118359
|
+
headers: {
|
|
118360
|
+
[name: string]: unknown;
|
|
118361
|
+
};
|
|
118362
|
+
content: {
|
|
118363
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118364
|
+
};
|
|
118365
|
+
};
|
|
118366
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
118367
|
+
409: {
|
|
118368
|
+
headers: {
|
|
118369
|
+
[name: string]: unknown;
|
|
118370
|
+
};
|
|
118371
|
+
content: {
|
|
118372
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118373
|
+
};
|
|
118374
|
+
};
|
|
118375
|
+
/** @description Refused: operation_retired. */
|
|
118376
|
+
410: {
|
|
118377
|
+
headers: {
|
|
118378
|
+
[name: string]: unknown;
|
|
118379
|
+
};
|
|
118380
|
+
content: {
|
|
118381
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118382
|
+
};
|
|
118383
|
+
};
|
|
118384
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
118385
|
+
422: {
|
|
118386
|
+
headers: {
|
|
118387
|
+
[name: string]: unknown;
|
|
118388
|
+
};
|
|
118389
|
+
content: {
|
|
118390
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118391
|
+
};
|
|
118392
|
+
};
|
|
118393
|
+
/** @description Refused: rate_limited. */
|
|
118394
|
+
429: {
|
|
118395
|
+
headers: {
|
|
118396
|
+
[name: string]: unknown;
|
|
118397
|
+
};
|
|
118398
|
+
content: {
|
|
118399
|
+
"application/json": components["schemas"]["OperationError"];
|
|
118400
|
+
};
|
|
118401
|
+
};
|
|
118402
|
+
};
|
|
118403
|
+
};
|
|
118131
118404
|
"ops.recruiting.advertising.advertise.creatives.storyboard": {
|
|
118132
118405
|
parameters: {
|
|
118133
118406
|
query?: never;
|