Skip to content

Commit 2111ef8

Browse files
authored
[VET-6221] add think_mode and is_voicebox_think_mode_enabled (#78)
* add think_mode and is_voicebox_think_mode_enabled * update deps * update deps
1 parent 1227ad0 commit 2111ef8

File tree

5 files changed

+82
-48
lines changed

5 files changed

+82
-48
lines changed

src/sdk/documents/getVoiceboxConversation.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ query getVoiceboxConversation($conversation_id: String!) {
1313
named_graphs
1414
model
1515
reasoning
16+
think_mode
1617
}
1718
system_message_context {
1819
followup_examples

src/sdk/documents/listVoiceboxConversations.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ query listVoiceboxConversations($paging: PagingInput) {
99
named_graphs
1010
model
1111
reasoning
12+
think_mode
1213
}
1314
}
1415
}

src/sdk/documents/profileQuery.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ query profile {
2525
is_voicebox_enabled
2626
is_designer_storage_enabled
2727
is_voicebox_powered_suggestions_enabled
28-
is_voicebox_three_enabled
28+
is_voicebox_think_mode_enabled
2929
}
3030
}

src/sdk/index.ts

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export type Scalars = {
2626

2727
export type AddConnectionInput = {
2828
endpoint: Scalars['String'];
29+
internalEndpoint?: InputMaybe<Scalars['String']>;
2930
name: Scalars['String'];
3031
token?: InputMaybe<Scalars['String']>;
3132
useBrowserAuth?: InputMaybe<Scalars['Boolean']>;
@@ -35,6 +36,7 @@ export type AddConnectionInput = {
3536

3637
export type AddSsoConnectionInput = {
3738
connection_name: Scalars['String'];
39+
internalEndpoint?: InputMaybe<Scalars['String']>;
3840
provider_name: Scalars['String'];
3941
stardog_endpoint: Scalars['String'];
4042
};
@@ -95,6 +97,14 @@ export type CloudCleanupInput = {
9597
userName?: InputMaybe<Scalars['String']>;
9698
};
9799

100+
/** Filters for the cloud report query */
101+
export type CloudFilters = {
102+
flavor?: InputMaybe<Scalars['String']>;
103+
ownerInactiveDays?: InputMaybe<Scalars['Int']>;
104+
search?: InputMaybe<Scalars['String']>;
105+
status?: InputMaybe<Scalars['String']>;
106+
};
107+
98108
/** Stardog Cloud Flavor and Size info */
99109
export type CloudFlavor = {
100110
__typename?: 'CloudFlavor';
@@ -108,6 +118,23 @@ export type CloudFlavor = {
108118
vcpus?: Maybe<Scalars['Float']>;
109119
};
110120

121+
/** Cloud report data with filtered results and statistics */
122+
export type CloudReportData = {
123+
__typename?: 'CloudReportData';
124+
clouds?: Maybe<Array<Maybe<StardogCloud>>>;
125+
queueCounts?: Maybe<QueueCounts>;
126+
stats?: Maybe<CloudReportStats>;
127+
};
128+
129+
/** Statistics for the cloud report */
130+
export type CloudReportStats = {
131+
__typename?: 'CloudReportStats';
132+
resultCount?: Maybe<Scalars['Int']>;
133+
resultInactiveCount?: Maybe<Scalars['Int']>;
134+
totalAllocated?: Maybe<Scalars['Int']>;
135+
totalInactive?: Maybe<Scalars['Int']>;
136+
};
137+
111138
/** Saved Connection info for a Stardog instance */
112139
export type Connection = {
113140
__typename?: 'Connection';
@@ -116,6 +143,7 @@ export type Connection = {
116143
endpoint: Scalars['String'];
117144
id: Scalars['ID'];
118145
index: Scalars['Int'];
146+
internalEndpoint?: Maybe<Scalars['String']>;
119147
isAllocating?: Maybe<Scalars['Boolean']>;
120148
isStardogCloud?: Maybe<Scalars['Boolean']>;
121149
isStardogFree?: Maybe<Scalars['Boolean']>;
@@ -220,6 +248,7 @@ export type EditApiTokenInput = {
220248
export type EditConnectionInput = {
221249
endpoint?: InputMaybe<Scalars['String']>;
222250
id: Scalars['ID'];
251+
internalEndpoint?: InputMaybe<Scalars['String']>;
223252
name?: InputMaybe<Scalars['String']>;
224253
token?: InputMaybe<Scalars['String']>;
225254
useBrowserAuth?: InputMaybe<Scalars['Boolean']>;
@@ -651,6 +680,7 @@ export type Query = {
651680
checkCloudQueue?: Maybe<QueueCounts>;
652681
customerSsoSettings?: Maybe<CustomerSsoSettings>;
653682
generateToken?: Maybe<OAuthToken>;
683+
getCloudReport?: Maybe<CloudReportData>;
654684
getConnection?: Maybe<Connection>;
655685
getConnectionByIndex?: Maybe<Connection>;
656686
/** Retrieve a single Designer project. */
@@ -714,6 +744,11 @@ export type QueryGenerateTokenArgs = {
714744
endpoint: Scalars['String'];
715745
};
716746

747+
/** Root Query Type */
748+
export type QueryGetCloudReportArgs = {
749+
filters?: InputMaybe<CloudFilters>;
750+
};
751+
717752
/** Root Query Type */
718753
export type QueryGetConnectionArgs = {
719754
name: Scalars['String'];
@@ -831,6 +866,7 @@ export type QueueCounts = {
831866
medium_count?: Maybe<Scalars['Float']>;
832867
micro_count?: Maybe<Scalars['Float']>;
833868
small_count?: Maybe<Scalars['Float']>;
869+
small_vbx_count?: Maybe<Scalars['Float']>;
834870
};
835871

836872
/** Quota limits and usage for a given user. */
@@ -858,6 +894,7 @@ export type SsoConnectionRegistration = {
858894
display_provider_name: Scalars['String'];
859895
provider_name: Scalars['String'];
860896
stardog_endpoint?: Maybe<Scalars['String']>;
897+
stardog_internal_endpoint?: Maybe<Scalars['String']>;
861898
};
862899

863900
/** Settings, these are settings that control the front end display */
@@ -866,15 +903,15 @@ export type Settings = {
866903
auth0Auth: Scalars['Boolean'];
867904
azureAuth: Scalars['Boolean'];
868905
baseURL: Scalars['String'];
906+
copyConnectionTokenButtonEnabled: Scalars['Boolean'];
869907
dataMarketplace: Scalars['Boolean'];
870908
designerVersion: Scalars['String'];
909+
duoAuth: Scalars['Boolean'];
871910
explorerVersion: Scalars['String'];
872911
friendlyName: Scalars['String'];
873-
geoaxisAuth: Scalars['Boolean'];
874912
googleAuth: Scalars['Boolean'];
875913
homeFooterLinks: Scalars['Boolean'];
876914
kerberosAuth: Scalars['Boolean'];
877-
keycloakAuth: Scalars['Boolean'];
878915
oktaAuth: Scalars['Boolean'];
879916
openidAuth: Scalars['Boolean'];
880917
passwordAuth: Scalars['Boolean'];
@@ -910,10 +947,13 @@ export type StardogCloud = {
910947
__typename?: 'StardogCloud';
911948
bi_endpoint?: Maybe<Scalars['String']>;
912949
created?: Maybe<Scalars['String']>;
950+
days_to_cleanup?: Maybe<Scalars['Int']>;
951+
days_to_inactive?: Maybe<Scalars['Int']>;
913952
endpoint?: Maybe<Scalars['String']>;
914953
flavor?: Maybe<CloudFlavor>;
915954
id?: Maybe<Scalars['ID']>;
916955
name?: Maybe<Scalars['String']>;
956+
notification_date?: Maybe<Scalars['String']>;
917957
owner?: Maybe<User>;
918958
payment_ref?: Maybe<Scalars['String']>;
919959
price_ref?: Maybe<Scalars['String']>;
@@ -1017,6 +1057,8 @@ export type User = {
10171057
is_voicebox_api_access_enabled?: Maybe<Scalars['Boolean']>;
10181058
is_voicebox_enabled?: Maybe<Scalars['Boolean']>;
10191059
is_voicebox_powered_suggestions_enabled?: Maybe<Scalars['Boolean']>;
1060+
is_voicebox_think_mode_enabled?: Maybe<Scalars['Boolean']>;
1061+
/** @deprecated is_voicebox_three_enabled is deprecated. Use is_voicebox_think_mode_enabled instead. */
10201062
is_voicebox_three_enabled?: Maybe<Scalars['Boolean']>;
10211063
last_login?: Maybe<Scalars['String']>;
10221064
last_name?: Maybe<Scalars['String']>;
@@ -1035,8 +1077,6 @@ export type UserFeaturesInput = {
10351077
is_static_voicebox?: InputMaybe<Scalars['Boolean']>;
10361078
is_voicebox_api_access_enabled?: InputMaybe<Scalars['Boolean']>;
10371079
is_voicebox_enabled?: InputMaybe<Scalars['Boolean']>;
1038-
is_voicebox_powered_suggestions_enabled?: InputMaybe<Scalars['Boolean']>;
1039-
is_voicebox_three_enabled?: InputMaybe<Scalars['Boolean']>;
10401080
};
10411081

10421082
export type UserSearchDetails = {
@@ -1060,6 +1100,7 @@ export type UserVoiceboxMessageContext = {
10601100
model?: Maybe<Scalars['String']>;
10611101
named_graphs?: Maybe<Array<Maybe<Scalars['String']>>>;
10621102
reasoning?: Maybe<Scalars['Boolean']>;
1103+
think_mode?: Maybe<Scalars['String']>;
10631104
};
10641105

10651106
export type VoicboxSystemMessageAction = {
@@ -1236,6 +1277,7 @@ export type GetVoiceboxConversationQuery = {
12361277
named_graphs?: Array<string | null> | null;
12371278
model?: string | null;
12381279
reasoning?: boolean | null;
1280+
think_mode?: string | null;
12391281
} | null;
12401282
system_message_context?: {
12411283
__typename?: 'SystemVoiceboxMessageContext';
@@ -1289,6 +1331,7 @@ export type ListVoiceboxConversationsQuery = {
12891331
named_graphs?: Array<string | null> | null;
12901332
model?: string | null;
12911333
reasoning?: boolean | null;
1334+
think_mode?: string | null;
12921335
} | null;
12931336
} | null;
12941337
} | null> | null;
@@ -1322,7 +1365,7 @@ export type ProfileQuery = {
13221365
is_voicebox_enabled?: boolean | null;
13231366
is_designer_storage_enabled?: boolean | null;
13241367
is_voicebox_powered_suggestions_enabled?: boolean | null;
1325-
is_voicebox_three_enabled?: boolean | null;
1368+
is_voicebox_think_mode_enabled?: boolean | null;
13261369
} | null;
13271370
};
13281371

@@ -1465,6 +1508,7 @@ export const GetVoiceboxConversationDocument = `
14651508
named_graphs
14661509
model
14671510
reasoning
1511+
think_mode
14681512
}
14691513
system_message_context {
14701514
followup_examples
@@ -1506,6 +1550,7 @@ export const ListVoiceboxConversationsDocument = `
15061550
named_graphs
15071551
model
15081552
reasoning
1553+
think_mode
15091554
}
15101555
}
15111556
}
@@ -1535,7 +1580,7 @@ export const ProfileDocument = `
15351580
is_voicebox_enabled
15361581
is_designer_storage_enabled
15371582
is_voicebox_powered_suggestions_enabled
1538-
is_voicebox_three_enabled
1583+
is_voicebox_think_mode_enabled
15391584
}
15401585
}
15411586
`;

yarn.lock

Lines changed: 28 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,14 @@
10451045
resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861"
10461046
integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==
10471047

1048+
"@inquirer/external-editor@^1.0.0":
1049+
version "1.0.3"
1050+
resolved "https://registry.yarnpkg.com/@inquirer/external-editor/-/external-editor-1.0.3.tgz#c23988291ee676290fdab3fd306e64010a6d13b8"
1051+
integrity sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==
1052+
dependencies:
1053+
chardet "^2.1.1"
1054+
iconv-lite "^0.7.0"
1055+
10481056
"@istanbuljs/load-nyc-config@^1.0.0":
10491057
version "1.1.0"
10501058
resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced"
@@ -2085,10 +2093,10 @@ char-regex@^1.0.2:
20852093
resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"
20862094
integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==
20872095

2088-
chardet@^0.7.0:
2089-
version "0.7.0"
2090-
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
2091-
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
2096+
chardet@^2.1.1:
2097+
version "2.1.1"
2098+
resolved "https://registry.yarnpkg.com/chardet/-/chardet-2.1.1.tgz#5c75593704a642f71ee53717df234031e65373c8"
2099+
integrity sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==
20922100

20932101
ci-info@^3.2.0:
20942102
version "3.7.1"
@@ -2532,15 +2540,6 @@ expect@^29.0.0, expect@^29.3.1:
25322540
jest-message-util "^29.3.1"
25332541
jest-util "^29.3.1"
25342542

2535-
external-editor@^3.0.3:
2536-
version "3.1.0"
2537-
resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495"
2538-
integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==
2539-
dependencies:
2540-
chardet "^0.7.0"
2541-
iconv-lite "^0.4.24"
2542-
tmp "^0.0.33"
2543-
25442543
extract-files@^11.0.0:
25452544
version "11.0.0"
25462545
resolved "https://registry.yarnpkg.com/extract-files/-/extract-files-11.0.0.tgz#b72d428712f787eef1f5193aff8ab5351ca8469a"
@@ -2920,12 +2919,12 @@ [email protected]:
29202919
dependencies:
29212920
safer-buffer ">= 2.1.2 < 3.0.0"
29222921

2923-
iconv-lite@^0.4.24:
2924-
version "0.4.24"
2925-
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
2926-
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
2922+
iconv-lite@^0.7.0:
2923+
version "0.7.0"
2924+
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.0.tgz#c50cd80e6746ca8115eb98743afa81aa0e147a3e"
2925+
integrity sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==
29272926
dependencies:
2928-
safer-buffer ">= 2.1.2 < 3"
2927+
safer-buffer ">= 2.1.2 < 3.0.0"
29292928

29302929
ieee754@^1.1.13:
29312930
version "1.2.1"
@@ -2987,15 +2986,15 @@ inherits@2, inherits@^2.0.3, inherits@^2.0.4:
29872986
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
29882987

29892988
inquirer@^8.0.0:
2990-
version "8.2.6"
2991-
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562"
2992-
integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==
2989+
version "8.2.7"
2990+
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.7.tgz#62f6b931a9b7f8735dc42db927316d8fb6f71de8"
2991+
integrity sha512-UjOaSel/iddGZJ5xP/Eixh6dY1XghiBw4XK13rCCIJcJfyhhoul/7KhLLUGtebEj6GDYM6Vnx/mVsjx2L/mFIA==
29932992
dependencies:
2993+
"@inquirer/external-editor" "^1.0.0"
29942994
ansi-escapes "^4.2.1"
29952995
chalk "^4.1.1"
29962996
cli-cursor "^3.1.0"
29972997
cli-width "^3.0.0"
2998-
external-editor "^3.0.3"
29992998
figures "^3.0.0"
30002999
lodash "^4.17.21"
30013000
mute-stream "0.0.8"
@@ -3557,17 +3556,17 @@ jose@^5.0.0:
35573556
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
35583557

35593558
js-yaml@^3.13.1:
3560-
version "3.14.1"
3561-
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537"
3562-
integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==
3559+
version "3.14.2"
3560+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.2.tgz#77485ce1dd7f33c061fd1b16ecea23b55fcb04b0"
3561+
integrity sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==
35633562
dependencies:
35643563
argparse "^1.0.7"
35653564
esprima "^4.0.0"
35663565

35673566
js-yaml@^4.0.0, js-yaml@^4.1.0:
3568-
version "4.1.0"
3569-
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
3570-
integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
3567+
version "4.1.1"
3568+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b"
3569+
integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==
35713570
dependencies:
35723571
argparse "^2.0.1"
35733572

@@ -3944,11 +3943,6 @@ ora@^5.4.1:
39443943
strip-ansi "^6.0.0"
39453944
wcwidth "^1.0.1"
39463945

3947-
os-tmpdir@~1.0.2:
3948-
version "1.0.2"
3949-
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
3950-
integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==
3951-
39523946
[email protected], p-limit@^3.1.0:
39533947
version "3.1.0"
39543948
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b"
@@ -4300,7 +4294,7 @@ safe-buffer@~5.2.0:
43004294
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
43014295
integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
43024296

4303-
"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0":
4297+
"safer-buffer@>= 2.1.2 < 3.0.0":
43044298
version "2.1.2"
43054299
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
43064300
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
@@ -4551,13 +4545,6 @@ title-case@^3.0.3:
45514545
dependencies:
45524546
tslib "^2.0.3"
45534547

4554-
tmp@^0.0.33:
4555-
version "0.0.33"
4556-
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
4557-
integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==
4558-
dependencies:
4559-
os-tmpdir "~1.0.2"
4560-
45614548
45624549
version "1.0.5"
45634550
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"

0 commit comments

Comments
 (0)