@arbidocs/client 0.4.147 → 0.4.148

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 (3) hide show
  1. package/dist/index.d.cts +338 -276
  2. package/dist/index.d.ts +338 -276
  3. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1194,10 +1194,11 @@ interface paths {
1194
1194
  };
1195
1195
  /**
1196
1196
  * List Storage Projects
1197
- * @description Storage used by each project: everything it pays for (trash included, until purged) against its limit, by
1198
- * kind (document, version, derived, coedit, mail, mail_draft, chat_attachment, recording, other), with the trash
1199
- * part, and — for a personal project — its mail by folder. ``scope=deployment`` adds the deployment's totals
1200
- * against the Box licence.
1197
+ * @description Storage used by each project: everything it stores, by kind (document, version, derived, coedit, mail,
1198
+ * mail_draft, chat_attachment, recording, other), split into live, archived (archived workspaces) and trash
1199
+ * (deleted, until purged), and what counts against its limit (``billable_bytes``: live in full, archived and trash
1200
+ * at ``reduced_rate``) — for a personal project also its mail by folder. ``scope=deployment`` adds the
1201
+ * deployment's totals against the Box licence.
1201
1202
  */
1202
1203
  get: operations['list_storage_projects'];
1203
1204
  put?: never;
@@ -1611,6 +1612,9 @@ interface paths {
1611
1612
  * Restore Workspaces
1612
1613
  * @description Restore deleted workspaces (from Recently deleted) exactly as they were. Their owner only; returns the
1613
1614
  * workspaces restored. A workspace whose project was deleted cannot come back.
1615
+ *
1616
+ * Its files were moved to the archive tier while it was deleted: it comes back closed (``archive`` status
1617
+ * ``restoring``, like an unarchive) until they are back, then opens by itself. Its search index was kept.
1614
1618
  */
1615
1619
  post: operations['restore_workspaces'];
1616
1620
  delete?: never;
@@ -1828,6 +1832,55 @@ interface paths {
1828
1832
  patch?: never;
1829
1833
  trace?: never;
1830
1834
  };
1835
+ '/v1/workspace/{workspace_ext_id}/archive': {
1836
+ parameters: {
1837
+ query?: never;
1838
+ header?: never;
1839
+ path?: never;
1840
+ cookie?: never;
1841
+ };
1842
+ /**
1843
+ * Get Workspace Archive
1844
+ * @description The workspace's archive state, its bytes in each storage tier and, while it is archived, the estimate of
1845
+ * what unarchiving costs (documents to re-index, minutes, £ of AI usage).
1846
+ */
1847
+ get: operations['get_workspace_archive'];
1848
+ put?: never;
1849
+ /**
1850
+ * Archive Workspace
1851
+ * @description Archive the workspace: nobody can open it until it is unarchived, its files move to the archive tier (they
1852
+ * count at 10% against storage) and its search index is deleted. 409 when this deployment has no archive tier.
1853
+ */
1854
+ post: operations['archive_workspace'];
1855
+ delete?: never;
1856
+ options?: never;
1857
+ head?: never;
1858
+ patch?: never;
1859
+ trace?: never;
1860
+ };
1861
+ '/v1/workspace/{workspace_ext_id}/unarchive': {
1862
+ parameters: {
1863
+ query?: never;
1864
+ header?: never;
1865
+ path?: never;
1866
+ cookie?: never;
1867
+ };
1868
+ get?: never;
1869
+ put?: never;
1870
+ /**
1871
+ * Unarchive Workspace
1872
+ * @description Unarchive the workspace: its files come back and every document is re-indexed from its stored parse output
1873
+ * (AI usage, billed to the project: checked first — 402 when the budget can't cover it). It stays closed, status
1874
+ * ``restoring`` with progress, until that is done. Needs the workspace key on the session (409
1875
+ * ``workspace_key_required``: deposit it with ``/prime-key`` and retry).
1876
+ */
1877
+ post: operations['unarchive_workspace'];
1878
+ delete?: never;
1879
+ options?: never;
1880
+ head?: never;
1881
+ patch?: never;
1882
+ trace?: never;
1883
+ };
1831
1884
  '/v1/editor/{document_id}/mentions': {
1832
1885
  parameters: {
1833
1886
  query?: never;
@@ -2558,7 +2611,9 @@ interface paths {
2558
2611
  /**
2559
2612
  * Restore Documents
2560
2613
  * @description Restore deleted documents (with whatever was deleted together with them: versions' family, an email's
2561
- * attachments). They are re-indexed in the background from their stored parse output, then searchable again.
2614
+ * attachments). Their files are copied back from the archive tier first — meanwhile they are listed as
2615
+ * ``restoring`` — then they reappear and are re-indexed in the background from their stored parse output.
2616
+ * Returns the documents being restored.
2562
2617
  */
2563
2618
  post: operations['restore_documents'];
2564
2619
  delete?: never;
@@ -6098,68 +6153,6 @@ interface paths {
6098
6153
  patch?: never;
6099
6154
  trace?: never;
6100
6155
  };
6101
- '/v1/calendar/app-passwords': {
6102
- parameters: {
6103
- query?: never;
6104
- header?: never;
6105
- path?: never;
6106
- cookie?: never;
6107
- };
6108
- /** List App Passwords */
6109
- get: operations['list_calendar_app_passwords'];
6110
- put?: never;
6111
- /**
6112
- * Create App Password
6113
- * @description An app-specific password for CalDAV / CardDAV clients (Apple Calendar, Thunderbird, DAVx5, eM Client). It
6114
- * can read only the calendars it was created for; revoke it per device.
6115
- */
6116
- post: operations['create_calendar_app_password'];
6117
- delete?: never;
6118
- options?: never;
6119
- head?: never;
6120
- patch?: never;
6121
- trace?: never;
6122
- };
6123
- '/v1/calendar/feeds': {
6124
- parameters: {
6125
- query?: never;
6126
- header?: never;
6127
- path?: never;
6128
- cookie?: never;
6129
- };
6130
- get?: never;
6131
- put?: never;
6132
- /**
6133
- * Create Feed
6134
- * @description A secret read-only ICS URL to subscribe to from Outlook, Google or Apple (full details or free/busy only).
6135
- */
6136
- post: operations['create_calendar_feed'];
6137
- delete?: never;
6138
- options?: never;
6139
- head?: never;
6140
- patch?: never;
6141
- trace?: never;
6142
- };
6143
- '/v1/calendar/app-passwords/{apw_id}': {
6144
- parameters: {
6145
- query?: never;
6146
- header?: never;
6147
- path?: never;
6148
- cookie?: never;
6149
- };
6150
- get?: never;
6151
- put?: never;
6152
- post?: never;
6153
- /**
6154
- * Revoke App Password
6155
- * @description Revoke an app password or a feed URL (its key wraps are deleted).
6156
- */
6157
- delete: operations['revoke_calendar_app_password'];
6158
- options?: never;
6159
- head?: never;
6160
- patch?: never;
6161
- trace?: never;
6162
- };
6163
6156
  '/v1/calendar/booking-pages': {
6164
6157
  parameters: {
6165
6158
  query?: never;
@@ -6261,7 +6254,9 @@ interface paths {
6261
6254
  * Create Contact
6262
6255
  * @description Create a contact. ``card`` alone (or ``email`` without ``invite``) makes an encrypted card in the default
6263
6256
  * address book. ``invite=true`` links ``email`` (sending the platform invitation when it is not registered yet,
6264
- * with the ``invite_contacts`` outcomes) and stores ``card`` on that contact when given.
6257
+ * with the ``invite_contacts`` outcomes) and stores ``card`` on that contact when given. One person = one row:
6258
+ * a card with an address another contact already has is refused with 409 ``{detail, contact_id}``; inviting an
6259
+ * address that is on a card links that card.
6265
6260
  */
6266
6261
  post: operations['create_contact'];
6267
6262
  delete?: never;
@@ -6300,7 +6295,9 @@ interface paths {
6300
6295
  };
6301
6296
  /**
6302
6297
  * Search Contacts
6303
- * @description Picker / attendee autocomplete: your contacts and registered people who share a workspace with you.
6298
+ * @description Picker / attendee autocomplete — the one people source: the contacts of every address book you can see
6299
+ * (yours, and books shared with you; ``address_book_ext_id`` says which) and registered people who share a
6300
+ * workspace with you. One entry per address.
6304
6301
  */
6305
6302
  get: operations['search_contacts'];
6306
6303
  put?: never;
@@ -6323,7 +6320,7 @@ interface paths {
6323
6320
  post?: never;
6324
6321
  /**
6325
6322
  * Delete Contact
6326
- * @description Delete a contact (a CardDAV tombstone). A still-pending invite that also shared a workspace gives up its
6323
+ * @description Delete a contact (a tombstone). A still-pending invite that also shared a workspace gives up its
6327
6324
  * pending grant now, rather than leaving it to expire: the invite is gone, in full.
6328
6325
  */
6329
6326
  delete: operations['delete_contact'];
@@ -9320,76 +9317,6 @@ interface components {
9320
9317
  */
9321
9318
  last_input_tokens: number;
9322
9319
  };
9323
- /** AppPasswordCreate */
9324
- AppPasswordCreate: {
9325
- /**
9326
- * Label
9327
- * @description Device name, e.g. 'iPhone'
9328
- */
9329
- label: string;
9330
- /**
9331
- * Calendar Ids
9332
- * @description cal- ids to expose; default: every calendar you can read
9333
- */
9334
- calendar_ids?: string[] | null;
9335
- };
9336
- /**
9337
- * AppPasswordCreated
9338
- * @description Shown once: the secret is not stored.
9339
- */
9340
- AppPasswordCreated: {
9341
- /** Id */
9342
- id: string;
9343
- /**
9344
- * Kind
9345
- * @enum {string}
9346
- */
9347
- kind: 'dav' | 'feed' | 'freebusy';
9348
- /** Label */
9349
- label: string;
9350
- /** Calendar Ids */
9351
- calendar_ids?: string[];
9352
- /** Feed Level */
9353
- feed_level?: string | null;
9354
- /**
9355
- * Created At
9356
- * Format: date-time
9357
- */
9358
- created_at: string;
9359
- /** Last Used At */
9360
- last_used_at?: string | null;
9361
- /** Password */
9362
- password?: string | null;
9363
- /** Username */
9364
- username?: string | null;
9365
- /** Server Url */
9366
- server_url?: string | null;
9367
- /** Feed Url */
9368
- feed_url?: string | null;
9369
- };
9370
- /** AppPasswordRead */
9371
- AppPasswordRead: {
9372
- /** Id */
9373
- id: string;
9374
- /**
9375
- * Kind
9376
- * @enum {string}
9377
- */
9378
- kind: 'dav' | 'feed' | 'freebusy';
9379
- /** Label */
9380
- label: string;
9381
- /** Calendar Ids */
9382
- calendar_ids?: string[];
9383
- /** Feed Level */
9384
- feed_level?: string | null;
9385
- /**
9386
- * Created At
9387
- * Format: date-time
9388
- */
9389
- created_at: string;
9390
- /** Last Used At */
9391
- last_used_at?: string | null;
9392
- };
9393
9320
  /**
9394
9321
  * ArbiErrorEvent
9395
9322
  * @description ``arbi.error`` — a structured mid-stream error (e.g. AI-quota exceeded).
@@ -10300,7 +10227,7 @@ interface components {
10300
10227
  * Kind
10301
10228
  * @enum {string}
10302
10229
  */
10303
- kind: 'calendar' | 'resource' | 'subscription' | 'holidays' | 'birthdays' | 'addressbook';
10230
+ kind: 'calendar' | 'resource' | 'subscription' | 'holidays' | 'addressbook';
10304
10231
  /**
10305
10232
  * Role
10306
10233
  * @enum {string}
@@ -12236,7 +12163,7 @@ interface components {
12236
12163
  };
12237
12164
  /**
12238
12165
  * ContactCard
12239
- * @description Decrypted view of a contact's vCard (lax: a card from a CardDAV client may exceed the write limits).
12166
+ * @description Decrypted view of a contact's vCard (lax: a stored or imported card may exceed the write limits).
12240
12167
  */
12241
12168
  ContactCard: {
12242
12169
  /** Uid */
@@ -13722,6 +13649,11 @@ interface components {
13722
13649
  can_delete: boolean;
13723
13650
  /** Mine */
13724
13651
  mine: boolean;
13652
+ /**
13653
+ * Restoring
13654
+ * @default false
13655
+ */
13656
+ restoring: boolean;
13725
13657
  };
13726
13658
  /** DeletedDocumentsPage */
13727
13659
  DeletedDocumentsPage: {
@@ -14297,6 +14229,16 @@ interface components {
14297
14229
  */
14298
14230
  skipped: components['schemas']['DriveSyncSkippedFile'][];
14299
14231
  };
14232
+ /**
14233
+ * DuplicateContactError
14234
+ * @description 409 from a contact write: one of the addresses is already another contact's (one person = one row).
14235
+ */
14236
+ DuplicateContactError: {
14237
+ /** Detail */
14238
+ detail: string;
14239
+ /** Contact Id */
14240
+ contact_id?: string | null;
14241
+ };
14300
14242
  /**
14301
14243
  * EmailDraftAction
14302
14244
  * @description Prepare a draft in native mail, in the mailbox of the step's assignee (else the run's owner). It is never
@@ -14906,22 +14848,6 @@ interface components {
14906
14848
  /** Reason */
14907
14849
  reason?: ('pro_required' | 'external_user' | 'not_entitled') | null;
14908
14850
  };
14909
- /** FeedCreate */
14910
- FeedCreate: {
14911
- /** Calendar Id */
14912
- calendar_id: string;
14913
- /**
14914
- * Level
14915
- * @default full
14916
- * @enum {string}
14917
- */
14918
- level: 'full' | 'freebusy';
14919
- /**
14920
- * Label
14921
- * @default Feed
14922
- */
14923
- label: string;
14924
- };
14925
14851
  /**
14926
14852
  * FieldDefinition
14927
14853
  * @description A field as the API returns it — decrypted.
@@ -17661,6 +17587,13 @@ interface components {
17661
17587
  user_id?: string | null;
17662
17588
  /** Contact Id */
17663
17589
  contact_id?: string | null;
17590
+ /** Address Book Ext Id */
17591
+ address_book_ext_id?: string | null;
17592
+ /**
17593
+ * Registered
17594
+ * @default false
17595
+ */
17596
+ registered: boolean;
17664
17597
  /**
17665
17598
  * Source
17666
17599
  * @enum {string}
@@ -21259,13 +21192,21 @@ interface components {
21259
21192
  };
21260
21193
  /**
21261
21194
  * StorageDeploymentUsage
21262
- * @description The whole deployment (Box admins / billing managers): every project's bytes against the licence.
21195
+ * @description The whole deployment (Box admins / billing managers): every project's bytes against the licence
21196
+ * (``billable_bytes``, counted as for a project).
21263
21197
  */
21264
21198
  StorageDeploymentUsage: {
21265
21199
  /** Bytes */
21266
21200
  bytes: number;
21267
21201
  /** Trash Bytes */
21268
21202
  trash_bytes: number;
21203
+ /**
21204
+ * Archived Bytes
21205
+ * @default 0
21206
+ */
21207
+ archived_bytes: number;
21208
+ /** Billable Bytes */
21209
+ billable_bytes: number;
21269
21210
  /** Limit Bytes */
21270
21211
  limit_bytes: number | null;
21271
21212
  /** Orphaned Bytes */
@@ -21325,13 +21266,20 @@ interface components {
21325
21266
  bytes: number;
21326
21267
  /** Trash Bytes */
21327
21268
  trash_bytes: number;
21269
+ /**
21270
+ * Archived Bytes
21271
+ * @default 0
21272
+ */
21273
+ archived_bytes: number;
21328
21274
  /** Objects */
21329
21275
  objects: number;
21330
21276
  };
21331
21277
  /**
21332
21278
  * StorageProjectUsage
21333
- * @description A project's stored bytes. ``bytes`` counts everything it pays for (trash included) against ``limit_bytes``
21334
- * (None: no limit, billing off); ``trash_bytes`` is the part that is deleted but not yet purged.
21279
+ * @description A project's stored bytes. ``bytes`` is everything stored: live, archived (``archived_bytes``: in archived
21280
+ * workspaces) and deleted but not yet purged (``trash_bytes``). Archived and deleted bytes count at
21281
+ * ``REDUCED_RATE`` (10%): ``billable_bytes`` = live + 10% of the rest is what counts against ``limit_bytes``
21282
+ * (None: no limit, billing off).
21335
21283
  */
21336
21284
  StorageProjectUsage: {
21337
21285
  /** Project Ext Id */
@@ -21348,6 +21296,13 @@ interface components {
21348
21296
  bytes: number;
21349
21297
  /** Trash Bytes */
21350
21298
  trash_bytes: number;
21299
+ /**
21300
+ * Archived Bytes
21301
+ * @default 0
21302
+ */
21303
+ archived_bytes: number;
21304
+ /** Billable Bytes */
21305
+ billable_bytes: number;
21351
21306
  /** Limit Bytes */
21352
21307
  limit_bytes: number | null;
21353
21308
  /** By Kind */
@@ -21366,6 +21321,16 @@ interface components {
21366
21321
  /** Projects */
21367
21322
  projects: components['schemas']['StorageProjectUsage'][];
21368
21323
  deployment?: components['schemas']['StorageDeploymentUsage'] | null;
21324
+ /**
21325
+ * Reduced Rate
21326
+ * @default 0.1
21327
+ */
21328
+ reduced_rate: number;
21329
+ /**
21330
+ * Archive Available
21331
+ * @default false
21332
+ */
21333
+ archive_available: boolean;
21369
21334
  };
21370
21335
  /**
21371
21336
  * StoragePurgeResult
@@ -21402,6 +21367,11 @@ interface components {
21402
21367
  orphaned_bytes: number;
21403
21368
  /** Unattributed Bytes */
21404
21369
  unattributed_bytes: number;
21370
+ /**
21371
+ * Archive Tier Bytes
21372
+ * @default 0
21373
+ */
21374
+ archive_tier_bytes: number;
21405
21375
  /** By Kind */
21406
21376
  by_kind: {
21407
21377
  [key: string]: number;
@@ -21419,10 +21389,20 @@ interface components {
21419
21389
  name: string;
21420
21390
  /** Deleted */
21421
21391
  deleted: boolean;
21392
+ /**
21393
+ * Archived
21394
+ * @default false
21395
+ */
21396
+ archived: boolean;
21422
21397
  /** Bytes */
21423
21398
  bytes: number;
21424
21399
  /** Trash Bytes */
21425
21400
  trash_bytes: number;
21401
+ /**
21402
+ * Archived Bytes
21403
+ * @default 0
21404
+ */
21405
+ archived_bytes: number;
21426
21406
  /** By Kind */
21427
21407
  by_kind: components['schemas']['StorageKindUsage'][];
21428
21408
  };
@@ -22684,6 +22664,24 @@ interface components {
22684
22664
  */
22685
22665
  MAX_CONCURRENT: number;
22686
22666
  };
22667
+ /**
22668
+ * UnarchiveEstimate
22669
+ * @description What unarchiving costs (``storage_restore.estimate``): its live documents are re-indexed from their stored
22670
+ * parse output — embeddings plus one DoctagLLM call each, billed to the project. ``gbp`` is None when the models'
22671
+ * prices are not known here (a local-LLM deployment).
22672
+ */
22673
+ UnarchiveEstimate: {
22674
+ /** Documents */
22675
+ documents: number;
22676
+ /** Chunks */
22677
+ chunks: number;
22678
+ /** Bytes */
22679
+ bytes: number;
22680
+ /** Minutes */
22681
+ minutes: number;
22682
+ /** Gbp */
22683
+ gbp: number | null;
22684
+ };
22687
22685
  /**
22688
22686
  * UpdateAgentRequest
22689
22687
  * @description Mutable agent fields. Only appearance for now — identity (name/email/keys)
@@ -24006,6 +24004,73 @@ interface components {
24006
24004
  * @enum {string}
24007
24005
  */
24008
24006
  WorkspaceActivitySource: 'thread' | 'message' | 'document' | 'workflow';
24007
+ /**
24008
+ * WorkspaceArchiveRead
24009
+ * @description A workspace's archive state: ``live`` (open as usual), ``archiving``, ``archived`` or ``restoring``
24010
+ * (``documents_done`` of ``documents_total`` re-indexed). ``can_manage``: the caller may archive / unarchive it
24011
+ * (its owner, or its project's owner); ``available``: this deployment has an archive tier.
24012
+ */
24013
+ WorkspaceArchiveRead: {
24014
+ /** Workspace Ext Id */
24015
+ workspace_ext_id: string;
24016
+ /**
24017
+ * Status
24018
+ * @enum {string}
24019
+ */
24020
+ status: 'live' | 'archiving' | 'archived' | 'restoring';
24021
+ /** Archived At */
24022
+ archived_at: string | null;
24023
+ /**
24024
+ * Documents Done
24025
+ * @default 0
24026
+ */
24027
+ documents_done: number;
24028
+ /**
24029
+ * Documents Total
24030
+ * @default 0
24031
+ */
24032
+ documents_total: number;
24033
+ /** Can Manage */
24034
+ can_manage: boolean;
24035
+ /** Available */
24036
+ available: boolean;
24037
+ /** Live Bytes */
24038
+ live_bytes: number;
24039
+ /** Archived Bytes */
24040
+ archived_bytes: number;
24041
+ /** Error */
24042
+ error?: string | null;
24043
+ estimate?: components['schemas']['UnarchiveEstimate'] | null;
24044
+ };
24045
+ /**
24046
+ * WorkspaceArchiveState
24047
+ * @description An archived workspace (closed: nothing in it can be opened until it is unarchived).
24048
+ *
24049
+ * ``archiving``: its files are moving to the archive tier; ``archived``: they are there; ``restoring``: an unarchive
24050
+ * is bringing them back and re-indexing its documents (``documents_done`` of ``documents_total``).
24051
+ */
24052
+ WorkspaceArchiveState: {
24053
+ /**
24054
+ * Status
24055
+ * @enum {string}
24056
+ */
24057
+ status: 'archiving' | 'archived' | 'restoring';
24058
+ /**
24059
+ * Archived At
24060
+ * Format: date-time
24061
+ */
24062
+ archived_at: string;
24063
+ /**
24064
+ * Documents Done
24065
+ * @default 0
24066
+ */
24067
+ documents_done: number;
24068
+ /**
24069
+ * Documents Total
24070
+ * @default 0
24071
+ */
24072
+ documents_total: number;
24073
+ };
24009
24074
  /** WorkspaceCreateRequest */
24010
24075
  WorkspaceCreateRequest: {
24011
24076
  /** Name */
@@ -24164,6 +24229,7 @@ interface components {
24164
24229
  project_owner_ext_id?: string | null;
24165
24230
  /** House Template Ext Id */
24166
24231
  house_template_ext_id?: string | null;
24232
+ archive?: components['schemas']['WorkspaceArchiveState'] | null;
24167
24233
  };
24168
24234
  /**
24169
24235
  * WorkspaceRole
@@ -26937,6 +27003,99 @@ interface operations {
26937
27003
  };
26938
27004
  };
26939
27005
  };
27006
+ get_workspace_archive: {
27007
+ parameters: {
27008
+ query?: never;
27009
+ header?: never;
27010
+ path: {
27011
+ workspace_ext_id: string;
27012
+ };
27013
+ cookie?: never;
27014
+ };
27015
+ requestBody?: never;
27016
+ responses: {
27017
+ /** @description Successful Response */
27018
+ 200: {
27019
+ headers: {
27020
+ [name: string]: unknown;
27021
+ };
27022
+ content: {
27023
+ 'application/json': components['schemas']['WorkspaceArchiveRead'];
27024
+ };
27025
+ };
27026
+ /** @description Validation Error */
27027
+ 422: {
27028
+ headers: {
27029
+ [name: string]: unknown;
27030
+ };
27031
+ content: {
27032
+ 'application/json': components['schemas']['HTTPValidationError'];
27033
+ };
27034
+ };
27035
+ };
27036
+ };
27037
+ archive_workspace: {
27038
+ parameters: {
27039
+ query?: never;
27040
+ header?: never;
27041
+ path: {
27042
+ workspace_ext_id: string;
27043
+ };
27044
+ cookie?: never;
27045
+ };
27046
+ requestBody?: never;
27047
+ responses: {
27048
+ /** @description Successful Response */
27049
+ 200: {
27050
+ headers: {
27051
+ [name: string]: unknown;
27052
+ };
27053
+ content: {
27054
+ 'application/json': components['schemas']['WorkspaceArchiveRead'];
27055
+ };
27056
+ };
27057
+ /** @description Validation Error */
27058
+ 422: {
27059
+ headers: {
27060
+ [name: string]: unknown;
27061
+ };
27062
+ content: {
27063
+ 'application/json': components['schemas']['HTTPValidationError'];
27064
+ };
27065
+ };
27066
+ };
27067
+ };
27068
+ unarchive_workspace: {
27069
+ parameters: {
27070
+ query?: never;
27071
+ header?: never;
27072
+ path: {
27073
+ workspace_ext_id: string;
27074
+ };
27075
+ cookie?: never;
27076
+ };
27077
+ requestBody?: never;
27078
+ responses: {
27079
+ /** @description Successful Response */
27080
+ 200: {
27081
+ headers: {
27082
+ [name: string]: unknown;
27083
+ };
27084
+ content: {
27085
+ 'application/json': components['schemas']['WorkspaceArchiveRead'];
27086
+ };
27087
+ };
27088
+ /** @description Validation Error */
27089
+ 422: {
27090
+ headers: {
27091
+ [name: string]: unknown;
27092
+ };
27093
+ content: {
27094
+ 'application/json': components['schemas']['HTTPValidationError'];
27095
+ };
27096
+ };
27097
+ };
27098
+ };
26940
27099
  request_docx_agent_v1_editor__document_id__mentions_post: {
26941
27100
  parameters: {
26942
27101
  query?: never;
@@ -34384,121 +34543,6 @@ interface operations {
34384
34543
  };
34385
34544
  };
34386
34545
  };
34387
- list_calendar_app_passwords: {
34388
- parameters: {
34389
- query?: never;
34390
- header?: never;
34391
- path?: never;
34392
- cookie?: never;
34393
- };
34394
- requestBody?: never;
34395
- responses: {
34396
- /** @description Successful Response */
34397
- 200: {
34398
- headers: {
34399
- [name: string]: unknown;
34400
- };
34401
- content: {
34402
- 'application/json': components['schemas']['AppPasswordRead'][];
34403
- };
34404
- };
34405
- };
34406
- };
34407
- create_calendar_app_password: {
34408
- parameters: {
34409
- query?: never;
34410
- header?: never;
34411
- path?: never;
34412
- cookie?: never;
34413
- };
34414
- requestBody: {
34415
- content: {
34416
- 'application/json': components['schemas']['AppPasswordCreate'];
34417
- };
34418
- };
34419
- responses: {
34420
- /** @description Successful Response */
34421
- 200: {
34422
- headers: {
34423
- [name: string]: unknown;
34424
- };
34425
- content: {
34426
- 'application/json': components['schemas']['AppPasswordCreated'];
34427
- };
34428
- };
34429
- /** @description Validation Error */
34430
- 422: {
34431
- headers: {
34432
- [name: string]: unknown;
34433
- };
34434
- content: {
34435
- 'application/json': components['schemas']['HTTPValidationError'];
34436
- };
34437
- };
34438
- };
34439
- };
34440
- create_calendar_feed: {
34441
- parameters: {
34442
- query?: never;
34443
- header?: never;
34444
- path?: never;
34445
- cookie?: never;
34446
- };
34447
- requestBody: {
34448
- content: {
34449
- 'application/json': components['schemas']['FeedCreate'];
34450
- };
34451
- };
34452
- responses: {
34453
- /** @description Successful Response */
34454
- 200: {
34455
- headers: {
34456
- [name: string]: unknown;
34457
- };
34458
- content: {
34459
- 'application/json': components['schemas']['AppPasswordCreated'];
34460
- };
34461
- };
34462
- /** @description Validation Error */
34463
- 422: {
34464
- headers: {
34465
- [name: string]: unknown;
34466
- };
34467
- content: {
34468
- 'application/json': components['schemas']['HTTPValidationError'];
34469
- };
34470
- };
34471
- };
34472
- };
34473
- revoke_calendar_app_password: {
34474
- parameters: {
34475
- query?: never;
34476
- header?: never;
34477
- path: {
34478
- apw_id: string;
34479
- };
34480
- cookie?: never;
34481
- };
34482
- requestBody?: never;
34483
- responses: {
34484
- /** @description Successful Response */
34485
- 204: {
34486
- headers: {
34487
- [name: string]: unknown;
34488
- };
34489
- content?: never;
34490
- };
34491
- /** @description Validation Error */
34492
- 422: {
34493
- headers: {
34494
- [name: string]: unknown;
34495
- };
34496
- content: {
34497
- 'application/json': components['schemas']['HTTPValidationError'];
34498
- };
34499
- };
34500
- };
34501
- };
34502
34546
  list_booking_pages: {
34503
34547
  parameters: {
34504
34548
  query?: never;
@@ -34691,6 +34735,15 @@ interface operations {
34691
34735
  'application/json': components['schemas']['ContactResponse'];
34692
34736
  };
34693
34737
  };
34738
+ /** @description This person is already a contact */
34739
+ 409: {
34740
+ headers: {
34741
+ [name: string]: unknown;
34742
+ };
34743
+ content: {
34744
+ 'application/json': components['schemas']['DuplicateContactError'];
34745
+ };
34746
+ };
34694
34747
  /** @description Validation Error */
34695
34748
  422: {
34696
34749
  headers: {
@@ -34819,6 +34872,15 @@ interface operations {
34819
34872
  'application/json': components['schemas']['ContactResponse'];
34820
34873
  };
34821
34874
  };
34875
+ /** @description This person is already a contact */
34876
+ 409: {
34877
+ headers: {
34878
+ [name: string]: unknown;
34879
+ };
34880
+ content: {
34881
+ 'application/json': components['schemas']['DuplicateContactError'];
34882
+ };
34883
+ };
34822
34884
  /** @description Validation Error */
34823
34885
  422: {
34824
34886
  headers: {