@arbidocs/sdk 0.5.192 → 0.5.194

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.
@@ -4583,6 +4583,7 @@ declare function listTags(arbi: ArbiClient, query?: TagListQuery): Promise<{
4583
4583
  doctag_count: number;
4584
4584
  facttag_count: number;
4585
4585
  convotag_count: number;
4586
+ dbrow_count: number;
4586
4587
  field_values?: {
4587
4588
  [x: string]: unknown;
4588
4589
  } | undefined;
@@ -4642,6 +4643,7 @@ declare function createTag(arbi: ArbiClient, options: {
4642
4643
  doctag_count: number;
4643
4644
  facttag_count: number;
4644
4645
  convotag_count: number;
4646
+ dbrow_count: number;
4645
4647
  field_values?: {
4646
4648
  [x: string]: unknown;
4647
4649
  } | undefined;
@@ -4691,6 +4693,7 @@ declare function updateTag(arbi: ArbiClient, tagId: string, change: TagChange):
4691
4693
  doctag_count: number;
4692
4694
  facttag_count: number;
4693
4695
  convotag_count: number;
4696
+ dbrow_count: number;
4694
4697
  field_values?: {
4695
4698
  [x: string]: unknown;
4696
4699
  } | undefined;
@@ -6142,7 +6145,7 @@ declare function listProjects(arbi: ArbiClient, filters?: {
6142
6145
  field_schema?: {
6143
6146
  key: string;
6144
6147
  label?: string | null | undefined;
6145
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6148
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6146
6149
  options?: string[] | null | undefined;
6147
6150
  }[] | null | undefined;
6148
6151
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6283,7 +6286,7 @@ declare function createProject(arbi: ArbiClient, name: string, plan?: 'free' | '
6283
6286
  field_schema?: {
6284
6287
  key: string;
6285
6288
  label?: string | null | undefined;
6286
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6289
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6287
6290
  options?: string[] | null | undefined;
6288
6291
  }[] | null | undefined;
6289
6292
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6437,7 +6440,7 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
6437
6440
  field_schema?: {
6438
6441
  key: string;
6439
6442
  label?: string | null | undefined;
6440
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6443
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6441
6444
  options?: string[] | null | undefined;
6442
6445
  }[] | null | undefined;
6443
6446
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6574,7 +6577,7 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
6574
6577
  field_schema?: {
6575
6578
  key: string;
6576
6579
  label?: string | null | undefined;
6577
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6580
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6578
6581
  options?: string[] | null | undefined;
6579
6582
  }[] | null | undefined;
6580
6583
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6711,7 +6714,7 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
6711
6714
  field_schema?: {
6712
6715
  key: string;
6713
6716
  label?: string | null | undefined;
6714
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6717
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6715
6718
  options?: string[] | null | undefined;
6716
6719
  }[] | null | undefined;
6717
6720
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6932,7 +6935,7 @@ declare function changePlan(arbi: ArbiClient, projectExtId: string, body: Projec
6932
6935
  field_schema?: {
6933
6936
  key: string;
6934
6937
  label?: string | null | undefined;
6935
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6938
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6936
6939
  options?: string[] | null | undefined;
6937
6940
  }[] | null | undefined;
6938
6941
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7140,7 +7143,7 @@ declare function addAddonBlock(arbi: ArbiClient, projectExtId: string, kind: Pro
7140
7143
  field_schema?: {
7141
7144
  key: string;
7142
7145
  label?: string | null | undefined;
7143
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7146
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7144
7147
  options?: string[] | null | undefined;
7145
7148
  }[] | null | undefined;
7146
7149
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7278,7 +7281,7 @@ declare function setNextPeriodAddons(arbi: ArbiClient, projectExtId: string, bod
7278
7281
  field_schema?: {
7279
7282
  key: string;
7280
7283
  label?: string | null | undefined;
7281
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7284
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7282
7285
  options?: string[] | null | undefined;
7283
7286
  }[] | null | undefined;
7284
7287
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7415,7 +7418,7 @@ declare function updateAddonSettings(arbi: ArbiClient, projectExtId: string, bod
7415
7418
  field_schema?: {
7416
7419
  key: string;
7417
7420
  label?: string | null | undefined;
7418
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7421
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7419
7422
  options?: string[] | null | undefined;
7420
7423
  }[] | null | undefined;
7421
7424
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7552,7 +7555,7 @@ declare function cancelSubscription(arbi: ArbiClient, projectExtId: string): Pro
7552
7555
  field_schema?: {
7553
7556
  key: string;
7554
7557
  label?: string | null | undefined;
7555
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7558
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7556
7559
  options?: string[] | null | undefined;
7557
7560
  }[] | null | undefined;
7558
7561
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7690,7 +7693,7 @@ declare function confirmSpendLimits(arbi: ArbiClient, projectExtId: string, body
7690
7693
  field_schema?: {
7691
7694
  key: string;
7692
7695
  label?: string | null | undefined;
7693
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7696
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7694
7697
  options?: string[] | null | undefined;
7695
7698
  }[] | null | undefined;
7696
7699
  plan_interval?: ("month" | "year") | null | undefined;
@@ -9716,7 +9719,7 @@ declare class Arbi {
9716
9719
  field_schema?: {
9717
9720
  key: string;
9718
9721
  label?: string | null | undefined;
9719
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
9722
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
9720
9723
  options?: string[] | null | undefined;
9721
9724
  }[] | null | undefined;
9722
9725
  plan_interval?: ("month" | "year") | null | undefined;
@@ -9852,7 +9855,7 @@ declare class Arbi {
9852
9855
  field_schema?: {
9853
9856
  key: string;
9854
9857
  label?: string | null | undefined;
9855
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
9858
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
9856
9859
  options?: string[] | null | undefined;
9857
9860
  }[] | null | undefined;
9858
9861
  plan_interval?: ("month" | "year") | null | undefined;
@@ -9989,7 +9992,7 @@ declare class Arbi {
9989
9992
  field_schema?: {
9990
9993
  key: string;
9991
9994
  label?: string | null | undefined;
9992
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
9995
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
9993
9996
  options?: string[] | null | undefined;
9994
9997
  }[] | null | undefined;
9995
9998
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10154,7 +10157,7 @@ declare class Arbi {
10154
10157
  field_schema?: {
10155
10158
  key: string;
10156
10159
  label?: string | null | undefined;
10157
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10160
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10158
10161
  options?: string[] | null | undefined;
10159
10162
  }[] | null | undefined;
10160
10163
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10290,7 +10293,7 @@ declare class Arbi {
10290
10293
  field_schema?: {
10291
10294
  key: string;
10292
10295
  label?: string | null | undefined;
10293
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10296
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10294
10297
  options?: string[] | null | undefined;
10295
10298
  }[] | null | undefined;
10296
10299
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10513,7 +10516,7 @@ declare class Arbi {
10513
10516
  field_schema?: {
10514
10517
  key: string;
10515
10518
  label?: string | null | undefined;
10516
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10519
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10517
10520
  options?: string[] | null | undefined;
10518
10521
  }[] | null | undefined;
10519
10522
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10714,7 +10717,7 @@ declare class Arbi {
10714
10717
  field_schema?: {
10715
10718
  key: string;
10716
10719
  label?: string | null | undefined;
10717
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10720
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10718
10721
  options?: string[] | null | undefined;
10719
10722
  }[] | null | undefined;
10720
10723
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10851,7 +10854,7 @@ declare class Arbi {
10851
10854
  field_schema?: {
10852
10855
  key: string;
10853
10856
  label?: string | null | undefined;
10854
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10857
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10855
10858
  options?: string[] | null | undefined;
10856
10859
  }[] | null | undefined;
10857
10860
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10987,7 +10990,7 @@ declare class Arbi {
10987
10990
  field_schema?: {
10988
10991
  key: string;
10989
10992
  label?: string | null | undefined;
10990
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10993
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10991
10994
  options?: string[] | null | undefined;
10992
10995
  }[] | null | undefined;
10993
10996
  plan_interval?: ("month" | "year") | null | undefined;
@@ -11123,7 +11126,7 @@ declare class Arbi {
11123
11126
  field_schema?: {
11124
11127
  key: string;
11125
11128
  label?: string | null | undefined;
11126
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
11129
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
11127
11130
  options?: string[] | null | undefined;
11128
11131
  }[] | null | undefined;
11129
11132
  plan_interval?: ("month" | "year") | null | undefined;
@@ -14217,6 +14220,7 @@ declare class Arbi {
14217
14220
  doctag_count: number;
14218
14221
  facttag_count: number;
14219
14222
  convotag_count: number;
14223
+ dbrow_count: number;
14220
14224
  field_values?: {
14221
14225
  [x: string]: unknown;
14222
14226
  } | undefined;
@@ -14274,6 +14278,7 @@ declare class Arbi {
14274
14278
  doctag_count: number;
14275
14279
  facttag_count: number;
14276
14280
  convotag_count: number;
14281
+ dbrow_count: number;
14277
14282
  field_values?: {
14278
14283
  [x: string]: unknown;
14279
14284
  } | undefined;
@@ -14323,6 +14328,7 @@ declare class Arbi {
14323
14328
  doctag_count: number;
14324
14329
  facttag_count: number;
14325
14330
  convotag_count: number;
14331
+ dbrow_count: number;
14326
14332
  field_values?: {
14327
14333
  [x: string]: unknown;
14328
14334
  } | undefined;
@@ -14367,6 +14373,7 @@ declare class Arbi {
14367
14373
  doctag_count: number;
14368
14374
  facttag_count: number;
14369
14375
  convotag_count: number;
14376
+ dbrow_count: number;
14370
14377
  field_values?: {
14371
14378
  [key: string]: unknown;
14372
14379
  };
@@ -16718,6 +16725,7 @@ declare class Arbi {
16718
16725
  input_cost_per_token?: number | null | undefined;
16719
16726
  output_cost_per_token?: number | null | undefined;
16720
16727
  provider?: string | null | undefined;
16728
+ current_version?: string | null | undefined;
16721
16729
  mode?: string | null | undefined;
16722
16730
  supports_vision?: boolean | null | undefined;
16723
16731
  supports_reasoning?: boolean | null | undefined;
@@ -16804,6 +16812,7 @@ declare class Arbi {
16804
16812
  input_cost_per_token?: number | null | undefined;
16805
16813
  output_cost_per_token?: number | null | undefined;
16806
16814
  provider?: string | null | undefined;
16815
+ current_version?: string | null | undefined;
16807
16816
  mode?: string | null | undefined;
16808
16817
  supports_vision?: boolean | null | undefined;
16809
16818
  supports_reasoning?: boolean | null | undefined;
@@ -18846,6 +18855,7 @@ declare function getModels(arbi: ArbiClient): Promise<{
18846
18855
  input_cost_per_token?: number | null | undefined;
18847
18856
  output_cost_per_token?: number | null | undefined;
18848
18857
  provider?: string | null | undefined;
18858
+ current_version?: string | null | undefined;
18849
18859
  mode?: string | null | undefined;
18850
18860
  supports_vision?: boolean | null | undefined;
18851
18861
  supports_reasoning?: boolean | null | undefined;
@@ -18905,6 +18915,7 @@ declare function getHealthModels(arbi: ArbiClient): Promise<{
18905
18915
  input_cost_per_token?: number | null | undefined;
18906
18916
  output_cost_per_token?: number | null | undefined;
18907
18917
  provider?: string | null | undefined;
18918
+ current_version?: string | null | undefined;
18908
18919
  mode?: string | null | undefined;
18909
18920
  supports_vision?: boolean | null | undefined;
18910
18921
  supports_reasoning?: boolean | null | undefined;
@@ -19596,6 +19607,7 @@ type ContextUsage = {
19596
19607
  } | null;
19597
19608
  spent_gbp?: number | null;
19598
19609
  budget_gbp?: number | null;
19610
+ served_model?: string | null;
19599
19611
  };
19600
19612
  declare function isNearAiUsageBudget(usage: ContextUsage): boolean;
19601
19613
  declare function getContextUsedTokens(usage: ContextUsage): number;
@@ -4583,6 +4583,7 @@ declare function listTags(arbi: ArbiClient, query?: TagListQuery): Promise<{
4583
4583
  doctag_count: number;
4584
4584
  facttag_count: number;
4585
4585
  convotag_count: number;
4586
+ dbrow_count: number;
4586
4587
  field_values?: {
4587
4588
  [x: string]: unknown;
4588
4589
  } | undefined;
@@ -4642,6 +4643,7 @@ declare function createTag(arbi: ArbiClient, options: {
4642
4643
  doctag_count: number;
4643
4644
  facttag_count: number;
4644
4645
  convotag_count: number;
4646
+ dbrow_count: number;
4645
4647
  field_values?: {
4646
4648
  [x: string]: unknown;
4647
4649
  } | undefined;
@@ -4691,6 +4693,7 @@ declare function updateTag(arbi: ArbiClient, tagId: string, change: TagChange):
4691
4693
  doctag_count: number;
4692
4694
  facttag_count: number;
4693
4695
  convotag_count: number;
4696
+ dbrow_count: number;
4694
4697
  field_values?: {
4695
4698
  [x: string]: unknown;
4696
4699
  } | undefined;
@@ -6142,7 +6145,7 @@ declare function listProjects(arbi: ArbiClient, filters?: {
6142
6145
  field_schema?: {
6143
6146
  key: string;
6144
6147
  label?: string | null | undefined;
6145
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6148
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6146
6149
  options?: string[] | null | undefined;
6147
6150
  }[] | null | undefined;
6148
6151
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6283,7 +6286,7 @@ declare function createProject(arbi: ArbiClient, name: string, plan?: 'free' | '
6283
6286
  field_schema?: {
6284
6287
  key: string;
6285
6288
  label?: string | null | undefined;
6286
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6289
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6287
6290
  options?: string[] | null | undefined;
6288
6291
  }[] | null | undefined;
6289
6292
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6437,7 +6440,7 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
6437
6440
  field_schema?: {
6438
6441
  key: string;
6439
6442
  label?: string | null | undefined;
6440
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6443
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6441
6444
  options?: string[] | null | undefined;
6442
6445
  }[] | null | undefined;
6443
6446
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6574,7 +6577,7 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
6574
6577
  field_schema?: {
6575
6578
  key: string;
6576
6579
  label?: string | null | undefined;
6577
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6580
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6578
6581
  options?: string[] | null | undefined;
6579
6582
  }[] | null | undefined;
6580
6583
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6711,7 +6714,7 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
6711
6714
  field_schema?: {
6712
6715
  key: string;
6713
6716
  label?: string | null | undefined;
6714
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6717
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6715
6718
  options?: string[] | null | undefined;
6716
6719
  }[] | null | undefined;
6717
6720
  plan_interval?: ("month" | "year") | null | undefined;
@@ -6932,7 +6935,7 @@ declare function changePlan(arbi: ArbiClient, projectExtId: string, body: Projec
6932
6935
  field_schema?: {
6933
6936
  key: string;
6934
6937
  label?: string | null | undefined;
6935
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
6938
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
6936
6939
  options?: string[] | null | undefined;
6937
6940
  }[] | null | undefined;
6938
6941
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7140,7 +7143,7 @@ declare function addAddonBlock(arbi: ArbiClient, projectExtId: string, kind: Pro
7140
7143
  field_schema?: {
7141
7144
  key: string;
7142
7145
  label?: string | null | undefined;
7143
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7146
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7144
7147
  options?: string[] | null | undefined;
7145
7148
  }[] | null | undefined;
7146
7149
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7278,7 +7281,7 @@ declare function setNextPeriodAddons(arbi: ArbiClient, projectExtId: string, bod
7278
7281
  field_schema?: {
7279
7282
  key: string;
7280
7283
  label?: string | null | undefined;
7281
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7284
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7282
7285
  options?: string[] | null | undefined;
7283
7286
  }[] | null | undefined;
7284
7287
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7415,7 +7418,7 @@ declare function updateAddonSettings(arbi: ArbiClient, projectExtId: string, bod
7415
7418
  field_schema?: {
7416
7419
  key: string;
7417
7420
  label?: string | null | undefined;
7418
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7421
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7419
7422
  options?: string[] | null | undefined;
7420
7423
  }[] | null | undefined;
7421
7424
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7552,7 +7555,7 @@ declare function cancelSubscription(arbi: ArbiClient, projectExtId: string): Pro
7552
7555
  field_schema?: {
7553
7556
  key: string;
7554
7557
  label?: string | null | undefined;
7555
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7558
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7556
7559
  options?: string[] | null | undefined;
7557
7560
  }[] | null | undefined;
7558
7561
  plan_interval?: ("month" | "year") | null | undefined;
@@ -7690,7 +7693,7 @@ declare function confirmSpendLimits(arbi: ArbiClient, projectExtId: string, body
7690
7693
  field_schema?: {
7691
7694
  key: string;
7692
7695
  label?: string | null | undefined;
7693
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
7696
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
7694
7697
  options?: string[] | null | undefined;
7695
7698
  }[] | null | undefined;
7696
7699
  plan_interval?: ("month" | "year") | null | undefined;
@@ -9716,7 +9719,7 @@ declare class Arbi {
9716
9719
  field_schema?: {
9717
9720
  key: string;
9718
9721
  label?: string | null | undefined;
9719
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
9722
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
9720
9723
  options?: string[] | null | undefined;
9721
9724
  }[] | null | undefined;
9722
9725
  plan_interval?: ("month" | "year") | null | undefined;
@@ -9852,7 +9855,7 @@ declare class Arbi {
9852
9855
  field_schema?: {
9853
9856
  key: string;
9854
9857
  label?: string | null | undefined;
9855
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
9858
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
9856
9859
  options?: string[] | null | undefined;
9857
9860
  }[] | null | undefined;
9858
9861
  plan_interval?: ("month" | "year") | null | undefined;
@@ -9989,7 +9992,7 @@ declare class Arbi {
9989
9992
  field_schema?: {
9990
9993
  key: string;
9991
9994
  label?: string | null | undefined;
9992
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
9995
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
9993
9996
  options?: string[] | null | undefined;
9994
9997
  }[] | null | undefined;
9995
9998
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10154,7 +10157,7 @@ declare class Arbi {
10154
10157
  field_schema?: {
10155
10158
  key: string;
10156
10159
  label?: string | null | undefined;
10157
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10160
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10158
10161
  options?: string[] | null | undefined;
10159
10162
  }[] | null | undefined;
10160
10163
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10290,7 +10293,7 @@ declare class Arbi {
10290
10293
  field_schema?: {
10291
10294
  key: string;
10292
10295
  label?: string | null | undefined;
10293
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10296
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10294
10297
  options?: string[] | null | undefined;
10295
10298
  }[] | null | undefined;
10296
10299
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10513,7 +10516,7 @@ declare class Arbi {
10513
10516
  field_schema?: {
10514
10517
  key: string;
10515
10518
  label?: string | null | undefined;
10516
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10519
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10517
10520
  options?: string[] | null | undefined;
10518
10521
  }[] | null | undefined;
10519
10522
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10714,7 +10717,7 @@ declare class Arbi {
10714
10717
  field_schema?: {
10715
10718
  key: string;
10716
10719
  label?: string | null | undefined;
10717
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10720
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10718
10721
  options?: string[] | null | undefined;
10719
10722
  }[] | null | undefined;
10720
10723
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10851,7 +10854,7 @@ declare class Arbi {
10851
10854
  field_schema?: {
10852
10855
  key: string;
10853
10856
  label?: string | null | undefined;
10854
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10857
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10855
10858
  options?: string[] | null | undefined;
10856
10859
  }[] | null | undefined;
10857
10860
  plan_interval?: ("month" | "year") | null | undefined;
@@ -10987,7 +10990,7 @@ declare class Arbi {
10987
10990
  field_schema?: {
10988
10991
  key: string;
10989
10992
  label?: string | null | undefined;
10990
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
10993
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
10991
10994
  options?: string[] | null | undefined;
10992
10995
  }[] | null | undefined;
10993
10996
  plan_interval?: ("month" | "year") | null | undefined;
@@ -11123,7 +11126,7 @@ declare class Arbi {
11123
11126
  field_schema?: {
11124
11127
  key: string;
11125
11128
  label?: string | null | undefined;
11126
- type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
11129
+ type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag" | "source";
11127
11130
  options?: string[] | null | undefined;
11128
11131
  }[] | null | undefined;
11129
11132
  plan_interval?: ("month" | "year") | null | undefined;
@@ -14217,6 +14220,7 @@ declare class Arbi {
14217
14220
  doctag_count: number;
14218
14221
  facttag_count: number;
14219
14222
  convotag_count: number;
14223
+ dbrow_count: number;
14220
14224
  field_values?: {
14221
14225
  [x: string]: unknown;
14222
14226
  } | undefined;
@@ -14274,6 +14278,7 @@ declare class Arbi {
14274
14278
  doctag_count: number;
14275
14279
  facttag_count: number;
14276
14280
  convotag_count: number;
14281
+ dbrow_count: number;
14277
14282
  field_values?: {
14278
14283
  [x: string]: unknown;
14279
14284
  } | undefined;
@@ -14323,6 +14328,7 @@ declare class Arbi {
14323
14328
  doctag_count: number;
14324
14329
  facttag_count: number;
14325
14330
  convotag_count: number;
14331
+ dbrow_count: number;
14326
14332
  field_values?: {
14327
14333
  [x: string]: unknown;
14328
14334
  } | undefined;
@@ -14367,6 +14373,7 @@ declare class Arbi {
14367
14373
  doctag_count: number;
14368
14374
  facttag_count: number;
14369
14375
  convotag_count: number;
14376
+ dbrow_count: number;
14370
14377
  field_values?: {
14371
14378
  [key: string]: unknown;
14372
14379
  };
@@ -16718,6 +16725,7 @@ declare class Arbi {
16718
16725
  input_cost_per_token?: number | null | undefined;
16719
16726
  output_cost_per_token?: number | null | undefined;
16720
16727
  provider?: string | null | undefined;
16728
+ current_version?: string | null | undefined;
16721
16729
  mode?: string | null | undefined;
16722
16730
  supports_vision?: boolean | null | undefined;
16723
16731
  supports_reasoning?: boolean | null | undefined;
@@ -16804,6 +16812,7 @@ declare class Arbi {
16804
16812
  input_cost_per_token?: number | null | undefined;
16805
16813
  output_cost_per_token?: number | null | undefined;
16806
16814
  provider?: string | null | undefined;
16815
+ current_version?: string | null | undefined;
16807
16816
  mode?: string | null | undefined;
16808
16817
  supports_vision?: boolean | null | undefined;
16809
16818
  supports_reasoning?: boolean | null | undefined;
@@ -18846,6 +18855,7 @@ declare function getModels(arbi: ArbiClient): Promise<{
18846
18855
  input_cost_per_token?: number | null | undefined;
18847
18856
  output_cost_per_token?: number | null | undefined;
18848
18857
  provider?: string | null | undefined;
18858
+ current_version?: string | null | undefined;
18849
18859
  mode?: string | null | undefined;
18850
18860
  supports_vision?: boolean | null | undefined;
18851
18861
  supports_reasoning?: boolean | null | undefined;
@@ -18905,6 +18915,7 @@ declare function getHealthModels(arbi: ArbiClient): Promise<{
18905
18915
  input_cost_per_token?: number | null | undefined;
18906
18916
  output_cost_per_token?: number | null | undefined;
18907
18917
  provider?: string | null | undefined;
18918
+ current_version?: string | null | undefined;
18908
18919
  mode?: string | null | undefined;
18909
18920
  supports_vision?: boolean | null | undefined;
18910
18921
  supports_reasoning?: boolean | null | undefined;
@@ -19596,6 +19607,7 @@ type ContextUsage = {
19596
19607
  } | null;
19597
19608
  spent_gbp?: number | null;
19598
19609
  budget_gbp?: number | null;
19610
+ served_model?: string | null;
19599
19611
  };
19600
19612
  declare function isNearAiUsageBudget(usage: ContextUsage): boolean;
19601
19613
  declare function getContextUsedTokens(usage: ContextUsage): number;