@talonic/docs 0.21.77 → 0.21.78

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/seo.js CHANGED
@@ -222,6 +222,10 @@ var openapi_default = {
222
222
  name: "Compliance",
223
223
  description: "Turns compliance and regulatory frameworks into checkable rules and judges documents against them. A framework is a workspace document; rules are derived from its text, and a person turns the framework ON. Documents and document sets are then evaluated against the rules of the ON frameworks (pass, fail, not applicable or unclear, each with a reason and a quote), and the failed and unclear checks form a worklist. A workspace can switch its decider to `external`, so that every model step is offered as a task to its own agent instead of the platform's model. These endpoints belong to the Compliance app (catalog slug `compliance`); they return 404 in a workspace that has not added the app \u2014 `GET /v1/apps` lists a workspace's apps by slug."
224
224
  },
225
+ {
226
+ name: "Processes",
227
+ description: "The Process Plane: processes that govern what happens to documents and items (reading, look-ups, calls, sign-offs, forms, mail, AI steps) and who signs. Not an app: every route needs the key's person to hold a Process Plane permission in the workspace (process_view to read, process_run to start, process_sign to sign), read live on each call."
228
+ },
225
229
  {
226
230
  name: "Contracts",
227
231
  description: "Folds every contract's documents (base contract, amendments, renewals, terminations, price sheets) into one record per contract: the terms in force, the contract's status on the day, the dates that need someone and the processes the contract's data starts for sales, billing, legal, operations and the other departments. Every term cites the document and the verbatim quote it was read from, and counts only when the quote occurs in the document. A person's corrections (document role, exclusion, re-keying, hand-set terms, decisions) persist across re-reads and are audited with the calling key as the actor. These endpoints belong to the Contracts app (catalog slug `contracts`); they return 404 in a workspace that has not added the app \u2014 `GET /v1/apps` lists a workspace's apps by slug."
@@ -33247,6 +33251,470 @@ var openapi_default = {
33247
33251
  }
33248
33252
  }
33249
33253
  },
