@arbidocs/client 0.5.105 → 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 +904 -701
  2. package/dist/index.d.ts +904 -701
  3. package/package.json +1 -1
package/dist/index.d.cts 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
  };
@@ -17158,6 +17203,60 @@ interface components {
17158
17203
  */
17159
17204
  reply: boolean;
17160
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
+ };
17161
17260
  /** MailCredentialBridge */
17162
17261
  MailCredentialBridge: {
17163
17262
  /** Access */
@@ -17250,6 +17349,74 @@ interface components {
17250
17349
  /** Id */
17251
17350
  id: string;
17252
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
+ };
17253
17420
  /** MailFolder */
17254
17421
  MailFolder: {
17255
17422
  /** Id */
@@ -17534,6 +17701,17 @@ interface components {
17534
17701
  /** Provider */
17535
17702
  provider: string;
17536
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
+ };
17537
17715
  /** MailTrashEmptied */
17538
17716
  MailTrashEmptied: {
17539
17717
  /** Deleted */
@@ -17631,7 +17809,8 @@ interface components {
17631
17809
  */
17632
17810
  member_count: number;
17633
17811
  /**
17634
- * Guest Count
17812
+ * Read Only Count
17813
+ * @description People with only the Read only role in its workspaces.
17635
17814
  * @default 0
17636
17815
  */
17637
17816
  guest_count: number;
@@ -17701,7 +17880,8 @@ interface components {
17701
17880
  */
17702
17881
  member_count: number;
17703
17882
  /**
17704
- * Guest Count
17883
+ * Read Only Count
17884
+ * @description People with only the Read only role in the projects' workspaces.
17705
17885
  * @default 0
17706
17886
  */
17707
17887
  guest_count: number;
@@ -18361,6 +18541,78 @@ interface components {
18361
18541
  /** Alias */
18362
18542
  alias: string;
18363
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
+ };
18364
18616
  /** NativeInbound */
18365
18617
  NativeInbound: {
18366
18618
  /**
@@ -18389,6 +18641,37 @@ interface components {
18389
18641
  /** Next Cursor */
18390
18642
  next_cursor?: number | null;
18391
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
+ };
18392
18675
  /** NonDeveloperConfig */
18393
18676
  NonDeveloperConfig: {
18394
18677
  Agents: components['schemas']['AgentsUserConfig'];
@@ -18439,7 +18722,7 @@ interface components {
18439
18722
  * Type is self-descriptive, no need to parse content field.
18440
18723
  * @enum {string}
18441
18724
  */
18442
- 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';
18443
18726
  /**
18444
18727
  * NotificationUpdate
18445
18728
  * @description Single notification update for bulk PATCH.
@@ -19195,6 +19478,41 @@ interface components {
19195
19478
  * @description Stripe product with pricing information.
19196
19479
  */
19197
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;
19198
19516
  /** Product Id */
19199
19517
  product_id: string;
19200
19518
  /** Name */
@@ -19240,10 +19558,60 @@ interface components {
19240
19558
  plan_name: string;
19241
19559
  /** Plan Ai Gbp */
19242
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;
19243
19571
  /** Plan Storage Gb */
19244
19572
  plan_storage_gb: number;
19245
19573
  /** Block Ai Gbp */
19246
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;
19247
19615
  /** Block Storage Gb */
19248
19616
  block_storage_gb: number;
19249
19617
  /**
@@ -19256,6 +19624,11 @@ interface components {
19256
19624
  * @default 0
19257
19625
  */
19258
19626
  storage_blocks: number;
19627
+ /**
19628
+ * Collaborator Blocks
19629
+ * @default 0
19630
+ */
19631
+ collaborator_blocks: number;
19259
19632
  /**
19260
19633
  * Legacy Ai Blocks
19261
19634
  * @default 0
@@ -19290,6 +19663,8 @@ interface components {
19290
19663
  ai_blocks_next?: number | null;
19291
19664
  /** Storage Blocks Next */
19292
19665
  storage_blocks_next?: number | null;
19666
+ /** Collaborator Blocks Next */
19667
+ collaborator_blocks_next?: number | null;
19293
19668
  /**
19294
19669
  * Storage Blocks Min
19295
19670
  * @default 0
@@ -19391,6 +19766,8 @@ interface components {
19391
19766
  ai_usage_reset_at?: number | null;
19392
19767
  /** Pending Interval */
19393
19768
  pending_interval?: ('month' | 'year') | null;
19769
+ /** Renewal Error */
19770
+ renewal_error?: string | null;
19394
19771
  /** Billing Error */
19395
19772
  billing_error?: string | null;
19396
19773
  /** Confirm Url */
@@ -19440,6 +19817,11 @@ interface components {
19440
19817
  * @default 0
19441
19818
  */
19442
19819
  storage_blocks: number;
19820
+ /**
19821
+ * Collaborator Blocks
19822
+ * @default 0
19823
+ */
19824
+ collaborator_blocks: number;
19443
19825
  /** Addon Budget Pence */
19444
19826
  addon_budget_pence?: number | null;
19445
19827
  /** Billing Country */
@@ -19618,6 +20000,8 @@ interface components {
19618
20000
  ai_blocks?: number | null;
19619
20001
  /** Storage Blocks */
19620
20002
  storage_blocks?: number | null;
20003
+ /** Collaborator Blocks */
20004
+ collaborator_blocks?: number | null;
19621
20005
  };
19622
20006
  /**
19623
20007
  * ProjectPlanChangeRequest
@@ -19703,6 +20087,15 @@ interface components {
19703
20087
  created_by: string;
19704
20088
  /** Subscription */
19705
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;
19706
20099
  /**
19707
20100
  * Created At
19708
20101
  * Format: date-time
@@ -19933,6 +20326,11 @@ interface components {
19933
20326
  * @default 0
19934
20327
  */
19935
20328
  storage: number;
20329
+ /**
20330
+ * Collaborators
20331
+ * @default 0
20332
+ */
20333
+ collaborators: number;
19936
20334
  };
19937
20335
  /**
19938
20336
  * ReadDocumentDetail
@@ -22900,9 +23298,9 @@ interface components {
22900
23298
  reporter_user_id: string;
22901
23299
  /**
22902
23300
  * Status
22903
- * @constant
23301
+ * @enum {string}
22904
23302
  */
22905
- status: 'resolved';
23303
+ status: 'received' | 'reviewed' | 'resolved';
22906
23304
  /** Event Id */
22907
23305
  event_id: string;
22908
23306
  };
@@ -25600,7 +25998,9 @@ interface components {
25600
25998
  };
25601
25999
  /**
25602
26000
  * WorkspaceRole
25603
- * @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``).
25604
26004
  * @enum {string}
25605
26005
  */
25606
26006
  WorkspaceRole: 'owner' | 'collaborator' | 'guest';
@@ -25716,240 +26116,6 @@ interface components {
25716
26116
  * @enum {string}
25717
26117
  */
25718
26118
  src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
25719
- /**
25720
- * MailConversation
25721
- * @description One row of the conversation list: a thread's messages in the folder listed, newest first.
25722
- *
25723
- * ``thread_id`` is the messages' ``thread_id``, or the message's own ``id`` when it stands alone (it has no thread
25724
- * key). Counts and ``flagged`` cover the messages in the folder listed.
25725
- */
25726
- MailConversation: {
25727
- /** Thread Id */
25728
- thread_id: string;
25729
- /**
25730
- * Subject
25731
- * @default
25732
- */
25733
- subject: string;
25734
- /**
25735
- * Preview
25736
- * @default
25737
- */
25738
- preview: string;
25739
- /** Senders */
25740
- senders?: components['schemas']['MailAddress'][];
25741
- /** Received At */
25742
- received_at?: string | null;
25743
- /** Message Count */
25744
- message_count: number;
25745
- /**
25746
- * Unread Count
25747
- * @default 0
25748
- */
25749
- unread_count: number;
25750
- /**
25751
- * Flagged
25752
- * @default false
25753
- */
25754
- flagged: boolean;
25755
- /** Messages */
25756
- messages?: components['schemas']['MailMessage'][];
25757
- };
25758
- /** MailConversationPage */
25759
- MailConversationPage: {
25760
- /** Conversations */
25761
- conversations: components['schemas']['MailConversation'][];
25762
- /** Next Cursor */
25763
- next_cursor?: string | null;
25764
- };
25765
- /**
25766
- * MailThread
25767
- * @description Every message of one conversation, oldest first: across folders (Sent replies too) except the Trash, unless it
25768
- * is the Trash being read. IMAP has no cross-folder search: there it is the folder's.
25769
- */
25770
- MailThread: {
25771
- /** Thread Id */
25772
- thread_id: string;
25773
- /** Messages */
25774
- messages: components['schemas']['MailMessage'][];
25775
- };
25776
- /** NativeThreadKey */
25777
- NativeThreadKey: {
25778
- /** Message Id Hmac */
25779
- message_id_hmac?: string | null;
25780
- /** Thread Hmac */
25781
- thread_hmac: string;
25782
- };
25783
- /**
25784
- * NativeThreadKeys
25785
- * @description Thread keys the owner's client computed for older messages (keyed by ``eml-`` id), which have none.
25786
- */
25787
- NativeThreadKeys: {
25788
- /** Keys */
25789
- keys: {
25790
- [key: string]: components['schemas']['NativeThreadKey'];
25791
- };
25792
- };
25793
- /** NativeThreadKeysSaved */
25794
- NativeThreadKeysSaved: {
25795
- /** Updated */
25796
- updated: number;
25797
- };
25798
- /**
25799
- * NativeThreadSecret
25800
- * @description The owner's key for native mail thread keys (base64): HMAC-SHA256 over ``message:<Message-ID>``, hex, first
25801
- * 32 characters, as ``email_threading.thread_keys``. Lets the owner's client key older mail the server cannot read.
25802
- */
25803
- NativeThreadSecret: {
25804
- /** Secret */
25805
- secret: string;
25806
- };
25807
- /** MailConversationFiled */
25808
- MailConversationFiled: {
25809
- rule: components['schemas']['MailFilingRuleRead'];
25810
- /** Filed */
25811
- filed: components['schemas']['MailFiledRead'][];
25812
- };
25813
- /**
25814
- * MailFile
25815
- * @description Add a message to a workspace (``wrk-``), as a document only its filer can see.
25816
- */
25817
- MailFile: {
25818
- /** Workspace Ext Id */
25819
- workspace_ext_id: string;
25820
- };
25821
- /**
25822
- * MailFileConversation
25823
- * @description Add a conversation: its messages now (``message_ids``, the client's thread read) and its future replies.
25824
- */
25825
- MailFileConversation: {
25826
- /** Workspace Ext Id */
25827
- workspace_ext_id: string;
25828
- /** Thread Id */
25829
- thread_id: string;
25830
- /** Message Ids */
25831
- message_ids?: string[];
25832
- };
25833
- /** MailFiledRead */
25834
- MailFiledRead: {
25835
- /** Message Id */
25836
- message_id: string;
25837
- /** Workspace Ext Id */
25838
- workspace_ext_id: string;
25839
- /** Doc Ext Id */
25840
- doc_ext_id?: string | null;
25841
- /**
25842
- * Pending
25843
- * @default false
25844
- */
25845
- pending: boolean;
25846
- };
25847
- /**
25848
- * MailFilingLookup
25849
- * @description Which of these messages are in a workspace, and which of these conversations have a rule.
25850
- */
25851
- MailFilingLookup: {
25852
- /** Message Ids */
25853
- message_ids?: string[];
25854
- /** Thread Ids */
25855
- thread_ids?: string[];
25856
- };
25857
- /**
25858
- * MailFilingRuleRead
25859
- * @description A conversation whose future replies are added to a workspace: a thread of the mailbox's filing row
25860
- * (``mailbox_sync``) for that workspace. ``id`` is that row's.
25861
- */
25862
- MailFilingRuleRead: {
25863
- /** Id */
25864
- id: string;
25865
- /** Account Id */
25866
- account_id: string;
25867
- /** Workspace Ext Id */
25868
- workspace_ext_id: string;
25869
- /** Thread Id */
25870
- thread_id?: string | null;
25871
- /** Created At */
25872
- created_at: string;
25873
- };
25874
- /** MailFilingState */
25875
- MailFilingState: {
25876
- /** Filed */
25877
- filed: components['schemas']['MailFiledRead'][];
25878
- /** Rules */
25879
- rules: components['schemas']['MailFilingRuleRead'][];
25880
- };
25881
- /**
25882
- * NativeFilingFolders
25883
- * @description File the ARBI mailbox's ``folders`` (roles: inbox, sent, archive) into a workspace, ongoing: mail already
25884
- * there from the last ``backfill_window`` days, then what arrives.
25885
- */
25886
- NativeFilingFolders: {
25887
- /** Workspace Ext Id */
25888
- workspace_ext_id: string;
25889
- /** Folders */
25890
- folders?: ('inbox' | 'sent' | 'archive')[];
25891
- /**
25892
- * Backfill Window
25893
- * @default 90
25894
- */
25895
- backfill_window: number;
25896
- };
25897
- /**
25898
- * NativeFilingKeys
25899
- * @description Sealed keys of the messages waiting to be filed into a workspace (``native_mail_items.id`` → wrapped key),
25900
- * for the client to bridge to its session (``/native/session-keys``) before ``/native/filing/run``.
25901
- */
25902
- NativeFilingKeys: {
25903
- /** Keys */
25904
- keys: {
25905
- [key: string]: string;
25906
- };
25907
- };
25908
- /**
25909
- * NativeFilingRead
25910
- * @description The ARBI mailbox's filing into one workspace: folders filed ongoing, conversations followed, and how many
25911
- * messages wait to be filed (until the workspace is next opened).
25912
- */
25913
- NativeFilingRead: {
25914
- /** Id */
25915
- id: string;
25916
- /** Workspace Ext Id */
25917
- workspace_ext_id: string;
25918
- /** Folders */
25919
- folders: string[];
25920
- /** Threads */
25921
- threads: number;
25922
- /** Backfill Window */
25923
- backfill_window: number;
25924
- /** Filed */
25925
- filed: number;
25926
- /** Waiting */
25927
- waiting: number;
25928
- /**
25929
- * Failed
25930
- * @default 0
25931
- */
25932
- failed: number;
25933
- /** Last Sync At */
25934
- last_sync_at?: string | null;
25935
- };
25936
- /** NativeFilingRun */
25937
- NativeFilingRun: {
25938
- /** Workspace Ext Id */
25939
- workspace_ext_id: string;
25940
- };
25941
- /** NativeFilingRunResult */
25942
- NativeFilingRunResult: {
25943
- /** Filed */
25944
- filed: number;
25945
- /** Waiting */
25946
- waiting: number;
25947
- /**
25948
- * Failed
25949
- * @default 0
25950
- */
25951
- failed: number;
25952
- };
25953
26119
  };
25954
26120
  responses: never;
25955
26121
  parameters: never;
@@ -26639,6 +26805,37 @@ interface operations {
26639
26805
  };
26640
26806
  };
26641
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
+ };
26642
26839
  update_project_next_period_addons: {
26643
26840
  parameters: {
26644
26841
  query?: never;
@@ -28278,6 +28475,8 @@ interface operations {
28278
28475
  include_conversations?: boolean;
28279
28476
  /** @description Include tags in response */
28280
28477
  include_tags?: boolean;
28478
+ /** @description Owner-only export access for a suspended project */
28479
+ recovery?: boolean;
28281
28480
  };
28282
28481
  header?: never;
28283
28482
  path: {
@@ -28681,7 +28880,9 @@ interface operations {
28681
28880
  };
28682
28881
  export_workspace_data: {
28683
28882
  parameters: {
28684
- query?: never;
28883
+ query?: {
28884
+ workspace_ext_id?: string | null;
28885
+ };
28685
28886
  header?: never;
28686
28887
  path?: never;
28687
28888
  cookie?: never;
@@ -29819,6 +30020,7 @@ interface operations {
29819
30020
  query?: {
29820
30021
  /** @description Document version (default: the current one) */
29821
30022
  version?: number | null;
30023
+ workspace_ext_id?: string | null;
29822
30024
  };
29823
30025
  header?: never;
29824
30026
  path: {
@@ -30148,6 +30350,7 @@ interface operations {
30148
30350
  query?: {
30149
30351
  /** @description Document version (default: the current one) */
30150
30352
  version?: number | null;
30353
+ workspace_ext_id?: string | null;
30151
30354
  };
30152
30355
  header?: never;
30153
30356
  path: {
@@ -39413,6 +39616,76 @@ interface operations {
39413
39616
  };
39414
39617
  };
39415
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
+ };
39416
39689
  message_v1_mail_accounts__account_id__messages__message_id__get: {
39417
39690
  parameters: {
39418
39691
  query?: never;
@@ -39865,17 +40138,21 @@ interface operations {
39865
40138
  };
39866
40139
  };
39867
40140
  };
39868
- original_v1_mail_accounts__account_id__messages__message_id__original_get: {
40141
+ file_message_v1_mail_accounts__account_id__messages__message_id__file_post: {
39869
40142
  parameters: {
39870
40143
  query?: never;
39871
40144
  header?: never;
39872
40145
  path: {
39873
- message_id: string;
39874
40146
  account_id: string;
40147
+ message_id: string;
39875
40148
  };
39876
40149
  cookie?: never;
39877
40150
  };
39878
- requestBody?: never;
40151
+ requestBody: {
40152
+ content: {
40153
+ 'application/json': components['schemas']['MailFile'];
40154
+ };
40155
+ };
39879
40156
  responses: {
39880
40157
  /** @description Successful Response */
39881
40158
  200: {
@@ -39883,7 +40160,7 @@ interface operations {
39883
40160
  [name: string]: unknown;
39884
40161
  };
39885
40162
  content: {
39886
- 'application/json': unknown;
40163
+ 'application/json': components['schemas']['MailFiledRead'];
39887
40164
  };
39888
40165
  };
39889
40166
  /** @description Validation Error */
@@ -39897,7 +40174,7 @@ interface operations {
39897
40174
  };
39898
40175
  };
39899
40176
  };
39900
- save_draft_v1_mail_accounts__account_id__drafts_post: {
40177
+ file_conversation_v1_mail_accounts__account_id__conversations_file_post: {
39901
40178
  parameters: {
39902
40179
  query?: never;
39903
40180
  header?: never;
@@ -39908,7 +40185,7 @@ interface operations {
39908
40185
  };
39909
40186
  requestBody: {
39910
40187
  content: {
39911
- 'application/json': components['schemas']['MailCompose'];
40188
+ 'application/json': components['schemas']['MailFileConversation'];
39912
40189
  };
39913
40190
  };
39914
40191
  responses: {
@@ -39918,7 +40195,7 @@ interface operations {
39918
40195
  [name: string]: unknown;
39919
40196
  };
39920
40197
  content: {
39921
- 'application/json': components['schemas']['MailDraftSaved'];
40198
+ 'application/json': components['schemas']['MailConversationFiled'];
39922
40199
  };
39923
40200
  };
39924
40201
  /** @description Validation Error */
@@ -39932,27 +40209,25 @@ interface operations {
39932
40209
  };
39933
40210
  };
39934
40211
  };
39935
- save_native_draft_v1_mail_drafts_post: {
40212
+ stop_conversation_v1_mail_filing__row_id__threads_delete: {
39936
40213
  parameters: {
39937
- query?: never;
40214
+ query: {
40215
+ thread_id: string;
40216
+ };
39938
40217
  header?: never;
39939
- path?: never;
39940
- cookie?: never;
39941
- };
39942
- requestBody: {
39943
- content: {
39944
- 'application/json': components['schemas']['MailCompose'];
40218
+ path: {
40219
+ row_id: string;
39945
40220
  };
40221
+ cookie?: never;
39946
40222
  };
40223
+ requestBody?: never;
39947
40224
  responses: {
39948
40225
  /** @description Successful Response */
39949
- 200: {
40226
+ 204: {
39950
40227
  headers: {
39951
40228
  [name: string]: unknown;
39952
40229
  };
39953
- content: {
39954
- 'application/json': components['schemas']['MailDraftSaved'];
39955
- };
40230
+ content?: never;
39956
40231
  };
39957
40232
  /** @description Validation Error */
39958
40233
  422: {
@@ -39965,16 +40240,18 @@ interface operations {
39965
40240
  };
39966
40241
  };
39967
40242
  };
39968
- receive_native_v1_mail_inbound_post: {
40243
+ filing_state_v1_mail_accounts__account_id__filing_post: {
39969
40244
  parameters: {
39970
40245
  query?: never;
39971
40246
  header?: never;
39972
- path?: never;
40247
+ path: {
40248
+ account_id: string;
40249
+ };
39973
40250
  cookie?: never;
39974
40251
  };
39975
40252
  requestBody: {
39976
40253
  content: {
39977
- 'application/json': components['schemas']['NativeInbound'];
40254
+ 'application/json': components['schemas']['MailFilingLookup'];
39978
40255
  };
39979
40256
  };
39980
40257
  responses: {
@@ -39984,7 +40261,7 @@ interface operations {
39984
40261
  [name: string]: unknown;
39985
40262
  };
39986
40263
  content: {
39987
- 'application/json': unknown;
40264
+ 'application/json': components['schemas']['MailFilingState'];
39988
40265
  };
39989
40266
  };
39990
40267
  /** @description Validation Error */
@@ -39998,11 +40275,9 @@ interface operations {
39998
40275
  };
39999
40276
  };
40000
40277
  };
40001
- validate_native_recipient_v1_mail_recipient_get: {
40278
+ native_filing_v1_mail_native_filing_get: {
40002
40279
  parameters: {
40003
- query: {
40004
- recipient: string;
40005
- };
40280
+ query?: never;
40006
40281
  header?: never;
40007
40282
  path?: never;
40008
40283
  cookie?: never;
@@ -40015,28 +40290,23 @@ interface operations {
40015
40290
  [name: string]: unknown;
40016
40291
  };
40017
40292
  content: {
40018
- 'application/json': unknown;
40019
- };
40020
- };
40021
- /** @description Validation Error */
40022
- 422: {
40023
- headers: {
40024
- [name: string]: unknown;
40025
- };
40026
- content: {
40027
- 'application/json': components['schemas']['HTTPValidationError'];
40293
+ 'application/json': components['schemas']['NativeFilingRead'][];
40028
40294
  };
40029
40295
  };
40030
40296
  };
40031
40297
  };
40032
- get_slack_connection_v1_slack_me_get: {
40298
+ set_native_filing_v1_mail_native_filing_put: {
40033
40299
  parameters: {
40034
40300
  query?: never;
40035
40301
  header?: never;
40036
40302
  path?: never;
40037
40303
  cookie?: never;
40038
40304
  };
40039
- requestBody?: never;
40305
+ requestBody: {
40306
+ content: {
40307
+ 'application/json': components['schemas']['NativeFilingFolders'];
40308
+ };
40309
+ };
40040
40310
  responses: {
40041
40311
  /** @description Successful Response */
40042
40312
  200: {
@@ -40044,35 +40314,24 @@ interface operations {
40044
40314
  [name: string]: unknown;
40045
40315
  };
40046
40316
  content: {
40047
- 'application/json': {
40048
- [key: string]: unknown;
40049
- };
40317
+ 'application/json': components['schemas']['NativeFilingRead'];
40050
40318
  };
40051
40319
  };
40052
- };
40053
- };
40054
- disconnect_slack_v1_slack_me_delete: {
40055
- parameters: {
40056
- query?: never;
40057
- header?: never;
40058
- path?: never;
40059
- cookie?: never;
40060
- };
40061
- requestBody?: never;
40062
- responses: {
40063
- /** @description Successful Response */
40064
- 204: {
40320
+ /** @description Validation Error */
40321
+ 422: {
40065
40322
  headers: {
40066
40323
  [name: string]: unknown;
40067
40324
  };
40068
- content?: never;
40325
+ content: {
40326
+ 'application/json': components['schemas']['HTTPValidationError'];
40327
+ };
40069
40328
  };
40070
40329
  };
40071
40330
  };
40072
- authorize_slack_v1_slack_authorize_get: {
40331
+ native_filing_waiting_v1_mail_native_filing_waiting_get: {
40073
40332
  parameters: {
40074
40333
  query: {
40075
- agent_ext_id: string;
40334
+ workspace_ext_id: string;
40076
40335
  };
40077
40336
  header?: never;
40078
40337
  path?: never;
@@ -40086,9 +40345,7 @@ interface operations {
40086
40345
  [name: string]: unknown;
40087
40346
  };
40088
40347
  content: {
40089
- 'application/json': {
40090
- [key: string]: unknown;
40091
- };
40348
+ 'application/json': components['schemas']['NativeFilingKeys'];
40092
40349
  };
40093
40350
  };
40094
40351
  /** @description Validation Error */
@@ -40102,18 +40359,18 @@ interface operations {
40102
40359
  };
40103
40360
  };
40104
40361
  };
40105
- slack_callback_v1_slack_callback_get: {
40362
+ run_native_filing_v1_mail_native_filing_run_post: {
40106
40363
  parameters: {
40107
- query?: {
40108
- code?: string | null;
40109
- state?: string | null;
40110
- error?: string | null;
40111
- };
40364
+ query?: never;
40112
40365
  header?: never;
40113
40366
  path?: never;
40114
40367
  cookie?: never;
40115
40368
  };
40116
- requestBody?: never;
40369
+ requestBody: {
40370
+ content: {
40371
+ 'application/json': components['schemas']['NativeFilingRun'];
40372
+ };
40373
+ };
40117
40374
  responses: {
40118
40375
  /** @description Successful Response */
40119
40376
  200: {
@@ -40121,7 +40378,7 @@ interface operations {
40121
40378
  [name: string]: unknown;
40122
40379
  };
40123
40380
  content: {
40124
- 'application/json': unknown;
40381
+ 'application/json': components['schemas']['NativeFilingRunResult'];
40125
40382
  };
40126
40383
  };
40127
40384
  /** @description Validation Error */
@@ -40135,7 +40392,7 @@ interface operations {
40135
40392
  };
40136
40393
  };
40137
40394
  };
40138
- slack_events_v1_slack_events_post: {
40395
+ native_thread_secret_v1_mail_native_thread_secret_get: {
40139
40396
  parameters: {
40140
40397
  query?: never;
40141
40398
  header?: never;
@@ -40150,12 +40407,12 @@ interface operations {
40150
40407
  [name: string]: unknown;
40151
40408
  };
40152
40409
  content: {
40153
- 'application/json': unknown;
40410
+ 'application/json': components['schemas']['NativeThreadSecret'];
40154
40411
  };
40155
40412
  };
40156
40413
  };
40157
40414
  };
40158
- create_response: {
40415
+ native_thread_keys_v1_mail_native_thread_keys_post: {
40159
40416
  parameters: {
40160
40417
  query?: never;
40161
40418
  header?: never;
@@ -40164,7 +40421,7 @@ interface operations {
40164
40421
  };
40165
40422
  requestBody: {
40166
40423
  content: {
40167
- 'application/json': components['schemas']['MessageInput'];
40424
+ 'application/json': components['schemas']['NativeThreadKeys'];
40168
40425
  };
40169
40426
  };
40170
40427
  responses: {
@@ -40174,17 +40431,7 @@ interface operations {
40174
40431
  [name: string]: unknown;
40175
40432
  };
40176
40433
  content: {
40177
- 'application/json': components['schemas']['ResponsesAPIResponse'];
40178
- 'text/event-stream': unknown;
40179
- };
40180
- };
40181
- /** @description Accepted */
40182
- 202: {
40183
- headers: {
40184
- [name: string]: unknown;
40185
- };
40186
- content: {
40187
- 'application/json': components['schemas']['ResponsesAPIResponse'];
40434
+ 'application/json': components['schemas']['NativeThreadKeysSaved'];
40188
40435
  };
40189
40436
  };
40190
40437
  /** @description Validation Error */
@@ -40198,12 +40445,13 @@ interface operations {
40198
40445
  };
40199
40446
  };
40200
40447
  };
40201
- get_response: {
40448
+ original_v1_mail_accounts__account_id__messages__message_id__original_get: {
40202
40449
  parameters: {
40203
40450
  query?: never;
40204
40451
  header?: never;
40205
40452
  path: {
40206
- response_id: string;
40453
+ message_id: string;
40454
+ account_id: string;
40207
40455
  };
40208
40456
  cookie?: never;
40209
40457
  };
@@ -40215,7 +40463,7 @@ interface operations {
40215
40463
  [name: string]: unknown;
40216
40464
  };
40217
40465
  content: {
40218
- 'application/json': components['schemas']['ResponsesAPIResponse'];
40466
+ 'application/json': unknown;
40219
40467
  };
40220
40468
  };
40221
40469
  /** @description Validation Error */
@@ -40229,21 +40477,20 @@ interface operations {
40229
40477
  };
40230
40478
  };
40231
40479
  };
40232
- conversations_v1_mail_accounts__account_id__conversations_get: {
40480
+ save_draft_v1_mail_accounts__account_id__drafts_post: {
40233
40481
  parameters: {
40234
- query: {
40235
- folder_id: string;
40236
- q?: string;
40237
- cursor?: string | null;
40238
- limit?: number;
40239
- };
40482
+ query?: never;
40240
40483
  header?: never;
40241
40484
  path: {
40242
40485
  account_id: string;
40243
40486
  };
40244
40487
  cookie?: never;
40245
40488
  };
40246
- requestBody?: never;
40489
+ requestBody: {
40490
+ content: {
40491
+ 'application/json': components['schemas']['MailCompose'];
40492
+ };
40493
+ };
40247
40494
  responses: {
40248
40495
  /** @description Successful Response */
40249
40496
  200: {
@@ -40251,7 +40498,7 @@ interface operations {
40251
40498
  [name: string]: unknown;
40252
40499
  };
40253
40500
  content: {
40254
- 'application/json': components['schemas']['MailConversationPage'];
40501
+ 'application/json': components['schemas']['MailDraftSaved'];
40255
40502
  };
40256
40503
  };
40257
40504
  /** @description Validation Error */
@@ -40265,19 +40512,18 @@ interface operations {
40265
40512
  };
40266
40513
  };
40267
40514
  };
40268
- thread_v1_mail_accounts__account_id__thread_get: {
40515
+ save_native_draft_v1_mail_drafts_post: {
40269
40516
  parameters: {
40270
- query: {
40271
- thread_id: string;
40272
- folder_id?: string;
40273
- };
40517
+ query?: never;
40274
40518
  header?: never;
40275
- path: {
40276
- account_id: string;
40277
- };
40519
+ path?: never;
40278
40520
  cookie?: never;
40279
40521
  };
40280
- requestBody?: never;
40522
+ requestBody: {
40523
+ content: {
40524
+ 'application/json': components['schemas']['MailCompose'];
40525
+ };
40526
+ };
40281
40527
  responses: {
40282
40528
  /** @description Successful Response */
40283
40529
  200: {
@@ -40285,7 +40531,7 @@ interface operations {
40285
40531
  [name: string]: unknown;
40286
40532
  };
40287
40533
  content: {
40288
- 'application/json': components['schemas']['MailThread'];
40534
+ 'application/json': components['schemas']['MailDraftSaved'];
40289
40535
  };
40290
40536
  };
40291
40537
  /** @description Validation Error */
@@ -40299,27 +40545,7 @@ interface operations {
40299
40545
  };
40300
40546
  };
40301
40547
  };
40302
- native_thread_secret_v1_mail_native_thread_secret_get: {
40303
- parameters: {
40304
- query?: never;
40305
- header?: never;
40306
- path?: never;
40307
- cookie?: never;
40308
- };
40309
- requestBody?: never;
40310
- responses: {
40311
- /** @description Successful Response */
40312
- 200: {
40313
- headers: {
40314
- [name: string]: unknown;
40315
- };
40316
- content: {
40317
- 'application/json': components['schemas']['NativeThreadSecret'];
40318
- };
40319
- };
40320
- };
40321
- };
40322
- native_thread_keys_v1_mail_native_thread_keys_post: {
40548
+ receive_native_v1_mail_inbound_post: {
40323
40549
  parameters: {
40324
40550
  query?: never;
40325
40551
  header?: never;
@@ -40328,7 +40554,7 @@ interface operations {
40328
40554
  };
40329
40555
  requestBody: {
40330
40556
  content: {
40331
- 'application/json': components['schemas']['NativeThreadKeys'];
40557
+ 'application/json': components['schemas']['NativeInbound'];
40332
40558
  };
40333
40559
  };
40334
40560
  responses: {
@@ -40338,7 +40564,7 @@ interface operations {
40338
40564
  [name: string]: unknown;
40339
40565
  };
40340
40566
  content: {
40341
- 'application/json': components['schemas']['NativeThreadKeysSaved'];
40567
+ 'application/json': unknown;
40342
40568
  };
40343
40569
  };
40344
40570
  /** @description Validation Error */
@@ -40352,21 +40578,16 @@ interface operations {
40352
40578
  };
40353
40579
  };
40354
40580
  };
40355
- file_message_v1_mail_accounts__account_id__messages__message_id__file_post: {
40581
+ validate_native_recipient_v1_mail_recipient_get: {
40356
40582
  parameters: {
40357
- query?: never;
40358
- header?: never;
40359
- path: {
40360
- account_id: string;
40361
- message_id: string;
40583
+ query: {
40584
+ recipient: string;
40362
40585
  };
40586
+ header?: never;
40587
+ path?: never;
40363
40588
  cookie?: never;
40364
40589
  };
40365
- requestBody: {
40366
- content: {
40367
- 'application/json': components['schemas']['MailFile'];
40368
- };
40369
- };
40590
+ requestBody?: never;
40370
40591
  responses: {
40371
40592
  /** @description Successful Response */
40372
40593
  200: {
@@ -40374,7 +40595,7 @@ interface operations {
40374
40595
  [name: string]: unknown;
40375
40596
  };
40376
40597
  content: {
40377
- 'application/json': components['schemas']['MailFiledRead'];
40598
+ 'application/json': unknown;
40378
40599
  };
40379
40600
  };
40380
40601
  /** @description Validation Error */
@@ -40388,20 +40609,14 @@ interface operations {
40388
40609
  };
40389
40610
  };
40390
40611
  };
40391
- file_conversation_v1_mail_accounts__account_id__conversations_file_post: {
40612
+ get_slack_connection_v1_slack_me_get: {
40392
40613
  parameters: {
40393
40614
  query?: never;
40394
40615
  header?: never;
40395
- path: {
40396
- account_id: string;
40397
- };
40616
+ path?: never;
40398
40617
  cookie?: never;
40399
40618
  };
40400
- requestBody: {
40401
- content: {
40402
- 'application/json': components['schemas']['MailFileConversation'];
40403
- };
40404
- };
40619
+ requestBody?: never;
40405
40620
  responses: {
40406
40621
  /** @description Successful Response */
40407
40622
  200: {
@@ -40409,39 +40624,52 @@ interface operations {
40409
40624
  [name: string]: unknown;
40410
40625
  };
40411
40626
  content: {
40412
- 'application/json': components['schemas']['MailConversationFiled'];
40627
+ 'application/json': {
40628
+ [key: string]: unknown;
40629
+ };
40413
40630
  };
40414
40631
  };
40415
- /** @description Validation Error */
40416
- 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: {
40417
40645
  headers: {
40418
40646
  [name: string]: unknown;
40419
40647
  };
40420
- content: {
40421
- 'application/json': components['schemas']['HTTPValidationError'];
40422
- };
40648
+ content?: never;
40423
40649
  };
40424
40650
  };
40425
40651
  };
40426
- stop_conversation_v1_mail_filing__row_id__threads_delete: {
40652
+ authorize_slack_v1_slack_authorize_get: {
40427
40653
  parameters: {
40428
40654
  query: {
40429
- thread_id: string;
40655
+ agent_ext_id: string;
40430
40656
  };
40431
40657
  header?: never;
40432
- path: {
40433
- row_id: string;
40434
- };
40658
+ path?: never;
40435
40659
  cookie?: never;
40436
40660
  };
40437
40661
  requestBody?: never;
40438
40662
  responses: {
40439
40663
  /** @description Successful Response */
40440
- 204: {
40664
+ 200: {
40441
40665
  headers: {
40442
40666
  [name: string]: unknown;
40443
40667
  };
40444
- content?: never;
40668
+ content: {
40669
+ 'application/json': {
40670
+ [key: string]: unknown;
40671
+ };
40672
+ };
40445
40673
  };
40446
40674
  /** @description Validation Error */
40447
40675
  422: {
@@ -40454,20 +40682,18 @@ interface operations {
40454
40682
  };
40455
40683
  };
40456
40684
  };
40457
- filing_state_v1_mail_accounts__account_id__filing_post: {
40685
+ slack_callback_v1_slack_callback_get: {
40458
40686
  parameters: {
40459
- query?: never;
40460
- header?: never;
40461
- path: {
40462
- account_id: string;
40687
+ query?: {
40688
+ code?: string | null;
40689
+ state?: string | null;
40690
+ error?: string | null;
40463
40691
  };
40692
+ header?: never;
40693
+ path?: never;
40464
40694
  cookie?: never;
40465
40695
  };
40466
- requestBody: {
40467
- content: {
40468
- 'application/json': components['schemas']['MailFilingLookup'];
40469
- };
40470
- };
40696
+ requestBody?: never;
40471
40697
  responses: {
40472
40698
  /** @description Successful Response */
40473
40699
  200: {
@@ -40475,7 +40701,7 @@ interface operations {
40475
40701
  [name: string]: unknown;
40476
40702
  };
40477
40703
  content: {
40478
- 'application/json': components['schemas']['MailFilingState'];
40704
+ 'application/json': unknown;
40479
40705
  };
40480
40706
  };
40481
40707
  /** @description Validation Error */
@@ -40489,7 +40715,7 @@ interface operations {
40489
40715
  };
40490
40716
  };
40491
40717
  };
40492
- native_filing_v1_mail_native_filing_get: {
40718
+ slack_events_v1_slack_events_post: {
40493
40719
  parameters: {
40494
40720
  query?: never;
40495
40721
  header?: never;
@@ -40504,12 +40730,12 @@ interface operations {
40504
40730
  [name: string]: unknown;
40505
40731
  };
40506
40732
  content: {
40507
- 'application/json': components['schemas']['NativeFilingRead'][];
40733
+ 'application/json': unknown;
40508
40734
  };
40509
40735
  };
40510
40736
  };
40511
40737
  };
40512
- set_native_filing_v1_mail_native_filing_put: {
40738
+ create_response: {
40513
40739
  parameters: {
40514
40740
  query?: never;
40515
40741
  header?: never;
@@ -40518,7 +40744,7 @@ interface operations {
40518
40744
  };
40519
40745
  requestBody: {
40520
40746
  content: {
40521
- 'application/json': components['schemas']['NativeFilingFolders'];
40747
+ 'application/json': components['schemas']['MessageInput'];
40522
40748
  };
40523
40749
  };
40524
40750
  responses: {
@@ -40528,38 +40754,17 @@ interface operations {
40528
40754
  [name: string]: unknown;
40529
40755
  };
40530
40756
  content: {
40531
- 'application/json': components['schemas']['NativeFilingRead'];
40532
- };
40533
- };
40534
- /** @description Validation Error */
40535
- 422: {
40536
- headers: {
40537
- [name: string]: unknown;
40538
- };
40539
- content: {
40540
- 'application/json': components['schemas']['HTTPValidationError'];
40757
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
40758
+ 'text/event-stream': unknown;
40541
40759
  };
40542
40760
  };
40543
- };
40544
- };
40545
- native_filing_waiting_v1_mail_native_filing_waiting_get: {
40546
- parameters: {
40547
- query: {
40548
- workspace_ext_id: string;
40549
- };
40550
- header?: never;
40551
- path?: never;
40552
- cookie?: never;
40553
- };
40554
- requestBody?: never;
40555
- responses: {
40556
- /** @description Successful Response */
40557
- 200: {
40761
+ /** @description Accepted */
40762
+ 202: {
40558
40763
  headers: {
40559
40764
  [name: string]: unknown;
40560
40765
  };
40561
40766
  content: {
40562
- 'application/json': components['schemas']['NativeFilingKeys'];
40767
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
40563
40768
  };
40564
40769
  };
40565
40770
  /** @description Validation Error */
@@ -40573,18 +40778,16 @@ interface operations {
40573
40778
  };
40574
40779
  };
40575
40780
  };
40576
- run_native_filing_v1_mail_native_filing_run_post: {
40781
+ get_response: {
40577
40782
  parameters: {
40578
40783
  query?: never;
40579
40784
  header?: never;
40580
- path?: never;
40581
- cookie?: never;
40582
- };
40583
- requestBody: {
40584
- content: {
40585
- 'application/json': components['schemas']['NativeFilingRun'];
40785
+ path: {
40786
+ response_id: string;
40586
40787
  };
40788
+ cookie?: never;
40587
40789
  };
40790
+ requestBody?: never;
40588
40791
  responses: {
40589
40792
  /** @description Successful Response */
40590
40793
  200: {
@@ -40592,7 +40795,7 @@ interface operations {
40592
40795
  [name: string]: unknown;
40593
40796
  };
40594
40797
  content: {
40595
- 'application/json': components['schemas']['NativeFilingRunResult'];
40798
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
40596
40799
  };
40597
40800
  };
40598
40801
  /** @description Validation Error */