@arbidocs/sdk 0.4.71 → 0.4.72

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.
@@ -2297,6 +2297,7 @@ declare function listContacts(arbi: ArbiClient): Promise<{
2297
2297
  picture?: string | null | undefined;
2298
2298
  encryption_public_key: string;
2299
2299
  is_sso: boolean;
2300
+ is_identity_verified: boolean;
2300
2301
  } | null | undefined;
2301
2302
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2302
2303
  created_at: string;
@@ -2316,6 +2317,7 @@ declare function addContacts(arbi: ArbiClient, emails: string[]): Promise<{
2316
2317
  picture?: string | null | undefined;
2317
2318
  encryption_public_key: string;
2318
2319
  is_sso: boolean;
2320
+ is_identity_verified: boolean;
2319
2321
  } | null | undefined;
2320
2322
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2321
2323
  created_at: string;
@@ -2490,6 +2492,7 @@ declare function listDMs(arbi: ArbiClient): Promise<{
2490
2492
  picture?: string | null | undefined;
2491
2493
  encryption_public_key: string;
2492
2494
  is_sso: boolean;
2495
+ is_identity_verified: boolean;
2493
2496
  };
2494
2497
  recipient: {
2495
2498
  external_id: string;
@@ -2500,6 +2503,7 @@ declare function listDMs(arbi: ArbiClient): Promise<{
2500
2503
  picture?: string | null | undefined;
2501
2504
  encryption_public_key: string;
2502
2505
  is_sso: boolean;
2506
+ is_identity_verified: boolean;
2503
2507
  };
2504
2508
  workspace_ext_id?: string | null | undefined;
2505
2509
  dm_context_only: boolean;
@@ -2538,6 +2542,7 @@ declare function listActivity(arbi: ArbiClient, options?: {
2538
2542
  picture?: string | null | undefined;
2539
2543
  encryption_public_key: string;
2540
2544
  is_sso: boolean;
2545
+ is_identity_verified: boolean;
2541
2546
  };
2542
2547
  recipient: {
2543
2548
  external_id: string;
@@ -2548,6 +2553,7 @@ declare function listActivity(arbi: ArbiClient, options?: {
2548
2553
  picture?: string | null | undefined;
2549
2554
  encryption_public_key: string;
2550
2555
  is_sso: boolean;
2556
+ is_identity_verified: boolean;
2551
2557
  };
2552
2558
  workspace_ext_id?: string | null | undefined;
2553
2559
  dm_context_only: boolean;
@@ -2628,6 +2634,7 @@ declare function requestWorkspaceAccess(arbi: ArbiClient, params: {
2628
2634
  picture?: string | null | undefined;
2629
2635
  encryption_public_key: string;
2630
2636
  is_sso: boolean;
2637
+ is_identity_verified: boolean;
2631
2638
  };
2632
2639
  recipient: {
2633
2640
  external_id: string;
@@ -2638,6 +2645,7 @@ declare function requestWorkspaceAccess(arbi: ArbiClient, params: {
2638
2645
  picture?: string | null | undefined;
2639
2646
  encryption_public_key: string;
2640
2647
  is_sso: boolean;
2648
+ is_identity_verified: boolean;
2641
2649
  };
2642
2650
  workspace_ext_id?: string | null | undefined;
2643
2651
  dm_context_only: boolean;
@@ -2668,6 +2676,7 @@ declare function sendDM(arbi: ArbiClient, messages: Array<{
2668
2676
  picture?: string | null | undefined;
2669
2677
  encryption_public_key: string;
2670
2678
  is_sso: boolean;
2679
+ is_identity_verified: boolean;
2671
2680
  };
2672
2681
  recipient: {
2673
2682
  external_id: string;
@@ -2678,6 +2687,7 @@ declare function sendDM(arbi: ArbiClient, messages: Array<{
2678
2687
  picture?: string | null | undefined;
2679
2688
  encryption_public_key: string;
2680
2689
  is_sso: boolean;
2690
+ is_identity_verified: boolean;
2681
2691
  };
2682
2692
  workspace_ext_id?: string | null | undefined;
2683
2693
  dm_context_only: boolean;
@@ -2701,6 +2711,7 @@ declare function markRead(arbi: ArbiClient, messageIds: string[]): Promise<{
2701
2711
  picture?: string | null | undefined;
2702
2712
  encryption_public_key: string;
2703
2713
  is_sso: boolean;
2714
+ is_identity_verified: boolean;
2704
2715
  };
2705
2716
  recipient: {
2706
2717
  external_id: string;
@@ -2711,6 +2722,7 @@ declare function markRead(arbi: ArbiClient, messageIds: string[]): Promise<{
2711
2722
  picture?: string | null | undefined;
2712
2723
  encryption_public_key: string;
2713
2724
  is_sso: boolean;
2725
+ is_identity_verified: boolean;
2714
2726
  };
2715
2727
  workspace_ext_id?: string | null | undefined;
2716
2728
  dm_context_only: boolean;
@@ -3204,6 +3216,7 @@ declare function updateProfile(arbi: ArbiClient, body: UpdateProfileRequest): Pr
3204
3216
  family_name?: string | null | undefined;
3205
3217
  email: string;
3206
3218
  picture?: string | null | undefined;
3219
+ is_identity_verified: boolean;
3207
3220
  }>;
3208
3221
 
3209
3222
  type profile_UpdateProfileRequest = UpdateProfileRequest;
@@ -3549,7 +3562,6 @@ declare class Arbi {
3549
3562
  external_id: string;
3550
3563
  name: string;
3551
3564
  created_by: string;
3552
- packs: number;
3553
3565
  subscription: string;
3554
3566
  created_at: string;
3555
3567
  quotas: {
@@ -3568,9 +3580,73 @@ declare class Arbi {
3568
3580
  budget_reset_at?: number | null | undefined;
3569
3581
  };
3570
3582
  daily_cap_per_user?: number | null | undefined;
3583
+ plan_interval?: ("month" | "year") | null | undefined;
3584
+ packs: number;
3585
+ plan_change?: {
3586
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
3587
+ charged_pence: number;
3588
+ charged_ex_vat_pence: number;
3589
+ confirm_url?: string | null | undefined;
3590
+ } | null | undefined;
3591
+ addons?: {
3592
+ packs: number;
3593
+ packs_next?: number | null | undefined;
3594
+ plan_name: string;
3595
+ plan_credits: number;
3596
+ plan_storage_gb: number;
3597
+ block_credits: number;
3598
+ block_storage_gb: number;
3599
+ credit_blocks: number;
3600
+ storage_blocks: number;
3601
+ credit_blocks_next?: number | null | undefined;
3602
+ storage_blocks_next?: number | null | undefined;
3603
+ storage_blocks_min: number;
3604
+ auto_topup_threshold_credits: number;
3605
+ min_auto_topup_threshold_credits: number;
3606
+ spend_cap_pence?: number | null | undefined;
3607
+ addon_spend_pence: number;
3608
+ addon_spend_window_end?: number | null | undefined;
3609
+ block_monthly_pence: number;
3610
+ block_monthly_ex_vat_pence: number;
3611
+ block_period_pence: number;
3612
+ block_period_ex_vat_pence: number;
3613
+ credit_block_price_pence: number;
3614
+ credit_block_price_ex_vat_pence: number;
3615
+ storage_block_price_pence: number;
3616
+ storage_block_price_ex_vat_pence: number;
3617
+ cap_reached: boolean;
3618
+ period_end?: number | null | undefined;
3619
+ credits_reset_at?: number | null | undefined;
3620
+ pending_interval?: ("month" | "year") | null | undefined;
3621
+ billing_error?: string | null | undefined;
3622
+ confirm_url?: string | null | undefined;
3623
+ upsell?: {
3624
+ variant: "compare" | "save";
3625
+ interval: "month" | "year";
3626
+ add_on_count: number;
3627
+ current_monthly_pence: number;
3628
+ current_monthly_ex_vat_pence: number;
3629
+ pro_plus_monthly_pence: number;
3630
+ pro_plus_monthly_ex_vat_pence: number;
3631
+ pro_plus_period_pence: number;
3632
+ pro_plus_credits: number;
3633
+ pro_plus_storage_gb: number;
3634
+ saving_monthly_pence: number;
3635
+ } | null | undefined;
3636
+ payment?: {
3637
+ status: "pending" | "paid";
3638
+ kind?: ("credits" | "storage") | null | undefined;
3639
+ amount_pence?: number | null | undefined;
3640
+ amount_ex_vat_pence?: number | null | undefined;
3641
+ tax_pence?: number | null | undefined;
3642
+ at?: number | null | undefined;
3643
+ confirm_url?: string | null | undefined;
3644
+ } | null | undefined;
3645
+ } | null | undefined;
3571
3646
  price_id?: string | null | undefined;
3572
3647
  plan?: string | null | undefined;
3573
3648
  amount?: number | null | undefined;
3649
+ amount_ex_vat?: number | null | undefined;
3574
3650
  currency?: string | null | undefined;
3575
3651
  current_period_end?: number | null | undefined;
3576
3652
  cancel_at_period_end?: boolean | null | undefined;
@@ -3580,7 +3656,6 @@ declare class Arbi {
3580
3656
  external_id: string;
3581
3657
  name: string;
3582
3658
  created_by: string;
3583
- packs: number;
3584
3659
  subscription: string;
3585
3660
  created_at: string;
3586
3661
  quotas: {
@@ -3599,9 +3674,73 @@ declare class Arbi {
3599
3674
  budget_reset_at?: number | null | undefined;
3600
3675
  };
3601
3676
  daily_cap_per_user?: number | null | undefined;
3677
+ plan_interval?: ("month" | "year") | null | undefined;
3678
+ packs: number;
3679
+ plan_change?: {
3680
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
3681
+ charged_pence: number;
3682
+ charged_ex_vat_pence: number;
3683
+ confirm_url?: string | null | undefined;
3684
+ } | null | undefined;
3685
+ addons?: {
3686
+ packs: number;
3687
+ packs_next?: number | null | undefined;
3688
+ plan_name: string;
3689
+ plan_credits: number;
3690
+ plan_storage_gb: number;
3691
+ block_credits: number;
3692
+ block_storage_gb: number;
3693
+ credit_blocks: number;
3694
+ storage_blocks: number;
3695
+ credit_blocks_next?: number | null | undefined;
3696
+ storage_blocks_next?: number | null | undefined;
3697
+ storage_blocks_min: number;
3698
+ auto_topup_threshold_credits: number;
3699
+ min_auto_topup_threshold_credits: number;
3700
+ spend_cap_pence?: number | null | undefined;
3701
+ addon_spend_pence: number;
3702
+ addon_spend_window_end?: number | null | undefined;
3703
+ block_monthly_pence: number;
3704
+ block_monthly_ex_vat_pence: number;
3705
+ block_period_pence: number;
3706
+ block_period_ex_vat_pence: number;
3707
+ credit_block_price_pence: number;
3708
+ credit_block_price_ex_vat_pence: number;
3709
+ storage_block_price_pence: number;
3710
+ storage_block_price_ex_vat_pence: number;
3711
+ cap_reached: boolean;
3712
+ period_end?: number | null | undefined;
3713
+ credits_reset_at?: number | null | undefined;
3714
+ pending_interval?: ("month" | "year") | null | undefined;
3715
+ billing_error?: string | null | undefined;
3716
+ confirm_url?: string | null | undefined;
3717
+ upsell?: {
3718
+ variant: "compare" | "save";
3719
+ interval: "month" | "year";
3720
+ add_on_count: number;
3721
+ current_monthly_pence: number;
3722
+ current_monthly_ex_vat_pence: number;
3723
+ pro_plus_monthly_pence: number;
3724
+ pro_plus_monthly_ex_vat_pence: number;
3725
+ pro_plus_period_pence: number;
3726
+ pro_plus_credits: number;
3727
+ pro_plus_storage_gb: number;
3728
+ saving_monthly_pence: number;
3729
+ } | null | undefined;
3730
+ payment?: {
3731
+ status: "pending" | "paid";
3732
+ kind?: ("credits" | "storage") | null | undefined;
3733
+ amount_pence?: number | null | undefined;
3734
+ amount_ex_vat_pence?: number | null | undefined;
3735
+ tax_pence?: number | null | undefined;
3736
+ at?: number | null | undefined;
3737
+ confirm_url?: string | null | undefined;
3738
+ } | null | undefined;
3739
+ } | null | undefined;
3602
3740
  price_id?: string | null | undefined;
3603
3741
  plan?: string | null | undefined;
3604
3742
  amount?: number | null | undefined;
3743
+ amount_ex_vat?: number | null | undefined;
3605
3744
  currency?: string | null | undefined;
3606
3745
  current_period_end?: number | null | undefined;
3607
3746
  cancel_at_period_end?: boolean | null | undefined;
@@ -3611,7 +3750,6 @@ declare class Arbi {
3611
3750
  external_id: string;
3612
3751
  name: string;
3613
3752
  created_by: string;
3614
- packs: number;
3615
3753
  subscription: string;
3616
3754
  created_at: string;
3617
3755
  quotas: {
@@ -3630,9 +3768,73 @@ declare class Arbi {
3630
3768
  budget_reset_at?: number | null | undefined;
3631
3769
  };
3632
3770
  daily_cap_per_user?: number | null | undefined;
3771
+ plan_interval?: ("month" | "year") | null | undefined;
3772
+ packs: number;
3773
+ plan_change?: {
3774
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
3775
+ charged_pence: number;
3776
+ charged_ex_vat_pence: number;
3777
+ confirm_url?: string | null | undefined;
3778
+ } | null | undefined;
3779
+ addons?: {
3780
+ packs: number;
3781
+ packs_next?: number | null | undefined;
3782
+ plan_name: string;
3783
+ plan_credits: number;
3784
+ plan_storage_gb: number;
3785
+ block_credits: number;
3786
+ block_storage_gb: number;
3787
+ credit_blocks: number;
3788
+ storage_blocks: number;
3789
+ credit_blocks_next?: number | null | undefined;
3790
+ storage_blocks_next?: number | null | undefined;
3791
+ storage_blocks_min: number;
3792
+ auto_topup_threshold_credits: number;
3793
+ min_auto_topup_threshold_credits: number;
3794
+ spend_cap_pence?: number | null | undefined;
3795
+ addon_spend_pence: number;
3796
+ addon_spend_window_end?: number | null | undefined;
3797
+ block_monthly_pence: number;
3798
+ block_monthly_ex_vat_pence: number;
3799
+ block_period_pence: number;
3800
+ block_period_ex_vat_pence: number;
3801
+ credit_block_price_pence: number;
3802
+ credit_block_price_ex_vat_pence: number;
3803
+ storage_block_price_pence: number;
3804
+ storage_block_price_ex_vat_pence: number;
3805
+ cap_reached: boolean;
3806
+ period_end?: number | null | undefined;
3807
+ credits_reset_at?: number | null | undefined;
3808
+ pending_interval?: ("month" | "year") | null | undefined;
3809
+ billing_error?: string | null | undefined;
3810
+ confirm_url?: string | null | undefined;
3811
+ upsell?: {
3812
+ variant: "compare" | "save";
3813
+ interval: "month" | "year";
3814
+ add_on_count: number;
3815
+ current_monthly_pence: number;
3816
+ current_monthly_ex_vat_pence: number;
3817
+ pro_plus_monthly_pence: number;
3818
+ pro_plus_monthly_ex_vat_pence: number;
3819
+ pro_plus_period_pence: number;
3820
+ pro_plus_credits: number;
3821
+ pro_plus_storage_gb: number;
3822
+ saving_monthly_pence: number;
3823
+ } | null | undefined;
3824
+ payment?: {
3825
+ status: "pending" | "paid";
3826
+ kind?: ("credits" | "storage") | null | undefined;
3827
+ amount_pence?: number | null | undefined;
3828
+ amount_ex_vat_pence?: number | null | undefined;
3829
+ tax_pence?: number | null | undefined;
3830
+ at?: number | null | undefined;
3831
+ confirm_url?: string | null | undefined;
3832
+ } | null | undefined;
3833
+ } | null | undefined;
3633
3834
  price_id?: string | null | undefined;
3634
3835
  plan?: string | null | undefined;
3635
3836
  amount?: number | null | undefined;
3837
+ amount_ex_vat?: number | null | undefined;
3636
3838
  currency?: string | null | undefined;
3637
3839
  current_period_end?: number | null | undefined;
3638
3840
  cancel_at_period_end?: boolean | null | undefined;
@@ -3705,6 +3907,7 @@ declare class Arbi {
3705
3907
  family_name?: string | null | undefined;
3706
3908
  email: string;
3707
3909
  picture?: string | null | undefined;
3910
+ is_identity_verified: boolean;
3708
3911
  }>;
3709
3912
  };
3710
3913
  readonly account: {
@@ -3729,6 +3932,80 @@ declare class Arbi {
3729
3932
  detail: string;
3730
3933
  }>;
3731
3934
  };
3935
+ readonly identity: {
3936
+ /** Whether the ID check is offered (Pro plans), its price, and where the user's check stands. */
3937
+ status: () => Promise<{
3938
+ enabled: boolean;
3939
+ eligible: boolean;
3940
+ required: boolean;
3941
+ price_pence: number;
3942
+ currency: string;
3943
+ attempts_per_fee: number;
3944
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
3945
+ attempts_left: number;
3946
+ pending_payment_url?: string | null;
3947
+ verified: boolean;
3948
+ document_country?: string | null;
3949
+ document_given_name?: string | null;
3950
+ document_family_name?: string | null;
3951
+ }>;
3952
+ /** Charge the one-time fee to an own Pro project; `requires_action` carries a payment URL. */
3953
+ purchase: (projectExtId?: string) => Promise<{
3954
+ status: "paid" | "requires_action";
3955
+ payment_url?: string | null;
3956
+ }>;
3957
+ /** The Didit session URL to run the web SDK on. */
3958
+ startSession: () => Promise<string>;
3959
+ /** Read the decision of the open check; the profile follows a granted tick. */
3960
+ refresh: () => Promise<{
3961
+ enabled: boolean;
3962
+ eligible: boolean;
3963
+ required: boolean;
3964
+ price_pence: number;
3965
+ currency: string;
3966
+ attempts_per_fee: number;
3967
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
3968
+ attempts_left: number;
3969
+ pending_payment_url?: string | null;
3970
+ verified: boolean;
3971
+ document_country?: string | null;
3972
+ document_given_name?: string | null;
3973
+ document_family_name?: string | null;
3974
+ }>;
3975
+ /** Take the name on the document as the account name; the profile follows. */
3976
+ acceptName: () => Promise<{
3977
+ enabled: boolean;
3978
+ eligible: boolean;
3979
+ required: boolean;
3980
+ price_pence: number;
3981
+ currency: string;
3982
+ attempts_per_fee: number;
3983
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
3984
+ attempts_left: number;
3985
+ pending_payment_url?: string | null;
3986
+ verified: boolean;
3987
+ document_country?: string | null;
3988
+ document_given_name?: string | null;
3989
+ document_family_name?: string | null;
3990
+ }>;
3991
+ /** Remove the tick and erase any open check. */
3992
+ remove: () => Promise<{
3993
+ enabled: boolean;
3994
+ eligible: boolean;
3995
+ required: boolean;
3996
+ price_pence: number;
3997
+ currency: string;
3998
+ attempts_per_fee: number;
3999
+ state: "none" | "in_progress" | "in_review" | "name_mismatch" | "declined" | "verified";
4000
+ attempts_left: number;
4001
+ pending_payment_url?: string | null;
4002
+ verified: boolean;
4003
+ document_country?: string | null;
4004
+ document_given_name?: string | null;
4005
+ document_family_name?: string | null;
4006
+ }>;
4007
+ };
4008
+ private syncIdentity;
3732
4009
  readonly workspaces: {
3733
4010
  list: () => Promise<{
3734
4011
  external_id: string;
@@ -3757,6 +4034,7 @@ declare class Arbi {
3757
4034
  picture?: string | null | undefined;
3758
4035
  encryption_public_key: string;
3759
4036
  is_sso: boolean;
4037
+ is_identity_verified: boolean;
3760
4038
  };
3761
4039
  role: components["schemas"]["WorkspaceRole"];
3762
4040
  joined_at: string;
@@ -3798,6 +4076,7 @@ declare class Arbi {
3798
4076
  picture?: string | null | undefined;
3799
4077
  encryption_public_key: string;
3800
4078
  is_sso: boolean;
4079
+ is_identity_verified: boolean;
3801
4080
  };
3802
4081
  role: components["schemas"]["WorkspaceRole"];
3803
4082
  joined_at: string;
@@ -3840,6 +4119,7 @@ declare class Arbi {
3840
4119
  picture?: string | null | undefined;
3841
4120
  encryption_public_key: string;
3842
4121
  is_sso: boolean;
4122
+ is_identity_verified: boolean;
3843
4123
  };
3844
4124
  role: components["schemas"]["WorkspaceRole"];
3845
4125
  joined_at: string;
@@ -3864,6 +4144,7 @@ declare class Arbi {
3864
4144
  picture?: string | null | undefined;
3865
4145
  encryption_public_key: string;
3866
4146
  is_sso: boolean;
4147
+ is_identity_verified: boolean;
3867
4148
  };
3868
4149
  role: components["schemas"]["WorkspaceRole"];
3869
4150
  joined_at: string;
@@ -3883,6 +4164,7 @@ declare class Arbi {
3883
4164
  picture?: string | null | undefined;
3884
4165
  encryption_public_key: string;
3885
4166
  is_sso: boolean;
4167
+ is_identity_verified: boolean;
3886
4168
  };
3887
4169
  role: components["schemas"]["WorkspaceRole"];
3888
4170
  joined_at: string;
@@ -3913,6 +4195,7 @@ declare class Arbi {
3913
4195
  picture?: string | null | undefined;
3914
4196
  encryption_public_key: string;
3915
4197
  is_sso: boolean;
4198
+ is_identity_verified: boolean;
3916
4199
  };
3917
4200
  role: components["schemas"]["WorkspaceRole"];
3918
4201
  joined_at: string;
@@ -3940,6 +4223,7 @@ declare class Arbi {
3940
4223
  picture?: string | null | undefined;
3941
4224
  encryption_public_key: string;
3942
4225
  is_sso: boolean;
4226
+ is_identity_verified: boolean;
3943
4227
  };
3944
4228
  role: components["schemas"]["WorkspaceRole"];
3945
4229
  joined_at: string;
@@ -3960,6 +4244,7 @@ declare class Arbi {
3960
4244
  picture?: string | null | undefined;
3961
4245
  encryption_public_key: string;
3962
4246
  is_sso: boolean;
4247
+ is_identity_verified: boolean;
3963
4248
  };
3964
4249
  role: components["schemas"]["WorkspaceRole"];
3965
4250
  joined_at: string;
@@ -3992,6 +4277,7 @@ declare class Arbi {
3992
4277
  picture?: string | null | undefined;
3993
4278
  encryption_public_key: string;
3994
4279
  is_sso: boolean;
4280
+ is_identity_verified: boolean;
3995
4281
  };
3996
4282
  recipient: {
3997
4283
  external_id: string;
@@ -4002,6 +4288,7 @@ declare class Arbi {
4002
4288
  picture?: string | null | undefined;
4003
4289
  encryption_public_key: string;
4004
4290
  is_sso: boolean;
4291
+ is_identity_verified: boolean;
4005
4292
  };
4006
4293
  workspace_ext_id?: string | null | undefined;
4007
4294
  dm_context_only: boolean;
@@ -5204,6 +5491,7 @@ declare class Arbi {
5204
5491
  picture?: string | null | undefined;
5205
5492
  encryption_public_key: string;
5206
5493
  is_sso: boolean;
5494
+ is_identity_verified: boolean;
5207
5495
  };
5208
5496
  recipient: {
5209
5497
  external_id: string;
@@ -5214,6 +5502,7 @@ declare class Arbi {
5214
5502
  picture?: string | null | undefined;
5215
5503
  encryption_public_key: string;
5216
5504
  is_sso: boolean;
5505
+ is_identity_verified: boolean;
5217
5506
  };
5218
5507
  workspace_ext_id?: string | null | undefined;
5219
5508
  dm_context_only: boolean;
@@ -5426,6 +5715,7 @@ declare class Arbi {
5426
5715
  picture?: string | null | undefined;
5427
5716
  encryption_public_key: string;
5428
5717
  is_sso: boolean;
5718
+ is_identity_verified: boolean;
5429
5719
  } | null | undefined;
5430
5720
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
5431
5721
  created_at: string;
@@ -5445,6 +5735,7 @@ declare class Arbi {
5445
5735
  picture?: string | null | undefined;
5446
5736
  encryption_public_key: string;
5447
5737
  is_sso: boolean;
5738
+ is_identity_verified: boolean;
5448
5739
  } | null | undefined;
5449
5740
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
5450
5741
  created_at: string;
@@ -5503,6 +5794,7 @@ declare class Arbi {
5503
5794
  picture?: string | null | undefined;
5504
5795
  encryption_public_key: string;
5505
5796
  is_sso: boolean;
5797
+ is_identity_verified: boolean;
5506
5798
  };
5507
5799
  recipient: {
5508
5800
  external_id: string;
@@ -5513,6 +5805,7 @@ declare class Arbi {
5513
5805
  picture?: string | null | undefined;
5514
5806
  encryption_public_key: string;
5515
5807
  is_sso: boolean;
5808
+ is_identity_verified: boolean;
5516
5809
  };
5517
5810
  workspace_ext_id?: string | null | undefined;
5518
5811
  dm_context_only: boolean;
@@ -5541,6 +5834,7 @@ declare class Arbi {
5541
5834
  picture?: string | null | undefined;
5542
5835
  encryption_public_key: string;
5543
5836
  is_sso: boolean;
5837
+ is_identity_verified: boolean;
5544
5838
  };
5545
5839
  recipient: {
5546
5840
  external_id: string;
@@ -5551,6 +5845,7 @@ declare class Arbi {
5551
5845
  picture?: string | null | undefined;
5552
5846
  encryption_public_key: string;
5553
5847
  is_sso: boolean;
5848
+ is_identity_verified: boolean;
5554
5849
  };
5555
5850
  workspace_ext_id?: string | null | undefined;
5556
5851
  dm_context_only: boolean;
@@ -6082,6 +6377,7 @@ declare class Arbi {
6082
6377
  picture?: string | null;
6083
6378
  encryption_public_key: string;
6084
6379
  is_sso: boolean;
6380
+ is_identity_verified: boolean;
6085
6381
  }[]>;
6086
6382
  create: (name: string) => Promise<{
6087
6383
  external_id: string;
@@ -6092,6 +6388,7 @@ declare class Arbi {
6092
6388
  picture?: string | null;
6093
6389
  encryption_public_key: string;
6094
6390
  is_sso: boolean;
6391
+ is_identity_verified: boolean;
6095
6392
  signing_private_key: string;
6096
6393
  }>;
6097
6394
  getConfig: (agentExtId: string) => Promise<{
@@ -6675,6 +6972,7 @@ declare function listWorkspaces(arbi: ArbiClient): Promise<{
6675
6972
  picture?: string | null | undefined;
6676
6973
  encryption_public_key: string;
6677
6974
  is_sso: boolean;
6975
+ is_identity_verified: boolean;
6678
6976
  };
6679
6977
  role: components["schemas"]["WorkspaceRole"];
6680
6978
  joined_at: string;
@@ -6723,6 +7021,7 @@ declare function createWorkspace(arbi: ArbiClient, name: string, encryptedWorksp
6723
7021
  picture?: string | null | undefined;
6724
7022
  encryption_public_key: string;
6725
7023
  is_sso: boolean;
7024
+ is_identity_verified: boolean;
6726
7025
  };
6727
7026
  role: components["schemas"]["WorkspaceRole"];
6728
7027
  joined_at: string;
@@ -6765,6 +7064,7 @@ declare function updateWorkspace(arbi: ArbiClient, body: WorkspaceUpdateRequest)
6765
7064
  picture?: string | null | undefined;
6766
7065
  encryption_public_key: string;
6767
7066
  is_sso: boolean;
7067
+ is_identity_verified: boolean;
6768
7068
  };
6769
7069
  role: components["schemas"]["WorkspaceRole"];
6770
7070
  joined_at: string;
@@ -6789,6 +7089,7 @@ declare function listWorkspaceUsers(arbi: ArbiClient): Promise<{
6789
7089
  picture?: string | null | undefined;
6790
7090
  encryption_public_key: string;
6791
7091
  is_sso: boolean;
7092
+ is_identity_verified: boolean;
6792
7093
  };
6793
7094
  role: components["schemas"]["WorkspaceRole"];
6794
7095
  joined_at: string;
@@ -6813,6 +7114,7 @@ target?: {
6813
7114
  picture?: string | null | undefined;
6814
7115
  encryption_public_key: string;
6815
7116
  is_sso: boolean;
7117
+ is_identity_verified: boolean;
6816
7118
  };
6817
7119
  role: components["schemas"]["WorkspaceRole"];
6818
7120
  joined_at: string;
@@ -6847,6 +7149,7 @@ declare function grantTemporaryWorkspaceAccess(arbi: ArbiClient, params: {
6847
7149
  picture?: string | null | undefined;
6848
7150
  encryption_public_key: string;
6849
7151
  is_sso: boolean;
7152
+ is_identity_verified: boolean;
6850
7153
  };
6851
7154
  role: components["schemas"]["WorkspaceRole"];
6852
7155
  joined_at: string;
@@ -6867,6 +7170,7 @@ declare function setUserRole(arbi: ArbiClient, userIds: string[], role: 'owner'
6867
7170
  picture?: string | null | undefined;
6868
7171
  encryption_public_key: string;
6869
7172
  is_sso: boolean;
7173
+ is_identity_verified: boolean;
6870
7174
  };
6871
7175
  role: components["schemas"]["WorkspaceRole"];
6872
7176
  joined_at: string;
@@ -7655,7 +7959,6 @@ declare function listProjects(arbi: ArbiClient): Promise<{
7655
7959
  external_id: string;
7656
7960
  name: string;
7657
7961
  created_by: string;
7658
- packs: number;
7659
7962
  subscription: string;
7660
7963
  created_at: string;
7661
7964
  quotas: {
@@ -7674,19 +7977,86 @@ declare function listProjects(arbi: ArbiClient): Promise<{
7674
7977
  budget_reset_at?: number | null | undefined;
7675
7978
  };
7676
7979
  daily_cap_per_user?: number | null | undefined;
7980
+ plan_interval?: ("month" | "year") | null | undefined;
7981
+ packs: number;
7982
+ plan_change?: {
7983
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
7984
+ charged_pence: number;
7985
+ charged_ex_vat_pence: number;
7986
+ confirm_url?: string | null | undefined;
7987
+ } | null | undefined;
7988
+ addons?: {
7989
+ packs: number;
7990
+ packs_next?: number | null | undefined;
7991
+ plan_name: string;
7992
+ plan_credits: number;
7993
+ plan_storage_gb: number;
7994
+ block_credits: number;
7995
+ block_storage_gb: number;
7996
+ credit_blocks: number;
7997
+ storage_blocks: number;
7998
+ credit_blocks_next?: number | null | undefined;
7999
+ storage_blocks_next?: number | null | undefined;
8000
+ storage_blocks_min: number;
8001
+ auto_topup_threshold_credits: number;
8002
+ min_auto_topup_threshold_credits: number;
8003
+ spend_cap_pence?: number | null | undefined;
8004
+ addon_spend_pence: number;
8005
+ addon_spend_window_end?: number | null | undefined;
8006
+ block_monthly_pence: number;
8007
+ block_monthly_ex_vat_pence: number;
8008
+ block_period_pence: number;
8009
+ block_period_ex_vat_pence: number;
8010
+ credit_block_price_pence: number;
8011
+ credit_block_price_ex_vat_pence: number;
8012
+ storage_block_price_pence: number;
8013
+ storage_block_price_ex_vat_pence: number;
8014
+ cap_reached: boolean;
8015
+ period_end?: number | null | undefined;
8016
+ credits_reset_at?: number | null | undefined;
8017
+ pending_interval?: ("month" | "year") | null | undefined;
8018
+ billing_error?: string | null | undefined;
8019
+ confirm_url?: string | null | undefined;
8020
+ upsell?: {
8021
+ variant: "compare" | "save";
8022
+ interval: "month" | "year";
8023
+ add_on_count: number;
8024
+ current_monthly_pence: number;
8025
+ current_monthly_ex_vat_pence: number;
8026
+ pro_plus_monthly_pence: number;
8027
+ pro_plus_monthly_ex_vat_pence: number;
8028
+ pro_plus_period_pence: number;
8029
+ pro_plus_credits: number;
8030
+ pro_plus_storage_gb: number;
8031
+ saving_monthly_pence: number;
8032
+ } | null | undefined;
8033
+ payment?: {
8034
+ status: "pending" | "paid";
8035
+ kind?: ("credits" | "storage") | null | undefined;
8036
+ amount_pence?: number | null | undefined;
8037
+ amount_ex_vat_pence?: number | null | undefined;
8038
+ tax_pence?: number | null | undefined;
8039
+ at?: number | null | undefined;
8040
+ confirm_url?: string | null | undefined;
8041
+ } | null | undefined;
8042
+ } | null | undefined;
7677
8043
  price_id?: string | null | undefined;
7678
8044
  plan?: string | null | undefined;
7679
8045
  amount?: number | null | undefined;
8046
+ amount_ex_vat?: number | null | undefined;
7680
8047
  currency?: string | null | undefined;
7681
8048
  current_period_end?: number | null | undefined;
7682
8049
  cancel_at_period_end?: boolean | null | undefined;
7683
8050
  portal_url?: string | null | undefined;
7684
8051
  }[]>;
7685
- declare function createProject(arbi: ArbiClient, name: string): Promise<{
8052
+ /**
8053
+ * Create a project. Defaults to a Free project, which is usable immediately; a Pro project
8054
+ * is created pending and only becomes usable after Stripe checkout (done in the web app).
8055
+ */
8056
+ declare function createProject(arbi: ArbiClient, name: string, plan?: 'free' | 'pro'): Promise<{
7686
8057
  external_id: string;
7687
8058
  name: string;
7688
8059
  created_by: string;
7689
- packs: number;
7690
8060
  subscription: string;
7691
8061
  created_at: string;
7692
8062
  quotas: {
@@ -7705,9 +8075,73 @@ declare function createProject(arbi: ArbiClient, name: string): Promise<{
7705
8075
  budget_reset_at?: number | null | undefined;
7706
8076
  };
7707
8077
  daily_cap_per_user?: number | null | undefined;
8078
+ plan_interval?: ("month" | "year") | null | undefined;
8079
+ packs: number;
8080
+ plan_change?: {
8081
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8082
+ charged_pence: number;
8083
+ charged_ex_vat_pence: number;
8084
+ confirm_url?: string | null | undefined;
8085
+ } | null | undefined;
8086
+ addons?: {
8087
+ packs: number;
8088
+ packs_next?: number | null | undefined;
8089
+ plan_name: string;
8090
+ plan_credits: number;
8091
+ plan_storage_gb: number;
8092
+ block_credits: number;
8093
+ block_storage_gb: number;
8094
+ credit_blocks: number;
8095
+ storage_blocks: number;
8096
+ credit_blocks_next?: number | null | undefined;
8097
+ storage_blocks_next?: number | null | undefined;
8098
+ storage_blocks_min: number;
8099
+ auto_topup_threshold_credits: number;
8100
+ min_auto_topup_threshold_credits: number;
8101
+ spend_cap_pence?: number | null | undefined;
8102
+ addon_spend_pence: number;
8103
+ addon_spend_window_end?: number | null | undefined;
8104
+ block_monthly_pence: number;
8105
+ block_monthly_ex_vat_pence: number;
8106
+ block_period_pence: number;
8107
+ block_period_ex_vat_pence: number;
8108
+ credit_block_price_pence: number;
8109
+ credit_block_price_ex_vat_pence: number;
8110
+ storage_block_price_pence: number;
8111
+ storage_block_price_ex_vat_pence: number;
8112
+ cap_reached: boolean;
8113
+ period_end?: number | null | undefined;
8114
+ credits_reset_at?: number | null | undefined;
8115
+ pending_interval?: ("month" | "year") | null | undefined;
8116
+ billing_error?: string | null | undefined;
8117
+ confirm_url?: string | null | undefined;
8118
+ upsell?: {
8119
+ variant: "compare" | "save";
8120
+ interval: "month" | "year";
8121
+ add_on_count: number;
8122
+ current_monthly_pence: number;
8123
+ current_monthly_ex_vat_pence: number;
8124
+ pro_plus_monthly_pence: number;
8125
+ pro_plus_monthly_ex_vat_pence: number;
8126
+ pro_plus_period_pence: number;
8127
+ pro_plus_credits: number;
8128
+ pro_plus_storage_gb: number;
8129
+ saving_monthly_pence: number;
8130
+ } | null | undefined;
8131
+ payment?: {
8132
+ status: "pending" | "paid";
8133
+ kind?: ("credits" | "storage") | null | undefined;
8134
+ amount_pence?: number | null | undefined;
8135
+ amount_ex_vat_pence?: number | null | undefined;
8136
+ tax_pence?: number | null | undefined;
8137
+ at?: number | null | undefined;
8138
+ confirm_url?: string | null | undefined;
8139
+ } | null | undefined;
8140
+ } | null | undefined;
7708
8141
  price_id?: string | null | undefined;
7709
8142
  plan?: string | null | undefined;
7710
8143
  amount?: number | null | undefined;
8144
+ amount_ex_vat?: number | null | undefined;
7711
8145
  currency?: string | null | undefined;
7712
8146
  current_period_end?: number | null | undefined;
7713
8147
  cancel_at_period_end?: boolean | null | undefined;
@@ -7718,7 +8152,6 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
7718
8152
  external_id: string;
7719
8153
  name: string;
7720
8154
  created_by: string;
7721
- packs: number;
7722
8155
  subscription: string;
7723
8156
  created_at: string;
7724
8157
  quotas: {
@@ -7737,9 +8170,73 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
7737
8170
  budget_reset_at?: number | null | undefined;
7738
8171
  };
7739
8172
  daily_cap_per_user?: number | null | undefined;
8173
+ plan_interval?: ("month" | "year") | null | undefined;
8174
+ packs: number;
8175
+ plan_change?: {
8176
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8177
+ charged_pence: number;
8178
+ charged_ex_vat_pence: number;
8179
+ confirm_url?: string | null | undefined;
8180
+ } | null | undefined;
8181
+ addons?: {
8182
+ packs: number;
8183
+ packs_next?: number | null | undefined;
8184
+ plan_name: string;
8185
+ plan_credits: number;
8186
+ plan_storage_gb: number;
8187
+ block_credits: number;
8188
+ block_storage_gb: number;
8189
+ credit_blocks: number;
8190
+ storage_blocks: number;
8191
+ credit_blocks_next?: number | null | undefined;
8192
+ storage_blocks_next?: number | null | undefined;
8193
+ storage_blocks_min: number;
8194
+ auto_topup_threshold_credits: number;
8195
+ min_auto_topup_threshold_credits: number;
8196
+ spend_cap_pence?: number | null | undefined;
8197
+ addon_spend_pence: number;
8198
+ addon_spend_window_end?: number | null | undefined;
8199
+ block_monthly_pence: number;
8200
+ block_monthly_ex_vat_pence: number;
8201
+ block_period_pence: number;
8202
+ block_period_ex_vat_pence: number;
8203
+ credit_block_price_pence: number;
8204
+ credit_block_price_ex_vat_pence: number;
8205
+ storage_block_price_pence: number;
8206
+ storage_block_price_ex_vat_pence: number;
8207
+ cap_reached: boolean;
8208
+ period_end?: number | null | undefined;
8209
+ credits_reset_at?: number | null | undefined;
8210
+ pending_interval?: ("month" | "year") | null | undefined;
8211
+ billing_error?: string | null | undefined;
8212
+ confirm_url?: string | null | undefined;
8213
+ upsell?: {
8214
+ variant: "compare" | "save";
8215
+ interval: "month" | "year";
8216
+ add_on_count: number;
8217
+ current_monthly_pence: number;
8218
+ current_monthly_ex_vat_pence: number;
8219
+ pro_plus_monthly_pence: number;
8220
+ pro_plus_monthly_ex_vat_pence: number;
8221
+ pro_plus_period_pence: number;
8222
+ pro_plus_credits: number;
8223
+ pro_plus_storage_gb: number;
8224
+ saving_monthly_pence: number;
8225
+ } | null | undefined;
8226
+ payment?: {
8227
+ status: "pending" | "paid";
8228
+ kind?: ("credits" | "storage") | null | undefined;
8229
+ amount_pence?: number | null | undefined;
8230
+ amount_ex_vat_pence?: number | null | undefined;
8231
+ tax_pence?: number | null | undefined;
8232
+ at?: number | null | undefined;
8233
+ confirm_url?: string | null | undefined;
8234
+ } | null | undefined;
8235
+ } | null | undefined;
7740
8236
  price_id?: string | null | undefined;
7741
8237
  plan?: string | null | undefined;
7742
8238
  amount?: number | null | undefined;
8239
+ amount_ex_vat?: number | null | undefined;
7743
8240
  currency?: string | null | undefined;
7744
8241
  current_period_end?: number | null | undefined;
7745
8242
  cancel_at_period_end?: boolean | null | undefined;
@@ -7750,7 +8247,6 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
7750
8247
  external_id: string;
7751
8248
  name: string;
7752
8249
  created_by: string;
7753
- packs: number;
7754
8250
  subscription: string;
7755
8251
  created_at: string;
7756
8252
  quotas: {
@@ -7769,9 +8265,73 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
7769
8265
  budget_reset_at?: number | null | undefined;
7770
8266
  };
7771
8267
  daily_cap_per_user?: number | null | undefined;
8268
+ plan_interval?: ("month" | "year") | null | undefined;
8269
+ packs: number;
8270
+ plan_change?: {
8271
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8272
+ charged_pence: number;
8273
+ charged_ex_vat_pence: number;
8274
+ confirm_url?: string | null | undefined;
8275
+ } | null | undefined;
8276
+ addons?: {
8277
+ packs: number;
8278
+ packs_next?: number | null | undefined;
8279
+ plan_name: string;
8280
+ plan_credits: number;
8281
+ plan_storage_gb: number;
8282
+ block_credits: number;
8283
+ block_storage_gb: number;
8284
+ credit_blocks: number;
8285
+ storage_blocks: number;
8286
+ credit_blocks_next?: number | null | undefined;
8287
+ storage_blocks_next?: number | null | undefined;
8288
+ storage_blocks_min: number;
8289
+ auto_topup_threshold_credits: number;
8290
+ min_auto_topup_threshold_credits: number;
8291
+ spend_cap_pence?: number | null | undefined;
8292
+ addon_spend_pence: number;
8293
+ addon_spend_window_end?: number | null | undefined;
8294
+ block_monthly_pence: number;
8295
+ block_monthly_ex_vat_pence: number;
8296
+ block_period_pence: number;
8297
+ block_period_ex_vat_pence: number;
8298
+ credit_block_price_pence: number;
8299
+ credit_block_price_ex_vat_pence: number;
8300
+ storage_block_price_pence: number;
8301
+ storage_block_price_ex_vat_pence: number;
8302
+ cap_reached: boolean;
8303
+ period_end?: number | null | undefined;
8304
+ credits_reset_at?: number | null | undefined;
8305
+ pending_interval?: ("month" | "year") | null | undefined;
8306
+ billing_error?: string | null | undefined;
8307
+ confirm_url?: string | null | undefined;
8308
+ upsell?: {
8309
+ variant: "compare" | "save";
8310
+ interval: "month" | "year";
8311
+ add_on_count: number;
8312
+ current_monthly_pence: number;
8313
+ current_monthly_ex_vat_pence: number;
8314
+ pro_plus_monthly_pence: number;
8315
+ pro_plus_monthly_ex_vat_pence: number;
8316
+ pro_plus_period_pence: number;
8317
+ pro_plus_credits: number;
8318
+ pro_plus_storage_gb: number;
8319
+ saving_monthly_pence: number;
8320
+ } | null | undefined;
8321
+ payment?: {
8322
+ status: "pending" | "paid";
8323
+ kind?: ("credits" | "storage") | null | undefined;
8324
+ amount_pence?: number | null | undefined;
8325
+ amount_ex_vat_pence?: number | null | undefined;
8326
+ tax_pence?: number | null | undefined;
8327
+ at?: number | null | undefined;
8328
+ confirm_url?: string | null | undefined;
8329
+ } | null | undefined;
8330
+ } | null | undefined;
7772
8331
  price_id?: string | null | undefined;
7773
8332
  plan?: string | null | undefined;
7774
8333
  amount?: number | null | undefined;
8334
+ amount_ex_vat?: number | null | undefined;
7775
8335
  currency?: string | null | undefined;
7776
8336
  current_period_end?: number | null | undefined;
7777
8337
  cancel_at_period_end?: boolean | null | undefined;
@@ -7782,7 +8342,6 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
7782
8342
  external_id: string;
7783
8343
  name: string;
7784
8344
  created_by: string;
7785
- packs: number;
7786
8345
  subscription: string;
7787
8346
  created_at: string;
7788
8347
  quotas: {
@@ -7801,9 +8360,73 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
7801
8360
  budget_reset_at?: number | null | undefined;
7802
8361
  };
7803
8362
  daily_cap_per_user?: number | null | undefined;
8363
+ plan_interval?: ("month" | "year") | null | undefined;
8364
+ packs: number;
8365
+ plan_change?: {
8366
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
8367
+ charged_pence: number;
8368
+ charged_ex_vat_pence: number;
8369
+ confirm_url?: string | null | undefined;
8370
+ } | null | undefined;
8371
+ addons?: {
8372
+ packs: number;
8373
+ packs_next?: number | null | undefined;
8374
+ plan_name: string;
8375
+ plan_credits: number;
8376
+ plan_storage_gb: number;
8377
+ block_credits: number;
8378
+ block_storage_gb: number;
8379
+ credit_blocks: number;
8380
+ storage_blocks: number;
8381
+ credit_blocks_next?: number | null | undefined;
8382
+ storage_blocks_next?: number | null | undefined;
8383
+ storage_blocks_min: number;
8384
+ auto_topup_threshold_credits: number;
8385
+ min_auto_topup_threshold_credits: number;
8386
+ spend_cap_pence?: number | null | undefined;
8387
+ addon_spend_pence: number;
8388
+ addon_spend_window_end?: number | null | undefined;
8389
+ block_monthly_pence: number;
8390
+ block_monthly_ex_vat_pence: number;
8391
+ block_period_pence: number;
8392
+ block_period_ex_vat_pence: number;
8393
+ credit_block_price_pence: number;
8394
+ credit_block_price_ex_vat_pence: number;
8395
+ storage_block_price_pence: number;
8396
+ storage_block_price_ex_vat_pence: number;
8397
+ cap_reached: boolean;
8398
+ period_end?: number | null | undefined;
8399
+ credits_reset_at?: number | null | undefined;
8400
+ pending_interval?: ("month" | "year") | null | undefined;
8401
+ billing_error?: string | null | undefined;
8402
+ confirm_url?: string | null | undefined;
8403
+ upsell?: {
8404
+ variant: "compare" | "save";
8405
+ interval: "month" | "year";
8406
+ add_on_count: number;
8407
+ current_monthly_pence: number;
8408
+ current_monthly_ex_vat_pence: number;
8409
+ pro_plus_monthly_pence: number;
8410
+ pro_plus_monthly_ex_vat_pence: number;
8411
+ pro_plus_period_pence: number;
8412
+ pro_plus_credits: number;
8413
+ pro_plus_storage_gb: number;
8414
+ saving_monthly_pence: number;
8415
+ } | null | undefined;
8416
+ payment?: {
8417
+ status: "pending" | "paid";
8418
+ kind?: ("credits" | "storage") | null | undefined;
8419
+ amount_pence?: number | null | undefined;
8420
+ amount_ex_vat_pence?: number | null | undefined;
8421
+ tax_pence?: number | null | undefined;
8422
+ at?: number | null | undefined;
8423
+ confirm_url?: string | null | undefined;
8424
+ } | null | undefined;
8425
+ } | null | undefined;
7804
8426
  price_id?: string | null | undefined;
7805
8427
  plan?: string | null | undefined;
7806
8428
  amount?: number | null | undefined;
8429
+ amount_ex_vat?: number | null | undefined;
7807
8430
  currency?: string | null | undefined;
7808
8431
  current_period_end?: number | null | undefined;
7809
8432
  cancel_at_period_end?: boolean | null | undefined;
@@ -7899,4 +8522,47 @@ declare namespace account {
7899
8522
  export { account_confirmEmailChange as confirmEmailChange, account_requestDeletion as requestDeletion, account_requestEmailChange as requestEmailChange };
7900
8523
  }
7901
8524
 
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 };
8525
+ /**
8526
+ * Identity verification — the optional, paid ID check behind the verified tick (Pro plans only).
8527
+ *
8528
+ * The backend charges a one-time fee to one of the user's own Pro projects, opens a Didit session
8529
+ * (the client runs Didit's web SDK on its URL) and reads the decision when asked to `refresh`.
8530
+ * Nothing from the document is kept by ARBI.
8531
+ */
8532
+
8533
+ type IdentityStatus = components['schemas']['IdentityStatusResponse'];
8534
+ type IdentityState = IdentityStatus['state'];
8535
+ type IdentityPurchase = components['schemas']['IdentityPurchaseResponse'];
8536
+ /** Why a 402 / 409 was refused, as the backend codes it (`PRO_REQUIRED`, `PAYMENT_DECLINED`, …). */
8537
+ type IdentityErrorCode = 'PRO_REQUIRED' | 'IDENTITY_FEE_REQUIRED' | 'PAYMENT_METHOD_REQUIRED' | 'BILLING_ADDRESS_REQUIRED' | 'PAYMENT_DECLINED';
8538
+ /** The refusal code of a failed identity call (see {@link IdentityErrorCode}), when it had one. */
8539
+ declare function identityErrorCode(error: unknown): string | undefined;
8540
+ /** Whether verification is offered to this user, its price, and where their check stands. */
8541
+ declare function getStatus(arbi: ArbiClient): Promise<IdentityStatus>;
8542
+ /** Charge the one-time fee to an own Pro project (default: the first). */
8543
+ declare function purchase(arbi: ArbiClient, projectExtId?: string): Promise<IdentityPurchase>;
8544
+ /** The Didit session URL to verify in (resumes an open one). */
8545
+ declare function startSession(arbi: ArbiClient): Promise<string>;
8546
+ /** Read the open check's decision and return the updated status. */
8547
+ declare function refresh(arbi: ArbiClient): Promise<IdentityStatus>;
8548
+ /** Take the name on the document as the account name and get the tick. */
8549
+ declare function acceptName(arbi: ArbiClient): Promise<IdentityStatus>;
8550
+ /** Remove the tick and erase any open check. Paid attempts are kept. */
8551
+ declare function remove(arbi: ArbiClient): Promise<IdentityStatus>;
8552
+
8553
+ type identity_IdentityErrorCode = IdentityErrorCode;
8554
+ type identity_IdentityPurchase = IdentityPurchase;
8555
+ type identity_IdentityState = IdentityState;
8556
+ type identity_IdentityStatus = IdentityStatus;
8557
+ declare const identity_acceptName: typeof acceptName;
8558
+ declare const identity_getStatus: typeof getStatus;
8559
+ declare const identity_identityErrorCode: typeof identityErrorCode;
8560
+ declare const identity_purchase: typeof purchase;
8561
+ declare const identity_refresh: typeof refresh;
8562
+ declare const identity_remove: typeof remove;
8563
+ declare const identity_startSession: typeof startSession;
8564
+ declare namespace identity {
8565
+ 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 };
8566
+ }
8567
+
8568
+ 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, connectWebSocket 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 UploadBatchResult as aA, type UploadDirectOptions as aB, type UploadDirectResult as aC, type UploadOptions as aD, type UploadResult as aE, type UserDailyUsageResponse as aF, type UserInfo as aG, type UserInputRequestEvent as aH, type UserMessageEvent as aI, WebSocketAuthError as aJ, type WorkStatus as aK, type WorkflowAuthMode as aL, type WorkflowResponse as aM, type WorkflowRunHistoryResponse as aN, type WorkflowRunResponse as aO, type WorkspaceContext as aP, type WsConnection as aQ, account as aR, agentconfig as aS, agents as aT, assistant as aU, authenticatedFetch as aV, buildDocNameMap as aW, buildFactsContextTool as aX, buildRetrievalChunkTool as aY, buildRetrievalFullContextTool as aZ, buildRetrievalTocTool 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 SubmitBackgroundQueryOptions as au, type TaskPlan as av, type TokenBudgetContext as aw, type UpdateConversationRequest as ax, type UpdateFactRequest as ay, type UpdateWorkflowRequest as az, type AgentControlStateEvent as b, connectWithReconnect as b0, consumeSSEStream as b1, contacts as b2, conversations as b3, countCitations as b4, createAuthenticatedClient as b5, createDocumentWaiter as b6, dm as b7, doctags as b8, documents as b9, projects as bA, requireData as bB, requireOk as bC, resolveAuth as bD, resolveCitations as bE, resolveWorkspace as bF, responses as bG, selectWorkspace as bH, selectWorkspaceById as bI, sessions as bJ, settings as bK, streamSSE as bL, stripCitationMarkdown as bM, summarizeCitations as bN, tags as bO, work as bP, workflows as bQ, workspaces as bR, facts as ba, files as bb, filterSkills as bc, formatAgentStepLabel as bd, formatFileSize as be, formatItemLabel as bf, formatStreamSummary as bg, formatUserName as bh, formatWorkspaceChoices as bi, formatWsMessage as bj, generateEncryptedWorkspaceKey as bk, generateNewWorkspaceKey as bl, getErrorCode as bm, getErrorMessage as bn, getRawWorkspaceKey as bo, health as bp, identity as bq, identityErrorCode as br, mail as bs, parseSSEEvents as bt, parseSlashCommand as bu, parseSlashTokenInProgress as bv, performPasswordLogin as bw, performSigningKeyLogin as bx, performSsoDeviceFlowLogin as by, profile 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 };