@arbidocs/client 0.4.60 → 0.4.62
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/index.d.cts +372 -356
- package/dist/index.d.ts +372 -356
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1335,7 +1335,8 @@ interface paths {
|
|
|
1335
1335
|
*
|
|
1336
1336
|
* Optional parameters for versions, provenance and document typing:
|
|
1337
1337
|
* - version_of: Saves the file as the next version of that document
|
|
1338
|
-
* - derived_from + derived_role: Records that the new document was made from another (a crop
|
|
1338
|
+
* - derived_from + derived_role: Records that the new document was made from another (a crop, a
|
|
1339
|
+
* redacted or annotated copy) or, with derived_from repeated, from several (a production set)
|
|
1339
1340
|
* - wp_type: Document type (source, skill, memory, artifact). Defaults to 'source'.
|
|
1340
1341
|
* - tag_ext_id: Links document to a tag
|
|
1341
1342
|
* - folder: Logical folder path for grouping (URL safe, e.g., 'skills/weather')
|
|
@@ -1582,6 +1583,66 @@ interface paths {
|
|
|
1582
1583
|
patch?: never;
|
|
1583
1584
|
trace?: never;
|
|
1584
1585
|
};
|
|
1586
|
+
'/v1/document/{document_ext_id}/sign/prepare': {
|
|
1587
|
+
parameters: {
|
|
1588
|
+
query?: never;
|
|
1589
|
+
header?: never;
|
|
1590
|
+
path?: never;
|
|
1591
|
+
cookie?: never;
|
|
1592
|
+
};
|
|
1593
|
+
get?: never;
|
|
1594
|
+
put?: never;
|
|
1595
|
+
/**
|
|
1596
|
+
* Prepare Document Signature
|
|
1597
|
+
* @description Return the exact statement the signer's key must sign, and the hash of the PDF they are shown.
|
|
1598
|
+
*/
|
|
1599
|
+
post: operations['prepare_document_signature'];
|
|
1600
|
+
delete?: never;
|
|
1601
|
+
options?: never;
|
|
1602
|
+
head?: never;
|
|
1603
|
+
patch?: never;
|
|
1604
|
+
trace?: never;
|
|
1605
|
+
};
|
|
1606
|
+
'/v1/document/{document_ext_id}/sign': {
|
|
1607
|
+
parameters: {
|
|
1608
|
+
query?: never;
|
|
1609
|
+
header?: never;
|
|
1610
|
+
path?: never;
|
|
1611
|
+
cookie?: never;
|
|
1612
|
+
};
|
|
1613
|
+
get?: never;
|
|
1614
|
+
put?: never;
|
|
1615
|
+
/**
|
|
1616
|
+
* Sign Document
|
|
1617
|
+
* @description Sign a document: verify the signer's statement, seal a signed copy, save it as a new child document.
|
|
1618
|
+
*/
|
|
1619
|
+
post: operations['sign_document'];
|
|
1620
|
+
delete?: never;
|
|
1621
|
+
options?: never;
|
|
1622
|
+
head?: never;
|
|
1623
|
+
patch?: never;
|
|
1624
|
+
trace?: never;
|
|
1625
|
+
};
|
|
1626
|
+
'/v1/document/{document_ext_id}/signatures': {
|
|
1627
|
+
parameters: {
|
|
1628
|
+
query?: never;
|
|
1629
|
+
header?: never;
|
|
1630
|
+
path?: never;
|
|
1631
|
+
cookie?: never;
|
|
1632
|
+
};
|
|
1633
|
+
/**
|
|
1634
|
+
* Get Document Signature Status
|
|
1635
|
+
* @description Is this document a signed copy, and is it unchanged since signing? Read from the PDF itself.
|
|
1636
|
+
*/
|
|
1637
|
+
get: operations['get_document_signature_status'];
|
|
1638
|
+
put?: never;
|
|
1639
|
+
post?: never;
|
|
1640
|
+
delete?: never;
|
|
1641
|
+
options?: never;
|
|
1642
|
+
head?: never;
|
|
1643
|
+
patch?: never;
|
|
1644
|
+
trace?: never;
|
|
1645
|
+
};
|
|
1585
1646
|
'/v1/conversation/list': {
|
|
1586
1647
|
parameters: {
|
|
1587
1648
|
query?: never;
|
|
@@ -4323,66 +4384,6 @@ interface paths {
|
|
|
4323
4384
|
patch?: never;
|
|
4324
4385
|
trace?: never;
|
|
4325
4386
|
};
|
|
4326
|
-
'/v1/document/{document_ext_id}/sign/prepare': {
|
|
4327
|
-
parameters: {
|
|
4328
|
-
query?: never;
|
|
4329
|
-
header?: never;
|
|
4330
|
-
path?: never;
|
|
4331
|
-
cookie?: never;
|
|
4332
|
-
};
|
|
4333
|
-
get?: never;
|
|
4334
|
-
put?: never;
|
|
4335
|
-
/**
|
|
4336
|
-
* Prepare Document Signature
|
|
4337
|
-
* @description Return the exact statement the signer's key must sign, and the hash of the PDF they are shown.
|
|
4338
|
-
*/
|
|
4339
|
-
post: operations['prepare_document_signature'];
|
|
4340
|
-
delete?: never;
|
|
4341
|
-
options?: never;
|
|
4342
|
-
head?: never;
|
|
4343
|
-
patch?: never;
|
|
4344
|
-
trace?: never;
|
|
4345
|
-
};
|
|
4346
|
-
'/v1/document/{document_ext_id}/sign': {
|
|
4347
|
-
parameters: {
|
|
4348
|
-
query?: never;
|
|
4349
|
-
header?: never;
|
|
4350
|
-
path?: never;
|
|
4351
|
-
cookie?: never;
|
|
4352
|
-
};
|
|
4353
|
-
get?: never;
|
|
4354
|
-
put?: never;
|
|
4355
|
-
/**
|
|
4356
|
-
* Sign Document
|
|
4357
|
-
* @description Sign a document: verify the signer's statement, seal a signed copy, save it as a new child document.
|
|
4358
|
-
*/
|
|
4359
|
-
post: operations['sign_document'];
|
|
4360
|
-
delete?: never;
|
|
4361
|
-
options?: never;
|
|
4362
|
-
head?: never;
|
|
4363
|
-
patch?: never;
|
|
4364
|
-
trace?: never;
|
|
4365
|
-
};
|
|
4366
|
-
'/v1/document/{document_ext_id}/signatures': {
|
|
4367
|
-
parameters: {
|
|
4368
|
-
query?: never;
|
|
4369
|
-
header?: never;
|
|
4370
|
-
path?: never;
|
|
4371
|
-
cookie?: never;
|
|
4372
|
-
};
|
|
4373
|
-
/**
|
|
4374
|
-
* Get Document Signature Status
|
|
4375
|
-
* @description Is this document a signed copy, and is it unchanged since signing? Read from the PDF itself.
|
|
4376
|
-
*/
|
|
4377
|
-
get: operations['get_document_signature_status'];
|
|
4378
|
-
put?: never;
|
|
4379
|
-
post?: never;
|
|
4380
|
-
delete?: never;
|
|
4381
|
-
options?: never;
|
|
4382
|
-
head?: never;
|
|
4383
|
-
patch?: never;
|
|
4384
|
-
trace?: never;
|
|
4385
|
-
};
|
|
4386
4387
|
}
|
|
4387
4388
|
type webhooks = Record<string, never>;
|
|
4388
4389
|
interface components {
|
|
@@ -7458,7 +7459,7 @@ interface components {
|
|
|
7458
7459
|
* @description How ``from_doc`` was derived from ``to_doc`` (provenance only, no behaviour).
|
|
7459
7460
|
* @enum {string}
|
|
7460
7461
|
*/
|
|
7461
|
-
DocRelationRole: 'edit' | 'sync' | 'crop' | 'redline_base' | 'redline_revised';
|
|
7462
|
+
DocRelationRole: 'edit' | 'sync' | 'crop' | 'redline_base' | 'redline_revised' | 'redaction' | 'annotated' | 'production';
|
|
7462
7463
|
/** DocResponse */
|
|
7463
7464
|
DocResponse: {
|
|
7464
7465
|
/** External Id */
|
|
@@ -10232,6 +10233,32 @@ interface components {
|
|
|
10232
10233
|
*/
|
|
10233
10234
|
content: string;
|
|
10234
10235
|
};
|
|
10236
|
+
/** PrepareSignatureRequest */
|
|
10237
|
+
PrepareSignatureRequest: {
|
|
10238
|
+
signer: components['schemas']['SignerDetails'];
|
|
10239
|
+
/** @description Omit for the bottom of the last page */
|
|
10240
|
+
appearance?: components['schemas']['SignatureAppearance'] | null;
|
|
10241
|
+
};
|
|
10242
|
+
/** PrepareSignatureResponse */
|
|
10243
|
+
PrepareSignatureResponse: {
|
|
10244
|
+
/**
|
|
10245
|
+
* Statement
|
|
10246
|
+
* @description The exact text to sign with the user's Ed25519 key
|
|
10247
|
+
*/
|
|
10248
|
+
statement: string;
|
|
10249
|
+
/**
|
|
10250
|
+
* Intent
|
|
10251
|
+
* @description The statement of intent shown to the signer
|
|
10252
|
+
*/
|
|
10253
|
+
intent: string;
|
|
10254
|
+
/**
|
|
10255
|
+
* Source Sha256
|
|
10256
|
+
* @description SHA-256 of the PDF the signer is shown (the /view rendition)
|
|
10257
|
+
*/
|
|
10258
|
+
source_sha256: string;
|
|
10259
|
+
/** Timestamp */
|
|
10260
|
+
timestamp: number;
|
|
10261
|
+
};
|
|
10235
10262
|
/**
|
|
10236
10263
|
* PresenceUpdateMessage
|
|
10237
10264
|
* @description Sent when a contact's online status changes or is no longer tracked.
|
|
@@ -12130,78 +12157,209 @@ interface components {
|
|
|
12130
12157
|
/** Auto Sync Workspace Ext Id */
|
|
12131
12158
|
auto_sync_workspace_ext_id?: string | null;
|
|
12132
12159
|
};
|
|
12160
|
+
/** SignDocumentRequest */
|
|
12161
|
+
SignDocumentRequest: {
|
|
12162
|
+
signer: components['schemas']['SignerDetails'];
|
|
12163
|
+
/** @description Omit for the bottom of the last page */
|
|
12164
|
+
appearance?: components['schemas']['SignatureAppearance'] | null;
|
|
12165
|
+
/** Timestamp */
|
|
12166
|
+
timestamp: number;
|
|
12167
|
+
/**
|
|
12168
|
+
* Signature
|
|
12169
|
+
* @description Ed25519 signature (base64) of the prepared statement
|
|
12170
|
+
*/
|
|
12171
|
+
signature: string;
|
|
12172
|
+
};
|
|
12173
|
+
/** SignDocumentResponse */
|
|
12174
|
+
SignDocumentResponse: {
|
|
12175
|
+
/** Signed Doc Ext Id */
|
|
12176
|
+
signed_doc_ext_id: string;
|
|
12177
|
+
signature: components['schemas']['SignatureRecord'];
|
|
12178
|
+
};
|
|
12133
12179
|
/**
|
|
12134
|
-
*
|
|
12135
|
-
* @description
|
|
12136
|
-
*
|
|
12137
|
-
* Lightweight projection — never includes the SKILL.md body. Clients
|
|
12138
|
-
* use this to populate slash-command autocomplete (name / description
|
|
12139
|
-
* / arg_hint) and to know which doc to fetch when the user wants to
|
|
12140
|
-
* inspect the full source via ``GET /v1/document/.../parsed-content``.
|
|
12180
|
+
* SignatureAppearance
|
|
12181
|
+
* @description Where the visible signature goes. Coordinates are fractions of the page, origin top-left.
|
|
12141
12182
|
*/
|
|
12142
|
-
|
|
12183
|
+
SignatureAppearance: {
|
|
12143
12184
|
/**
|
|
12144
|
-
*
|
|
12145
|
-
* @description
|
|
12185
|
+
* Page
|
|
12186
|
+
* @description 0-based page index; negative counts from the end (-1 = last page)
|
|
12187
|
+
* @default -1
|
|
12146
12188
|
*/
|
|
12147
|
-
|
|
12189
|
+
page: number;
|
|
12148
12190
|
/**
|
|
12149
|
-
*
|
|
12150
|
-
* @
|
|
12191
|
+
* X
|
|
12192
|
+
* @default 0.08
|
|
12151
12193
|
*/
|
|
12152
|
-
|
|
12194
|
+
x: number;
|
|
12153
12195
|
/**
|
|
12154
|
-
*
|
|
12155
|
-
* @
|
|
12156
|
-
* @default
|
|
12196
|
+
* Y
|
|
12197
|
+
* @default 0.8
|
|
12157
12198
|
*/
|
|
12158
|
-
|
|
12199
|
+
y: number;
|
|
12159
12200
|
/**
|
|
12160
|
-
*
|
|
12161
|
-
* @
|
|
12162
|
-
* @default true
|
|
12201
|
+
* Width
|
|
12202
|
+
* @default 0.4
|
|
12163
12203
|
*/
|
|
12164
|
-
|
|
12204
|
+
width: number;
|
|
12165
12205
|
/**
|
|
12166
|
-
*
|
|
12167
|
-
* @
|
|
12168
|
-
* @default
|
|
12206
|
+
* Height
|
|
12207
|
+
* @default 0.1
|
|
12169
12208
|
*/
|
|
12170
|
-
|
|
12209
|
+
height: number;
|
|
12210
|
+
};
|
|
12211
|
+
/** SignatureRecord */
|
|
12212
|
+
SignatureRecord: {
|
|
12213
|
+
/** Reference */
|
|
12214
|
+
reference: string;
|
|
12215
|
+
/** Signer Email */
|
|
12216
|
+
signer_email: string;
|
|
12217
|
+
/** Intent */
|
|
12218
|
+
intent: string;
|
|
12171
12219
|
/**
|
|
12172
|
-
*
|
|
12173
|
-
* @description
|
|
12174
|
-
* @default markdown
|
|
12220
|
+
* Source Doc Ext Id
|
|
12221
|
+
* @description The document that was signed
|
|
12175
12222
|
*/
|
|
12176
|
-
|
|
12223
|
+
source_doc_ext_id: string;
|
|
12224
|
+
/** Source Sha256 */
|
|
12225
|
+
source_sha256: string;
|
|
12177
12226
|
/**
|
|
12178
|
-
*
|
|
12179
|
-
*
|
|
12227
|
+
* Signed At
|
|
12228
|
+
* Format: date-time
|
|
12180
12229
|
*/
|
|
12181
|
-
|
|
12230
|
+
signed_at: string;
|
|
12182
12231
|
/**
|
|
12183
|
-
*
|
|
12184
|
-
* @description
|
|
12232
|
+
* Statement Valid
|
|
12233
|
+
* @description The signer's Ed25519 signature over the statement verifies
|
|
12185
12234
|
*/
|
|
12186
|
-
|
|
12235
|
+
statement_valid: boolean;
|
|
12187
12236
|
/**
|
|
12188
|
-
*
|
|
12189
|
-
*
|
|
12190
|
-
* @description Last modification time of the main file
|
|
12237
|
+
* Signer Name
|
|
12238
|
+
* @description The name the signer signed as
|
|
12191
12239
|
*/
|
|
12192
|
-
|
|
12240
|
+
signer_name?: string | null;
|
|
12193
12241
|
/**
|
|
12194
|
-
*
|
|
12195
|
-
* @description
|
|
12196
|
-
* @default mine
|
|
12242
|
+
* Capacity
|
|
12243
|
+
* @description The signer's role, e.g. 'Partner'
|
|
12197
12244
|
*/
|
|
12198
|
-
|
|
12245
|
+
capacity?: string | null;
|
|
12199
12246
|
/**
|
|
12200
|
-
*
|
|
12201
|
-
* @description
|
|
12202
|
-
* @default true
|
|
12247
|
+
* On Behalf Of
|
|
12248
|
+
* @description Who the signer signed for, e.g. a firm
|
|
12203
12249
|
*/
|
|
12204
|
-
|
|
12250
|
+
on_behalf_of?: string | null;
|
|
12251
|
+
};
|
|
12252
|
+
/** SignatureStatusResponse */
|
|
12253
|
+
SignatureStatusResponse: {
|
|
12254
|
+
/**
|
|
12255
|
+
* Signed
|
|
12256
|
+
* @description This document is a PDF signed and sealed by ARBI
|
|
12257
|
+
*/
|
|
12258
|
+
signed: boolean;
|
|
12259
|
+
/**
|
|
12260
|
+
* Intact
|
|
12261
|
+
* @description The seal verifies: nothing changed since signing
|
|
12262
|
+
*/
|
|
12263
|
+
intact: boolean;
|
|
12264
|
+
/**
|
|
12265
|
+
* Timestamped
|
|
12266
|
+
* @description The seal carries an RFC 3161 timestamp
|
|
12267
|
+
* @default false
|
|
12268
|
+
*/
|
|
12269
|
+
timestamped: boolean;
|
|
12270
|
+
/**
|
|
12271
|
+
* Signatures
|
|
12272
|
+
* @default []
|
|
12273
|
+
*/
|
|
12274
|
+
signatures: components['schemas']['SignatureRecord'][];
|
|
12275
|
+
};
|
|
12276
|
+
/** SignerDetails */
|
|
12277
|
+
SignerDetails: {
|
|
12278
|
+
/** Name */
|
|
12279
|
+
name: string;
|
|
12280
|
+
/**
|
|
12281
|
+
* Capacity
|
|
12282
|
+
* @description e.g. 'Partner', 'Solicitor'
|
|
12283
|
+
*/
|
|
12284
|
+
capacity?: string | null;
|
|
12285
|
+
/**
|
|
12286
|
+
* On Behalf Of
|
|
12287
|
+
* @description e.g. the firm's name
|
|
12288
|
+
*/
|
|
12289
|
+
on_behalf_of?: string | null;
|
|
12290
|
+
};
|
|
12291
|
+
/**
|
|
12292
|
+
* SkillSummaryResponse
|
|
12293
|
+
* @description One row of ``GET /v1/assistant/skills``.
|
|
12294
|
+
*
|
|
12295
|
+
* Lightweight projection — never includes the SKILL.md body. Clients
|
|
12296
|
+
* use this to populate slash-command autocomplete (name / description
|
|
12297
|
+
* / arg_hint) and to know which doc to fetch when the user wants to
|
|
12298
|
+
* inspect the full source via ``GET /v1/document/.../parsed-content``.
|
|
12299
|
+
*/
|
|
12300
|
+
SkillSummaryResponse: {
|
|
12301
|
+
/**
|
|
12302
|
+
* Name
|
|
12303
|
+
* @description Skill display name (frontmatter ``name``, falls back to slug)
|
|
12304
|
+
*/
|
|
12305
|
+
name: string;
|
|
12306
|
+
/**
|
|
12307
|
+
* Slug
|
|
12308
|
+
* @description Folder-safe identifier used by ``/<slug>`` slash invocation
|
|
12309
|
+
*/
|
|
12310
|
+
slug: string;
|
|
12311
|
+
/**
|
|
12312
|
+
* Description
|
|
12313
|
+
* @description One-line description from frontmatter
|
|
12314
|
+
* @default
|
|
12315
|
+
*/
|
|
12316
|
+
description: string;
|
|
12317
|
+
/**
|
|
12318
|
+
* User Invocable
|
|
12319
|
+
* @description Whether the skill appears in slash menus
|
|
12320
|
+
* @default true
|
|
12321
|
+
*/
|
|
12322
|
+
user_invocable: boolean;
|
|
12323
|
+
/**
|
|
12324
|
+
* Arg Hint
|
|
12325
|
+
* @description Optional args hint (e.g. ``"<env> [--dry-run]"``)
|
|
12326
|
+
* @default
|
|
12327
|
+
*/
|
|
12328
|
+
arg_hint: string;
|
|
12329
|
+
/**
|
|
12330
|
+
* Skill Type
|
|
12331
|
+
* @description ``markdown`` | ``python`` | ``shell`` | ``javascript`` | ``typescript``
|
|
12332
|
+
* @default markdown
|
|
12333
|
+
*/
|
|
12334
|
+
skill_type: string;
|
|
12335
|
+
/**
|
|
12336
|
+
* Workspace Ext Id
|
|
12337
|
+
* @description External ID of the workspace the skill lives in
|
|
12338
|
+
*/
|
|
12339
|
+
workspace_ext_id: string;
|
|
12340
|
+
/**
|
|
12341
|
+
* Doc Ext Id
|
|
12342
|
+
* @description External ID of the SKILL.md doc (use for /parsed-content)
|
|
12343
|
+
*/
|
|
12344
|
+
doc_ext_id: string;
|
|
12345
|
+
/**
|
|
12346
|
+
* Updated At
|
|
12347
|
+
* Format: date-time
|
|
12348
|
+
* @description Last modification time of the main file
|
|
12349
|
+
*/
|
|
12350
|
+
updated_at: string;
|
|
12351
|
+
/**
|
|
12352
|
+
* Visibility
|
|
12353
|
+
* @description ``mine`` (private to the caller) or ``global`` (shared into the marketplace)
|
|
12354
|
+
* @default mine
|
|
12355
|
+
*/
|
|
12356
|
+
visibility: string;
|
|
12357
|
+
/**
|
|
12358
|
+
* Is Owner
|
|
12359
|
+
* @description Whether the caller owns the skill (gates edit/publish/unpublish in the UI)
|
|
12360
|
+
* @default true
|
|
12361
|
+
*/
|
|
12362
|
+
is_owner: boolean;
|
|
12205
12363
|
};
|
|
12206
12364
|
/**
|
|
12207
12365
|
* SkillsListResponse
|
|
@@ -14150,148 +14308,6 @@ interface components {
|
|
|
14150
14308
|
* @enum {string}
|
|
14151
14309
|
*/
|
|
14152
14310
|
src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
|
|
14153
|
-
/** PrepareSignatureRequest */
|
|
14154
|
-
PrepareSignatureRequest: {
|
|
14155
|
-
signer: components['schemas']['SignerDetails'];
|
|
14156
|
-
/** @description Omit for the bottom of the last page */
|
|
14157
|
-
appearance?: components['schemas']['SignatureAppearance'] | null;
|
|
14158
|
-
};
|
|
14159
|
-
/** PrepareSignatureResponse */
|
|
14160
|
-
PrepareSignatureResponse: {
|
|
14161
|
-
/**
|
|
14162
|
-
* Statement
|
|
14163
|
-
* @description The exact text to sign with the user's Ed25519 key
|
|
14164
|
-
*/
|
|
14165
|
-
statement: string;
|
|
14166
|
-
/**
|
|
14167
|
-
* Intent
|
|
14168
|
-
* @description The statement of intent shown to the signer
|
|
14169
|
-
*/
|
|
14170
|
-
intent: string;
|
|
14171
|
-
/**
|
|
14172
|
-
* Source Sha256
|
|
14173
|
-
* @description SHA-256 of the PDF the signer is shown (the /view rendition)
|
|
14174
|
-
*/
|
|
14175
|
-
source_sha256: string;
|
|
14176
|
-
/** Timestamp */
|
|
14177
|
-
timestamp: number;
|
|
14178
|
-
};
|
|
14179
|
-
/** SignDocumentRequest */
|
|
14180
|
-
SignDocumentRequest: {
|
|
14181
|
-
signer: components['schemas']['SignerDetails'];
|
|
14182
|
-
/** @description Omit for the bottom of the last page */
|
|
14183
|
-
appearance?: components['schemas']['SignatureAppearance'] | null;
|
|
14184
|
-
/** Timestamp */
|
|
14185
|
-
timestamp: number;
|
|
14186
|
-
/**
|
|
14187
|
-
* Signature
|
|
14188
|
-
* @description Ed25519 signature (base64) of the prepared statement
|
|
14189
|
-
*/
|
|
14190
|
-
signature: string;
|
|
14191
|
-
};
|
|
14192
|
-
/** SignDocumentResponse */
|
|
14193
|
-
SignDocumentResponse: {
|
|
14194
|
-
/** Signed Doc Ext Id */
|
|
14195
|
-
signed_doc_ext_id: string;
|
|
14196
|
-
signature: components['schemas']['SignatureRecord'];
|
|
14197
|
-
};
|
|
14198
|
-
/**
|
|
14199
|
-
* SignatureAppearance
|
|
14200
|
-
* @description Where the visible signature goes. Coordinates are fractions of the page, origin top-left.
|
|
14201
|
-
*/
|
|
14202
|
-
SignatureAppearance: {
|
|
14203
|
-
/**
|
|
14204
|
-
* Page
|
|
14205
|
-
* @description 0-based page index; negative counts from the end (-1 = last page)
|
|
14206
|
-
* @default -1
|
|
14207
|
-
*/
|
|
14208
|
-
page: number;
|
|
14209
|
-
/**
|
|
14210
|
-
* X
|
|
14211
|
-
* @default 0.08
|
|
14212
|
-
*/
|
|
14213
|
-
x: number;
|
|
14214
|
-
/**
|
|
14215
|
-
* Y
|
|
14216
|
-
* @default 0.8
|
|
14217
|
-
*/
|
|
14218
|
-
y: number;
|
|
14219
|
-
/**
|
|
14220
|
-
* Width
|
|
14221
|
-
* @default 0.4
|
|
14222
|
-
*/
|
|
14223
|
-
width: number;
|
|
14224
|
-
/**
|
|
14225
|
-
* Height
|
|
14226
|
-
* @default 0.1
|
|
14227
|
-
*/
|
|
14228
|
-
height: number;
|
|
14229
|
-
};
|
|
14230
|
-
/** SignerDetails */
|
|
14231
|
-
SignerDetails: {
|
|
14232
|
-
/** Name */
|
|
14233
|
-
name: string;
|
|
14234
|
-
/**
|
|
14235
|
-
* Capacity
|
|
14236
|
-
* @description e.g. 'Partner', 'Solicitor'
|
|
14237
|
-
*/
|
|
14238
|
-
capacity?: string | null;
|
|
14239
|
-
/**
|
|
14240
|
-
* On Behalf Of
|
|
14241
|
-
* @description e.g. the firm's name
|
|
14242
|
-
*/
|
|
14243
|
-
on_behalf_of?: string | null;
|
|
14244
|
-
};
|
|
14245
|
-
/** SignatureRecord */
|
|
14246
|
-
SignatureRecord: {
|
|
14247
|
-
/** Reference */
|
|
14248
|
-
reference: string;
|
|
14249
|
-
/** Signer Email */
|
|
14250
|
-
signer_email: string;
|
|
14251
|
-
/** Intent */
|
|
14252
|
-
intent: string;
|
|
14253
|
-
/**
|
|
14254
|
-
* Source Doc Ext Id
|
|
14255
|
-
* @description The document that was signed
|
|
14256
|
-
*/
|
|
14257
|
-
source_doc_ext_id: string;
|
|
14258
|
-
/** Source Sha256 */
|
|
14259
|
-
source_sha256: string;
|
|
14260
|
-
/**
|
|
14261
|
-
* Signed At
|
|
14262
|
-
* Format: date-time
|
|
14263
|
-
*/
|
|
14264
|
-
signed_at: string;
|
|
14265
|
-
/**
|
|
14266
|
-
* Statement Valid
|
|
14267
|
-
* @description The signer's Ed25519 signature over the statement verifies
|
|
14268
|
-
*/
|
|
14269
|
-
statement_valid: boolean;
|
|
14270
|
-
};
|
|
14271
|
-
/** SignatureStatusResponse */
|
|
14272
|
-
SignatureStatusResponse: {
|
|
14273
|
-
/**
|
|
14274
|
-
* Signed
|
|
14275
|
-
* @description This document is a PDF signed and sealed by ARBI
|
|
14276
|
-
*/
|
|
14277
|
-
signed: boolean;
|
|
14278
|
-
/**
|
|
14279
|
-
* Intact
|
|
14280
|
-
* @description The seal verifies: nothing changed since signing
|
|
14281
|
-
*/
|
|
14282
|
-
intact: boolean;
|
|
14283
|
-
/**
|
|
14284
|
-
* Timestamped
|
|
14285
|
-
* @description The seal carries an RFC 3161 timestamp
|
|
14286
|
-
* @default false
|
|
14287
|
-
*/
|
|
14288
|
-
timestamped: boolean;
|
|
14289
|
-
/**
|
|
14290
|
-
* Signatures
|
|
14291
|
-
* @default []
|
|
14292
|
-
*/
|
|
14293
|
-
signatures: components['schemas']['SignatureRecord'][];
|
|
14294
|
-
};
|
|
14295
14311
|
};
|
|
14296
14312
|
responses: never;
|
|
14297
14313
|
parameters: never;
|
|
@@ -16326,10 +16342,10 @@ interface operations {
|
|
|
16326
16342
|
config_ext_id?: string | null;
|
|
16327
16343
|
/** @description Upload a single file as the next version of this document (any of its versions). It becomes the current version and takes the document's sharing, folder and labels. */
|
|
16328
16344
|
version_of?: string | null;
|
|
16329
|
-
/** @description A new, separate document made from this one (
|
|
16330
|
-
derived_from?: string | null;
|
|
16345
|
+
/** @description A new, separate document made from this one (a crop, a redacted copy) or, repeated, from several (a production set); recorded as provenance only */
|
|
16346
|
+
derived_from?: string[] | null;
|
|
16331
16347
|
/** @description How it was made from `derived_from` */
|
|
16332
|
-
derived_role?: ('crop' | 'redline_base' | 'redline_revised') | null;
|
|
16348
|
+
derived_role?: ('crop' | 'redline_base' | 'redline_revised' | 'redaction' | 'annotated' | 'production') | null;
|
|
16333
16349
|
/** @description Work product type: source, skill, memory, artifact */
|
|
16334
16350
|
wp_type?: string | null;
|
|
16335
16351
|
/** @description Tag to link the document to */
|
|
@@ -16668,6 +16684,107 @@ interface operations {
|
|
|
16668
16684
|
};
|
|
16669
16685
|
};
|
|
16670
16686
|
};
|
|
16687
|
+
prepare_document_signature: {
|
|
16688
|
+
parameters: {
|
|
16689
|
+
query?: never;
|
|
16690
|
+
header?: never;
|
|
16691
|
+
path: {
|
|
16692
|
+
document_ext_id: string;
|
|
16693
|
+
};
|
|
16694
|
+
cookie?: never;
|
|
16695
|
+
};
|
|
16696
|
+
requestBody: {
|
|
16697
|
+
content: {
|
|
16698
|
+
'application/json': components['schemas']['PrepareSignatureRequest'];
|
|
16699
|
+
};
|
|
16700
|
+
};
|
|
16701
|
+
responses: {
|
|
16702
|
+
/** @description Successful Response */
|
|
16703
|
+
200: {
|
|
16704
|
+
headers: {
|
|
16705
|
+
[name: string]: unknown;
|
|
16706
|
+
};
|
|
16707
|
+
content: {
|
|
16708
|
+
'application/json': components['schemas']['PrepareSignatureResponse'];
|
|
16709
|
+
};
|
|
16710
|
+
};
|
|
16711
|
+
/** @description Validation Error */
|
|
16712
|
+
422: {
|
|
16713
|
+
headers: {
|
|
16714
|
+
[name: string]: unknown;
|
|
16715
|
+
};
|
|
16716
|
+
content: {
|
|
16717
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16718
|
+
};
|
|
16719
|
+
};
|
|
16720
|
+
};
|
|
16721
|
+
};
|
|
16722
|
+
sign_document: {
|
|
16723
|
+
parameters: {
|
|
16724
|
+
query?: never;
|
|
16725
|
+
header?: never;
|
|
16726
|
+
path: {
|
|
16727
|
+
document_ext_id: string;
|
|
16728
|
+
};
|
|
16729
|
+
cookie?: never;
|
|
16730
|
+
};
|
|
16731
|
+
requestBody: {
|
|
16732
|
+
content: {
|
|
16733
|
+
'application/json': components['schemas']['SignDocumentRequest'];
|
|
16734
|
+
};
|
|
16735
|
+
};
|
|
16736
|
+
responses: {
|
|
16737
|
+
/** @description Successful Response */
|
|
16738
|
+
200: {
|
|
16739
|
+
headers: {
|
|
16740
|
+
[name: string]: unknown;
|
|
16741
|
+
};
|
|
16742
|
+
content: {
|
|
16743
|
+
'application/json': components['schemas']['SignDocumentResponse'];
|
|
16744
|
+
};
|
|
16745
|
+
};
|
|
16746
|
+
/** @description Validation Error */
|
|
16747
|
+
422: {
|
|
16748
|
+
headers: {
|
|
16749
|
+
[name: string]: unknown;
|
|
16750
|
+
};
|
|
16751
|
+
content: {
|
|
16752
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16753
|
+
};
|
|
16754
|
+
};
|
|
16755
|
+
};
|
|
16756
|
+
};
|
|
16757
|
+
get_document_signature_status: {
|
|
16758
|
+
parameters: {
|
|
16759
|
+
query?: never;
|
|
16760
|
+
header?: never;
|
|
16761
|
+
path: {
|
|
16762
|
+
document_ext_id: string;
|
|
16763
|
+
};
|
|
16764
|
+
cookie?: never;
|
|
16765
|
+
};
|
|
16766
|
+
requestBody?: never;
|
|
16767
|
+
responses: {
|
|
16768
|
+
/** @description Successful Response */
|
|
16769
|
+
200: {
|
|
16770
|
+
headers: {
|
|
16771
|
+
[name: string]: unknown;
|
|
16772
|
+
};
|
|
16773
|
+
content: {
|
|
16774
|
+
'application/json': components['schemas']['SignatureStatusResponse'];
|
|
16775
|
+
};
|
|
16776
|
+
};
|
|
16777
|
+
/** @description Validation Error */
|
|
16778
|
+
422: {
|
|
16779
|
+
headers: {
|
|
16780
|
+
[name: string]: unknown;
|
|
16781
|
+
};
|
|
16782
|
+
content: {
|
|
16783
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16784
|
+
};
|
|
16785
|
+
};
|
|
16786
|
+
};
|
|
16787
|
+
};
|
|
16671
16788
|
list_conversations: {
|
|
16672
16789
|
parameters: {
|
|
16673
16790
|
query?: never;
|
|
@@ -20986,107 +21103,6 @@ interface operations {
|
|
|
20986
21103
|
};
|
|
20987
21104
|
};
|
|
20988
21105
|
};
|
|
20989
|
-
prepare_document_signature: {
|
|
20990
|
-
parameters: {
|
|
20991
|
-
query?: never;
|
|
20992
|
-
header?: never;
|
|
20993
|
-
path: {
|
|
20994
|
-
document_ext_id: string;
|
|
20995
|
-
};
|
|
20996
|
-
cookie?: never;
|
|
20997
|
-
};
|
|
20998
|
-
requestBody: {
|
|
20999
|
-
content: {
|
|
21000
|
-
'application/json': components['schemas']['PrepareSignatureRequest'];
|
|
21001
|
-
};
|
|
21002
|
-
};
|
|
21003
|
-
responses: {
|
|
21004
|
-
/** @description Successful Response */
|
|
21005
|
-
200: {
|
|
21006
|
-
headers: {
|
|
21007
|
-
[name: string]: unknown;
|
|
21008
|
-
};
|
|
21009
|
-
content: {
|
|
21010
|
-
'application/json': components['schemas']['PrepareSignatureResponse'];
|
|
21011
|
-
};
|
|
21012
|
-
};
|
|
21013
|
-
/** @description Validation Error */
|
|
21014
|
-
422: {
|
|
21015
|
-
headers: {
|
|
21016
|
-
[name: string]: unknown;
|
|
21017
|
-
};
|
|
21018
|
-
content: {
|
|
21019
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
21020
|
-
};
|
|
21021
|
-
};
|
|
21022
|
-
};
|
|
21023
|
-
};
|
|
21024
|
-
sign_document: {
|
|
21025
|
-
parameters: {
|
|
21026
|
-
query?: never;
|
|
21027
|
-
header?: never;
|
|
21028
|
-
path: {
|
|
21029
|
-
document_ext_id: string;
|
|
21030
|
-
};
|
|
21031
|
-
cookie?: never;
|
|
21032
|
-
};
|
|
21033
|
-
requestBody: {
|
|
21034
|
-
content: {
|
|
21035
|
-
'application/json': components['schemas']['SignDocumentRequest'];
|
|
21036
|
-
};
|
|
21037
|
-
};
|
|
21038
|
-
responses: {
|
|
21039
|
-
/** @description Successful Response */
|
|
21040
|
-
200: {
|
|
21041
|
-
headers: {
|
|
21042
|
-
[name: string]: unknown;
|
|
21043
|
-
};
|
|
21044
|
-
content: {
|
|
21045
|
-
'application/json': components['schemas']['SignDocumentResponse'];
|
|
21046
|
-
};
|
|
21047
|
-
};
|
|
21048
|
-
/** @description Validation Error */
|
|
21049
|
-
422: {
|
|
21050
|
-
headers: {
|
|
21051
|
-
[name: string]: unknown;
|
|
21052
|
-
};
|
|
21053
|
-
content: {
|
|
21054
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
21055
|
-
};
|
|
21056
|
-
};
|
|
21057
|
-
};
|
|
21058
|
-
};
|
|
21059
|
-
get_document_signature_status: {
|
|
21060
|
-
parameters: {
|
|
21061
|
-
query?: never;
|
|
21062
|
-
header?: never;
|
|
21063
|
-
path: {
|
|
21064
|
-
document_ext_id: string;
|
|
21065
|
-
};
|
|
21066
|
-
cookie?: never;
|
|
21067
|
-
};
|
|
21068
|
-
requestBody?: never;
|
|
21069
|
-
responses: {
|
|
21070
|
-
/** @description Successful Response */
|
|
21071
|
-
200: {
|
|
21072
|
-
headers: {
|
|
21073
|
-
[name: string]: unknown;
|
|
21074
|
-
};
|
|
21075
|
-
content: {
|
|
21076
|
-
'application/json': components['schemas']['SignatureStatusResponse'];
|
|
21077
|
-
};
|
|
21078
|
-
};
|
|
21079
|
-
/** @description Validation Error */
|
|
21080
|
-
422: {
|
|
21081
|
-
headers: {
|
|
21082
|
-
[name: string]: unknown;
|
|
21083
|
-
};
|
|
21084
|
-
content: {
|
|
21085
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
21086
|
-
};
|
|
21087
|
-
};
|
|
21088
|
-
};
|
|
21089
|
-
};
|
|
21090
21106
|
}
|
|
21091
21107
|
|
|
21092
21108
|
/**
|