@axivoy/api 1.25.0 → 1.26.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.
@@ -14039,6 +14039,28 @@ export interface paths {
14039
14039
  patch?: never;
14040
14040
  trace?: never;
14041
14041
  };
14042
+ "/ops/recruiting.pipelines.list": {
14043
+ parameters: {
14044
+ query?: never;
14045
+ header?: never;
14046
+ path?: never;
14047
+ cookie?: never;
14048
+ };
14049
+ get?: never;
14050
+ put?: never;
14051
+ /**
14052
+ * List hiring pipelines
14053
+ * @description Hiring pipelines with their stages in order. Filter to active pipelines; the default pipeline is flagged.
14054
+ *
14055
+ * Kind: `read`. Errors use the envelope `{error: {code, reason, message, fields}}`.
14056
+ */
14057
+ post: operations["ops.recruiting.pipelines.list"];
14058
+ delete?: never;
14059
+ options?: never;
14060
+ head?: never;
14061
+ patch?: never;
14062
+ trace?: never;
14063
+ };
14042
14064
  "/ops/recruiting.pipelines.reorder": {
14043
14065
  parameters: {
14044
14066
  query?: never;
@@ -118245,6 +118267,201 @@ export interface operations {
118245
118267
  };
118246
118268
  };
118247
118269
  };
