@arbidocs/client 0.4.62 → 0.4.63

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.ts CHANGED
@@ -919,7 +919,10 @@ interface paths {
919
919
  * along:
920
920
  *
921
921
  * - ``doc-`` document — row + MinIO files + Qdrant vectors, all re-encrypted
922
- * with the target workspace key. Chunk external IDs are preserved.
922
+ * with the target workspace key, for EVERY version of the document (any
923
+ * version's id names it; the copy of the current one is current in the
924
+ * target). Chunk external IDs are preserved; email-family and provenance
925
+ * links between copied documents are kept.
923
926
  * - ``tag-`` tag — merged into a same-named tag already in the target if there
924
927
  * is one, otherwise created. A parent tag that is not in the target flattens
925
928
  * the copy to a root tag.
@@ -929,7 +932,11 @@ interface paths {
929
932
  * - ``fct-`` fact — content, date span, timezone and citations preserved; pins
930
933
  * are not (a pin is the pinning account's own state).
931
934
  * - ``con-`` chat — conversation + every message, with the parent/child tree
932
- * and the encrypted ``tools`` blob rebuilt.
935
+ * and the encrypted ``tools`` blob rebuilt; a task keeps its definition.
936
+ * - ``wfl-`` automation — copied paused.
937
+ *
938
+ * For a scoped, resumable copy or move that brings dependencies along, use
939
+ * ``POST /v1/workspace/transfer`` instead.
933
940
  *
934
941
  * Facts and chats need no vector copy: both live in pointer-only collections
935
942
  * keyed by external ID and are indexed on write / by the lazy backfill.
@@ -976,6 +983,169 @@ interface paths {
976
983
  patch: operations['update_workspace'];
977
984
  trace?: never;
978
985
  };
986
+ '/v1/workspace/transfer/plan': {
987
+ parameters: {
988
+ query?: never;
989
+ header?: never;
990
+ path?: never;
991
+ cookie?: never;
992
+ };
993
+ get?: never;
994
+ put?: never;
995
+ /**
996
+ * Plan Workspace Transfer
997
+ * @description Preview what a download / copy / move of this scope would include.
998
+ *
999
+ * Counts per entity type, what rides along (older versions, attachments, cited
1000
+ * documents, labels in use), provenance links kept vs dropped, references left
1001
+ * dangling, and — for a move — how many items you may not delete here.
1002
+ */
1003
+ post: operations['plan_workspace_transfer'];
1004
+ delete?: never;
1005
+ options?: never;
1006
+ head?: never;
1007
+ patch?: never;
1008
+ trace?: never;
1009
+ };
1010
+ '/v1/workspace/export': {
1011
+ parameters: {
1012
+ query?: never;
1013
+ header?: never;
1014
+ path?: never;
1015
+ cookie?: never;
1016
+ };
1017
+ get?: never;
1018
+ put?: never;
1019
+ /**
1020
+ * Export Workspace Data
1021
+ * @description The decrypted structured data of a scope, plus the document files to fetch for a download.
1022
+ *
1023
+ * One JSON array per entity type, a manifest, and ``files`` — each a document
1024
+ * version to fetch through ``/v1/document/{doc_ext_id}/download`` and store at
1025
+ * ``path`` (current versions under ``documents/``, older ones under
1026
+ * ``documents/_versions/``).
1027
+ */
1028
+ post: operations['export_workspace_data'];
1029
+ delete?: never;
1030
+ options?: never;
1031
+ head?: never;
1032
+ patch?: never;
1033
+ trace?: never;
1034
+ };
1035
+ '/v1/workspace/transfer': {
1036
+ parameters: {
1037
+ query?: never;
1038
+ header?: never;
1039
+ path?: never;
1040
+ cookie?: never;
1041
+ };
1042
+ /**
1043
+ * List Workspace Transfers
1044
+ * @description Your recent transfers out of the current workspace, newest first (to find one to resume).
1045
+ */
1046
+ get: operations['list_workspace_transfers'];
1047
+ put?: never;
1048
+ /**
1049
+ * Start Workspace Transfer
1050
+ * @description Copy or move a scope of the current workspace into another one, in the background.
1051
+ *
1052
+ * The target must be a workspace you own or collaborate on. Poll
1053
+ * ``GET /transfer/{id}`` for progress. Everything is re-encrypted under the
1054
+ * target workspace key; each item keeps its privacy (a private item is in scope
1055
+ * only if it is yours). Copied automations arrive paused. A move removes an item
1056
+ * from here only after it, and everything else, has been copied — and only if you
1057
+ * may delete it here; otherwise it is copied and kept.
1058
+ */
1059
+ post: operations['start_workspace_transfer'];
1060
+ delete?: never;
1061
+ options?: never;
1062
+ head?: never;
1063
+ patch?: never;
1064
+ trace?: never;
1065
+ };
1066
+ '/v1/workspace/transfer/{transfer_ext_id}': {
1067
+ parameters: {
1068
+ query?: never;
1069
+ header?: never;
1070
+ path?: never;
1071
+ cookie?: never;
1072
+ };
1073
+ /**
1074
+ * Get Workspace Transfer
1075
+ * @description Progress and outcome of one transfer, with the items that need attention.
1076
+ */
1077
+ get: operations['get_workspace_transfer'];
1078
+ put?: never;
1079
+ post?: never;
1080
+ delete?: never;
1081
+ options?: never;
1082
+ head?: never;
1083
+ patch?: never;
1084
+ trace?: never;
1085
+ };
1086
+ '/v1/workspace/transfer/{transfer_ext_id}/items': {
1087
+ parameters: {
1088
+ query?: never;
1089
+ header?: never;
1090
+ path?: never;
1091
+ cookie?: never;
1092
+ };
1093
+ /**
1094
+ * List Workspace Transfer Items
1095
+ * @description The full ledger of a transfer: every item, where it went and what happened to it.
1096
+ */
1097
+ get: operations['list_workspace_transfer_items'];
1098
+ put?: never;
1099
+ post?: never;
1100
+ delete?: never;
1101
+ options?: never;
1102
+ head?: never;
1103
+ patch?: never;
1104
+ trace?: never;
1105
+ };
1106
+ '/v1/workspace/transfer/{transfer_ext_id}/resume': {
1107
+ parameters: {
1108
+ query?: never;
1109
+ header?: never;
1110
+ path?: never;
1111
+ cookie?: never;
1112
+ };
1113
+ get?: never;
1114
+ put?: never;
1115
+ /**
1116
+ * Resume Workspace Transfer
1117
+ * @description Resume an interrupted, cancelled or failed transfer (also retries the items that failed).
1118
+ *
1119
+ * Items already copied are not copied again. Must be called from the source
1120
+ * workspace, with the target workspace key sealed for this session.
1121
+ */
1122
+ post: operations['resume_workspace_transfer'];
1123
+ delete?: never;
1124
+ options?: never;
1125
+ head?: never;
1126
+ patch?: never;
1127
+ trace?: never;
1128
+ };
1129
+ '/v1/workspace/transfer/{transfer_ext_id}/cancel': {
1130
+ parameters: {
1131
+ query?: never;
1132
+ header?: never;
1133
+ path?: never;
1134
+ cookie?: never;
1135
+ };
1136
+ get?: never;
1137
+ put?: never;
1138
+ /**
1139
+ * Cancel Workspace Transfer
1140
+ * @description Stop a transfer after the item in flight. What was copied stays copied; it can be resumed.
1141
+ */
1142
+ post: operations['cancel_workspace_transfer'];
1143
+ delete?: never;
1144
+ options?: never;
1145
+ head?: never;
1146
+ patch?: never;
1147
+ trace?: never;
1148
+ };
979
1149
  '/v1/editor/{document_id}/mentions': {
980
1150
  parameters: {
981
1151
  query?: never;
@@ -1337,7 +1507,7 @@ interface paths {
1337
1507
  * - version_of: Saves the file as the next version of that document
1338
1508
  * - derived_from + derived_role: Records that the new document was made from another (a crop, a
1339
1509
  * redacted or annotated copy) or, with derived_from repeated, from several (a production set)
1340
- * - wp_type: Document type (source, skill, memory, artifact). Defaults to 'source'.
1510
+ * - wp_type: Document type (source, skill, artifact). Defaults to 'source'.
1341
1511
  * - tag_ext_id: Links document to a tag
1342
1512
  * - folder: Logical folder path for grouping (URL safe, e.g., 'skills/weather')
1343
1513
  *
@@ -4882,12 +5052,6 @@ interface components {
4882
5052
  * @description Allowlist of skill slugs this config may invoke via run_skill/list_skills. None = no restriction (every skill the caller can see — back-compat default). A list (including []) restricts to exactly those slugs. Set a list on an agent's config to scope which skills that agent can use.
4883
5053
  */
4884
5054
  ENABLED_SKILLS?: string[] | null;
4885
- /**
4886
- * Memory Creation
4887
- * @description Transient flag set by /setup command to enable the save_profile agent tool (authors the per-workspace practice-profile memory document).
4888
- * @default false
4889
- */
4890
- MEMORY_CREATION: boolean;
4891
5055
  /**
4892
5056
  * Goals Enabled
4893
5057
  * @description Feature gate for the goal/Ralph-loop system. When False, the /goal command is unavailable (falls through to a normal query) and the router may not auto-escalate to goal mode. Mirrors SKILLS_ENABLED; set per workspace/config to expose the feature.
@@ -5210,7 +5374,6 @@ interface components {
5210
5374
  * "SKILL_CREATION": false,
5211
5375
  * "WORKSPACE_TOOLS_ENABLED": false,
5212
5376
  * "REMOTE_CONTROL_ENABLED": false,
5213
- * "MEMORY_CREATION": false,
5214
5377
  * "GOALS_ENABLED": false,
5215
5378
  * "GOAL_MAX_OUTER_LOOPS": 6,
5216
5379
  * "PERSONA": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.",
@@ -6532,6 +6695,12 @@ interface components {
6532
6695
  /** Email */
6533
6696
  email: string;
6534
6697
  };
6698
+ /**
6699
+ * ConflictPolicy
6700
+ * @description When the target already has a same-named document / automation, or an identical note.
6701
+ * @enum {string}
6702
+ */
6703
+ ConflictPolicy: 'skip' | 'keep_both';
6535
6704
  /** ConnectMailAccount */
6536
6705
  ConnectMailAccount: {
6537
6706
  /** Profile Id */
@@ -6936,13 +7105,18 @@ interface components {
6936
7105
  kind: components['schemas']['CopyItemKind'];
6937
7106
  /** Warning */
6938
7107
  warning?: string | null;
7108
+ /**
7109
+ * Skipped
7110
+ * @default false
7111
+ */
7112
+ skipped: boolean;
6939
7113
  };
6940
7114
  /**
6941
7115
  * CopyItemKind
6942
7116
  * @description Which entity a copy result refers to — derived from the ext-id prefix.
6943
7117
  * @enum {string}
6944
7118
  */
6945
- CopyItemKind: 'document' | 'tag' | 'doctag' | 'fact' | 'chat' | 'unknown';
7119
+ CopyItemKind: 'document' | 'tag' | 'doctag' | 'fact' | 'chat' | 'workflow' | 'unknown';
6946
7120
  /** CopyRequest */
6947
7121
  CopyRequest: {
6948
7122
  /** Target Workspace Ext Id */
@@ -6954,7 +7128,7 @@ interface components {
6954
7128
  target_workspace_key: string;
6955
7129
  /**
6956
7130
  * Items
6957
- * @description External IDs to copy. Heterogeneous: documents (doc-), tags (tag-), doctags (dtj-), facts (fct-) and chats (con-) may be mixed in one call — the server dispatches on the prefix and copies them in dependency order (tags → documents → doctags/facts → chats). Selection is exact: nothing is copied that was not listed.
7131
+ * @description External IDs to copy. Heterogeneous: documents (doc-), tags (tag-), doctags (dtj-), facts (fct-), chats (con-) and automations (wfl-) may be mixed in one call — the server dispatches on the prefix and copies them in dependency order (tags → documents → doctags/facts → chats → automations). Selection is exact: nothing is copied that was not listed, except that a document always brings all of its versions. For a scoped, resumable copy or move with dependencies, use POST /v1/workspace/transfer.
6958
7132
  */
6959
7133
  items: string[];
6960
7134
  };
@@ -8146,6 +8320,21 @@ interface components {
8146
8320
  */
8147
8321
  EVAL_BATCH_TIMEOUT_S: number;
8148
8322
  };
8323
+ /**
8324
+ * ExportFile
8325
+ * @description One file of a download: fetch ``/v1/document/{doc_ext_id}/download`` and store it at ``path``.
8326
+ */
8327
+ ExportFile: {
8328
+ /** Doc Ext Id */
8329
+ doc_ext_id: string;
8330
+ /** Path */
8331
+ path: string;
8332
+ /**
8333
+ * Is Current
8334
+ * @default true
8335
+ */
8336
+ is_current: boolean;
8337
+ };
8149
8338
  /** FactDeleteResponse */
8150
8339
  FactDeleteResponse: {
8151
8340
  /**
@@ -10737,6 +10926,12 @@ interface components {
10737
10926
  /** @description ARBI agent-trace extension (non-standard). */
10738
10927
  arbi?: components['schemas']['ArbiItemMeta'] | null;
10739
10928
  };
10929
+ /**
10930
+ * ReferencedDocuments
10931
+ * @description What to do with a document a note / conversation / automation cites but the scope does not include.
10932
+ * @enum {string}
10933
+ */
10934
+ ReferencedDocuments: 'include' | 'link';
10740
10935
  /**
10741
10936
  * RegisterRequest
10742
10937
  * @description Unified user registration request (local and SSO).
@@ -13063,6 +13258,189 @@ interface components {
13063
13258
  /** Text */
13064
13259
  text: string;
13065
13260
  };
13261
+ /** TransferItemResult */
13262
+ TransferItemResult: {
13263
+ /** Kind */
13264
+ kind: string;
13265
+ /** Source Ext Id */
13266
+ source_ext_id: string;
13267
+ /** Target Ext Id */
13268
+ target_ext_id?: string | null;
13269
+ status: components['schemas']['TransferItemStatus'];
13270
+ /** Message */
13271
+ message?: string | null;
13272
+ };
13273
+ /**
13274
+ * TransferItemStatus
13275
+ * @enum {string}
13276
+ */
13277
+ TransferItemStatus: 'pending' | 'copied' | 'skipped' | 'failed' | 'removed' | 'kept';
13278
+ /**
13279
+ * TransferKind
13280
+ * @description The entity types a user can tick. Folders are not a kind: they are a property of documents.
13281
+ * @enum {string}
13282
+ */
13283
+ TransferKind: 'documents' | 'skills' | 'labels' | 'fields' | 'facts' | 'conversations' | 'automations';
13284
+ /**
13285
+ * TransferMode
13286
+ * @enum {string}
13287
+ */
13288
+ TransferMode: 'download' | 'copy' | 'move';
13289
+ /**
13290
+ * TransferPhase
13291
+ * @enum {string}
13292
+ */
13293
+ TransferPhase: 'copy' | 'link' | 'remove' | 'done';
13294
+ /** TransferPlanRequest */
13295
+ TransferPlanRequest: {
13296
+ scope: components['schemas']['TransferScope'];
13297
+ /** @default copy */
13298
+ mode: components['schemas']['TransferMode'];
13299
+ };
13300
+ /**
13301
+ * TransferPlanResponse
13302
+ * @description What a transfer with this scope would touch — shown to the user before they confirm.
13303
+ */
13304
+ TransferPlanResponse: {
13305
+ /**
13306
+ * Counts
13307
+ * @default {}
13308
+ */
13309
+ counts: {
13310
+ [key: string]: number;
13311
+ };
13312
+ /**
13313
+ * Added
13314
+ * @default {}
13315
+ */
13316
+ added: {
13317
+ [key: string]: number;
13318
+ };
13319
+ /**
13320
+ * Relations Inside
13321
+ * @default 0
13322
+ */
13323
+ relations_inside: number;
13324
+ /**
13325
+ * Relations Outside
13326
+ * @default 0
13327
+ */
13328
+ relations_outside: number;
13329
+ /**
13330
+ * Dangling References
13331
+ * @default 0
13332
+ */
13333
+ dangling_references: number;
13334
+ /**
13335
+ * Not Removable
13336
+ * @default 0
13337
+ */
13338
+ not_removable: number;
13339
+ /**
13340
+ * Total Bytes
13341
+ * @default 0
13342
+ */
13343
+ total_bytes: number;
13344
+ /**
13345
+ * Item Count
13346
+ * @default 0
13347
+ */
13348
+ item_count: number;
13349
+ };
13350
+ /** TransferResumeRequest */
13351
+ TransferResumeRequest: {
13352
+ /**
13353
+ * Target Workspace Key
13354
+ * @description SealedBox-encrypted target workspace key (encrypted with the session public key)
13355
+ */
13356
+ target_workspace_key: string;
13357
+ };
13358
+ /**
13359
+ * TransferScope
13360
+ * @description What to transfer.
13361
+ */
13362
+ TransferScope: {
13363
+ kind: components['schemas']['TransferScopeKind'];
13364
+ /**
13365
+ * Items
13366
+ * @description selection: external ids — documents (doc-), labels/fields (tag-), facts (fct-), conversations (con-) and automations (wfl-). A document brings all its versions and its attachments; an id of any version names the whole document.
13367
+ */
13368
+ items?: string[];
13369
+ /** Label Ext Id */
13370
+ label_ext_id?: string | null;
13371
+ /** Kinds */
13372
+ kinds?: components['schemas']['TransferKind'][];
13373
+ /** @default include */
13374
+ referenced_documents: components['schemas']['ReferencedDocuments'];
13375
+ };
13376
+ /**
13377
+ * TransferScopeKind
13378
+ * @enum {string}
13379
+ */
13380
+ TransferScopeKind: 'selection' | 'label' | 'all';
13381
+ /** TransferStartRequest */
13382
+ TransferStartRequest: {
13383
+ scope: components['schemas']['TransferScope'];
13384
+ /** @default copy */
13385
+ mode: components['schemas']['TransferMode'];
13386
+ /** Target Workspace Ext Id */
13387
+ target_workspace_ext_id: string;
13388
+ /**
13389
+ * Target Workspace Key
13390
+ * @description SealedBox-encrypted target workspace key (encrypted with the session public key)
13391
+ */
13392
+ target_workspace_key: string;
13393
+ /** @default skip */
13394
+ on_conflict: components['schemas']['ConflictPolicy'];
13395
+ };
13396
+ /**
13397
+ * TransferStatus
13398
+ * @enum {string}
13399
+ */
13400
+ TransferStatus: 'queued' | 'running' | 'completed' | 'failed' | 'cancelled' | 'interrupted';
13401
+ /** TransferStatusResponse */
13402
+ TransferStatusResponse: {
13403
+ /** External Id */
13404
+ external_id: string;
13405
+ mode: components['schemas']['TransferMode'];
13406
+ status: components['schemas']['TransferStatus'];
13407
+ phase: components['schemas']['TransferPhase'];
13408
+ /** Source Workspace Ext Id */
13409
+ source_workspace_ext_id?: string | null;
13410
+ /** Target Workspace Ext Id */
13411
+ target_workspace_ext_id?: string | null;
13412
+ /**
13413
+ * Total
13414
+ * @default 0
13415
+ */
13416
+ total: number;
13417
+ /**
13418
+ * Processed
13419
+ * @default 0
13420
+ */
13421
+ processed: number;
13422
+ /**
13423
+ * Counts
13424
+ * @default {}
13425
+ */
13426
+ counts: {
13427
+ [key: string]: unknown;
13428
+ };
13429
+ /** Error */
13430
+ error?: string | null;
13431
+ /**
13432
+ * Created At
13433
+ * Format: date-time
13434
+ */
13435
+ created_at: string;
13436
+ /** Finished At */
13437
+ finished_at?: string | null;
13438
+ /**
13439
+ * Issues
13440
+ * @default []
13441
+ */
13442
+ issues: components['schemas']['TransferItemResult'][];
13443
+ };
13066
13444
  /**
13067
13445
  * UpdateAgentRequest
13068
13446
  * @description Mutable agent fields. Only appearance for now — identity (name/email/keys)
@@ -14098,6 +14476,31 @@ interface components {
14098
14476
  /** Project Ext Id */
14099
14477
  project_ext_id: string;
14100
14478
  };
14479
+ /** WorkspaceExportRequest */
14480
+ WorkspaceExportRequest: {
14481
+ scope: components['schemas']['TransferScope'];
14482
+ };
14483
+ /**
14484
+ * WorkspaceExportResponse
14485
+ * @description Structured data for a download, plus the files to fetch.
14486
+ *
14487
+ * ``data`` is decrypted plaintext keyed by entity type (one JSON file per type in
14488
+ * the archive); ``manifest`` describes the archive itself.
14489
+ */
14490
+ WorkspaceExportResponse: {
14491
+ /** Manifest */
14492
+ manifest: {
14493
+ [key: string]: unknown;
14494
+ };
14495
+ /** Data */
14496
+ data: {
14497
+ [key: string]: {
14498
+ [key: string]: unknown;
14499
+ }[];
14500
+ };
14501
+ /** Files */
14502
+ files: components['schemas']['ExportFile'][];
14503
+ };
14101
14504
  /**
14102
14505
  * WorkspaceOpenRequest
14103
14506
  * @description Request to open a workspace — stores encrypted key in session and sets active.
@@ -15712,6 +16115,253 @@ interface operations {
15712
16115
  };
15713
16116
  };
15714
16117
  };
16118
+ plan_workspace_transfer: {
16119
+ parameters: {
16120
+ query?: never;
16121
+ header?: never;
16122
+ path?: never;
16123
+ cookie?: never;
16124
+ };
16125
+ requestBody: {
16126
+ content: {
16127
+ 'application/json': components['schemas']['TransferPlanRequest'];
16128
+ };
16129
+ };
16130
+ responses: {
16131
+ /** @description Successful Response */
16132
+ 200: {
16133
+ headers: {
16134
+ [name: string]: unknown;
16135
+ };
16136
+ content: {
16137
+ 'application/json': components['schemas']['TransferPlanResponse'];
16138
+ };
16139
+ };
16140
+ /** @description Validation Error */
16141
+ 422: {
16142
+ headers: {
16143
+ [name: string]: unknown;
16144
+ };
16145
+ content: {
16146
+ 'application/json': components['schemas']['HTTPValidationError'];
16147
+ };
16148
+ };
16149
+ };
16150
+ };
16151
+ export_workspace_data: {
16152
+ parameters: {
16153
+ query?: never;
16154
+ header?: never;
16155
+ path?: never;
16156
+ cookie?: never;
16157
+ };
16158
+ requestBody: {
16159
+ content: {
16160
+ 'application/json': components['schemas']['WorkspaceExportRequest'];
16161
+ };
16162
+ };
16163
+ responses: {
16164
+ /** @description Successful Response */
16165
+ 200: {
16166
+ headers: {
16167
+ [name: string]: unknown;
16168
+ };
16169
+ content: {
16170
+ 'application/json': components['schemas']['WorkspaceExportResponse'];
16171
+ };
16172
+ };
16173
+ /** @description Validation Error */
16174
+ 422: {
16175
+ headers: {
16176
+ [name: string]: unknown;
16177
+ };
16178
+ content: {
16179
+ 'application/json': components['schemas']['HTTPValidationError'];
16180
+ };
16181
+ };
16182
+ };
16183
+ };
16184
+ list_workspace_transfers: {
16185
+ parameters: {
16186
+ query?: never;
16187
+ header?: never;
16188
+ path?: never;
16189
+ cookie?: never;
16190
+ };
16191
+ requestBody?: never;
16192
+ responses: {
16193
+ /** @description Successful Response */
16194
+ 200: {
16195
+ headers: {
16196
+ [name: string]: unknown;
16197
+ };
16198
+ content: {
16199
+ 'application/json': components['schemas']['TransferStatusResponse'][];
16200
+ };
16201
+ };
16202
+ };
16203
+ };
16204
+ start_workspace_transfer: {
16205
+ parameters: {
16206
+ query?: never;
16207
+ header?: never;
16208
+ path?: never;
16209
+ cookie?: never;
16210
+ };
16211
+ requestBody: {
16212
+ content: {
16213
+ 'application/json': components['schemas']['TransferStartRequest'];
16214
+ };
16215
+ };
16216
+ responses: {
16217
+ /** @description Successful Response */
16218
+ 202: {
16219
+ headers: {
16220
+ [name: string]: unknown;
16221
+ };
16222
+ content: {
16223
+ 'application/json': components['schemas']['TransferStatusResponse'];
16224
+ };
16225
+ };
16226
+ /** @description Validation Error */
16227
+ 422: {
16228
+ headers: {
16229
+ [name: string]: unknown;
16230
+ };
16231
+ content: {
16232
+ 'application/json': components['schemas']['HTTPValidationError'];
16233
+ };
16234
+ };
16235
+ };
16236
+ };
16237
+ get_workspace_transfer: {
16238
+ parameters: {
16239
+ query?: never;
16240
+ header?: never;
16241
+ path: {
16242
+ transfer_ext_id: string;
16243
+ };
16244
+ cookie?: never;
16245
+ };
16246
+ requestBody?: never;
16247
+ responses: {
16248
+ /** @description Successful Response */
16249
+ 200: {
16250
+ headers: {
16251
+ [name: string]: unknown;
16252
+ };
16253
+ content: {
16254
+ 'application/json': components['schemas']['TransferStatusResponse'];
16255
+ };
16256
+ };
16257
+ /** @description Validation Error */
16258
+ 422: {
16259
+ headers: {
16260
+ [name: string]: unknown;
16261
+ };
16262
+ content: {
16263
+ 'application/json': components['schemas']['HTTPValidationError'];
16264
+ };
16265
+ };
16266
+ };
16267
+ };
16268
+ list_workspace_transfer_items: {
16269
+ parameters: {
16270
+ query?: never;
16271
+ header?: never;
16272
+ path: {
16273
+ transfer_ext_id: string;
16274
+ };
16275
+ cookie?: never;
16276
+ };
16277
+ requestBody?: never;
16278
+ responses: {
16279
+ /** @description Successful Response */
16280
+ 200: {
16281
+ headers: {
16282
+ [name: string]: unknown;
16283
+ };
16284
+ content: {
16285
+ 'application/json': components['schemas']['TransferItemResult'][];
16286
+ };
16287
+ };
16288
+ /** @description Validation Error */
16289
+ 422: {
16290
+ headers: {
16291
+ [name: string]: unknown;
16292
+ };
16293
+ content: {
16294
+ 'application/json': components['schemas']['HTTPValidationError'];
16295
+ };
16296
+ };
16297
+ };
16298
+ };
16299
+ resume_workspace_transfer: {
16300
+ parameters: {
16301
+ query?: never;
16302
+ header?: never;
16303
+ path: {
16304
+ transfer_ext_id: string;
16305
+ };
16306
+ cookie?: never;
16307
+ };
16308
+ requestBody: {
16309
+ content: {
16310
+ 'application/json': components['schemas']['TransferResumeRequest'];
16311
+ };
16312
+ };
16313
+ responses: {
16314
+ /** @description Successful Response */
16315
+ 202: {
16316
+ headers: {
16317
+ [name: string]: unknown;
16318
+ };
16319
+ content: {
16320
+ 'application/json': components['schemas']['TransferStatusResponse'];
16321
+ };
16322
+ };
16323
+ /** @description Validation Error */
16324
+ 422: {
16325
+ headers: {
16326
+ [name: string]: unknown;
16327
+ };
16328
+ content: {
16329
+ 'application/json': components['schemas']['HTTPValidationError'];
16330
+ };
16331
+ };
16332
+ };
16333
+ };
16334
+ cancel_workspace_transfer: {
16335
+ parameters: {
16336
+ query?: never;
16337
+ header?: never;
16338
+ path: {
16339
+ transfer_ext_id: string;
16340
+ };
16341
+ cookie?: never;
16342
+ };
16343
+ requestBody?: never;
16344
+ responses: {
16345
+ /** @description Successful Response */
16346
+ 200: {
16347
+ headers: {
16348
+ [name: string]: unknown;
16349
+ };
16350
+ content: {
16351
+ 'application/json': components['schemas']['TransferStatusResponse'];
16352
+ };
16353
+ };
16354
+ /** @description Validation Error */
16355
+ 422: {
16356
+ headers: {
16357
+ [name: string]: unknown;
16358
+ };
16359
+ content: {
16360
+ 'application/json': components['schemas']['HTTPValidationError'];
16361
+ };
16362
+ };
16363
+ };
16364
+ };
15715
16365
  request_docx_agent_v1_editor__document_id__mentions_post: {
15716
16366
  parameters: {
15717
16367
  query?: never;
@@ -16346,7 +16996,7 @@ interface operations {
16346
16996
  derived_from?: string[] | null;
16347
16997
  /** @description How it was made from `derived_from` */
16348
16998
  derived_role?: ('crop' | 'redline_base' | 'redline_revised' | 'redaction' | 'annotated' | 'production') | null;
16349
- /** @description Work product type: source, skill, memory, artifact */
16999
+ /** @description Work product type: source, skill, artifact */
16350
17000
  wp_type?: string | null;
16351
17001
  /** @description Tag to link the document to */
16352
17002
  tag_ext_id?: string | null;