33254
+ "/v1/processes": {
33255
+ get: {
33256
+ operationId: "listProcesses",
33257
+ summary: "Processes of the workspace",
33258
+ description: "Every process with its live version, folder, tags, step count and last edit. Needs process_view.",
33259
+ tags: [
33260
+ "Processes"
33261
+ ],
33262
+ responses: {
33263
+ "200": {
33264
+ description: "The processes.",
33265
+ content: {
33266
+ "application/json": {
33267
+ schema: {
33268
+ type: "object",
33269
+ properties: {
33270
+ data: {
33271
+ type: "array",
33272
+ items: {
33273
+ type: "object",
33274
+ properties: {
33275
+ id: {
33276
+ type: "string",
33277
+ format: "uuid"
33278
+ },
33279
+ name: {
33280
+ type: "string"
33281
+ },
33282
+ liveVersion: {
33283
+ type: "integer",
33284
+ nullable: true
33285
+ },
33286
+ folder: {
33287
+ type: "string",
33288
+ nullable: true
33289
+ },
33290
+ tags: {
33291
+ type: "array",
33292
+ items: {
33293
+ type: "string"
33294
+ }
33295
+ },
33296
+ steps: {
33297
+ type: "integer"
33298
+ },
33299
+ editedAt: {
33300
+ type: "string",
33301
+ format: "date-time"
33302
+ }
33303
+ }
33304
+ }
33305
+ }
33306
+ }
33307
+ }
33308
+ }
33309
+ }
33310
+ },
33311
+ "403": {
33312
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33313
+ }
33314
+ }
33315
+ }
33316
+ },
33317
+ "/v1/processes/runs": {
33318
+ get: {
33319
+ operationId: "listProcessRuns",
33320
+ summary: "Runs across processes",
33321
+ description: "Newest first, 50 a page, with item counts by state. `stuck` is an open run with a failed item. Needs process_view.",
33322
+ tags: [
33323
+ "Processes"
33324
+ ],
33325
+ parameters: [
33326
+ {
33327
+ name: "state",
33328
+ in: "query",
33329
+ schema: {
33330
+ type: "string",
33331
+ enum: [
33332
+ "running",
33333
+ "completed",
33334
+ "failed",
33335
+ "stuck"
33336
+ ]
33337
+ }
33338
+ },
33339
+ {
33340
+ name: "process",
33341
+ in: "query",
33342
+ schema: {
33343
+ type: "string",
33344
+ format: "uuid"
33345
+ }
33346
+ },
33347
+ {
33348
+ name: "waitingForMe",
33349
+ in: "query",
33350
+ schema: {
33351
+ type: "string",
33352
+ enum: [
33353
+ "0",
33354
+ "1"
33355
+ ]
33356
+ },
33357
+ description: "Only runs with a sign-off or form waiting for the key's person."
33358
+ },
33359
+ {
33360
+ name: "page",
33361
+ in: "query",
33362
+ schema: {
33363
+ type: "integer",
33364
+ minimum: 0
33365
+ }
33366
+ }
33367
+ ],
33368
+ responses: {
33369
+ "200": {
33370
+ description: "`{ runs, page, more }`."
33371
+ },
33372
+ "403": {
33373
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33374
+ }
33375
+ }
33376
+ }
33377
+ },
33378
+ "/v1/processes/waiting": {
33379
+ get: {
33380
+ operationId: "listProcessWaiting",
33381
+ summary: "Sign-offs and forms waiting for the key's person",
33382
+ description: "Per process and step, how many items wait for the person behind the key. Needs process_sign.",
33383
+ tags: [
33384
+ "Processes"
33385
+ ],
33386
+ responses: {
33387
+ "200": {
33388
+ description: "`{ data: [{ processId, process, stepId, step, waiting }] }`."
33389
+ },
33390
+ "403": {
33391
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33392
+ }
33393
+ }
33394
+ }
33395
+ },
33396
+ "/v1/processes/{id}": {
33397
+ get: {
33398
+ operationId: "getProcess",
33399
+ summary: "One process with its draft",
33400
+ tags: [
33401
+ "Processes"
33402
+ ],
33403
+ parameters: [
33404
+ {
33405
+ name: "id",
33406
+ in: "path",
33407
+ required: true,
33408
+ schema: {
33409
+ type: "string",
33410
+ format: "uuid"
33411
+ }
33412
+ }
33413
+ ],
33414
+ responses: {
33415
+ "200": {
33416
+ description: "The process."
33417
+ },
33418
+ "403": {
33419
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33420
+ },
33421
+ "404": {
33422
+ $ref: "#/components/responses/NotFound"
33423
+ }
33424
+ }
33425
+ }
33426
+ },
33427
+ "/v1/processes/{id}/items": {
33428
+ get: {
33429
+ operationId: "listProcessItems",
33430
+ summary: "Items of a run and their state",
33431
+ tags: [
33432
+ "Processes"
33433
+ ],
33434
+ parameters: [
33435
+ {
33436
+ name: "id",
33437
+ in: "path",
33438
+ required: true,
33439
+ schema: {
33440
+ type: "string",
33441
+ format: "uuid"
33442
+ }
33443
+ },
33444
+ {
33445
+ name: "run",
33446
+ in: "query",
33447
+ schema: {
33448
+ type: "string",
33449
+ format: "uuid"
33450
+ },
33451
+ description: "Default: the latest run."
33452
+ }
33453
+ ],
33454
+ responses: {
33455
+ "200": {
33456
+ description: "`{ runId, items: [{ documentId, name, state, at }] }`."
33457
+ },
33458
+ "403": {
33459
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33460
+ }
33461
+ }
33462
+ },
33463
+ post: {
33464
+ operationId: "postProcessItem",
33465
+ summary: "Start a run for one item",
33466
+ description: "Values by field name. Only for a process whose items are posted (started by hand, by another system or by a form). When the process has a reply step that answers in time, the reply comes back. Needs process_run and the write scope.",
33467
+ tags: [
33468
+ "Processes"
33469
+ ],
33470
+ parameters: [
33471
+ {
33472
+ name: "id",
33473
+ in: "path",
33474
+ required: true,
33475
+ schema: {
33476
+ type: "string",
33477
+ format: "uuid"
33478
+ }
33479
+ }
33480
+ ],
33481
+ requestBody: {
33482
+ required: true,
33483
+ content: {
33484
+ "application/json": {
33485
+ schema: {
33486
+ type: "object",
33487
+ required: [
33488
+ "values"
33489
+ ],
33490
+ properties: {
33491
+ values: {
33492
+ type: "object",
33493
+ additionalProperties: true,
33494
+ example: {
33495
+ Vendor: "Acme"
33496
+ }
33497
+ }
33498
+ }
33499
+ }
33500
+ }
33501
+ }
33502
+ },
33503
+ responses: {
33504
+ "201": {
33505
+ description: "`{ runId, process, reply? }`."
33506
+ },
33507
+ "403": {
33508
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33509
+ },
33510
+ "404": {
33511
+ $ref: "#/components/responses/NotFound"
33512
+ },
33513
+ "422": {
33514
+ description: "A field name the process does not have (the answer lists its fields)."
33515
+ }
33516
+ }
33517
+ }
33518
+ },
33519
+ "/v1/processes/{id}/run": {
33520
+ post: {
33521
+ operationId: "runProcessOnDocuments",
33522
+ summary: "Start a run on documents",
33523
+ description: "Needs process_run and the write scope.",
33524
+ tags: [
33525
+ "Processes"
33526
+ ],
33527
+ parameters: [
33528
+ {
33529
+ name: "id",
33530
+ in: "path",
33531
+ required: true,
33532
+ schema: {
33533
+ type: "string",
33534
+ format: "uuid"
33535
+ }
33536
+ }
33537
+ ],
33538
+ requestBody: {
33539
+ required: true,
33540
+ content: {
33541
+ "application/json": {
33542
+ schema: {
33543
+ type: "object",
33544
+ required: [
33545
+ "documentIds"
33546
+ ],
33547
+ properties: {
33548
+ documentIds: {
33549
+ type: "array",
33550
+ items: {
33551
+ type: "string",
33552
+ format: "uuid"
33553
+ }
33554
+ }
33555
+ }
33556
+ }
33557
+ }
33558
+ }
33559
+ },
33560
+ responses: {
33561
+ "201": {
33562
+ description: "`{ runId, pipelineIds }`."
33563
+ },
33564
+ "403": {
33565
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33566
+ }
33567
+ }
33568
+ }
33569
+ },
33570
+ "/v1/processes/{id}/status": {
33571
+ get: {
33572
+ operationId: "getProcessStatus",
33573
+ summary: "Per-step counts of a run",
33574
+ tags: [
33575
+ "Processes"
33576
+ ],
33577
+ parameters: [
33578
+ {
33579
+ name: "id",
33580
+ in: "path",
33581
+ required: true,
33582
+ schema: {
33583
+ type: "string",
33584
+ format: "uuid"
33585
+ }
33586
+ },
33587
+ {
33588
+ name: "run",
33589
+ in: "query",
33590
+ schema: {
33591
+ type: "string",
33592
+ format: "uuid"
33593
+ }
33594
+ }
33595
+ ],
33596
+ responses: {
33597
+ "200": {
33598
+ description: "The run's status by step."
33599
+ },
33600
+ "403": {
33601
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33602
+ }
33603
+ }
33604
+ }
33605
+ },
33606
+ "/v1/processes/{id}/runs/{runId}/items/{itemKey}": {
33607
+ get: {
33608
+ operationId: "getProcessItemTrace",
33609
+ summary: "One item's way through a run, and its values",
33610
+ tags: [
33611
+ "Processes"
33612
+ ],
33613
+ parameters: [
33614
+ {
33615
+ name: "id",
33616
+ in: "path",
33617
+ required: true,
33618
+ schema: {
33619
+ type: "string",
33620
+ format: "uuid"
33621
+ }
33622
+ },
33623
+ {
33624
+ name: "runId",
33625
+ in: "path",
33626
+ required: true,
33627
+ schema: {
33628
+ type: "string",
33629
+ format: "uuid"
33630
+ }
33631
+ },
33632
+ {
33633
+ name: "itemKey",
33634
+ in: "path",
33635
+ required: true,
33636
+ schema: {
33637
+ type: "string"
33638
+ }
33639
+ }
33640
+ ],
33641
+ responses: {
33642
+ "200": {
33643
+ description: "`{ steps: [{ stepId, name, kind, status, startedAt, endedAt, note, canRetry }], values: [{ name, value }] }`."
33644
+ },
33645
+ "403": {
33646
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33647
+ }
33648
+ }
33649
+ }
33650
+ },
33651
+ "/v1/processes/{id}/runs/{runId}/holds/{stepId}/release": {
33652
+ post: {
33653
+ operationId: "signProcessHold",
33654
+ summary: "Sign a sign-off step",
33655
+ description: "Only where the key's person is assigned to the step, as on the screen; a step with choices needs `decision`. Needs process_sign and the write scope.",
33656
+ tags: [
33657
+ "Processes"
33658
+ ],
33659
+ parameters: [
33660
+ {
33661
+ name: "id",
33662
+ in: "path",
33663
+ required: true,
33664
+ schema: {
33665
+ type: "string",
33666
+ format: "uuid"
33667
+ }
33668
+ },
33669
+ {
33670
+ name: "runId",
33671
+ in: "path",
33672
+ required: true,
33673
+ schema: {
33674
+ type: "string",
33675
+ format: "uuid"
33676
+ }
33677
+ },
33678
+ {
33679
+ name: "stepId",
33680
+ in: "path",
33681
+ required: true,
33682
+ schema: {
33683
+ type: "string"
33684
+ }
33685
+ }
33686
+ ],
33687
+ requestBody: {
33688
+ content: {
33689
+ "application/json": {
33690
+ schema: {
33691
+ type: "object",
33692
+ properties: {
33693
+ items: {
33694
+ type: "array",
33695
+ items: {
33696
+ type: "string"
33697
+ },
33698
+ description: "Item keys; default every waiting item."
33699
+ },
33700
+ decision: {
33701
+ type: "string"
33702
+ }
33703
+ }
33704
+ }
33705
+ }
33706
+ }
33707
+ },
33708
+ responses: {
33709
+ "201": {
33710
+ description: "`{ released, alreadySigned }`."
33711
+ },
33712
+ "403": {
33713
+ description: "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33714
+ }
33715
+ }
33716
+ }
33717
+ },
33250
33718
  "/v1/contracts": {
33251
33719
  get: {
33252
33720
  operationId: "listContracts",
package/openapi.json CHANGED
@@ -221,6 +221,10 @@
221
221
  "name": "Compliance",
222
222
  "description": "Turns compliance and regulatory frameworks into checkable rules and judges documents against them. A framework is a workspace document; rules are derived from its text, and a person turns the framework ON. Documents and document sets are then evaluated against the rules of the ON frameworks (pass, fail, not applicable or unclear, each with a reason and a quote), and the failed and unclear checks form a worklist. A workspace can switch its decider to `external`, so that every model step is offered as a task to its own agent instead of the platform's model. These endpoints belong to the Compliance app (catalog slug `compliance`); they return 404 in a workspace that has not added the app — `GET /v1/apps` lists a workspace's apps by slug."
223
223
  },
224
+ {
225
+ "name": "Processes",
226
+ "description": "The Process Plane: processes that govern what happens to documents and items (reading, look-ups, calls, sign-offs, forms, mail, AI steps) and who signs. Not an app: every route needs the key's person to hold a Process Plane permission in the workspace (process_view to read, process_run to start, process_sign to sign), read live on each call."
227
+ },
224
228
  {
225
229
  "name": "Contracts",
226
230
  "description": "Folds every contract's documents (base contract, amendments, renewals, terminations, price sheets) into one record per contract: the terms in force, the contract's status on the day, the dates that need someone and the processes the contract's data starts for sales, billing, legal, operations and the other departments. Every term cites the document and the verbatim quote it was read from, and counts only when the quote occurs in the document. A person's corrections (document role, exclusion, re-keying, hand-set terms, decisions) persist across re-reads and are audited with the calling key as the actor. These endpoints belong to the Contracts app (catalog slug `contracts`); they return 404 in a workspace that has not added the app — `GET /v1/apps` lists a workspace's apps by slug."
@@ -33227,6 +33231,470 @@
33227
33231
  }
33228
33232
  }
