@inklok/api-spec 7.3.0 → 7.5.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.
Files changed (2) hide show
  1. package/openapi.yaml +41 -14
  2. package/package.json +1 -1
package/openapi.yaml CHANGED
@@ -8,7 +8,7 @@ info:
8
8
  Authenticate using an API key or bearer token, then use the resources below to manage
9
9
  templates, agreements, documents, and signing. For your first integration, start with
10
10
  the Quick Start guide.
11
- version: "7.3.0"
11
+ version: "7.5.0"
12
12
  contact:
13
13
  name: Inklok API Support
14
14
  email: support@inklok.com
@@ -2208,12 +2208,29 @@ paths:
2208
2208
  sent to recipients. Recipient email address is not used for visibility.
2209
2209
  The endpoint uses an explicit allowlist of agreement lifecycle email event
2210
2210
  types and never returns authentication, identity, invitation, security, or
2211
- generic outbound email history. Each item includes the rendered simulated
2212
- email HTML and plain-text body when the simulated email content is available.
2211
+ generic outbound email history. List items are summary-only and do not
2212
+ include rendered email bodies.
2213
2213
  x-required-roles: [workflow-editor, workflow-operator, agreement-auditor, organization-admin, platform-super-admin]
2214
2214
  x-required-scopes: [agreements:read]
2215
2215
  tags:
2216
2216
  - Me
2217
+ parameters:
2218
+ - name: limit
2219
+ in: query
2220
+ required: false
2221
+ schema:
2222
+ type: integer
2223
+ minimum: 1
2224
+ maximum: 50
2225
+ default: 25
2226
+ description: Maximum number of inbox items to return.
2227
+ - name: cursor
2228
+ in: query
2229
+ required: false
2230
+ schema:
2231
+ type: string
2232
+ nullable: true
2233
+ description: Opaque pagination cursor returned by a previous response.
2217
2234
  responses:
2218
2235
  '200':
2219
2236
  description: Simulated Sandbox agreement emails for the authenticated user
@@ -2562,10 +2579,13 @@ paths:
2562
2579
  type: array
2563
2580
  items:
2564
2581
  type: object
2565
- required: [field_id, page, x, y, type, party_id]
2582
+ required: [field_id, label, page, x, y, type, party_id]
2566
2583
  properties:
2567
2584
  field_id:
2568
2585
  type: string
2586
+ label:
2587
+ type: string
2588
+ description: Display label copied from the source template placeholder, when provided.
2569
2589
  order:
2570
2590
  type: integer
2571
2591
  page:
@@ -3307,8 +3327,6 @@ components:
3307
3327
  - sender
3308
3328
  - subject
3309
3329
  - preview
3310
- - htmlBody
3311
- - textBody
3312
3330
  - sentAt
3313
3331
  properties:
3314
3332
  messageId:
@@ -3331,12 +3349,6 @@ components:
3331
3349
  nullable: true
3332
3350
  preview:
3333
3351
  type: string
3334
- htmlBody:
3335
- type: string
3336
- nullable: true
3337
- textBody:
3338
- type: string
3339
- nullable: true
3340
3352
  sentAt:
3341
3353
  type: string
3342
3354
  format: date-time
@@ -3345,6 +3357,8 @@ components:
3345
3357
  type: object
3346
3358
  required:
3347
3359
  - items
3360
+ - nextCursor
3361
+ - hasMore
3348
3362
  - count
3349
3363
  - generatedAt
3350
3364
  properties:
@@ -3352,6 +3366,12 @@ components:
3352
3366
  type: array
3353
3367
  items:
3354
3368
  $ref: '#/components/schemas/SandboxInboxItem'
3369
+ nextCursor:
3370
+ type: string
3371
+ nullable: true
3372
+ description: Opaque cursor for the next page, or null when no next page is available.
3373
+ hasMore:
3374
+ type: boolean
3355
3375
  count:
3356
3376
  type: integer
3357
3377
  generatedAt:
@@ -4946,7 +4966,7 @@ components:
4946
4966
  description: |
4947
4967
  Field placed on a template for a participant to complete.
4948
4968
  Coordinates are normalized to the document page.
4949
- required: [id, type, role, page, x_norm, y_norm, width_norm, height_norm]
4969
+ required: [id, type, role, label, page, x_norm, y_norm, width_norm, height_norm]
4950
4970
  properties:
4951
4971
  id:
4952
4972
  type: string
@@ -4974,6 +4994,10 @@ components:
4974
4994
  height_norm:
4975
4995
  type: number
4976
4996
  description: Normalized height (0–1)
4997
+ label:
4998
+ type: string
4999
+ minLength: 1
5000
+ description: Display label for the placeholder
4977
5001
  required:
4978
5002
  type: boolean
4979
5003
  description: Whether the placeholder must be completed by the assigned role
@@ -5345,10 +5369,13 @@ components:
5345
5369
 
5346
5370
  ExecutionPlaceholderValue:
5347
5371
  type: object
5348
- required: [placeholderId, participantId, value, signedAt]
5372
+ required: [placeholderId, label, participantId, value, signedAt]
5349
5373
  properties:
5350
5374
  placeholderId:
5351
5375
  type: string
5376
+ label:
5377
+ type: string
5378
+ description: Display label copied from the source template placeholder, when provided.
5352
5379
  participantId:
5353
5380
  type: string
5354
5381
  value:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inklok/api-spec",
3
- "version": "7.3.0",
3
+ "version": "7.5.0",
4
4
  "description": "Canonical OpenAPI specification for the Inklok public API.",
5
5
  "main": "openapi.yaml",
6
6
  "license": "MIT",