@vibexp/api-client 0.98.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/axios/types.gen.d.ts +43 -20
- package/dist/schema.d.ts +39 -20
- package/package.json +1 -1
|
@@ -6437,18 +6437,22 @@ export type AdminInstanceSearchSettings = {
|
|
|
6437
6437
|
updated_by_name: string | null;
|
|
6438
6438
|
/**
|
|
6439
6439
|
* The stored row's optimistic-lock version; null when nothing is stored.
|
|
6440
|
-
* Send it back as `expected_version` to reject a
|
|
6441
|
-
* overwrite someone else's change.
|
|
6440
|
+
* Send it back as `expected_version` (`0` when it is null) to reject a
|
|
6441
|
+
* save that would overwrite someone else's change.
|
|
6442
6442
|
*
|
|
6443
6443
|
*/
|
|
6444
6444
|
version: number | null;
|
|
6445
6445
|
};
|
|
6446
6446
|
/**
|
|
6447
6447
|
* A whole replacement of the instance search ranking defaults. Every value is
|
|
6448
|
-
* required. `expected_version` is optional
|
|
6449
|
-
*
|
|
6450
|
-
*
|
|
6451
|
-
* last-write-wins.
|
|
6448
|
+
* required. `expected_version` is optional and makes the save a
|
|
6449
|
+
* compare-and-set:
|
|
6450
|
+
*
|
|
6451
|
+
* - omitted or null: last-write-wins, never a conflict.
|
|
6452
|
+
* - `0`: nothing may be stored yet; the save is rejected with 409 when a row
|
|
6453
|
+
* is stored. Send it when the `version` last read was null.
|
|
6454
|
+
* - a positive value: the save is rejected with 409 unless it equals the
|
|
6455
|
+
* stored `version`, and also when nothing is stored.
|
|
6452
6456
|
*
|
|
6453
6457
|
*/
|
|
6454
6458
|
export type AdminInstanceSearchSettingsUpdate = {
|
|
@@ -6459,7 +6463,10 @@ export type AdminInstanceSearchSettingsUpdate = {
|
|
|
6459
6463
|
rank_half_life_days: number;
|
|
6460
6464
|
rank_candidate_cap: number;
|
|
6461
6465
|
/**
|
|
6462
|
-
* The `version` the caller last read
|
|
6466
|
+
* The `version` the caller last read. Send `0` when that `version` was
|
|
6467
|
+
* null, to save only while nothing is stored. Omit it or send null for
|
|
6468
|
+
* last-write-wins. A negative value matches nothing and is a 409.
|
|
6469
|
+
*
|
|
6463
6470
|
*/
|
|
6464
6471
|
expected_version?: number | null;
|
|
6465
6472
|
};
|
|
@@ -6542,18 +6549,22 @@ export type AdminInstanceAiSummarySettings = {
|
|
|
6542
6549
|
updated_by_name: string | null;
|
|
6543
6550
|
/**
|
|
6544
6551
|
* The stored row's optimistic-lock version; null when nothing is stored.
|
|
6545
|
-
* Send it back as `expected_version` to reject a
|
|
6546
|
-
* overwrite someone else's change.
|
|
6552
|
+
* Send it back as `expected_version` (`0` when it is null) to reject a
|
|
6553
|
+
* save that would overwrite someone else's change.
|
|
6547
6554
|
*
|
|
6548
6555
|
*/
|
|
6549
6556
|
version: number | null;
|
|
6550
6557
|
};
|
|
6551
6558
|
/**
|
|
6552
6559
|
* A whole replacement of the instance AI summary settings. Every value is
|
|
6553
|
-
* required. `expected_version` is optional
|
|
6554
|
-
*
|
|
6555
|
-
*
|
|
6556
|
-
* last-write-wins.
|
|
6560
|
+
* required. `expected_version` is optional and makes the save a
|
|
6561
|
+
* compare-and-set:
|
|
6562
|
+
*
|
|
6563
|
+
* - omitted or null: last-write-wins, never a conflict.
|
|
6564
|
+
* - `0`: nothing may be stored yet; the save is rejected with 409 when a row
|
|
6565
|
+
* is stored. Send it when the `version` last read was null.
|
|
6566
|
+
* - a positive value: the save is rejected with 409 unless it equals the
|
|
6567
|
+
* stored `version`, and also when nothing is stored.
|
|
6557
6568
|
*
|
|
6558
6569
|
*/
|
|
6559
6570
|
export type AdminInstanceAiSummarySettingsUpdate = {
|
|
@@ -6565,7 +6576,10 @@ export type AdminInstanceAiSummarySettingsUpdate = {
|
|
|
6565
6576
|
total_context_chars: number;
|
|
6566
6577
|
request_timeout_ms: number;
|
|
6567
6578
|
/**
|
|
6568
|
-
* The `version` the caller last read
|
|
6579
|
+
* The `version` the caller last read. Send `0` when that `version` was
|
|
6580
|
+
* null, to save only while nothing is stored. Omit it or send null for
|
|
6581
|
+
* last-write-wins. A negative value matches nothing and is a 409.
|
|
6582
|
+
*
|
|
6569
6583
|
*/
|
|
6570
6584
|
expected_version?: number | null;
|
|
6571
6585
|
};
|
|
@@ -6814,7 +6828,10 @@ export type AdminAuthAllowlist = {
|
|
|
6814
6828
|
*/
|
|
6815
6829
|
active: boolean;
|
|
6816
6830
|
/**
|
|
6817
|
-
* The stored allowlist's own version; null when nothing is stored.
|
|
6831
|
+
* The stored allowlist's own version; null when nothing is stored. Send
|
|
6832
|
+
* it back as `expected_version` (`0` when it is null) to reject a save
|
|
6833
|
+
* that would overwrite someone else's change.
|
|
6834
|
+
*
|
|
6818
6835
|
*/
|
|
6819
6836
|
version: number | null;
|
|
6820
6837
|
/**
|
|
@@ -6835,17 +6852,23 @@ export type AdminAuthAllowlist = {
|
|
|
6835
6852
|
* is a DNS name of at least two labels with no leading `@`. Storing two empty
|
|
6836
6853
|
* lists means open access.
|
|
6837
6854
|
*
|
|
6838
|
-
* `expected_version` is optional
|
|
6839
|
-
*
|
|
6840
|
-
*
|
|
6841
|
-
*
|
|
6855
|
+
* `expected_version` is optional and makes the save a compare-and-set:
|
|
6856
|
+
*
|
|
6857
|
+
* - omitted or null: last-write-wins, never a conflict.
|
|
6858
|
+
* - `0`: no allowlist may be stored yet; the save is rejected with 409 when
|
|
6859
|
+
* one is. Send it when the `version` last read was null.
|
|
6860
|
+
* - a positive value: the save is rejected with 409 unless it equals the
|
|
6861
|
+
* stored allowlist's `version`, and also when nothing is stored.
|
|
6842
6862
|
*
|
|
6843
6863
|
*/
|
|
6844
6864
|
export type AdminAuthAllowlistUpdate = {
|
|
6845
6865
|
domains: Array<string>;
|
|
6846
6866
|
emails: Array<string>;
|
|
6847
6867
|
/**
|
|
6848
|
-
* The `version` the caller last read
|
|
6868
|
+
* The `version` the caller last read. Send `0` when that `version` was
|
|
6869
|
+
* null, to save only while nothing is stored. Omit it or send null for
|
|
6870
|
+
* last-write-wins. A negative value matches nothing and is a 409.
|
|
6871
|
+
*
|
|
6849
6872
|
*/
|
|
6850
6873
|
expected_version?: number | null;
|
|
6851
6874
|
};
|
package/dist/schema.d.ts
CHANGED
|
@@ -13418,18 +13418,22 @@ export interface components {
|
|
|
13418
13418
|
/**
|
|
13419
13419
|
* Format: int64
|
|
13420
13420
|
* @description The stored row's optimistic-lock version; null when nothing is stored.
|
|
13421
|
-
* Send it back as `expected_version` to reject a
|
|
13422
|
-
* overwrite someone else's change.
|
|
13421
|
+
* Send it back as `expected_version` (`0` when it is null) to reject a
|
|
13422
|
+
* save that would overwrite someone else's change.
|
|
13423
13423
|
* @example 4
|
|
13424
13424
|
*/
|
|
13425
13425
|
version: number | null;
|
|
13426
13426
|
};
|
|
13427
13427
|
/**
|
|
13428
13428
|
* @description A whole replacement of the instance search ranking defaults. Every value is
|
|
13429
|
-
* required. `expected_version` is optional
|
|
13430
|
-
*
|
|
13431
|
-
*
|
|
13432
|
-
* last-write-wins.
|
|
13429
|
+
* required. `expected_version` is optional and makes the save a
|
|
13430
|
+
* compare-and-set:
|
|
13431
|
+
*
|
|
13432
|
+
* - omitted or null: last-write-wins, never a conflict.
|
|
13433
|
+
* - `0`: nothing may be stored yet; the save is rejected with 409 when a row
|
|
13434
|
+
* is stored. Send it when the `version` last read was null.
|
|
13435
|
+
* - a positive value: the save is rejected with 409 unless it equals the
|
|
13436
|
+
* stored `version`, and also when nothing is stored.
|
|
13433
13437
|
*/
|
|
13434
13438
|
AdminInstanceSearchSettingsUpdate: {
|
|
13435
13439
|
recency_ranking_enabled: boolean;
|
|
@@ -13444,7 +13448,9 @@ export interface components {
|
|
|
13444
13448
|
rank_candidate_cap: number;
|
|
13445
13449
|
/**
|
|
13446
13450
|
* Format: int64
|
|
13447
|
-
* @description The `version` the caller last read
|
|
13451
|
+
* @description The `version` the caller last read. Send `0` when that `version` was
|
|
13452
|
+
* null, to save only while nothing is stored. Omit it or send null for
|
|
13453
|
+
* last-write-wins. A negative value matches nothing and is a 409.
|
|
13448
13454
|
*/
|
|
13449
13455
|
expected_version?: number | null;
|
|
13450
13456
|
};
|
|
@@ -13540,18 +13546,22 @@ export interface components {
|
|
|
13540
13546
|
/**
|
|
13541
13547
|
* Format: int64
|
|
13542
13548
|
* @description The stored row's optimistic-lock version; null when nothing is stored.
|
|
13543
|
-
* Send it back as `expected_version` to reject a
|
|
13544
|
-
* overwrite someone else's change.
|
|
13549
|
+
* Send it back as `expected_version` (`0` when it is null) to reject a
|
|
13550
|
+
* save that would overwrite someone else's change.
|
|
13545
13551
|
* @example 4
|
|
13546
13552
|
*/
|
|
13547
13553
|
version: number | null;
|
|
13548
13554
|
};
|
|
13549
13555
|
/**
|
|
13550
13556
|
* @description A whole replacement of the instance AI summary settings. Every value is
|
|
13551
|
-
* required. `expected_version` is optional
|
|
13552
|
-
*
|
|
13553
|
-
*
|
|
13554
|
-
* last-write-wins.
|
|
13557
|
+
* required. `expected_version` is optional and makes the save a
|
|
13558
|
+
* compare-and-set:
|
|
13559
|
+
*
|
|
13560
|
+
* - omitted or null: last-write-wins, never a conflict.
|
|
13561
|
+
* - `0`: nothing may be stored yet; the save is rejected with 409 when a row
|
|
13562
|
+
* is stored. Send it when the `version` last read was null.
|
|
13563
|
+
* - a positive value: the save is rejected with 409 unless it equals the
|
|
13564
|
+
* stored `version`, and also when nothing is stored.
|
|
13555
13565
|
*/
|
|
13556
13566
|
AdminInstanceAISummarySettingsUpdate: {
|
|
13557
13567
|
enabled: boolean;
|
|
@@ -13563,7 +13573,9 @@ export interface components {
|
|
|
13563
13573
|
request_timeout_ms: number;
|
|
13564
13574
|
/**
|
|
13565
13575
|
* Format: int64
|
|
13566
|
-
* @description The `version` the caller last read
|
|
13576
|
+
* @description The `version` the caller last read. Send `0` when that `version` was
|
|
13577
|
+
* null, to save only while nothing is stored. Omit it or send null for
|
|
13578
|
+
* last-write-wins. A negative value matches nothing and is a 409.
|
|
13567
13579
|
*/
|
|
13568
13580
|
expected_version?: number | null;
|
|
13569
13581
|
};
|
|
@@ -13841,7 +13853,9 @@ export interface components {
|
|
|
13841
13853
|
active: boolean;
|
|
13842
13854
|
/**
|
|
13843
13855
|
* Format: int64
|
|
13844
|
-
* @description The stored allowlist's own version; null when nothing is stored.
|
|
13856
|
+
* @description The stored allowlist's own version; null when nothing is stored. Send
|
|
13857
|
+
* it back as `expected_version` (`0` when it is null) to reject a save
|
|
13858
|
+
* that would overwrite someone else's change.
|
|
13845
13859
|
* @example 3
|
|
13846
13860
|
*/
|
|
13847
13861
|
version: number | null;
|
|
@@ -13864,10 +13878,13 @@ export interface components {
|
|
|
13864
13878
|
* is a DNS name of at least two labels with no leading `@`. Storing two empty
|
|
13865
13879
|
* lists means open access.
|
|
13866
13880
|
*
|
|
13867
|
-
* `expected_version` is optional
|
|
13868
|
-
*
|
|
13869
|
-
*
|
|
13870
|
-
*
|
|
13881
|
+
* `expected_version` is optional and makes the save a compare-and-set:
|
|
13882
|
+
*
|
|
13883
|
+
* - omitted or null: last-write-wins, never a conflict.
|
|
13884
|
+
* - `0`: no allowlist may be stored yet; the save is rejected with 409 when
|
|
13885
|
+
* one is. Send it when the `version` last read was null.
|
|
13886
|
+
* - a positive value: the save is rejected with 409 unless it equals the
|
|
13887
|
+
* stored allowlist's `version`, and also when nothing is stored.
|
|
13871
13888
|
*/
|
|
13872
13889
|
AdminAuthAllowlistUpdate: {
|
|
13873
13890
|
/**
|
|
@@ -13884,7 +13901,9 @@ export interface components {
|
|
|
13884
13901
|
emails: string[];
|
|
13885
13902
|
/**
|
|
13886
13903
|
* Format: int64
|
|
13887
|
-
* @description The `version` the caller last read
|
|
13904
|
+
* @description The `version` the caller last read. Send `0` when that `version` was
|
|
13905
|
+
* null, to save only while nothing is stored. Omit it or send null for
|
|
13906
|
+
* last-write-wins. A negative value matches nothing and is a 409.
|
|
13888
13907
|
*/
|
|
13889
13908
|
expected_version?: number | null;
|
|
13890
13909
|
};
|
package/package.json
CHANGED