33229
33233
  },
33234
+ "/v1/processes": {
33235
+ "get": {
33236
+ "operationId": "listProcesses",
33237
+ "summary": "Processes of the workspace",
33238
+ "description": "Every process with its live version, folder, tags, step count and last edit. Needs process_view.",
33239
+ "tags": [
33240
+ "Processes"
33241
+ ],
33242
+ "responses": {
33243
+ "200": {
33244
+ "description": "The processes.",
33245
+ "content": {
33246
+ "application/json": {
33247
+ "schema": {
33248
+ "type": "object",
33249
+ "properties": {
33250
+ "data": {
33251
+ "type": "array",
33252
+ "items": {
33253
+ "type": "object",
33254
+ "properties": {
33255
+ "id": {
33256
+ "type": "string",
33257
+ "format": "uuid"
33258
+ },
33259
+ "name": {
33260
+ "type": "string"
33261
+ },
33262
+ "liveVersion": {
33263
+ "type": "integer",
33264
+ "nullable": true
33265
+ },
33266
+ "folder": {
33267
+ "type": "string",
33268
+ "nullable": true
33269
+ },
33270
+ "tags": {
33271
+ "type": "array",
33272
+ "items": {
33273
+ "type": "string"
33274
+ }
33275
+ },
33276
+ "steps": {
33277
+ "type": "integer"
33278
+ },
33279
+ "editedAt": {
33280
+ "type": "string",
33281
+ "format": "date-time"
33282
+ }
33283
+ }
33284
+ }
33285
+ }
33286
+ }
33287
+ }
33288
+ }
33289
+ }
33290
+ },
33291
+ "403": {
33292
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33293
+ }
33294
+ }
33295
+ }
33296
+ },
33297
+ "/v1/processes/runs": {
33298
+ "get": {
33299
+ "operationId": "listProcessRuns",
33300
+ "summary": "Runs across processes",
33301
+ "description": "Newest first, 50 a page, with item counts by state. `stuck` is an open run with a failed item. Needs process_view.",
33302
+ "tags": [
33303
+ "Processes"
33304
+ ],
33305
+ "parameters": [
33306
+ {
33307
+ "name": "state",
33308
+ "in": "query",
33309
+ "schema": {
33310
+ "type": "string",
33311
+ "enum": [
33312
+ "running",
33313
+ "completed",
33314
+ "failed",
33315
+ "stuck"
33316
+ ]
33317
+ }
33318
+ },
33319
+ {
33320
+ "name": "process",
33321
+ "in": "query",
33322
+ "schema": {
33323
+ "type": "string",
33324
+ "format": "uuid"
33325
+ }
33326
+ },
33327
+ {
33328
+ "name": "waitingForMe",
33329
+ "in": "query",
33330
+ "schema": {
33331
+ "type": "string",
33332
+ "enum": [
33333
+ "0",
33334
+ "1"
33335
+ ]
33336
+ },
33337
+ "description": "Only runs with a sign-off or form waiting for the key's person."
33338
+ },
33339
+ {
33340
+ "name": "page",
33341
+ "in": "query",
33342
+ "schema": {
33343
+ "type": "integer",
33344
+ "minimum": 0
33345
+ }
33346
+ }
33347
+ ],
33348
+ "responses": {
33349
+ "200": {
33350
+ "description": "`{ runs, page, more }`."
33351
+ },
33352
+ "403": {
33353
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33354
+ }
33355
+ }
33356
+ }
33357
+ },
33358
+ "/v1/processes/waiting": {
33359
+ "get": {
33360
+ "operationId": "listProcessWaiting",
33361
+ "summary": "Sign-offs and forms waiting for the key's person",
33362
+ "description": "Per process and step, how many items wait for the person behind the key. Needs process_sign.",
33363
+ "tags": [
33364
+ "Processes"
33365
+ ],
33366
+ "responses": {
33367
+ "200": {
33368
+ "description": "`{ data: [{ processId, process, stepId, step, waiting }] }`."
33369
+ },
33370
+ "403": {
33371
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33372
+ }
33373
+ }
33374
+ }
33375
+ },
33376
+ "/v1/processes/{id}": {
33377
+ "get": {
33378
+ "operationId": "getProcess",
33379
+ "summary": "One process with its draft",
33380
+ "tags": [
33381
+ "Processes"
33382
+ ],
33383
+ "parameters": [
33384
+ {
33385
+ "name": "id",
33386
+ "in": "path",
33387
+ "required": true,
33388
+ "schema": {
33389
+ "type": "string",
33390
+ "format": "uuid"
33391
+ }
33392
+ }
33393
+ ],
33394
+ "responses": {
33395
+ "200": {
33396
+ "description": "The process."
33397
+ },
33398
+ "403": {
33399
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33400
+ },
33401
+ "404": {
33402
+ "$ref": "#/components/responses/NotFound"
33403
+ }
33404
+ }
33405
+ }
33406
+ },
33407
+ "/v1/processes/{id}/items": {
33408
+ "get": {
33409
+ "operationId": "listProcessItems",
33410
+ "summary": "Items of a run and their state",
33411
+ "tags": [
33412
+ "Processes"
33413
+ ],
33414
+ "parameters": [
33415
+ {
33416
+ "name": "id",
33417
+ "in": "path",
33418
+ "required": true,
33419
+ "schema": {
33420
+ "type": "string",
33421
+ "format": "uuid"
33422
+ }
33423
+ },
33424
+ {
33425
+ "name": "run",
33426
+ "in": "query",
33427
+ "schema": {
33428
+ "type": "string",
33429
+ "format": "uuid"
33430
+ },
33431
+ "description": "Default: the latest run."
33432
+ }
33433
+ ],
33434
+ "responses": {
33435
+ "200": {
33436
+ "description": "`{ runId, items: [{ documentId, name, state, at }] }`."
33437
+ },
33438
+ "403": {
33439
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33440
+ }
33441
+ }
33442
+ },
33443
+ "post": {
33444
+ "operationId": "postProcessItem",
33445
+ "summary": "Start a run for one item",
33446
+ "description": "Values by field name. Only for a process whose items are posted (started by hand, by another system or by a form). When the process has a reply step that answers in time, the reply comes back. Needs process_run and the write scope.",
33447
+ "tags": [
33448
+ "Processes"
33449
+ ],
33450
+ "parameters": [
33451
+ {
33452
+ "name": "id",
33453
+ "in": "path",
33454
+ "required": true,
33455
+ "schema": {
33456
+ "type": "string",
33457
+ "format": "uuid"
33458
+ }
33459
+ }
33460
+ ],
33461
+ "requestBody": {
33462
+ "required": true,
33463
+ "content": {
33464
+ "application/json": {
33465
+ "schema": {
33466
+ "type": "object",
33467
+ "required": [
33468
+ "values"
33469
+ ],
33470
+ "properties": {
33471
+ "values": {
33472
+ "type": "object",
33473
+ "additionalProperties": true,
33474
+ "example": {
33475
+ "Vendor": "Acme"
33476
+ }
33477
+ }
33478
+ }
33479
+ }
33480
+ }
33481
+ }
33482
+ },
33483
+ "responses": {
33484
+ "201": {
33485
+ "description": "`{ runId, process, reply? }`."
33486
+ },
33487
+ "403": {
33488
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33489
+ },
33490
+ "404": {
33491
+ "$ref": "#/components/responses/NotFound"
33492
+ },
33493
+ "422": {
33494
+ "description": "A field name the process does not have (the answer lists its fields)."
33495
+ }
33496
+ }
33497
+ }
33498
+ },
33499
+ "/v1/processes/{id}/run": {
33500
+ "post": {
33501
+ "operationId": "runProcessOnDocuments",
33502
+ "summary": "Start a run on documents",
33503
+ "description": "Needs process_run and the write scope.",
33504
+ "tags": [
33505
+ "Processes"
33506
+ ],
33507
+ "parameters": [
33508
+ {
33509
+ "name": "id",
33510
+ "in": "path",
33511
+ "required": true,
33512
+ "schema": {
33513
+ "type": "string",
33514
+ "format": "uuid"
33515
+ }
33516
+ }
33517
+ ],
33518
+ "requestBody": {
33519
+ "required": true,
33520
+ "content": {
33521
+ "application/json": {
33522
+ "schema": {
33523
+ "type": "object",
33524
+ "required": [
33525
+ "documentIds"
33526
+ ],
33527
+ "properties": {
33528
+ "documentIds": {
33529
+ "type": "array",
33530
+ "items": {
33531
+ "type": "string",
33532
+ "format": "uuid"
33533
+ }
33534
+ }
33535
+ }
33536
+ }
33537
+ }
33538
+ }
33539
+ },
33540
+ "responses": {
33541
+ "201": {
33542
+ "description": "`{ runId, pipelineIds }`."
33543
+ },
33544
+ "403": {
33545
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33546
+ }
33547
+ }
33548
+ }
33549
+ },
33550
+ "/v1/processes/{id}/status": {
33551
+ "get": {
33552
+ "operationId": "getProcessStatus",
33553
+ "summary": "Per-step counts of a run",
33554
+ "tags": [
33555
+ "Processes"
33556
+ ],
33557
+ "parameters": [
33558
+ {
33559
+ "name": "id",
33560
+ "in": "path",
33561
+ "required": true,
33562
+ "schema": {
33563
+ "type": "string",
33564
+ "format": "uuid"
33565
+ }
33566
+ },
33567
+ {
33568
+ "name": "run",
33569
+ "in": "query",
33570
+ "schema": {
33571
+ "type": "string",
33572
+ "format": "uuid"
33573
+ }
33574
+ }
33575
+ ],
33576
+ "responses": {
33577
+ "200": {
33578
+ "description": "The run's status by step."
33579
+ },
33580
+ "403": {
33581
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33582
+ }
33583
+ }
33584
+ }
33585
+ },
33586
+ "/v1/processes/{id}/runs/{runId}/items/{itemKey}": {
33587
+ "get": {
33588
+ "operationId": "getProcessItemTrace",
33589
+ "summary": "One item's way through a run, and its values",
33590
+ "tags": [
33591
+ "Processes"
33592
+ ],
33593
+ "parameters": [
33594
+ {
33595
+ "name": "id",
33596
+ "in": "path",
33597
+ "required": true,
33598
+ "schema": {
33599
+ "type": "string",
33600
+ "format": "uuid"
33601
+ }
33602
+ },
33603
+ {
33604
+ "name": "runId",
33605
+ "in": "path",
33606
+ "required": true,
33607
+ "schema": {
33608
+ "type": "string",
33609
+ "format": "uuid"
33610
+ }
33611
+ },
33612
+ {
33613
+ "name": "itemKey",
33614
+ "in": "path",
33615
+ "required": true,
33616
+ "schema": {
33617
+ "type": "string"
33618
+ }
33619
+ }
33620
+ ],
33621
+ "responses": {
33622
+ "200": {
33623
+ "description": "`{ steps: [{ stepId, name, kind, status, startedAt, endedAt, note, canRetry }], values: [{ name, value }] }`."
33624
+ },
33625
+ "403": {
33626
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33627
+ }
33628
+ }
33629
+ }
33630
+ },
33631
+ "/v1/processes/{id}/runs/{runId}/holds/{stepId}/release": {
33632
+ "post": {
33633
+ "operationId": "signProcessHold",
33634
+ "summary": "Sign a sign-off step",
33635
+ "description": "Only where the key's person is assigned to the step, as on the screen; a step with choices needs `decision`. Needs process_sign and the write scope.",
33636
+ "tags": [
33637
+ "Processes"
33638
+ ],
33639
+ "parameters": [
33640
+ {
33641
+ "name": "id",
33642
+ "in": "path",
33643
+ "required": true,
33644
+ "schema": {
33645
+ "type": "string",
33646
+ "format": "uuid"
33647
+ }
33648
+ },
33649
+ {
33650
+ "name": "runId",
33651
+ "in": "path",
33652
+ "required": true,
33653
+ "schema": {
33654
+ "type": "string",
33655
+ "format": "uuid"
33656
+ }
33657
+ },
33658
+ {
33659
+ "name": "stepId",
33660
+ "in": "path",
33661
+ "required": true,
33662
+ "schema": {
33663
+ "type": "string"
33664
+ }
33665
+ }
33666
+ ],
33667
+ "requestBody": {
33668
+ "content": {
33669
+ "application/json": {
33670
+ "schema": {
33671
+ "type": "object",
33672
+ "properties": {
33673
+ "items": {
33674
+ "type": "array",
33675
+ "items": {
33676
+ "type": "string"
33677
+ },
33678
+ "description": "Item keys; default every waiting item."
33679
+ },
33680
+ "decision": {
33681
+ "type": "string"
33682
+ }
33683
+ }
33684
+ }
33685
+ }
33686
+ }
33687
+ },
33688
+ "responses": {
33689
+ "201": {
33690
+ "description": "`{ released, alreadySigned }`."
33691
+ },
33692
+ "403": {
33693
+ "description": "The key has no person, the person lacks the Process Plane permission, or the key lacks the scope."
33694
+ }
33695
+ }
33696
+ }
33697
+ },
33230
33698
  "/v1/contracts": {
33231
33699
  "get": {
33232
33700
  "operationId": "listContracts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.77",
3
+ "version": "0.21.78",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -1,45 +0,0 @@
1
- /**
2
- * Tailwind CSS preset for @talonic/docs consumers.
3
- * Adds the Void design system color tokens and font families
4
- * so doc components render correctly in any host app.
5
- */
6
- declare const voidDocsPreset: {
7
- darkMode: "class";
8
- theme: {
9
- extend: {
10
- colors: {
11
- 'void-bg': string;
12
- 'void-bg-elevated': string;
13
- 'void-surface': string;
14
- 'void-surface-2': string;
15
- 'void-surface-3': string;
16
- 'void-border': string;
17
- 'void-border-hover': string;
18
- 'void-text-primary': string;
19
- 'void-text-secondary': string;
20
- 'void-text-muted': string;
21
- 'void-text-tertiary': string;
22
- 'void-accent': string;
23
- 'void-accent-hover': string;
24
- 'void-accent-dim': string;
25
- 'void-accent-tint': string;
26
- 'void-danger': string;
27
- 'void-danger-solid': string;
28
- 'void-divider': string;
29
- 'void-warning': string;
30
- 'void-warning-dim': string;
31
- 'void-tier-1': string;
32
- 'void-tier-2': string;
33
- 'void-tier-3': string;
34
- };
35
- fontFamily: {
36
- space: string[];
37
- body: string[];
38
- mono: string[];
39
- };
40
- };
41
- };
42
- plugins: never[];
43
- };
44
-
45
- export { voidDocsPreset as default };
@@ -1,45 +0,0 @@
1
- /**
2
- * Tailwind CSS preset for @talonic/docs consumers.
3
- * Adds the Void design system color tokens and font families
4
- * so doc components render correctly in any host app.
5
- */
6
- declare const voidDocsPreset: {
7
- darkMode: "class";
8
- theme: {
9
- extend: {
10
- colors: {
11
- 'void-bg': string;
12
- 'void-bg-elevated': string;
13
- 'void-surface': string;
14
- 'void-surface-2': string;
15
- 'void-surface-3': string;
16
- 'void-border': string;
17
- 'void-border-hover': string;
18
- 'void-text-primary': string;
19
- 'void-text-secondary': string;
20
- 'void-text-muted': string;
21
- 'void-text-tertiary': string;
22
- 'void-accent': string;
23
- 'void-accent-hover': string;
24
- 'void-accent-dim': string;
25
- 'void-accent-tint': string;
26
- 'void-danger': string;
27
- 'void-danger-solid': string;
28
- 'void-divider': string;
29
- 'void-warning': string;
30
- 'void-warning-dim': string;
31
- 'void-tier-1': string;
32
- 'void-tier-2': string;
33
- 'void-tier-3': string;
34
- };
35
- fontFamily: {
36
- space: string[];
37
- body: string[];
38
- mono: string[];
39
- };
40
- };
41
- };
42
- plugins: never[];
43
- };
44
-
45
- export { voidDocsPreset as default };