@arbidocs/client 0.5.142 → 0.5.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -143,38 +143,6 @@ interface operations$1 {
143
143
  * Do not make direct changes to the file.
144
144
  */
145
145
  interface paths$1 {
146
- '/v1/user/projects/{project_ext_id}/spend-limits/confirm': {
147
- post: {
148
- parameters: {
149
- path: {
150
- project_ext_id: string;
151
- };
152
- };
153
- requestBody: {
154
- content: {
155
- 'application/json': components$1['schemas']['ProjectSpendLimitsRequest'];
156
- };
157
- };
158
- responses: {
159
- 200: {
160
- headers: {
161
- [name: string]: unknown;
162
- };
163
- content: {
164
- 'application/json': components$1['schemas']['ProjectResponse'];
165
- };
166
- };
167
- 422: {
168
- headers: {
169
- [name: string]: unknown;
170
- };
171
- content: {
172
- 'application/json': components$1['schemas']['HTTPValidationError'];
173
- };
174
- };
175
- };
176
- };
177
- };
178
146
  '/v1/user/entitlements': {
179
147
  parameters: {
180
148
  query?: never;
@@ -561,12 +529,12 @@ interface paths$1 {
561
529
  put?: never;
562
530
  /**
563
531
  * Add Project Ai Block
564
- * @description Add one AI usage block (+£25 of AI usage a month), charged now for the current period to the saved card.
532
+ * @description Add one AI usage block (+£20 of AI usage a month), charged now for the current period to the saved card.
565
533
  *
566
534
  * The block stays on the subscription and renews at the full block price each period until reduced.
567
535
  *
568
- * It grants the whole month's £25 at once, so monthly plans pay the full block price (£25 + VAT);
569
- * annual plans pay the discounted monthly rate (£18.75) for each remaining month. A declined
536
+ * It grants the whole month's £20 at once, so monthly plans pay the full block price (£20 + VAT);
537
+ * annual plans pay the discounted monthly rate (£15) for each remaining month. A declined
570
538
  * payment grants nothing (402 ``PAYMENT_DECLINED``); 3-D Secure returns ``requires_action`` with
571
539
  * the hosted invoice to confirm. The monthly usage cap limits automatic top-ups only: it never refuses this.
572
540
  */
@@ -588,7 +556,7 @@ interface paths$1 {
588
556
  put?: never;
589
557
  /**
590
558
  * Add Project Storage Block
591
- * @description Add one storage block (+25 GB), charged now for the time left in the billing period (prorated by days).
559
+ * @description Add one storage block (+20 GB), charged now for the time left in the billing period (prorated by days).
592
560
  *
593
561
  * It stays on the subscription and renews each period until reduced.
594
562
  *
@@ -701,6 +669,26 @@ interface paths$1 {
701
669
  patch?: never;
702
670
  trace?: never;
703
671
  };
672
+ '/v1/user/projects/{project_ext_id}/spend-limits/confirm': {
673
+ parameters: {
674
+ query?: never;
675
+ header?: never;
676
+ path?: never;
677
+ cookie?: never;
678
+ };
679
+ get?: never;
680
+ put?: never;
681
+ /**
682
+ * Confirm Project Spend Limits
683
+ * @description Approve both spending limits together after payment. No invoice or extra allowance is purchased.
684
+ */
685
+ post: operations['confirm_project_spend_limits'];
686
+ delete?: never;
687
+ options?: never;
688
+ head?: never;
689
+ patch?: never;
690
+ trace?: never;
691
+ };
704
692
  '/v1/user/verify-email': {
705
693
  parameters: {
706
694
  query?: never;
@@ -1345,7 +1333,7 @@ interface paths$1 {
1345
1333
  /**
1346
1334
  * Get Products
1347
1335
  * @description The Pro plan (one licence: £10 of AI usage + 5 GB a month) and its monthly / annual prices, with the add-on
1348
- * block prices at each interval (+£25 of AI usage or +25 GB a month each). ``pack_prices`` lists only one
1336
+ * block prices at each interval (+£20 of AI usage or +20 GB a month each). ``pack_prices`` lists only one
1349
1337
  * licence (Pro Plus and multi-pack plans are no longer sold). ``amount`` fields are incl. UK VAT,
1350
1338
  * ``amount_ex_vat`` the ex-VAT price Stripe charges (other countries: ``POST /v1/user/projects/quote``).
1351
1339
  */
@@ -1358,6 +1346,26 @@ interface paths$1 {
1358
1346
  patch?: never;
1359
1347
  trace?: never;
1360
1348
  };
1349
+ '/v1/user/referrals': {
1350
+ parameters: {
1351
+ query?: never;
1352
+ header?: never;
1353
+ path?: never;
1354
+ cookie?: never;
1355
+ };
1356
+ /**
1357
+ * Get Referral Summary
1358
+ * @description Invitation progress and referral bonuses for the signed-in user only.
1359
+ */
1360
+ get: operations['get_referral_summary'];
1361
+ put?: never;
1362
+ post?: never;
1363
+ delete?: never;
1364
+ options?: never;
1365
+ head?: never;
1366
+ patch?: never;
1367
+ trace?: never;
1368
+ };
1361
1369
  '/v1/firm/pool': {
1362
1370
  parameters: {
1363
1371
  query?: never;
@@ -1392,7 +1400,7 @@ interface paths$1 {
1392
1400
  put?: never;
1393
1401
  /**
1394
1402
  * Top Up Firm Pool
1395
- * @description Add renewing AI usage steps (+£25 of AI usage a month each) to the firm's Box subscription. Box admins only.
1403
+ * @description Add renewing AI usage steps (+£20 of AI usage a month each) to the firm's Box subscription. Box admins only.
1396
1404
  *
1397
1405
  * Central adds them to the subscription, invoices the prorated amount on its terms and raises the AI budget
1398
1406
  * before answering. 409 when the deployment has no live Box subscription.
@@ -3972,6 +3980,46 @@ interface paths$1 {
3972
3980
  patch?: never;
3973
3981
  trace?: never;
3974
3982
  };
3983
+ '/v1/conversation/{conversation_ext_id}/people': {
3984
+ parameters: {
3985
+ query?: never;
3986
+ header?: never;
3987
+ path?: never;
3988
+ cookie?: never;
3989
+ };
3990
+ /**
3991
+ * List Conversation People
3992
+ * @description The people this thread is shared with by name (cc'd or @mentioned), as user external ids.
3993
+ */
3994
+ get: operations['list_conversation_people'];
3995
+ put?: never;
3996
+ post?: never;
3997
+ delete?: never;
3998
+ options?: never;
3999
+ head?: never;
4000
+ patch?: never;
4001
+ trace?: never;
4002
+ };
4003
+ '/v1/conversation/{conversation_ext_id}/people/{user_ext_id}': {
4004
+ parameters: {
4005
+ query?: never;
4006
+ header?: never;
4007
+ path?: never;
4008
+ cookie?: never;
4009
+ };
4010
+ get?: never;
4011
+ put?: never;
4012
+ post?: never;
4013
+ /**
4014
+ * Remove Conversation Person
4015
+ * @description Take a named person off the thread: a workspace owner only (403); once named, a person stays otherwise.
4016
+ */
4017
+ delete: operations['remove_conversation_person'];
4018
+ options?: never;
4019
+ head?: never;
4020
+ patch?: never;
4021
+ trace?: never;
4022
+ };
3975
4023
  '/v1/conversation/{conversation_ext_id}/notify': {
3976
4024
  parameters: {
3977
4025
  query?: never;
@@ -3983,7 +4031,9 @@ interface paths$1 {
3983
4031
  put?: never;
3984
4032
  /**
3985
4033
  * Notify Collaborators
3986
- * @description Notify workspace humans about this thread without changing its status.
4034
+ * @description Notify workspace humans about this thread (cc them) without changing its status. On a thread not shared with
4035
+ * the workspace, each of them is named on it (``convo_members``) so they can open it — the whole workspace does
4036
+ * not see it. 422 unless every id is a current human member of the thread's workspace.
3987
4037
  */
3988
4038
  post: operations['notify_conversation_collaborators'];
3989
4039
  delete?: never;
@@ -4997,7 +5047,9 @@ interface paths$1 {
4997
5047
  put?: never;
4998
5048
  /**
4999
5049
  * Add Rows
5000
- * @description Add rows; cell values are keyed by column id or name and checked against the column's type.
5050
+ * @description Add rows; cell values are keyed by column id or name and checked against the column's type. With
5051
+ * ``shared: false`` they are the caller's private drafts until shared (``POST …/rows/{row}/share``). A column with
5052
+ * an ``edit_by`` rule is written only by the people it allows (403).
5001
5053
  */
5002
5054
  post: operations['add_database_rows'];
5003
5055
  delete?: never;
@@ -5021,11 +5073,35 @@ interface paths$1 {
5021
5073
  head?: never;
5022
5074
  /**
5023
5075
  * Update Row
5024
- * @description Change the given cells (``null`` empties a cell); other cells are kept.
5076
+ * @description Change the given cells (``null`` empties a cell); other cells are kept. A column with an ``edit_by`` rule is
5077
+ * written only by the people it allows (403): a decision column only by its listed approvers, never on their own
5078
+ * row. Setting a decision tells the row's creator and moves on a workflow step waiting on the row.
5025
5079
  */
5026
5080
  patch: operations['update_database_row'];
5027
5081
  trace?: never;
5028
5082
  };
5083
+ '/v1/databases/{database_id}/rows/{row_id}/share': {
5084
+ parameters: {
5085
+ query?: never;
5086
+ header?: never;
5087
+ path?: never;
5088
+ cookie?: never;
5089
+ };
5090
+ get?: never;
5091
+ put?: never;
5092
+ /**
5093
+ * Share Row
5094
+ * @description Submit a draft: share the caller's private row with the workspace (its approvers are told, when a column
5095
+ * decides it). ``shared: false`` takes a shared row back to private: a workspace owner only (403); a row once
5096
+ * shared otherwise stays shared, and only a workspace owner deletes it.
5097
+ */
5098
+ post: operations['share_database_row'];
5099
+ delete?: never;
5100
+ options?: never;
5101
+ head?: never;
5102
+ patch?: never;
5103
+ trace?: never;
5104
+ };
5029
5105
  '/v1/databases/{database_id}/aggregate': {
5030
5106
  parameters: {
5031
5107
  query?: never;
@@ -9179,11 +9255,6 @@ interface paths$1 {
9179
9255
  type webhooks = Record<string, never>;
9180
9256
  interface components$1 {
9181
9257
  schemas: {
9182
- ProjectSpendLimitsRequest: {
9183
- spend_cap_pence: number;
9184
- daily_cap_per_user: number | null;
9185
- name?: string | null;
9186
- };
9187
9258
  /** AccountRead */
9188
9259
  AccountRead: {
9189
9260
  /** Id */
@@ -9867,7 +9938,7 @@ interface components$1 {
9867
9938
  WORKSPACE_TOOLS_ENABLED: boolean;
9868
9939
  /**
9869
9940
  * Workflow Tools Enabled
9870
- * @description Let the agent create workflows (create_workflow) in the active workspace, as the user, when asked in a thread. Scheduled workflows still need the owner's access grant before they run.
9941
+ * @description Let the agent create workflows (create_workflow) and set the workspace Assistant's standing instructions (set_assistant_brief) in the active workspace, as the user, when asked in a thread. Scheduled and event workflows run as the owner's Assistant: unattended once it has standing access to the workspace (given on the Assistant page), else each run asks the owner. Sub-agents never get these tools.
9871
9942
  * @default true
9872
9943
  */
9873
9944
  WORKFLOW_TOOLS_ENABLED: boolean;
@@ -9937,6 +10008,12 @@ interface components$1 {
9937
10008
  * @default 20000
9938
10009
  */
9939
10010
  AGENT_STREAM_DEGENERATE_CHARS: number;
10011
+ /**
10012
+ * Agent Stream Repeat Chars
10013
+ * @description Stop an agent stream whose last this-many chars are one short unit (up to 400 chars) repeated over and over: a model stuck in a loop. 0 = disabled.
10014
+ * @default 6000
10015
+ */
10016
+ AGENT_STREAM_REPEAT_CHARS: number;
9940
10017
  /**
9941
10018
  * Enable Thinking
9942
10019
  * @description Enable reasoning/thinking mode for the agentic loop LLM.
@@ -10149,7 +10226,7 @@ interface components$1 {
10149
10226
  WORKSPACE_TOOLS_ENABLED: boolean;
10150
10227
  /**
10151
10228
  * Workflow Tools Enabled
10152
- * @description Let the agent create workflows (create_workflow) in the active workspace, as the user, when asked in a thread. Scheduled workflows still need the owner's access grant before they run.
10229
+ * @description Let the agent create workflows (create_workflow) and set the workspace Assistant's standing instructions (set_assistant_brief) in the active workspace, as the user, when asked in a thread. Scheduled and event workflows run as the owner's Assistant: unattended once it has standing access to the workspace (given on the Assistant page), else each run asks the owner. Sub-agents never get these tools.
10153
10230
  * @default true
10154
10231
  */
10155
10232
  WORKFLOW_TOOLS_ENABLED: boolean;
@@ -10243,6 +10320,7 @@ interface components$1 {
10243
10320
  * "AGENT_MAX_TOKENS": 0,
10244
10321
  * "AGENT_STREAM_OUTPUT_CEILING_TOKENS": 64000,
10245
10322
  * "AGENT_STREAM_DEGENERATE_CHARS": 20000,
10323
+ * "AGENT_STREAM_REPEAT_CHARS": 6000,
10246
10324
  * "ENABLE_THINKING": false,
10247
10325
  * "AGENT_STRICT_TOOL_CALLS": true,
10248
10326
  * "AGENT_MAX_ITERATIONS": 20,
@@ -10609,6 +10687,47 @@ interface components$1 {
10609
10687
  */
10610
10688
  last_input_tokens: number;
10611
10689
  };
10690
+ /**
10691
+ * ApprovalAction
10692
+ * @description Submit a request for approval as a row of a database (``src/core/databases/approvals.py``): the step writes
10693
+ * the row (shared, linked to this run) with ``values`` filled from the run, then waits until one of the people its
10694
+ * ``decision`` column lists (that column's ``edit_by`` rule) sets the decision on the row. ``approve`` finishes
10695
+ * the step, ``send_back`` reopens the step it waits for (resubmitting updates the same row), ``reject`` fails it;
10696
+ * each matched case-insensitively against the decision cell. ``values`` maps a column (id or name) to a template
10697
+ * over the run's inputs and earlier steps' outputs (``{{field}}``, ``{{step_id.key}}``).
10698
+ */
10699
+ ApprovalAction: {
10700
+ /**
10701
+ * @description discriminator enum property added by openapi-typescript
10702
+ * @enum {string}
10703
+ */
10704
+ type: 'approval';
10705
+ /** Database */
10706
+ database: string;
10707
+ /** Decision */
10708
+ decision: string;
10709
+ /** Values */
10710
+ values?: {
10711
+ [key: string]: string;
10712
+ };
10713
+ /**
10714
+ * Approve
10715
+ * @default Approved
10716
+ */
10717
+ approve: string;
10718
+ /**
10719
+ * Send Back
10720
+ * @default Sent back
10721
+ */
10722
+ send_back: string;
10723
+ /**
10724
+ * Reject
10725
+ * @default Rejected
10726
+ */
10727
+ reject: string;
10728
+ /** Send Back To */
10729
+ send_back_to?: string | null;
10730
+ };
10612
10731
  /**
10613
10732
  * ArbiErrorEvent
10614
10733
  * @description ``arbi.error`` — a structured mid-stream error (e.g. AI-quota exceeded).
@@ -14823,7 +14942,7 @@ interface components$1 {
14823
14942
  /**
14824
14943
  * DatabaseColumn
14825
14944
  * @description A column: a typed field (:class:`~src.models.fields.FieldDefinition`), plus what a relation, lookup or
14826
- * rollup column needs (column references are ids).
14945
+ * rollup column needs (column references are ids), and who may write it (``edit_by``).
14827
14946
  */
14828
14947
  DatabaseColumn: {
14829
14948
  /** Id */
@@ -14840,6 +14959,7 @@ interface components$1 {
14840
14959
  relation?: components$1['schemas']['DatabaseRelation'] | null;
14841
14960
  lookup?: components$1['schemas']['DatabaseLookup'] | null;
14842
14961
  rollup?: components$1['schemas']['DatabaseRollup'] | null;
14962
+ edit_by?: components$1['schemas']['DatabaseEditRule'] | null;
14843
14963
  };
14844
14964
  /**
14845
14965
  * DatabaseColumnWrite
@@ -14866,6 +14986,7 @@ interface components$1 {
14866
14986
  relation?: components$1['schemas']['DatabaseRelationWrite'] | null;
14867
14987
  lookup?: components$1['schemas']['DatabaseLookup'] | null;
14868
14988
  rollup?: components$1['schemas']['DatabaseRollup'] | null;
14989
+ edit_by?: components$1['schemas']['DatabaseEditRuleWrite'] | null;
14869
14990
  };
14870
14991
  /** DatabaseCreate */
14871
14992
  DatabaseCreate: {
@@ -14895,6 +15016,42 @@ interface components$1 {
14895
15016
  /** Column Name */
14896
15017
  column_name: string;
14897
15018
  };
15019
+ /**
15020
+ * DatabaseEditRule
15021
+ * @description Who may write a column's cells, on top of who may edit the row: ``owners`` (the workspace's owners and the
15022
+ * database's creator), or ``listed`` (the people in the person column ``column_id`` of the database
15023
+ * ``database_id``, this workspace; never the row's own creator). The server enforces it on every write, so a
15024
+ * column like an approval's Decision is set only by the approvers.
15025
+ */
15026
+ DatabaseEditRule: {
15027
+ /**
15028
+ * Kind
15029
+ * @enum {string}
15030
+ */
15031
+ kind: 'owners' | 'listed';
15032
+ /** Database Id */
15033
+ database_id?: string | null;
15034
+ /** Column Id */
15035
+ column_id?: string | null;
15036
+ };
15037
+ /** DatabaseEditRuleWrite */
15038
+ DatabaseEditRuleWrite: {
15039
+ /**
15040
+ * Kind
15041
+ * @enum {string}
15042
+ */
15043
+ kind: 'owners' | 'listed';
15044
+ /**
15045
+ * Database Id
15046
+ * @description listed: the database listing who may edit (this workspace)
15047
+ */
15048
+ database_id?: string | null;
15049
+ /**
15050
+ * Column
15051
+ * @description listed: that database's person column listing them (id or name)
15052
+ */
15053
+ column?: string | null;
15054
+ };
14898
15055
  /**
14899
15056
  * DatabaseFilter
14900
15057
  * @description Keep rows whose cell in ``column`` satisfies ``op`` ``value`` (compared in the column's type).
@@ -14978,6 +15135,8 @@ interface components$1 {
14978
15135
  * @default true
14979
15136
  */
14980
15137
  editable: boolean;
15138
+ /** Locked Columns */
15139
+ locked_columns?: string[];
14981
15140
  /** Created By */
14982
15141
  created_by?: string | null;
14983
15142
  /**
@@ -15079,6 +15238,17 @@ interface components$1 {
15079
15238
  titles?: {
15080
15239
  [key: string]: string;
15081
15240
  };
15241
+ /**
15242
+ * Shared
15243
+ * @default true
15244
+ */
15245
+ shared: boolean;
15246
+ /** Created By */
15247
+ created_by?: string | null;
15248
+ /** Updated By */
15249
+ updated_by?: string | null;
15250
+ /** Conversation Id */
15251
+ conversation_id?: string | null;
15082
15252
  /**
15083
15253
  * Created At
15084
15254
  * Format: date-time
@@ -15090,6 +15260,17 @@ interface components$1 {
15090
15260
  */
15091
15261
  updated_at: string;
15092
15262
  };
15263
+ /**
15264
+ * DatabaseRowShare
15265
+ * @description Share a draft row with the workspace (submit it), or, as a workspace owner, make a shared row private again.
15266
+ */
15267
+ DatabaseRowShare: {
15268
+ /**
15269
+ * Shared
15270
+ * @default true
15271
+ */
15272
+ shared: boolean;
15273
+ };
15093
15274
  /**
15094
15275
  * DatabaseRowWrite
15095
15276
  * @description Cell values keyed by column id or column name; ``null`` empties a cell.
@@ -15107,6 +15288,11 @@ interface components$1 {
15107
15288
  DatabaseRowsCreate: {
15108
15289
  /** Rows */
15109
15290
  rows: components$1['schemas']['DatabaseRowWrite'][];
15291
+ /**
15292
+ * Shared
15293
+ * @default true
15294
+ */
15295
+ shared: boolean;
15110
15296
  };
15111
15297
  /** DatabaseRowsDelete */
15112
15298
  DatabaseRowsDelete: {
@@ -16944,7 +17130,7 @@ interface components$1 {
16944
17130
  FirmPoolTopUpRequest: {
16945
17131
  /**
16946
17132
  * Ai Addons
16947
- * @description Renewing AI usage steps (+£25 of AI usage a month each) to add
17133
+ * @description Renewing AI usage steps (+£20 of AI usage a month each) to add
16948
17134
  */
16949
17135
  ai_addons: number;
16950
17136
  };
@@ -19330,7 +19516,7 @@ interface components$1 {
19330
19516
  * Type is self-descriptive, no need to parse content field.
19331
19517
  * @enum {string}
19332
19518
  */
19333
- 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' | 'upload_set_complete' | 'activity' | 'mention' | 'thread_reply' | 'document_activity' | 'document_processed' | 'mail_document_received' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
19519
+ 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' | 'database_row_submitted' | 'database_row_decided' | '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' | 'upload_set_complete' | 'activity' | 'mention' | 'thread_reply' | 'document_activity' | 'document_processed' | 'mail_document_received' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
19334
19520
  /**
19335
19521
  * NotificationUpdate
19336
19522
  * @description Single notification update for bulk PATCH.
@@ -20131,7 +20317,11 @@ interface components$1 {
20131
20317
  * @description Stripe product with pricing information.
20132
20318
  */
20133
20319
  ProductResponse: {
20134
- collaborator_daily_limit_step_gbp?: number;
20320
+ /**
20321
+ * Collaborator Daily Limit Step Gbp
20322
+ * @default 1
20323
+ */
20324
+ collaborator_daily_limit_step_gbp: number;
20135
20325
  /**
20136
20326
  * Included Ai Gbp
20137
20327
  * @default 10
@@ -20475,12 +20665,16 @@ interface components$1 {
20475
20665
  * ProjectCheckoutRequest
20476
20666
  * @description Create a Stripe checkout session for this project's Pro plan: one licence (``packs`` must be 1).
20477
20667
  *
20478
- * ``ai_blocks`` / ``storage_blocks``: add-on blocks (+£25 of AI usage a month / +25 GB each) bought with the plan.
20668
+ * ``ai_blocks`` / ``storage_blocks``: add-on blocks (+£20 of AI usage a month / +20 GB each) bought with the plan.
20479
20669
  * They are line items on the first invoice at the add-on prices of the plan's interval, granted once it is paid,
20480
20670
  * and renew with the plan until reduced, like any block.
20481
20671
  */
20482
20672
  ProjectCheckoutRequest: {
20483
- require_spend_limit_confirmation?: boolean;
20673
+ /**
20674
+ * Require Spend Limit Confirmation
20675
+ * @default false
20676
+ */
20677
+ require_spend_limit_confirmation: boolean;
20484
20678
  /**
20485
20679
  * Interval
20486
20680
  * @default month
@@ -20750,6 +20944,8 @@ interface components$1 {
20750
20944
  postal_code?: string | null;
20751
20945
  /** Vat Number */
20752
20946
  vat_number?: string | null;
20947
+ /** Promo Code */
20948
+ promo_code?: string | null;
20753
20949
  };
20754
20950
  /**
20755
20951
  * ProjectResponse
@@ -20764,8 +20960,6 @@ interface components$1 {
20764
20960
  * user's external_id.
20765
20961
  */
20766
20962
  ProjectResponse: {
20767
- spend_limits_confirmation_required?: boolean;
20768
- checkout_pending?: boolean;
20769
20963
  /** External Id */
20770
20964
  external_id: string;
20771
20965
  /** Name */
@@ -20791,6 +20985,16 @@ interface components$1 {
20791
20985
  quotas: components$1['schemas']['ProjectQuotas'];
20792
20986
  /** Daily Cap Per User */
20793
20987
  daily_cap_per_user?: number | null;
20988
+ /**
20989
+ * Spend Limits Confirmation Required
20990
+ * @default false
20991
+ */
20992
+ spend_limits_confirmation_required: boolean;
20993
+ /**
20994
+ * Checkout Pending
20995
+ * @default false
20996
+ */
20997
+ checkout_pending: boolean;
20794
20998
  budget?: components$1['schemas']['ProjectBudget'] | null;
20795
20999
  /** Client */
20796
21000
  client?: string | null;
@@ -20834,6 +21038,18 @@ interface components$1 {
20834
21038
  /** Portal Url */
20835
21039
  portal_url?: string | null;
20836
21040
  };
21041
+ /**
21042
+ * ProjectSpendLimitsRequest
21043
+ * @description Explicit approval of both project automatic spending and per-collaborator daily AI spending.
21044
+ */
21045
+ ProjectSpendLimitsRequest: {
21046
+ /** Spend Cap Pence */
21047
+ spend_cap_pence: number;
21048
+ /** Daily Cap Per User */
21049
+ daily_cap_per_user: number | null;
21050
+ /** Name */
21051
+ name?: string | null;
21052
+ };
20837
21053
  /**
20838
21054
  * ProjectUpdateRequest
20839
21055
  * @description Update a project (PATCH): omitted fields are unchanged, null clears; ``fields`` merges key by key.
@@ -21166,6 +21382,58 @@ interface components$1 {
21166
21382
  * @enum {string}
21167
21383
  */
21168
21384
  ReferencedDocuments: 'include' | 'link';
21385
+ /** ReferralInvitationResponse */
21386
+ ReferralInvitationResponse: {
21387
+ /** Contact Id */
21388
+ contact_id: string;
21389
+ /** User Id */
21390
+ user_id?: string | null;
21391
+ /** Email */
21392
+ email: string;
21393
+ /** Name */
21394
+ name: string;
21395
+ /**
21396
+ * Status
21397
+ * @enum {string}
21398
+ */
21399
+ status: 'pending' | 'accepted' | 'subscribed';
21400
+ /**
21401
+ * Expired
21402
+ * @default false
21403
+ */
21404
+ expired: boolean;
21405
+ /**
21406
+ * Has Shared Workspace
21407
+ * @default false
21408
+ */
21409
+ has_shared_workspace: boolean;
21410
+ /**
21411
+ * Potential Bonus
21412
+ * @default 0
21413
+ */
21414
+ potential_bonus: number;
21415
+ /**
21416
+ * Earned Bonus
21417
+ * @default 0
21418
+ */
21419
+ earned_bonus: number;
21420
+ /**
21421
+ * Created At
21422
+ * Format: date-time
21423
+ */
21424
+ created_at: string;
21425
+ };
21426
+ /** ReferralSummaryResponse */
21427
+ ReferralSummaryResponse: {
21428
+ /** Invitations */
21429
+ invitations?: components$1['schemas']['ReferralInvitationResponse'][];
21430
+ /** Reward Amount */
21431
+ reward_amount: number;
21432
+ /** Invitee Reward Amount */
21433
+ invitee_reward_amount: number;
21434
+ /** Currency */
21435
+ currency: string;
21436
+ };
21169
21437
  /**
21170
21438
  * RegisterRequest
21171
21439
  * @description Unified user registration request (local and SSO).
@@ -24523,7 +24791,7 @@ interface components$1 {
24523
24791
  /** Fields */
24524
24792
  fields?: components$1['schemas']['StepField'][] | null;
24525
24793
  /** Action */
24526
- action?: (components$1['schemas']['SignAction'] | components$1['schemas']['EmailDraftAction'] | components$1['schemas']['TabularReviewAction']) | null;
24794
+ action?: (components$1['schemas']['SignAction'] | components$1['schemas']['EmailDraftAction'] | components$1['schemas']['TabularReviewAction'] | components$1['schemas']['ApprovalAction']) | null;
24527
24795
  /** Edit Document */
24528
24796
  edit_document?: string | components$1['schemas']['StepDocumentRef'] | null;
24529
24797
  };
@@ -24601,6 +24869,24 @@ interface components$1 {
24601
24869
  * @default []
24602
24870
  */
24603
24871
  lines: components$1['schemas']['TaxQuoteLine'][];
24872
+ /** Promo Code */
24873
+ promo_code?: string | null;
24874
+ /**
24875
+ * Discount Pence
24876
+ * @default 0
24877
+ */
24878
+ discount_pence: number;
24879
+ /** Discount Label */
24880
+ discount_label?: string | null;
24881
+ /** Renewal Total Pence */
24882
+ renewal_total_pence?: number | null;
24883
+ /** Renewal Note */
24884
+ renewal_note?: string | null;
24885
+ /**
24886
+ * Tax Calculated
24887
+ * @default true
24888
+ */
24889
+ tax_calculated: boolean;
24604
24890
  };
24605
24891
  /** TextFormat */
24606
24892
  TextFormat: {
@@ -27758,6 +28044,41 @@ interface operations {
27758
28044
  };
27759
28045
  };
27760
28046
  };
28047
+ confirm_project_spend_limits: {
28048
+ parameters: {
28049
+ query?: never;
28050
+ header?: never;
28051
+ path: {
28052
+ project_ext_id: string;
28053
+ };
28054
+ cookie?: never;
28055
+ };
28056
+ requestBody: {
28057
+ content: {
28058
+ 'application/json': components$1['schemas']['ProjectSpendLimitsRequest'];
28059
+ };
28060
+ };
28061
+ responses: {
28062
+ /** @description Successful Response */
28063
+ 200: {
28064
+ headers: {
28065
+ [name: string]: unknown;
28066
+ };
28067
+ content: {
28068
+ 'application/json': components$1['schemas']['ProjectResponse'];
28069
+ };
28070
+ };
28071
+ /** @description Validation Error */
28072
+ 422: {
28073
+ headers: {
28074
+ [name: string]: unknown;
28075
+ };
28076
+ content: {
28077
+ 'application/json': components$1['schemas']['HTTPValidationError'];
28078
+ };
28079
+ };
28080
+ };
28081
+ };
27761
28082
  verify_email: {
27762
28083
  parameters: {
27763
28084
  query?: never;
@@ -28742,6 +29063,26 @@ interface operations {
28742
29063
  };
28743
29064
  };
28744
29065
  };
29066
+ get_referral_summary: {
29067
+ parameters: {
29068
+ query?: never;
29069
+ header?: never;
29070
+ path?: never;
29071
+ cookie?: never;
29072
+ };
29073
+ requestBody?: never;
29074
+ responses: {
29075
+ /** @description Successful Response */
29076
+ 200: {
29077
+ headers: {
29078
+ [name: string]: unknown;
29079
+ };
29080
+ content: {
29081
+ 'application/json': components$1['schemas']['ReferralSummaryResponse'];
29082
+ };
29083
+ };
29084
+ };
29085
+ };
28745
29086
  get_firm_pool: {
28746
29087
  parameters: {
28747
29088
  query?: never;
@@ -32972,6 +33313,67 @@ interface operations {
32972
33313
  };
32973
33314
  };
32974
33315
  };
33316
+ list_conversation_people: {
33317
+ parameters: {
33318
+ query?: never;
33319
+ header?: never;
33320
+ path: {
33321
+ conversation_ext_id: string;
33322
+ };
33323
+ cookie?: never;
33324
+ };
33325
+ requestBody?: never;
33326
+ responses: {
33327
+ /** @description Successful Response */
33328
+ 200: {
33329
+ headers: {
33330
+ [name: string]: unknown;
33331
+ };
33332
+ content: {
33333
+ 'application/json': string[];
33334
+ };
33335
+ };
33336
+ /** @description Validation Error */
33337
+ 422: {
33338
+ headers: {
33339
+ [name: string]: unknown;
33340
+ };
33341
+ content: {
33342
+ 'application/json': components$1['schemas']['HTTPValidationError'];
33343
+ };
33344
+ };
33345
+ };
33346
+ };
33347
+ remove_conversation_person: {
33348
+ parameters: {
33349
+ query?: never;
33350
+ header?: never;
33351
+ path: {
33352
+ conversation_ext_id: string;
33353
+ user_ext_id: string;
33354
+ };
33355
+ cookie?: never;
33356
+ };
33357
+ requestBody?: never;
33358
+ responses: {
33359
+ /** @description Successful Response */
33360
+ 204: {
33361
+ headers: {
33362
+ [name: string]: unknown;
33363
+ };
33364
+ content?: never;
33365
+ };
33366
+ /** @description Validation Error */
33367
+ 422: {
33368
+ headers: {
33369
+ [name: string]: unknown;
33370
+ };
33371
+ content: {
33372
+ 'application/json': components$1['schemas']['HTTPValidationError'];
33373
+ };
33374
+ };
33375
+ };
33376
+ };
32975
33377
  notify_conversation_collaborators: {
32976
33378
  parameters: {
32977
33379
  query?: never;
@@ -34697,6 +35099,42 @@ interface operations {
34697
35099
  };
34698
35100
  };
34699
35101
  };
35102
+ share_database_row: {
35103
+ parameters: {
35104
+ query?: never;
35105
+ header?: never;
35106
+ path: {
35107
+ database_id: string;
35108
+ row_id: string;
35109
+ };
35110
+ cookie?: never;
35111
+ };
35112
+ requestBody?: {
35113
+ content: {
35114
+ 'application/json': components$1['schemas']['DatabaseRowShare'];
35115
+ };
35116
+ };
35117
+ responses: {
35118
+ /** @description Successful Response */
35119
+ 200: {
35120
+ headers: {
35121
+ [name: string]: unknown;
35122
+ };
35123
+ content: {
35124
+ 'application/json': components$1['schemas']['DatabaseRowRead'];
35125
+ };
35126
+ };
35127
+ /** @description Validation Error */
35128
+ 422: {
35129
+ headers: {
35130
+ [name: string]: unknown;
35131
+ };
35132
+ content: {
35133
+ 'application/json': components$1['schemas']['HTTPValidationError'];
35134
+ };
35135
+ };
35136
+ };
35137
+ };
34700
35138
  aggregate_database: {
34701
35139
  parameters: {
34702
35140
  query?: never;