118270
+ "ops.recruiting.pipelines.list": {
118271
+ parameters: {
118272
+ query?: never;
118273
+ header?: {
118274
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
118275
+ "Idempotency-Key"?: string;
118276
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
118277
+ "Axivoy-Dry-Run"?: "true" | "false";
118278
+ };
118279
+ path?: never;
118280
+ cookie?: never;
118281
+ };
118282
+ requestBody?: {
118283
+ content: {
118284
+ /** @example {} */
118285
+ "application/json": {
118286
+ /** @description Only active (true) or inactive (false) pipelines */
118287
+ is_active?: boolean | null;
118288
+ /** @description Cursor from the previous page's next_cursor. */
118289
+ cursor?: string | null;
118290
+ /** @description Rows per page (default 25). */
118291
+ limit?: number | null;
118292
+ /**
118293
+ * Format: date-time
118294
+ * @description Only rows changed at or after this instant, oldest change first, with deleted rows as tombstones.
118295
+ */
118296
+ updated_since?: string | null;
118297
+ };
118298
+ };
118299
+ };
118300
+ responses: {
118301
+ /** @description The operation ran. */
118302
+ 200: {
118303
+ headers: {
118304
+ [name: string]: unknown;
118305
+ };
118306
+ content: {
118307
+ /**
118308
+ * @example {
118309
+ * "result": {
118310
+ * "items": [
118311
+ * {
118312
+ * "id": 1,
118313
+ * "name": "DOT driver",
118314
+ * "slug": "dot_driver",
118315
+ * "description": "Default CDL-A / DOT driver recruiting pipeline.",
118316
+ * "is_default": true,
118317
+ * "is_active": true,
118318
+ * "version": 1,
118319
+ * "stages": [
118320
+ * {
118321
+ * "id": 1,
118322
+ * "slug": "new_lead",
118323
+ * "name": "New lead"
118324
+ * },
118325
+ * {
118326
+ * "id": 2,
118327
+ * "slug": "phone_screen",
118328
+ * "name": "Phone screen"
118329
+ * },
118330
+ * {
118331
+ * "id": 3,
118332
+ * "slug": "resume_review",
118333
+ * "name": "Resume review"
118334
+ * },
118335
+ * {
118336
+ * "id": 4,
118337
+ * "slug": "conditional_offer",
118338
+ * "name": "Conditional offer"
118339
+ * },
118340
+ * {
118341
+ * "id": 5,
118342
+ * "slug": "screening",
118343
+ * "name": "Screening"
118344
+ * },
118345
+ * {
118346
+ * "id": 6,
118347
+ * "slug": "orientation",
118348
+ * "name": "Orientation"
118349
+ * },
118350
+ * {
118351
+ * "id": 7,
118352
+ * "slug": "hired",
118353
+ * "name": "Hired"
118354
+ * }
118355
+ * ],
118356
+ * "deleted": null
118357
+ * }
118358
+ * ],
118359
+ * "next_cursor": null
118360
+ * }
118361
+ * }
118362
+ */
118363
+ "application/json": {
118364
+ result: {
118365
+ /** @description One page of rows. */
118366
+ items: {
118367
+ /** @description The row's id. */
118368
+ id: number;
118369
+ /** @description Pipeline name */
118370
+ name: string;
118371
+ /** @description Pipeline slug */
118372
+ slug: string;
118373
+ /** @description Pipeline description */
118374
+ description?: string | null;
118375
+ /** @description Whether this is the workspace's default pipeline */
118376
+ is_default: boolean;
118377
+ /** @description Whether the pipeline takes candidates */
118378
+ is_active: boolean;
118379
+ /** @description Current stage version */
118380
+ version: number;
118381
+ /** @description Stages of the current version, in order */
118382
+ stages: {
118383
+ /** @description The stage id */
118384
+ id: number;
118385
+ /** @description Stage slug */
118386
+ slug: string;
118387
+ /** @description Stage name */
118388
+ name: string;
118389
+ }[];
118390
+ /** @description True on a tombstone (the row was deleted or recycled); other fields are absent. */
118391
+ deleted?: boolean | null;
118392
+ }[];
118393
+ /** @description Pass as cursor for the next page; null on the last page. */
118394
+ next_cursor?: string | null;
118395
+ };
118396
+ };
118397
+ };
118398
+ };
118399
+ 202: components["responses"]["Proposal"];
118400
+ /** @description Refused: credits_exhausted. */
118401
+ 402: {
118402
+ headers: {
118403
+ [name: string]: unknown;
118404
+ };
118405
+ content: {
118406
+ "application/json": components["schemas"]["OperationError"];
118407
+ };
118408
+ };
118409
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
118410
+ 403: {
118411
+ headers: {
118412
+ [name: string]: unknown;
118413
+ };
118414
+ content: {
118415
+ "application/json": components["schemas"]["OperationError"];
118416
+ };
118417
+ };
118418
+ /** @description Refused: not_found. */
118419
+ 404: {
118420
+ headers: {
118421
+ [name: string]: unknown;
118422
+ };
118423
+ content: {
118424
+ "application/json": components["schemas"]["OperationError"];
118425
+ };
118426
+ };
118427
+ /** @description Refused: idempotency_conflict, stale_state. */
118428
+ 409: {
118429
+ headers: {
118430
+ [name: string]: unknown;
118431
+ };
118432
+ content: {
118433
+ "application/json": components["schemas"]["OperationError"];
118434
+ };
118435
+ };
118436
+ /** @description Refused: operation_retired. */
118437
+ 410: {
118438
+ headers: {
118439
+ [name: string]: unknown;
118440
+ };
118441
+ content: {
118442
+ "application/json": components["schemas"]["OperationError"];
118443
+ };
118444
+ };
118445
+ /** @description Refused: invalid_input, domain_rule. */
118446
+ 422: {
118447
+ headers: {
118448
+ [name: string]: unknown;
118449
+ };
118450
+ content: {
118451
+ "application/json": components["schemas"]["OperationError"];
118452
+ };
118453
+ };
118454
+ /** @description Refused: rate_limited. */
118455
+ 429: {
118456
+ headers: {
118457
+ [name: string]: unknown;
118458
+ };
118459
+ content: {
118460
+ "application/json": components["schemas"]["OperationError"];
118461
+ };
118462
+ };
118463
+ };
118464
+ };
118248
118465
  "ops.recruiting.pipelines.reorder": {
118249
118466
  parameters: {
118250
118467
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axivoy/api",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "description": "Typed client for the Axivoy API: operations, webhooks and errors.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://app.axivoy.ai/developers",