@arbidocs/client 0.5.132 → 0.5.133

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,6 +143,38 @@ 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
+ };
146
178
  '/v1/user/entitlements': {
147
179
  parameters: {
148
180
  query?: never;
@@ -5841,7 +5873,7 @@ interface paths$1 {
5841
5873
  * parts tell you where you are).
5842
5874
  *
5843
5875
  * * ``speaker``: your own microphone. You must be admissible to the call (the ``POST /token`` rule; for a thread
5844
- * call a member of its workspace, any role — the Read only role included) or already in the room; in a
5876
+ * call a member of its workspace, any role — the Viewer role included) or already in the room; in a
5845
5877
  * webinar, on stage (403 ``not_on_stage``).
5846
5878
  * * ``composite``: the host's view, host only, ``audio_video`` recordings only (422 ``composite_needs_video``).
5847
5879
  *
@@ -9147,6 +9179,11 @@ interface paths$1 {
9147
9179
  type webhooks = Record<string, never>;
9148
9180
  interface components$1 {
9149
9181
  schemas: {
9182
+ ProjectSpendLimitsRequest: {
9183
+ spend_cap_pence: number;
9184
+ daily_cap_per_user: number | null;
9185
+ name?: string | null;
9186
+ };
9150
9187
  /** AccountRead */
9151
9188
  AccountRead: {
9152
9189
  /** Id */
@@ -18361,8 +18398,8 @@ interface components$1 {
18361
18398
  */
18362
18399
  member_count: number;
18363
18400
  /**
18364
- * Read Only Count
18365
- * @description People with only the Read only role in its workspaces.
18401
+ * Viewer Count
18402
+ * @description People with only the Viewer role in its workspaces.
18366
18403
  * @default 0
18367
18404
  */
18368
18405
  guest_count: number;
@@ -18432,8 +18469,8 @@ interface components$1 {
18432
18469
  */
18433
18470
  member_count: number;
18434
18471
  /**
18435
- * Read Only Count
18436
- * @description People with only the Read only role in the projects' workspaces.
18472
+ * Viewer Count
18473
+ * @description People with only the Viewer role in the projects' workspaces.
18437
18474
  * @default 0
18438
18475
  */
18439
18476
  guest_count: number;
@@ -20092,6 +20129,7 @@ interface components$1 {
20092
20129
  * @description Stripe product with pricing information.
20093
20130
  */
20094
20131
  ProductResponse: {
20132
+ collaborator_daily_limit_step_gbp?: number;
20095
20133
  /**
20096
20134
  * Included Ai Gbp
20097
20135
  * @default 10
@@ -20440,6 +20478,7 @@ interface components$1 {
20440
20478
  * and renew with the plan until reduced, like any block.
20441
20479
  */
20442
20480
  ProjectCheckoutRequest: {
20481
+ require_spend_limit_confirmation?: boolean;
20443
20482
  /**
20444
20483
  * Interval
20445
20484
  * @default month
@@ -20723,6 +20762,8 @@ interface components$1 {
20723
20762
  * user's external_id.
20724
20763
  */
20725
20764
  ProjectResponse: {
20765
+ spend_limits_confirmation_required?: boolean;
20766
+ checkout_pending?: boolean;
20726
20767
  /** External Id */
20727
20768
  external_id: string;
20728
20769
  /** Name */
@@ -26777,8 +26818,8 @@ interface components$1 {
26777
26818
  /**
26778
26819
  * WorkspaceRole
26779
26820
  * @description Role of a user within a workspace: ``owner``, ``collaborator``, or ``guest``, which is shown to people as
26780
- * "Read only" (reads what is shared in the workspace; no editing, uploads or AI). ``guest`` is only the stored
26781
- * value of the Read only role: it has nothing to do with external accounts (user type ``external``).
26821
+ * "Viewer" (reads what is shared in the workspace; no editing, uploads or AI). ``guest`` is only the stored
26822
+ * value of the Viewer role: it has nothing to do with external accounts (user type ``external``).
26782
26823
  * @enum {string}
26783
26824
  */
26784
26825
  WorkspaceRole: 'owner' | 'collaborator' | 'guest';
package/dist/index.d.ts CHANGED
@@ -143,6 +143,38 @@ 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
+ };
146
178
  '/v1/user/entitlements': {
147
179
  parameters: {
148
180
  query?: never;
@@ -5841,7 +5873,7 @@ interface paths$1 {
5841
5873
  * parts tell you where you are).
5842
5874
  *
5843
5875
  * * ``speaker``: your own microphone. You must be admissible to the call (the ``POST /token`` rule; for a thread
5844
- * call a member of its workspace, any role — the Read only role included) or already in the room; in a
5876
+ * call a member of its workspace, any role — the Viewer role included) or already in the room; in a
5845
5877
  * webinar, on stage (403 ``not_on_stage``).
5846
5878
  * * ``composite``: the host's view, host only, ``audio_video`` recordings only (422 ``composite_needs_video``).
5847
5879
  *
@@ -9147,6 +9179,11 @@ interface paths$1 {
9147
9179
  type webhooks = Record<string, never>;
9148
9180
  interface components$1 {
9149
9181
  schemas: {
9182
+ ProjectSpendLimitsRequest: {
9183
+ spend_cap_pence: number;
9184
+ daily_cap_per_user: number | null;
9185
+ name?: string | null;
9186
+ };
9150
9187
  /** AccountRead */
9151
9188
  AccountRead: {
9152
9189
  /** Id */
@@ -18361,8 +18398,8 @@ interface components$1 {
18361
18398
  */
18362
18399
  member_count: number;
18363
18400
  /**
18364
- * Read Only Count
18365
- * @description People with only the Read only role in its workspaces.
18401
+ * Viewer Count
18402
+ * @description People with only the Viewer role in its workspaces.
18366
18403
  * @default 0
18367
18404
  */
18368
18405
  guest_count: number;
@@ -18432,8 +18469,8 @@ interface components$1 {
18432
18469
  */
18433
18470
  member_count: number;
18434
18471
  /**
18435
- * Read Only Count
18436
- * @description People with only the Read only role in the projects' workspaces.
18472
+ * Viewer Count
18473
+ * @description People with only the Viewer role in the projects' workspaces.
18437
18474
  * @default 0
18438
18475
  */
18439
18476
  guest_count: number;
@@ -20092,6 +20129,7 @@ interface components$1 {
20092
20129
  * @description Stripe product with pricing information.
20093
20130
  */
20094
20131
  ProductResponse: {
20132
+ collaborator_daily_limit_step_gbp?: number;
20095
20133
  /**
20096
20134
  * Included Ai Gbp
20097
20135
  * @default 10
@@ -20440,6 +20478,7 @@ interface components$1 {
20440
20478
  * and renew with the plan until reduced, like any block.
20441
20479
  */
20442
20480
  ProjectCheckoutRequest: {
20481
+ require_spend_limit_confirmation?: boolean;
20443
20482
  /**
20444
20483
  * Interval
20445
20484
  * @default month
@@ -20723,6 +20762,8 @@ interface components$1 {
20723
20762
  * user's external_id.
20724
20763
  */
20725
20764
  ProjectResponse: {
20765
+ spend_limits_confirmation_required?: boolean;
20766
+ checkout_pending?: boolean;
20726
20767
  /** External Id */
20727
20768
  external_id: string;
20728
20769
  /** Name */
@@ -26777,8 +26818,8 @@ interface components$1 {
26777
26818
  /**
26778
26819
  * WorkspaceRole
26779
26820
  * @description Role of a user within a workspace: ``owner``, ``collaborator``, or ``guest``, which is shown to people as
26780
- * "Read only" (reads what is shared in the workspace; no editing, uploads or AI). ``guest`` is only the stored
26781
- * value of the Read only role: it has nothing to do with external accounts (user type ``external``).
26821
+ * "Viewer" (reads what is shared in the workspace; no editing, uploads or AI). ``guest`` is only the stored
26822
+ * value of the Viewer role: it has nothing to do with external accounts (user type ``external``).
26782
26823
  * @enum {string}
26783
26824
  */
26784
26825
  WorkspaceRole: 'owner' | 'collaborator' | 'guest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.5.132",
3
+ "version": "0.5.133",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "sideEffects": false,