@arbidocs/sdk 0.4.71 → 0.4.73

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.
@@ -1408,6 +1408,9 @@ declare function listConversations(arbi: ArbiClient): Promise<{
1408
1408
  workflow_ext_id?: string | null | undefined;
1409
1409
  agent_ext_id?: string | null | undefined;
1410
1410
  skill_ref?: string | null | undefined;
1411
+ skill_inputs?: {
1412
+ [x: string]: unknown;
1413
+ } | null | undefined;
1411
1414
  has_agent_action: boolean;
1412
1415
  auth_mode?: (components["schemas"]["src__models__work__AuthMode"] | null) | undefined;
1413
1416
  plan?: {
@@ -1418,6 +1421,22 @@ declare function listConversations(arbi: ArbiClient): Promise<{
1418
1421
  }[];
1419
1422
  max_passes: number;
1420
1423
  documents: string[];
1424
+ steps: {
1425
+ id: string;
1426
+ title: string;
1427
+ kind: "form" | "upload" | "agent" | "review";
1428
+ after?: string[] | null | undefined;
1429
+ skill?: string | null | undefined;
1430
+ prompt?: string | null | undefined;
1431
+ inputs?: {
1432
+ [x: string]: string;
1433
+ } | null | undefined;
1434
+ branch: boolean;
1435
+ requires_files: boolean;
1436
+ ui?: {
1437
+ [x: string]: unknown;
1438
+ } | null | undefined;
1439
+ }[];
1421
1440
  } | null | undefined;
1422
1441
  goal_state?: {
1423
1442
  [x: string]: unknown;
@@ -2297,6 +2316,7 @@ declare function listContacts(arbi: ArbiClient): Promise<{
2297
2316
  picture?: string | null | undefined;
2298
2317
  encryption_public_key: string;
2299
2318
  is_sso: boolean;
2319
+ is_identity_verified: boolean;
2300
2320
  } | null | undefined;
2301
2321
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2302
2322
  created_at: string;
@@ -2316,6 +2336,7 @@ declare function addContacts(arbi: ArbiClient, emails: string[]): Promise<{
2316
2336
  picture?: string | null | undefined;
2317
2337
  encryption_public_key: string;
2318
2338
  is_sso: boolean;
2339
+ is_identity_verified: boolean;
2319
2340
  } | null | undefined;
2320
2341
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2321
2342
  created_at: string;
@@ -2490,6 +2511,7 @@ declare function listDMs(arbi: ArbiClient): Promise<{
2490
2511
  picture?: string | null | undefined;
2491
2512
  encryption_public_key: string;
2492
2513
  is_sso: boolean;
2514
+ is_identity_verified: boolean;
2493
2515
  };
2494
2516
  recipient: {
2495
2517
  external_id: string;
@@ -2500,6 +2522,7 @@ declare function listDMs(arbi: ArbiClient): Promise<{
2500
2522
  picture?: string | null | undefined;
2501
2523
  encryption_public_key: string;
2502
2524
  is_sso: boolean;
2525
+ is_identity_verified: boolean;
2503
2526
  };
2504
2527
  workspace_ext_id?: string | null | undefined;
2505
2528
  dm_context_only: boolean;
@@ -2538,6 +2561,7 @@ declare function listActivity(arbi: ArbiClient, options?: {
2538
2561
  picture?: string | null | undefined;
2539
2562
  encryption_public_key: string;
2540
2563
  is_sso: boolean;
2564
+ is_identity_verified: boolean;
2541
2565
  };
2542
2566
  recipient: {
2543
2567
  external_id: string;
@@ -2548,6 +2572,7 @@ declare function listActivity(arbi: ArbiClient, options?: {
2548
2572
  picture?: string | null | undefined;
2549
2573
  encryption_public_key: string;
2550
2574
  is_sso: boolean;
2575
+ is_identity_verified: boolean;
2551
2576
  };
2552
2577
  workspace_ext_id?: string | null | undefined;
2553
2578
  dm_context_only: boolean;
@@ -2628,6 +2653,7 @@ declare function requestWorkspaceAccess(arbi: ArbiClient, params: {
2628
2653
  picture?: string | null | undefined;
2629
2654
  encryption_public_key: string;
2630
2655
  is_sso: boolean;
2656
+ is_identity_verified: boolean;
2631
2657
  };
2632
2658
  recipient: {
2633
2659
  external_id: string;
@@ -2638,6 +2664,7 @@ declare function requestWorkspaceAccess(arbi: ArbiClient, params: {
2638
2664
  picture?: string | null | undefined;
2639
2665
  encryption_public_key: string;
2640
2666
  is_sso: boolean;
2667
+ is_identity_verified: boolean;
2641
2668
  };
2642
2669
  workspace_ext_id?: string | null | undefined;
2643
2670
  dm_context_only: boolean;
@@ -2668,6 +2695,7 @@ declare function sendDM(arbi: ArbiClient, messages: Array<{
2668
2695
  picture?: string | null | undefined;
2669
2696
  encryption_public_key: string;
2670
2697
  is_sso: boolean;
2698
+ is_identity_verified: boolean;
2671
2699
  };
2672
2700
  recipient: {
2673
2701
  external_id: string;
@@ -2678,6 +2706,7 @@ declare function sendDM(arbi: ArbiClient, messages: Array<{
2678
2706
  picture?: string | null | undefined;
2679
2707
  encryption_public_key: string;
2680
2708
  is_sso: boolean;
2709
+ is_identity_verified: boolean;
2681
2710
  };
2682
2711
  workspace_ext_id?: string | null | undefined;
2683
2712
  dm_context_only: boolean;
@@ -2701,6 +2730,7 @@ declare function markRead(arbi: ArbiClient, messageIds: string[]): Promise<{
2701
2730
  picture?: string | null | undefined;
2702
2731
  encryption_public_key: string;
2703
2732
  is_sso: boolean;
2733
+ is_identity_verified: boolean;
2704
2734
  };
2705
2735
  recipient: {
2706
2736
  external_id: string;
@@ -2711,6 +2741,7 @@ declare function markRead(arbi: ArbiClient, messageIds: string[]): Promise<{
2711
2741
  picture?: string | null | undefined;
2712
2742
  encryption_public_key: string;
2713
2743
  is_sso: boolean;
2744
+ is_identity_verified: boolean;
2714
2745
  };
2715
2746
  workspace_ext_id?: string | null | undefined;
2716
2747
  dm_context_only: boolean;
@@ -3204,6 +3235,7 @@ declare function updateProfile(arbi: ArbiClient, body: UpdateProfileRequest): Pr
3204
3235
  family_name?: string | null | undefined;
3205
3236
  email: string;
3206
3237
  picture?: string | null | undefined;
3238
+ is_identity_verified: boolean;
3207
3239
  }>;
3208
3240
 
3209
3241
  type profile_UpdateProfileRequest = UpdateProfileRequest;
@@ -3221,6 +3253,7 @@ type UpdateConversationRequest = components['schemas']['UpdateConversationReques
3221
3253
  type CreateWorkRequest = components['schemas']['CreateWorkRequest'];
3222
3254
  type PendingAuthResponse = components['schemas']['PendingAuthResponse'];
3223
3255
  type PlanWorkRequest = components['schemas']['PlanWorkRequest'];
3256
+ type StepActionRequest = components['schemas']['StepActionRequest'];
3224
3257
  type TaskPlan = components['schemas']['TaskPlan'];
3225
3258
  type ActivityResponse = components['schemas']['ActivityResponse'];
3226
3259
  type ActivityKind = components['schemas']['ActivityKind'];
@@ -3239,6 +3272,16 @@ declare function createWork(arbi: ArbiClient, body: CreateWorkRequest): Promise<
3239
3272
  declare function runConversation(arbi: ArbiClient, conversationId: string): Promise<ConversationResponse>;
3240
3273
  /** What an unattended run waits on (agent email + session public key); 404 when nothing waits. */
3241
3274
  declare function getPendingAuth(arbi: ArbiClient, conversationId: string): Promise<PendingAuthResponse>;
3275
+ /**
3276
+ * A person finishes a step of a workflow run: completes a form (its inputs join the run's), an upload
3277
+ * or a review (the approval), or skips a step. The run then goes on to its next agent step.
3278
+ */
3279
+ declare function actOnStep(arbi: ArbiClient, conversationId: string, body: StepActionRequest): Promise<ConversationResponse>;
3280
+ /**
3281
+ * Tell people about a conversation (a notification each, e.g. "please review this"). Resolves with
3282
+ * the ids that were notified.
3283
+ */
3284
+ declare function notifyConversation(arbi: ArbiClient, conversationId: string, userIds: string[]): Promise<string[]>;
3242
3285
  /** The task's history, oldest first: created, run started, handed off, sent back, done and so on. */
3243
3286
  declare function getActivity(arbi: ArbiClient, conversationId: string): Promise<ActivityResponse[]>;
3244
3287
  /** Draft an editable plan (goal and acceptance checklist) from a plain objective. */
@@ -3251,17 +3294,20 @@ type work_ConversationResponse = ConversationResponse;
3251
3294
  type work_CreateWorkRequest = CreateWorkRequest;
3252
3295
  type work_PendingAuthResponse = PendingAuthResponse;
3253
3296
  type work_PlanWorkRequest = PlanWorkRequest;
3297
+ type work_StepActionRequest = StepActionRequest;
3254
3298
  type work_TaskPlan = TaskPlan;
3255
3299
  type work_UpdateConversationRequest = UpdateConversationRequest;
3256
3300
  type work_WorkStatus = WorkStatus;
3301
+ declare const work_actOnStep: typeof actOnStep;
3257
3302
  declare const work_createWork: typeof createWork;
3258
3303
  declare const work_getActivity: typeof getActivity;
3259
3304
  declare const work_getPendingAuth: typeof getPendingAuth;
3305
+ declare const work_notifyConversation: typeof notifyConversation;
3260
3306
  declare const work_planWork: typeof planWork;
3261
3307
  declare const work_runConversation: typeof runConversation;
3262
3308
  declare const work_updateConversation: typeof updateConversation;
3263
3309
  declare namespace work {
3264
- export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_WorkStatus as WorkStatus, work_createWork as createWork, work_getActivity as getActivity, work_getPendingAuth as getPendingAuth, work_planWork as planWork, work_runConversation as runConversation, work_updateConversation as updateConversation };
3310
+ export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_StepActionRequest as StepActionRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_WorkStatus as WorkStatus, work_actOnStep as actOnStep, work_createWork as createWork, work_getActivity as getActivity, work_getPendingAuth as getPendingAuth, work_notifyConversation as notifyConversation, work_planWork as planWork, work_runConversation as runConversation, work_updateConversation as updateConversation };
3265
3311
  }
3266
3312
 
3267
3313
  /**
@@ -3549,7 +3595,6 @@ declare class Arbi {
3549
3595
  external_id: string;
3550
3596
  name: string;
3551
3597
  created_by: string;
3552
- packs: number;
3553
3598
  subscription: string;
3554
3599
  created_at: string;
3555
3600
  quotas: {
@@ -3568,9 +3613,73 @@ declare class Arbi {
3568
3613
  budget_reset_at?: number | null | undefined;
3569
3614
  };
3570
3615
  daily_cap_per_user?: number | null | undefined;
3616
+ plan_interval?: ("month" | "year") | null | undefined;
3617
+ packs: number;
3618
+ plan_change?: {
3619
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
3620
+ charged_pence: number;
3621
+ charged_ex_vat_pence: number;
3622
+ confirm_url?: string | null | undefined;
3623
+ } | null | undefined;
3624
+ addons?: {
3625
+ packs: number;
3626
+ packs_next?: number | null | undefined;
3627
+ plan_name: string;
3628
+ plan_credits: number;
3629
+ plan_storage_gb: number;
3630
+ block_credits: number;
3631
+ block_storage_gb: number;
3632
+ credit_blocks: number;
3633
+ storage_blocks: number;
3634
+ credit_blocks_next?: number | null | undefined;
3635
+ storage_blocks_next?: number | null | undefined;
3636
+ storage_blocks_min: number;
3637
+ auto_topup_threshold_credits: number;
3638
+ min_auto_topup_threshold_credits: number;
3639
+ spend_cap_pence?: number | null | undefined;
3640
+ addon_spend_pence: number;
3641
+ addon_spend_window_end?: number | null | undefined;
3642
+ block_monthly_pence: number;
3643
+ block_monthly_ex_vat_pence: number;
3644
+ block_period_pence: number;
3645
+ block_period_ex_vat_pence: number;
3646
+ credit_block_price_pence: number;
3647
+ credit_block_price_ex_vat_pence: number;
3648
+ storage_block_price_pence: number;
3649
+ storage_block_price_ex_vat_pence: number;
3650
+ cap_reached: boolean;
3651
+ period_end?: number | null | undefined;
3652
+ credits_reset_at?: number | null | undefined;
3653
+ pending_interval?: ("month" | "year") | null | undefined;
3654
+ billing_error?: string | null | undefined;
3655
+ confirm_url?: string | null | undefined;
3656
+ upsell?: {
3657
+ variant: "compare" | "save";
3658
+ interval: "month" | "year";
3659
+ add_on_count: number;
3660
+ current_monthly_pence: number;
3661
+ current_monthly_ex_vat_pence: number;
3662
+ pro_plus_monthly_pence: number;
3663
+ pro_plus_monthly_ex_vat_pence: number;
3664
+ pro_plus_period_pence: number;
3665
+ pro_plus_credits: number;
3666
+ pro_plus_storage_gb: number;
3667
+ saving_monthly_pence: number;
3668
+ } | null | undefined;
3669
+ payment?: {
3670
+ status: "pending" | "paid";
3671
+ kind?: ("credits" | "storage") | null | undefined;
3672
+ amount_pence?: number | null | undefined;
3673
+ amount_ex_vat_pence?: number | null | undefined;
3674
+ tax_pence?: number | null | undefined;
3675
+ at?: number | null | undefined;
3676
+ confirm_url?: string | null | undefined;
3677
+ } | null | undefined;
3678
+ } | null | undefined;
3571
3679
  price_id?: string | null | undefined;
3572
3680
  plan?: string | null | undefined;
3573
3681
  amount?: number | null | undefined;
3682
+ amount_ex_vat?: number | null | undefined;
3574
3683
  currency?: string | null | undefined;
3575
3684
  current_period_end?: number | null | undefined;
3576
3685
  cancel_at_period_end?: boolean | null | undefined;
@@ -3580,7 +3689,6 @@ declare class Arbi {
3580
3689
  external_id: string;
3581
3690
  name: string;
3582
3691
  created_by: string;
3583
- packs: number;
3584
3692
  subscription: string;
3585
3693
  created_at: string;
3586
3694
  quotas: {
@@ -3599,9 +3707,73 @@ declare class Arbi {
3599
3707
  budget_reset_at?: number | null | undefined;
3600
3708
  };
3601
3709
  daily_cap_per_user?: number | null | undefined;
3710
+ plan_interval?: ("month" | "year") | null | undefined;
3711
+ packs: number;
3712
+ plan_change?: {
3713
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
3714
+ charged_pence: number;
3715
+ charged_ex_vat_pence: number;
3716
+ confirm_url?: string | null | undefined;
3717
+ } | null | undefined;
3718
+ addons?: {
3719
+ packs: number;
3720
+ packs_next?: number | null | undefined;
3721
+ plan_name: string;
3722
+ plan_credits: number;
3723
+ plan_storage_gb: number;
3724
+ block_credits: number;
3725
+ block_storage_gb: number;
3726
+ credit_blocks: number;
3727
+ storage_blocks: number;
3728
+ credit_blocks_next?: number | null | undefined;
3729
+ storage_blocks_next?: number | null | undefined;
3730
+ storage_blocks_min: number;
3731
+ auto_topup_threshold_credits: number;
3732
+ min_auto_topup_threshold_credits: number;
3733
+ spend_cap_pence?: number | null | undefined;
3734
+ addon_spend_pence: number;
3735
+ addon_spend_window_end?: number | null | undefined;
3736
+ block_monthly_pence: number;
3737
+ block_monthly_ex_vat_pence: number;
3738
+ block_period_pence: number;
3739
+ block_period_ex_vat_pence: number;
3740
+ credit_block_price_pence: number;
3741
+ credit_block_price_ex_vat_pence: number;
3742
+ storage_block_price_pence: number;
3743
+ storage_block_price_ex_vat_pence: number;
3744
+ cap_reached: boolean;
3745
+ period_end?: number | null | undefined;
3746
+ credits_reset_at?: number | null | undefined;
3747
+ pending_interval?: ("month" | "year") | null | undefined;
3748
+ billing_error?: string | null | undefined;
3749
+ confirm_url?: string | null | undefined;
3750
+ upsell?: {
3751
+ variant: "compare" | "save";
3752
+ interval: "month" | "year";
3753
+ add_on_count: number;
3754
+ current_monthly_pence: number;
3755
+ current_monthly_ex_vat_pence: number;
3756
+ pro_plus_monthly_pence: number;
3757
+ pro_plus_monthly_ex_vat_pence: number;
3758
+ pro_plus_period_pence: number;
3759
+ pro_plus_credits: number;
3760
+ pro_plus_storage_gb: number;
3761
+ saving_monthly_pence: number;
3762
+ } | null | undefined;
3763
+ payment?: {
3764
+ status: "pending" | "paid";
3765
+ kind?: ("credits" | "storage") | null | undefined;
3766
+ amount_pence?: number | null | undefined;
3767
+ amount_ex_vat_pence?: number | null | undefined;
3768
+ tax_pence?: number | null | undefined;
3769
+ at?: number | null | undefined;
3770
+ confirm_url?: string | null | undefined;
3771
+ } | null | undefined;
3772
+ } | null | undefined;
3602
3773
  price_id?: string | null | undefined;
3603
3774
  plan?: string | null | undefined;
3604
3775
  amount?: number | null | undefined;
3776
+ amount_ex_vat?: number | null | undefined;
3605
3777
  currency?: string | null | undefined;
3606
3778
  current_period_end?: number | null | undefined;
3607
3779
  cancel_at_period_end?: boolean | null | undefined;
@@ -3611,7 +3783,6 @@ declare class Arbi {
3611
3783
  external_id: string;
3612
3784
  name: string;
3613
3785
  created_by: string;
3614
- packs: number;
3615
3786
  subscription: string;
3616
3787
  created_at: string;
3617
3788
  quotas: {
@@ -3630,9 +3801,73 @@ declare class Arbi {
3630
3801
  budget_reset_at?: number | null | undefined;
3631
3802
  };
3632
3803
  daily_cap_per_user?: number | null | undefined;
3804
+ plan_interval?: ("month" | "year") | null | undefined;
3805
+ packs: number;
3806
+ plan_change?: {
3807
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
3808
+ charged_pence: number;
3809
+ charged_ex_vat_pence: number;
3810
+ confirm_url?: string | null | undefined;
3811
+ } | null | undefined;
3812
+ addons?: {
3813
+ packs: number;
3814
+ packs_next?: number | null | undefined;
3815
+ plan_name: string;
3816
+ plan_credits: number;
3817
+ plan_storage_gb: number;
3818
+ block_credits: number;
3819
+ block_storage_gb: number;
3820
+ credit_blocks: number;
3821
+ storage_blocks: number;
3822
+ credit_blocks_next?: number | null | undefined;
3823
+ storage_blocks_next?: number | null | undefined;
3824
+ storage_blocks_min: number;
3825
+ auto_topup_threshold_credits: number;
3826
+ min_auto_topup_threshold_credits: number;
3827
+ spend_cap_pence?: number | null | undefined;
3828
+ addon_spend_pence: number;
3829
+ addon_spend_window_end?: number | null | undefined;
3830
+ block_monthly_pence: number;
3831
+ block_monthly_ex_vat_pence: number;
3832
+ block_period_pence: number;
3833
+ block_period_ex_vat_pence: number;
3834
+ credit_block_price_pence: number;
3835
+ credit_block_price_ex_vat_pence: number;
3836
+ storage_block_price_pence: number;
3837
+ storage_block_price_ex_vat_pence: number;
3838
+ cap_reached: boolean;
3839
+ period_end?: number | null | undefined;
3840
+ credits_reset_at?: number | null | undefined;
3841
+ pending_interval?: ("month" | "year") | null | undefined;
3842
+ billing_error?: string | null | undefined;
3843
+ confirm_url?: string | null | undefined;
3844
+ upsell?: {
3845
+ variant: "compare" | "save";
3846
+ interval: "month" | "year";
3847
+ add_on_count: number;
3848
+ current_monthly_pence: number;
3849
+ current_monthly_ex_vat_pence: number;
3850
+ pro_plus_monthly_pence: number;
3851
+ pro_plus_monthly_ex_vat_pence: number;
3852
+ pro_plus_period_pence: number;
3853
+ pro_plus_credits: number;
3854
+ pro_plus_storage_gb: number;
3855
+ saving_monthly_pence: number;
3856
+ } | null | undefined;
3857
+ payment?: {
3858
+ status: "pending" | "paid";
3859
+ kind?: ("credits" | "storage") | null | undefined;
3860
+ amount_pence?: number | null | undefined;
3861
+ amount_ex_vat_pence?: number | null | undefined;
3862
+ tax_pence?: number | null | undefined;
3863
+ at?: number | null | undefined;
3864
+ confirm_url?: string | null | undefined;
3865
+ } | null | undefined;
3866
+ } | null | undefined;
3633
3867
  price_id?: string | null | undefined;
3634
3868
  plan?: string | null | undefined;
3635
3869
  amount?: number | null | undefined;
3870
+ amount_ex_vat?: number | null | undefined;
3636
3871
  currency?: string | null | undefined;
3637
3872
  current_period_end?: number | null | undefined;
3638
3873
  cancel_at_period_end?: boolean | null | undefined;
@@ -3705,6 +3940,7 @@ declare class Arbi {
3705
3940
  family_name?: string | null | undefined;
3706
3941
  email: string;
3707
3942
  picture?: string | null | undefined;
3943
+ is_identity_verified: boolean;
3708
3944
  }>;
3709
3945
  };
3710
3946
  readonly account: {
@@ -3729,6 +3965,80 @@ declare class Arbi {
3729
3965
  detail: string;
3730
3966
  }>;
3731
3967
  };
3968
+ readonly identity: {
3969
+ /** Whether the ID check is offered (Pro plans), its price, and where the user's check stands. */
3970
+ status: () => Promise<{
3971
+ enabled: boolean;
3972
+ eligible: boolean;
3973
+ required: boolean;
3974
+ price_pence: number;
3975
+ currency: string;
3976
+ attempts_per_fee: number;
3977
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
3978
+ attempts_left: number;
3979
+ pending_payment_url?: string | null;
3980
+ verified: boolean;
3981
+ document_country?: string | null;
3982
+ document_given_name?: string | null;
3983
+ document_family_name?: string | null;
3984
+ }>;
3985
+ /** Charge the one-time fee to an own Pro project; `requires_action` carries a payment URL. */
3986
+ purchase: (projectExtId?: string) => Promise<{
3987
+ status: "paid" | "requires_action";
3988
+ payment_url?: string | null;
3989
+ }>;
3990
+ /** The Didit session URL to run the web SDK on. */
3991
+ startSession: () => Promise<string>;
3992
+ /** Read the decision of the open check; the profile follows a granted tick. */
3993
+ refresh: () => Promise<{
3994
+ enabled: boolean;
3995
+ eligible: boolean;
3996
+ required: boolean;
3997
+ price_pence: number;
3998
+ currency: string;
3999
+ attempts_per_fee: number;
4000
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
4001
+ attempts_left: number;
4002
+ pending_payment_url?: string | null;
4003
+ verified: boolean;
4004
+ document_country?: string | null;
4005
+ document_given_name?: string | null;
4006
+ document_family_name?: string | null;
4007
+ }>;
4008
+ /** Take the name on the document as the account name; the profile follows. */
4009
+ acceptName: () => Promise<{
4010
+ enabled: boolean;
4011
+ eligible: boolean;
4012
+ required: boolean;
4013
+ price_pence: number;
4014
+ currency: string;
4015
+ attempts_per_fee: number;
4016
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
4017
+ attempts_left: number;
4018
+ pending_payment_url?: string | null;
4019
+ verified: boolean;
4020
+ document_country?: string | null;
4021
+ document_given_name?: string | null;
4022
+ document_family_name?: string | null;
4023
+ }>;
4024
+ /** Remove the tick and erase any open check. */
4025
+ remove: () => Promise<{
4026
+ enabled: boolean;
4027
+ eligible: boolean;
4028
+ required: boolean;
4029
+ price_pence: number;
4030
+ currency: string;
4031
+ attempts_per_fee: number;
4032
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
4033
+ attempts_left: number;
4034
+ pending_payment_url?: string | null;
4035
+ verified: boolean;
4036
+ document_country?: string | null;
4037
+ document_given_name?: string | null;
4038
+ document_family_name?: string | null;
4039
+ }>;
4040
+ };
4041
+ private syncIdentity;
3732
4042
  readonly workspaces: {
3733
4043
  list: () => Promise<{
3734
4044
  external_id: string;
@@ -3757,6 +4067,7 @@ declare class Arbi {
3757
4067
  picture?: string | null | undefined;
3758
4068
  encryption_public_key: string;
3759
4069
  is_sso: boolean;
4070
+ is_identity_verified: boolean;
3760
4071
  };
3761
4072
  role: components["schemas"]["WorkspaceRole"];
3762
4073
  joined_at: string;
@@ -3798,6 +4109,7 @@ declare class Arbi {
3798
4109
  picture?: string | null | undefined;
3799
4110
  encryption_public_key: string;
3800
4111
  is_sso: boolean;
4112
+ is_identity_verified: boolean;
3801
4113
  };
3802
4114
  role: components["schemas"]["WorkspaceRole"];
3803
4115
  joined_at: string;
@@ -3840,6 +4152,7 @@ declare class Arbi {
3840
4152
  picture?: string | null | undefined;
3841
4153
  encryption_public_key: string;
3842
4154
  is_sso: boolean;
4155
+ is_identity_verified: boolean;
3843
4156
  };
3844
4157
  role: components["schemas"]["WorkspaceRole"];
3845
4158
  joined_at: string;
@@ -3864,6 +4177,7 @@ declare class Arbi {
3864
4177
  picture?: string | null | undefined;
3865
4178
  encryption_public_key: string;
3866
4179
  is_sso: boolean;
4180
+ is_identity_verified: boolean;
3867
4181
  };
3868
4182
  role: components["schemas"]["WorkspaceRole"];
3869
4183
  joined_at: string;
@@ -3883,6 +4197,7 @@ declare class Arbi {
3883
4197
  picture?: string | null | undefined;
3884
4198
  encryption_public_key: string;
3885
4199
  is_sso: boolean;
4200
+ is_identity_verified: boolean;
3886
4201
  };
3887
4202
  role: components["schemas"]["WorkspaceRole"];
3888
4203
  joined_at: string;
@@ -3913,6 +4228,7 @@ declare class Arbi {
3913
4228
  picture?: string | null | undefined;
3914
4229
  encryption_public_key: string;
3915
4230
  is_sso: boolean;
4231
+ is_identity_verified: boolean;
3916
4232
  };
3917
4233
  role: components["schemas"]["WorkspaceRole"];
3918
4234
  joined_at: string;
@@ -3940,6 +4256,7 @@ declare class Arbi {
3940
4256
  picture?: string | null | undefined;
3941
4257
  encryption_public_key: string;
3942
4258
  is_sso: boolean;
4259
+ is_identity_verified: boolean;
3943
4260
  };
3944
4261
  role: components["schemas"]["WorkspaceRole"];
3945
4262
  joined_at: string;
@@ -3960,6 +4277,7 @@ declare class Arbi {
3960
4277
  picture?: string | null | undefined;
3961
4278
  encryption_public_key: string;
3962
4279
  is_sso: boolean;
4280
+ is_identity_verified: boolean;
3963
4281
  };
3964
4282
  role: components["schemas"]["WorkspaceRole"];
3965
4283
  joined_at: string;
@@ -3992,6 +4310,7 @@ declare class Arbi {
3992
4310
  picture?: string | null | undefined;
3993
4311
  encryption_public_key: string;
3994
4312
  is_sso: boolean;
4313
+ is_identity_verified: boolean;
3995
4314
  };
3996
4315
  recipient: {
3997
4316
  external_id: string;
@@ -4002,6 +4321,7 @@ declare class Arbi {
4002
4321
  picture?: string | null | undefined;
4003
4322
  encryption_public_key: string;
4004
4323
  is_sso: boolean;
4324
+ is_identity_verified: boolean;
4005
4325
  };
4006
4326
  workspace_ext_id?: string | null | undefined;
4007
4327
  dm_context_only: boolean;
@@ -4420,6 +4740,9 @@ declare class Arbi {
4420
4740
  workflow_ext_id?: string | null | undefined;
4421
4741
  agent_ext_id?: string | null | undefined;
4422
4742
  skill_ref?: string | null | undefined;
4743
+ skill_inputs?: {
4744
+ [x: string]: unknown;
4745
+ } | null | undefined;
4423
4746
  has_agent_action: boolean;
4424
4747
  auth_mode?: (components["schemas"]["src__models__work__AuthMode"] | null) | undefined;
4425
4748
  plan?: {
@@ -4430,6 +4753,22 @@ declare class Arbi {
4430
4753
  }[];
4431
4754
  max_passes: number;
4432
4755
  documents: string[];
4756
+ steps: {
4757
+ id: string;
4758
+ title: string;
4759
+ kind: "form" | "upload" | "agent" | "review";
4760
+ after?: string[] | null | undefined;
4761
+ skill?: string | null | undefined;
4762
+ prompt?: string | null | undefined;
4763
+ inputs?: {
4764
+ [x: string]: string;
4765
+ } | null | undefined;
4766
+ branch: boolean;
4767
+ requires_files: boolean;
4768
+ ui?: {
4769
+ [x: string]: unknown;
4770
+ } | null | undefined;
4771
+ }[];
4433
4772
  } | null | undefined;
4434
4773
  goal_state?: {
4435
4774
  [x: string]: unknown;
@@ -4661,6 +5000,9 @@ declare class Arbi {
4661
5000
  workflow_ext_id?: string | null;
4662
5001
  agent_ext_id?: string | null;
4663
5002
  skill_ref?: string | null;
5003
+ skill_inputs?: {
5004
+ [key: string]: unknown;
5005
+ } | null;
4664
5006
  has_agent_action: boolean;
4665
5007
  auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4666
5008
  plan?: components["schemas"]["TaskPlan"] | null;
@@ -4701,6 +5043,9 @@ declare class Arbi {
4701
5043
  workflow_ext_id?: string | null;
4702
5044
  agent_ext_id?: string | null;
4703
5045
  skill_ref?: string | null;
5046
+ skill_inputs?: {
5047
+ [key: string]: unknown;
5048
+ } | null;
4704
5049
  has_agent_action: boolean;
4705
5050
  auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4706
5051
  plan?: components["schemas"]["TaskPlan"] | null;
@@ -4741,6 +5086,9 @@ declare class Arbi {
4741
5086
  workflow_ext_id?: string | null;
4742
5087
  agent_ext_id?: string | null;
4743
5088
  skill_ref?: string | null;
5089
+ skill_inputs?: {
5090
+ [key: string]: unknown;
5091
+ } | null;
4744
5092
  has_agent_action: boolean;
4745
5093
  auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4746
5094
  plan?: components["schemas"]["TaskPlan"] | null;
@@ -4772,12 +5120,58 @@ declare class Arbi {
4772
5120
  } | null;
4773
5121
  created_at: string;
4774
5122
  }[]>;
5123
+ /** Complete or skip a step of a workflow run; the run goes on to its next agent step. */
5124
+ actOnStep: (conversationId: string, body: StepActionRequest) => Promise<{
5125
+ label_ext_ids?: string[];
5126
+ external_id: string;
5127
+ title: string | null;
5128
+ created_by_ext_id: string;
5129
+ updated_by_ext_id?: string | null;
5130
+ created_at: string;
5131
+ updated_at: string;
5132
+ is_shared: boolean;
5133
+ message_count: number;
5134
+ last_message_actor?: components["schemas"]["ConversationTurnActor"] | null;
5135
+ last_message_ext_id?: string | null;
5136
+ last_message_role?: string | null;
5137
+ last_message_updated_at?: string | null;
5138
+ last_message_status?: string | null;
5139
+ assistant_mode: components["schemas"]["AssistantMode"];
5140
+ status?: components["schemas"]["WorkStatus"] | null;
5141
+ description?: string | null;
5142
+ due_at?: string | null;
5143
+ completed_at?: string | null;
5144
+ completed_by_ext_id?: string | null;
5145
+ parent_conversation_ext_id?: string | null;
5146
+ workflow_ext_id?: string | null;
5147
+ agent_ext_id?: string | null;
5148
+ skill_ref?: string | null;
5149
+ skill_inputs?: {
5150
+ [key: string]: unknown;
5151
+ } | null;
5152
+ has_agent_action: boolean;
5153
+ auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
5154
+ plan?: components["schemas"]["TaskPlan"] | null;
5155
+ goal_state?: {
5156
+ [key: string]: unknown;
5157
+ } | null;
5158
+ last_error?: string | null;
5159
+ pending_auth_request_id?: string | null;
5160
+ in_progress: boolean;
5161
+ active_response_id?: string | null;
5162
+ run_started_at?: string | null;
5163
+ owner_ext_id?: string | null;
5164
+ is_owner: boolean;
5165
+ }>;
5166
+ /** Notify people about a conversation (each gets a notification); resolves with who was. */
5167
+ notify: (conversationId: string, userIds: string[]) => Promise<string[]>;
4775
5168
  /** Draft an editable plan from an objective. */
4776
5169
  plan: (body: PlanWorkRequest) => Promise<{
4777
5170
  goal: string;
4778
5171
  criteria: components["schemas"]["TaskPlanCriterion"][];
4779
5172
  max_passes: number;
4780
5173
  documents: string[];
5174
+ steps: components["schemas"]["TaskPlanStep"][];
4781
5175
  }>;
4782
5176
  /**
4783
5177
  * Run a work item and, when the run is parked waiting for workspace access, grant the agent's
@@ -4809,6 +5203,9 @@ declare class Arbi {
4809
5203
  workflow_ext_id?: string | null;
4810
5204
  agent_ext_id?: string | null;
4811
5205
  skill_ref?: string | null;
5206
+ skill_inputs?: {
5207
+ [key: string]: unknown;
5208
+ } | null;
4812
5209
  has_agent_action: boolean;
4813
5210
  auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4814
5211
  plan?: components["schemas"]["TaskPlan"] | null;
@@ -5204,6 +5601,7 @@ declare class Arbi {
5204
5601
  picture?: string | null | undefined;
5205
5602
  encryption_public_key: string;
5206
5603
  is_sso: boolean;
5604
+ is_identity_verified: boolean;
5207
5605
  };
5208
5606
  recipient: {
5209
5607
  external_id: string;
@@ -5214,6 +5612,7 @@ declare class Arbi {
5214
5612
  picture?: string | null | undefined;
5215
5613
  encryption_public_key: string;
5216
5614
  is_sso: boolean;
5615
+ is_identity_verified: boolean;
5217
5616
  };
5218
5617
  workspace_ext_id?: string | null | undefined;
5219
5618
  dm_context_only: boolean;
@@ -5426,6 +5825,7 @@ declare class Arbi {
5426
5825
  picture?: string | null | undefined;
5427
5826
  encryption_public_key: string;
5428
5827
  is_sso: boolean;
5828
+ is_identity_verified: boolean;
5429
5829
  } | null | undefined;
5430
5830
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
5431
5831
  created_at: string;
@@ -5445,6 +5845,7 @@ declare class Arbi {
5445
5845
  picture?: string | null | undefined;
5446
5846
  encryption_public_key: string;
5447
5847
  is_sso: boolean;
5848
+ is_identity_verified: boolean;
5448
5849
  } | null | undefined;
5449
5850
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
5450
5851
  created_at: string;
@@ -5503,6 +5904,7 @@ declare class Arbi {
5503
5904
  picture?: string | null | undefined;
5504
5905
  encryption_public_key: string;
5505
5906
  is_sso: boolean;
5907
+ is_identity_verified: boolean;
5506
5908
  };
5507
5909
  recipient: {
5508
5910
  external_id: string;
@@ -5513,6 +5915,7 @@ declare class Arbi {
5513
5915
  picture?: string | null | undefined;
5514
5916
  encryption_public_key: string;
5515
5917
  is_sso: boolean;
5918
+ is_identity_verified: boolean;
5516
5919
  };
5517
5920
  workspace_ext_id?: string | null | undefined;
5518
5921
  dm_context_only: boolean;
@@ -5541,6 +5944,7 @@ declare class Arbi {
5541
5944
  picture?: string | null | undefined;
5542
5945
  encryption_public_key: string;
5543
5946
  is_sso: boolean;
5947
+ is_identity_verified: boolean;
5544
5948
  };
5545
5949
  recipient: {
5546
5950
  external_id: string;
@@ -5551,6 +5955,7 @@ declare class Arbi {
5551
5955
  picture?: string | null | undefined;
5552
5956
  encryption_public_key: string;
5553
5957
  is_sso: boolean;
5958
+ is_identity_verified: boolean;
5554
5959
  };
5555
5960
  workspace_ext_id?: string | null | undefined;
5556
5961
  dm_context_only: boolean;
@@ -6082,6 +6487,7 @@ declare class Arbi {
6082
6487
  picture?: string | null;
6083
6488
  encryption_public_key: string;
6084
6489
  is_sso: boolean;
6490
+ is_identity_verified: boolean;
6085
6491
  }[]>;
6086
6492
  create: (name: string) => Promise<{
6087
6493
  external_id: string;
@@ -6092,6 +6498,7 @@ declare class Arbi {
6092
6498
  picture?: string | null;
6093
6499
  encryption_public_key: string;
6094
6500
  is_sso: boolean;
6501
+ is_identity_verified: boolean;
6095
6502
  signing_private_key: string;
6096
6503
  }>;
6097
6504
  getConfig: (agentExtId: string) => Promise<{
@@ -6675,6 +7082,7 @@ declare function listWorkspaces(arbi: ArbiClient): Promise<{
6675
7082
  picture?: string | null | undefined;
6676
7083
  encryption_public_key: string;
6677
7084
  is_sso: boolean;
7085
+ is_identity_verified: boolean;
6678
7086
  };
6679
7087
  role: components["schemas"]["WorkspaceRole"];
6680
7088
  joined_at: string;
@@ -6723,6 +7131,7 @@ declare function createWorkspace(arbi: ArbiClient, name: string, encryptedWorksp
6723
7131
  picture?: string | null | undefined;
6724
7132
  encryption_public_key: string;
6725
7133
  is_sso: boolean;
7134
+ is_identity_verified: boolean;
6726
7135
  };
6727
7136
  role: components["schemas"]["WorkspaceRole"];
6728
7137
  joined_at: string;
@@ -6765,6 +7174,7 @@ declare function updateWorkspace(arbi: ArbiClient, body: WorkspaceUpdateRequest)
6765
7174
  picture?: string | null | undefined;
6766
7175
  encryption_public_key: string;
6767
7176
  is_sso: boolean;
7177
+ is_identity_verified: boolean;
6768
7178
  };
6769
7179
  role: components["schemas"]["WorkspaceRole"];
6770
7180
  joined_at: string;
@@ -6789,6 +7199,7 @@ declare function listWorkspaceUsers(arbi: ArbiClient): Promise<{
6789
7199
  picture?: string | null | undefined;
6790
7200
  encryption_public_key: string;
6791
7201
  is_sso: boolean;
7202
+ is_identity_verified: boolean;
6792
7203
  };
6793
7204
  role: components["schemas"]["WorkspaceRole"];
6794
7205
  joined_at: string;
@@ -6813,6 +7224,7 @@ target?: {
6813
7224
  picture?: string | null | undefined;
6814
7225
  encryption_public_key: string;
6815
7226
  is_sso: boolean;
7227
+ is_identity_verified: boolean;
6816
7228
  };
6817
7229
  role: components["schemas"]["WorkspaceRole"];
6818
7230
  joined_at: string;
@@ -6847,6 +7259,7 @@ declare function grantTemporaryWorkspaceAccess(arbi: ArbiClient, params: {
6847
7259
  picture?: string | null | undefined;
6848
7260
  encryption_public_key: string;
6849
7261
  is_sso: boolean;
7262
+ is_identity_verified: boolean;
6850
7263
  };
6851
7264
  role: components["schemas"]["WorkspaceRole"];
6852
7265
  joined_at: string;
@@ -6867,6 +7280,7 @@ declare function setUserRole(arbi: ArbiClient, userIds: string[], role: 'owner'
6867
7280
  picture?: string | null | undefined;
6868
7281
  encryption_public_key: string;
6869
7282
  is_sso: boolean;
7283
+ is_identity_verified: boolean;
6870
7284
  };
6871
7285
  role: components["schemas"]["WorkspaceRole"];
6872
7286
  joined_at: string;
@@ -7655,7 +8069,6 @@ declare function listProjects(arbi: ArbiClient): Promise<{
7655
8069
  external_id: string;
7656
8070
  name: string;
7657
8071
  created_by: string;
7658
- packs: number;
7659
8072
  subscription: string;
7660
8073
  created_at: string;
7661
8074
  quotas: {
@@ -7674,19 +8087,86 @@ declare function listProjects(arbi: ArbiClient): Promise<{
7674
8087
  budget_reset_at?: number | null | undefined;
7675
8088
  };
7676
8089
  daily_cap_per_user?: number | null | undefined;
8090
+ plan_interval?: ("month" | "year") | null | undefined;
8091
+ packs: number;
8092
+ plan_change?: {
8093
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8094
+ charged_pence: number;
8095
+ charged_ex_vat_pence: number;
8096
+ confirm_url?: string | null | undefined;
8097
+ } | null | undefined;
8098
+ addons?: {
8099
+ packs: number;
8100
+ packs_next?: number | null | undefined;
8101
+ plan_name: string;
8102
+ plan_credits: number;
8103
+ plan_storage_gb: number;
8104
+ block_credits: number;
8105
+ block_storage_gb: number;
8106
+ credit_blocks: number;
8107
+ storage_blocks: number;
8108
+ credit_blocks_next?: number | null | undefined;
8109
+ storage_blocks_next?: number | null | undefined;
8110
+ storage_blocks_min: number;
8111
+ auto_topup_threshold_credits: number;
8112
+ min_auto_topup_threshold_credits: number;
8113
+ spend_cap_pence?: number | null | undefined;
8114
+ addon_spend_pence: number;
8115
+ addon_spend_window_end?: number | null | undefined;
8116
+ block_monthly_pence: number;
8117
+ block_monthly_ex_vat_pence: number;
8118
+ block_period_pence: number;
8119
+ block_period_ex_vat_pence: number;
8120
+ credit_block_price_pence: number;
8121
+ credit_block_price_ex_vat_pence: number;
8122
+ storage_block_price_pence: number;
8123
+ storage_block_price_ex_vat_pence: number;
8124
+ cap_reached: boolean;
8125
+ period_end?: number | null | undefined;
8126
+ credits_reset_at?: number | null | undefined;
8127
+ pending_interval?: ("month" | "year") | null | undefined;
8128
+ billing_error?: string | null | undefined;
8129
+ confirm_url?: string | null | undefined;
8130
+ upsell?: {
8131
+ variant: "compare" | "save";
8132
+ interval: "month" | "year";
8133
+ add_on_count: number;
8134
+ current_monthly_pence: number;
8135
+ current_monthly_ex_vat_pence: number;
8136
+ pro_plus_monthly_pence: number;
8137
+ pro_plus_monthly_ex_vat_pence: number;
8138
+ pro_plus_period_pence: number;
8139
+ pro_plus_credits: number;
8140
+ pro_plus_storage_gb: number;
8141
+ saving_monthly_pence: number;
8142
+ } | null | undefined;
8143
+ payment?: {
8144
+ status: "pending" | "paid";
8145
+ kind?: ("credits" | "storage") | null | undefined;
8146
+ amount_pence?: number | null | undefined;
8147
+ amount_ex_vat_pence?: number | null | undefined;
8148
+ tax_pence?: number | null | undefined;
8149
+ at?: number | null | undefined;
8150
+ confirm_url?: string | null | undefined;
8151
+ } | null | undefined;
8152
+ } | null | undefined;
7677
8153
  price_id?: string | null | undefined;
7678
8154
  plan?: string | null | undefined;
7679
8155
  amount?: number | null | undefined;
8156
+ amount_ex_vat?: number | null | undefined;
7680
8157
  currency?: string | null | undefined;
7681
8158
  current_period_end?: number | null | undefined;
7682
8159
  cancel_at_period_end?: boolean | null | undefined;
7683
8160
  portal_url?: string | null | undefined;
7684
8161
  }[]>;
7685
- declare function createProject(arbi: ArbiClient, name: string): Promise<{
8162
+ /**
8163
+ * Create a project. Defaults to a Free project, which is usable immediately; a Pro project
8164
+ * is created pending and only becomes usable after Stripe checkout (done in the web app).
8165
+ */
8166
+ declare function createProject(arbi: ArbiClient, name: string, plan?: 'free' | 'pro'): Promise<{
7686
8167
  external_id: string;
7687
8168
  name: string;
7688
8169
  created_by: string;
7689
- packs: number;
7690
8170
  subscription: string;
7691
8171
  created_at: string;
7692
8172
  quotas: {
@@ -7705,9 +8185,73 @@ declare function createProject(arbi: ArbiClient, name: string): Promise<{
7705
8185
  budget_reset_at?: number | null | undefined;
7706
8186
  };
7707
8187
  daily_cap_per_user?: number | null | undefined;
8188
+ plan_interval?: ("month" | "year") | null | undefined;
8189
+ packs: number;
8190
+ plan_change?: {
8191
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8192
+ charged_pence: number;
8193
+ charged_ex_vat_pence: number;
8194
+ confirm_url?: string | null | undefined;
8195
+ } | null | undefined;
8196
+ addons?: {
8197
+ packs: number;
8198
+ packs_next?: number | null | undefined;
8199
+ plan_name: string;
8200
+ plan_credits: number;
8201
+ plan_storage_gb: number;
8202
+ block_credits: number;
8203
+ block_storage_gb: number;
8204
+ credit_blocks: number;
8205
+ storage_blocks: number;
8206
+ credit_blocks_next?: number | null | undefined;
8207
+ storage_blocks_next?: number | null | undefined;
8208
+ storage_blocks_min: number;
8209
+ auto_topup_threshold_credits: number;
8210
+ min_auto_topup_threshold_credits: number;
8211
+ spend_cap_pence?: number | null | undefined;
8212
+ addon_spend_pence: number;
8213
+ addon_spend_window_end?: number | null | undefined;
8214
+ block_monthly_pence: number;
8215
+ block_monthly_ex_vat_pence: number;
8216
+ block_period_pence: number;
8217
+ block_period_ex_vat_pence: number;
8218
+ credit_block_price_pence: number;
8219
+ credit_block_price_ex_vat_pence: number;
8220
+ storage_block_price_pence: number;
8221
+ storage_block_price_ex_vat_pence: number;
8222
+ cap_reached: boolean;
8223
+ period_end?: number | null | undefined;
8224
+ credits_reset_at?: number | null | undefined;
8225
+ pending_interval?: ("month" | "year") | null | undefined;
8226
+ billing_error?: string | null | undefined;
8227
+ confirm_url?: string | null | undefined;
8228
+ upsell?: {
8229
+ variant: "compare" | "save";
8230
+ interval: "month" | "year";
8231
+ add_on_count: number;
8232
+ current_monthly_pence: number;
8233
+ current_monthly_ex_vat_pence: number;
8234
+ pro_plus_monthly_pence: number;
8235
+ pro_plus_monthly_ex_vat_pence: number;
8236
+ pro_plus_period_pence: number;
8237
+ pro_plus_credits: number;
8238
+ pro_plus_storage_gb: number;
8239
+ saving_monthly_pence: number;
8240
+ } | null | undefined;
8241
+ payment?: {
8242
+ status: "pending" | "paid";
8243
+ kind?: ("credits" | "storage") | null | undefined;
8244
+ amount_pence?: number | null | undefined;
8245
+ amount_ex_vat_pence?: number | null | undefined;
8246
+ tax_pence?: number | null | undefined;
8247
+ at?: number | null | undefined;
8248
+ confirm_url?: string | null | undefined;
8249
+ } | null | undefined;
8250
+ } | null | undefined;
7708
8251
  price_id?: string | null | undefined;
7709
8252
  plan?: string | null | undefined;
7710
8253
  amount?: number | null | undefined;
8254
+ amount_ex_vat?: number | null | undefined;
7711
8255
  currency?: string | null | undefined;
7712
8256
  current_period_end?: number | null | undefined;
7713
8257
  cancel_at_period_end?: boolean | null | undefined;
@@ -7718,7 +8262,6 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
7718
8262
  external_id: string;
7719
8263
  name: string;
7720
8264
  created_by: string;
7721
- packs: number;
7722
8265
  subscription: string;
7723
8266
  created_at: string;
7724
8267
  quotas: {
@@ -7737,9 +8280,73 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
7737
8280
  budget_reset_at?: number | null | undefined;
7738
8281
  };
7739
8282
  daily_cap_per_user?: number | null | undefined;
8283
+ plan_interval?: ("month" | "year") | null | undefined;
8284
+ packs: number;
8285
+ plan_change?: {
8286
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8287
+ charged_pence: number;
8288
+ charged_ex_vat_pence: number;
8289
+ confirm_url?: string | null | undefined;
8290
+ } | null | undefined;
8291
+ addons?: {
8292
+ packs: number;
8293
+ packs_next?: number | null | undefined;
8294
+ plan_name: string;
8295
+ plan_credits: number;
8296
+ plan_storage_gb: number;
8297
+ block_credits: number;
8298
+ block_storage_gb: number;
8299
+ credit_blocks: number;
8300
+ storage_blocks: number;
8301
+ credit_blocks_next?: number | null | undefined;
8302
+ storage_blocks_next?: number | null | undefined;
8303
+ storage_blocks_min: number;
8304
+ auto_topup_threshold_credits: number;
8305
+ min_auto_topup_threshold_credits: number;
8306
+ spend_cap_pence?: number | null | undefined;
8307
+ addon_spend_pence: number;
8308
+ addon_spend_window_end?: number | null | undefined;
8309
+ block_monthly_pence: number;
8310
+ block_monthly_ex_vat_pence: number;
8311
+ block_period_pence: number;
8312
+ block_period_ex_vat_pence: number;
8313
+ credit_block_price_pence: number;
8314
+ credit_block_price_ex_vat_pence: number;
8315
+ storage_block_price_pence: number;
8316
+ storage_block_price_ex_vat_pence: number;
8317
+ cap_reached: boolean;
8318
+ period_end?: number | null | undefined;
8319
+ credits_reset_at?: number | null | undefined;
8320
+ pending_interval?: ("month" | "year") | null | undefined;
8321
+ billing_error?: string | null | undefined;
8322
+ confirm_url?: string | null | undefined;
8323
+ upsell?: {
8324
+ variant: "compare" | "save";
8325
+ interval: "month" | "year";
8326
+ add_on_count: number;
8327
+ current_monthly_pence: number;
8328
+ current_monthly_ex_vat_pence: number;
8329
+ pro_plus_monthly_pence: number;
8330
+ pro_plus_monthly_ex_vat_pence: number;
8331
+ pro_plus_period_pence: number;
8332
+ pro_plus_credits: number;
8333
+ pro_plus_storage_gb: number;
8334
+ saving_monthly_pence: number;
8335
+ } | null | undefined;
8336
+ payment?: {
8337
+ status: "pending" | "paid";
8338
+ kind?: ("credits" | "storage") | null | undefined;
8339
+ amount_pence?: number | null | undefined;
8340
+ amount_ex_vat_pence?: number | null | undefined;
8341
+ tax_pence?: number | null | undefined;
8342
+ at?: number | null | undefined;
8343
+ confirm_url?: string | null | undefined;
8344
+ } | null | undefined;
8345
+ } | null | undefined;
7740
8346
  price_id?: string | null | undefined;
7741
8347
  plan?: string | null | undefined;
7742
8348
  amount?: number | null | undefined;
8349
+ amount_ex_vat?: number | null | undefined;
7743
8350
  currency?: string | null | undefined;
7744
8351
  current_period_end?: number | null | undefined;
7745
8352
  cancel_at_period_end?: boolean | null | undefined;
@@ -7750,7 +8357,6 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
7750
8357
  external_id: string;
7751
8358
  name: string;
7752
8359
  created_by: string;
7753
- packs: number;
7754
8360
  subscription: string;
7755
8361
  created_at: string;
7756
8362
  quotas: {
@@ -7769,9 +8375,73 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
7769
8375
  budget_reset_at?: number | null | undefined;
7770
8376
  };
7771
8377
  daily_cap_per_user?: number | null | undefined;
8378
+ plan_interval?: ("month" | "year") | null | undefined;
8379
+ packs: number;
8380
+ plan_change?: {
8381
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8382
+ charged_pence: number;
8383
+ charged_ex_vat_pence: number;
8384
+ confirm_url?: string | null | undefined;
8385
+ } | null | undefined;
8386
+ addons?: {
8387
+ packs: number;
8388
+ packs_next?: number | null | undefined;
8389
+ plan_name: string;
8390
+ plan_credits: number;
8391
+ plan_storage_gb: number;
8392
+ block_credits: number;
8393
+ block_storage_gb: number;
8394
+ credit_blocks: number;
8395
+ storage_blocks: number;
8396
+ credit_blocks_next?: number | null | undefined;
8397
+ storage_blocks_next?: number | null | undefined;
8398
+ storage_blocks_min: number;
8399
+ auto_topup_threshold_credits: number;
8400
+ min_auto_topup_threshold_credits: number;
8401
+ spend_cap_pence?: number | null | undefined;
8402
+ addon_spend_pence: number;
8403
+ addon_spend_window_end?: number | null | undefined;
8404
+ block_monthly_pence: number;
8405
+ block_monthly_ex_vat_pence: number;
8406
+ block_period_pence: number;
8407
+ block_period_ex_vat_pence: number;
8408
+ credit_block_price_pence: number;
8409
+ credit_block_price_ex_vat_pence: number;
8410
+ storage_block_price_pence: number;
8411
+ storage_block_price_ex_vat_pence: number;
8412
+ cap_reached: boolean;
8413
+ period_end?: number | null | undefined;
8414
+ credits_reset_at?: number | null | undefined;
8415
+ pending_interval?: ("month" | "year") | null | undefined;
8416
+ billing_error?: string | null | undefined;
8417
+ confirm_url?: string | null | undefined;
8418
+ upsell?: {
8419
+ variant: "compare" | "save";
8420
+ interval: "month" | "year";
8421
+ add_on_count: number;
8422
+ current_monthly_pence: number;
8423
+ current_monthly_ex_vat_pence: number;
8424
+ pro_plus_monthly_pence: number;
8425
+ pro_plus_monthly_ex_vat_pence: number;
8426
+ pro_plus_period_pence: number;
8427
+ pro_plus_credits: number;
8428
+ pro_plus_storage_gb: number;
8429
+ saving_monthly_pence: number;
8430
+ } | null | undefined;
8431
+ payment?: {
8432
+ status: "pending" | "paid";
8433
+ kind?: ("credits" | "storage") | null | undefined;
8434
+ amount_pence?: number | null | undefined;
8435
+ amount_ex_vat_pence?: number | null | undefined;
8436
+ tax_pence?: number | null | undefined;
8437
+ at?: number | null | undefined;
8438
+ confirm_url?: string | null | undefined;
8439
+ } | null | undefined;
8440
+ } | null | undefined;
7772
8441
  price_id?: string | null | undefined;
7773
8442
  plan?: string | null | undefined;
7774
8443
  amount?: number | null | undefined;
8444
+ amount_ex_vat?: number | null | undefined;
7775
8445
  currency?: string | null | undefined;
7776
8446
  current_period_end?: number | null | undefined;
7777
8447
  cancel_at_period_end?: boolean | null | undefined;
@@ -7782,7 +8452,6 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
7782
8452
  external_id: string;
7783
8453
  name: string;
7784
8454
  created_by: string;
7785
- packs: number;
7786
8455
  subscription: string;
7787
8456
  created_at: string;
7788
8457
  quotas: {
@@ -7801,9 +8470,73 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
7801
8470
  budget_reset_at?: number | null | undefined;
7802
8471
  };
7803
8472
  daily_cap_per_user?: number | null | undefined;
8473
+ plan_interval?: ("month" | "year") | null | undefined;
8474
+ packs: number;
8475
+ plan_change?: {
8476
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8477
+ charged_pence: number;
8478
+ charged_ex_vat_pence: number;
8479
+ confirm_url?: string | null | undefined;
8480
+ } | null | undefined;
8481
+ addons?: {
8482
+ packs: number;
8483
+ packs_next?: number | null | undefined;
8484
+ plan_name: string;
8485
+ plan_credits: number;
8486
+ plan_storage_gb: number;
8487
+ block_credits: number;
8488
+ block_storage_gb: number;
8489
+ credit_blocks: number;
8490
+ storage_blocks: number;
8491
+ credit_blocks_next?: number | null | undefined;
8492
+ storage_blocks_next?: number | null | undefined;
8493
+ storage_blocks_min: number;
8494
+ auto_topup_threshold_credits: number;
8495
+ min_auto_topup_threshold_credits: number;
8496
+ spend_cap_pence?: number | null | undefined;
8497
+ addon_spend_pence: number;
8498
+ addon_spend_window_end?: number | null | undefined;
8499
+ block_monthly_pence: number;
8500
+ block_monthly_ex_vat_pence: number;
8501
+ block_period_pence: number;
8502
+ block_period_ex_vat_pence: number;
8503
+ credit_block_price_pence: number;
8504
+ credit_block_price_ex_vat_pence: number;
8505
+ storage_block_price_pence: number;
8506
+ storage_block_price_ex_vat_pence: number;
8507
+ cap_reached: boolean;
8508
+ period_end?: number | null | undefined;
8509
+ credits_reset_at?: number | null | undefined;
8510
+ pending_interval?: ("month" | "year") | null | undefined;
8511
+ billing_error?: string | null | undefined;
8512
+ confirm_url?: string | null | undefined;
8513
+ upsell?: {
8514
+ variant: "compare" | "save";
8515
+ interval: "month" | "year";
8516
+ add_on_count: number;
8517
+ current_monthly_pence: number;
8518
+ current_monthly_ex_vat_pence: number;
8519
+ pro_plus_monthly_pence: number;
8520
+ pro_plus_monthly_ex_vat_pence: number;
8521
+ pro_plus_period_pence: number;
8522
+ pro_plus_credits: number;
8523
+ pro_plus_storage_gb: number;
8524
+ saving_monthly_pence: number;
8525
+ } | null | undefined;
8526
+ payment?: {
8527
+ status: "pending" | "paid";
8528
+ kind?: ("credits" | "storage") | null | undefined;
8529
+ amount_pence?: number | null | undefined;
8530
+ amount_ex_vat_pence?: number | null | undefined;
8531
+ tax_pence?: number | null | undefined;
8532
+ at?: number | null | undefined;
8533
+ confirm_url?: string | null | undefined;
8534
+ } | null | undefined;
8535
+ } | null | undefined;
7804
8536
  price_id?: string | null | undefined;
7805
8537
  plan?: string | null | undefined;
7806
8538
  amount?: number | null | undefined;
8539
+ amount_ex_vat?: number | null | undefined;
7807
8540
  currency?: string | null | undefined;
7808
8541
  current_period_end?: number | null | undefined;
7809
8542
  cancel_at_period_end?: boolean | null | undefined;
@@ -7899,4 +8632,47 @@ declare namespace account {
7899
8632
  export { account_confirmEmailChange as confirmEmailChange, account_requestDeletion as requestDeletion, account_requestEmailChange as requestEmailChange };
7900
8633
  }
7901
8634
 
7902
- export { type ParsedSlashCommand as $, type ActivityKind as A, type DecryptedDmNotification as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type DeferredInterjectionEvent as E, type DmAttachmentFile as F, type DmAttachmentInput as G, type DmCryptoContext as H, type DocNameMap as I, type DocumentAutomationAction as J, type DocumentListFields as K, type DocumentListOrder as L, type DocumentSelector as M, type DocumentWaiter as N, type DocumentWaiterOptions as O, type FactResponse as P, type FactSearchRequest as Q, type FactSearchResponse as R, type FormattedWsMessage as S, type ListAllOptions as T, type ListFactsOptions as U, type ListPaginatedOptions as V, type MailAttachment as W, type MessageLevel as X, type MessageMetadataPayload$1 as Y, type MessageQueuedEvent as Z, type OutputTokensDetails as _, type ActivityResponse as a, conversations as a$, type PendingAuthResponse as a0, type PlanWorkRequest as a1, type ProbeAnswerEvent as a2, type ProjectInvoicesResponse as a3, type ProjectUsageResponse as a4, type QueryOptions as a5, type ReconnectOptions as a6, type ReconnectableWsConnection as a7, type ResolvedCitation as a8, type ResolvedRecipient as a9, type UploadResult as aA, type UserDailyUsageResponse as aB, type UserInfo as aC, type UserInputRequestEvent as aD, type UserMessageEvent as aE, WebSocketAuthError as aF, type WorkStatus as aG, type WorkflowAuthMode as aH, type WorkflowResponse as aI, type WorkflowRunHistoryResponse as aJ, type WorkflowRunResponse as aK, type WorkspaceContext as aL, type WsConnection as aM, account as aN, agentconfig as aO, agents as aP, assistant as aQ, authenticatedFetch as aR, buildDocNameMap as aS, buildFactsContextTool as aT, buildRetrievalChunkTool as aU, buildRetrievalFullContextTool as aV, buildRetrievalTocTool as aW, connectWebSocket as aX, connectWithReconnect as aY, consumeSSEStream as aZ, contacts as a_, type ResponseCompletedEvent as aa, type ResponseContentPartAddedEvent as ab, type ResponseCreatedEvent as ac, type ResponseFailedEvent as ad, type ResponseOutputItemAddedEvent as ae, type ResponseOutputItemDoneEvent as af, type ResponseOutputTextDeltaEvent as ag, type ResponseOutputTextDoneEvent as ah, type ResponseUsage as ai, type SSEEvent as aj, type SSEStreamCallbacks as ak, type SSEStreamResult as al, type SSEStreamStartData as am, SUPPORTED_EXTENSIONS as an, type SkillSummary as ao, type SkippedFile as ap, type SubmitBackgroundQueryOptions as aq, type TaskPlan as ar, type TokenBudgetContext as as, type UpdateConversationRequest as at, type UpdateFactRequest as au, type UpdateWorkflowRequest as av, type UploadBatchResult as aw, type UploadDirectOptions as ax, type UploadDirectResult as ay, type UploadOptions as az, type AgentControlStateEvent as b, countCitations as b0, createAuthenticatedClient as b1, createDocumentWaiter as b2, dm as b3, doctags as b4, documents as b5, facts as b6, files as b7, filterSkills as b8, formatAgentStepLabel as b9, responses as bA, selectWorkspace as bB, selectWorkspaceById as bC, sessions as bD, settings as bE, streamSSE as bF, stripCitationMarkdown as bG, summarizeCitations as bH, tags as bI, work as bJ, workflows as bK, workspaces as bL, formatFileSize as ba, formatItemLabel as bb, formatStreamSummary as bc, formatUserName as bd, formatWorkspaceChoices as be, formatWsMessage as bf, generateEncryptedWorkspaceKey as bg, generateNewWorkspaceKey as bh, getErrorCode as bi, getErrorMessage as bj, getRawWorkspaceKey as bk, health as bl, mail as bm, parseSSEEvents as bn, parseSlashCommand as bo, parseSlashTokenInProgress as bp, performPasswordLogin as bq, performSigningKeyLogin as br, performSsoDeviceFlowLogin as bs, profile as bt, projects as bu, requireData as bv, requireOk as bw, resolveAuth as bx, resolveCitations as by, resolveWorkspace as bz, type AgentStepDeltaEvent as c, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type CreateFactRequest as w, type CreateFactsRequest as x, type CreateWorkRequest as y, type CreateWorkflowRequest as z };
8635
+ /**
8636
+ * Identity verification — the optional, paid ID check behind the verified tick (Pro plans only).
8637
+ *
8638
+ * The backend charges a one-time fee to one of the user's own Pro projects, opens a Didit session
8639
+ * (the client runs Didit's web SDK on its URL) and reads the decision when asked to `refresh`.
8640
+ * Nothing from the document is kept by ARBI.
8641
+ */
8642
+
8643
+ type IdentityStatus = components['schemas']['IdentityStatusResponse'];
8644
+ type IdentityState = IdentityStatus['state'];
8645
+ type IdentityPurchase = components['schemas']['IdentityPurchaseResponse'];
8646
+ /** Why a 402 / 409 was refused, as the backend codes it (`PRO_REQUIRED`, `PAYMENT_DECLINED`, …). */
8647
+ type IdentityErrorCode = 'PRO_REQUIRED' | 'IDENTITY_FEE_REQUIRED' | 'PAYMENT_METHOD_REQUIRED' | 'BILLING_ADDRESS_REQUIRED' | 'PAYMENT_DECLINED';
8648
+ /** The refusal code of a failed identity call (see {@link IdentityErrorCode}), when it had one. */
8649
+ declare function identityErrorCode(error: unknown): string | undefined;
8650
+ /** Whether verification is offered to this user, its price, and where their check stands. */
8651
+ declare function getStatus(arbi: ArbiClient): Promise<IdentityStatus>;
8652
+ /** Charge the one-time fee to an own Pro project (default: the first). */
8653
+ declare function purchase(arbi: ArbiClient, projectExtId?: string): Promise<IdentityPurchase>;
8654
+ /** The Didit session URL to verify in (resumes an open one). */
8655
+ declare function startSession(arbi: ArbiClient): Promise<string>;
8656
+ /** Read the open check's decision and return the updated status. */
8657
+ declare function refresh(arbi: ArbiClient): Promise<IdentityStatus>;
8658
+ /** Take the name on the document as the account name and get the tick. */
8659
+ declare function acceptName(arbi: ArbiClient): Promise<IdentityStatus>;
8660
+ /** Remove the tick and erase any open check. Paid attempts are kept. */
8661
+ declare function remove(arbi: ArbiClient): Promise<IdentityStatus>;
8662
+
8663
+ type identity_IdentityErrorCode = IdentityErrorCode;
8664
+ type identity_IdentityPurchase = IdentityPurchase;
8665
+ type identity_IdentityState = IdentityState;
8666
+ type identity_IdentityStatus = IdentityStatus;
8667
+ declare const identity_acceptName: typeof acceptName;
8668
+ declare const identity_getStatus: typeof getStatus;
8669
+ declare const identity_identityErrorCode: typeof identityErrorCode;
8670
+ declare const identity_purchase: typeof purchase;
8671
+ declare const identity_refresh: typeof refresh;
8672
+ declare const identity_remove: typeof remove;
8673
+ declare const identity_startSession: typeof startSession;
8674
+ declare namespace identity {
8675
+ export { type identity_IdentityErrorCode as IdentityErrorCode, type identity_IdentityPurchase as IdentityPurchase, type identity_IdentityState as IdentityState, type identity_IdentityStatus as IdentityStatus, identity_acceptName as acceptName, identity_getStatus as getStatus, identity_identityErrorCode as identityErrorCode, identity_purchase as purchase, identity_refresh as refresh, identity_remove as remove, identity_startSession as startSession };
8676
+ }
8677
+
8678
+ export { type MessageLevel as $, type ActivityKind as A, type DecryptedDmNotification as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type DeferredInterjectionEvent as E, type DmAttachmentFile as F, type DmAttachmentInput as G, type DmCryptoContext as H, type DocNameMap as I, type DocumentAutomationAction as J, type DocumentListFields as K, type DocumentListOrder as L, type DocumentSelector as M, type DocumentWaiter as N, type DocumentWaiterOptions as O, type FactResponse as P, type FactSearchRequest as Q, type FactSearchResponse as R, type FormattedWsMessage as S, type IdentityErrorCode as T, type IdentityPurchase as U, type IdentityState as V, type IdentityStatus as W, type ListAllOptions as X, type ListFactsOptions as Y, type ListPaginatedOptions as Z, type MailAttachment as _, type ActivityResponse as a, buildRetrievalTocTool as a$, type MessageMetadataPayload$1 as a0, type MessageQueuedEvent as a1, type OutputTokensDetails as a2, type ParsedSlashCommand as a3, type PendingAuthResponse as a4, type PlanWorkRequest as a5, type ProbeAnswerEvent as a6, type ProjectInvoicesResponse as a7, type ProjectUsageResponse as a8, type QueryOptions as a9, type UpdateWorkflowRequest as aA, type UploadBatchResult as aB, type UploadDirectOptions as aC, type UploadDirectResult as aD, type UploadOptions as aE, type UploadResult as aF, type UserDailyUsageResponse as aG, type UserInfo as aH, type UserInputRequestEvent as aI, type UserMessageEvent as aJ, WebSocketAuthError as aK, type WorkStatus as aL, type WorkflowAuthMode as aM, type WorkflowResponse as aN, type WorkflowRunHistoryResponse as aO, type WorkflowRunResponse as aP, type WorkspaceContext as aQ, type WsConnection as aR, account as aS, agentconfig as aT, agents as aU, assistant as aV, authenticatedFetch as aW, buildDocNameMap as aX, buildFactsContextTool as aY, buildRetrievalChunkTool as aZ, buildRetrievalFullContextTool as a_, type ReconnectOptions as aa, type ReconnectableWsConnection as ab, type ResolvedCitation as ac, type ResolvedRecipient as ad, type ResponseCompletedEvent as ae, type ResponseContentPartAddedEvent as af, type ResponseCreatedEvent as ag, type ResponseFailedEvent as ah, type ResponseOutputItemAddedEvent as ai, type ResponseOutputItemDoneEvent as aj, type ResponseOutputTextDeltaEvent as ak, type ResponseOutputTextDoneEvent as al, type ResponseUsage as am, type SSEEvent as an, type SSEStreamCallbacks as ao, type SSEStreamResult as ap, type SSEStreamStartData as aq, SUPPORTED_EXTENSIONS as ar, type SkillSummary as as, type SkippedFile as at, type StepActionRequest as au, type SubmitBackgroundQueryOptions as av, type TaskPlan as aw, type TokenBudgetContext as ax, type UpdateConversationRequest as ay, type UpdateFactRequest as az, type AgentControlStateEvent as b, connectWebSocket as b0, connectWithReconnect as b1, consumeSSEStream as b2, contacts as b3, conversations as b4, countCitations as b5, createAuthenticatedClient as b6, createDocumentWaiter as b7, dm as b8, doctags as b9, profile as bA, projects as bB, requireData as bC, requireOk as bD, resolveAuth as bE, resolveCitations as bF, resolveWorkspace as bG, responses as bH, selectWorkspace as bI, selectWorkspaceById as bJ, sessions as bK, settings as bL, streamSSE as bM, stripCitationMarkdown as bN, summarizeCitations as bO, tags as bP, work as bQ, workflows as bR, workspaces as bS, documents as ba, facts as bb, files as bc, filterSkills as bd, formatAgentStepLabel as be, formatFileSize as bf, formatItemLabel as bg, formatStreamSummary as bh, formatUserName as bi, formatWorkspaceChoices as bj, formatWsMessage as bk, generateEncryptedWorkspaceKey as bl, generateNewWorkspaceKey as bm, getErrorCode as bn, getErrorMessage as bo, getRawWorkspaceKey as bp, health as bq, identity as br, identityErrorCode as bs, mail as bt, parseSSEEvents as bu, parseSlashCommand as bv, parseSlashTokenInProgress as bw, performPasswordLogin as bx, performSigningKeyLogin as by, performSsoDeviceFlowLogin as bz, type AgentStepDeltaEvent as c, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type CreateFactRequest as w, type CreateFactsRequest as x, type CreateWorkRequest as y, type CreateWorkflowRequest as z };