@arbidocs/client 0.5.104 → 0.5.106

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 +926 -701
  2. package/dist/index.d.ts +926 -701
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -78,13 +78,13 @@ interface paths {
78
78
  put?: never;
79
79
  /**
80
80
  * Create Project
81
- * @description Create a new project on the Free or the Pro plan.
81
+ * @description Create a paid additional project on Stripe deployments, otherwise follow deployment permissions.
82
82
  *
83
83
  * Pro is created as 'pending' (awaiting Stripe payment) with NO AI usage — it
84
84
  * only becomes usable once checkout succeeds (refresh_project links the Stripe
85
85
  * subscription and grants the paid budget), so a cancelled checkout never leaves
86
- * a usable project behind. Free projects are usable at once with the free-tier
87
- * allowance, like the personal project created at signup (see user.py).
86
+ * a usable project behind. The personal free project is created internally at signup;
87
+ * this endpoint cannot create another on a Stripe deployment.
88
88
  *
89
89
  * On a members-only deployment (project creation ``members``, Box) only firm members may create projects.
90
90
  */
@@ -463,6 +463,31 @@ interface paths {
463
463
  patch?: never;
464
464
  trace?: never;
465
465
  };
466
+ '/v1/user/projects/{project_ext_id}/addons/collaborators': {
467
+ parameters: {
468
+ query?: never;
469
+ header?: never;
470
+ path?: never;
471
+ cookie?: never;
472
+ };
473
+ get?: never;
474
+ put?: never;
475
+ /**
476
+ * Add Project Collaborator Block
477
+ * @description Add five collaborators, charged now for the rest of the period (prorated by days).
478
+ *
479
+ * It stays on the subscription and renews each period until reduced.
480
+ *
481
+ * Same outcomes as the AI usage block: ``paid``, ``requires_action`` (3-D Secure) or a payment 402
482
+ * (``PAYMENT_DECLINED``, ``PAYMENT_METHOD_REQUIRED``, ...). The usage cap never refuses it (automatic only).
483
+ */
484
+ post: operations['add_project_collaborator_block'];
485
+ delete?: never;
486
+ options?: never;
487
+ head?: never;
488
+ patch?: never;
489
+ trace?: never;
490
+ };
466
491
  '/v1/user/projects/{project_ext_id}/addons/next-period': {
467
492
  parameters: {
468
493
  query?: never;
@@ -1762,6 +1787,9 @@ interface paths {
1762
1787
  * List House Template Candidates
1763
1788
  * @description Documents the active workspace may use as its house template: live, shared Word documents of the workspace
1764
1789
  * and of the deployment's public workspaces (no membership there needed), names decrypted. Read-only.
1790
+ *
1791
+ * An external account, or an agent of one, never takes a public workspace's sealed key: it sees the documents of
1792
+ * only the public workspaces it holds a live grant to (their context resolves through the grant).
1765
1793
  */
1766
1794
  get: operations['list_house_template_candidates'];
1767
1795
  put?: never;
@@ -1979,8 +2007,9 @@ interface paths {
1979
2007
  * Resume Workspace Transfer
1980
2008
  * @description Resume an interrupted, cancelled or failed transfer (also retries the items that failed).
1981
2009
  *
1982
- * Items already copied are not copied again. Must be called from the source
1983
- * workspace, with the target workspace key sealed for this session.
2010
+ * Items already copied are not copied again. Runs with the source workspace's key from the session (409
2011
+ * ``workspace_key_required`` if it is not there), whichever workspace is active, and the target workspace key
2012
+ * sealed for this session.
1984
2013
  */
1985
2014
  post: operations['resume_workspace_transfer'];
1986
2015
  delete?: never;
@@ -3105,7 +3134,11 @@ interface paths {
3105
3134
  };
3106
3135
  get?: never;
3107
3136
  put?: never;
3108
- /** Create Share */
3137
+ /**
3138
+ * Create Share
3139
+ * @description Share a fixed version of a document. Acts in the document's own workspace, whichever is active, or none: its
3140
+ * key from the session (409 ``workspace_key_required`` if it is not there) and the caller's role there.
3141
+ */
3109
3142
  post: operations['create_share_v1_document__document_ext_id__file_shares_post'];
3110
3143
  delete?: never;
3111
3144
  options?: never;
@@ -3122,7 +3155,11 @@ interface paths {
3122
3155
  };
3123
3156
  get?: never;
3124
3157
  put?: never;
3125
- /** Publish */
3158
+ /**
3159
+ * Publish
3160
+ * @description Save the completed signed file as the document's next version, in the share's own workspace (whichever is
3161
+ * active, or none; its key from the session, else 409 ``workspace_key_required``).
3162
+ */
3126
3163
  post: operations['publish_v1_document__document_ext_id__file_shares__share_id__publish_post'];
3127
3164
  delete?: never;
3128
3165
  options?: never;
@@ -5480,7 +5517,7 @@ interface paths {
5480
5517
  * parts tell you where you are).
5481
5518
  *
5482
5519
  * * ``speaker``: your own microphone. You must be admissible to the call (the ``POST /token`` rule; for a thread
5483
- * call a member of its workspace, any role — the workspace guest role included) or already in the room; in a
5520
+ * call a member of its workspace, any role — the Read only role included) or already in the room; in a
5484
5521
  * webinar, on stage (403 ``not_on_stage``).
5485
5522
  * * ``composite``: the host's view, host only, ``audio_video`` recordings only (422 ``composite_needs_video``).
5486
5523
  *
@@ -8100,6 +8137,50 @@ interface paths {
8100
8137
  patch?: never;
8101
8138
  trace?: never;
8102
8139
  };
8140
+ '/v1/mail/accounts/{account_id}/conversations': {
8141
+ parameters: {
8142
+ query?: never;
8143
+ header?: never;
8144
+ path?: never;
8145
+ cookie?: never;
8146
+ };
8147
+ /**
8148
+ * Conversations
8149
+ * @description The folder's conversations, newest first. ARBI mail pages by conversation (an opaque keyset cursor, stable
8150
+ * while mail moves or arrives), counts the whole folder and carries each conversation's newest message only (its
8151
+ * ``thread`` has them all; a search carries the matching ones). A connected account groups each page of its
8152
+ * messages by the provider's thread id (a conversation that spans two pages comes in both: merge by ``thread_id``).
8153
+ */
8154
+ get: operations['conversations_v1_mail_accounts__account_id__conversations_get'];
8155
+ put?: never;
8156
+ post?: never;
8157
+ delete?: never;
8158
+ options?: never;
8159
+ head?: never;
8160
+ patch?: never;
8161
+ trace?: never;
8162
+ };
8163
+ '/v1/mail/accounts/{account_id}/thread': {
8164
+ parameters: {
8165
+ query?: never;
8166
+ header?: never;
8167
+ path?: never;
8168
+ cookie?: never;
8169
+ };
8170
+ /**
8171
+ * Thread
8172
+ * @description One conversation's messages, oldest first: a conversation's ``thread_id`` from the list. ``folder_id``, the
8173
+ * folder it was opened from: the Trash reads the Trash's; IMAP, which cannot search across folders, that folder.
8174
+ */
8175
+ get: operations['thread_v1_mail_accounts__account_id__thread_get'];
8176
+ put?: never;
8177
+ post?: never;
8178
+ delete?: never;
8179
+ options?: never;
8180
+ head?: never;
8181
+ patch?: never;
8182
+ trace?: never;
8183
+ };
8103
8184
  '/v1/mail/accounts/{account_id}/messages/{message_id}': {
8104
8185
  parameters: {
8105
8186
  query?: never;
@@ -8330,6 +8411,202 @@ interface paths {
8330
8411
  patch?: never;
8331
8412
  trace?: never;
8332
8413
  };
8414
+ '/v1/mail/accounts/{account_id}/messages/{message_id}/file': {
8415
+ parameters: {
8416
+ query?: never;
8417
+ header?: never;
8418
+ path?: never;
8419
+ cookie?: never;
8420
+ };
8421
+ get?: never;
8422
+ put?: never;
8423
+ /**
8424
+ * File Message
8425
+ * @description Add a message to a workspace, as a document only you can see (the mailbox's filing row for that workspace,
8426
+ * as mailbox sync keeps it). Adding it again changes nothing.
8427
+ */
8428
+ post: operations['file_message_v1_mail_accounts__account_id__messages__message_id__file_post'];
8429
+ delete?: never;
8430
+ options?: never;
8431
+ head?: never;
8432
+ patch?: never;
8433
+ trace?: never;
8434
+ };
8435
+ '/v1/mail/accounts/{account_id}/conversations/file': {
8436
+ parameters: {
8437
+ query?: never;
8438
+ header?: never;
8439
+ path?: never;
8440
+ cookie?: never;
8441
+ };
8442
+ get?: never;
8443
+ put?: never;
8444
+ /**
8445
+ * File Conversation
8446
+ * @description Add a conversation to a workspace: its messages now (``message_ids``), and its replies from now on until
8447
+ * stopped. A native reply is filed the next time you open the workspace; a connected account's by your app as it
8448
+ * lists it.
8449
+ */
8450
+ post: operations['file_conversation_v1_mail_accounts__account_id__conversations_file_post'];
8451
+ delete?: never;
8452
+ options?: never;
8453
+ head?: never;
8454
+ patch?: never;
8455
+ trace?: never;
8456
+ };
8457
+ '/v1/mail/filing/{row_id}/threads': {
8458
+ parameters: {
8459
+ query?: never;
8460
+ header?: never;
8461
+ path?: never;
8462
+ cookie?: never;
8463
+ };
8464
+ get?: never;
8465
+ put?: never;
8466
+ post?: never;
8467
+ /**
8468
+ * Stop Conversation
8469
+ * @description Stop adding a conversation's replies to its workspace. What was filed stays.
8470
+ */
8471
+ delete: operations['stop_conversation_v1_mail_filing__row_id__threads_delete'];
8472
+ options?: never;
8473
+ head?: never;
8474
+ patch?: never;
8475
+ trace?: never;
8476
+ };
8477
+ '/v1/mail/accounts/{account_id}/filing': {
8478
+ parameters: {
8479
+ query?: never;
8480
+ header?: never;
8481
+ path?: never;
8482
+ cookie?: never;
8483
+ };
8484
+ get?: never;
8485
+ put?: never;
8486
+ /**
8487
+ * Filing State
8488
+ * @description Which of these messages are in a workspace (or wait to be), and which of these conversations add their
8489
+ * replies to one.
8490
+ */
8491
+ post: operations['filing_state_v1_mail_accounts__account_id__filing_post'];
8492
+ delete?: never;
8493
+ options?: never;
8494
+ head?: never;
8495
+ patch?: never;
8496
+ trace?: never;
8497
+ };
8498
+ '/v1/mail/native/filing': {
8499
+ parameters: {
8500
+ query?: never;
8501
+ header?: never;
8502
+ path?: never;
8503
+ cookie?: never;
8504
+ };
8505
+ /**
8506
+ * Native Filing
8507
+ * @description Where your ARBI mailbox files mail: per workspace, the folders filed ongoing and the conversations followed.
8508
+ */
8509
+ get: operations['native_filing_v1_mail_native_filing_get'];
8510
+ /**
8511
+ * Set Native Filing
8512
+ * @description File the ARBI mailbox's folders into a workspace, ongoing (as a connected mailbox syncs). The mail already in
8513
+ * them from the backfill window, and what arrives later, waits until you next open the workspace, and is filed
8514
+ * then with your session's keys.
8515
+ */
8516
+ put: operations['set_native_filing_v1_mail_native_filing_put'];
8517
+ post?: never;
8518
+ delete?: never;
8519
+ options?: never;
8520
+ head?: never;
8521
+ patch?: never;
8522
+ trace?: never;
8523
+ };
8524
+ '/v1/mail/native/filing/waiting': {
8525
+ parameters: {
8526
+ query?: never;
8527
+ header?: never;
8528
+ path?: never;
8529
+ cookie?: never;
8530
+ };
8531
+ /**
8532
+ * Native Filing Waiting
8533
+ * @description The sealed keys of ARBI mail waiting to be filed into this workspace, to bridge to the session
8534
+ * (``/native/session-keys``) before ``/native/filing/run``.
8535
+ */
8536
+ get: operations['native_filing_waiting_v1_mail_native_filing_waiting_get'];
8537
+ put?: never;
8538
+ post?: never;
8539
+ delete?: never;
8540
+ options?: never;
8541
+ head?: never;
8542
+ patch?: never;
8543
+ trace?: never;
8544
+ };
8545
+ '/v1/mail/native/filing/run': {
8546
+ parameters: {
8547
+ query?: never;
8548
+ header?: never;
8549
+ path?: never;
8550
+ cookie?: never;
8551
+ };
8552
+ get?: never;
8553
+ put?: never;
8554
+ /**
8555
+ * Run Native Filing
8556
+ * @description File the ARBI mail waiting for this workspace, with this session's keys (the workspace's, and the bridged
8557
+ * message keys). Called when the workspace is opened, like a connected mailbox's auto-sync.
8558
+ */
8559
+ post: operations['run_native_filing_v1_mail_native_filing_run_post'];
8560
+ delete?: never;
8561
+ options?: never;
8562
+ head?: never;
8563
+ patch?: never;
8564
+ trace?: never;
8565
+ };
8566
+ '/v1/mail/native/thread-secret': {
8567
+ parameters: {
8568
+ query?: never;
8569
+ header?: never;
8570
+ path?: never;
8571
+ cookie?: never;
8572
+ };
8573
+ /**
8574
+ * Native Thread Secret
8575
+ * @description The caller's key for thread keys of their own native mail, to key older messages (``/native/thread-keys``):
8576
+ * random, made on first use (which drops keys made under an earlier secret, for the client to key again). 503 when
8577
+ * this deployment cannot keep one (no deployment wrap key).
8578
+ */
8579
+ get: operations['native_thread_secret_v1_mail_native_thread_secret_get'];
8580
+ put?: never;
8581
+ post?: never;
8582
+ delete?: never;
8583
+ options?: never;
8584
+ head?: never;
8585
+ patch?: never;
8586
+ trace?: never;
8587
+ };
8588
+ '/v1/mail/native/thread-keys': {
8589
+ parameters: {
8590
+ query?: never;
8591
+ header?: never;
8592
+ path?: never;
8593
+ cookie?: never;
8594
+ };
8595
+ get?: never;
8596
+ put?: never;
8597
+ /**
8598
+ * Native Thread Keys
8599
+ * @description Thread keys the owner's client computed for older messages, which the server cannot key (their Message-IDs
8600
+ * are encrypted). Only messages without keys take them; unknown ids are skipped (row-level security hides others'
8601
+ * mail).
8602
+ */
8603
+ post: operations['native_thread_keys_v1_mail_native_thread_keys_post'];
8604
+ delete?: never;
8605
+ options?: never;
8606
+ head?: never;
8607
+ patch?: never;
8608
+ trace?: never;
8609
+ };
8333
8610
  '/v1/mail/accounts/{account_id}/messages/{message_id}/original': {
8334
8611
  parameters: {
8335
8612
  query?: never;
@@ -8542,243 +8819,6 @@ interface paths {
8542
8819
  patch?: never;
8543
8820
  trace?: never;
8544
8821
  };
8545
- '/v1/mail/accounts/{account_id}/conversations': {
8546
- parameters: {
8547
- query?: never;
8548
- header?: never;
8549
- path?: never;
8550
- cookie?: never;
8551
- };
8552
- /**
8553
- * Conversations
8554
- * @description The folder's conversations, newest first. ARBI mail pages by conversation and counts the whole folder; a
8555
- * connected account groups each page of its messages by the provider's thread id (a conversation that spans two
8556
- * pages comes in both: merge by ``thread_id``).
8557
- */
8558
- get: operations['conversations_v1_mail_accounts__account_id__conversations_get'];
8559
- put?: never;
8560
- post?: never;
8561
- delete?: never;
8562
- options?: never;
8563
- head?: never;
8564
- patch?: never;
8565
- trace?: never;
8566
- };
8567
- '/v1/mail/accounts/{account_id}/thread': {
8568
- parameters: {
8569
- query?: never;
8570
- header?: never;
8571
- path?: never;
8572
- cookie?: never;
8573
- };
8574
- /**
8575
- * Thread
8576
- * @description One conversation's messages, oldest first: a conversation's ``thread_id`` from the list. ``folder_id``, the
8577
- * folder it was opened from: the Trash reads the Trash's; IMAP, which cannot search across folders, that folder.
8578
- */
8579
- get: operations['thread_v1_mail_accounts__account_id__thread_get'];
8580
- put?: never;
8581
- post?: never;
8582
- delete?: never;
8583
- options?: never;
8584
- head?: never;
8585
- patch?: never;
8586
- trace?: never;
8587
- };
8588
- '/v1/mail/native/thread-secret': {
8589
- parameters: {
8590
- query?: never;
8591
- header?: never;
8592
- path?: never;
8593
- cookie?: never;
8594
- };
8595
- /**
8596
- * Native Thread Secret
8597
- * @description The caller's key for thread keys of their own native mail, to key older messages (``/native/thread-keys``).
8598
- */
8599
- get: operations['native_thread_secret_v1_mail_native_thread_secret_get'];
8600
- put?: never;
8601
- post?: never;
8602
- delete?: never;
8603
- options?: never;
8604
- head?: never;
8605
- patch?: never;
8606
- trace?: never;
8607
- };
8608
- '/v1/mail/native/thread-keys': {
8609
- parameters: {
8610
- query?: never;
8611
- header?: never;
8612
- path?: never;
8613
- cookie?: never;
8614
- };
8615
- get?: never;
8616
- put?: never;
8617
- /**
8618
- * Native Thread Keys
8619
- * @description Thread keys the owner's client computed for older messages, which the server cannot key (their Message-IDs
8620
- * are encrypted). Only messages without keys take them; unknown ids are skipped (row-level security hides others'
8621
- * mail).
8622
- */
8623
- post: operations['native_thread_keys_v1_mail_native_thread_keys_post'];
8624
- delete?: never;
8625
- options?: never;
8626
- head?: never;
8627
- patch?: never;
8628
- trace?: never;
8629
- };
8630
- '/v1/mail/accounts/{account_id}/messages/{message_id}/file': {
8631
- parameters: {
8632
- query?: never;
8633
- header?: never;
8634
- path?: never;
8635
- cookie?: never;
8636
- };
8637
- get?: never;
8638
- put?: never;
8639
- /**
8640
- * File Message
8641
- * @description Add a message to a workspace, as a document only you can see (the mailbox's filing row for that workspace,
8642
- * as mailbox sync keeps it). Adding it again changes nothing.
8643
- */
8644
- post: operations['file_message_v1_mail_accounts__account_id__messages__message_id__file_post'];
8645
- delete?: never;
8646
- options?: never;
8647
- head?: never;
8648
- patch?: never;
8649
- trace?: never;
8650
- };
8651
- '/v1/mail/accounts/{account_id}/conversations/file': {
8652
- parameters: {
8653
- query?: never;
8654
- header?: never;
8655
- path?: never;
8656
- cookie?: never;
8657
- };
8658
- get?: never;
8659
- put?: never;
8660
- /**
8661
- * File Conversation
8662
- * @description Add a conversation to a workspace: its messages now (``message_ids``), and its replies from now on until
8663
- * stopped. A native reply is filed the next time you open the workspace; a connected account's by your app as it
8664
- * lists it.
8665
- */
8666
- post: operations['file_conversation_v1_mail_accounts__account_id__conversations_file_post'];
8667
- delete?: never;
8668
- options?: never;
8669
- head?: never;
8670
- patch?: never;
8671
- trace?: never;
8672
- };
8673
- '/v1/mail/filing/{row_id}/threads': {
8674
- parameters: {
8675
- query?: never;
8676
- header?: never;
8677
- path?: never;
8678
- cookie?: never;
8679
- };
8680
- get?: never;
8681
- put?: never;
8682
- post?: never;
8683
- /**
8684
- * Stop Conversation
8685
- * @description Stop adding a conversation's replies to its workspace. What was filed stays.
8686
- */
8687
- delete: operations['stop_conversation_v1_mail_filing__row_id__threads_delete'];
8688
- options?: never;
8689
- head?: never;
8690
- patch?: never;
8691
- trace?: never;
8692
- };
8693
- '/v1/mail/accounts/{account_id}/filing': {
8694
- parameters: {
8695
- query?: never;
8696
- header?: never;
8697
- path?: never;
8698
- cookie?: never;
8699
- };
8700
- get?: never;
8701
- put?: never;
8702
- /**
8703
- * Filing State
8704
- * @description Which of these messages are in a workspace (or wait to be), and which of these conversations add their
8705
- * replies to one.
8706
- */
8707
- post: operations['filing_state_v1_mail_accounts__account_id__filing_post'];
8708
- delete?: never;
8709
- options?: never;
8710
- head?: never;
8711
- patch?: never;
8712
- trace?: never;
8713
- };
8714
- '/v1/mail/native/filing': {
8715
- parameters: {
8716
- query?: never;
8717
- header?: never;
8718
- path?: never;
8719
- cookie?: never;
8720
- };
8721
- /**
8722
- * Native Filing
8723
- * @description Where your ARBI mailbox files mail: per workspace, the folders filed ongoing and the conversations followed.
8724
- */
8725
- get: operations['native_filing_v1_mail_native_filing_get'];
8726
- /**
8727
- * Set Native Filing
8728
- * @description File the ARBI mailbox's folders into a workspace, ongoing (as a connected mailbox syncs). The mail already in
8729
- * them from the backfill window, and what arrives later, waits until you next open the workspace, and is filed
8730
- * then with your session's keys.
8731
- */
8732
- put: operations['set_native_filing_v1_mail_native_filing_put'];
8733
- post?: never;
8734
- delete?: never;
8735
- options?: never;
8736
- head?: never;
8737
- patch?: never;
8738
- trace?: never;
8739
- };
8740
- '/v1/mail/native/filing/waiting': {
8741
- parameters: {
8742
- query?: never;
8743
- header?: never;
8744
- path?: never;
8745
- cookie?: never;
8746
- };
8747
- /**
8748
- * Native Filing Waiting
8749
- * @description The sealed keys of ARBI mail waiting to be filed into this workspace, to bridge to the session
8750
- * (``/native/session-keys``) before ``/native/filing/run``.
8751
- */
8752
- get: operations['native_filing_waiting_v1_mail_native_filing_waiting_get'];
8753
- put?: never;
8754
- post?: never;
8755
- delete?: never;
8756
- options?: never;
8757
- head?: never;
8758
- patch?: never;
8759
- trace?: never;
8760
- };
8761
- '/v1/mail/native/filing/run': {
8762
- parameters: {
8763
- query?: never;
8764
- header?: never;
8765
- path?: never;
8766
- cookie?: never;
8767
- };
8768
- get?: never;
8769
- put?: never;
8770
- /**
8771
- * Run Native Filing
8772
- * @description File the ARBI mail waiting for this workspace, with this session's keys (the workspace's, and the bridged
8773
- * message keys). Called when the workspace is opened, like a connected mailbox's auto-sync.
8774
- */
8775
- post: operations['run_native_filing_v1_mail_native_filing_run_post'];
8776
- delete?: never;
8777
- options?: never;
8778
- head?: never;
8779
- patch?: never;
8780
- trace?: never;
8781
- };
8782
8822
  }
8783
8823
  type webhooks = Record<string, never>;
8784
8824
  interface components {
@@ -8931,7 +8971,7 @@ interface components {
8931
8971
  */
8932
8972
  status: 'pending' | 'paid';
8933
8973
  /** Kind */
8934
- kind?: ('ai_usage' | 'storage') | null;
8974
+ kind?: ('ai_usage' | 'storage' | 'collaborators') | null;
8935
8975
  /** Amount Pence */
8936
8976
  amount_pence?: number | null;
8937
8977
  /** Amount Ex Vat Pence */
@@ -8952,7 +8992,7 @@ interface components {
8952
8992
  * Kind
8953
8993
  * @enum {string}
8954
8994
  */
8955
- kind: 'ai_usage' | 'storage';
8995
+ kind: 'ai_usage' | 'storage' | 'collaborators';
8956
8996
  /**
8957
8997
  * Ai Gbp
8958
8998
  * @default 0
@@ -8963,6 +9003,11 @@ interface components {
8963
9003
  * @default 0
8964
9004
  */
8965
9005
  storage_gb: number;
9006
+ /**
9007
+ * Collaborators
9008
+ * @default 0
9009
+ */
9010
+ collaborators: number;
8966
9011
  /** Amount Ex Vat */
8967
9012
  amount_ex_vat: number;
8968
9013
  /** Amount */
@@ -8995,7 +9040,7 @@ interface components {
8995
9040
  * Kind
8996
9041
  * @enum {string}
8997
9042
  */
8998
- kind: 'ai_usage' | 'storage';
9043
+ kind: 'ai_usage' | 'storage' | 'collaborators';
8999
9044
  now: components['schemas']['TaxQuoteResponse'];
9000
9045
  renewal: components['schemas']['TaxQuoteResponse'];
9001
9046
  };
@@ -10224,6 +10269,27 @@ interface components {
10224
10269
  * namespaced `arbi` field, so a standard Responses client ignores it (unknown
10225
10270
  * field) while ours reads it. The item itself stays byte-for-byte standard.
10226
10271
  */
10272
+ RoutingDecision: {
10273
+ status: 'applied' | 'fallback';
10274
+ router_model: string;
10275
+ selected_model: string;
10276
+ model_recommendation?: string | null;
10277
+ elapsed_seconds: number;
10278
+ input_tokens?: number | null;
10279
+ output_tokens?: number | null;
10280
+ cost_usd?: number | null;
10281
+ retained_message_ext_ids: string[];
10282
+ recommended_history_keep_count?: number | null;
10283
+ history_retained_by_policy?: boolean;
10284
+ document_titles: {
10285
+ [key: string]: string;
10286
+ };
10287
+ selected_doc_ext_ids: string[];
10288
+ selected_tool_names?: string[] | null;
10289
+ always_available_tool_names: string[];
10290
+ recommended_tool_names?: string[] | null;
10291
+ fallback_reason?: string | null;
10292
+ };
10227
10293
  ArbiItemMeta: {
10228
10294
  /**
10229
10295
  * Step
@@ -10315,6 +10381,7 @@ interface components {
10315
10381
  * Kept Doc Ext Ids
10316
10382
  * @description Goal step only: documents the planner kept for this turn.
10317
10383
  */
10384
+ routing?: components['schemas']['RoutingDecision'] | null;
10318
10385
  kept_doc_ext_ids?: string[] | null;
10319
10386
  /**
10320
10387
  * Dropped Doc Ext Ids
@@ -17136,6 +17203,60 @@ interface components {
17136
17203
  */
17137
17204
  reply: boolean;
17138
17205
  };
17206
+ /**
17207
+ * MailConversation
17208
+ * @description One row of the conversation list: a thread's messages in the folder listed, newest first.
17209
+ *
17210
+ * ``thread_id`` is the messages' ``thread_id``, or the message's own ``id`` when it stands alone (it has no thread
17211
+ * key). Counts and ``flagged`` cover the messages in the folder listed. ARBI mail lists only the newest message in
17212
+ * ``messages`` (so ``subject`` and ``senders`` are that message's), a search the matching ones; read the rest with
17213
+ * ``/thread``. A connected account lists the page's messages of the conversation.
17214
+ */
17215
+ MailConversation: {
17216
+ /** Thread Id */
17217
+ thread_id: string;
17218
+ /**
17219
+ * Subject
17220
+ * @default
17221
+ */
17222
+ subject: string;
17223
+ /**
17224
+ * Preview
17225
+ * @default
17226
+ */
17227
+ preview: string;
17228
+ /** Senders */
17229
+ senders?: components['schemas']['MailAddress'][];
17230
+ /** Received At */
17231
+ received_at?: string | null;
17232
+ /** Message Count */
17233
+ message_count: number;
17234
+ /**
17235
+ * Unread Count
17236
+ * @default 0
17237
+ */
17238
+ unread_count: number;
17239
+ /**
17240
+ * Flagged
17241
+ * @default false
17242
+ */
17243
+ flagged: boolean;
17244
+ /** Messages */
17245
+ messages?: components['schemas']['MailMessage'][];
17246
+ };
17247
+ /** MailConversationFiled */
17248
+ MailConversationFiled: {
17249
+ rule: components['schemas']['MailFilingRuleRead'];
17250
+ /** Filed */
17251
+ filed: components['schemas']['MailFiledRead'][];
17252
+ };
17253
+ /** MailConversationPage */
17254
+ MailConversationPage: {
17255
+ /** Conversations */
17256
+ conversations: components['schemas']['MailConversation'][];
17257
+ /** Next Cursor */
17258
+ next_cursor?: string | null;
17259
+ };
17139
17260
  /** MailCredentialBridge */
17140
17261
  MailCredentialBridge: {
17141
17262
  /** Access */
@@ -17228,6 +17349,74 @@ interface components {
17228
17349
  /** Id */
17229
17350
  id: string;
17230
17351
  };
17352
+ /**
17353
+ * MailFile
17354
+ * @description Add a message to a workspace (``wrk-``), as a document only its filer can see.
17355
+ */
17356
+ MailFile: {
17357
+ /** Workspace Ext Id */
17358
+ workspace_ext_id: string;
17359
+ };
17360
+ /**
17361
+ * MailFileConversation
17362
+ * @description Add a conversation: its messages now (``message_ids``, the client's thread read) and its future replies.
17363
+ */
17364
+ MailFileConversation: {
17365
+ /** Workspace Ext Id */
17366
+ workspace_ext_id: string;
17367
+ /** Thread Id */
17368
+ thread_id: string;
17369
+ /** Message Ids */
17370
+ message_ids?: string[];
17371
+ };
17372
+ /** MailFiledRead */
17373
+ MailFiledRead: {
17374
+ /** Message Id */
17375
+ message_id: string;
17376
+ /** Workspace Ext Id */
17377
+ workspace_ext_id: string;
17378
+ /** Doc Ext Id */
17379
+ doc_ext_id?: string | null;
17380
+ /**
17381
+ * Pending
17382
+ * @default false
17383
+ */
17384
+ pending: boolean;
17385
+ };
17386
+ /**
17387
+ * MailFilingLookup
17388
+ * @description Which of these messages are in a workspace, and which of these conversations have a rule.
17389
+ */
17390
+ MailFilingLookup: {
17391
+ /** Message Ids */
17392
+ message_ids?: string[];
17393
+ /** Thread Ids */
17394
+ thread_ids?: string[];
17395
+ };
17396
+ /**
17397
+ * MailFilingRuleRead
17398
+ * @description A conversation whose future replies are added to a workspace: a thread of the mailbox's filing row
17399
+ * (``mailbox_sync``) for that workspace. ``id`` is that row's.
17400
+ */
17401
+ MailFilingRuleRead: {
17402
+ /** Id */
17403
+ id: string;
17404
+ /** Account Id */
17405
+ account_id: string;
17406
+ /** Workspace Ext Id */
17407
+ workspace_ext_id: string;
17408
+ /** Thread Id */
17409
+ thread_id?: string | null;
17410
+ /** Created At */
17411
+ created_at: string;
17412
+ };
17413
+ /** MailFilingState */
17414
+ MailFilingState: {
17415
+ /** Filed */
17416
+ filed: components['schemas']['MailFiledRead'][];
17417
+ /** Rules */
17418
+ rules: components['schemas']['MailFilingRuleRead'][];
17419
+ };
17231
17420
  /** MailFolder */
17232
17421
  MailFolder: {
17233
17422
  /** Id */
@@ -17512,6 +17701,17 @@ interface components {
17512
17701
  /** Provider */
17513
17702
  provider: string;
17514
17703
  };
17704
+ /**
17705
+ * MailThread
17706
+ * @description Every message of one conversation, oldest first: across folders (Sent replies too) except the Trash, unless it
17707
+ * is the Trash being read. IMAP has no cross-folder search: there it is the folder's.
17708
+ */
17709
+ MailThread: {
17710
+ /** Thread Id */
17711
+ thread_id: string;
17712
+ /** Messages */
17713
+ messages: components['schemas']['MailMessage'][];
17714
+ };
17515
17715
  /** MailTrashEmptied */
17516
17716
  MailTrashEmptied: {
17517
17717
  /** Deleted */
@@ -17609,7 +17809,8 @@ interface components {
17609
17809
  */
17610
17810
  member_count: number;
17611
17811
  /**
17612
- * Guest Count
17812
+ * Read Only Count
17813
+ * @description People with only the Read only role in its workspaces.
17613
17814
  * @default 0
17614
17815
  */
17615
17816
  guest_count: number;
@@ -17679,7 +17880,8 @@ interface components {
17679
17880
  */
17680
17881
  member_count: number;
17681
17882
  /**
17682
- * Guest Count
17883
+ * Read Only Count
17884
+ * @description People with only the Read only role in the projects' workspaces.
17683
17885
  * @default 0
17684
17886
  */
17685
17887
  guest_count: number;
@@ -18339,6 +18541,78 @@ interface components {
18339
18541
  /** Alias */
18340
18542
  alias: string;
18341
18543
  };
18544
+ /**
18545
+ * NativeFilingFolders
18546
+ * @description File the ARBI mailbox's ``folders`` (roles: inbox, sent, archive) into a workspace, ongoing: mail already
18547
+ * there from the last ``backfill_window`` days, then what arrives.
18548
+ */
18549
+ NativeFilingFolders: {
18550
+ /** Workspace Ext Id */
18551
+ workspace_ext_id: string;
18552
+ /** Folders */
18553
+ folders?: ('inbox' | 'sent' | 'archive')[];
18554
+ /**
18555
+ * Backfill Window
18556
+ * @default 90
18557
+ */
18558
+ backfill_window: number;
18559
+ };
18560
+ /**
18561
+ * NativeFilingKeys
18562
+ * @description Sealed keys of the messages waiting to be filed into a workspace (``native_mail_items.id`` → wrapped key),
18563
+ * for the client to bridge to its session (``/native/session-keys``) before ``/native/filing/run``.
18564
+ */
18565
+ NativeFilingKeys: {
18566
+ /** Keys */
18567
+ keys: {
18568
+ [key: string]: string;
18569
+ };
18570
+ };
18571
+ /**
18572
+ * NativeFilingRead
18573
+ * @description The ARBI mailbox's filing into one workspace: folders filed ongoing, conversations followed, and how many
18574
+ * messages wait to be filed (until the workspace is next opened).
18575
+ */
18576
+ NativeFilingRead: {
18577
+ /** Id */
18578
+ id: string;
18579
+ /** Workspace Ext Id */
18580
+ workspace_ext_id: string;
18581
+ /** Folders */
18582
+ folders: string[];
18583
+ /** Threads */
18584
+ threads: number;
18585
+ /** Backfill Window */
18586
+ backfill_window: number;
18587
+ /** Filed */
18588
+ filed: number;
18589
+ /** Waiting */
18590
+ waiting: number;
18591
+ /**
18592
+ * Failed
18593
+ * @default 0
18594
+ */
18595
+ failed: number;
18596
+ /** Last Sync At */
18597
+ last_sync_at?: string | null;
18598
+ };
18599
+ /** NativeFilingRun */
18600
+ NativeFilingRun: {
18601
+ /** Workspace Ext Id */
18602
+ workspace_ext_id: string;
18603
+ };
18604
+ /** NativeFilingRunResult */
18605
+ NativeFilingRunResult: {
18606
+ /** Filed */
18607
+ filed: number;
18608
+ /** Waiting */
18609
+ waiting: number;
18610
+ /**
18611
+ * Failed
18612
+ * @default 0
18613
+ */
18614
+ failed: number;
18615
+ };
18342
18616
  /** NativeInbound */
18343
18617
  NativeInbound: {
18344
18618
  /**
@@ -18367,6 +18641,37 @@ interface components {
18367
18641
  /** Next Cursor */
18368
18642
  next_cursor?: number | null;
18369
18643
  };
18644
+ /** NativeThreadKey */
18645
+ NativeThreadKey: {
18646
+ /** Message Id Hmac */
18647
+ message_id_hmac?: string | null;
18648
+ /** Thread Hmac */
18649
+ thread_hmac: string;
18650
+ };
18651
+ /**
18652
+ * NativeThreadKeys
18653
+ * @description Thread keys the owner's client computed for older messages (keyed by ``eml-`` id), which have none.
18654
+ */
18655
+ NativeThreadKeys: {
18656
+ /** Keys */
18657
+ keys: {
18658
+ [key: string]: components['schemas']['NativeThreadKey'];
18659
+ };
18660
+ };
18661
+ /** NativeThreadKeysSaved */
18662
+ NativeThreadKeysSaved: {
18663
+ /** Updated */
18664
+ updated: number;
18665
+ };
18666
+ /**
18667
+ * NativeThreadSecret
18668
+ * @description The owner's key for native mail thread keys (base64): HMAC-SHA256 over ``message:<Message-ID>``, hex, first
18669
+ * 32 characters, as ``email_threading.thread_keys``. Lets the owner's client key older mail the server cannot read.
18670
+ */
18671
+ NativeThreadSecret: {
18672
+ /** Secret */
18673
+ secret: string;
18674
+ };
18370
18675
  /** NonDeveloperConfig */
18371
18676
  NonDeveloperConfig: {
18372
18677
  Agents: components['schemas']['AgentsUserConfig'];
@@ -18417,7 +18722,7 @@ interface components {
18417
18722
  * Type is self-descriptive, no need to parse content field.
18418
18723
  * @enum {string}
18419
18724
  */
18420
- NotificationType: 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'box_seat_refused' | 'deployment_user_invited' | 'deployment_user_registered' | 'support_ticket_resolved' | 'native_mail_received' | 'mail_draft_ready' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'storage_quota_exceeded' | 'doc_shared' | 'docx_mention' | 'file_shared' | 'signature_requested' | 'signature_completed' | 'signature_declined' | 'workspace_access_request' | 'conversation_ready' | 'conversation_done' | 'conversation_notified' | 'workflow_failed' | 'agent_input_requested' | 'workflow_completed' | 'workflow_signal' | 'step_ready' | 'task_started' | 'task_completed' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity' | 'mention' | 'thread_reply' | 'document_activity' | 'document_processed' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
18725
+ NotificationType: 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'box_seat_refused' | 'deployment_user_invited' | 'deployment_user_registered' | 'support_ticket_received' | 'support_ticket_reviewed' | 'support_ticket_resolved' | 'native_mail_received' | 'mail_draft_ready' | 'email_reply' | 'project_quota_warning' | 'project_retention' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'storage_quota_exceeded' | 'doc_shared' | 'docx_mention' | 'file_shared' | 'signature_requested' | 'signature_completed' | 'signature_declined' | 'workspace_access_request' | 'conversation_ready' | 'conversation_done' | 'conversation_notified' | 'workflow_failed' | 'agent_input_requested' | 'workflow_completed' | 'workflow_signal' | 'step_ready' | 'task_started' | 'task_completed' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity' | 'mention' | 'thread_reply' | 'document_activity' | 'document_processed' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
18421
18726
  /**
18422
18727
  * NotificationUpdate
18423
18728
  * @description Single notification update for bulk PATCH.
@@ -19173,6 +19478,41 @@ interface components {
19173
19478
  * @description Stripe product with pricing information.
19174
19479
  */
19175
19480
  ProductResponse: {
19481
+ /**
19482
+ * Included Ai Gbp
19483
+ * @default 10
19484
+ */
19485
+ included_ai_gbp: number;
19486
+ /**
19487
+ * Included Storage Gb
19488
+ * @default 5
19489
+ */
19490
+ included_storage_gb: number;
19491
+ /**
19492
+ * Included Collaborators
19493
+ * @default 1
19494
+ */
19495
+ included_collaborators: number;
19496
+ /**
19497
+ * Default Spend Cap Pence
19498
+ * @default 10000
19499
+ */
19500
+ default_spend_cap_pence: number;
19501
+ /**
19502
+ * Spend Cap Step Pence
19503
+ * @default 2500
19504
+ */
19505
+ spend_cap_step_pence: number;
19506
+ /**
19507
+ * Maximum Spend Cap Pence
19508
+ * @default 50000
19509
+ */
19510
+ maximum_spend_cap_pence: number;
19511
+ /**
19512
+ * Quota Warning Percent
19513
+ * @default 80
19514
+ */
19515
+ quota_warning_percent: number;
19176
19516
  /** Product Id */
19177
19517
  product_id: string;
19178
19518
  /** Name */
@@ -19218,10 +19558,60 @@ interface components {
19218
19558
  plan_name: string;
19219
19559
  /** Plan Ai Gbp */
19220
19560
  plan_ai_gbp: number;
19561
+ /**
19562
+ * Plan Monthly Ex Vat Pence
19563
+ * @default 0
19564
+ */
19565
+ plan_monthly_ex_vat_pence: number;
19566
+ /**
19567
+ * Total Monthly Ex Vat Pence
19568
+ * @default 0
19569
+ */
19570
+ total_monthly_ex_vat_pence: number;
19221
19571
  /** Plan Storage Gb */
19222
19572
  plan_storage_gb: number;
19223
19573
  /** Block Ai Gbp */
19224
19574
  block_ai_gbp: number;
19575
+ /**
19576
+ * Block Collaborators
19577
+ * @default 5
19578
+ */
19579
+ block_collaborators: number;
19580
+ /**
19581
+ * Spend Cap Step Pence
19582
+ * @default 2500
19583
+ */
19584
+ spend_cap_step_pence: number;
19585
+ /**
19586
+ * Maximum Spend Cap Pence
19587
+ * @default 50000
19588
+ */
19589
+ maximum_spend_cap_pence: number;
19590
+ /**
19591
+ * Default Spend Cap Pence
19592
+ * @default 10000
19593
+ */
19594
+ default_spend_cap_pence: number;
19595
+ /**
19596
+ * Included Collaborators
19597
+ * @default 1
19598
+ */
19599
+ included_collaborators: number;
19600
+ /**
19601
+ * Collaborator Blocks Min
19602
+ * @default 0
19603
+ */
19604
+ collaborator_blocks_min: number;
19605
+ /**
19606
+ * Collaborator Block Price Ex Vat Pence
19607
+ * @default 0
19608
+ */
19609
+ collaborator_block_price_ex_vat_pence: number;
19610
+ /**
19611
+ * Collaborator Block Period Ex Vat Pence
19612
+ * @default 0
19613
+ */
19614
+ collaborator_block_period_ex_vat_pence: number;
19225
19615
  /** Block Storage Gb */
19226
19616
  block_storage_gb: number;
19227
19617
  /**
@@ -19234,6 +19624,11 @@ interface components {
19234
19624
  * @default 0
19235
19625
  */
19236
19626
  storage_blocks: number;
19627
+ /**
19628
+ * Collaborator Blocks
19629
+ * @default 0
19630
+ */
19631
+ collaborator_blocks: number;
19237
19632
  /**
19238
19633
  * Legacy Ai Blocks
19239
19634
  * @default 0
@@ -19268,6 +19663,8 @@ interface components {
19268
19663
  ai_blocks_next?: number | null;
19269
19664
  /** Storage Blocks Next */
19270
19665
  storage_blocks_next?: number | null;
19666
+ /** Collaborator Blocks Next */
19667
+ collaborator_blocks_next?: number | null;
19271
19668
  /**
19272
19669
  * Storage Blocks Min
19273
19670
  * @default 0
@@ -19369,6 +19766,8 @@ interface components {
19369
19766
  ai_usage_reset_at?: number | null;
19370
19767
  /** Pending Interval */
19371
19768
  pending_interval?: ('month' | 'year') | null;
19769
+ /** Renewal Error */
19770
+ renewal_error?: string | null;
19372
19771
  /** Billing Error */
19373
19772
  billing_error?: string | null;
19374
19773
  /** Confirm Url */
@@ -19418,6 +19817,11 @@ interface components {
19418
19817
  * @default 0
19419
19818
  */
19420
19819
  storage_blocks: number;
19820
+ /**
19821
+ * Collaborator Blocks
19822
+ * @default 0
19823
+ */
19824
+ collaborator_blocks: number;
19421
19825
  /** Addon Budget Pence */
19422
19826
  addon_budget_pence?: number | null;
19423
19827
  /** Billing Country */
@@ -19596,6 +20000,8 @@ interface components {
19596
20000
  ai_blocks?: number | null;
19597
20001
  /** Storage Blocks */
19598
20002
  storage_blocks?: number | null;
20003
+ /** Collaborator Blocks */
20004
+ collaborator_blocks?: number | null;
19599
20005
  };
19600
20006
  /**
19601
20007
  * ProjectPlanChangeRequest
@@ -19681,6 +20087,15 @@ interface components {
19681
20087
  created_by: string;
19682
20088
  /** Subscription */
19683
20089
  subscription: string;
20090
+ /**
20091
+ * Is Personal
20092
+ * @default false
20093
+ */
20094
+ is_personal: boolean;
20095
+ /** Subscription Ended At */
20096
+ subscription_ended_at?: string | null;
20097
+ /** Retention Delete At */
20098
+ retention_delete_at?: string | null;
19684
20099
  /**
19685
20100
  * Created At
19686
20101
  * Format: date-time
@@ -19911,6 +20326,11 @@ interface components {
19911
20326
  * @default 0
19912
20327
  */
19913
20328
  storage: number;
20329
+ /**
20330
+ * Collaborators
20331
+ * @default 0
20332
+ */
20333
+ collaborators: number;
19914
20334
  };
19915
20335
  /**
19916
20336
  * ReadDocumentDetail
@@ -22878,9 +23298,9 @@ interface components {
22878
23298
  reporter_user_id: string;
22879
23299
  /**
22880
23300
  * Status
22881
- * @constant
23301
+ * @enum {string}
22882
23302
  */
22883
- status: 'resolved';
23303
+ status: 'received' | 'reviewed' | 'resolved';
22884
23304
  /** Event Id */
22885
23305
  event_id: string;
22886
23306
  };
@@ -25578,7 +25998,9 @@ interface components {
25578
25998
  };
25579
25999
  /**
25580
26000
  * WorkspaceRole
25581
- * @description Role of a user within a workspace.
26001
+ * @description Role of a user within a workspace: ``owner``, ``collaborator``, or ``guest``, which is shown to people as
26002
+ * "Read only" (reads what is shared in the workspace; no editing, uploads or AI). ``guest`` is only the stored
26003
+ * value of the Read only role: it has nothing to do with external accounts (user type ``external``).
25582
26004
  * @enum {string}
25583
26005
  */
25584
26006
  WorkspaceRole: 'owner' | 'collaborator' | 'guest';
@@ -25694,240 +26116,6 @@ interface components {
25694
26116
  * @enum {string}
25695
26117
  */
25696
26118
  src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
25697
- /**
25698
- * MailConversation
25699
- * @description One row of the conversation list: a thread's messages in the folder listed, newest first.
25700
- *
25701
- * ``thread_id`` is the messages' ``thread_id``, or the message's own ``id`` when it stands alone (it has no thread
25702
- * key). Counts and ``flagged`` cover the messages in the folder listed.
25703
- */
25704
- MailConversation: {
25705
- /** Thread Id */
25706
- thread_id: string;
25707
- /**
25708
- * Subject
25709
- * @default
25710
- */
25711
- subject: string;
25712
- /**
25713
- * Preview
25714
- * @default
25715
- */
25716
- preview: string;
25717
- /** Senders */
25718
- senders?: components['schemas']['MailAddress'][];
25719
- /** Received At */
25720
- received_at?: string | null;
25721
- /** Message Count */
25722
- message_count: number;
25723
- /**
25724
- * Unread Count
25725
- * @default 0
25726
- */
25727
- unread_count: number;
25728
- /**
25729
- * Flagged
25730
- * @default false
25731
- */
25732
- flagged: boolean;
25733
- /** Messages */
25734
- messages?: components['schemas']['MailMessage'][];
25735
- };
25736
- /** MailConversationPage */
25737
- MailConversationPage: {
25738
- /** Conversations */
25739
- conversations: components['schemas']['MailConversation'][];
25740
- /** Next Cursor */
25741
- next_cursor?: string | null;
25742
- };
25743
- /**
25744
- * MailThread
25745
- * @description Every message of one conversation, oldest first: across folders (Sent replies too) except the Trash, unless it
25746
- * is the Trash being read. IMAP has no cross-folder search: there it is the folder's.
25747
- */
25748
- MailThread: {
25749
- /** Thread Id */
25750
- thread_id: string;
25751
- /** Messages */
25752
- messages: components['schemas']['MailMessage'][];
25753
- };
25754
- /** NativeThreadKey */
25755
- NativeThreadKey: {
25756
- /** Message Id Hmac */
25757
- message_id_hmac?: string | null;
25758
- /** Thread Hmac */
25759
- thread_hmac: string;
25760
- };
25761
- /**
25762
- * NativeThreadKeys
25763
- * @description Thread keys the owner's client computed for older messages (keyed by ``eml-`` id), which have none.
25764
- */
25765
- NativeThreadKeys: {
25766
- /** Keys */
25767
- keys: {
25768
- [key: string]: components['schemas']['NativeThreadKey'];
25769
- };
25770
- };
25771
- /** NativeThreadKeysSaved */
25772
- NativeThreadKeysSaved: {
25773
- /** Updated */
25774
- updated: number;
25775
- };
25776
- /**
25777
- * NativeThreadSecret
25778
- * @description The owner's key for native mail thread keys (base64): HMAC-SHA256 over ``message:<Message-ID>``, hex, first
25779
- * 32 characters, as ``email_threading.thread_keys``. Lets the owner's client key older mail the server cannot read.
25780
- */
25781
- NativeThreadSecret: {
25782
- /** Secret */
25783
- secret: string;
25784
- };
25785
- /** MailConversationFiled */
25786
- MailConversationFiled: {
25787
- rule: components['schemas']['MailFilingRuleRead'];
25788
- /** Filed */
25789
- filed: components['schemas']['MailFiledRead'][];
25790
- };
25791
- /**
25792
- * MailFile
25793
- * @description Add a message to a workspace (``wrk-``), as a document only its filer can see.
25794
- */
25795
- MailFile: {
25796
- /** Workspace Ext Id */
25797
- workspace_ext_id: string;
25798
- };
25799
- /**
25800
- * MailFileConversation
25801
- * @description Add a conversation: its messages now (``message_ids``, the client's thread read) and its future replies.
25802
- */
25803
- MailFileConversation: {
25804
- /** Workspace Ext Id */
25805
- workspace_ext_id: string;
25806
- /** Thread Id */
25807
- thread_id: string;
25808
- /** Message Ids */
25809
- message_ids?: string[];
25810
- };
25811
- /** MailFiledRead */
25812
- MailFiledRead: {
25813
- /** Message Id */
25814
- message_id: string;
25815
- /** Workspace Ext Id */
25816
- workspace_ext_id: string;
25817
- /** Doc Ext Id */
25818
- doc_ext_id?: string | null;
25819
- /**
25820
- * Pending
25821
- * @default false
25822
- */
25823
- pending: boolean;
25824
- };
25825
- /**
25826
- * MailFilingLookup
25827
- * @description Which of these messages are in a workspace, and which of these conversations have a rule.
25828
- */
25829
- MailFilingLookup: {
25830
- /** Message Ids */
25831
- message_ids?: string[];
25832
- /** Thread Ids */
25833
- thread_ids?: string[];
25834
- };
25835
- /**
25836
- * MailFilingRuleRead
25837
- * @description A conversation whose future replies are added to a workspace: a thread of the mailbox's filing row
25838
- * (``mailbox_sync``) for that workspace. ``id`` is that row's.
25839
- */
25840
- MailFilingRuleRead: {
25841
- /** Id */
25842
- id: string;
25843
- /** Account Id */
25844
- account_id: string;
25845
- /** Workspace Ext Id */
25846
- workspace_ext_id: string;
25847
- /** Thread Id */
25848
- thread_id?: string | null;
25849
- /** Created At */
25850
- created_at: string;
25851
- };
25852
- /** MailFilingState */
25853
- MailFilingState: {
25854
- /** Filed */
25855
- filed: components['schemas']['MailFiledRead'][];
25856
- /** Rules */
25857
- rules: components['schemas']['MailFilingRuleRead'][];
25858
- };
25859
- /**
25860
- * NativeFilingFolders
25861
- * @description File the ARBI mailbox's ``folders`` (roles: inbox, sent, archive) into a workspace, ongoing: mail already
25862
- * there from the last ``backfill_window`` days, then what arrives.
25863
- */
25864
- NativeFilingFolders: {
25865
- /** Workspace Ext Id */
25866
- workspace_ext_id: string;
25867
- /** Folders */
25868
- folders?: ('inbox' | 'sent' | 'archive')[];
25869
- /**
25870
- * Backfill Window
25871
- * @default 90
25872
- */
25873
- backfill_window: number;
25874
- };
25875
- /**
25876
- * NativeFilingKeys
25877
- * @description Sealed keys of the messages waiting to be filed into a workspace (``native_mail_items.id`` → wrapped key),
25878
- * for the client to bridge to its session (``/native/session-keys``) before ``/native/filing/run``.
25879
- */
25880
- NativeFilingKeys: {
25881
- /** Keys */
25882
- keys: {
25883
- [key: string]: string;
25884
- };
25885
- };
25886
- /**
25887
- * NativeFilingRead
25888
- * @description The ARBI mailbox's filing into one workspace: folders filed ongoing, conversations followed, and how many
25889
- * messages wait to be filed (until the workspace is next opened).
25890
- */
25891
- NativeFilingRead: {
25892
- /** Id */
25893
- id: string;
25894
- /** Workspace Ext Id */
25895
- workspace_ext_id: string;
25896
- /** Folders */
25897
- folders: string[];
25898
- /** Threads */
25899
- threads: number;
25900
- /** Backfill Window */
25901
- backfill_window: number;
25902
- /** Filed */
25903
- filed: number;
25904
- /** Waiting */
25905
- waiting: number;
25906
- /**
25907
- * Failed
25908
- * @default 0
25909
- */
25910
- failed: number;
25911
- /** Last Sync At */
25912
- last_sync_at?: string | null;
25913
- };
25914
- /** NativeFilingRun */
25915
- NativeFilingRun: {
25916
- /** Workspace Ext Id */
25917
- workspace_ext_id: string;
25918
- };
25919
- /** NativeFilingRunResult */
25920
- NativeFilingRunResult: {
25921
- /** Filed */
25922
- filed: number;
25923
- /** Waiting */
25924
- waiting: number;
25925
- /**
25926
- * Failed
25927
- * @default 0
25928
- */
25929
- failed: number;
25930
- };
25931
26119
  };
25932
26120
  responses: never;
25933
26121
  parameters: never;
@@ -26617,6 +26805,37 @@ interface operations {
26617
26805
  };
26618
26806
  };
26619
26807
  };
26808
+ add_project_collaborator_block: {
26809
+ parameters: {
26810
+ query?: never;
26811
+ header?: never;
26812
+ path: {
26813
+ project_ext_id: string;
26814
+ };
26815
+ cookie?: never;
26816
+ };
26817
+ requestBody?: never;
26818
+ responses: {
26819
+ /** @description Successful Response */
26820
+ 200: {
26821
+ headers: {
26822
+ [name: string]: unknown;
26823
+ };
26824
+ content: {
26825
+ 'application/json': components['schemas']['AddonPurchaseResponse'];
26826
+ };
26827
+ };
26828
+ /** @description Validation Error */
26829
+ 422: {
26830
+ headers: {
26831
+ [name: string]: unknown;
26832
+ };
26833
+ content: {
26834
+ 'application/json': components['schemas']['HTTPValidationError'];
26835
+ };
26836
+ };
26837
+ };
26838
+ };
26620
26839
  update_project_next_period_addons: {
26621
26840
  parameters: {
26622
26841
  query?: never;
@@ -28256,6 +28475,8 @@ interface operations {
28256
28475
  include_conversations?: boolean;
28257
28476
  /** @description Include tags in response */
28258
28477
  include_tags?: boolean;
28478
+ /** @description Owner-only export access for a suspended project */
28479
+ recovery?: boolean;
28259
28480
  };
28260
28481
  header?: never;
28261
28482
  path: {
@@ -28659,7 +28880,9 @@ interface operations {
28659
28880
  };
28660
28881
  export_workspace_data: {
28661
28882
  parameters: {
28662
- query?: never;
28883
+ query?: {
28884
+ workspace_ext_id?: string | null;
28885
+ };
28663
28886
  header?: never;
28664
28887
  path?: never;
28665
28888
  cookie?: never;
@@ -29797,6 +30020,7 @@ interface operations {
29797
30020
  query?: {
29798
30021
  /** @description Document version (default: the current one) */
29799
30022
  version?: number | null;
30023
+ workspace_ext_id?: string | null;
29800
30024
  };
29801
30025
  header?: never;
29802
30026
  path: {
@@ -30126,6 +30350,7 @@ interface operations {
30126
30350
  query?: {
30127
30351
  /** @description Document version (default: the current one) */
30128
30352
  version?: number | null;
30353
+ workspace_ext_id?: string | null;
30129
30354
  };
30130
30355
  header?: never;
30131
30356
  path: {
@@ -39391,6 +39616,76 @@ interface operations {
39391
39616
  };
39392
39617
  };
39393
39618
  };
39619
+ conversations_v1_mail_accounts__account_id__conversations_get: {
39620
+ parameters: {
39621
+ query: {
39622
+ folder_id: string;
39623
+ q?: string;
39624
+ cursor?: string | null;
39625
+ limit?: number;
39626
+ };
39627
+ header?: never;
39628
+ path: {
39629
+ account_id: string;
39630
+ };
39631
+ cookie?: never;
39632
+ };
39633
+ requestBody?: never;
39634
+ responses: {
39635
+ /** @description Successful Response */
39636
+ 200: {
39637
+ headers: {
39638
+ [name: string]: unknown;
39639
+ };
39640
+ content: {
39641
+ 'application/json': components['schemas']['MailConversationPage'];
39642
+ };
39643
+ };
39644
+ /** @description Validation Error */
39645
+ 422: {
39646
+ headers: {
39647
+ [name: string]: unknown;
39648
+ };
39649
+ content: {
39650
+ 'application/json': components['schemas']['HTTPValidationError'];
39651
+ };
39652
+ };
39653
+ };
39654
+ };
39655
+ thread_v1_mail_accounts__account_id__thread_get: {
39656
+ parameters: {
39657
+ query: {
39658
+ thread_id: string;
39659
+ folder_id?: string;
39660
+ };
39661
+ header?: never;
39662
+ path: {
39663
+ account_id: string;
39664
+ };
39665
+ cookie?: never;
39666
+ };
39667
+ requestBody?: never;
39668
+ responses: {
39669
+ /** @description Successful Response */
39670
+ 200: {
39671
+ headers: {
39672
+ [name: string]: unknown;
39673
+ };
39674
+ content: {
39675
+ 'application/json': components['schemas']['MailThread'];
39676
+ };
39677
+ };
39678
+ /** @description Validation Error */
39679
+ 422: {
39680
+ headers: {
39681
+ [name: string]: unknown;
39682
+ };
39683
+ content: {
39684
+ 'application/json': components['schemas']['HTTPValidationError'];
39685
+ };
39686
+ };
39687
+ };
39688
+ };
39394
39689
  message_v1_mail_accounts__account_id__messages__message_id__get: {
39395
39690
  parameters: {
39396
39691
  query?: never;
@@ -39843,17 +40138,21 @@ interface operations {
39843
40138
  };
39844
40139
  };
39845
40140
  };
39846
- original_v1_mail_accounts__account_id__messages__message_id__original_get: {
40141
+ file_message_v1_mail_accounts__account_id__messages__message_id__file_post: {
39847
40142
  parameters: {
39848
40143
  query?: never;
39849
40144
  header?: never;
39850
40145
  path: {
39851
- message_id: string;
39852
40146
  account_id: string;
40147
+ message_id: string;
39853
40148
  };
39854
40149
  cookie?: never;
39855
40150
  };
39856
- requestBody?: never;
40151
+ requestBody: {
40152
+ content: {
40153
+ 'application/json': components['schemas']['MailFile'];
40154
+ };
40155
+ };
39857
40156
  responses: {
39858
40157
  /** @description Successful Response */
39859
40158
  200: {
@@ -39861,7 +40160,7 @@ interface operations {
39861
40160
  [name: string]: unknown;
39862
40161
  };
39863
40162
  content: {
39864
- 'application/json': unknown;
40163
+ 'application/json': components['schemas']['MailFiledRead'];
39865
40164
  };
39866
40165
  };
39867
40166
  /** @description Validation Error */
@@ -39875,7 +40174,7 @@ interface operations {
39875
40174
  };
39876
40175
  };
39877
40176
  };
39878
- save_draft_v1_mail_accounts__account_id__drafts_post: {
40177
+ file_conversation_v1_mail_accounts__account_id__conversations_file_post: {
39879
40178
  parameters: {
39880
40179
  query?: never;
39881
40180
  header?: never;
@@ -39886,7 +40185,7 @@ interface operations {
39886
40185
  };
39887
40186
  requestBody: {
39888
40187
  content: {
39889
- 'application/json': components['schemas']['MailCompose'];
40188
+ 'application/json': components['schemas']['MailFileConversation'];
39890
40189
  };
39891
40190
  };
39892
40191
  responses: {
@@ -39896,7 +40195,7 @@ interface operations {
39896
40195
  [name: string]: unknown;
39897
40196
  };
39898
40197
  content: {
39899
- 'application/json': components['schemas']['MailDraftSaved'];
40198
+ 'application/json': components['schemas']['MailConversationFiled'];
39900
40199
  };
39901
40200
  };
39902
40201
  /** @description Validation Error */
@@ -39910,27 +40209,25 @@ interface operations {
39910
40209
  };
39911
40210
  };
39912
40211
  };
39913
- save_native_draft_v1_mail_drafts_post: {
40212
+ stop_conversation_v1_mail_filing__row_id__threads_delete: {
39914
40213
  parameters: {
39915
- query?: never;
40214
+ query: {
40215
+ thread_id: string;
40216
+ };
39916
40217
  header?: never;
39917
- path?: never;
39918
- cookie?: never;
39919
- };
39920
- requestBody: {
39921
- content: {
39922
- 'application/json': components['schemas']['MailCompose'];
40218
+ path: {
40219
+ row_id: string;
39923
40220
  };
40221
+ cookie?: never;
39924
40222
  };
40223
+ requestBody?: never;
39925
40224
  responses: {
39926
40225
  /** @description Successful Response */
39927
- 200: {
40226
+ 204: {
39928
40227
  headers: {
39929
40228
  [name: string]: unknown;
39930
40229
  };
39931
- content: {
39932
- 'application/json': components['schemas']['MailDraftSaved'];
39933
- };
40230
+ content?: never;
39934
40231
  };
39935
40232
  /** @description Validation Error */
39936
40233
  422: {
@@ -39943,16 +40240,18 @@ interface operations {
39943
40240
  };
39944
40241
  };
39945
40242
  };
39946
- receive_native_v1_mail_inbound_post: {
40243
+ filing_state_v1_mail_accounts__account_id__filing_post: {
39947
40244
  parameters: {
39948
40245
  query?: never;
39949
40246
  header?: never;
39950
- path?: never;
40247
+ path: {
40248
+ account_id: string;
40249
+ };
39951
40250
  cookie?: never;
39952
40251
  };
39953
40252
  requestBody: {
39954
40253
  content: {
39955
- 'application/json': components['schemas']['NativeInbound'];
40254
+ 'application/json': components['schemas']['MailFilingLookup'];
39956
40255
  };
39957
40256
  };
39958
40257
  responses: {
@@ -39962,7 +40261,7 @@ interface operations {
39962
40261
  [name: string]: unknown;
39963
40262
  };
39964
40263
  content: {
39965
- 'application/json': unknown;
40264
+ 'application/json': components['schemas']['MailFilingState'];
39966
40265
  };
39967
40266
  };
39968
40267
  /** @description Validation Error */
@@ -39976,11 +40275,9 @@ interface operations {
39976
40275
  };
39977
40276
  };
39978
40277
  };
39979
- validate_native_recipient_v1_mail_recipient_get: {
40278
+ native_filing_v1_mail_native_filing_get: {
39980
40279
  parameters: {
39981
- query: {
39982
- recipient: string;
39983
- };
40280
+ query?: never;
39984
40281
  header?: never;
39985
40282
  path?: never;
39986
40283
  cookie?: never;
@@ -39993,28 +40290,23 @@ interface operations {
39993
40290
  [name: string]: unknown;
39994
40291
  };
39995
40292
  content: {
39996
- 'application/json': unknown;
39997
- };
39998
- };
39999
- /** @description Validation Error */
40000
- 422: {
40001
- headers: {
40002
- [name: string]: unknown;
40003
- };
40004
- content: {
40005
- 'application/json': components['schemas']['HTTPValidationError'];
40293
+ 'application/json': components['schemas']['NativeFilingRead'][];
40006
40294
  };
40007
40295
  };
40008
40296
  };
40009
40297
  };
40010
- get_slack_connection_v1_slack_me_get: {
40298
+ set_native_filing_v1_mail_native_filing_put: {
40011
40299
  parameters: {
40012
40300
  query?: never;
40013
40301
  header?: never;
40014
40302
  path?: never;
40015
40303
  cookie?: never;
40016
40304
  };
40017
- requestBody?: never;
40305
+ requestBody: {
40306
+ content: {
40307
+ 'application/json': components['schemas']['NativeFilingFolders'];
40308
+ };
40309
+ };
40018
40310
  responses: {
40019
40311
  /** @description Successful Response */
40020
40312
  200: {
@@ -40022,35 +40314,24 @@ interface operations {
40022
40314
  [name: string]: unknown;
40023
40315
  };
40024
40316
  content: {
40025
- 'application/json': {
40026
- [key: string]: unknown;
40027
- };
40317
+ 'application/json': components['schemas']['NativeFilingRead'];
40028
40318
  };
40029
40319
  };
40030
- };
40031
- };
40032
- disconnect_slack_v1_slack_me_delete: {
40033
- parameters: {
40034
- query?: never;
40035
- header?: never;
40036
- path?: never;
40037
- cookie?: never;
40038
- };
40039
- requestBody?: never;
40040
- responses: {
40041
- /** @description Successful Response */
40042
- 204: {
40320
+ /** @description Validation Error */
40321
+ 422: {
40043
40322
  headers: {
40044
40323
  [name: string]: unknown;
40045
40324
  };
40046
- content?: never;
40325
+ content: {
40326
+ 'application/json': components['schemas']['HTTPValidationError'];
40327
+ };
40047
40328
  };
40048
40329
  };
40049
40330
  };
40050
- authorize_slack_v1_slack_authorize_get: {
40331
+ native_filing_waiting_v1_mail_native_filing_waiting_get: {
40051
40332
  parameters: {
40052
40333
  query: {
40053
- agent_ext_id: string;
40334
+ workspace_ext_id: string;
40054
40335
  };
40055
40336
  header?: never;
40056
40337
  path?: never;
@@ -40064,9 +40345,7 @@ interface operations {
40064
40345
  [name: string]: unknown;
40065
40346
  };
40066
40347
  content: {
40067
- 'application/json': {
40068
- [key: string]: unknown;
40069
- };
40348
+ 'application/json': components['schemas']['NativeFilingKeys'];
40070
40349
  };
40071
40350
  };
40072
40351
  /** @description Validation Error */
@@ -40080,18 +40359,18 @@ interface operations {
40080
40359
  };
40081
40360
  };
40082
40361
  };
40083
- slack_callback_v1_slack_callback_get: {
40362
+ run_native_filing_v1_mail_native_filing_run_post: {
40084
40363
  parameters: {
40085
- query?: {
40086
- code?: string | null;
40087
- state?: string | null;
40088
- error?: string | null;
40089
- };
40364
+ query?: never;
40090
40365
  header?: never;
40091
40366
  path?: never;
40092
40367
  cookie?: never;
40093
40368
  };
40094
- requestBody?: never;
40369
+ requestBody: {
40370
+ content: {
40371
+ 'application/json': components['schemas']['NativeFilingRun'];
40372
+ };
40373
+ };
40095
40374
  responses: {
40096
40375
  /** @description Successful Response */
40097
40376
  200: {
@@ -40099,7 +40378,7 @@ interface operations {
40099
40378
  [name: string]: unknown;
40100
40379
  };
40101
40380
  content: {
40102
- 'application/json': unknown;
40381
+ 'application/json': components['schemas']['NativeFilingRunResult'];
40103
40382
  };
40104
40383
  };
40105
40384
  /** @description Validation Error */
@@ -40113,7 +40392,7 @@ interface operations {
40113
40392
  };
40114
40393
  };
40115
40394
  };
40116
- slack_events_v1_slack_events_post: {
40395
+ native_thread_secret_v1_mail_native_thread_secret_get: {
40117
40396
  parameters: {
40118
40397
  query?: never;
40119
40398
  header?: never;
@@ -40128,12 +40407,12 @@ interface operations {
40128
40407
  [name: string]: unknown;
40129
40408
  };
40130
40409
  content: {
40131
- 'application/json': unknown;
40410
+ 'application/json': components['schemas']['NativeThreadSecret'];
40132
40411
  };
40133
40412
  };
40134
40413
  };
40135
40414
  };
40136
- create_response: {
40415
+ native_thread_keys_v1_mail_native_thread_keys_post: {
40137
40416
  parameters: {
40138
40417
  query?: never;
40139
40418
  header?: never;
@@ -40142,7 +40421,7 @@ interface operations {
40142
40421
  };
40143
40422
  requestBody: {
40144
40423
  content: {
40145
- 'application/json': components['schemas']['MessageInput'];
40424
+ 'application/json': components['schemas']['NativeThreadKeys'];
40146
40425
  };
40147
40426
  };
40148
40427
  responses: {
@@ -40152,17 +40431,7 @@ interface operations {
40152
40431
  [name: string]: unknown;
40153
40432
  };
40154
40433
  content: {
40155
- 'application/json': components['schemas']['ResponsesAPIResponse'];
40156
- 'text/event-stream': unknown;
40157
- };
40158
- };
40159
- /** @description Accepted */
40160
- 202: {
40161
- headers: {
40162
- [name: string]: unknown;
40163
- };
40164
- content: {
40165
- 'application/json': components['schemas']['ResponsesAPIResponse'];
40434
+ 'application/json': components['schemas']['NativeThreadKeysSaved'];
40166
40435
  };
40167
40436
  };
40168
40437
  /** @description Validation Error */
@@ -40176,12 +40445,13 @@ interface operations {
40176
40445
  };
40177
40446
  };
40178
40447
  };
40179
- get_response: {
40448
+ original_v1_mail_accounts__account_id__messages__message_id__original_get: {
40180
40449
  parameters: {
40181
40450
  query?: never;
40182
40451
  header?: never;
40183
40452
  path: {
40184
- response_id: string;
40453
+ message_id: string;
40454
+ account_id: string;
40185
40455
  };
40186
40456
  cookie?: never;
40187
40457
  };
@@ -40193,7 +40463,7 @@ interface operations {
40193
40463
  [name: string]: unknown;
40194
40464
  };
40195
40465
  content: {
40196
- 'application/json': components['schemas']['ResponsesAPIResponse'];
40466
+ 'application/json': unknown;
40197
40467
  };
40198
40468
  };
40199
40469
  /** @description Validation Error */
@@ -40207,21 +40477,20 @@ interface operations {
40207
40477
  };
40208
40478
  };
40209
40479
  };
40210
- conversations_v1_mail_accounts__account_id__conversations_get: {
40480
+ save_draft_v1_mail_accounts__account_id__drafts_post: {
40211
40481
  parameters: {
40212
- query: {
40213
- folder_id: string;
40214
- q?: string;
40215
- cursor?: string | null;
40216
- limit?: number;
40217
- };
40482
+ query?: never;
40218
40483
  header?: never;
40219
40484
  path: {
40220
40485
  account_id: string;
40221
40486
  };
40222
40487
  cookie?: never;
40223
40488
  };
40224
- requestBody?: never;
40489
+ requestBody: {
40490
+ content: {
40491
+ 'application/json': components['schemas']['MailCompose'];
40492
+ };
40493
+ };
40225
40494
  responses: {
40226
40495
  /** @description Successful Response */
40227
40496
  200: {
@@ -40229,7 +40498,7 @@ interface operations {
40229
40498
  [name: string]: unknown;
40230
40499
  };
40231
40500
  content: {
40232
- 'application/json': components['schemas']['MailConversationPage'];
40501
+ 'application/json': components['schemas']['MailDraftSaved'];
40233
40502
  };
40234
40503
  };
40235
40504
  /** @description Validation Error */
@@ -40243,19 +40512,18 @@ interface operations {
40243
40512
  };
40244
40513
  };
40245
40514
  };
40246
- thread_v1_mail_accounts__account_id__thread_get: {
40515
+ save_native_draft_v1_mail_drafts_post: {
40247
40516
  parameters: {
40248
- query: {
40249
- thread_id: string;
40250
- folder_id?: string;
40251
- };
40517
+ query?: never;
40252
40518
  header?: never;
40253
- path: {
40254
- account_id: string;
40255
- };
40519
+ path?: never;
40256
40520
  cookie?: never;
40257
40521
  };
40258
- requestBody?: never;
40522
+ requestBody: {
40523
+ content: {
40524
+ 'application/json': components['schemas']['MailCompose'];
40525
+ };
40526
+ };
40259
40527
  responses: {
40260
40528
  /** @description Successful Response */
40261
40529
  200: {
@@ -40263,7 +40531,7 @@ interface operations {
40263
40531
  [name: string]: unknown;
40264
40532
  };
40265
40533
  content: {
40266
- 'application/json': components['schemas']['MailThread'];
40534
+ 'application/json': components['schemas']['MailDraftSaved'];
40267
40535
  };
40268
40536
  };
40269
40537
  /** @description Validation Error */
@@ -40277,27 +40545,7 @@ interface operations {
40277
40545
  };
40278
40546
  };
40279
40547
  };
40280
- native_thread_secret_v1_mail_native_thread_secret_get: {
40281
- parameters: {
40282
- query?: never;
40283
- header?: never;
40284
- path?: never;
40285
- cookie?: never;
40286
- };
40287
- requestBody?: never;
40288
- responses: {
40289
- /** @description Successful Response */
40290
- 200: {
40291
- headers: {
40292
- [name: string]: unknown;
40293
- };
40294
- content: {
40295
- 'application/json': components['schemas']['NativeThreadSecret'];
40296
- };
40297
- };
40298
- };
40299
- };
40300
- native_thread_keys_v1_mail_native_thread_keys_post: {
40548
+ receive_native_v1_mail_inbound_post: {
40301
40549
  parameters: {
40302
40550
  query?: never;
40303
40551
  header?: never;
@@ -40306,7 +40554,7 @@ interface operations {
40306
40554
  };
40307
40555
  requestBody: {
40308
40556
  content: {
40309
- 'application/json': components['schemas']['NativeThreadKeys'];
40557
+ 'application/json': components['schemas']['NativeInbound'];
40310
40558
  };
40311
40559
  };
40312
40560
  responses: {
@@ -40316,7 +40564,7 @@ interface operations {
40316
40564
  [name: string]: unknown;
40317
40565
  };
40318
40566
  content: {
40319
- 'application/json': components['schemas']['NativeThreadKeysSaved'];
40567
+ 'application/json': unknown;
40320
40568
  };
40321
40569
  };
40322
40570
  /** @description Validation Error */
@@ -40330,21 +40578,16 @@ interface operations {
40330
40578
  };
40331
40579
  };
40332
40580
  };
40333
- file_message_v1_mail_accounts__account_id__messages__message_id__file_post: {
40581
+ validate_native_recipient_v1_mail_recipient_get: {
40334
40582
  parameters: {
40335
- query?: never;
40336
- header?: never;
40337
- path: {
40338
- account_id: string;
40339
- message_id: string;
40583
+ query: {
40584
+ recipient: string;
40340
40585
  };
40586
+ header?: never;
40587
+ path?: never;
40341
40588
  cookie?: never;
40342
40589
  };
40343
- requestBody: {
40344
- content: {
40345
- 'application/json': components['schemas']['MailFile'];
40346
- };
40347
- };
40590
+ requestBody?: never;
40348
40591
  responses: {
40349
40592
  /** @description Successful Response */
40350
40593
  200: {
@@ -40352,7 +40595,7 @@ interface operations {
40352
40595
  [name: string]: unknown;
40353
40596
  };
40354
40597
  content: {
40355
- 'application/json': components['schemas']['MailFiledRead'];
40598
+ 'application/json': unknown;
40356
40599
  };
40357
40600
  };
40358
40601
  /** @description Validation Error */
@@ -40366,20 +40609,14 @@ interface operations {
40366
40609
  };
40367
40610
  };
40368
40611
  };
40369
- file_conversation_v1_mail_accounts__account_id__conversations_file_post: {
40612
+ get_slack_connection_v1_slack_me_get: {
40370
40613
  parameters: {
40371
40614
  query?: never;
40372
40615
  header?: never;
40373
- path: {
40374
- account_id: string;
40375
- };
40616
+ path?: never;
40376
40617
  cookie?: never;
40377
40618
  };
40378
- requestBody: {
40379
- content: {
40380
- 'application/json': components['schemas']['MailFileConversation'];
40381
- };
40382
- };
40619
+ requestBody?: never;
40383
40620
  responses: {
40384
40621
  /** @description Successful Response */
40385
40622
  200: {
@@ -40387,39 +40624,52 @@ interface operations {
40387
40624
  [name: string]: unknown;
40388
40625
  };
40389
40626
  content: {
40390
- 'application/json': components['schemas']['MailConversationFiled'];
40627
+ 'application/json': {
40628
+ [key: string]: unknown;
40629
+ };
40391
40630
  };
40392
40631
  };
40393
- /** @description Validation Error */
40394
- 422: {
40632
+ };
40633
+ };
40634
+ disconnect_slack_v1_slack_me_delete: {
40635
+ parameters: {
40636
+ query?: never;
40637
+ header?: never;
40638
+ path?: never;
40639
+ cookie?: never;
40640
+ };
40641
+ requestBody?: never;
40642
+ responses: {
40643
+ /** @description Successful Response */
40644
+ 204: {
40395
40645
  headers: {
40396
40646
  [name: string]: unknown;
40397
40647
  };
40398
- content: {
40399
- 'application/json': components['schemas']['HTTPValidationError'];
40400
- };
40648
+ content?: never;
40401
40649
  };
40402
40650
  };
40403
40651
  };
40404
- stop_conversation_v1_mail_filing__row_id__threads_delete: {
40652
+ authorize_slack_v1_slack_authorize_get: {
40405
40653
  parameters: {
40406
40654
  query: {
40407
- thread_id: string;
40655
+ agent_ext_id: string;
40408
40656
  };
40409
40657
  header?: never;
40410
- path: {
40411
- row_id: string;
40412
- };
40658
+ path?: never;
40413
40659
  cookie?: never;
40414
40660
  };
40415
40661
  requestBody?: never;
40416
40662
  responses: {
40417
40663
  /** @description Successful Response */
40418
- 204: {
40664
+ 200: {
40419
40665
  headers: {
40420
40666
  [name: string]: unknown;
40421
40667
  };
40422
- content?: never;
40668
+ content: {
40669
+ 'application/json': {
40670
+ [key: string]: unknown;
40671
+ };
40672
+ };
40423
40673
  };
40424
40674
  /** @description Validation Error */
40425
40675
  422: {
@@ -40432,20 +40682,18 @@ interface operations {
40432
40682
  };
40433
40683
  };
40434
40684
  };
40435
- filing_state_v1_mail_accounts__account_id__filing_post: {
40685
+ slack_callback_v1_slack_callback_get: {
40436
40686
  parameters: {
40437
- query?: never;
40438
- header?: never;
40439
- path: {
40440
- account_id: string;
40687
+ query?: {
40688
+ code?: string | null;
40689
+ state?: string | null;
40690
+ error?: string | null;
40441
40691
  };
40692
+ header?: never;
40693
+ path?: never;
40442
40694
  cookie?: never;
40443
40695
  };
40444
- requestBody: {
40445
- content: {
40446
- 'application/json': components['schemas']['MailFilingLookup'];
40447
- };
40448
- };
40696
+ requestBody?: never;
40449
40697
  responses: {
40450
40698
  /** @description Successful Response */
40451
40699
  200: {
@@ -40453,7 +40701,7 @@ interface operations {
40453
40701
  [name: string]: unknown;
40454
40702
  };
40455
40703
  content: {
40456
- 'application/json': components['schemas']['MailFilingState'];
40704
+ 'application/json': unknown;
40457
40705
  };
40458
40706
  };
40459
40707
  /** @description Validation Error */
@@ -40467,7 +40715,7 @@ interface operations {
40467
40715
  };
40468
40716
  };
40469
40717
  };
40470
- native_filing_v1_mail_native_filing_get: {
40718
+ slack_events_v1_slack_events_post: {
40471
40719
  parameters: {
40472
40720
  query?: never;
40473
40721
  header?: never;
@@ -40482,12 +40730,12 @@ interface operations {
40482
40730
  [name: string]: unknown;
40483
40731
  };
40484
40732
  content: {
40485
- 'application/json': components['schemas']['NativeFilingRead'][];
40733
+ 'application/json': unknown;
40486
40734
  };
40487
40735
  };
40488
40736
  };
40489
40737
  };
40490
- set_native_filing_v1_mail_native_filing_put: {
40738
+ create_response: {
40491
40739
  parameters: {
40492
40740
  query?: never;
40493
40741
  header?: never;
@@ -40496,7 +40744,7 @@ interface operations {
40496
40744
  };
40497
40745
  requestBody: {
40498
40746
  content: {
40499
- 'application/json': components['schemas']['NativeFilingFolders'];
40747
+ 'application/json': components['schemas']['MessageInput'];
40500
40748
  };
40501
40749
  };
40502
40750
  responses: {
@@ -40506,38 +40754,17 @@ interface operations {
40506
40754
  [name: string]: unknown;
40507
40755
  };
40508
40756
  content: {
40509
- 'application/json': components['schemas']['NativeFilingRead'];
40510
- };
40511
- };
40512
- /** @description Validation Error */
40513
- 422: {
40514
- headers: {
40515
- [name: string]: unknown;
40516
- };
40517
- content: {
40518
- 'application/json': components['schemas']['HTTPValidationError'];
40757
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
40758
+ 'text/event-stream': unknown;
40519
40759
  };
40520
40760
  };
40521
- };
40522
- };
40523
- native_filing_waiting_v1_mail_native_filing_waiting_get: {
40524
- parameters: {
40525
- query: {
40526
- workspace_ext_id: string;
40527
- };
40528
- header?: never;
40529
- path?: never;
40530
- cookie?: never;
40531
- };
40532
- requestBody?: never;
40533
- responses: {
40534
- /** @description Successful Response */
40535
- 200: {
40761
+ /** @description Accepted */
40762
+ 202: {
40536
40763
  headers: {
40537
40764
  [name: string]: unknown;
40538
40765
  };
40539
40766
  content: {
40540
- 'application/json': components['schemas']['NativeFilingKeys'];
40767
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
40541
40768
  };
40542
40769
  };
40543
40770
  /** @description Validation Error */
@@ -40551,18 +40778,16 @@ interface operations {
40551
40778
  };
40552
40779
  };
40553
40780
  };
40554
- run_native_filing_v1_mail_native_filing_run_post: {
40781
+ get_response: {
40555
40782
  parameters: {
40556
40783
  query?: never;
40557
40784
  header?: never;
40558
- path?: never;
40559
- cookie?: never;
40560
- };
40561
- requestBody: {
40562
- content: {
40563
- 'application/json': components['schemas']['NativeFilingRun'];
40785
+ path: {
40786
+ response_id: string;
40564
40787
  };
40788
+ cookie?: never;
40565
40789
  };
40790
+ requestBody?: never;
40566
40791
  responses: {
40567
40792
  /** @description Successful Response */
40568
40793
  200: {
@@ -40570,7 +40795,7 @@ interface operations {
40570
40795
  [name: string]: unknown;
40571
40796
  };
40572
40797
  content: {
40573
- 'application/json': components['schemas']['NativeFilingRunResult'];
40798
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
40574
40799
  };
40575
40800
  };
40576
40801
  /** @description Validation Error */