@arbidocs/client 0.4.129 → 0.4.131

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
@@ -3694,7 +3694,10 @@ interface paths {
3694
3694
  };
3695
3695
  /**
3696
3696
  * List Deployment Users
3697
- * @description The people registered on this deployment (not agents), with their type, by email. Deployment admins only.
3697
+ * @description The people registered on this deployment, with their type, by email. Deployment admins only.
3698
+ *
3699
+ * People only: no agents, no service accounts (flagged, or on the deployment's own domain) and no test accounts
3700
+ * (``ci+…@arbi.city``, ``agent-…@…``), by the same rule as the admin notifications.
3698
3701
  */
3699
3702
  get: operations['list_deployment_users'];
3700
3703
  put?: never;
@@ -3728,6 +3731,28 @@ interface paths {
3728
3731
  patch?: never;
3729
3732
  trace?: never;
3730
3733
  };
3734
+ '/v1/deployment/usage': {
3735
+ parameters: {
3736
+ query?: never;
3737
+ header?: never;
3738
+ path?: never;
3739
+ cookie?: never;
3740
+ };
3741
+ /**
3742
+ * Get Deployment Usage
3743
+ * @description Storage used (GB) and internal users, measured on this deployment (cached a minute). Deployment admins only.
3744
+ *
3745
+ * 503 when it can't be measured right now.
3746
+ */
3747
+ get: operations['get_deployment_usage'];
3748
+ put?: never;
3749
+ post?: never;
3750
+ delete?: never;
3751
+ options?: never;
3752
+ head?: never;
3753
+ patch?: never;
3754
+ trace?: never;
3755
+ };
3731
3756
  '/v1/tag/': {
3732
3757
  parameters: {
3733
3758
  query?: never;
@@ -13729,6 +13754,18 @@ interface components {
13729
13754
  /** External Ids */
13730
13755
  external_ids: string[];
13731
13756
  };
13757
+ /** DeploymentUsageResponse */
13758
+ DeploymentUsageResponse: {
13759
+ /** Storage Used Gb */
13760
+ storage_used_gb: number;
13761
+ /** Internal Users */
13762
+ internal_users: number;
13763
+ /**
13764
+ * As Of
13765
+ * Format: date-time
13766
+ */
13767
+ as_of: string;
13768
+ };
13732
13769
  /** DeploymentUserResponse */
13733
13770
  DeploymentUserResponse: {
13734
13771
  /** External Id */
@@ -13740,6 +13777,8 @@ interface components {
13740
13777
  /** Family Name */
13741
13778
  family_name?: string | null;
13742
13779
  user_type: components['schemas']['UserRole'];
13780
+ /** Registered At */
13781
+ registered_at?: string | null;
13743
13782
  };
13744
13783
  /**
13745
13784
  * DerivedFrom
@@ -17304,7 +17343,7 @@ interface components {
17304
17343
  * Type is self-descriptive, no need to parse content field.
17305
17344
  * @enum {string}
17306
17345
  */
17307
- 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' | 'storage_quota_exceeded' | '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' | 'document_processed' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
17346
+ 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' | 'native_mail_received' | 'mail_draft_ready' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'storage_quota_exceeded' | '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' | 'document_processed' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
17308
17347
  /**
17309
17348
  * NotificationUpdate
17310
17349
  * @description Single notification update for bulk PATCH.
@@ -29786,6 +29825,26 @@ interface operations {
29786
29825
  };
29787
29826
  };
29788
29827
  };
29828
+ get_deployment_usage: {
29829
+ parameters: {
29830
+ query?: never;
29831
+ header?: never;
29832
+ path?: never;
29833
+ cookie?: never;
29834
+ };
29835
+ requestBody?: never;
29836
+ responses: {
29837
+ /** @description Successful Response */
29838
+ 200: {
29839
+ headers: {
29840
+ [name: string]: unknown;
29841
+ };
29842
+ content: {
29843
+ 'application/json': components['schemas']['DeploymentUsageResponse'];
29844
+ };
29845
+ };
29846
+ };
29847
+ };
29789
29848
  list_tags: {
29790
29849
  parameters: {
29791
29850
  query?: {
package/dist/index.d.ts CHANGED
@@ -3694,7 +3694,10 @@ interface paths {
3694
3694
  };
3695
3695
  /**
3696
3696
  * List Deployment Users
3697
- * @description The people registered on this deployment (not agents), with their type, by email. Deployment admins only.
3697
+ * @description The people registered on this deployment, with their type, by email. Deployment admins only.
3698
+ *
3699
+ * People only: no agents, no service accounts (flagged, or on the deployment's own domain) and no test accounts
3700
+ * (``ci+…@arbi.city``, ``agent-…@…``), by the same rule as the admin notifications.
3698
3701
  */
3699
3702
  get: operations['list_deployment_users'];
3700
3703
  put?: never;
@@ -3728,6 +3731,28 @@ interface paths {
3728
3731
  patch?: never;
3729
3732
  trace?: never;
3730
3733
  };
3734
+ '/v1/deployment/usage': {
3735
+ parameters: {
3736
+ query?: never;
3737
+ header?: never;
3738
+ path?: never;
3739
+ cookie?: never;
3740
+ };
3741
+ /**
3742
+ * Get Deployment Usage
3743
+ * @description Storage used (GB) and internal users, measured on this deployment (cached a minute). Deployment admins only.
3744
+ *
3745
+ * 503 when it can't be measured right now.
3746
+ */
3747
+ get: operations['get_deployment_usage'];
3748
+ put?: never;
3749
+ post?: never;
3750
+ delete?: never;
3751
+ options?: never;
3752
+ head?: never;
3753
+ patch?: never;
3754
+ trace?: never;
3755
+ };
3731
3756
  '/v1/tag/': {
3732
3757
  parameters: {
3733
3758
  query?: never;
@@ -13729,6 +13754,18 @@ interface components {
13729
13754
  /** External Ids */
13730
13755
  external_ids: string[];
13731
13756
  };
13757
+ /** DeploymentUsageResponse */
13758
+ DeploymentUsageResponse: {
13759
+ /** Storage Used Gb */
13760
+ storage_used_gb: number;
13761
+ /** Internal Users */
13762
+ internal_users: number;
13763
+ /**
13764
+ * As Of
13765
+ * Format: date-time
13766
+ */
13767
+ as_of: string;
13768
+ };
13732
13769
  /** DeploymentUserResponse */
13733
13770
  DeploymentUserResponse: {
13734
13771
  /** External Id */
@@ -13740,6 +13777,8 @@ interface components {
13740
13777
  /** Family Name */
13741
13778
  family_name?: string | null;
13742
13779
  user_type: components['schemas']['UserRole'];
13780
+ /** Registered At */
13781
+ registered_at?: string | null;
13743
13782
  };
13744
13783
  /**
13745
13784
  * DerivedFrom
@@ -17304,7 +17343,7 @@ interface components {
17304
17343
  * Type is self-descriptive, no need to parse content field.
17305
17344
  * @enum {string}
17306
17345
  */
17307
- 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' | 'storage_quota_exceeded' | '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' | 'document_processed' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
17346
+ 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' | 'native_mail_received' | 'mail_draft_ready' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'storage_quota_exceeded' | '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' | 'document_processed' | 'call_missed' | 'calendar_invite' | 'calendar_update' | 'calendar_cancel' | 'calendar_reply' | 'calendar_counter' | 'calendar_reminder' | 'calendar_share';
17308
17347
  /**
17309
17348
  * NotificationUpdate
17310
17349
  * @description Single notification update for bulk PATCH.
@@ -29786,6 +29825,26 @@ interface operations {
29786
29825
  };
29787
29826
  };
29788
29827
  };
29828
+ get_deployment_usage: {
29829
+ parameters: {
29830
+ query?: never;
29831
+ header?: never;
29832
+ path?: never;
29833
+ cookie?: never;
29834
+ };
29835
+ requestBody?: never;
29836
+ responses: {
29837
+ /** @description Successful Response */
29838
+ 200: {
29839
+ headers: {
29840
+ [name: string]: unknown;
29841
+ };
29842
+ content: {
29843
+ 'application/json': components['schemas']['DeploymentUsageResponse'];
29844
+ };
29845
+ };
29846
+ };
29847
+ };
29789
29848
  list_tags: {
29790
29849
  parameters: {
29791
29850
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.4.129",
3
+ "version": "0.4.131",
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,