@miradorlabs/web-grpc 4.27.0 → 4.29.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.
|
@@ -1500,148 +1500,6 @@ export function trackerSyncErrorToJSON(object: TrackerSyncError): string {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
|
|
1503
|
-
/** AIProjectInsightAvailability is whether a project has an insights analysis to show. */
|
|
1504
|
-
export enum AIProjectInsightAvailability {
|
|
1505
|
-
AI_PROJECT_INSIGHT_AVAILABILITY_UNSPECIFIED = 0,
|
|
1506
|
-
/** AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED - No successful run yet: no window and no coverage. */
|
|
1507
|
-
AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED = 1,
|
|
1508
|
-
/**
|
|
1509
|
-
* AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA - The run succeeded, but the window's eligible sessions belong to fewer than two linked people, so no model ran and
|
|
1510
|
-
* no card could be grounded.
|
|
1511
|
-
*/
|
|
1512
|
-
AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA = 2,
|
|
1513
|
-
/** AI_PROJECT_INSIGHT_AVAILABILITY_READY - A valid analysis. Zero cards means no supported recommendation in the evidence the run read. */
|
|
1514
|
-
AI_PROJECT_INSIGHT_AVAILABILITY_READY = 3,
|
|
1515
|
-
UNRECOGNIZED = -1,
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
export function aIProjectInsightAvailabilityFromJSON(object: any): AIProjectInsightAvailability {
|
|
1519
|
-
switch (object) {
|
|
1520
|
-
case 0:
|
|
1521
|
-
case "AI_PROJECT_INSIGHT_AVAILABILITY_UNSPECIFIED":
|
|
1522
|
-
return AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_UNSPECIFIED;
|
|
1523
|
-
case 1:
|
|
1524
|
-
case "AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED":
|
|
1525
|
-
return AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED;
|
|
1526
|
-
case 2:
|
|
1527
|
-
case "AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA":
|
|
1528
|
-
return AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA;
|
|
1529
|
-
case 3:
|
|
1530
|
-
case "AI_PROJECT_INSIGHT_AVAILABILITY_READY":
|
|
1531
|
-
return AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_READY;
|
|
1532
|
-
case -1:
|
|
1533
|
-
case "UNRECOGNIZED":
|
|
1534
|
-
default:
|
|
1535
|
-
return AIProjectInsightAvailability.UNRECOGNIZED;
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
export function aIProjectInsightAvailabilityToJSON(object: AIProjectInsightAvailability): string {
|
|
1540
|
-
switch (object) {
|
|
1541
|
-
case AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_UNSPECIFIED:
|
|
1542
|
-
return "AI_PROJECT_INSIGHT_AVAILABILITY_UNSPECIFIED";
|
|
1543
|
-
case AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED:
|
|
1544
|
-
return "AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED";
|
|
1545
|
-
case AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA:
|
|
1546
|
-
return "AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA";
|
|
1547
|
-
case AIProjectInsightAvailability.AI_PROJECT_INSIGHT_AVAILABILITY_READY:
|
|
1548
|
-
return "AI_PROJECT_INSIGHT_AVAILABILITY_READY";
|
|
1549
|
-
case AIProjectInsightAvailability.UNRECOGNIZED:
|
|
1550
|
-
default:
|
|
1551
|
-
return "UNRECOGNIZED";
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
export enum AIProjectInsightCoverageStatus {
|
|
1556
|
-
AI_PROJECT_INSIGHT_COVERAGE_STATUS_UNSPECIFIED = 0,
|
|
1557
|
-
/** AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE - Every eligible session's evidence was read, whole. */
|
|
1558
|
-
AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE = 1,
|
|
1559
|
-
/**
|
|
1560
|
-
* AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL - Only part of the window was read: a budget stopped the reading, sessions went unread, or evidence was withheld or
|
|
1561
|
-
* truncated.
|
|
1562
|
-
*/
|
|
1563
|
-
AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL = 2,
|
|
1564
|
-
UNRECOGNIZED = -1,
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
export function aIProjectInsightCoverageStatusFromJSON(object: any): AIProjectInsightCoverageStatus {
|
|
1568
|
-
switch (object) {
|
|
1569
|
-
case 0:
|
|
1570
|
-
case "AI_PROJECT_INSIGHT_COVERAGE_STATUS_UNSPECIFIED":
|
|
1571
|
-
return AIProjectInsightCoverageStatus.AI_PROJECT_INSIGHT_COVERAGE_STATUS_UNSPECIFIED;
|
|
1572
|
-
case 1:
|
|
1573
|
-
case "AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE":
|
|
1574
|
-
return AIProjectInsightCoverageStatus.AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE;
|
|
1575
|
-
case 2:
|
|
1576
|
-
case "AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL":
|
|
1577
|
-
return AIProjectInsightCoverageStatus.AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL;
|
|
1578
|
-
case -1:
|
|
1579
|
-
case "UNRECOGNIZED":
|
|
1580
|
-
default:
|
|
1581
|
-
return AIProjectInsightCoverageStatus.UNRECOGNIZED;
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
export function aIProjectInsightCoverageStatusToJSON(object: AIProjectInsightCoverageStatus): string {
|
|
1586
|
-
switch (object) {
|
|
1587
|
-
case AIProjectInsightCoverageStatus.AI_PROJECT_INSIGHT_COVERAGE_STATUS_UNSPECIFIED:
|
|
1588
|
-
return "AI_PROJECT_INSIGHT_COVERAGE_STATUS_UNSPECIFIED";
|
|
1589
|
-
case AIProjectInsightCoverageStatus.AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE:
|
|
1590
|
-
return "AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE";
|
|
1591
|
-
case AIProjectInsightCoverageStatus.AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL:
|
|
1592
|
-
return "AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL";
|
|
1593
|
-
case AIProjectInsightCoverageStatus.UNRECOGNIZED:
|
|
1594
|
-
default:
|
|
1595
|
-
return "UNRECOGNIZED";
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
/** AIProjectInsightStopReason is the budget that stopped a partial analysis's reading. */
|
|
1600
|
-
export enum AIProjectInsightStopReason {
|
|
1601
|
-
AI_PROJECT_INSIGHT_STOP_REASON_UNSPECIFIED = 0,
|
|
1602
|
-
AI_PROJECT_INSIGHT_STOP_REASON_OVERVIEW_PAGES = 1,
|
|
1603
|
-
AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_PAGES = 2,
|
|
1604
|
-
AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_BUDGET = 3,
|
|
1605
|
-
UNRECOGNIZED = -1,
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
export function aIProjectInsightStopReasonFromJSON(object: any): AIProjectInsightStopReason {
|
|
1609
|
-
switch (object) {
|
|
1610
|
-
case 0:
|
|
1611
|
-
case "AI_PROJECT_INSIGHT_STOP_REASON_UNSPECIFIED":
|
|
1612
|
-
return AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_UNSPECIFIED;
|
|
1613
|
-
case 1:
|
|
1614
|
-
case "AI_PROJECT_INSIGHT_STOP_REASON_OVERVIEW_PAGES":
|
|
1615
|
-
return AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_OVERVIEW_PAGES;
|
|
1616
|
-
case 2:
|
|
1617
|
-
case "AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_PAGES":
|
|
1618
|
-
return AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_PAGES;
|
|
1619
|
-
case 3:
|
|
1620
|
-
case "AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_BUDGET":
|
|
1621
|
-
return AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_BUDGET;
|
|
1622
|
-
case -1:
|
|
1623
|
-
case "UNRECOGNIZED":
|
|
1624
|
-
default:
|
|
1625
|
-
return AIProjectInsightStopReason.UNRECOGNIZED;
|
|
1626
|
-
}
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
export function aIProjectInsightStopReasonToJSON(object: AIProjectInsightStopReason): string {
|
|
1630
|
-
switch (object) {
|
|
1631
|
-
case AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_UNSPECIFIED:
|
|
1632
|
-
return "AI_PROJECT_INSIGHT_STOP_REASON_UNSPECIFIED";
|
|
1633
|
-
case AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_OVERVIEW_PAGES:
|
|
1634
|
-
return "AI_PROJECT_INSIGHT_STOP_REASON_OVERVIEW_PAGES";
|
|
1635
|
-
case AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_PAGES:
|
|
1636
|
-
return "AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_PAGES";
|
|
1637
|
-
case AIProjectInsightStopReason.AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_BUDGET:
|
|
1638
|
-
return "AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_BUDGET";
|
|
1639
|
-
case AIProjectInsightStopReason.UNRECOGNIZED:
|
|
1640
|
-
default:
|
|
1641
|
-
return "UNRECOGNIZED";
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
1503
|
/** AIProjectInsightKind is what a card recommends, for display. */
|
|
1646
1504
|
export enum AIProjectInsightKind {
|
|
1647
1505
|
AI_PROJECT_INSIGHT_KIND_UNSPECIFIED = 0,
|
|
@@ -3401,13 +3259,19 @@ export interface AISkillSuggestion {
|
|
|
3401
3259
|
|
|
3402
3260
|
/**
|
|
3403
3261
|
* AISkillMetadata is public reference text, not instructions. Summary is pinned to the suggested revision;
|
|
3404
|
-
* name, HTTPS skills.sh source_url and
|
|
3262
|
+
* name, HTTPS skills.sh source_url, availability and install_count are current catalog metadata. Withdrawn skills
|
|
3263
|
+
* remain readable.
|
|
3405
3264
|
*/
|
|
3406
3265
|
export interface AISkillMetadata {
|
|
3407
3266
|
name: string;
|
|
3408
3267
|
summary: string;
|
|
3409
3268
|
sourceUrl: string;
|
|
3410
3269
|
available: boolean;
|
|
3270
|
+
/**
|
|
3271
|
+
* skills.sh's self-reported installs as of the catalog's latest check, for display only: current, not pinned to
|
|
3272
|
+
* the suggested revision. 0 when skills.sh reported none.
|
|
3273
|
+
*/
|
|
3274
|
+
installCount: number;
|
|
3411
3275
|
}
|
|
3412
3276
|
|
|
3413
3277
|
/**
|
|
@@ -4292,103 +4156,43 @@ export interface IssueSession {
|
|
|
4292
4156
|
costUsdNanos: string;
|
|
4293
4157
|
}
|
|
4294
4158
|
|
|
4295
|
-
export interface
|
|
4159
|
+
export interface ListProjectInsightCardsRequest {
|
|
4296
4160
|
organizationId: string;
|
|
4297
4161
|
projectId: string;
|
|
4298
|
-
/**
|
|
4299
|
-
|
|
4162
|
+
/** Cards per page, 1 to 50; 0 is the default, 15. Negative is a validation error. */
|
|
4163
|
+
pageSize: number;
|
|
4164
|
+
/** A prior response's next_page_token: resumes after its card's local day and rank. Empty reads the newest cards. */
|
|
4165
|
+
pageToken: string;
|
|
4300
4166
|
}
|
|
4301
4167
|
|
|
4302
|
-
export interface
|
|
4168
|
+
export interface ListProjectInsightCardsResponse {
|
|
4303
4169
|
status:
|
|
4304
4170
|
| ResponseStatus
|
|
4305
4171
|
| undefined;
|
|
4306
4172
|
/**
|
|
4307
|
-
*
|
|
4308
|
-
*
|
|
4309
|
-
*/
|
|
4310
|
-
availability: AIProjectInsightAvailability;
|
|
4311
|
-
/**
|
|
4312
|
-
* The active timezone's latest local day, whatever its availability: the project's latest state. Absent when
|
|
4313
|
-
* NOT_COMPUTED.
|
|
4314
|
-
*/
|
|
4315
|
-
current:
|
|
4316
|
-
| AIProjectInsightRun
|
|
4317
|
-
| undefined;
|
|
4318
|
-
/**
|
|
4319
|
-
* Present only when current is not READY: the most recent earlier local day's analysis, in any timezone, only if
|
|
4320
|
-
* that day is READY and at most three days before the newest stored day (the read looks back no further).
|
|
4321
|
-
* Historical context, labelled by its own local_date, never shown as current's state.
|
|
4173
|
+
* Newest local day first, rank order within a day; empty when the project has no READY day. A page can be shorter
|
|
4174
|
+
* than page_size while next_page_token is set.
|
|
4322
4175
|
*/
|
|
4323
|
-
|
|
4176
|
+
cards: AIProjectInsightCard[];
|
|
4177
|
+
/** Empty on the last page. */
|
|
4178
|
+
nextPageToken: string;
|
|
4324
4179
|
}
|
|
4325
4180
|
|
|
4326
4181
|
/**
|
|
4327
|
-
*
|
|
4328
|
-
*
|
|
4182
|
+
* AIProjectInsightCard is one card with the run that served it: label it with its day and analysis ("Nov 3 (final)",
|
|
4183
|
+
* "Today until 14:00, analyzed 14:06").
|
|
4329
4184
|
*/
|
|
4330
|
-
export interface
|
|
4185
|
+
export interface AIProjectInsightCard {
|
|
4186
|
+
insight: AIProjectInsight | undefined;
|
|
4331
4187
|
runId: string;
|
|
4332
|
-
/**
|
|
4333
|
-
availability: AIProjectInsightAvailability;
|
|
4334
|
-
/** The day the run analyzed, YYYY-MM-DD in time_zone: what a client labels the run with. */
|
|
4188
|
+
/** The day the run analyzed, YYYY-MM-DD in time_zone. */
|
|
4335
4189
|
localDate: string;
|
|
4336
4190
|
/** The IANA timezone the day is in: the organization's, or "UTC" when it had none. */
|
|
4337
4191
|
timeZone: string;
|
|
4338
|
-
/**
|
|
4339
|
-
* False when the organization had no timezone and "UTC" is the fallback (prompt the user to set one); true when
|
|
4340
|
-
* time_zone is the organization's choice, UTC included.
|
|
4341
|
-
*/
|
|
4342
|
-
timeZoneSet: boolean;
|
|
4343
|
-
/** True when the window is the whole local day, final for that day; false while the day is still running. */
|
|
4192
|
+
/** True when the run covered the whole local day, final for that day; false while the day is still running. */
|
|
4344
4193
|
windowClosed: boolean;
|
|
4345
|
-
/**
|
|
4346
|
-
|
|
4347
|
-
* where a daylight-saving gap that skips midnight ends); an open window ends at the tick that analyzed it, a closed
|
|
4348
|
-
* one at the next day's first instant.
|
|
4349
|
-
*/
|
|
4350
|
-
windowStart: Date | undefined;
|
|
4351
|
-
windowEnd:
|
|
4352
|
-
| Date
|
|
4353
|
-
| undefined;
|
|
4354
|
-
/** When the run analyzed the window, not when the job last found it unchanged. */
|
|
4355
|
-
analyzedAt:
|
|
4356
|
-
| Date
|
|
4357
|
-
| undefined;
|
|
4358
|
-
/** The model, and the analysis version: the task, tools and selection versions and the budgets the run used. */
|
|
4359
|
-
model: string;
|
|
4360
|
-
analysisVersion: string;
|
|
4361
|
-
/** The window's eligible sessions, and those whose principal links to no person. */
|
|
4362
|
-
eligibleSessionCount: number;
|
|
4363
|
-
unresolvedSessionCount: number;
|
|
4364
|
-
/** Distinct linked people behind the eligible sessions. */
|
|
4365
|
-
linkedPersonCount: number;
|
|
4366
|
-
/** What the analysis read; absent on an INSUFFICIENT_DATA run, which reads nothing. */
|
|
4367
|
-
coverage:
|
|
4368
|
-
| AIProjectInsightCoverage
|
|
4369
|
-
| undefined;
|
|
4370
|
-
/** Up to the request's limit of the run's cards, in rank order. */
|
|
4371
|
-
insights: AIProjectInsight[];
|
|
4372
|
-
/** The run's exact card count (0 to 5), so a capped preview tells one card from one of five. */
|
|
4373
|
-
totalCount: number;
|
|
4374
|
-
}
|
|
4375
|
-
|
|
4376
|
-
/**
|
|
4377
|
-
* AIProjectInsightCoverage is how much of the window's evidence the analysis read. Show the sessions read against the
|
|
4378
|
-
* eligible ones, and a partial analysis's stop reason, beside the cards; never extrapolate to unread sessions.
|
|
4379
|
-
*/
|
|
4380
|
-
export interface AIProjectInsightCoverage {
|
|
4381
|
-
status: AIProjectInsightCoverageStatus;
|
|
4382
|
-
/** Unspecified is no stop: no budget cut the reading short. */
|
|
4383
|
-
stopReason: AIProjectInsightStopReason;
|
|
4384
|
-
/** Distinct sessions the model saw in an overview, and those whose evidence it read. */
|
|
4385
|
-
overviewSessionCount: number;
|
|
4386
|
-
evidenceSessionCount: number;
|
|
4387
|
-
/** Distinct linked people whose evidence the model read. */
|
|
4388
|
-
evidencePersonCount: number;
|
|
4389
|
-
/** Evidence items held back from the model, and items cut to their size cap. */
|
|
4390
|
-
withheldEvidenceCount: number;
|
|
4391
|
-
truncatedEvidenceCount: number;
|
|
4194
|
+
/** When the run analyzed the window. */
|
|
4195
|
+
analyzedAt: Date | undefined;
|
|
4392
4196
|
}
|
|
4393
4197
|
|
|
4394
4198
|
/**
|
|
@@ -24023,7 +23827,7 @@ export const AISkillSuggestion: MessageFns<AISkillSuggestion> = {
|
|
|
24023
23827
|
};
|
|
24024
23828
|
|
|
24025
23829
|
function createBaseAISkillMetadata(): AISkillMetadata {
|
|
24026
|
-
return { name: "", summary: "", sourceUrl: "", available: false };
|
|
23830
|
+
return { name: "", summary: "", sourceUrl: "", available: false, installCount: 0 };
|
|
24027
23831
|
}
|
|
24028
23832
|
|
|
24029
23833
|
export const AISkillMetadata: MessageFns<AISkillMetadata> = {
|
|
@@ -24040,6 +23844,9 @@ export const AISkillMetadata: MessageFns<AISkillMetadata> = {
|
|
|
24040
23844
|
if (message.available !== false) {
|
|
24041
23845
|
writer.uint32(32).bool(message.available);
|
|
24042
23846
|
}
|
|
23847
|
+
if (message.installCount !== 0) {
|
|
23848
|
+
writer.uint32(40).int64(message.installCount);
|
|
23849
|
+
}
|
|
24043
23850
|
return writer;
|
|
24044
23851
|
},
|
|
24045
23852
|
|
|
@@ -24088,6 +23895,14 @@ export const AISkillMetadata: MessageFns<AISkillMetadata> = {
|
|
|
24088
23895
|
message.available = reader.bool();
|
|
24089
23896
|
continue;
|
|
24090
23897
|
}
|
|
23898
|
+
case 5: {
|
|
23899
|
+
if (tag !== 40) {
|
|
23900
|
+
break;
|
|
23901
|
+
}
|
|
23902
|
+
|
|
23903
|
+
message.installCount = longToNumber(reader.int64());
|
|
23904
|
+
continue;
|
|
23905
|
+
}
|
|
24091
23906
|
}
|
|
24092
23907
|
if ((tag & 7) === 4 || tag === 0) {
|
|
24093
23908
|
break;
|
|
@@ -24110,6 +23925,11 @@ export const AISkillMetadata: MessageFns<AISkillMetadata> = {
|
|
|
24110
23925
|
? globalThis.String(object.source_url)
|
|
24111
23926
|
: "",
|
|
24112
23927
|
available: isSet(object.available) ? globalThis.Boolean(object.available) : false,
|
|
23928
|
+
installCount: isSet(object.installCount)
|
|
23929
|
+
? globalThis.Number(object.installCount)
|
|
23930
|
+
: isSet(object.install_count)
|
|
23931
|
+
? globalThis.Number(object.install_count)
|
|
23932
|
+
: 0,
|
|
24113
23933
|
};
|
|
24114
23934
|
},
|
|
24115
23935
|
|
|
@@ -24127,6 +23947,9 @@ export const AISkillMetadata: MessageFns<AISkillMetadata> = {
|
|
|
24127
23947
|
if (message.available !== false) {
|
|
24128
23948
|
obj.available = message.available;
|
|
24129
23949
|
}
|
|
23950
|
+
if (message.installCount !== 0) {
|
|
23951
|
+
obj.installCount = Math.round(message.installCount);
|
|
23952
|
+
}
|
|
24130
23953
|
return obj;
|
|
24131
23954
|
},
|
|
24132
23955
|
|
|
@@ -24139,6 +23962,7 @@ export const AISkillMetadata: MessageFns<AISkillMetadata> = {
|
|
|
24139
23962
|
message.summary = object.summary ?? "";
|
|
24140
23963
|
message.sourceUrl = object.sourceUrl ?? "";
|
|
24141
23964
|
message.available = object.available ?? false;
|
|
23965
|
+
message.installCount = object.installCount ?? 0;
|
|
24142
23966
|
return message;
|
|
24143
23967
|
},
|
|
24144
23968
|
};
|
|
@@ -33569,25 +33393,28 @@ export const IssueSession: MessageFns<IssueSession> = {
|
|
|
33569
33393
|
},
|
|
33570
33394
|
};
|
|
33571
33395
|
|
|
33572
|
-
function
|
|
33573
|
-
return { organizationId: "", projectId: "",
|
|
33396
|
+
function createBaseListProjectInsightCardsRequest(): ListProjectInsightCardsRequest {
|
|
33397
|
+
return { organizationId: "", projectId: "", pageSize: 0, pageToken: "" };
|
|
33574
33398
|
}
|
|
33575
33399
|
|
|
33576
|
-
export const
|
|
33577
|
-
encode(message:
|
|
33400
|
+
export const ListProjectInsightCardsRequest: MessageFns<ListProjectInsightCardsRequest> = {
|
|
33401
|
+
encode(message: ListProjectInsightCardsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
33578
33402
|
if (message.organizationId !== "") {
|
|
33579
33403
|
writer.uint32(10).string(message.organizationId);
|
|
33580
33404
|
}
|
|
33581
33405
|
if (message.projectId !== "") {
|
|
33582
33406
|
writer.uint32(18).string(message.projectId);
|
|
33583
33407
|
}
|
|
33584
|
-
if (message.
|
|
33585
|
-
writer.uint32(24).int32(message.
|
|
33408
|
+
if (message.pageSize !== 0) {
|
|
33409
|
+
writer.uint32(24).int32(message.pageSize);
|
|
33410
|
+
}
|
|
33411
|
+
if (message.pageToken !== "") {
|
|
33412
|
+
writer.uint32(34).string(message.pageToken);
|
|
33586
33413
|
}
|
|
33587
33414
|
return writer;
|
|
33588
33415
|
},
|
|
33589
33416
|
|
|
33590
|
-
decode(input: BinaryReader | Uint8Array, length?: number):
|
|
33417
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListProjectInsightCardsRequest {
|
|
33591
33418
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33592
33419
|
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
33593
33420
|
if (previousRecursionDepth >= 100) {
|
|
@@ -33596,7 +33423,7 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33596
33423
|
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
33597
33424
|
try {
|
|
33598
33425
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
33599
|
-
const message =
|
|
33426
|
+
const message = createBaseListProjectInsightCardsRequest();
|
|
33600
33427
|
while (reader.pos < end) {
|
|
33601
33428
|
const tag = reader.uint32();
|
|
33602
33429
|
switch (tag >>> 3) {
|
|
@@ -33621,7 +33448,15 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33621
33448
|
break;
|
|
33622
33449
|
}
|
|
33623
33450
|
|
|
33624
|
-
message.
|
|
33451
|
+
message.pageSize = reader.int32();
|
|
33452
|
+
continue;
|
|
33453
|
+
}
|
|
33454
|
+
case 4: {
|
|
33455
|
+
if (tag !== 34) {
|
|
33456
|
+
break;
|
|
33457
|
+
}
|
|
33458
|
+
|
|
33459
|
+
message.pageToken = reader.string();
|
|
33625
33460
|
continue;
|
|
33626
33461
|
}
|
|
33627
33462
|
}
|
|
@@ -33636,7 +33471,7 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33636
33471
|
}
|
|
33637
33472
|
},
|
|
33638
33473
|
|
|
33639
|
-
fromJSON(object: any):
|
|
33474
|
+
fromJSON(object: any): ListProjectInsightCardsRequest {
|
|
33640
33475
|
return {
|
|
33641
33476
|
organizationId: isSet(object.organizationId)
|
|
33642
33477
|
? globalThis.String(object.organizationId)
|
|
@@ -33648,11 +33483,20 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33648
33483
|
: isSet(object.project_id)
|
|
33649
33484
|
? globalThis.String(object.project_id)
|
|
33650
33485
|
: "",
|
|
33651
|
-
|
|
33486
|
+
pageSize: isSet(object.pageSize)
|
|
33487
|
+
? globalThis.Number(object.pageSize)
|
|
33488
|
+
: isSet(object.page_size)
|
|
33489
|
+
? globalThis.Number(object.page_size)
|
|
33490
|
+
: 0,
|
|
33491
|
+
pageToken: isSet(object.pageToken)
|
|
33492
|
+
? globalThis.String(object.pageToken)
|
|
33493
|
+
: isSet(object.page_token)
|
|
33494
|
+
? globalThis.String(object.page_token)
|
|
33495
|
+
: "",
|
|
33652
33496
|
};
|
|
33653
33497
|
},
|
|
33654
33498
|
|
|
33655
|
-
toJSON(message:
|
|
33499
|
+
toJSON(message: ListProjectInsightCardsRequest): unknown {
|
|
33656
33500
|
const obj: any = {};
|
|
33657
33501
|
if (message.organizationId !== "") {
|
|
33658
33502
|
obj.organizationId = message.organizationId;
|
|
@@ -33660,46 +33504,49 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33660
33504
|
if (message.projectId !== "") {
|
|
33661
33505
|
obj.projectId = message.projectId;
|
|
33662
33506
|
}
|
|
33663
|
-
if (message.
|
|
33664
|
-
obj.
|
|
33507
|
+
if (message.pageSize !== 0) {
|
|
33508
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
33509
|
+
}
|
|
33510
|
+
if (message.pageToken !== "") {
|
|
33511
|
+
obj.pageToken = message.pageToken;
|
|
33665
33512
|
}
|
|
33666
33513
|
return obj;
|
|
33667
33514
|
},
|
|
33668
33515
|
|
|
33669
|
-
create<I extends Exact<DeepPartial<
|
|
33670
|
-
return
|
|
33516
|
+
create<I extends Exact<DeepPartial<ListProjectInsightCardsRequest>, I>>(base?: I): ListProjectInsightCardsRequest {
|
|
33517
|
+
return ListProjectInsightCardsRequest.fromPartial(base ?? ({} as any));
|
|
33671
33518
|
},
|
|
33672
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
33673
|
-
|
|
33519
|
+
fromPartial<I extends Exact<DeepPartial<ListProjectInsightCardsRequest>, I>>(
|
|
33520
|
+
object: I,
|
|
33521
|
+
): ListProjectInsightCardsRequest {
|
|
33522
|
+
const message = createBaseListProjectInsightCardsRequest();
|
|
33674
33523
|
message.organizationId = object.organizationId ?? "";
|
|
33675
33524
|
message.projectId = object.projectId ?? "";
|
|
33676
|
-
message.
|
|
33525
|
+
message.pageSize = object.pageSize ?? 0;
|
|
33526
|
+
message.pageToken = object.pageToken ?? "";
|
|
33677
33527
|
return message;
|
|
33678
33528
|
},
|
|
33679
33529
|
};
|
|
33680
33530
|
|
|
33681
|
-
function
|
|
33682
|
-
return { status: undefined,
|
|
33531
|
+
function createBaseListProjectInsightCardsResponse(): ListProjectInsightCardsResponse {
|
|
33532
|
+
return { status: undefined, cards: [], nextPageToken: "" };
|
|
33683
33533
|
}
|
|
33684
33534
|
|
|
33685
|
-
export const
|
|
33686
|
-
encode(message:
|
|
33535
|
+
export const ListProjectInsightCardsResponse: MessageFns<ListProjectInsightCardsResponse> = {
|
|
33536
|
+
encode(message: ListProjectInsightCardsResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
33687
33537
|
if (message.status !== undefined) {
|
|
33688
33538
|
ResponseStatus.encode(message.status, writer.uint32(10).fork()).join();
|
|
33689
33539
|
}
|
|
33690
|
-
|
|
33691
|
-
writer.uint32(
|
|
33540
|
+
for (const v of message.cards) {
|
|
33541
|
+
AIProjectInsightCard.encode(v!, writer.uint32(18).fork()).join();
|
|
33692
33542
|
}
|
|
33693
|
-
if (message.
|
|
33694
|
-
|
|
33695
|
-
}
|
|
33696
|
-
if (message.previous !== undefined) {
|
|
33697
|
-
AIProjectInsightRun.encode(message.previous, writer.uint32(34).fork()).join();
|
|
33543
|
+
if (message.nextPageToken !== "") {
|
|
33544
|
+
writer.uint32(26).string(message.nextPageToken);
|
|
33698
33545
|
}
|
|
33699
33546
|
return writer;
|
|
33700
33547
|
},
|
|
33701
33548
|
|
|
33702
|
-
decode(input: BinaryReader | Uint8Array, length?: number):
|
|
33549
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListProjectInsightCardsResponse {
|
|
33703
33550
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33704
33551
|
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
33705
33552
|
if (previousRecursionDepth >= 100) {
|
|
@@ -33708,7 +33555,7 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33708
33555
|
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
33709
33556
|
try {
|
|
33710
33557
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
33711
|
-
const message =
|
|
33558
|
+
const message = createBaseListProjectInsightCardsResponse();
|
|
33712
33559
|
while (reader.pos < end) {
|
|
33713
33560
|
const tag = reader.uint32();
|
|
33714
33561
|
switch (tag >>> 3) {
|
|
@@ -33721,11 +33568,11 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33721
33568
|
continue;
|
|
33722
33569
|
}
|
|
33723
33570
|
case 2: {
|
|
33724
|
-
if (tag !==
|
|
33571
|
+
if (tag !== 18) {
|
|
33725
33572
|
break;
|
|
33726
33573
|
}
|
|
33727
33574
|
|
|
33728
|
-
message.
|
|
33575
|
+
message.cards.push(AIProjectInsightCard.decode(reader, reader.uint32()));
|
|
33729
33576
|
continue;
|
|
33730
33577
|
}
|
|
33731
33578
|
case 3: {
|
|
@@ -33733,15 +33580,7 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33733
33580
|
break;
|
|
33734
33581
|
}
|
|
33735
33582
|
|
|
33736
|
-
message.
|
|
33737
|
-
continue;
|
|
33738
|
-
}
|
|
33739
|
-
case 4: {
|
|
33740
|
-
if (tag !== 34) {
|
|
33741
|
-
break;
|
|
33742
|
-
}
|
|
33743
|
-
|
|
33744
|
-
message.previous = AIProjectInsightRun.decode(reader, reader.uint32());
|
|
33583
|
+
message.nextPageToken = reader.string();
|
|
33745
33584
|
continue;
|
|
33746
33585
|
}
|
|
33747
33586
|
}
|
|
@@ -33756,80 +33595,61 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33756
33595
|
}
|
|
33757
33596
|
},
|
|
33758
33597
|
|
|
33759
|
-
fromJSON(object: any):
|
|
33598
|
+
fromJSON(object: any): ListProjectInsightCardsResponse {
|
|
33760
33599
|
return {
|
|
33761
33600
|
status: isSet(object.status) ? ResponseStatus.fromJSON(object.status) : undefined,
|
|
33762
|
-
|
|
33763
|
-
|
|
33764
|
-
|
|
33601
|
+
cards: globalThis.Array.isArray(object?.cards)
|
|
33602
|
+
? object.cards.map((e: any) => AIProjectInsightCard.fromJSON(e))
|
|
33603
|
+
: [],
|
|
33604
|
+
nextPageToken: isSet(object.nextPageToken)
|
|
33605
|
+
? globalThis.String(object.nextPageToken)
|
|
33606
|
+
: isSet(object.next_page_token)
|
|
33607
|
+
? globalThis.String(object.next_page_token)
|
|
33608
|
+
: "",
|
|
33765
33609
|
};
|
|
33766
33610
|
},
|
|
33767
33611
|
|
|
33768
|
-
toJSON(message:
|
|
33612
|
+
toJSON(message: ListProjectInsightCardsResponse): unknown {
|
|
33769
33613
|
const obj: any = {};
|
|
33770
33614
|
if (message.status !== undefined) {
|
|
33771
33615
|
obj.status = ResponseStatus.toJSON(message.status);
|
|
33772
33616
|
}
|
|
33773
|
-
if (message.
|
|
33774
|
-
obj.
|
|
33617
|
+
if (message.cards?.length) {
|
|
33618
|
+
obj.cards = message.cards.map((e) => AIProjectInsightCard.toJSON(e));
|
|
33775
33619
|
}
|
|
33776
|
-
if (message.
|
|
33777
|
-
obj.
|
|
33778
|
-
}
|
|
33779
|
-
if (message.previous !== undefined) {
|
|
33780
|
-
obj.previous = AIProjectInsightRun.toJSON(message.previous);
|
|
33620
|
+
if (message.nextPageToken !== "") {
|
|
33621
|
+
obj.nextPageToken = message.nextPageToken;
|
|
33781
33622
|
}
|
|
33782
33623
|
return obj;
|
|
33783
33624
|
},
|
|
33784
33625
|
|
|
33785
|
-
create<I extends Exact<DeepPartial<
|
|
33786
|
-
return
|
|
33626
|
+
create<I extends Exact<DeepPartial<ListProjectInsightCardsResponse>, I>>(base?: I): ListProjectInsightCardsResponse {
|
|
33627
|
+
return ListProjectInsightCardsResponse.fromPartial(base ?? ({} as any));
|
|
33787
33628
|
},
|
|
33788
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
33789
|
-
|
|
33629
|
+
fromPartial<I extends Exact<DeepPartial<ListProjectInsightCardsResponse>, I>>(
|
|
33630
|
+
object: I,
|
|
33631
|
+
): ListProjectInsightCardsResponse {
|
|
33632
|
+
const message = createBaseListProjectInsightCardsResponse();
|
|
33790
33633
|
message.status = (object.status !== undefined && object.status !== null)
|
|
33791
33634
|
? ResponseStatus.fromPartial(object.status)
|
|
33792
33635
|
: undefined;
|
|
33793
|
-
message.
|
|
33794
|
-
message.
|
|
33795
|
-
? AIProjectInsightRun.fromPartial(object.current)
|
|
33796
|
-
: undefined;
|
|
33797
|
-
message.previous = (object.previous !== undefined && object.previous !== null)
|
|
33798
|
-
? AIProjectInsightRun.fromPartial(object.previous)
|
|
33799
|
-
: undefined;
|
|
33636
|
+
message.cards = object.cards?.map((e) => AIProjectInsightCard.fromPartial(e)) || [];
|
|
33637
|
+
message.nextPageToken = object.nextPageToken ?? "";
|
|
33800
33638
|
return message;
|
|
33801
33639
|
},
|
|
33802
33640
|
};
|
|
33803
33641
|
|
|
33804
|
-
function
|
|
33805
|
-
return {
|
|
33806
|
-
runId: "",
|
|
33807
|
-
availability: 0,
|
|
33808
|
-
localDate: "",
|
|
33809
|
-
timeZone: "",
|
|
33810
|
-
timeZoneSet: false,
|
|
33811
|
-
windowClosed: false,
|
|
33812
|
-
windowStart: undefined,
|
|
33813
|
-
windowEnd: undefined,
|
|
33814
|
-
analyzedAt: undefined,
|
|
33815
|
-
model: "",
|
|
33816
|
-
analysisVersion: "",
|
|
33817
|
-
eligibleSessionCount: 0,
|
|
33818
|
-
unresolvedSessionCount: 0,
|
|
33819
|
-
linkedPersonCount: 0,
|
|
33820
|
-
coverage: undefined,
|
|
33821
|
-
insights: [],
|
|
33822
|
-
totalCount: 0,
|
|
33823
|
-
};
|
|
33642
|
+
function createBaseAIProjectInsightCard(): AIProjectInsightCard {
|
|
33643
|
+
return { insight: undefined, runId: "", localDate: "", timeZone: "", windowClosed: false, analyzedAt: undefined };
|
|
33824
33644
|
}
|
|
33825
33645
|
|
|
33826
|
-
export const
|
|
33827
|
-
encode(message:
|
|
33828
|
-
if (message.
|
|
33829
|
-
writer.uint32(10).
|
|
33646
|
+
export const AIProjectInsightCard: MessageFns<AIProjectInsightCard> = {
|
|
33647
|
+
encode(message: AIProjectInsightCard, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
33648
|
+
if (message.insight !== undefined) {
|
|
33649
|
+
AIProjectInsight.encode(message.insight, writer.uint32(10).fork()).join();
|
|
33830
33650
|
}
|
|
33831
|
-
if (message.
|
|
33832
|
-
writer.uint32(
|
|
33651
|
+
if (message.runId !== "") {
|
|
33652
|
+
writer.uint32(18).string(message.runId);
|
|
33833
33653
|
}
|
|
33834
33654
|
if (message.localDate !== "") {
|
|
33835
33655
|
writer.uint32(26).string(message.localDate);
|
|
@@ -33837,49 +33657,16 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33837
33657
|
if (message.timeZone !== "") {
|
|
33838
33658
|
writer.uint32(34).string(message.timeZone);
|
|
33839
33659
|
}
|
|
33840
|
-
if (message.timeZoneSet !== false) {
|
|
33841
|
-
writer.uint32(40).bool(message.timeZoneSet);
|
|
33842
|
-
}
|
|
33843
33660
|
if (message.windowClosed !== false) {
|
|
33844
|
-
writer.uint32(
|
|
33845
|
-
}
|
|
33846
|
-
if (message.windowStart !== undefined) {
|
|
33847
|
-
Timestamp.encode(toTimestamp(message.windowStart), writer.uint32(58).fork()).join();
|
|
33848
|
-
}
|
|
33849
|
-
if (message.windowEnd !== undefined) {
|
|
33850
|
-
Timestamp.encode(toTimestamp(message.windowEnd), writer.uint32(66).fork()).join();
|
|
33661
|
+
writer.uint32(40).bool(message.windowClosed);
|
|
33851
33662
|
}
|
|
33852
33663
|
if (message.analyzedAt !== undefined) {
|
|
33853
|
-
Timestamp.encode(toTimestamp(message.analyzedAt), writer.uint32(
|
|
33854
|
-
}
|
|
33855
|
-
if (message.model !== "") {
|
|
33856
|
-
writer.uint32(82).string(message.model);
|
|
33857
|
-
}
|
|
33858
|
-
if (message.analysisVersion !== "") {
|
|
33859
|
-
writer.uint32(90).string(message.analysisVersion);
|
|
33860
|
-
}
|
|
33861
|
-
if (message.eligibleSessionCount !== 0) {
|
|
33862
|
-
writer.uint32(96).uint32(message.eligibleSessionCount);
|
|
33863
|
-
}
|
|
33864
|
-
if (message.unresolvedSessionCount !== 0) {
|
|
33865
|
-
writer.uint32(104).uint32(message.unresolvedSessionCount);
|
|
33866
|
-
}
|
|
33867
|
-
if (message.linkedPersonCount !== 0) {
|
|
33868
|
-
writer.uint32(112).uint32(message.linkedPersonCount);
|
|
33869
|
-
}
|
|
33870
|
-
if (message.coverage !== undefined) {
|
|
33871
|
-
AIProjectInsightCoverage.encode(message.coverage, writer.uint32(122).fork()).join();
|
|
33872
|
-
}
|
|
33873
|
-
for (const v of message.insights) {
|
|
33874
|
-
AIProjectInsight.encode(v!, writer.uint32(130).fork()).join();
|
|
33875
|
-
}
|
|
33876
|
-
if (message.totalCount !== 0) {
|
|
33877
|
-
writer.uint32(136).uint32(message.totalCount);
|
|
33664
|
+
Timestamp.encode(toTimestamp(message.analyzedAt), writer.uint32(50).fork()).join();
|
|
33878
33665
|
}
|
|
33879
33666
|
return writer;
|
|
33880
33667
|
},
|
|
33881
33668
|
|
|
33882
|
-
decode(input: BinaryReader | Uint8Array, length?: number):
|
|
33669
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AIProjectInsightCard {
|
|
33883
33670
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33884
33671
|
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
33885
33672
|
if (previousRecursionDepth >= 100) {
|
|
@@ -33888,7 +33675,7 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33888
33675
|
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
33889
33676
|
try {
|
|
33890
33677
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
33891
|
-
const message =
|
|
33678
|
+
const message = createBaseAIProjectInsightCard();
|
|
33892
33679
|
while (reader.pos < end) {
|
|
33893
33680
|
const tag = reader.uint32();
|
|
33894
33681
|
switch (tag >>> 3) {
|
|
@@ -33897,15 +33684,15 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33897
33684
|
break;
|
|
33898
33685
|
}
|
|
33899
33686
|
|
|
33900
|
-
message.
|
|
33687
|
+
message.insight = AIProjectInsight.decode(reader, reader.uint32());
|
|
33901
33688
|
continue;
|
|
33902
33689
|
}
|
|
33903
33690
|
case 2: {
|
|
33904
|
-
if (tag !==
|
|
33691
|
+
if (tag !== 18) {
|
|
33905
33692
|
break;
|
|
33906
33693
|
}
|
|
33907
33694
|
|
|
33908
|
-
message.
|
|
33695
|
+
message.runId = reader.string();
|
|
33909
33696
|
continue;
|
|
33910
33697
|
}
|
|
33911
33698
|
case 3: {
|
|
@@ -33929,105 +33716,17 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33929
33716
|
break;
|
|
33930
33717
|
}
|
|
33931
33718
|
|
|
33932
|
-
message.timeZoneSet = reader.bool();
|
|
33933
|
-
continue;
|
|
33934
|
-
}
|
|
33935
|
-
case 6: {
|
|
33936
|
-
if (tag !== 48) {
|
|
33937
|
-
break;
|
|
33938
|
-
}
|
|
33939
|
-
|
|
33940
33719
|
message.windowClosed = reader.bool();
|
|
33941
33720
|
continue;
|
|
33942
33721
|
}
|
|
33943
|
-
case
|
|
33944
|
-
if (tag !==
|
|
33945
|
-
break;
|
|
33946
|
-
}
|
|
33947
|
-
|
|
33948
|
-
message.windowStart = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
33949
|
-
continue;
|
|
33950
|
-
}
|
|
33951
|
-
case 8: {
|
|
33952
|
-
if (tag !== 66) {
|
|
33953
|
-
break;
|
|
33954
|
-
}
|
|
33955
|
-
|
|
33956
|
-
message.windowEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
33957
|
-
continue;
|
|
33958
|
-
}
|
|
33959
|
-
case 9: {
|
|
33960
|
-
if (tag !== 74) {
|
|
33722
|
+
case 6: {
|
|
33723
|
+
if (tag !== 50) {
|
|
33961
33724
|
break;
|
|
33962
33725
|
}
|
|
33963
33726
|
|
|
33964
33727
|
message.analyzedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
33965
33728
|
continue;
|
|
33966
33729
|
}
|
|
33967
|
-
case 10: {
|
|
33968
|
-
if (tag !== 82) {
|
|
33969
|
-
break;
|
|
33970
|
-
}
|
|
33971
|
-
|
|
33972
|
-
message.model = reader.string();
|
|
33973
|
-
continue;
|
|
33974
|
-
}
|
|
33975
|
-
case 11: {
|
|
33976
|
-
if (tag !== 90) {
|
|
33977
|
-
break;
|
|
33978
|
-
}
|
|
33979
|
-
|
|
33980
|
-
message.analysisVersion = reader.string();
|
|
33981
|
-
continue;
|
|
33982
|
-
}
|
|
33983
|
-
case 12: {
|
|
33984
|
-
if (tag !== 96) {
|
|
33985
|
-
break;
|
|
33986
|
-
}
|
|
33987
|
-
|
|
33988
|
-
message.eligibleSessionCount = reader.uint32();
|
|
33989
|
-
continue;
|
|
33990
|
-
}
|
|
33991
|
-
case 13: {
|
|
33992
|
-
if (tag !== 104) {
|
|
33993
|
-
break;
|
|
33994
|
-
}
|
|
33995
|
-
|
|
33996
|
-
message.unresolvedSessionCount = reader.uint32();
|
|
33997
|
-
continue;
|
|
33998
|
-
}
|
|
33999
|
-
case 14: {
|
|
34000
|
-
if (tag !== 112) {
|
|
34001
|
-
break;
|
|
34002
|
-
}
|
|
34003
|
-
|
|
34004
|
-
message.linkedPersonCount = reader.uint32();
|
|
34005
|
-
continue;
|
|
34006
|
-
}
|
|
34007
|
-
case 15: {
|
|
34008
|
-
if (tag !== 122) {
|
|
34009
|
-
break;
|
|
34010
|
-
}
|
|
34011
|
-
|
|
34012
|
-
message.coverage = AIProjectInsightCoverage.decode(reader, reader.uint32());
|
|
34013
|
-
continue;
|
|
34014
|
-
}
|
|
34015
|
-
case 16: {
|
|
34016
|
-
if (tag !== 130) {
|
|
34017
|
-
break;
|
|
34018
|
-
}
|
|
34019
|
-
|
|
34020
|
-
message.insights.push(AIProjectInsight.decode(reader, reader.uint32()));
|
|
34021
|
-
continue;
|
|
34022
|
-
}
|
|
34023
|
-
case 17: {
|
|
34024
|
-
if (tag !== 136) {
|
|
34025
|
-
break;
|
|
34026
|
-
}
|
|
34027
|
-
|
|
34028
|
-
message.totalCount = reader.uint32();
|
|
34029
|
-
continue;
|
|
34030
|
-
}
|
|
34031
33730
|
}
|
|
34032
33731
|
if ((tag & 7) === 4 || tag === 0) {
|
|
34033
33732
|
break;
|
|
@@ -34040,14 +33739,14 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
34040
33739
|
}
|
|
34041
33740
|
},
|
|
34042
33741
|
|
|
34043
|
-
fromJSON(object: any):
|
|
33742
|
+
fromJSON(object: any): AIProjectInsightCard {
|
|
34044
33743
|
return {
|
|
33744
|
+
insight: isSet(object.insight) ? AIProjectInsight.fromJSON(object.insight) : undefined,
|
|
34045
33745
|
runId: isSet(object.runId)
|
|
34046
33746
|
? globalThis.String(object.runId)
|
|
34047
33747
|
: isSet(object.run_id)
|
|
34048
33748
|
? globalThis.String(object.run_id)
|
|
34049
33749
|
: "",
|
|
34050
|
-
availability: isSet(object.availability) ? aIProjectInsightAvailabilityFromJSON(object.availability) : 0,
|
|
34051
33750
|
localDate: isSet(object.localDate)
|
|
34052
33751
|
? globalThis.String(object.localDate)
|
|
34053
33752
|
: isSet(object.local_date)
|
|
@@ -34058,341 +33757,55 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
34058
33757
|
: isSet(object.time_zone)
|
|
34059
33758
|
? globalThis.String(object.time_zone)
|
|
34060
33759
|
: "",
|
|
34061
|
-
timeZoneSet: isSet(object.timeZoneSet)
|
|
34062
|
-
? globalThis.Boolean(object.timeZoneSet)
|
|
34063
|
-
: isSet(object.time_zone_set)
|
|
34064
|
-
? globalThis.Boolean(object.time_zone_set)
|
|
34065
|
-
: false,
|
|
34066
33760
|
windowClosed: isSet(object.windowClosed)
|
|
34067
33761
|
? globalThis.Boolean(object.windowClosed)
|
|
34068
33762
|
: isSet(object.window_closed)
|
|
34069
33763
|
? globalThis.Boolean(object.window_closed)
|
|
34070
33764
|
: false,
|
|
34071
|
-
windowStart: isSet(object.windowStart)
|
|
34072
|
-
? fromJsonTimestamp(object.windowStart)
|
|
34073
|
-
: isSet(object.window_start)
|
|
34074
|
-
? fromJsonTimestamp(object.window_start)
|
|
34075
|
-
: undefined,
|
|
34076
|
-
windowEnd: isSet(object.windowEnd)
|
|
34077
|
-
? fromJsonTimestamp(object.windowEnd)
|
|
34078
|
-
: isSet(object.window_end)
|
|
34079
|
-
? fromJsonTimestamp(object.window_end)
|
|
34080
|
-
: undefined,
|
|
34081
33765
|
analyzedAt: isSet(object.analyzedAt)
|
|
34082
33766
|
? fromJsonTimestamp(object.analyzedAt)
|
|
34083
33767
|
: isSet(object.analyzed_at)
|
|
34084
33768
|
? fromJsonTimestamp(object.analyzed_at)
|
|
34085
33769
|
: undefined,
|
|
34086
|
-
model: isSet(object.model) ? globalThis.String(object.model) : "",
|
|
34087
|
-
analysisVersion: isSet(object.analysisVersion)
|
|
34088
|
-
? globalThis.String(object.analysisVersion)
|
|
34089
|
-
: isSet(object.analysis_version)
|
|
34090
|
-
? globalThis.String(object.analysis_version)
|
|
34091
|
-
: "",
|
|
34092
|
-
eligibleSessionCount: isSet(object.eligibleSessionCount)
|
|
34093
|
-
? globalThis.Number(object.eligibleSessionCount)
|
|
34094
|
-
: isSet(object.eligible_session_count)
|
|
34095
|
-
? globalThis.Number(object.eligible_session_count)
|
|
34096
|
-
: 0,
|
|
34097
|
-
unresolvedSessionCount: isSet(object.unresolvedSessionCount)
|
|
34098
|
-
? globalThis.Number(object.unresolvedSessionCount)
|
|
34099
|
-
: isSet(object.unresolved_session_count)
|
|
34100
|
-
? globalThis.Number(object.unresolved_session_count)
|
|
34101
|
-
: 0,
|
|
34102
|
-
linkedPersonCount: isSet(object.linkedPersonCount)
|
|
34103
|
-
? globalThis.Number(object.linkedPersonCount)
|
|
34104
|
-
: isSet(object.linked_person_count)
|
|
34105
|
-
? globalThis.Number(object.linked_person_count)
|
|
34106
|
-
: 0,
|
|
34107
|
-
coverage: isSet(object.coverage) ? AIProjectInsightCoverage.fromJSON(object.coverage) : undefined,
|
|
34108
|
-
insights: globalThis.Array.isArray(object?.insights)
|
|
34109
|
-
? object.insights.map((e: any) => AIProjectInsight.fromJSON(e))
|
|
34110
|
-
: [],
|
|
34111
|
-
totalCount: isSet(object.totalCount)
|
|
34112
|
-
? globalThis.Number(object.totalCount)
|
|
34113
|
-
: isSet(object.total_count)
|
|
34114
|
-
? globalThis.Number(object.total_count)
|
|
34115
|
-
: 0,
|
|
34116
33770
|
};
|
|
34117
33771
|
},
|
|
34118
33772
|
|
|
34119
|
-
toJSON(message:
|
|
33773
|
+
toJSON(message: AIProjectInsightCard): unknown {
|
|
34120
33774
|
const obj: any = {};
|
|
33775
|
+
if (message.insight !== undefined) {
|
|
33776
|
+
obj.insight = AIProjectInsight.toJSON(message.insight);
|
|
33777
|
+
}
|
|
34121
33778
|
if (message.runId !== "") {
|
|
34122
33779
|
obj.runId = message.runId;
|
|
34123
33780
|
}
|
|
34124
|
-
if (message.availability !== 0) {
|
|
34125
|
-
obj.availability = aIProjectInsightAvailabilityToJSON(message.availability);
|
|
34126
|
-
}
|
|
34127
33781
|
if (message.localDate !== "") {
|
|
34128
33782
|
obj.localDate = message.localDate;
|
|
34129
33783
|
}
|
|
34130
33784
|
if (message.timeZone !== "") {
|
|
34131
33785
|
obj.timeZone = message.timeZone;
|
|
34132
33786
|
}
|
|
34133
|
-
if (message.timeZoneSet !== false) {
|
|
34134
|
-
obj.timeZoneSet = message.timeZoneSet;
|
|
34135
|
-
}
|
|
34136
33787
|
if (message.windowClosed !== false) {
|
|
34137
33788
|
obj.windowClosed = message.windowClosed;
|
|
34138
33789
|
}
|
|
34139
|
-
if (message.windowStart !== undefined) {
|
|
34140
|
-
obj.windowStart = message.windowStart.toISOString();
|
|
34141
|
-
}
|
|
34142
|
-
if (message.windowEnd !== undefined) {
|
|
34143
|
-
obj.windowEnd = message.windowEnd.toISOString();
|
|
34144
|
-
}
|
|
34145
33790
|
if (message.analyzedAt !== undefined) {
|
|
34146
33791
|
obj.analyzedAt = message.analyzedAt.toISOString();
|
|
34147
33792
|
}
|
|
34148
|
-
if (message.model !== "") {
|
|
34149
|
-
obj.model = message.model;
|
|
34150
|
-
}
|
|
34151
|
-
if (message.analysisVersion !== "") {
|
|
34152
|
-
obj.analysisVersion = message.analysisVersion;
|
|
34153
|
-
}
|
|
34154
|
-
if (message.eligibleSessionCount !== 0) {
|
|
34155
|
-
obj.eligibleSessionCount = Math.round(message.eligibleSessionCount);
|
|
34156
|
-
}
|
|
34157
|
-
if (message.unresolvedSessionCount !== 0) {
|
|
34158
|
-
obj.unresolvedSessionCount = Math.round(message.unresolvedSessionCount);
|
|
34159
|
-
}
|
|
34160
|
-
if (message.linkedPersonCount !== 0) {
|
|
34161
|
-
obj.linkedPersonCount = Math.round(message.linkedPersonCount);
|
|
34162
|
-
}
|
|
34163
|
-
if (message.coverage !== undefined) {
|
|
34164
|
-
obj.coverage = AIProjectInsightCoverage.toJSON(message.coverage);
|
|
34165
|
-
}
|
|
34166
|
-
if (message.insights?.length) {
|
|
34167
|
-
obj.insights = message.insights.map((e) => AIProjectInsight.toJSON(e));
|
|
34168
|
-
}
|
|
34169
|
-
if (message.totalCount !== 0) {
|
|
34170
|
-
obj.totalCount = Math.round(message.totalCount);
|
|
34171
|
-
}
|
|
34172
33793
|
return obj;
|
|
34173
33794
|
},
|
|
34174
33795
|
|
|
34175
|
-
create<I extends Exact<DeepPartial<
|
|
34176
|
-
return
|
|
33796
|
+
create<I extends Exact<DeepPartial<AIProjectInsightCard>, I>>(base?: I): AIProjectInsightCard {
|
|
33797
|
+
return AIProjectInsightCard.fromPartial(base ?? ({} as any));
|
|
34177
33798
|
},
|
|
34178
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
34179
|
-
const message =
|
|
33799
|
+
fromPartial<I extends Exact<DeepPartial<AIProjectInsightCard>, I>>(object: I): AIProjectInsightCard {
|
|
33800
|
+
const message = createBaseAIProjectInsightCard();
|
|
33801
|
+
message.insight = (object.insight !== undefined && object.insight !== null)
|
|
33802
|
+
? AIProjectInsight.fromPartial(object.insight)
|
|
33803
|
+
: undefined;
|
|
34180
33804
|
message.runId = object.runId ?? "";
|
|
34181
|
-
message.availability = object.availability ?? 0;
|
|
34182
33805
|
message.localDate = object.localDate ?? "";
|
|
34183
33806
|
message.timeZone = object.timeZone ?? "";
|
|
34184
|
-
message.timeZoneSet = object.timeZoneSet ?? false;
|
|
34185
33807
|
message.windowClosed = object.windowClosed ?? false;
|
|
34186
|
-
message.windowStart = object.windowStart ?? undefined;
|
|
34187
|
-
message.windowEnd = object.windowEnd ?? undefined;
|
|
34188
33808
|
message.analyzedAt = object.analyzedAt ?? undefined;
|
|
34189
|
-
message.model = object.model ?? "";
|
|
34190
|
-
message.analysisVersion = object.analysisVersion ?? "";
|
|
34191
|
-
message.eligibleSessionCount = object.eligibleSessionCount ?? 0;
|
|
34192
|
-
message.unresolvedSessionCount = object.unresolvedSessionCount ?? 0;
|
|
34193
|
-
message.linkedPersonCount = object.linkedPersonCount ?? 0;
|
|
34194
|
-
message.coverage = (object.coverage !== undefined && object.coverage !== null)
|
|
34195
|
-
? AIProjectInsightCoverage.fromPartial(object.coverage)
|
|
34196
|
-
: undefined;
|
|
34197
|
-
message.insights = object.insights?.map((e) => AIProjectInsight.fromPartial(e)) || [];
|
|
34198
|
-
message.totalCount = object.totalCount ?? 0;
|
|
34199
|
-
return message;
|
|
34200
|
-
},
|
|
34201
|
-
};
|
|
34202
|
-
|
|
34203
|
-
function createBaseAIProjectInsightCoverage(): AIProjectInsightCoverage {
|
|
34204
|
-
return {
|
|
34205
|
-
status: 0,
|
|
34206
|
-
stopReason: 0,
|
|
34207
|
-
overviewSessionCount: 0,
|
|
34208
|
-
evidenceSessionCount: 0,
|
|
34209
|
-
evidencePersonCount: 0,
|
|
34210
|
-
withheldEvidenceCount: 0,
|
|
34211
|
-
truncatedEvidenceCount: 0,
|
|
34212
|
-
};
|
|
34213
|
-
}
|
|
34214
|
-
|
|
34215
|
-
export const AIProjectInsightCoverage: MessageFns<AIProjectInsightCoverage> = {
|
|
34216
|
-
encode(message: AIProjectInsightCoverage, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
34217
|
-
if (message.status !== 0) {
|
|
34218
|
-
writer.uint32(8).int32(message.status);
|
|
34219
|
-
}
|
|
34220
|
-
if (message.stopReason !== 0) {
|
|
34221
|
-
writer.uint32(16).int32(message.stopReason);
|
|
34222
|
-
}
|
|
34223
|
-
if (message.overviewSessionCount !== 0) {
|
|
34224
|
-
writer.uint32(24).uint32(message.overviewSessionCount);
|
|
34225
|
-
}
|
|
34226
|
-
if (message.evidenceSessionCount !== 0) {
|
|
34227
|
-
writer.uint32(32).uint32(message.evidenceSessionCount);
|
|
34228
|
-
}
|
|
34229
|
-
if (message.evidencePersonCount !== 0) {
|
|
34230
|
-
writer.uint32(40).uint32(message.evidencePersonCount);
|
|
34231
|
-
}
|
|
34232
|
-
if (message.withheldEvidenceCount !== 0) {
|
|
34233
|
-
writer.uint32(48).uint32(message.withheldEvidenceCount);
|
|
34234
|
-
}
|
|
34235
|
-
if (message.truncatedEvidenceCount !== 0) {
|
|
34236
|
-
writer.uint32(56).uint32(message.truncatedEvidenceCount);
|
|
34237
|
-
}
|
|
34238
|
-
return writer;
|
|
34239
|
-
},
|
|
34240
|
-
|
|
34241
|
-
decode(input: BinaryReader | Uint8Array, length?: number): AIProjectInsightCoverage {
|
|
34242
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
34243
|
-
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
34244
|
-
if (previousRecursionDepth >= 100) {
|
|
34245
|
-
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
34246
|
-
}
|
|
34247
|
-
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
34248
|
-
try {
|
|
34249
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
34250
|
-
const message = createBaseAIProjectInsightCoverage();
|
|
34251
|
-
while (reader.pos < end) {
|
|
34252
|
-
const tag = reader.uint32();
|
|
34253
|
-
switch (tag >>> 3) {
|
|
34254
|
-
case 1: {
|
|
34255
|
-
if (tag !== 8) {
|
|
34256
|
-
break;
|
|
34257
|
-
}
|
|
34258
|
-
|
|
34259
|
-
message.status = reader.int32() as any;
|
|
34260
|
-
continue;
|
|
34261
|
-
}
|
|
34262
|
-
case 2: {
|
|
34263
|
-
if (tag !== 16) {
|
|
34264
|
-
break;
|
|
34265
|
-
}
|
|
34266
|
-
|
|
34267
|
-
message.stopReason = reader.int32() as any;
|
|
34268
|
-
continue;
|
|
34269
|
-
}
|
|
34270
|
-
case 3: {
|
|
34271
|
-
if (tag !== 24) {
|
|
34272
|
-
break;
|
|
34273
|
-
}
|
|
34274
|
-
|
|
34275
|
-
message.overviewSessionCount = reader.uint32();
|
|
34276
|
-
continue;
|
|
34277
|
-
}
|
|
34278
|
-
case 4: {
|
|
34279
|
-
if (tag !== 32) {
|
|
34280
|
-
break;
|
|
34281
|
-
}
|
|
34282
|
-
|
|
34283
|
-
message.evidenceSessionCount = reader.uint32();
|
|
34284
|
-
continue;
|
|
34285
|
-
}
|
|
34286
|
-
case 5: {
|
|
34287
|
-
if (tag !== 40) {
|
|
34288
|
-
break;
|
|
34289
|
-
}
|
|
34290
|
-
|
|
34291
|
-
message.evidencePersonCount = reader.uint32();
|
|
34292
|
-
continue;
|
|
34293
|
-
}
|
|
34294
|
-
case 6: {
|
|
34295
|
-
if (tag !== 48) {
|
|
34296
|
-
break;
|
|
34297
|
-
}
|
|
34298
|
-
|
|
34299
|
-
message.withheldEvidenceCount = reader.uint32();
|
|
34300
|
-
continue;
|
|
34301
|
-
}
|
|
34302
|
-
case 7: {
|
|
34303
|
-
if (tag !== 56) {
|
|
34304
|
-
break;
|
|
34305
|
-
}
|
|
34306
|
-
|
|
34307
|
-
message.truncatedEvidenceCount = reader.uint32();
|
|
34308
|
-
continue;
|
|
34309
|
-
}
|
|
34310
|
-
}
|
|
34311
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
34312
|
-
break;
|
|
34313
|
-
}
|
|
34314
|
-
reader.skip(tag & 7);
|
|
34315
|
-
}
|
|
34316
|
-
return message;
|
|
34317
|
-
} finally {
|
|
34318
|
-
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
34319
|
-
}
|
|
34320
|
-
},
|
|
34321
|
-
|
|
34322
|
-
fromJSON(object: any): AIProjectInsightCoverage {
|
|
34323
|
-
return {
|
|
34324
|
-
status: isSet(object.status) ? aIProjectInsightCoverageStatusFromJSON(object.status) : 0,
|
|
34325
|
-
stopReason: isSet(object.stopReason)
|
|
34326
|
-
? aIProjectInsightStopReasonFromJSON(object.stopReason)
|
|
34327
|
-
: isSet(object.stop_reason)
|
|
34328
|
-
? aIProjectInsightStopReasonFromJSON(object.stop_reason)
|
|
34329
|
-
: 0,
|
|
34330
|
-
overviewSessionCount: isSet(object.overviewSessionCount)
|
|
34331
|
-
? globalThis.Number(object.overviewSessionCount)
|
|
34332
|
-
: isSet(object.overview_session_count)
|
|
34333
|
-
? globalThis.Number(object.overview_session_count)
|
|
34334
|
-
: 0,
|
|
34335
|
-
evidenceSessionCount: isSet(object.evidenceSessionCount)
|
|
34336
|
-
? globalThis.Number(object.evidenceSessionCount)
|
|
34337
|
-
: isSet(object.evidence_session_count)
|
|
34338
|
-
? globalThis.Number(object.evidence_session_count)
|
|
34339
|
-
: 0,
|
|
34340
|
-
evidencePersonCount: isSet(object.evidencePersonCount)
|
|
34341
|
-
? globalThis.Number(object.evidencePersonCount)
|
|
34342
|
-
: isSet(object.evidence_person_count)
|
|
34343
|
-
? globalThis.Number(object.evidence_person_count)
|
|
34344
|
-
: 0,
|
|
34345
|
-
withheldEvidenceCount: isSet(object.withheldEvidenceCount)
|
|
34346
|
-
? globalThis.Number(object.withheldEvidenceCount)
|
|
34347
|
-
: isSet(object.withheld_evidence_count)
|
|
34348
|
-
? globalThis.Number(object.withheld_evidence_count)
|
|
34349
|
-
: 0,
|
|
34350
|
-
truncatedEvidenceCount: isSet(object.truncatedEvidenceCount)
|
|
34351
|
-
? globalThis.Number(object.truncatedEvidenceCount)
|
|
34352
|
-
: isSet(object.truncated_evidence_count)
|
|
34353
|
-
? globalThis.Number(object.truncated_evidence_count)
|
|
34354
|
-
: 0,
|
|
34355
|
-
};
|
|
34356
|
-
},
|
|
34357
|
-
|
|
34358
|
-
toJSON(message: AIProjectInsightCoverage): unknown {
|
|
34359
|
-
const obj: any = {};
|
|
34360
|
-
if (message.status !== 0) {
|
|
34361
|
-
obj.status = aIProjectInsightCoverageStatusToJSON(message.status);
|
|
34362
|
-
}
|
|
34363
|
-
if (message.stopReason !== 0) {
|
|
34364
|
-
obj.stopReason = aIProjectInsightStopReasonToJSON(message.stopReason);
|
|
34365
|
-
}
|
|
34366
|
-
if (message.overviewSessionCount !== 0) {
|
|
34367
|
-
obj.overviewSessionCount = Math.round(message.overviewSessionCount);
|
|
34368
|
-
}
|
|
34369
|
-
if (message.evidenceSessionCount !== 0) {
|
|
34370
|
-
obj.evidenceSessionCount = Math.round(message.evidenceSessionCount);
|
|
34371
|
-
}
|
|
34372
|
-
if (message.evidencePersonCount !== 0) {
|
|
34373
|
-
obj.evidencePersonCount = Math.round(message.evidencePersonCount);
|
|
34374
|
-
}
|
|
34375
|
-
if (message.withheldEvidenceCount !== 0) {
|
|
34376
|
-
obj.withheldEvidenceCount = Math.round(message.withheldEvidenceCount);
|
|
34377
|
-
}
|
|
34378
|
-
if (message.truncatedEvidenceCount !== 0) {
|
|
34379
|
-
obj.truncatedEvidenceCount = Math.round(message.truncatedEvidenceCount);
|
|
34380
|
-
}
|
|
34381
|
-
return obj;
|
|
34382
|
-
},
|
|
34383
|
-
|
|
34384
|
-
create<I extends Exact<DeepPartial<AIProjectInsightCoverage>, I>>(base?: I): AIProjectInsightCoverage {
|
|
34385
|
-
return AIProjectInsightCoverage.fromPartial(base ?? ({} as any));
|
|
34386
|
-
},
|
|
34387
|
-
fromPartial<I extends Exact<DeepPartial<AIProjectInsightCoverage>, I>>(object: I): AIProjectInsightCoverage {
|
|
34388
|
-
const message = createBaseAIProjectInsightCoverage();
|
|
34389
|
-
message.status = object.status ?? 0;
|
|
34390
|
-
message.stopReason = object.stopReason ?? 0;
|
|
34391
|
-
message.overviewSessionCount = object.overviewSessionCount ?? 0;
|
|
34392
|
-
message.evidenceSessionCount = object.evidenceSessionCount ?? 0;
|
|
34393
|
-
message.evidencePersonCount = object.evidencePersonCount ?? 0;
|
|
34394
|
-
message.withheldEvidenceCount = object.withheldEvidenceCount ?? 0;
|
|
34395
|
-
message.truncatedEvidenceCount = object.truncatedEvidenceCount ?? 0;
|
|
34396
33809
|
return message;
|
|
34397
33810
|
},
|
|
34398
33811
|
};
|
|
@@ -35033,11 +34446,13 @@ export interface AIGatewayService {
|
|
|
35033
34446
|
*/
|
|
35034
34447
|
ListIssueSessions(request: ListIssueSessionsRequest, metadata?: Metadata): Promise<ListIssueSessionsResponse>;
|
|
35035
34448
|
/**
|
|
35036
|
-
* The project's
|
|
35037
|
-
*
|
|
35038
|
-
* count. Mirrors ai.api.v1.
|
|
34449
|
+
* The project's cards across local days, newest local day first and rank order within a day: each day's latest run,
|
|
34450
|
+
* only when it is READY, with the run context each card is labelled with. Token pages. Mirrors ai.api.v1.
|
|
35039
34451
|
*/
|
|
35040
|
-
|
|
34452
|
+
ListProjectInsightCards(
|
|
34453
|
+
request: ListProjectInsightCardsRequest,
|
|
34454
|
+
metadata?: Metadata,
|
|
34455
|
+
): Promise<ListProjectInsightCardsResponse>;
|
|
35041
34456
|
}
|
|
35042
34457
|
|
|
35043
34458
|
export const AIGatewayServiceServiceName = "gateway.web.v1.AIGatewayService";
|
|
@@ -35086,7 +34501,7 @@ export class AIGatewayServiceClientImpl implements AIGatewayService {
|
|
|
35086
34501
|
this.ListIssueCosts = this.ListIssueCosts.bind(this);
|
|
35087
34502
|
this.GetSessionIssues = this.GetSessionIssues.bind(this);
|
|
35088
34503
|
this.ListIssueSessions = this.ListIssueSessions.bind(this);
|
|
35089
|
-
this.
|
|
34504
|
+
this.ListProjectInsightCards = this.ListProjectInsightCards.bind(this);
|
|
35090
34505
|
}
|
|
35091
34506
|
ListSessions(request: ListSessionsRequest, metadata?: Metadata): Promise<ListSessionsResponse> {
|
|
35092
34507
|
const data = ListSessionsRequest.encode(request).finish();
|
|
@@ -35343,10 +34758,13 @@ export class AIGatewayServiceClientImpl implements AIGatewayService {
|
|
|
35343
34758
|
return promise.then((data) => ListIssueSessionsResponse.decode(new BinaryReader(data)));
|
|
35344
34759
|
}
|
|
35345
34760
|
|
|
35346
|
-
|
|
35347
|
-
|
|
35348
|
-
|
|
35349
|
-
|
|
34761
|
+
ListProjectInsightCards(
|
|
34762
|
+
request: ListProjectInsightCardsRequest,
|
|
34763
|
+
metadata?: Metadata,
|
|
34764
|
+
): Promise<ListProjectInsightCardsResponse> {
|
|
34765
|
+
const data = ListProjectInsightCardsRequest.encode(request).finish();
|
|
34766
|
+
const promise = this.rpc.request(this.service, "ListProjectInsightCards", data, metadata);
|
|
34767
|
+
return promise.then((data) => ListProjectInsightCardsResponse.decode(new BinaryReader(data)));
|
|
35350
34768
|
}
|
|
35351
34769
|
}
|
|
35352
34770
|
|