@axivoy/api 2.26.0 → 2.27.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 +266 -0
- package/package.json +1 -1
|
@@ -13797,6 +13797,28 @@ export interface paths {
|
|
|
13797
13797
|
patch?: never;
|
|
13798
13798
|
trace?: never;
|
|
13799
13799
|
};
|
|
13800
|
+
"/ops/recruiting.candidates.documents.photo.adjust": {
|
|
13801
|
+
parameters: {
|
|
13802
|
+
query?: never;
|
|
13803
|
+
header?: never;
|
|
13804
|
+
path?: never;
|
|
13805
|
+
cookie?: never;
|
|
13806
|
+
};
|
|
13807
|
+
get?: never;
|
|
13808
|
+
put?: never;
|
|
13809
|
+
/**
|
|
13810
|
+
* Adjust a candidate document photo
|
|
13811
|
+
* @description Turns a candidate's document photo upright and crops or flattens it to the four corners given, from the photo as received; a read of it not yet applied is read again.
|
|
13812
|
+
*
|
|
13813
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
13814
|
+
*/
|
|
13815
|
+
post: operations["ops.recruiting.candidates.documents.photo.adjust"];
|
|
13816
|
+
delete?: never;
|
|
13817
|
+
options?: never;
|
|
13818
|
+
head?: never;
|
|
13819
|
+
patch?: never;
|
|
13820
|
+
trace?: never;
|
|
13821
|
+
};
|
|
13800
13822
|
"/ops/recruiting.candidates.documents.reclassify": {
|
|
13801
13823
|
parameters: {
|
|
13802
13824
|
query?: never;
|
|
@@ -13841,6 +13863,28 @@ export interface paths {
|
|
|
13841
13863
|
patch?: never;
|
|
13842
13864
|
trace?: never;
|
|
13843
13865
|
};
|
|
13866
|
+
"/ops/recruiting.candidates.documents.straightening.undo": {
|
|
13867
|
+
parameters: {
|
|
13868
|
+
query?: never;
|
|
13869
|
+
header?: never;
|
|
13870
|
+
path?: never;
|
|
13871
|
+
cookie?: never;
|
|
13872
|
+
};
|
|
13873
|
+
get?: never;
|
|
13874
|
+
put?: never;
|
|
13875
|
+
/**
|
|
13876
|
+
* Undo the straightening of a candidate document photo
|
|
13877
|
+
* @description Shows a candidate's document photo as it was received again after Axivoy turned or cropped it; a read of it not yet applied is read again from the original.
|
|
13878
|
+
*
|
|
13879
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
13880
|
+
*/
|
|
13881
|
+
post: operations["ops.recruiting.candidates.documents.straightening.undo"];
|
|
13882
|
+
delete?: never;
|
|
13883
|
+
options?: never;
|
|
13884
|
+
head?: never;
|
|
13885
|
+
patch?: never;
|
|
13886
|
+
trace?: never;
|
|
13887
|
+
};
|
|
13844
13888
|
"/ops/recruiting.candidates.documents.swap_sides": {
|
|
13845
13889
|
parameters: {
|
|
13846
13890
|
query?: never;
|
|
@@ -121998,6 +122042,123 @@ export interface operations {
|
|
|
121998
122042
|
};
|
|
121999
122043
|
};
|
|
122000
122044
|
};
|
|
122045
|
+
"ops.recruiting.candidates.documents.photo.adjust": {
|
|
122046
|
+
parameters: {
|
|
122047
|
+
query?: never;
|
|
122048
|
+
header?: {
|
|
122049
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
122050
|
+
"Idempotency-Key"?: string;
|
|
122051
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
122052
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
122053
|
+
};
|
|
122054
|
+
path?: never;
|
|
122055
|
+
cookie?: never;
|
|
122056
|
+
};
|
|
122057
|
+
requestBody?: {
|
|
122058
|
+
content: {
|
|
122059
|
+
"application/json": {
|
|
122060
|
+
/** @description The candidate */
|
|
122061
|
+
candidate_id: number;
|
|
122062
|
+
/** @description The document on that candidate */
|
|
122063
|
+
document_id: number;
|
|
122064
|
+
/**
|
|
122065
|
+
* @description Degrees to turn the photo as received clockwise
|
|
122066
|
+
* @enum {string}
|
|
122067
|
+
*/
|
|
122068
|
+
rotate_clockwise: "0" | "90" | "180" | "270";
|
|
122069
|
+
/** @description The document's corners in the turned photo: top-left, top-right, bottom-right, bottom-left; leave out to keep the whole photo */
|
|
122070
|
+
corners?: {
|
|
122071
|
+
/** @description Across the turned photo, 0 at the left edge and 1 at the right */
|
|
122072
|
+
x: number;
|
|
122073
|
+
/** @description Down the turned photo, 0 at the top and 1 at the bottom */
|
|
122074
|
+
y: number;
|
|
122075
|
+
}[] | null;
|
|
122076
|
+
};
|
|
122077
|
+
};
|
|
122078
|
+
};
|
|
122079
|
+
responses: {
|
|
122080
|
+
/** @description The operation ran. */
|
|
122081
|
+
200: {
|
|
122082
|
+
headers: {
|
|
122083
|
+
[name: string]: unknown;
|
|
122084
|
+
};
|
|
122085
|
+
content: {
|
|
122086
|
+
"application/json": {
|
|
122087
|
+
result: {
|
|
122088
|
+
/** @description What happened, in the operator's words */
|
|
122089
|
+
message: string;
|
|
122090
|
+
/** @description The candidate */
|
|
122091
|
+
candidate_id: number;
|
|
122092
|
+
};
|
|
122093
|
+
};
|
|
122094
|
+
};
|
|
122095
|
+
};
|
|
122096
|
+
202: components["responses"]["Proposal"];
|
|
122097
|
+
/** @description Refused: credits_exhausted. */
|
|
122098
|
+
402: {
|
|
122099
|
+
headers: {
|
|
122100
|
+
[name: string]: unknown;
|
|
122101
|
+
};
|
|
122102
|
+
content: {
|
|
122103
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122104
|
+
};
|
|
122105
|
+
};
|
|
122106
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
122107
|
+
403: {
|
|
122108
|
+
headers: {
|
|
122109
|
+
[name: string]: unknown;
|
|
122110
|
+
};
|
|
122111
|
+
content: {
|
|
122112
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122113
|
+
};
|
|
122114
|
+
};
|
|
122115
|
+
/** @description Refused: not_found. */
|
|
122116
|
+
404: {
|
|
122117
|
+
headers: {
|
|
122118
|
+
[name: string]: unknown;
|
|
122119
|
+
};
|
|
122120
|
+
content: {
|
|
122121
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122122
|
+
};
|
|
122123
|
+
};
|
|
122124
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
122125
|
+
409: {
|
|
122126
|
+
headers: {
|
|
122127
|
+
[name: string]: unknown;
|
|
122128
|
+
};
|
|
122129
|
+
content: {
|
|
122130
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122131
|
+
};
|
|
122132
|
+
};
|
|
122133
|
+
/** @description Refused: operation_retired. */
|
|
122134
|
+
410: {
|
|
122135
|
+
headers: {
|
|
122136
|
+
[name: string]: unknown;
|
|
122137
|
+
};
|
|
122138
|
+
content: {
|
|
122139
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122140
|
+
};
|
|
122141
|
+
};
|
|
122142
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
122143
|
+
422: {
|
|
122144
|
+
headers: {
|
|
122145
|
+
[name: string]: unknown;
|
|
122146
|
+
};
|
|
122147
|
+
content: {
|
|
122148
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122149
|
+
};
|
|
122150
|
+
};
|
|
122151
|
+
/** @description Refused: rate_limited. */
|
|
122152
|
+
429: {
|
|
122153
|
+
headers: {
|
|
122154
|
+
[name: string]: unknown;
|
|
122155
|
+
};
|
|
122156
|
+
content: {
|
|
122157
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122158
|
+
};
|
|
122159
|
+
};
|
|
122160
|
+
};
|
|
122161
|
+
};
|
|
122001
122162
|
"ops.recruiting.candidates.documents.reclassify": {
|
|
122002
122163
|
parameters: {
|
|
122003
122164
|
query?: never;
|
|
@@ -122244,6 +122405,111 @@ export interface operations {
|
|
|
122244
122405
|
};
|
|
122245
122406
|
};
|
|
122246
122407
|
};
|
|
122408
|
+
"ops.recruiting.candidates.documents.straightening.undo": {
|
|
122409
|
+
parameters: {
|
|
122410
|
+
query?: never;
|
|
122411
|
+
header?: {
|
|
122412
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
122413
|
+
"Idempotency-Key"?: string;
|
|
122414
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
122415
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
122416
|
+
};
|
|
122417
|
+
path?: never;
|
|
122418
|
+
cookie?: never;
|
|
122419
|
+
};
|
|
122420
|
+
requestBody?: {
|
|
122421
|
+
content: {
|
|
122422
|
+
"application/json": {
|
|
122423
|
+
/** @description The candidate */
|
|
122424
|
+
candidate_id: number;
|
|
122425
|
+
/** @description The document on that candidate */
|
|
122426
|
+
document_id: number;
|
|
122427
|
+
};
|
|
122428
|
+
};
|
|
122429
|
+
};
|
|
122430
|
+
responses: {
|
|
122431
|
+
/** @description The operation ran. */
|
|
122432
|
+
200: {
|
|
122433
|
+
headers: {
|
|
122434
|
+
[name: string]: unknown;
|
|
122435
|
+
};
|
|
122436
|
+
content: {
|
|
122437
|
+
"application/json": {
|
|
122438
|
+
result: {
|
|
122439
|
+
/** @description What happened, in the operator's words */
|
|
122440
|
+
message: string;
|
|
122441
|
+
/** @description The candidate */
|
|
122442
|
+
candidate_id: number;
|
|
122443
|
+
};
|
|
122444
|
+
};
|
|
122445
|
+
};
|
|
122446
|
+
};
|
|
122447
|
+
202: components["responses"]["Proposal"];
|
|
122448
|
+
/** @description Refused: credits_exhausted. */
|
|
122449
|
+
402: {
|
|
122450
|
+
headers: {
|
|
122451
|
+
[name: string]: unknown;
|
|
122452
|
+
};
|
|
122453
|
+
content: {
|
|
122454
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122455
|
+
};
|
|
122456
|
+
};
|
|
122457
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
122458
|
+
403: {
|
|
122459
|
+
headers: {
|
|
122460
|
+
[name: string]: unknown;
|
|
122461
|
+
};
|
|
122462
|
+
content: {
|
|
122463
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122464
|
+
};
|
|
122465
|
+
};
|
|
122466
|
+
/** @description Refused: not_found. */
|
|
122467
|
+
404: {
|
|
122468
|
+
headers: {
|
|
122469
|
+
[name: string]: unknown;
|
|
122470
|
+
};
|
|
122471
|
+
content: {
|
|
122472
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122473
|
+
};
|
|
122474
|
+
};
|
|
122475
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
122476
|
+
409: {
|
|
122477
|
+
headers: {
|
|
122478
|
+
[name: string]: unknown;
|
|
122479
|
+
};
|
|
122480
|
+
content: {
|
|
122481
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122482
|
+
};
|
|
122483
|
+
};
|
|
122484
|
+
/** @description Refused: operation_retired. */
|
|
122485
|
+
410: {
|
|
122486
|
+
headers: {
|
|
122487
|
+
[name: string]: unknown;
|
|
122488
|
+
};
|
|
122489
|
+
content: {
|
|
122490
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122491
|
+
};
|
|
122492
|
+
};
|
|
122493
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
122494
|
+
422: {
|
|
122495
|
+
headers: {
|
|
122496
|
+
[name: string]: unknown;
|
|
122497
|
+
};
|
|
122498
|
+
content: {
|
|
122499
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122500
|
+
};
|
|
122501
|
+
};
|
|
122502
|
+
/** @description Refused: rate_limited. */
|
|
122503
|
+
429: {
|
|
122504
|
+
headers: {
|
|
122505
|
+
[name: string]: unknown;
|
|
122506
|
+
};
|
|
122507
|
+
content: {
|
|
122508
|
+
"application/json": components["schemas"]["OperationError"];
|
|
122509
|
+
};
|
|
122510
|
+
};
|
|
122511
|
+
};
|
|
122512
|
+
};
|
|
122247
122513
|
"ops.recruiting.candidates.documents.swap_sides": {
|
|
122248
122514
|
parameters: {
|
|
122249
122515
|
query?: never;
|