@arbidocs/client 0.4.119 → 0.4.121

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 +1037 -386
  2. package/dist/index.d.ts +1037 -386
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -5,6 +5,28 @@ import createFetchClient, { Middleware } from 'openapi-fetch';
5
5
  * Do not make direct changes to the file.
6
6
  */
7
7
  interface paths {
8
+ '/v1/user/entitlements': {
9
+ parameters: {
10
+ query?: never;
11
+ header?: never;
12
+ path?: never;
13
+ cookie?: never;
14
+ };
15
+ /**
16
+ * Get Entitlements
17
+ * @description Native mail, the calendar and hosting calls: on, or off with the reason (``pro_required`` on the hosted
18
+ * service without a Pro project of one's own, ``external_user`` for an external user). Joining calls hosted by
19
+ * others is always allowed and not listed.
20
+ */
21
+ get: operations['get_user_entitlements'];
22
+ put?: never;
23
+ post?: never;
24
+ delete?: never;
25
+ options?: never;
26
+ head?: never;
27
+ patch?: never;
28
+ trace?: never;
29
+ };
8
30
  '/v1/user/projects/': {
9
31
  parameters: {
10
32
  query?: never;
@@ -150,7 +172,8 @@ interface paths {
150
172
  put?: never;
151
173
  /**
152
174
  * Create Project Checkout
153
- * @description Create a Stripe checkout session for this project's Pro plan (monthly or annual).
175
+ * @description Create a Stripe checkout session for this project's Pro plan (monthly or annual), with any add-on blocks
176
+ * picked at purchase (``ai_blocks`` / ``storage_blocks``: on the first invoice, granted once it is paid).
154
177
  */
155
178
  post: operations['create_project_checkout'];
156
179
  delete?: never;
@@ -375,7 +398,7 @@ interface paths {
375
398
  * It grants the whole month's £25 at once, so monthly plans pay the full block price (£25 + VAT);
376
399
  * annual plans pay the discounted monthly rate (£18.75) for each remaining month. A declined
377
400
  * payment grants nothing (402 ``PAYMENT_DECLINED``); 3-D Secure returns ``requires_action`` with
378
- * the hosted invoice to confirm. Refused with 402 ``ADDON_SPEND_CAP`` at the monthly cap.
401
+ * the hosted invoice to confirm. The monthly usage cap limits automatic top-ups only: it never refuses this.
379
402
  */
380
403
  post: operations['add_project_ai_block'];
381
404
  delete?: never;
@@ -399,8 +422,8 @@ interface paths {
399
422
  *
400
423
  * It stays on the subscription and renews each period until reduced.
401
424
  *
402
- * Same outcomes as the AI usage block: ``paid``, ``requires_action`` (3-D Secure) or a
403
- * 402 (``ADDON_SPEND_CAP``, ``PAYMENT_DECLINED``, ...).
425
+ * Same outcomes as the AI usage block: ``paid``, ``requires_action`` (3-D Secure) or a payment 402
426
+ * (``PAYMENT_DECLINED``, ``PAYMENT_METHOD_REQUIRED``, ...). The usage cap never refuses it (automatic only).
404
427
  */
405
428
  post: operations['add_project_storage_block'];
406
429
  delete?: never;
@@ -466,7 +489,11 @@ interface paths {
466
489
  get?: never;
467
490
  /**
468
491
  * Update Project Addon Settings
469
- * @description Set the monthly add-on budget (0 = no add-ons, null = no limit) and the automatic add-on trigger (min £1).
492
+ * @description Set the monthly usage cap for automatic top-ups (0 = none, null = no limit) and/or the automatic AI usage
493
+ * top-up's trigger (min £1). The cap never limits blocks added by hand.
494
+ *
495
+ * A field left out of the request keeps its current value; only an explicit ``"spend_cap_pence": null`` removes
496
+ * the cap.
470
497
  *
471
498
  * Changes apply to future additions only: blocks already added stay (reduce them
472
499
  * from the next period instead), and nothing is refunded.
@@ -879,7 +906,8 @@ interface paths {
879
906
  };
880
907
  /**
881
908
  * Get Me
882
- * @description The signed-in user, with ``can_create_projects`` and ``is_deployment_admin`` (derived on every call).
909
+ * @description The signed-in user, with their type and what it allows (``can_create_projects``, ``can_upgrade_projects``,
910
+ * ``is_billing_manager``, ``is_deployment_admin``; derived on every call).
883
911
  */
884
912
  get: operations['get_current_user'];
885
913
  put?: never;
@@ -1018,7 +1046,8 @@ interface paths {
1018
1046
  };
1019
1047
  /**
1020
1048
  * Get Firm Pool
1021
- * @description The firm's AI usage this month in £ (Box): total, used, remaining, automatic add-ons. Members and admins.
1049
+ * @description The firm's AI usage this month in £ (Box): total, used, remaining, automatic add-ons, plus the storage and
1050
+ * internal users measured on this deployment. Members and admins.
1022
1051
  *
1023
1052
  * Cached for a minute; never on the AI path.
1024
1053
  */
@@ -1054,6 +1083,108 @@ interface paths {
1054
1083
  patch?: never;
1055
1084
  trace?: never;
1056
1085
  };
1086
+ '/v1/billing/projects': {
1087
+ parameters: {
1088
+ query?: never;
1089
+ header?: never;
1090
+ path?: never;
1091
+ cookie?: never;
1092
+ };
1093
+ /**
1094
+ * List Managed Projects
1095
+ * @description Every project on the deployment, newest first, with plan, price, renewal, quotas (AI usage and budget,
1096
+ * storage, collaborators), owner and activity figures, and their totals. Billing managers only.
1097
+ */
1098
+ get: operations['list_managed_projects'];
1099
+ put?: never;
1100
+ post?: never;
1101
+ delete?: never;
1102
+ options?: never;
1103
+ head?: never;
1104
+ patch?: never;
1105
+ trace?: never;
1106
+ };
1107
+ '/v1/billing/projects/{project_ext_id}': {
1108
+ parameters: {
1109
+ query?: never;
1110
+ header?: never;
1111
+ path?: never;
1112
+ cookie?: never;
1113
+ };
1114
+ /**
1115
+ * Get Managed Project
1116
+ * @description One project, with its Stripe billing details (price id, live subscription state). Billing managers only.
1117
+ */
1118
+ get: operations['get_managed_project'];
1119
+ put?: never;
1120
+ post?: never;
1121
+ delete?: never;
1122
+ options?: never;
1123
+ head?: never;
1124
+ patch?: never;
1125
+ trace?: never;
1126
+ };
1127
+ '/v1/billing/projects/{project_ext_id}/usage': {
1128
+ parameters: {
1129
+ query?: never;
1130
+ header?: never;
1131
+ path?: never;
1132
+ cookie?: never;
1133
+ };
1134
+ /**
1135
+ * Get Managed Project Usage
1136
+ * @description A project's AI usage breakdown (by day, workspace, person, instrument, model) for a billing period, as its
1137
+ * owner sees it (``GET /v1/user/projects/{project_ext_id}/usage``). Billing managers only.
1138
+ */
1139
+ get: operations['get_managed_project_usage'];
1140
+ put?: never;
1141
+ post?: never;
1142
+ delete?: never;
1143
+ options?: never;
1144
+ head?: never;
1145
+ patch?: never;
1146
+ trace?: never;
1147
+ };
1148
+ '/v1/billing/projects/{project_ext_id}/usage/conversations': {
1149
+ parameters: {
1150
+ query?: never;
1151
+ header?: never;
1152
+ path?: never;
1153
+ cookie?: never;
1154
+ };
1155
+ /**
1156
+ * Get Managed Project Conversation Usage
1157
+ * @description A project's AI usage by conversation for a billing period. Billing managers only.
1158
+ */
1159
+ get: operations['get_managed_project_conversation_usage'];
1160
+ put?: never;
1161
+ post?: never;
1162
+ delete?: never;
1163
+ options?: never;
1164
+ head?: never;
1165
+ patch?: never;
1166
+ trace?: never;
1167
+ };
1168
+ '/v1/billing/projects/{project_ext_id}/invoices': {
1169
+ parameters: {
1170
+ query?: never;
1171
+ header?: never;
1172
+ path?: never;
1173
+ cookie?: never;
1174
+ };
1175
+ /**
1176
+ * Get Managed Project Invoices
1177
+ * @description A project's Stripe invoices (subscription and add-ons), newest first. Billing managers only.
1178
+ */
1179
+ get: operations['get_managed_project_invoices'];
1180
+ put?: never;
1181
+ post?: never;
1182
+ delete?: never;
1183
+ options?: never;
1184
+ head?: never;
1185
+ patch?: never;
1186
+ trace?: never;
1187
+ };
1057
1188
  '/v1/user/identity': {
1058
1189
  parameters: {
1059
1190
  query?: never;
@@ -1183,7 +1314,7 @@ interface paths {
1183
1314
  * - Only members can see the member list
1184
1315
  *
1185
1316
  * Only users with developer flag can create public workspaces. On a members-only deployment
1186
- * (project creation ``members``, Box) only firm members may create workspaces.
1317
+ * (project creation ``members``, Box) only firm members may create workspaces; external users never do.
1187
1318
  */
1188
1319
  post: operations['create_workspace'];
1189
1320
  delete?: never;
@@ -3386,6 +3517,49 @@ interface paths {
3386
3517
  patch?: never;
3387
3518
  trace?: never;
3388
3519
  };
3520
+ '/v1/deployment/users': {
3521
+ parameters: {
3522
+ query?: never;
3523
+ header?: never;
3524
+ path?: never;
3525
+ cookie?: never;
3526
+ };
3527
+ /**
3528
+ * List Deployment Users
3529
+ * @description The people registered on this deployment (not agents), with their type, by email. Deployment admins only.
3530
+ */
3531
+ get: operations['list_deployment_users'];
3532
+ put?: never;
3533
+ post?: never;
3534
+ delete?: never;
3535
+ options?: never;
3536
+ head?: never;
3537
+ patch?: never;
3538
+ trace?: never;
3539
+ };
3540
+ '/v1/deployment/users/{user_ext_id}/type': {
3541
+ parameters: {
3542
+ query?: never;
3543
+ header?: never;
3544
+ path?: never;
3545
+ cookie?: never;
3546
+ };
3547
+ get?: never;
3548
+ /**
3549
+ * Set Deployment User Type
3550
+ * @description Designate an internal user as a manager, or make them standard again. Deployment admins only.
3551
+ *
3552
+ * 422 for any other type; 404 for an unknown person (agents have their owner's type); 409 for an external user
3553
+ * (the registration whitelist makes people internal), an admin or a blocked account.
3554
+ */
3555
+ put: operations['set_deployment_user_type'];
3556
+ post?: never;
3557
+ delete?: never;
3558
+ options?: never;
3559
+ head?: never;
3560
+ patch?: never;
3561
+ trace?: never;
3562
+ };
3389
3563
  '/v1/tag/': {
3390
3564
  parameters: {
3391
3565
  query?: never;
@@ -5087,6 +5261,50 @@ interface paths {
5087
5261
  patch?: never;
5088
5262
  trace?: never;
5089
5263
  };
5264
+ '/v1/calendar/book/{slug}': {
5265
+ parameters: {
5266
+ query?: never;
5267
+ header?: never;
5268
+ path?: never;
5269
+ cookie?: never;
5270
+ };
5271
+ /**
5272
+ * Public Booking Page
5273
+ * @description PUBLIC. The page and its free slots (UTC) for a duration, from ``start`` for ``days`` days.
5274
+ */
5275
+ get: operations['get_public_booking_page'];
5276
+ put?: never;
5277
+ /**
5278
+ * Book Slot
5279
+ * @description PUBLIC. Book a slot: the owner gets the event (via their encrypted inbox) and the guest a confirmation.
5280
+ */
5281
+ post: operations['book_slot'];
5282
+ delete?: never;
5283
+ options?: never;
5284
+ head?: never;
5285
+ patch?: never;
5286
+ trace?: never;
5287
+ };
5288
+ '/v1/calendar/book/{slug}/cancel': {
5289
+ parameters: {
5290
+ query?: never;
5291
+ header?: never;
5292
+ path?: never;
5293
+ cookie?: never;
5294
+ };
5295
+ get?: never;
5296
+ put?: never;
5297
+ /**
5298
+ * Cancel Booking
5299
+ * @description PUBLIC. Cancel a booking with the private token from its confirmation.
5300
+ */
5301
+ post: operations['cancel_booking'];
5302
+ delete?: never;
5303
+ options?: never;
5304
+ head?: never;
5305
+ patch?: never;
5306
+ trace?: never;
5307
+ };
5090
5308
  '/v1/calendar/settings': {
5091
5309
  parameters: {
5092
5310
  query?: never;
@@ -5787,50 +6005,6 @@ interface paths {
5787
6005
  patch?: never;
5788
6006
  trace?: never;
5789
6007
  };
5790
- '/v1/calendar/book/{slug}': {
5791
- parameters: {
5792
- query?: never;
5793
- header?: never;
5794
- path?: never;
5795
- cookie?: never;
5796
- };
5797
- /**
5798
- * Public Booking Page
5799
- * @description PUBLIC. The page and its free slots (UTC) for a duration, from ``start`` for ``days`` days.
5800
- */
5801
- get: operations['get_public_booking_page'];
5802
- put?: never;
5803
- /**
5804
- * Book Slot
5805
- * @description PUBLIC. Book a slot: the owner gets the event (via their encrypted inbox) and the guest a confirmation.
5806
- */
5807
- post: operations['book_slot'];
5808
- delete?: never;
5809
- options?: never;
5810
- head?: never;
5811
- patch?: never;
5812
- trace?: never;
5813
- };
5814
- '/v1/calendar/book/{slug}/cancel': {
5815
- parameters: {
5816
- query?: never;
5817
- header?: never;
5818
- path?: never;
5819
- cookie?: never;
5820
- };
5821
- get?: never;
5822
- put?: never;
5823
- /**
5824
- * Cancel Booking
5825
- * @description PUBLIC. Cancel a booking with the private token from its confirmation.
5826
- */
5827
- post: operations['cancel_booking'];
5828
- delete?: never;
5829
- options?: never;
5830
- head?: never;
5831
- patch?: never;
5832
- trace?: never;
5833
- };
5834
6008
  '/v1/calendar/accounts/{acc_id}/publish': {
5835
6009
  parameters: {
5836
6010
  query?: never;
@@ -6958,68 +7132,68 @@ interface paths {
6958
7132
  patch?: never;
6959
7133
  trace?: never;
6960
7134
  };
6961
- '/v1/mail/secure/send': {
7135
+ '/v1/mail/secure/{claim_id}': {
6962
7136
  parameters: {
6963
7137
  query?: never;
6964
7138
  header?: never;
6965
7139
  path?: never;
6966
7140
  cookie?: never;
6967
7141
  };
6968
- get?: never;
7142
+ /** Secure Payload */
7143
+ get: operations['secure_payload_v1_mail_secure__claim_id__get'];
6969
7144
  put?: never;
6970
- /** Secure Send */
6971
- post: operations['secure_send_v1_mail_secure_send_post'];
7145
+ post?: never;
6972
7146
  delete?: never;
6973
7147
  options?: never;
6974
7148
  head?: never;
6975
7149
  patch?: never;
6976
7150
  trace?: never;
6977
7151
  };
6978
- '/v1/mail/secure/{claim_id}': {
7152
+ '/v1/mail/secure/{claim_id}/claim': {
6979
7153
  parameters: {
6980
7154
  query?: never;
6981
7155
  header?: never;
6982
7156
  path?: never;
6983
7157
  cookie?: never;
6984
7158
  };
6985
- /** Secure Payload */
6986
- get: operations['secure_payload_v1_mail_secure__claim_id__get'];
7159
+ get?: never;
6987
7160
  put?: never;
6988
- post?: never;
7161
+ /** Secure Claim */
7162
+ post: operations['secure_claim_v1_mail_secure__claim_id__claim_post'];
6989
7163
  delete?: never;
6990
7164
  options?: never;
6991
7165
  head?: never;
6992
7166
  patch?: never;
6993
7167
  trace?: never;
6994
7168
  };
6995
- '/v1/mail/secure/{claim_id}/claim': {
7169
+ '/v1/mail/policy': {
6996
7170
  parameters: {
6997
7171
  query?: never;
6998
7172
  header?: never;
6999
7173
  path?: never;
7000
7174
  cookie?: never;
7001
7175
  };
7002
- get?: never;
7176
+ /** Mail Policy */
7177
+ get: operations['mail_policy_v1_mail_policy_get'];
7003
7178
  put?: never;
7004
- /** Secure Claim */
7005
- post: operations['secure_claim_v1_mail_secure__claim_id__claim_post'];
7179
+ post?: never;
7006
7180
  delete?: never;
7007
7181
  options?: never;
7008
7182
  head?: never;
7009
7183
  patch?: never;
7010
7184
  trace?: never;
7011
7185
  };
7012
- '/v1/mail/policy': {
7186
+ '/v1/mail/secure/send': {
7013
7187
  parameters: {
7014
7188
  query?: never;
7015
7189
  header?: never;
7016
7190
  path?: never;
7017
7191
  cookie?: never;
7018
7192
  };
7019
- /** Mail Policy */
7020
- get: operations['mail_policy_v1_mail_policy_get'];
7193
+ get?: never;
7021
7194
  put?: never;
7022
- post?: never;
7195
+ /** Secure Send */
7196
+ post: operations['secure_send_v1_mail_secure_send_post'];
7023
7197
  delete?: never;
7024
7198
  options?: never;
7025
7199
  head?: never;
@@ -12759,6 +12933,18 @@ interface components {
12759
12933
  * @default false
12760
12934
  */
12761
12935
  is_deployment_admin: boolean;
12936
+ /** @default standard */
12937
+ user_type: components['schemas']['UserRole'];
12938
+ /**
12939
+ * Can Upgrade Projects
12940
+ * @default true
12941
+ */
12942
+ can_upgrade_projects: boolean;
12943
+ /**
12944
+ * Is Billing Manager
12945
+ * @default false
12946
+ */
12947
+ is_billing_manager: boolean;
12762
12948
  };
12763
12949
  /**
12764
12950
  * DailyUsage
@@ -13295,6 +13481,18 @@ interface components {
13295
13481
  /** External Ids */
13296
13482
  external_ids: string[];
13297
13483
  };
13484
+ /** DeploymentUserResponse */
13485
+ DeploymentUserResponse: {
13486
+ /** External Id */
13487
+ external_id: string;
13488
+ /** Email */
13489
+ email: string;
13490
+ /** Given Name */
13491
+ given_name: string;
13492
+ /** Family Name */
13493
+ family_name?: string | null;
13494
+ user_type: components['schemas']['UserRole'];
13495
+ };
13298
13496
  /**
13299
13497
  * DerivedFrom
13300
13498
  * @description One provenance link of a document: it was made from version ``version`` of
@@ -14401,6 +14599,22 @@ interface components {
14401
14599
  */
14402
14600
  fact_ext_ids: string[];
14403
14601
  };
14602
+ /**
14603
+ * FeatureEntitlements
14604
+ * @description What the signed-in person may use. ``reason`` says why the features are off (None when they are on):
14605
+ * ``pro_required`` (hosted service: upgrade a project to Pro), ``external_user`` (an external user of a Box or the
14606
+ * hosted service), ``not_entitled`` (a blocked account).
14607
+ */
14608
+ FeatureEntitlements: {
14609
+ /** Mail */
14610
+ mail: boolean;
14611
+ /** Calendar */
14612
+ calendar: boolean;
14613
+ /** Host Calls */
14614
+ host_calls: boolean;
14615
+ /** Reason */
14616
+ reason?: ('pro_required' | 'external_user' | 'not_entitled') | null;
14617
+ };
14404
14618
  /** FeedCreate */
14405
14619
  FeedCreate: {
14406
14620
  /** Calendar Id */
@@ -14730,6 +14944,10 @@ interface components {
14730
14944
  * @default false
14731
14945
  */
14732
14946
  can_top_up: boolean;
14947
+ /** Storage Used Gb */
14948
+ storage_used_gb?: number | null;
14949
+ /** Internal Users */
14950
+ internal_users?: number | null;
14733
14951
  };
14734
14952
  /** FirmPoolTopUpRequest */
14735
14953
  FirmPoolTopUpRequest: {
@@ -15982,6 +16200,136 @@ interface components {
15982
16200
  /** Last Sync At */
15983
16201
  last_sync_at?: string | null;
15984
16202
  };
16203
+ /**
16204
+ * ManagedProjectOwner
16205
+ * @description The owner of a project, as a billing manager sees them.
16206
+ */
16207
+ ManagedProjectOwner: {
16208
+ /** External Id */
16209
+ external_id: string;
16210
+ /** Email */
16211
+ email?: string | null;
16212
+ /** Given Name */
16213
+ given_name?: string | null;
16214
+ /** Family Name */
16215
+ family_name?: string | null;
16216
+ /** User Type */
16217
+ user_type?: string | null;
16218
+ };
16219
+ /**
16220
+ * ManagedProjectResponse
16221
+ * @description One project of the deployment for a billing manager (``/v1/billing/projects``): the owner's full view of it
16222
+ * (plan, price, renewal, quotas with AI usage from the AI proxy), its owner and its activity figures.
16223
+ */
16224
+ ManagedProjectResponse: {
16225
+ project: components['schemas']['ProjectResponse'];
16226
+ owner?: components['schemas']['ManagedProjectOwner'] | null;
16227
+ /**
16228
+ * Workspace Count
16229
+ * @default 0
16230
+ */
16231
+ workspace_count: number;
16232
+ /**
16233
+ * Member Count
16234
+ * @default 0
16235
+ */
16236
+ member_count: number;
16237
+ /**
16238
+ * Guest Count
16239
+ * @default 0
16240
+ */
16241
+ guest_count: number;
16242
+ /**
16243
+ * Document Count
16244
+ * @default 0
16245
+ */
16246
+ document_count: number;
16247
+ /**
16248
+ * Conversation Count
16249
+ * @default 0
16250
+ */
16251
+ conversation_count: number;
16252
+ };
16253
+ /**
16254
+ * ManagedProjectsResponse
16255
+ * @description ``GET /v1/billing/projects``: every project on the deployment with billing and usage, and their totals.
16256
+ */
16257
+ ManagedProjectsResponse: {
16258
+ /** Projects */
16259
+ projects: components['schemas']['ManagedProjectResponse'][];
16260
+ totals: components['schemas']['ManagedProjectsTotals'];
16261
+ };
16262
+ /**
16263
+ * ManagedProjectsTotals
16264
+ * @description Deployment-wide sums over the listed projects. AI figures in £; ``recurring_*`` in pence a month (an annual
16265
+ * plan counts a twelfth of its price).
16266
+ */
16267
+ ManagedProjectsTotals: {
16268
+ /**
16269
+ * Project Count
16270
+ * @default 0
16271
+ */
16272
+ project_count: number;
16273
+ /** By Subscription */
16274
+ by_subscription?: {
16275
+ [key: string]: number;
16276
+ };
16277
+ /**
16278
+ * Pro Count
16279
+ * @default 0
16280
+ */
16281
+ pro_count: number;
16282
+ /**
16283
+ * Ai Used Gbp
16284
+ * @default 0
16285
+ */
16286
+ ai_used_gbp: number;
16287
+ /**
16288
+ * Ai Limit Gbp
16289
+ * @default 0
16290
+ */
16291
+ ai_limit_gbp: number;
16292
+ /**
16293
+ * Storage Used Gb
16294
+ * @default 0
16295
+ */
16296
+ storage_used_gb: number;
16297
+ /**
16298
+ * Workspace Count
16299
+ * @default 0
16300
+ */
16301
+ workspace_count: number;
16302
+ /**
16303
+ * Member Count
16304
+ * @default 0
16305
+ */
16306
+ member_count: number;
16307
+ /**
16308
+ * Guest Count
16309
+ * @default 0
16310
+ */
16311
+ guest_count: number;
16312
+ /**
16313
+ * Document Count
16314
+ * @default 0
16315
+ */
16316
+ document_count: number;
16317
+ /**
16318
+ * Conversation Count
16319
+ * @default 0
16320
+ */
16321
+ conversation_count: number;
16322
+ /**
16323
+ * Recurring Amount
16324
+ * @default 0
16325
+ */
16326
+ recurring_amount: number;
16327
+ /**
16328
+ * Recurring Amount Ex Vat
16329
+ * @default 0
16330
+ */
16331
+ recurring_amount_ex_vat: number;
16332
+ };
15985
16333
  /** MarkChatReadRequest */
15986
16334
  MarkChatReadRequest: {
15987
16335
  /** At */
@@ -16676,7 +17024,7 @@ interface components {
16676
17024
  * Type is self-descriptive, no need to parse content field.
16677
17025
  * @enum {string}
16678
17026
  */
16679
- 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' | 'native_mail_received' | 'mail_draft_ready' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'docx_mention' | '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' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
17027
+ 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' | 'native_mail_received' | 'mail_draft_ready' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'docx_mention' | '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' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
16680
17028
  /**
16681
17029
  * NotificationUpdate
16682
17030
  * @description Single notification update for bulk PATCH.
@@ -17426,10 +17774,11 @@ interface components {
17426
17774
  };
17427
17775
  /**
17428
17776
  * ProjectAddonSettingsRequest
17429
- * @description The monthly add-on budget (the only add-on setting) and the automatic AI usage add-on's trigger.
17777
+ * @description The monthly usage cap (the only add-on setting) and the automatic AI usage add-on's trigger.
17430
17778
  *
17431
- * Automatic add-ons are always on within the budget; ``spend_cap_pence`` = 0 turns add-ons off entirely
17432
- * (automatic and manual); null = no limit.
17779
+ * The cap limits AUTOMATIC top-ups only (AI threshold / mid-answer top-ups, upload-driven storage); adding a
17780
+ * block by hand is never refused by it. ``spend_cap_pence`` = 0 turns automatic top-ups off; an explicit null =
17781
+ * no limit. A field left out keeps its current value.
17433
17782
  */
17434
17783
  ProjectAddonSettingsRequest: {
17435
17784
  /** Spend Cap Pence */
@@ -17531,8 +17880,50 @@ interface components {
17531
17880
  * @default 0
17532
17881
  */
17533
17882
  addon_spend_pence: number;
17883
+ /**
17884
+ * Auto Spent Pence
17885
+ * @default 0
17886
+ */
17887
+ auto_spent_pence: number;
17534
17888
  /** Addon Spend Window End */
17535
17889
  addon_spend_window_end?: number | null;
17890
+ /**
17891
+ * Manual Spent Pence
17892
+ * @default 0
17893
+ */
17894
+ manual_spent_pence: number;
17895
+ /** Cap Left Pence */
17896
+ cap_left_pence?: number | null;
17897
+ /**
17898
+ * Ai Used Gbp
17899
+ * @default 0
17900
+ */
17901
+ ai_used_gbp: number;
17902
+ /**
17903
+ * Ai Allowance Gbp
17904
+ * @default 0
17905
+ */
17906
+ ai_allowance_gbp: number;
17907
+ /**
17908
+ * Ai Allowance Next Gbp
17909
+ * @default 0
17910
+ */
17911
+ ai_allowance_next_gbp: number;
17912
+ /**
17913
+ * Storage Used Gb
17914
+ * @default 0
17915
+ */
17916
+ storage_used_gb: number;
17917
+ /**
17918
+ * Storage Allowance Gb
17919
+ * @default 0
17920
+ */
17921
+ storage_allowance_gb: number;
17922
+ /**
17923
+ * Storage Allowance Next Gb
17924
+ * @default 0
17925
+ */
17926
+ storage_allowance_next_gb: number;
17536
17927
  /** Ai Block Monthly Pence */
17537
17928
  ai_block_monthly_pence: number;
17538
17929
  /** Ai Block Monthly Ex Vat Pence */
@@ -17590,6 +17981,10 @@ interface components {
17590
17981
  /**
17591
17982
  * ProjectCheckoutRequest
17592
17983
  * @description Create a Stripe checkout session for this project's Pro plan: one licence (``packs`` must be 1).
17984
+ *
17985
+ * ``ai_blocks`` / ``storage_blocks``: add-on blocks (+£25 of AI usage a month / +25 GB each) bought with the plan.
17986
+ * They are line items on the first invoice at the add-on prices of the plan's interval, granted once it is paid,
17987
+ * and renew with the plan until reduced, like any block.
17593
17988
  */
17594
17989
  ProjectCheckoutRequest: {
17595
17990
  /**
@@ -17603,6 +17998,16 @@ interface components {
17603
17998
  * @default 1
17604
17999
  */
17605
18000
  packs: number;
18001
+ /**
18002
+ * Ai Blocks
18003
+ * @default 0
18004
+ */
18005
+ ai_blocks: number;
18006
+ /**
18007
+ * Storage Blocks
18008
+ * @default 0
18009
+ */
18010
+ storage_blocks: number;
17606
18011
  /** Addon Budget Pence */
17607
18012
  addon_budget_pence?: number | null;
17608
18013
  /** Billing Country */
@@ -19792,6 +20197,10 @@ interface components {
19792
20197
  /** Auto Sync Workspace Ext Id */
19793
20198
  auto_sync_workspace_ext_id?: string | null;
19794
20199
  };
20200
+ /** SetUserTypeRequest */
20201
+ SetUserTypeRequest: {
20202
+ user_type: components['schemas']['UserRole'];
20203
+ };
19795
20204
  /** ShareRead */
19796
20205
  ShareRead: {
19797
20206
  /** User Id */
@@ -22205,6 +22614,11 @@ interface components {
22205
22614
  */
22206
22615
  is_identity_verified: boolean;
22207
22616
  };
22617
+ /**
22618
+ * UserRole
22619
+ * @enum {string}
22620
+ */
22621
+ UserRole: 'standard' | 'admin' | 'blocked' | 'external' | 'manager';
22208
22622
  /**
22209
22623
  * UserSettingsResponse
22210
22624
  * @description User settings response.
@@ -23291,6 +23705,26 @@ interface components {
23291
23705
  }
23292
23706
  type $defs = Record<string, never>;
23293
23707
  interface operations {
23708
+ get_user_entitlements: {
23709
+ parameters: {
23710
+ query?: never;
23711
+ header?: never;
23712
+ path?: never;
23713
+ cookie?: never;
23714
+ };
23715
+ requestBody?: never;
23716
+ responses: {
23717
+ /** @description Successful Response */
23718
+ 200: {
23719
+ headers: {
23720
+ [name: string]: unknown;
23721
+ };
23722
+ content: {
23723
+ 'application/json': components['schemas']['FeatureEntitlements'];
23724
+ };
23725
+ };
23726
+ };
23727
+ };
23294
23728
  list_projects: {
23295
23729
  parameters: {
23296
23730
  query?: {
@@ -24796,6 +25230,156 @@ interface operations {
24796
25230
  };
24797
25231
  };
24798
25232
  };
25233
+ list_managed_projects: {
25234
+ parameters: {
25235
+ query?: never;
25236
+ header?: never;
25237
+ path?: never;
25238
+ cookie?: never;
25239
+ };
25240
+ requestBody?: never;
25241
+ responses: {
25242
+ /** @description Successful Response */
25243
+ 200: {
25244
+ headers: {
25245
+ [name: string]: unknown;
25246
+ };
25247
+ content: {
25248
+ 'application/json': components['schemas']['ManagedProjectsResponse'];
25249
+ };
25250
+ };
25251
+ };
25252
+ };
25253
+ get_managed_project: {
25254
+ parameters: {
25255
+ query?: never;
25256
+ header?: never;
25257
+ path: {
25258
+ project_ext_id: string;
25259
+ };
25260
+ cookie?: never;
25261
+ };
25262
+ requestBody?: never;
25263
+ responses: {
25264
+ /** @description Successful Response */
25265
+ 200: {
25266
+ headers: {
25267
+ [name: string]: unknown;
25268
+ };
25269
+ content: {
25270
+ 'application/json': components['schemas']['ManagedProjectResponse'];
25271
+ };
25272
+ };
25273
+ /** @description Validation Error */
25274
+ 422: {
25275
+ headers: {
25276
+ [name: string]: unknown;
25277
+ };
25278
+ content: {
25279
+ 'application/json': components['schemas']['HTTPValidationError'];
25280
+ };
25281
+ };
25282
+ };
25283
+ };
25284
+ get_managed_project_usage: {
25285
+ parameters: {
25286
+ query?: {
25287
+ /** @description 0 = current billing period, 1 = previous month, etc. */
25288
+ months_back?: number;
25289
+ };
25290
+ header?: never;
25291
+ path: {
25292
+ project_ext_id: string;
25293
+ };
25294
+ cookie?: never;
25295
+ };
25296
+ requestBody?: never;
25297
+ responses: {
25298
+ /** @description Successful Response */
25299
+ 200: {
25300
+ headers: {
25301
+ [name: string]: unknown;
25302
+ };
25303
+ content: {
25304
+ 'application/json': components['schemas']['ProjectUsageResponse'];
25305
+ };
25306
+ };
25307
+ /** @description Validation Error */
25308
+ 422: {
25309
+ headers: {
25310
+ [name: string]: unknown;
25311
+ };
25312
+ content: {
25313
+ 'application/json': components['schemas']['HTTPValidationError'];
25314
+ };
25315
+ };
25316
+ };
25317
+ };
25318
+ get_managed_project_conversation_usage: {
25319
+ parameters: {
25320
+ query?: {
25321
+ /** @description 0 = current billing period, 1 = previous month, etc. */
25322
+ months_back?: number;
25323
+ };
25324
+ header?: never;
25325
+ path: {
25326
+ project_ext_id: string;
25327
+ };
25328
+ cookie?: never;
25329
+ };
25330
+ requestBody?: never;
25331
+ responses: {
25332
+ /** @description Successful Response */
25333
+ 200: {
25334
+ headers: {
25335
+ [name: string]: unknown;
25336
+ };
25337
+ content: {
25338
+ 'application/json': components['schemas']['ProjectConversationUsageResponse'];
25339
+ };
25340
+ };
25341
+ /** @description Validation Error */
25342
+ 422: {
25343
+ headers: {
25344
+ [name: string]: unknown;
25345
+ };
25346
+ content: {
25347
+ 'application/json': components['schemas']['HTTPValidationError'];
25348
+ };
25349
+ };
25350
+ };
25351
+ };
25352
+ get_managed_project_invoices: {
25353
+ parameters: {
25354
+ query?: never;
25355
+ header?: never;
25356
+ path: {
25357
+ project_ext_id: string;
25358
+ };
25359
+ cookie?: never;
25360
+ };
25361
+ requestBody?: never;
25362
+ responses: {
25363
+ /** @description Successful Response */
25364
+ 200: {
25365
+ headers: {
25366
+ [name: string]: unknown;
25367
+ };
25368
+ content: {
25369
+ 'application/json': components['schemas']['ProjectInvoicesResponse'];
25370
+ };
25371
+ };
25372
+ /** @description Validation Error */
25373
+ 422: {
25374
+ headers: {
25375
+ [name: string]: unknown;
25376
+ };
25377
+ content: {
25378
+ 'application/json': components['schemas']['HTTPValidationError'];
25379
+ };
25380
+ };
25381
+ };
25382
+ };
24799
25383
  get_identity_verification: {
24800
25384
  parameters: {
24801
25385
  query?: never;
@@ -28274,6 +28858,73 @@ interface operations {
28274
28858
  };
28275
28859
  };
28276
28860
  };
28861
+ list_deployment_users: {
28862
+ parameters: {
28863
+ query?: {
28864
+ /** @description Only people of this type */
28865
+ user_type?: components['schemas']['UserRole'] | null;
28866
+ };
28867
+ header?: never;
28868
+ path?: never;
28869
+ cookie?: never;
28870
+ };
28871
+ requestBody?: never;
28872
+ responses: {
28873
+ /** @description Successful Response */
28874
+ 200: {
28875
+ headers: {
28876
+ [name: string]: unknown;
28877
+ };
28878
+ content: {
28879
+ 'application/json': components['schemas']['DeploymentUserResponse'][];
28880
+ };
28881
+ };
28882
+ /** @description Validation Error */
28883
+ 422: {
28884
+ headers: {
28885
+ [name: string]: unknown;
28886
+ };
28887
+ content: {
28888
+ 'application/json': components['schemas']['HTTPValidationError'];
28889
+ };
28890
+ };
28891
+ };
28892
+ };
28893
+ set_deployment_user_type: {
28894
+ parameters: {
28895
+ query?: never;
28896
+ header?: never;
28897
+ path: {
28898
+ user_ext_id: string;
28899
+ };
28900
+ cookie?: never;
28901
+ };
28902
+ requestBody: {
28903
+ content: {
28904
+ 'application/json': components['schemas']['SetUserTypeRequest'];
28905
+ };
28906
+ };
28907
+ responses: {
28908
+ /** @description Successful Response */
28909
+ 200: {
28910
+ headers: {
28911
+ [name: string]: unknown;
28912
+ };
28913
+ content: {
28914
+ 'application/json': components['schemas']['DeploymentUserResponse'];
28915
+ };
28916
+ };
28917
+ /** @description Validation Error */
28918
+ 422: {
28919
+ headers: {
28920
+ [name: string]: unknown;
28921
+ };
28922
+ content: {
28923
+ 'application/json': components['schemas']['HTTPValidationError'];
28924
+ };
28925
+ };
28926
+ };
28927
+ };
28277
28928
  list_tags: {
28278
28929
  parameters: {
28279
28930
  query?: {
@@ -31473,6 +32124,107 @@ interface operations {
31473
32124
  };
31474
32125
  };
31475
32126
  };
32127
+ get_public_booking_page: {
32128
+ parameters: {
32129
+ query?: {
32130
+ duration?: number | null;
32131
+ start?: string | null;
32132
+ days?: number;
32133
+ };
32134
+ header?: never;
32135
+ path: {
32136
+ slug: string;
32137
+ };
32138
+ cookie?: never;
32139
+ };
32140
+ requestBody?: never;
32141
+ responses: {
32142
+ /** @description Successful Response */
32143
+ 200: {
32144
+ headers: {
32145
+ [name: string]: unknown;
32146
+ };
32147
+ content: {
32148
+ 'application/json': components['schemas']['PublicBookingPage'];
32149
+ };
32150
+ };
32151
+ /** @description Validation Error */
32152
+ 422: {
32153
+ headers: {
32154
+ [name: string]: unknown;
32155
+ };
32156
+ content: {
32157
+ 'application/json': components['schemas']['HTTPValidationError'];
32158
+ };
32159
+ };
32160
+ };
32161
+ };
32162
+ book_slot: {
32163
+ parameters: {
32164
+ query?: never;
32165
+ header?: never;
32166
+ path: {
32167
+ slug: string;
32168
+ };
32169
+ cookie?: never;
32170
+ };
32171
+ requestBody: {
32172
+ content: {
32173
+ 'application/json': components['schemas']['BookingRequest'];
32174
+ };
32175
+ };
32176
+ responses: {
32177
+ /** @description Successful Response */
32178
+ 200: {
32179
+ headers: {
32180
+ [name: string]: unknown;
32181
+ };
32182
+ content: {
32183
+ 'application/json': components['schemas']['BookingConfirmation'];
32184
+ };
32185
+ };
32186
+ /** @description Validation Error */
32187
+ 422: {
32188
+ headers: {
32189
+ [name: string]: unknown;
32190
+ };
32191
+ content: {
32192
+ 'application/json': components['schemas']['HTTPValidationError'];
32193
+ };
32194
+ };
32195
+ };
32196
+ };
32197
+ cancel_booking: {
32198
+ parameters: {
32199
+ query: {
32200
+ token: string;
32201
+ };
32202
+ header?: never;
32203
+ path: {
32204
+ slug: string;
32205
+ };
32206
+ cookie?: never;
32207
+ };
32208
+ requestBody?: never;
32209
+ responses: {
32210
+ /** @description Successful Response */
32211
+ 204: {
32212
+ headers: {
32213
+ [name: string]: unknown;
32214
+ };
32215
+ content?: never;
32216
+ };
32217
+ /** @description Validation Error */
32218
+ 422: {
32219
+ headers: {
32220
+ [name: string]: unknown;
32221
+ };
32222
+ content: {
32223
+ 'application/json': components['schemas']['HTTPValidationError'];
32224
+ };
32225
+ };
32226
+ };
32227
+ };
31476
32228
  get_calendar_settings: {
31477
32229
  parameters: {
31478
32230
  query?: never;
@@ -32644,283 +33396,47 @@ interface operations {
32644
33396
  };
32645
33397
  };
32646
33398
  };
32647
- update_calendar_account: {
32648
- parameters: {
32649
- query?: never;
32650
- header?: never;
32651
- path: {
32652
- acc_id: string;
32653
- };
32654
- cookie?: never;
32655
- };
32656
- requestBody: {
32657
- content: {
32658
- 'application/json': components['schemas']['AccountUpdate'];
32659
- };
32660
- };
32661
- responses: {
32662
- /** @description Successful Response */
32663
- 200: {
32664
- headers: {
32665
- [name: string]: unknown;
32666
- };
32667
- content: {
32668
- 'application/json': components['schemas']['AccountRead'];
32669
- };
32670
- };
32671
- /** @description Validation Error */
32672
- 422: {
32673
- headers: {
32674
- [name: string]: unknown;
32675
- };
32676
- content: {
32677
- 'application/json': components['schemas']['HTTPValidationError'];
32678
- };
32679
- };
32680
- };
32681
- };
32682
- sync_calendar_account: {
32683
- parameters: {
32684
- query?: never;
32685
- header?: never;
32686
- path: {
32687
- acc_id: string;
32688
- };
32689
- cookie?: never;
32690
- };
32691
- requestBody?: never;
32692
- responses: {
32693
- /** @description Successful Response */
32694
- 200: {
32695
- headers: {
32696
- [name: string]: unknown;
32697
- };
32698
- content: {
32699
- 'application/json': {
32700
- [key: string]: unknown;
32701
- };
32702
- };
32703
- };
32704
- /** @description Validation Error */
32705
- 422: {
32706
- headers: {
32707
- [name: string]: unknown;
32708
- };
32709
- content: {
32710
- 'application/json': components['schemas']['HTTPValidationError'];
32711
- };
32712
- };
32713
- };
32714
- };
32715
- list_calendar_app_passwords: {
32716
- parameters: {
32717
- query?: never;
32718
- header?: never;
32719
- path?: never;
32720
- cookie?: never;
32721
- };
32722
- requestBody?: never;
32723
- responses: {
32724
- /** @description Successful Response */
32725
- 200: {
32726
- headers: {
32727
- [name: string]: unknown;
32728
- };
32729
- content: {
32730
- 'application/json': components['schemas']['AppPasswordRead'][];
32731
- };
32732
- };
32733
- };
32734
- };
32735
- create_calendar_app_password: {
32736
- parameters: {
32737
- query?: never;
32738
- header?: never;
32739
- path?: never;
32740
- cookie?: never;
32741
- };
32742
- requestBody: {
32743
- content: {
32744
- 'application/json': components['schemas']['AppPasswordCreate'];
32745
- };
32746
- };
32747
- responses: {
32748
- /** @description Successful Response */
32749
- 200: {
32750
- headers: {
32751
- [name: string]: unknown;
32752
- };
32753
- content: {
32754
- 'application/json': components['schemas']['AppPasswordCreated'];
32755
- };
32756
- };
32757
- /** @description Validation Error */
32758
- 422: {
32759
- headers: {
32760
- [name: string]: unknown;
32761
- };
32762
- content: {
32763
- 'application/json': components['schemas']['HTTPValidationError'];
32764
- };
32765
- };
32766
- };
32767
- };
32768
- create_calendar_feed: {
32769
- parameters: {
32770
- query?: never;
32771
- header?: never;
32772
- path?: never;
32773
- cookie?: never;
32774
- };
32775
- requestBody: {
32776
- content: {
32777
- 'application/json': components['schemas']['FeedCreate'];
32778
- };
32779
- };
32780
- responses: {
32781
- /** @description Successful Response */
32782
- 200: {
32783
- headers: {
32784
- [name: string]: unknown;
32785
- };
32786
- content: {
32787
- 'application/json': components['schemas']['AppPasswordCreated'];
32788
- };
32789
- };
32790
- /** @description Validation Error */
32791
- 422: {
32792
- headers: {
32793
- [name: string]: unknown;
32794
- };
32795
- content: {
32796
- 'application/json': components['schemas']['HTTPValidationError'];
32797
- };
32798
- };
32799
- };
32800
- };
32801
- revoke_calendar_app_password: {
32802
- parameters: {
32803
- query?: never;
32804
- header?: never;
32805
- path: {
32806
- apw_id: string;
32807
- };
32808
- cookie?: never;
32809
- };
32810
- requestBody?: never;
32811
- responses: {
32812
- /** @description Successful Response */
32813
- 204: {
32814
- headers: {
32815
- [name: string]: unknown;
32816
- };
32817
- content?: never;
32818
- };
32819
- /** @description Validation Error */
32820
- 422: {
32821
- headers: {
32822
- [name: string]: unknown;
32823
- };
32824
- content: {
32825
- 'application/json': components['schemas']['HTTPValidationError'];
32826
- };
32827
- };
32828
- };
32829
- };
32830
- list_booking_pages: {
32831
- parameters: {
32832
- query?: never;
32833
- header?: never;
32834
- path?: never;
32835
- cookie?: never;
32836
- };
32837
- requestBody?: never;
32838
- responses: {
32839
- /** @description Successful Response */
32840
- 200: {
32841
- headers: {
32842
- [name: string]: unknown;
32843
- };
32844
- content: {
32845
- 'application/json': components['schemas']['BookingPageRead'][];
32846
- };
32847
- };
32848
- };
32849
- };
32850
- put_booking_page: {
32851
- parameters: {
32852
- query?: never;
32853
- header?: never;
32854
- path: {
32855
- slug: string;
32856
- };
32857
- cookie?: never;
32858
- };
32859
- requestBody: {
32860
- content: {
32861
- 'application/json': components['schemas']['BookingPageWrite'];
32862
- };
32863
- };
32864
- responses: {
32865
- /** @description Successful Response */
32866
- 200: {
32867
- headers: {
32868
- [name: string]: unknown;
32869
- };
32870
- content: {
32871
- 'application/json': components['schemas']['BookingPageRead'];
32872
- };
32873
- };
32874
- /** @description Validation Error */
32875
- 422: {
32876
- headers: {
32877
- [name: string]: unknown;
32878
- };
32879
- content: {
32880
- 'application/json': components['schemas']['HTTPValidationError'];
32881
- };
32882
- };
32883
- };
32884
- };
32885
- delete_booking_page: {
32886
- parameters: {
32887
- query?: never;
32888
- header?: never;
32889
- path: {
32890
- slug: string;
32891
- };
32892
- cookie?: never;
32893
- };
32894
- requestBody?: never;
32895
- responses: {
32896
- /** @description Successful Response */
32897
- 204: {
32898
- headers: {
32899
- [name: string]: unknown;
32900
- };
32901
- content?: never;
32902
- };
32903
- /** @description Validation Error */
32904
- 422: {
32905
- headers: {
32906
- [name: string]: unknown;
32907
- };
32908
- content: {
32909
- 'application/json': components['schemas']['HTTPValidationError'];
32910
- };
32911
- };
32912
- };
32913
- };
32914
- get_public_booking_page: {
33399
+ update_calendar_account: {
32915
33400
  parameters: {
32916
- query?: {
32917
- duration?: number | null;
32918
- start?: string | null;
32919
- days?: number;
33401
+ query?: never;
33402
+ header?: never;
33403
+ path: {
33404
+ acc_id: string;
33405
+ };
33406
+ cookie?: never;
33407
+ };
33408
+ requestBody: {
33409
+ content: {
33410
+ 'application/json': components['schemas']['AccountUpdate'];
32920
33411
  };
33412
+ };
33413
+ responses: {
33414
+ /** @description Successful Response */
33415
+ 200: {
33416
+ headers: {
33417
+ [name: string]: unknown;
33418
+ };
33419
+ content: {
33420
+ 'application/json': components['schemas']['AccountRead'];
33421
+ };
33422
+ };
33423
+ /** @description Validation Error */
33424
+ 422: {
33425
+ headers: {
33426
+ [name: string]: unknown;
33427
+ };
33428
+ content: {
33429
+ 'application/json': components['schemas']['HTTPValidationError'];
33430
+ };
33431
+ };
33432
+ };
33433
+ };
33434
+ sync_calendar_account: {
33435
+ parameters: {
33436
+ query?: never;
32921
33437
  header?: never;
32922
33438
  path: {
32923
- slug: string;
33439
+ acc_id: string;
32924
33440
  };
32925
33441
  cookie?: never;
32926
33442
  };
@@ -32932,7 +33448,9 @@ interface operations {
32932
33448
  [name: string]: unknown;
32933
33449
  };
32934
33450
  content: {
32935
- 'application/json': components['schemas']['PublicBookingPage'];
33451
+ 'application/json': {
33452
+ [key: string]: unknown;
33453
+ };
32936
33454
  };
32937
33455
  };
32938
33456
  /** @description Validation Error */
@@ -32946,7 +33464,142 @@ interface operations {
32946
33464
  };
32947
33465
  };
32948
33466
  };
32949
- book_slot: {
33467
+ list_calendar_app_passwords: {
33468
+ parameters: {
33469
+ query?: never;
33470
+ header?: never;
33471
+ path?: never;
33472
+ cookie?: never;
33473
+ };
33474
+ requestBody?: never;
33475
+ responses: {
33476
+ /** @description Successful Response */
33477
+ 200: {
33478
+ headers: {
33479
+ [name: string]: unknown;
33480
+ };
33481
+ content: {
33482
+ 'application/json': components['schemas']['AppPasswordRead'][];
33483
+ };
33484
+ };
33485
+ };
33486
+ };
33487
+ create_calendar_app_password: {
33488
+ parameters: {
33489
+ query?: never;
33490
+ header?: never;
33491
+ path?: never;
33492
+ cookie?: never;
33493
+ };
33494
+ requestBody: {
33495
+ content: {
33496
+ 'application/json': components['schemas']['AppPasswordCreate'];
33497
+ };
33498
+ };
33499
+ responses: {
33500
+ /** @description Successful Response */
33501
+ 200: {
33502
+ headers: {
33503
+ [name: string]: unknown;
33504
+ };
33505
+ content: {
33506
+ 'application/json': components['schemas']['AppPasswordCreated'];
33507
+ };
33508
+ };
33509
+ /** @description Validation Error */
33510
+ 422: {
33511
+ headers: {
33512
+ [name: string]: unknown;
33513
+ };
33514
+ content: {
33515
+ 'application/json': components['schemas']['HTTPValidationError'];
33516
+ };
33517
+ };
33518
+ };
33519
+ };
33520
+ create_calendar_feed: {
33521
+ parameters: {
33522
+ query?: never;
33523
+ header?: never;
33524
+ path?: never;
33525
+ cookie?: never;
33526
+ };
33527
+ requestBody: {
33528
+ content: {
33529
+ 'application/json': components['schemas']['FeedCreate'];
33530
+ };
33531
+ };
33532
+ responses: {
33533
+ /** @description Successful Response */
33534
+ 200: {
33535
+ headers: {
33536
+ [name: string]: unknown;
33537
+ };
33538
+ content: {
33539
+ 'application/json': components['schemas']['AppPasswordCreated'];
33540
+ };
33541
+ };
33542
+ /** @description Validation Error */
33543
+ 422: {
33544
+ headers: {
33545
+ [name: string]: unknown;
33546
+ };
33547
+ content: {
33548
+ 'application/json': components['schemas']['HTTPValidationError'];
33549
+ };
33550
+ };
33551
+ };
33552
+ };
33553
+ revoke_calendar_app_password: {
33554
+ parameters: {
33555
+ query?: never;
33556
+ header?: never;
33557
+ path: {
33558
+ apw_id: string;
33559
+ };
33560
+ cookie?: never;
33561
+ };
33562
+ requestBody?: never;
33563
+ responses: {
33564
+ /** @description Successful Response */
33565
+ 204: {
33566
+ headers: {
33567
+ [name: string]: unknown;
33568
+ };
33569
+ content?: never;
33570
+ };
33571
+ /** @description Validation Error */
33572
+ 422: {
33573
+ headers: {
33574
+ [name: string]: unknown;
33575
+ };
33576
+ content: {
33577
+ 'application/json': components['schemas']['HTTPValidationError'];
33578
+ };
33579
+ };
33580
+ };
33581
+ };
33582
+ list_booking_pages: {
33583
+ parameters: {
33584
+ query?: never;
33585
+ header?: never;
33586
+ path?: never;
33587
+ cookie?: never;
33588
+ };
33589
+ requestBody?: never;
33590
+ responses: {
33591
+ /** @description Successful Response */
33592
+ 200: {
33593
+ headers: {
33594
+ [name: string]: unknown;
33595
+ };
33596
+ content: {
33597
+ 'application/json': components['schemas']['BookingPageRead'][];
33598
+ };
33599
+ };
33600
+ };
33601
+ };
33602
+ put_booking_page: {
32950
33603
  parameters: {
32951
33604
  query?: never;
32952
33605
  header?: never;
@@ -32957,7 +33610,7 @@ interface operations {
32957
33610
  };
32958
33611
  requestBody: {
32959
33612
  content: {
32960
- 'application/json': components['schemas']['BookingRequest'];
33613
+ 'application/json': components['schemas']['BookingPageWrite'];
32961
33614
  };
32962
33615
  };
32963
33616
  responses: {
@@ -32967,7 +33620,7 @@ interface operations {
32967
33620
  [name: string]: unknown;
32968
33621
  };
32969
33622
  content: {
32970
- 'application/json': components['schemas']['BookingConfirmation'];
33623
+ 'application/json': components['schemas']['BookingPageRead'];
32971
33624
  };
32972
33625
  };
32973
33626
  /** @description Validation Error */
@@ -32981,11 +33634,9 @@ interface operations {
32981
33634
  };
32982
33635
  };
32983
33636
  };
32984
- cancel_booking: {
33637
+ delete_booking_page: {
32985
33638
  parameters: {
32986
- query: {
32987
- token: string;
32988
- };
33639
+ query?: never;
32989
33640
  header?: never;
32990
33641
  path: {
32991
33642
  slug: string;
@@ -34791,39 +35442,6 @@ interface operations {
34791
35442
  };
34792
35443
  };
34793
35444
  };
34794
- secure_send_v1_mail_secure_send_post: {
34795
- parameters: {
34796
- query?: never;
34797
- header?: never;
34798
- path?: never;
34799
- cookie?: never;
34800
- };
34801
- requestBody: {
34802
- content: {
34803
- 'application/json': components['schemas']['SecureMailSend'];
34804
- };
34805
- };
34806
- responses: {
34807
- /** @description Successful Response */
34808
- 200: {
34809
- headers: {
34810
- [name: string]: unknown;
34811
- };
34812
- content: {
34813
- 'application/json': unknown;
34814
- };
34815
- };
34816
- /** @description Validation Error */
34817
- 422: {
34818
- headers: {
34819
- [name: string]: unknown;
34820
- };
34821
- content: {
34822
- 'application/json': components['schemas']['HTTPValidationError'];
34823
- };
34824
- };
34825
- };
34826
- };
34827
35445
  secure_payload_v1_mail_secure__claim_id__get: {
34828
35446
  parameters: {
34829
35447
  query?: never;
@@ -34910,6 +35528,39 @@ interface operations {
34910
35528
  };
34911
35529
  };
34912
35530
  };
35531
+ secure_send_v1_mail_secure_send_post: {
35532
+ parameters: {
35533
+ query?: never;
35534
+ header?: never;
35535
+ path?: never;
35536
+ cookie?: never;
35537
+ };
35538
+ requestBody: {
35539
+ content: {
35540
+ 'application/json': components['schemas']['SecureMailSend'];
35541
+ };
35542
+ };
35543
+ responses: {
35544
+ /** @description Successful Response */
35545
+ 200: {
35546
+ headers: {
35547
+ [name: string]: unknown;
35548
+ };
35549
+ content: {
35550
+ 'application/json': unknown;
35551
+ };
35552
+ };
35553
+ /** @description Validation Error */
35554
+ 422: {
35555
+ headers: {
35556
+ [name: string]: unknown;
35557
+ };
35558
+ content: {
35559
+ 'application/json': components['schemas']['HTTPValidationError'];
35560
+ };
35561
+ };
35562
+ };
35563
+ };
34913
35564
  accounts_v1_mail_accounts_get: {
34914
35565
  parameters: {
34915
35566
  query?: never;