@miradorlabs/web-grpc 4.27.0 → 4.28.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,
|
|
@@ -4292,103 +4150,43 @@ export interface IssueSession {
|
|
|
4292
4150
|
costUsdNanos: string;
|
|
4293
4151
|
}
|
|
4294
4152
|
|
|
4295
|
-
export interface
|
|
4153
|
+
export interface ListProjectInsightCardsRequest {
|
|
4296
4154
|
organizationId: string;
|
|
4297
4155
|
projectId: string;
|
|
4298
|
-
/**
|
|
4299
|
-
|
|
4156
|
+
/** Cards per page, 1 to 50; 0 is the default, 15. Negative is a validation error. */
|
|
4157
|
+
pageSize: number;
|
|
4158
|
+
/** A prior response's next_page_token: resumes after its card's local day and rank. Empty reads the newest cards. */
|
|
4159
|
+
pageToken: string;
|
|
4300
4160
|
}
|
|
4301
4161
|
|
|
4302
|
-
export interface
|
|
4162
|
+
export interface ListProjectInsightCardsResponse {
|
|
4303
4163
|
status:
|
|
4304
4164
|
| ResponseStatus
|
|
4305
4165
|
| undefined;
|
|
4306
4166
|
/**
|
|
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.
|
|
4167
|
+
* Newest local day first, rank order within a day; empty when the project has no READY day. A page can be shorter
|
|
4168
|
+
* than page_size while next_page_token is set.
|
|
4322
4169
|
*/
|
|
4323
|
-
|
|
4170
|
+
cards: AIProjectInsightCard[];
|
|
4171
|
+
/** Empty on the last page. */
|
|
4172
|
+
nextPageToken: string;
|
|
4324
4173
|
}
|
|
4325
4174
|
|
|
4326
4175
|
/**
|
|
4327
|
-
*
|
|
4328
|
-
*
|
|
4176
|
+
* AIProjectInsightCard is one card with the run that served it: label it with its day and analysis ("Nov 3 (final)",
|
|
4177
|
+
* "Today until 14:00, analyzed 14:06").
|
|
4329
4178
|
*/
|
|
4330
|
-
export interface
|
|
4179
|
+
export interface AIProjectInsightCard {
|
|
4180
|
+
insight: AIProjectInsight | undefined;
|
|
4331
4181
|
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. */
|
|
4182
|
+
/** The day the run analyzed, YYYY-MM-DD in time_zone. */
|
|
4335
4183
|
localDate: string;
|
|
4336
4184
|
/** The IANA timezone the day is in: the organization's, or "UTC" when it had none. */
|
|
4337
4185
|
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. */
|
|
4186
|
+
/** True when the run covered the whole local day, final for that day; false while the day is still running. */
|
|
4344
4187
|
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;
|
|
4188
|
+
/** When the run analyzed the window. */
|
|
4189
|
+
analyzedAt: Date | undefined;
|
|
4392
4190
|
}
|
|
4393
4191
|
|
|
4394
4192
|
/**
|
|
@@ -33569,25 +33367,28 @@ export const IssueSession: MessageFns<IssueSession> = {
|
|
|
33569
33367
|
},
|
|
33570
33368
|
};
|
|
33571
33369
|
|
|
33572
|
-
function
|
|
33573
|
-
return { organizationId: "", projectId: "",
|
|
33370
|
+
function createBaseListProjectInsightCardsRequest(): ListProjectInsightCardsRequest {
|
|
33371
|
+
return { organizationId: "", projectId: "", pageSize: 0, pageToken: "" };
|
|
33574
33372
|
}
|
|
33575
33373
|
|
|
33576
|
-
export const
|
|
33577
|
-
encode(message:
|
|
33374
|
+
export const ListProjectInsightCardsRequest: MessageFns<ListProjectInsightCardsRequest> = {
|
|
33375
|
+
encode(message: ListProjectInsightCardsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
33578
33376
|
if (message.organizationId !== "") {
|
|
33579
33377
|
writer.uint32(10).string(message.organizationId);
|
|
33580
33378
|
}
|
|
33581
33379
|
if (message.projectId !== "") {
|
|
33582
33380
|
writer.uint32(18).string(message.projectId);
|
|
33583
33381
|
}
|
|
33584
|
-
if (message.
|
|
33585
|
-
writer.uint32(24).int32(message.
|
|
33382
|
+
if (message.pageSize !== 0) {
|
|
33383
|
+
writer.uint32(24).int32(message.pageSize);
|
|
33384
|
+
}
|
|
33385
|
+
if (message.pageToken !== "") {
|
|
33386
|
+
writer.uint32(34).string(message.pageToken);
|
|
33586
33387
|
}
|
|
33587
33388
|
return writer;
|
|
33588
33389
|
},
|
|
33589
33390
|
|
|
33590
|
-
decode(input: BinaryReader | Uint8Array, length?: number):
|
|
33391
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListProjectInsightCardsRequest {
|
|
33591
33392
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33592
33393
|
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
33593
33394
|
if (previousRecursionDepth >= 100) {
|
|
@@ -33596,7 +33397,7 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33596
33397
|
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
33597
33398
|
try {
|
|
33598
33399
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
33599
|
-
const message =
|
|
33400
|
+
const message = createBaseListProjectInsightCardsRequest();
|
|
33600
33401
|
while (reader.pos < end) {
|
|
33601
33402
|
const tag = reader.uint32();
|
|
33602
33403
|
switch (tag >>> 3) {
|
|
@@ -33621,7 +33422,15 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33621
33422
|
break;
|
|
33622
33423
|
}
|
|
33623
33424
|
|
|
33624
|
-
message.
|
|
33425
|
+
message.pageSize = reader.int32();
|
|
33426
|
+
continue;
|
|
33427
|
+
}
|
|
33428
|
+
case 4: {
|
|
33429
|
+
if (tag !== 34) {
|
|
33430
|
+
break;
|
|
33431
|
+
}
|
|
33432
|
+
|
|
33433
|
+
message.pageToken = reader.string();
|
|
33625
33434
|
continue;
|
|
33626
33435
|
}
|
|
33627
33436
|
}
|
|
@@ -33636,7 +33445,7 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33636
33445
|
}
|
|
33637
33446
|
},
|
|
33638
33447
|
|
|
33639
|
-
fromJSON(object: any):
|
|
33448
|
+
fromJSON(object: any): ListProjectInsightCardsRequest {
|
|
33640
33449
|
return {
|
|
33641
33450
|
organizationId: isSet(object.organizationId)
|
|
33642
33451
|
? globalThis.String(object.organizationId)
|
|
@@ -33648,11 +33457,20 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33648
33457
|
: isSet(object.project_id)
|
|
33649
33458
|
? globalThis.String(object.project_id)
|
|
33650
33459
|
: "",
|
|
33651
|
-
|
|
33460
|
+
pageSize: isSet(object.pageSize)
|
|
33461
|
+
? globalThis.Number(object.pageSize)
|
|
33462
|
+
: isSet(object.page_size)
|
|
33463
|
+
? globalThis.Number(object.page_size)
|
|
33464
|
+
: 0,
|
|
33465
|
+
pageToken: isSet(object.pageToken)
|
|
33466
|
+
? globalThis.String(object.pageToken)
|
|
33467
|
+
: isSet(object.page_token)
|
|
33468
|
+
? globalThis.String(object.page_token)
|
|
33469
|
+
: "",
|
|
33652
33470
|
};
|
|
33653
33471
|
},
|
|
33654
33472
|
|
|
33655
|
-
toJSON(message:
|
|
33473
|
+
toJSON(message: ListProjectInsightCardsRequest): unknown {
|
|
33656
33474
|
const obj: any = {};
|
|
33657
33475
|
if (message.organizationId !== "") {
|
|
33658
33476
|
obj.organizationId = message.organizationId;
|
|
@@ -33660,46 +33478,49 @@ export const ListProjectInsightsRequest: MessageFns<ListProjectInsightsRequest>
|
|
|
33660
33478
|
if (message.projectId !== "") {
|
|
33661
33479
|
obj.projectId = message.projectId;
|
|
33662
33480
|
}
|
|
33663
|
-
if (message.
|
|
33664
|
-
obj.
|
|
33481
|
+
if (message.pageSize !== 0) {
|
|
33482
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
33483
|
+
}
|
|
33484
|
+
if (message.pageToken !== "") {
|
|
33485
|
+
obj.pageToken = message.pageToken;
|
|
33665
33486
|
}
|
|
33666
33487
|
return obj;
|
|
33667
33488
|
},
|
|
33668
33489
|
|
|
33669
|
-
create<I extends Exact<DeepPartial<
|
|
33670
|
-
return
|
|
33490
|
+
create<I extends Exact<DeepPartial<ListProjectInsightCardsRequest>, I>>(base?: I): ListProjectInsightCardsRequest {
|
|
33491
|
+
return ListProjectInsightCardsRequest.fromPartial(base ?? ({} as any));
|
|
33671
33492
|
},
|
|
33672
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
33673
|
-
|
|
33493
|
+
fromPartial<I extends Exact<DeepPartial<ListProjectInsightCardsRequest>, I>>(
|
|
33494
|
+
object: I,
|
|
33495
|
+
): ListProjectInsightCardsRequest {
|
|
33496
|
+
const message = createBaseListProjectInsightCardsRequest();
|
|
33674
33497
|
message.organizationId = object.organizationId ?? "";
|
|
33675
33498
|
message.projectId = object.projectId ?? "";
|
|
33676
|
-
message.
|
|
33499
|
+
message.pageSize = object.pageSize ?? 0;
|
|
33500
|
+
message.pageToken = object.pageToken ?? "";
|
|
33677
33501
|
return message;
|
|
33678
33502
|
},
|
|
33679
33503
|
};
|
|
33680
33504
|
|
|
33681
|
-
function
|
|
33682
|
-
return { status: undefined,
|
|
33505
|
+
function createBaseListProjectInsightCardsResponse(): ListProjectInsightCardsResponse {
|
|
33506
|
+
return { status: undefined, cards: [], nextPageToken: "" };
|
|
33683
33507
|
}
|
|
33684
33508
|
|
|
33685
|
-
export const
|
|
33686
|
-
encode(message:
|
|
33509
|
+
export const ListProjectInsightCardsResponse: MessageFns<ListProjectInsightCardsResponse> = {
|
|
33510
|
+
encode(message: ListProjectInsightCardsResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
33687
33511
|
if (message.status !== undefined) {
|
|
33688
33512
|
ResponseStatus.encode(message.status, writer.uint32(10).fork()).join();
|
|
33689
33513
|
}
|
|
33690
|
-
|
|
33691
|
-
writer.uint32(
|
|
33514
|
+
for (const v of message.cards) {
|
|
33515
|
+
AIProjectInsightCard.encode(v!, writer.uint32(18).fork()).join();
|
|
33692
33516
|
}
|
|
33693
|
-
if (message.
|
|
33694
|
-
|
|
33695
|
-
}
|
|
33696
|
-
if (message.previous !== undefined) {
|
|
33697
|
-
AIProjectInsightRun.encode(message.previous, writer.uint32(34).fork()).join();
|
|
33517
|
+
if (message.nextPageToken !== "") {
|
|
33518
|
+
writer.uint32(26).string(message.nextPageToken);
|
|
33698
33519
|
}
|
|
33699
33520
|
return writer;
|
|
33700
33521
|
},
|
|
33701
33522
|
|
|
33702
|
-
decode(input: BinaryReader | Uint8Array, length?: number):
|
|
33523
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListProjectInsightCardsResponse {
|
|
33703
33524
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33704
33525
|
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
33705
33526
|
if (previousRecursionDepth >= 100) {
|
|
@@ -33708,7 +33529,7 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33708
33529
|
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
33709
33530
|
try {
|
|
33710
33531
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
33711
|
-
const message =
|
|
33532
|
+
const message = createBaseListProjectInsightCardsResponse();
|
|
33712
33533
|
while (reader.pos < end) {
|
|
33713
33534
|
const tag = reader.uint32();
|
|
33714
33535
|
switch (tag >>> 3) {
|
|
@@ -33721,11 +33542,11 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33721
33542
|
continue;
|
|
33722
33543
|
}
|
|
33723
33544
|
case 2: {
|
|
33724
|
-
if (tag !==
|
|
33545
|
+
if (tag !== 18) {
|
|
33725
33546
|
break;
|
|
33726
33547
|
}
|
|
33727
33548
|
|
|
33728
|
-
message.
|
|
33549
|
+
message.cards.push(AIProjectInsightCard.decode(reader, reader.uint32()));
|
|
33729
33550
|
continue;
|
|
33730
33551
|
}
|
|
33731
33552
|
case 3: {
|
|
@@ -33733,15 +33554,7 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33733
33554
|
break;
|
|
33734
33555
|
}
|
|
33735
33556
|
|
|
33736
|
-
message.
|
|
33737
|
-
continue;
|
|
33738
|
-
}
|
|
33739
|
-
case 4: {
|
|
33740
|
-
if (tag !== 34) {
|
|
33741
|
-
break;
|
|
33742
|
-
}
|
|
33743
|
-
|
|
33744
|
-
message.previous = AIProjectInsightRun.decode(reader, reader.uint32());
|
|
33557
|
+
message.nextPageToken = reader.string();
|
|
33745
33558
|
continue;
|
|
33746
33559
|
}
|
|
33747
33560
|
}
|
|
@@ -33756,80 +33569,61 @@ export const ListProjectInsightsResponse: MessageFns<ListProjectInsightsResponse
|
|
|
33756
33569
|
}
|
|
33757
33570
|
},
|
|
33758
33571
|
|
|
33759
|
-
fromJSON(object: any):
|
|
33572
|
+
fromJSON(object: any): ListProjectInsightCardsResponse {
|
|
33760
33573
|
return {
|
|
33761
33574
|
status: isSet(object.status) ? ResponseStatus.fromJSON(object.status) : undefined,
|
|
33762
|
-
|
|
33763
|
-
|
|
33764
|
-
|
|
33575
|
+
cards: globalThis.Array.isArray(object?.cards)
|
|
33576
|
+
? object.cards.map((e: any) => AIProjectInsightCard.fromJSON(e))
|
|
33577
|
+
: [],
|
|
33578
|
+
nextPageToken: isSet(object.nextPageToken)
|
|
33579
|
+
? globalThis.String(object.nextPageToken)
|
|
33580
|
+
: isSet(object.next_page_token)
|
|
33581
|
+
? globalThis.String(object.next_page_token)
|
|
33582
|
+
: "",
|
|
33765
33583
|
};
|
|
33766
33584
|
},
|
|
33767
33585
|
|
|
33768
|
-
toJSON(message:
|
|
33586
|
+
toJSON(message: ListProjectInsightCardsResponse): unknown {
|
|
33769
33587
|
const obj: any = {};
|
|
33770
33588
|
if (message.status !== undefined) {
|
|
33771
33589
|
obj.status = ResponseStatus.toJSON(message.status);
|
|
33772
33590
|
}
|
|
33773
|
-
if (message.
|
|
33774
|
-
obj.
|
|
33775
|
-
}
|
|
33776
|
-
if (message.current !== undefined) {
|
|
33777
|
-
obj.current = AIProjectInsightRun.toJSON(message.current);
|
|
33591
|
+
if (message.cards?.length) {
|
|
33592
|
+
obj.cards = message.cards.map((e) => AIProjectInsightCard.toJSON(e));
|
|
33778
33593
|
}
|
|
33779
|
-
if (message.
|
|
33780
|
-
obj.
|
|
33594
|
+
if (message.nextPageToken !== "") {
|
|
33595
|
+
obj.nextPageToken = message.nextPageToken;
|
|
33781
33596
|
}
|
|
33782
33597
|
return obj;
|
|
33783
33598
|
},
|
|
33784
33599
|
|
|
33785
|
-
create<I extends Exact<DeepPartial<
|
|
33786
|
-
return
|
|
33600
|
+
create<I extends Exact<DeepPartial<ListProjectInsightCardsResponse>, I>>(base?: I): ListProjectInsightCardsResponse {
|
|
33601
|
+
return ListProjectInsightCardsResponse.fromPartial(base ?? ({} as any));
|
|
33787
33602
|
},
|
|
33788
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
33789
|
-
|
|
33603
|
+
fromPartial<I extends Exact<DeepPartial<ListProjectInsightCardsResponse>, I>>(
|
|
33604
|
+
object: I,
|
|
33605
|
+
): ListProjectInsightCardsResponse {
|
|
33606
|
+
const message = createBaseListProjectInsightCardsResponse();
|
|
33790
33607
|
message.status = (object.status !== undefined && object.status !== null)
|
|
33791
33608
|
? ResponseStatus.fromPartial(object.status)
|
|
33792
33609
|
: 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;
|
|
33610
|
+
message.cards = object.cards?.map((e) => AIProjectInsightCard.fromPartial(e)) || [];
|
|
33611
|
+
message.nextPageToken = object.nextPageToken ?? "";
|
|
33800
33612
|
return message;
|
|
33801
33613
|
},
|
|
33802
33614
|
};
|
|
33803
33615
|
|
|
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
|
-
};
|
|
33616
|
+
function createBaseAIProjectInsightCard(): AIProjectInsightCard {
|
|
33617
|
+
return { insight: undefined, runId: "", localDate: "", timeZone: "", windowClosed: false, analyzedAt: undefined };
|
|
33824
33618
|
}
|
|
33825
33619
|
|
|
33826
|
-
export const
|
|
33827
|
-
encode(message:
|
|
33828
|
-
if (message.
|
|
33829
|
-
writer.uint32(10).
|
|
33620
|
+
export const AIProjectInsightCard: MessageFns<AIProjectInsightCard> = {
|
|
33621
|
+
encode(message: AIProjectInsightCard, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
33622
|
+
if (message.insight !== undefined) {
|
|
33623
|
+
AIProjectInsight.encode(message.insight, writer.uint32(10).fork()).join();
|
|
33830
33624
|
}
|
|
33831
|
-
if (message.
|
|
33832
|
-
writer.uint32(
|
|
33625
|
+
if (message.runId !== "") {
|
|
33626
|
+
writer.uint32(18).string(message.runId);
|
|
33833
33627
|
}
|
|
33834
33628
|
if (message.localDate !== "") {
|
|
33835
33629
|
writer.uint32(26).string(message.localDate);
|
|
@@ -33837,49 +33631,16 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33837
33631
|
if (message.timeZone !== "") {
|
|
33838
33632
|
writer.uint32(34).string(message.timeZone);
|
|
33839
33633
|
}
|
|
33840
|
-
if (message.timeZoneSet !== false) {
|
|
33841
|
-
writer.uint32(40).bool(message.timeZoneSet);
|
|
33842
|
-
}
|
|
33843
33634
|
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();
|
|
33635
|
+
writer.uint32(40).bool(message.windowClosed);
|
|
33851
33636
|
}
|
|
33852
33637
|
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);
|
|
33638
|
+
Timestamp.encode(toTimestamp(message.analyzedAt), writer.uint32(50).fork()).join();
|
|
33878
33639
|
}
|
|
33879
33640
|
return writer;
|
|
33880
33641
|
},
|
|
33881
33642
|
|
|
33882
|
-
decode(input: BinaryReader | Uint8Array, length?: number):
|
|
33643
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AIProjectInsightCard {
|
|
33883
33644
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33884
33645
|
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
33885
33646
|
if (previousRecursionDepth >= 100) {
|
|
@@ -33888,7 +33649,7 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33888
33649
|
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
33889
33650
|
try {
|
|
33890
33651
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
33891
|
-
const message =
|
|
33652
|
+
const message = createBaseAIProjectInsightCard();
|
|
33892
33653
|
while (reader.pos < end) {
|
|
33893
33654
|
const tag = reader.uint32();
|
|
33894
33655
|
switch (tag >>> 3) {
|
|
@@ -33897,15 +33658,15 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33897
33658
|
break;
|
|
33898
33659
|
}
|
|
33899
33660
|
|
|
33900
|
-
message.
|
|
33661
|
+
message.insight = AIProjectInsight.decode(reader, reader.uint32());
|
|
33901
33662
|
continue;
|
|
33902
33663
|
}
|
|
33903
33664
|
case 2: {
|
|
33904
|
-
if (tag !==
|
|
33665
|
+
if (tag !== 18) {
|
|
33905
33666
|
break;
|
|
33906
33667
|
}
|
|
33907
33668
|
|
|
33908
|
-
message.
|
|
33669
|
+
message.runId = reader.string();
|
|
33909
33670
|
continue;
|
|
33910
33671
|
}
|
|
33911
33672
|
case 3: {
|
|
@@ -33929,105 +33690,17 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
33929
33690
|
break;
|
|
33930
33691
|
}
|
|
33931
33692
|
|
|
33932
|
-
message.timeZoneSet = reader.bool();
|
|
33933
|
-
continue;
|
|
33934
|
-
}
|
|
33935
|
-
case 6: {
|
|
33936
|
-
if (tag !== 48) {
|
|
33937
|
-
break;
|
|
33938
|
-
}
|
|
33939
|
-
|
|
33940
33693
|
message.windowClosed = reader.bool();
|
|
33941
33694
|
continue;
|
|
33942
33695
|
}
|
|
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) {
|
|
33696
|
+
case 6: {
|
|
33697
|
+
if (tag !== 50) {
|
|
33961
33698
|
break;
|
|
33962
33699
|
}
|
|
33963
33700
|
|
|
33964
33701
|
message.analyzedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
33965
33702
|
continue;
|
|
33966
33703
|
}
|
|
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
33704
|
}
|
|
34032
33705
|
if ((tag & 7) === 4 || tag === 0) {
|
|
34033
33706
|
break;
|
|
@@ -34040,14 +33713,14 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
34040
33713
|
}
|
|
34041
33714
|
},
|
|
34042
33715
|
|
|
34043
|
-
fromJSON(object: any):
|
|
33716
|
+
fromJSON(object: any): AIProjectInsightCard {
|
|
34044
33717
|
return {
|
|
33718
|
+
insight: isSet(object.insight) ? AIProjectInsight.fromJSON(object.insight) : undefined,
|
|
34045
33719
|
runId: isSet(object.runId)
|
|
34046
33720
|
? globalThis.String(object.runId)
|
|
34047
33721
|
: isSet(object.run_id)
|
|
34048
33722
|
? globalThis.String(object.run_id)
|
|
34049
33723
|
: "",
|
|
34050
|
-
availability: isSet(object.availability) ? aIProjectInsightAvailabilityFromJSON(object.availability) : 0,
|
|
34051
33724
|
localDate: isSet(object.localDate)
|
|
34052
33725
|
? globalThis.String(object.localDate)
|
|
34053
33726
|
: isSet(object.local_date)
|
|
@@ -34058,341 +33731,55 @@ export const AIProjectInsightRun: MessageFns<AIProjectInsightRun> = {
|
|
|
34058
33731
|
: isSet(object.time_zone)
|
|
34059
33732
|
? globalThis.String(object.time_zone)
|
|
34060
33733
|
: "",
|
|
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
33734
|
windowClosed: isSet(object.windowClosed)
|
|
34067
33735
|
? globalThis.Boolean(object.windowClosed)
|
|
34068
33736
|
: isSet(object.window_closed)
|
|
34069
33737
|
? globalThis.Boolean(object.window_closed)
|
|
34070
33738
|
: 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
33739
|
analyzedAt: isSet(object.analyzedAt)
|
|
34082
33740
|
? fromJsonTimestamp(object.analyzedAt)
|
|
34083
33741
|
: isSet(object.analyzed_at)
|
|
34084
33742
|
? fromJsonTimestamp(object.analyzed_at)
|
|
34085
33743
|
: 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
33744
|
};
|
|
34117
33745
|
},
|
|
34118
33746
|
|
|
34119
|
-
toJSON(message:
|
|
33747
|
+
toJSON(message: AIProjectInsightCard): unknown {
|
|
34120
33748
|
const obj: any = {};
|
|
33749
|
+
if (message.insight !== undefined) {
|
|
33750
|
+
obj.insight = AIProjectInsight.toJSON(message.insight);
|
|
33751
|
+
}
|
|
34121
33752
|
if (message.runId !== "") {
|
|
34122
33753
|
obj.runId = message.runId;
|
|
34123
33754
|
}
|
|
34124
|
-
if (message.availability !== 0) {
|
|
34125
|
-
obj.availability = aIProjectInsightAvailabilityToJSON(message.availability);
|
|
34126
|
-
}
|
|
34127
33755
|
if (message.localDate !== "") {
|
|
34128
33756
|
obj.localDate = message.localDate;
|
|
34129
33757
|
}
|
|
34130
33758
|
if (message.timeZone !== "") {
|
|
34131
33759
|
obj.timeZone = message.timeZone;
|
|
34132
33760
|
}
|
|
34133
|
-
if (message.timeZoneSet !== false) {
|
|
34134
|
-
obj.timeZoneSet = message.timeZoneSet;
|
|
34135
|
-
}
|
|
34136
33761
|
if (message.windowClosed !== false) {
|
|
34137
33762
|
obj.windowClosed = message.windowClosed;
|
|
34138
33763
|
}
|
|
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
33764
|
if (message.analyzedAt !== undefined) {
|
|
34146
33765
|
obj.analyzedAt = message.analyzedAt.toISOString();
|
|
34147
33766
|
}
|
|
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
33767
|
return obj;
|
|
34173
33768
|
},
|
|
34174
33769
|
|
|
34175
|
-
create<I extends Exact<DeepPartial<
|
|
34176
|
-
return
|
|
33770
|
+
create<I extends Exact<DeepPartial<AIProjectInsightCard>, I>>(base?: I): AIProjectInsightCard {
|
|
33771
|
+
return AIProjectInsightCard.fromPartial(base ?? ({} as any));
|
|
34177
33772
|
},
|
|
34178
|
-
fromPartial<I extends Exact<DeepPartial<
|
|
34179
|
-
const message =
|
|
33773
|
+
fromPartial<I extends Exact<DeepPartial<AIProjectInsightCard>, I>>(object: I): AIProjectInsightCard {
|
|
33774
|
+
const message = createBaseAIProjectInsightCard();
|
|
33775
|
+
message.insight = (object.insight !== undefined && object.insight !== null)
|
|
33776
|
+
? AIProjectInsight.fromPartial(object.insight)
|
|
33777
|
+
: undefined;
|
|
34180
33778
|
message.runId = object.runId ?? "";
|
|
34181
|
-
message.availability = object.availability ?? 0;
|
|
34182
33779
|
message.localDate = object.localDate ?? "";
|
|
34183
33780
|
message.timeZone = object.timeZone ?? "";
|
|
34184
|
-
message.timeZoneSet = object.timeZoneSet ?? false;
|
|
34185
33781
|
message.windowClosed = object.windowClosed ?? false;
|
|
34186
|
-
message.windowStart = object.windowStart ?? undefined;
|
|
34187
|
-
message.windowEnd = object.windowEnd ?? undefined;
|
|
34188
33782
|
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
33783
|
return message;
|
|
34397
33784
|
},
|
|
34398
33785
|
};
|
|
@@ -35033,11 +34420,13 @@ export interface AIGatewayService {
|
|
|
35033
34420
|
*/
|
|
35034
34421
|
ListIssueSessions(request: ListIssueSessionsRequest, metadata?: Metadata): Promise<ListIssueSessionsResponse>;
|
|
35035
34422
|
/**
|
|
35036
|
-
* The project's
|
|
35037
|
-
*
|
|
35038
|
-
* count. Mirrors ai.api.v1.
|
|
34423
|
+
* The project's cards across local days, newest local day first and rank order within a day: each day's latest run,
|
|
34424
|
+
* only when it is READY, with the run context each card is labelled with. Token pages. Mirrors ai.api.v1.
|
|
35039
34425
|
*/
|
|
35040
|
-
|
|
34426
|
+
ListProjectInsightCards(
|
|
34427
|
+
request: ListProjectInsightCardsRequest,
|
|
34428
|
+
metadata?: Metadata,
|
|
34429
|
+
): Promise<ListProjectInsightCardsResponse>;
|
|
35041
34430
|
}
|
|
35042
34431
|
|
|
35043
34432
|
export const AIGatewayServiceServiceName = "gateway.web.v1.AIGatewayService";
|
|
@@ -35086,7 +34475,7 @@ export class AIGatewayServiceClientImpl implements AIGatewayService {
|
|
|
35086
34475
|
this.ListIssueCosts = this.ListIssueCosts.bind(this);
|
|
35087
34476
|
this.GetSessionIssues = this.GetSessionIssues.bind(this);
|
|
35088
34477
|
this.ListIssueSessions = this.ListIssueSessions.bind(this);
|
|
35089
|
-
this.
|
|
34478
|
+
this.ListProjectInsightCards = this.ListProjectInsightCards.bind(this);
|
|
35090
34479
|
}
|
|
35091
34480
|
ListSessions(request: ListSessionsRequest, metadata?: Metadata): Promise<ListSessionsResponse> {
|
|
35092
34481
|
const data = ListSessionsRequest.encode(request).finish();
|
|
@@ -35343,10 +34732,13 @@ export class AIGatewayServiceClientImpl implements AIGatewayService {
|
|
|
35343
34732
|
return promise.then((data) => ListIssueSessionsResponse.decode(new BinaryReader(data)));
|
|
35344
34733
|
}
|
|
35345
34734
|
|
|
35346
|
-
|
|
35347
|
-
|
|
35348
|
-
|
|
35349
|
-
|
|
34735
|
+
ListProjectInsightCards(
|
|
34736
|
+
request: ListProjectInsightCardsRequest,
|
|
34737
|
+
metadata?: Metadata,
|
|
34738
|
+
): Promise<ListProjectInsightCardsResponse> {
|
|
34739
|
+
const data = ListProjectInsightCardsRequest.encode(request).finish();
|
|
34740
|
+
const promise = this.rpc.request(this.service, "ListProjectInsightCards", data, metadata);
|
|
34741
|
+
return promise.then((data) => ListProjectInsightCardsResponse.decode(new BinaryReader(data)));
|
|
35350
34742
|
}
|
|
35351
34743
|
}
|
|
35352
34744
|
|