@inklok/api-spec 7.2.2 → 7.3.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 +29 -18
  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.2.2"
11
+ version: "7.3.0"
12
12
  contact:
13
13
  name: Inklok API Support
14
14
  email: support@inklok.com
@@ -2051,9 +2051,10 @@ paths:
2051
2051
  summary: Resolve a party signing session
2052
2052
  x-visibility: internal
2053
2053
  description: >
2054
- Returns a valid signing URL for the requested execution party when that party
2055
- is the active signer for the agreement. Creates a new magic link if necessary.
2056
- x-required-roles: [workflow-editor, workflow-operator, agreement-auditor, organization-admin, platform-super-admin]
2054
+ Returns a short-lived signer session for the requested execution party when
2055
+ the authenticated Cognito user is the active signer for the agreement. This
2056
+ endpoint never creates or returns magic links.
2057
+ x-required-roles: []
2057
2058
  tags:
2058
2059
  - Agreements
2059
2060
  parameters:
@@ -2082,10 +2083,19 @@ paths:
2082
2083
  schema:
2083
2084
  type: object
2084
2085
  required:
2085
- - signingUrl
2086
+ - signerToken
2086
2087
  properties:
2087
- signingUrl:
2088
+ signerToken:
2089
+ type: string
2090
+ tokenType:
2088
2091
  type: string
2092
+ example: Bearer
2093
+ expiresIn:
2094
+ type: integer
2095
+ minimum: 1
2096
+ expiresAt:
2097
+ type: string
2098
+ format: date-time
2089
2099
  '401':
2090
2100
  $ref: '#/components/responses/Unauthorized'
2091
2101
  '403':
@@ -2188,18 +2198,18 @@ paths:
2188
2198
  /me/sandbox/inbox:
2189
2199
  get:
2190
2200
  operationId: listMeSandboxInbox
2191
- summary: List simulated agreement emails from the current user's sandbox
2201
+ summary: List simulated agreement emails from Sandbox Inbox
2192
2202
  x-visibility: internal
2193
2203
  description: |
2194
2204
  Returns simulated emails generated by sandbox agreement workflows visible
2195
- to the authenticated account. When an agreement action would normally send
2196
- a notification to a party, Inklok creates a simulated email in Sandbox Inbox
2197
- instead. No emails are sent to recipients.
2198
- Recipient email address is not used for visibility. The endpoint uses an
2199
- explicit allowlist of agreement lifecycle email event types and never returns
2200
- authentication, identity, invitation, security, or generic outbound email history.
2201
- Each item includes the rendered simulated email HTML and plain-text body when
2202
- the simulated email content is available.
2205
+ to the authenticated account or the caller's sandbox API-key organization.
2206
+ When an agreement action would normally send a notification to a party,
2207
+ Inklok creates a simulated email in Sandbox Inbox instead. No emails are
2208
+ sent to recipients. Recipient email address is not used for visibility.
2209
+ The endpoint uses an explicit allowlist of agreement lifecycle email event
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.
2203
2213
  x-required-roles: [workflow-editor, workflow-operator, agreement-auditor, organization-admin, platform-super-admin]
2204
2214
  x-required-scopes: [agreements:read]
2205
2215
  tags:
@@ -2588,13 +2598,14 @@ paths:
2588
2598
  operationId: signingInitiate
2589
2599
  summary: Create a signing session
2590
2600
  description: >
2591
- Creates a short-lived signing token for the specified agreement participant.
2592
- Use the token to let that recipient review and complete their signing step.
2601
+ Creates a short-lived signing token for the specified agreement participant
2602
+ only when the caller is that participant. API-key authentication is not
2603
+ supported for this endpoint.
2593
2604
  tags:
2594
2605
  - Signing
2595
2606
  security:
2596
2607
  - bearerAuth: []
2597
- x-required-scopes: [agreements:write]
2608
+ x-required-roles: []
2598
2609
  requestBody:
2599
2610
  required: true
2600
2611
  content:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inklok/api-spec",
3
- "version": "7.2.2",
3
+ "version": "7.3.0",
4
4
  "description": "Canonical OpenAPI specification for the Inklok public API.",
5
5
  "main": "openapi.yaml",
6
6
  "license": "MIT",