@miradorlabs/web-grpc 4.18.0 → 4.20.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/package.json +1 -1
- package/proto/gateway/common/v1/status.ts +26 -2
- package/proto/gateway/common/v1/status_pb.js +31 -1
- package/proto/gateway/web/v1/account_gateway.ts +182 -1
- package/proto/gateway/web/v1/account_gateway_pb.js +270 -2
- package/proto/gateway/web/v1/admin_gateway.ts +25 -1
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +1 -1
- package/proto/gateway/web/v1/admin_gateway_pb.js +5 -1
package/package.json
CHANGED
|
@@ -13,7 +13,15 @@ export const protobufFileName = "proto/gateway/common/v1/status.proto";
|
|
|
13
13
|
|
|
14
14
|
export interface ResponseStatus {
|
|
15
15
|
code: ResponseStatus_StatusCode;
|
|
16
|
-
errorMessage?:
|
|
16
|
+
errorMessage?:
|
|
17
|
+
| string
|
|
18
|
+
| undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The AIP-193 ErrorInfo.reason of a backend refusal (for example PERSONAL_ORG_INACTIVE): a stable UPPER_SNAKE_CASE
|
|
21
|
+
* constant that clients branch on, listed on each RPC that gives one. Empty when the failure has none. error_message
|
|
22
|
+
* is for people and may change.
|
|
23
|
+
*/
|
|
24
|
+
reason: string;
|
|
17
25
|
}
|
|
18
26
|
|
|
19
27
|
export enum ResponseStatus_StatusCode {
|
|
@@ -90,7 +98,7 @@ export function responseStatus_StatusCodeToJSON(object: ResponseStatus_StatusCod
|
|
|
90
98
|
}
|
|
91
99
|
|
|
92
100
|
function createBaseResponseStatus(): ResponseStatus {
|
|
93
|
-
return { code: 0, errorMessage: undefined };
|
|
101
|
+
return { code: 0, errorMessage: undefined, reason: "" };
|
|
94
102
|
}
|
|
95
103
|
|
|
96
104
|
export const ResponseStatus: MessageFns<ResponseStatus> = {
|
|
@@ -101,6 +109,9 @@ export const ResponseStatus: MessageFns<ResponseStatus> = {
|
|
|
101
109
|
if (message.errorMessage !== undefined) {
|
|
102
110
|
writer.uint32(18).string(message.errorMessage);
|
|
103
111
|
}
|
|
112
|
+
if (message.reason !== "") {
|
|
113
|
+
writer.uint32(26).string(message.reason);
|
|
114
|
+
}
|
|
104
115
|
return writer;
|
|
105
116
|
},
|
|
106
117
|
|
|
@@ -133,6 +144,14 @@ export const ResponseStatus: MessageFns<ResponseStatus> = {
|
|
|
133
144
|
message.errorMessage = reader.string();
|
|
134
145
|
continue;
|
|
135
146
|
}
|
|
147
|
+
case 3: {
|
|
148
|
+
if (tag !== 26) {
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
message.reason = reader.string();
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
136
155
|
}
|
|
137
156
|
if ((tag & 7) === 4 || tag === 0) {
|
|
138
157
|
break;
|
|
@@ -153,6 +172,7 @@ export const ResponseStatus: MessageFns<ResponseStatus> = {
|
|
|
153
172
|
: isSet(object.error_message)
|
|
154
173
|
? globalThis.String(object.error_message)
|
|
155
174
|
: undefined,
|
|
175
|
+
reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
|
|
156
176
|
};
|
|
157
177
|
},
|
|
158
178
|
|
|
@@ -164,6 +184,9 @@ export const ResponseStatus: MessageFns<ResponseStatus> = {
|
|
|
164
184
|
if (message.errorMessage !== undefined) {
|
|
165
185
|
obj.errorMessage = message.errorMessage;
|
|
166
186
|
}
|
|
187
|
+
if (message.reason !== "") {
|
|
188
|
+
obj.reason = message.reason;
|
|
189
|
+
}
|
|
167
190
|
return obj;
|
|
168
191
|
},
|
|
169
192
|
|
|
@@ -174,6 +197,7 @@ export const ResponseStatus: MessageFns<ResponseStatus> = {
|
|
|
174
197
|
const message = createBaseResponseStatus();
|
|
175
198
|
message.code = object.code ?? 0;
|
|
176
199
|
message.errorMessage = object.errorMessage ?? undefined;
|
|
200
|
+
message.reason = object.reason ?? "";
|
|
177
201
|
return message;
|
|
178
202
|
},
|
|
179
203
|
};
|
|
@@ -71,7 +71,8 @@ proto.gateway.common.v1.ResponseStatus.prototype.toObject = function(opt_include
|
|
|
71
71
|
proto.gateway.common.v1.ResponseStatus.toObject = function(includeInstance, msg) {
|
|
72
72
|
var f, obj = {
|
|
73
73
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
74
|
-
errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
74
|
+
errorMessage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
75
|
+
reason: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
75
76
|
};
|
|
76
77
|
|
|
77
78
|
if (includeInstance) {
|
|
@@ -116,6 +117,10 @@ proto.gateway.common.v1.ResponseStatus.deserializeBinaryFromReader = function(ms
|
|
|
116
117
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
117
118
|
msg.setErrorMessage(value);
|
|
118
119
|
break;
|
|
120
|
+
case 3:
|
|
121
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
122
|
+
msg.setReason(value);
|
|
123
|
+
break;
|
|
119
124
|
default:
|
|
120
125
|
reader.skipField();
|
|
121
126
|
break;
|
|
@@ -159,6 +164,13 @@ proto.gateway.common.v1.ResponseStatus.serializeBinaryToWriter = function(messag
|
|
|
159
164
|
f
|
|
160
165
|
);
|
|
161
166
|
}
|
|
167
|
+
f = message.getReason();
|
|
168
|
+
if (f.length > 0) {
|
|
169
|
+
writer.writeString(
|
|
170
|
+
3,
|
|
171
|
+
f
|
|
172
|
+
);
|
|
173
|
+
}
|
|
162
174
|
};
|
|
163
175
|
|
|
164
176
|
|
|
@@ -230,4 +242,22 @@ proto.gateway.common.v1.ResponseStatus.prototype.hasErrorMessage = function() {
|
|
|
230
242
|
};
|
|
231
243
|
|
|
232
244
|
|
|
245
|
+
/**
|
|
246
|
+
* optional string reason = 3;
|
|
247
|
+
* @return {string}
|
|
248
|
+
*/
|
|
249
|
+
proto.gateway.common.v1.ResponseStatus.prototype.getReason = function() {
|
|
250
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @param {string} value
|
|
256
|
+
* @return {!proto.gateway.common.v1.ResponseStatus} returns this
|
|
257
|
+
*/
|
|
258
|
+
proto.gateway.common.v1.ResponseStatus.prototype.setReason = function(value) {
|
|
259
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
|
|
233
263
|
goog.object.extend(exports, proto.gateway.common.v1);
|
|
@@ -139,6 +139,45 @@ export function organizationStatusToJSON(object: OrganizationStatus): string {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
export enum OrganizationType {
|
|
143
|
+
ORGANIZATION_TYPE_UNSPECIFIED = 0,
|
|
144
|
+
ORGANIZATION_TYPE_PERSONAL = 1,
|
|
145
|
+
ORGANIZATION_TYPE_SHARED = 2,
|
|
146
|
+
UNRECOGNIZED = -1,
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function organizationTypeFromJSON(object: any): OrganizationType {
|
|
150
|
+
switch (object) {
|
|
151
|
+
case 0:
|
|
152
|
+
case "ORGANIZATION_TYPE_UNSPECIFIED":
|
|
153
|
+
return OrganizationType.ORGANIZATION_TYPE_UNSPECIFIED;
|
|
154
|
+
case 1:
|
|
155
|
+
case "ORGANIZATION_TYPE_PERSONAL":
|
|
156
|
+
return OrganizationType.ORGANIZATION_TYPE_PERSONAL;
|
|
157
|
+
case 2:
|
|
158
|
+
case "ORGANIZATION_TYPE_SHARED":
|
|
159
|
+
return OrganizationType.ORGANIZATION_TYPE_SHARED;
|
|
160
|
+
case -1:
|
|
161
|
+
case "UNRECOGNIZED":
|
|
162
|
+
default:
|
|
163
|
+
return OrganizationType.UNRECOGNIZED;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function organizationTypeToJSON(object: OrganizationType): string {
|
|
168
|
+
switch (object) {
|
|
169
|
+
case OrganizationType.ORGANIZATION_TYPE_UNSPECIFIED:
|
|
170
|
+
return "ORGANIZATION_TYPE_UNSPECIFIED";
|
|
171
|
+
case OrganizationType.ORGANIZATION_TYPE_PERSONAL:
|
|
172
|
+
return "ORGANIZATION_TYPE_PERSONAL";
|
|
173
|
+
case OrganizationType.ORGANIZATION_TYPE_SHARED:
|
|
174
|
+
return "ORGANIZATION_TYPE_SHARED";
|
|
175
|
+
case OrganizationType.UNRECOGNIZED:
|
|
176
|
+
default:
|
|
177
|
+
return "UNRECOGNIZED";
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
142
181
|
export enum OnboardingStatus {
|
|
143
182
|
ONBOARDING_STATUS_UNSPECIFIED = 0,
|
|
144
183
|
ONBOARDING_STATUS_NOT_STARTED = 1,
|
|
@@ -397,6 +436,21 @@ export function mcpClientKindToJSON(object: McpClientKind): string {
|
|
|
397
436
|
export interface LogonRequest {
|
|
398
437
|
/** Invitation ID for accepting invites during logon */
|
|
399
438
|
invitationId?: string | undefined;
|
|
439
|
+
filter: OrganizationFilter | undefined;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* OrganizationFilter narrows the organizations a Logon answers. Fields AND; a repeated field matches any of its values;
|
|
444
|
+
* an unset or empty field does not filter.
|
|
445
|
+
*/
|
|
446
|
+
export interface OrganizationFilter {
|
|
447
|
+
/**
|
|
448
|
+
* The types of the organizations to answer. ORGANIZATION_TYPE_PERSONAL also makes the caller's PERSONAL organization
|
|
449
|
+
* and its one team when they have none; its time_zone starts empty, for the client to set with UpdateOrganization.
|
|
450
|
+
* Refusals are a VALIDATION_ERROR whose status.reason is PERSONAL_ORGS_DISABLED (personal organizations are off) or
|
|
451
|
+
* PERSONAL_ORG_INACTIVE (the PERSONAL organization is suspended and nothing else matches).
|
|
452
|
+
*/
|
|
453
|
+
organizationTypes: OrganizationType[];
|
|
400
454
|
}
|
|
401
455
|
|
|
402
456
|
export interface LogonResponse {
|
|
@@ -452,6 +506,11 @@ export interface Organization {
|
|
|
452
506
|
* one, which is distinct from an explicit UTC.
|
|
453
507
|
*/
|
|
454
508
|
timeZone: string;
|
|
509
|
+
/**
|
|
510
|
+
* PERSONAL is one person's own workspace (one member, its owner, and one team); SHARED is every other organization.
|
|
511
|
+
* Lists put SHARED organizations first and the PERSONAL one last.
|
|
512
|
+
*/
|
|
513
|
+
organizationType: OrganizationType;
|
|
455
514
|
}
|
|
456
515
|
|
|
457
516
|
export interface CreateProjectRequest {
|
|
@@ -1023,7 +1082,7 @@ export interface GetProductFeaturesResponse {
|
|
|
1023
1082
|
}
|
|
1024
1083
|
|
|
1025
1084
|
function createBaseLogonRequest(): LogonRequest {
|
|
1026
|
-
return { invitationId: undefined };
|
|
1085
|
+
return { invitationId: undefined, filter: undefined };
|
|
1027
1086
|
}
|
|
1028
1087
|
|
|
1029
1088
|
export const LogonRequest: MessageFns<LogonRequest> = {
|
|
@@ -1031,6 +1090,9 @@ export const LogonRequest: MessageFns<LogonRequest> = {
|
|
|
1031
1090
|
if (message.invitationId !== undefined) {
|
|
1032
1091
|
writer.uint32(10).string(message.invitationId);
|
|
1033
1092
|
}
|
|
1093
|
+
if (message.filter !== undefined) {
|
|
1094
|
+
OrganizationFilter.encode(message.filter, writer.uint32(18).fork()).join();
|
|
1095
|
+
}
|
|
1034
1096
|
return writer;
|
|
1035
1097
|
},
|
|
1036
1098
|
|
|
@@ -1055,6 +1117,14 @@ export const LogonRequest: MessageFns<LogonRequest> = {
|
|
|
1055
1117
|
message.invitationId = reader.string();
|
|
1056
1118
|
continue;
|
|
1057
1119
|
}
|
|
1120
|
+
case 2: {
|
|
1121
|
+
if (tag !== 18) {
|
|
1122
|
+
break;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
message.filter = OrganizationFilter.decode(reader, reader.uint32());
|
|
1126
|
+
continue;
|
|
1127
|
+
}
|
|
1058
1128
|
}
|
|
1059
1129
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1060
1130
|
break;
|
|
@@ -1074,6 +1144,7 @@ export const LogonRequest: MessageFns<LogonRequest> = {
|
|
|
1074
1144
|
: isSet(object.invitation_id)
|
|
1075
1145
|
? globalThis.String(object.invitation_id)
|
|
1076
1146
|
: undefined,
|
|
1147
|
+
filter: isSet(object.filter) ? OrganizationFilter.fromJSON(object.filter) : undefined,
|
|
1077
1148
|
};
|
|
1078
1149
|
},
|
|
1079
1150
|
|
|
@@ -1082,6 +1153,9 @@ export const LogonRequest: MessageFns<LogonRequest> = {
|
|
|
1082
1153
|
if (message.invitationId !== undefined) {
|
|
1083
1154
|
obj.invitationId = message.invitationId;
|
|
1084
1155
|
}
|
|
1156
|
+
if (message.filter !== undefined) {
|
|
1157
|
+
obj.filter = OrganizationFilter.toJSON(message.filter);
|
|
1158
|
+
}
|
|
1085
1159
|
return obj;
|
|
1086
1160
|
},
|
|
1087
1161
|
|
|
@@ -1091,6 +1165,92 @@ export const LogonRequest: MessageFns<LogonRequest> = {
|
|
|
1091
1165
|
fromPartial<I extends Exact<DeepPartial<LogonRequest>, I>>(object: I): LogonRequest {
|
|
1092
1166
|
const message = createBaseLogonRequest();
|
|
1093
1167
|
message.invitationId = object.invitationId ?? undefined;
|
|
1168
|
+
message.filter = (object.filter !== undefined && object.filter !== null)
|
|
1169
|
+
? OrganizationFilter.fromPartial(object.filter)
|
|
1170
|
+
: undefined;
|
|
1171
|
+
return message;
|
|
1172
|
+
},
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
function createBaseOrganizationFilter(): OrganizationFilter {
|
|
1176
|
+
return { organizationTypes: [] };
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
export const OrganizationFilter: MessageFns<OrganizationFilter> = {
|
|
1180
|
+
encode(message: OrganizationFilter, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
1181
|
+
for (const v of message.organizationTypes) {
|
|
1182
|
+
writer.uint32(8).int32(v!);
|
|
1183
|
+
}
|
|
1184
|
+
return writer;
|
|
1185
|
+
},
|
|
1186
|
+
|
|
1187
|
+
decode(input: BinaryReader | Uint8Array, length?: number): OrganizationFilter {
|
|
1188
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1189
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1190
|
+
if (previousRecursionDepth >= 100) {
|
|
1191
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1192
|
+
}
|
|
1193
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1194
|
+
try {
|
|
1195
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1196
|
+
const message = createBaseOrganizationFilter();
|
|
1197
|
+
while (reader.pos < end) {
|
|
1198
|
+
const tag = reader.uint32();
|
|
1199
|
+
switch (tag >>> 3) {
|
|
1200
|
+
case 1: {
|
|
1201
|
+
if (tag === 8) {
|
|
1202
|
+
message.organizationTypes.push(reader.int32() as any);
|
|
1203
|
+
|
|
1204
|
+
continue;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
if (tag === 10) {
|
|
1208
|
+
const end2 = reader.uint32() + reader.pos;
|
|
1209
|
+
while (reader.pos < end2) {
|
|
1210
|
+
message.organizationTypes.push(reader.int32() as any);
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
continue;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
break;
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1220
|
+
break;
|
|
1221
|
+
}
|
|
1222
|
+
reader.skip(tag & 7);
|
|
1223
|
+
}
|
|
1224
|
+
return message;
|
|
1225
|
+
} finally {
|
|
1226
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
|
|
1230
|
+
fromJSON(object: any): OrganizationFilter {
|
|
1231
|
+
return {
|
|
1232
|
+
organizationTypes: globalThis.Array.isArray(object?.organizationTypes)
|
|
1233
|
+
? object.organizationTypes.map((e: any) => organizationTypeFromJSON(e))
|
|
1234
|
+
: globalThis.Array.isArray(object?.organization_types)
|
|
1235
|
+
? object.organization_types.map((e: any) => organizationTypeFromJSON(e))
|
|
1236
|
+
: [],
|
|
1237
|
+
};
|
|
1238
|
+
},
|
|
1239
|
+
|
|
1240
|
+
toJSON(message: OrganizationFilter): unknown {
|
|
1241
|
+
const obj: any = {};
|
|
1242
|
+
if (message.organizationTypes?.length) {
|
|
1243
|
+
obj.organizationTypes = message.organizationTypes.map((e) => organizationTypeToJSON(e));
|
|
1244
|
+
}
|
|
1245
|
+
return obj;
|
|
1246
|
+
},
|
|
1247
|
+
|
|
1248
|
+
create<I extends Exact<DeepPartial<OrganizationFilter>, I>>(base?: I): OrganizationFilter {
|
|
1249
|
+
return OrganizationFilter.fromPartial(base ?? ({} as any));
|
|
1250
|
+
},
|
|
1251
|
+
fromPartial<I extends Exact<DeepPartial<OrganizationFilter>, I>>(object: I): OrganizationFilter {
|
|
1252
|
+
const message = createBaseOrganizationFilter();
|
|
1253
|
+
message.organizationTypes = object.organizationTypes?.map((e) => e) || [];
|
|
1094
1254
|
return message;
|
|
1095
1255
|
},
|
|
1096
1256
|
};
|
|
@@ -1497,6 +1657,7 @@ function createBaseOrganization(): Organization {
|
|
|
1497
1657
|
createdAt: undefined,
|
|
1498
1658
|
updatedAt: undefined,
|
|
1499
1659
|
timeZone: "",
|
|
1660
|
+
organizationType: 0,
|
|
1500
1661
|
};
|
|
1501
1662
|
}
|
|
1502
1663
|
|
|
@@ -1523,6 +1684,9 @@ export const Organization: MessageFns<Organization> = {
|
|
|
1523
1684
|
if (message.timeZone !== "") {
|
|
1524
1685
|
writer.uint32(58).string(message.timeZone);
|
|
1525
1686
|
}
|
|
1687
|
+
if (message.organizationType !== 0) {
|
|
1688
|
+
writer.uint32(64).int32(message.organizationType);
|
|
1689
|
+
}
|
|
1526
1690
|
return writer;
|
|
1527
1691
|
},
|
|
1528
1692
|
|
|
@@ -1595,6 +1759,14 @@ export const Organization: MessageFns<Organization> = {
|
|
|
1595
1759
|
message.timeZone = reader.string();
|
|
1596
1760
|
continue;
|
|
1597
1761
|
}
|
|
1762
|
+
case 8: {
|
|
1763
|
+
if (tag !== 64) {
|
|
1764
|
+
break;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
message.organizationType = reader.int32() as any;
|
|
1768
|
+
continue;
|
|
1769
|
+
}
|
|
1598
1770
|
}
|
|
1599
1771
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1600
1772
|
break;
|
|
@@ -1640,6 +1812,11 @@ export const Organization: MessageFns<Organization> = {
|
|
|
1640
1812
|
: isSet(object.time_zone)
|
|
1641
1813
|
? globalThis.String(object.time_zone)
|
|
1642
1814
|
: "",
|
|
1815
|
+
organizationType: isSet(object.organizationType)
|
|
1816
|
+
? organizationTypeFromJSON(object.organizationType)
|
|
1817
|
+
: isSet(object.organization_type)
|
|
1818
|
+
? organizationTypeFromJSON(object.organization_type)
|
|
1819
|
+
: 0,
|
|
1643
1820
|
};
|
|
1644
1821
|
},
|
|
1645
1822
|
|
|
@@ -1666,6 +1843,9 @@ export const Organization: MessageFns<Organization> = {
|
|
|
1666
1843
|
if (message.timeZone !== "") {
|
|
1667
1844
|
obj.timeZone = message.timeZone;
|
|
1668
1845
|
}
|
|
1846
|
+
if (message.organizationType !== 0) {
|
|
1847
|
+
obj.organizationType = organizationTypeToJSON(message.organizationType);
|
|
1848
|
+
}
|
|
1669
1849
|
return obj;
|
|
1670
1850
|
},
|
|
1671
1851
|
|
|
@@ -1681,6 +1861,7 @@ export const Organization: MessageFns<Organization> = {
|
|
|
1681
1861
|
message.createdAt = object.createdAt ?? undefined;
|
|
1682
1862
|
message.updatedAt = object.updatedAt ?? undefined;
|
|
1683
1863
|
message.timeZone = object.timeZone ?? "";
|
|
1864
|
+
message.organizationType = object.organizationType ?? 0;
|
|
1684
1865
|
return message;
|
|
1685
1866
|
},
|
|
1686
1867
|
};
|
|
@@ -69,7 +69,9 @@ goog.exportSymbol('proto.gateway.web.v1.LogonResponse', null, global);
|
|
|
69
69
|
goog.exportSymbol('proto.gateway.web.v1.McpClientKind', null, global);
|
|
70
70
|
goog.exportSymbol('proto.gateway.web.v1.OnboardingStatus', null, global);
|
|
71
71
|
goog.exportSymbol('proto.gateway.web.v1.Organization', null, global);
|
|
72
|
+
goog.exportSymbol('proto.gateway.web.v1.OrganizationFilter', null, global);
|
|
72
73
|
goog.exportSymbol('proto.gateway.web.v1.OrganizationStatus', null, global);
|
|
74
|
+
goog.exportSymbol('proto.gateway.web.v1.OrganizationType', null, global);
|
|
73
75
|
goog.exportSymbol('proto.gateway.web.v1.OrganizationUser', null, global);
|
|
74
76
|
goog.exportSymbol('proto.gateway.web.v1.ProductFeatures', null, global);
|
|
75
77
|
goog.exportSymbol('proto.gateway.web.v1.Project', null, global);
|
|
@@ -138,6 +140,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
138
140
|
*/
|
|
139
141
|
proto.gateway.web.v1.LogonRequest.displayName = 'proto.gateway.web.v1.LogonRequest';
|
|
140
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* Generated by JsPbCodeGenerator.
|
|
145
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
146
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
147
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
148
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
149
|
+
* valid.
|
|
150
|
+
* @extends {jspb.Message}
|
|
151
|
+
* @constructor
|
|
152
|
+
*/
|
|
153
|
+
proto.gateway.web.v1.OrganizationFilter = function(opt_data) {
|
|
154
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.OrganizationFilter.repeatedFields_, null);
|
|
155
|
+
};
|
|
156
|
+
goog.inherits(proto.gateway.web.v1.OrganizationFilter, jspb.Message);
|
|
157
|
+
if (goog.DEBUG && !COMPILED) {
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* @override
|
|
161
|
+
*/
|
|
162
|
+
proto.gateway.web.v1.OrganizationFilter.displayName = 'proto.gateway.web.v1.OrganizationFilter';
|
|
163
|
+
}
|
|
141
164
|
/**
|
|
142
165
|
* Generated by JsPbCodeGenerator.
|
|
143
166
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1955,7 +1978,8 @@ proto.gateway.web.v1.LogonRequest.prototype.toObject = function(opt_includeInsta
|
|
|
1955
1978
|
*/
|
|
1956
1979
|
proto.gateway.web.v1.LogonRequest.toObject = function(includeInstance, msg) {
|
|
1957
1980
|
var f, obj = {
|
|
1958
|
-
invitationId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
|
|
1981
|
+
invitationId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
1982
|
+
filter: (f = msg.getFilter()) && proto.gateway.web.v1.OrganizationFilter.toObject(includeInstance, f)
|
|
1959
1983
|
};
|
|
1960
1984
|
|
|
1961
1985
|
if (includeInstance) {
|
|
@@ -1996,6 +2020,11 @@ proto.gateway.web.v1.LogonRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
1996
2020
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1997
2021
|
msg.setInvitationId(value);
|
|
1998
2022
|
break;
|
|
2023
|
+
case 2:
|
|
2024
|
+
var value = new proto.gateway.web.v1.OrganizationFilter;
|
|
2025
|
+
reader.readMessage(value,proto.gateway.web.v1.OrganizationFilter.deserializeBinaryFromReader);
|
|
2026
|
+
msg.setFilter(value);
|
|
2027
|
+
break;
|
|
1999
2028
|
default:
|
|
2000
2029
|
reader.skipField();
|
|
2001
2030
|
break;
|
|
@@ -2032,6 +2061,14 @@ proto.gateway.web.v1.LogonRequest.serializeBinaryToWriter = function(message, wr
|
|
|
2032
2061
|
f
|
|
2033
2062
|
);
|
|
2034
2063
|
}
|
|
2064
|
+
f = message.getFilter();
|
|
2065
|
+
if (f != null) {
|
|
2066
|
+
writer.writeMessage(
|
|
2067
|
+
2,
|
|
2068
|
+
f,
|
|
2069
|
+
proto.gateway.web.v1.OrganizationFilter.serializeBinaryToWriter
|
|
2070
|
+
);
|
|
2071
|
+
}
|
|
2035
2072
|
};
|
|
2036
2073
|
|
|
2037
2074
|
|
|
@@ -2071,6 +2108,198 @@ proto.gateway.web.v1.LogonRequest.prototype.hasInvitationId = function() {
|
|
|
2071
2108
|
};
|
|
2072
2109
|
|
|
2073
2110
|
|
|
2111
|
+
/**
|
|
2112
|
+
* optional OrganizationFilter filter = 2;
|
|
2113
|
+
* @return {?proto.gateway.web.v1.OrganizationFilter}
|
|
2114
|
+
*/
|
|
2115
|
+
proto.gateway.web.v1.LogonRequest.prototype.getFilter = function() {
|
|
2116
|
+
return /** @type{?proto.gateway.web.v1.OrganizationFilter} */ (
|
|
2117
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.OrganizationFilter, 2));
|
|
2118
|
+
};
|
|
2119
|
+
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* @param {?proto.gateway.web.v1.OrganizationFilter|undefined} value
|
|
2123
|
+
* @return {!proto.gateway.web.v1.LogonRequest} returns this
|
|
2124
|
+
*/
|
|
2125
|
+
proto.gateway.web.v1.LogonRequest.prototype.setFilter = function(value) {
|
|
2126
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2127
|
+
};
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* Clears the message field making it undefined.
|
|
2132
|
+
* @return {!proto.gateway.web.v1.LogonRequest} returns this
|
|
2133
|
+
*/
|
|
2134
|
+
proto.gateway.web.v1.LogonRequest.prototype.clearFilter = function() {
|
|
2135
|
+
return this.setFilter(undefined);
|
|
2136
|
+
};
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* Returns whether this field is set.
|
|
2141
|
+
* @return {boolean}
|
|
2142
|
+
*/
|
|
2143
|
+
proto.gateway.web.v1.LogonRequest.prototype.hasFilter = function() {
|
|
2144
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2145
|
+
};
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* List of repeated fields within this message type.
|
|
2151
|
+
* @private {!Array<number>}
|
|
2152
|
+
* @const
|
|
2153
|
+
*/
|
|
2154
|
+
proto.gateway.web.v1.OrganizationFilter.repeatedFields_ = [1];
|
|
2155
|
+
|
|
2156
|
+
|
|
2157
|
+
|
|
2158
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2159
|
+
/**
|
|
2160
|
+
* Creates an object representation of this proto.
|
|
2161
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2162
|
+
* Optional fields that are not set will be set to undefined.
|
|
2163
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2164
|
+
* For the list of reserved names please see:
|
|
2165
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2166
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2167
|
+
* JSPB instance for transitional soy proto support:
|
|
2168
|
+
* http://goto/soy-param-migration
|
|
2169
|
+
* @return {!Object}
|
|
2170
|
+
*/
|
|
2171
|
+
proto.gateway.web.v1.OrganizationFilter.prototype.toObject = function(opt_includeInstance) {
|
|
2172
|
+
return proto.gateway.web.v1.OrganizationFilter.toObject(opt_includeInstance, this);
|
|
2173
|
+
};
|
|
2174
|
+
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* Static version of the {@see toObject} method.
|
|
2178
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2179
|
+
* the JSPB instance for transitional soy proto support:
|
|
2180
|
+
* http://goto/soy-param-migration
|
|
2181
|
+
* @param {!proto.gateway.web.v1.OrganizationFilter} msg The msg instance to transform.
|
|
2182
|
+
* @return {!Object}
|
|
2183
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2184
|
+
*/
|
|
2185
|
+
proto.gateway.web.v1.OrganizationFilter.toObject = function(includeInstance, msg) {
|
|
2186
|
+
var f, obj = {
|
|
2187
|
+
organizationTypesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2188
|
+
};
|
|
2189
|
+
|
|
2190
|
+
if (includeInstance) {
|
|
2191
|
+
obj.$jspbMessageInstance = msg;
|
|
2192
|
+
}
|
|
2193
|
+
return obj;
|
|
2194
|
+
};
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2200
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2201
|
+
* @return {!proto.gateway.web.v1.OrganizationFilter}
|
|
2202
|
+
*/
|
|
2203
|
+
proto.gateway.web.v1.OrganizationFilter.deserializeBinary = function(bytes) {
|
|
2204
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2205
|
+
var msg = new proto.gateway.web.v1.OrganizationFilter;
|
|
2206
|
+
return proto.gateway.web.v1.OrganizationFilter.deserializeBinaryFromReader(msg, reader);
|
|
2207
|
+
};
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2212
|
+
* given reader into the given message object.
|
|
2213
|
+
* @param {!proto.gateway.web.v1.OrganizationFilter} msg The message object to deserialize into.
|
|
2214
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2215
|
+
* @return {!proto.gateway.web.v1.OrganizationFilter}
|
|
2216
|
+
*/
|
|
2217
|
+
proto.gateway.web.v1.OrganizationFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
2218
|
+
while (reader.nextField()) {
|
|
2219
|
+
if (reader.isEndGroup()) {
|
|
2220
|
+
break;
|
|
2221
|
+
}
|
|
2222
|
+
var field = reader.getFieldNumber();
|
|
2223
|
+
switch (field) {
|
|
2224
|
+
case 1:
|
|
2225
|
+
reader.readPackableEnumInto(msg.getOrganizationTypesList());
|
|
2226
|
+
break;
|
|
2227
|
+
default:
|
|
2228
|
+
reader.skipField();
|
|
2229
|
+
break;
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
return msg;
|
|
2233
|
+
};
|
|
2234
|
+
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2238
|
+
* @return {!Uint8Array}
|
|
2239
|
+
*/
|
|
2240
|
+
proto.gateway.web.v1.OrganizationFilter.prototype.serializeBinary = function() {
|
|
2241
|
+
var writer = new jspb.BinaryWriter();
|
|
2242
|
+
proto.gateway.web.v1.OrganizationFilter.serializeBinaryToWriter(this, writer);
|
|
2243
|
+
return writer.getResultBuffer();
|
|
2244
|
+
};
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2249
|
+
* format), writing to the given BinaryWriter.
|
|
2250
|
+
* @param {!proto.gateway.web.v1.OrganizationFilter} message
|
|
2251
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2252
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2253
|
+
*/
|
|
2254
|
+
proto.gateway.web.v1.OrganizationFilter.serializeBinaryToWriter = function(message, writer) {
|
|
2255
|
+
var f = undefined;
|
|
2256
|
+
f = message.getOrganizationTypesList();
|
|
2257
|
+
if (f.length > 0) {
|
|
2258
|
+
writer.writePackedEnum(
|
|
2259
|
+
1,
|
|
2260
|
+
f
|
|
2261
|
+
);
|
|
2262
|
+
}
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* repeated OrganizationType organization_types = 1;
|
|
2268
|
+
* @return {!Array<!proto.gateway.web.v1.OrganizationType>}
|
|
2269
|
+
*/
|
|
2270
|
+
proto.gateway.web.v1.OrganizationFilter.prototype.getOrganizationTypesList = function() {
|
|
2271
|
+
return /** @type {!Array<!proto.gateway.web.v1.OrganizationType>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* @param {!Array<!proto.gateway.web.v1.OrganizationType>} value
|
|
2277
|
+
* @return {!proto.gateway.web.v1.OrganizationFilter} returns this
|
|
2278
|
+
*/
|
|
2279
|
+
proto.gateway.web.v1.OrganizationFilter.prototype.setOrganizationTypesList = function(value) {
|
|
2280
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2281
|
+
};
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* @param {!proto.gateway.web.v1.OrganizationType} value
|
|
2286
|
+
* @param {number=} opt_index
|
|
2287
|
+
* @return {!proto.gateway.web.v1.OrganizationFilter} returns this
|
|
2288
|
+
*/
|
|
2289
|
+
proto.gateway.web.v1.OrganizationFilter.prototype.addOrganizationTypes = function(value, opt_index) {
|
|
2290
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2291
|
+
};
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
/**
|
|
2295
|
+
* Clears the list making it empty but non-null.
|
|
2296
|
+
* @return {!proto.gateway.web.v1.OrganizationFilter} returns this
|
|
2297
|
+
*/
|
|
2298
|
+
proto.gateway.web.v1.OrganizationFilter.prototype.clearOrganizationTypesList = function() {
|
|
2299
|
+
return this.setOrganizationTypesList([]);
|
|
2300
|
+
};
|
|
2301
|
+
|
|
2302
|
+
|
|
2074
2303
|
|
|
2075
2304
|
/**
|
|
2076
2305
|
* List of repeated fields within this message type.
|
|
@@ -2957,7 +3186,8 @@ organizationStatus: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
|
2957
3186
|
onboardingStatus: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2958
3187
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2959
3188
|
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2960
|
-
timeZone: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
3189
|
+
timeZone: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3190
|
+
organizationType: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
2961
3191
|
};
|
|
2962
3192
|
|
|
2963
3193
|
if (includeInstance) {
|
|
@@ -3024,6 +3254,10 @@ proto.gateway.web.v1.Organization.deserializeBinaryFromReader = function(msg, re
|
|
|
3024
3254
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3025
3255
|
msg.setTimeZone(value);
|
|
3026
3256
|
break;
|
|
3257
|
+
case 8:
|
|
3258
|
+
var value = /** @type {!proto.gateway.web.v1.OrganizationType} */ (reader.readEnum());
|
|
3259
|
+
msg.setOrganizationType(value);
|
|
3260
|
+
break;
|
|
3027
3261
|
default:
|
|
3028
3262
|
reader.skipField();
|
|
3029
3263
|
break;
|
|
@@ -3104,6 +3338,13 @@ proto.gateway.web.v1.Organization.serializeBinaryToWriter = function(message, wr
|
|
|
3104
3338
|
f
|
|
3105
3339
|
);
|
|
3106
3340
|
}
|
|
3341
|
+
f = message.getOrganizationType();
|
|
3342
|
+
if (f !== 0.0) {
|
|
3343
|
+
writer.writeEnum(
|
|
3344
|
+
8,
|
|
3345
|
+
f
|
|
3346
|
+
);
|
|
3347
|
+
}
|
|
3107
3348
|
};
|
|
3108
3349
|
|
|
3109
3350
|
|
|
@@ -3271,6 +3512,24 @@ proto.gateway.web.v1.Organization.prototype.setTimeZone = function(value) {
|
|
|
3271
3512
|
};
|
|
3272
3513
|
|
|
3273
3514
|
|
|
3515
|
+
/**
|
|
3516
|
+
* optional OrganizationType organization_type = 8;
|
|
3517
|
+
* @return {!proto.gateway.web.v1.OrganizationType}
|
|
3518
|
+
*/
|
|
3519
|
+
proto.gateway.web.v1.Organization.prototype.getOrganizationType = function() {
|
|
3520
|
+
return /** @type {!proto.gateway.web.v1.OrganizationType} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
3521
|
+
};
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* @param {!proto.gateway.web.v1.OrganizationType} value
|
|
3526
|
+
* @return {!proto.gateway.web.v1.Organization} returns this
|
|
3527
|
+
*/
|
|
3528
|
+
proto.gateway.web.v1.Organization.prototype.setOrganizationType = function(value) {
|
|
3529
|
+
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
3530
|
+
};
|
|
3531
|
+
|
|
3532
|
+
|
|
3274
3533
|
|
|
3275
3534
|
|
|
3276
3535
|
|
|
@@ -19938,6 +20197,15 @@ proto.gateway.web.v1.OrganizationStatus = {
|
|
|
19938
20197
|
ORGANIZATION_STATUS_DEACTIVATED: 2
|
|
19939
20198
|
};
|
|
19940
20199
|
|
|
20200
|
+
/**
|
|
20201
|
+
* @enum {number}
|
|
20202
|
+
*/
|
|
20203
|
+
proto.gateway.web.v1.OrganizationType = {
|
|
20204
|
+
ORGANIZATION_TYPE_UNSPECIFIED: 0,
|
|
20205
|
+
ORGANIZATION_TYPE_PERSONAL: 1,
|
|
20206
|
+
ORGANIZATION_TYPE_SHARED: 2
|
|
20207
|
+
};
|
|
20208
|
+
|
|
19941
20209
|
/**
|
|
19942
20210
|
* @enum {number}
|
|
19943
20211
|
*/
|
|
@@ -150,6 +150,10 @@ export enum AITask {
|
|
|
150
150
|
AI_TASK_UNSPECIFIED = 0,
|
|
151
151
|
AI_TASK_SESSION_INSIGHT = 1,
|
|
152
152
|
AI_TASK_PROJECT_INSIGHT = 2,
|
|
153
|
+
AI_TASK_SESSION_LABEL = 3,
|
|
154
|
+
AI_TASK_SESSION_SCORE = 4,
|
|
155
|
+
AI_TASK_PROMPT_LABEL = 5,
|
|
156
|
+
AI_TASK_SKILL_SUMMARY = 6,
|
|
153
157
|
UNRECOGNIZED = -1,
|
|
154
158
|
}
|
|
155
159
|
|
|
@@ -164,6 +168,18 @@ export function aITaskFromJSON(object: any): AITask {
|
|
|
164
168
|
case 2:
|
|
165
169
|
case "AI_TASK_PROJECT_INSIGHT":
|
|
166
170
|
return AITask.AI_TASK_PROJECT_INSIGHT;
|
|
171
|
+
case 3:
|
|
172
|
+
case "AI_TASK_SESSION_LABEL":
|
|
173
|
+
return AITask.AI_TASK_SESSION_LABEL;
|
|
174
|
+
case 4:
|
|
175
|
+
case "AI_TASK_SESSION_SCORE":
|
|
176
|
+
return AITask.AI_TASK_SESSION_SCORE;
|
|
177
|
+
case 5:
|
|
178
|
+
case "AI_TASK_PROMPT_LABEL":
|
|
179
|
+
return AITask.AI_TASK_PROMPT_LABEL;
|
|
180
|
+
case 6:
|
|
181
|
+
case "AI_TASK_SKILL_SUMMARY":
|
|
182
|
+
return AITask.AI_TASK_SKILL_SUMMARY;
|
|
167
183
|
case -1:
|
|
168
184
|
case "UNRECOGNIZED":
|
|
169
185
|
default:
|
|
@@ -179,6 +195,14 @@ export function aITaskToJSON(object: AITask): string {
|
|
|
179
195
|
return "AI_TASK_SESSION_INSIGHT";
|
|
180
196
|
case AITask.AI_TASK_PROJECT_INSIGHT:
|
|
181
197
|
return "AI_TASK_PROJECT_INSIGHT";
|
|
198
|
+
case AITask.AI_TASK_SESSION_LABEL:
|
|
199
|
+
return "AI_TASK_SESSION_LABEL";
|
|
200
|
+
case AITask.AI_TASK_SESSION_SCORE:
|
|
201
|
+
return "AI_TASK_SESSION_SCORE";
|
|
202
|
+
case AITask.AI_TASK_PROMPT_LABEL:
|
|
203
|
+
return "AI_TASK_PROMPT_LABEL";
|
|
204
|
+
case AITask.AI_TASK_SKILL_SUMMARY:
|
|
205
|
+
return "AI_TASK_SKILL_SUMMARY";
|
|
182
206
|
case AITask.UNRECOGNIZED:
|
|
183
207
|
default:
|
|
184
208
|
return "UNRECOGNIZED";
|
|
@@ -6816,7 +6840,7 @@ export interface AdminGatewayService {
|
|
|
6816
6840
|
* The AI jobs' models and prompts, each saved as immutable revisions with at most one active revision per job; they proxy
|
|
6817
6841
|
* ai.api.v1.AIAdminService's RPCs of the same names. ListAITasks lists every configurable job with its name,
|
|
6818
6842
|
* description, active revision, built-in prompt and the parts that stay code. Accepted risk: unpaged (proto_api_test unpagedLists):
|
|
6819
|
-
* one row per job,
|
|
6843
|
+
* one row per job, six today; the upgrade path is token paging if it ever passes 50.
|
|
6820
6844
|
*/
|
|
6821
6845
|
ListAITasks(request: ListAITasksRequest, metadata?: Metadata): Promise<ListAITasksResponse>;
|
|
6822
6846
|
/** ListAITaskRevisions lists one job's revisions, newest number first, with their full prompt. */
|
|
@@ -716,7 +716,7 @@ resolveUserDetails: {
|
|
|
716
716
|
// The AI jobs' models and prompts, each saved as immutable revisions with at most one active revision per job; they proxy
|
|
717
717
|
// ai.api.v1.AIAdminService's RPCs of the same names. ListAITasks lists every configurable job with its name,
|
|
718
718
|
// description, active revision, built-in prompt and the parts that stay code. Accepted risk: unpaged (proto_api_test unpagedLists):
|
|
719
|
-
// one row per job,
|
|
719
|
+
// one row per job, six today; the upgrade path is token paging if it ever passes 50.
|
|
720
720
|
listAITasks: {
|
|
721
721
|
path: '/gateway.web.v1.AdminGatewayService/ListAITasks',
|
|
722
722
|
requestStream: false,
|
|
@@ -13100,7 +13100,11 @@ proto.gateway.web.v1.AdminUsageGroupSort = {
|
|
|
13100
13100
|
proto.gateway.web.v1.AITask = {
|
|
13101
13101
|
AI_TASK_UNSPECIFIED: 0,
|
|
13102
13102
|
AI_TASK_SESSION_INSIGHT: 1,
|
|
13103
|
-
AI_TASK_PROJECT_INSIGHT: 2
|
|
13103
|
+
AI_TASK_PROJECT_INSIGHT: 2,
|
|
13104
|
+
AI_TASK_SESSION_LABEL: 3,
|
|
13105
|
+
AI_TASK_SESSION_SCORE: 4,
|
|
13106
|
+
AI_TASK_PROMPT_LABEL: 5,
|
|
13107
|
+
AI_TASK_SKILL_SUMMARY: 6
|
|
13104
13108
|
};
|
|
13105
13109
|
|
|
13106
13110
|
goog.object.extend(exports, proto.gateway.web.v1);
|