@miradorlabs/web-grpc 2.64.0 → 2.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1414,6 +1414,17 @@ export interface DailyActivityMeasures {
|
|
|
1414
1414
|
pullRequestsCreated: number;
|
|
1415
1415
|
pullRequestsMerged: number;
|
|
1416
1416
|
branchesCreated: number;
|
|
1417
|
+
/**
|
|
1418
|
+
* Subscription-facility slice of each token/cost measure (FundingMode = 'subscription' at ingest). Net
|
|
1419
|
+
* (metered) = the measure minus its slice. A row materialized before the funding-aware writer reads 0
|
|
1420
|
+
* here (Net == Notional for that day). subscription_facility_input_tokens is cache-inclusive like
|
|
1421
|
+
* input_tokens (never re-add the cache subsets).
|
|
1422
|
+
*/
|
|
1423
|
+
subscriptionFacilityInputTokens: number;
|
|
1424
|
+
subscriptionFacilityOutputTokens: number;
|
|
1425
|
+
subscriptionFacilityCacheReadTokens: number;
|
|
1426
|
+
subscriptionFacilityCacheWriteTokens: number;
|
|
1427
|
+
subscriptionFacilityUsd: number;
|
|
1417
1428
|
}
|
|
1418
1429
|
|
|
1419
1430
|
export interface ActivityRhythmRequest {
|
|
@@ -1576,6 +1587,14 @@ export interface AIFileRow {
|
|
|
1576
1587
|
sessionId: string[];
|
|
1577
1588
|
unlandedCostUsd: number;
|
|
1578
1589
|
unlandedOutputTokens: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* total_cost_usd is this file's share over ALL its edited turns (landed + unlanded);
|
|
1592
|
+
* landed = total_cost_usd - unlanded_cost_usd. subscription_* is the subscription-facility slice,
|
|
1593
|
+
* so Net = Notional - Subscription on either axis.
|
|
1594
|
+
*/
|
|
1595
|
+
totalCostUsd: number;
|
|
1596
|
+
subscriptionTotalCostUsd: number;
|
|
1597
|
+
subscriptionUnlandedCostUsd: number;
|
|
1579
1598
|
}
|
|
1580
1599
|
|
|
1581
1600
|
export interface FilesSummaryRequest {
|
|
@@ -1610,6 +1629,9 @@ export interface FileTierBucket {
|
|
|
1610
1629
|
outputTokens: number;
|
|
1611
1630
|
oldestAge: Duration | undefined;
|
|
1612
1631
|
filesUnverified: number;
|
|
1632
|
+
/** subscription-facility slice of the tier's unlanded cost (observed / inferred); Net subtracts these. */
|
|
1633
|
+
subscriptionCostUsd: number;
|
|
1634
|
+
subscriptionCostUsdUnverified: number;
|
|
1613
1635
|
}
|
|
1614
1636
|
|
|
1615
1637
|
export interface FileGroup {
|
|
@@ -10311,6 +10333,11 @@ function createBaseDailyActivityMeasures(): DailyActivityMeasures {
|
|
|
10311
10333
|
pullRequestsCreated: 0,
|
|
10312
10334
|
pullRequestsMerged: 0,
|
|
10313
10335
|
branchesCreated: 0,
|
|
10336
|
+
subscriptionFacilityInputTokens: 0,
|
|
10337
|
+
subscriptionFacilityOutputTokens: 0,
|
|
10338
|
+
subscriptionFacilityCacheReadTokens: 0,
|
|
10339
|
+
subscriptionFacilityCacheWriteTokens: 0,
|
|
10340
|
+
subscriptionFacilityUsd: 0,
|
|
10314
10341
|
};
|
|
10315
10342
|
}
|
|
10316
10343
|
|
|
@@ -10358,6 +10385,21 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10358
10385
|
if (message.branchesCreated !== 0) {
|
|
10359
10386
|
writer.uint32(112).uint64(message.branchesCreated);
|
|
10360
10387
|
}
|
|
10388
|
+
if (message.subscriptionFacilityInputTokens !== 0) {
|
|
10389
|
+
writer.uint32(120).uint64(message.subscriptionFacilityInputTokens);
|
|
10390
|
+
}
|
|
10391
|
+
if (message.subscriptionFacilityOutputTokens !== 0) {
|
|
10392
|
+
writer.uint32(128).uint64(message.subscriptionFacilityOutputTokens);
|
|
10393
|
+
}
|
|
10394
|
+
if (message.subscriptionFacilityCacheReadTokens !== 0) {
|
|
10395
|
+
writer.uint32(136).uint64(message.subscriptionFacilityCacheReadTokens);
|
|
10396
|
+
}
|
|
10397
|
+
if (message.subscriptionFacilityCacheWriteTokens !== 0) {
|
|
10398
|
+
writer.uint32(144).uint64(message.subscriptionFacilityCacheWriteTokens);
|
|
10399
|
+
}
|
|
10400
|
+
if (message.subscriptionFacilityUsd !== 0) {
|
|
10401
|
+
writer.uint32(153).double(message.subscriptionFacilityUsd);
|
|
10402
|
+
}
|
|
10361
10403
|
return writer;
|
|
10362
10404
|
},
|
|
10363
10405
|
|
|
@@ -10486,6 +10528,46 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10486
10528
|
message.branchesCreated = longToNumber(reader.uint64());
|
|
10487
10529
|
continue;
|
|
10488
10530
|
}
|
|
10531
|
+
case 15: {
|
|
10532
|
+
if (tag !== 120) {
|
|
10533
|
+
break;
|
|
10534
|
+
}
|
|
10535
|
+
|
|
10536
|
+
message.subscriptionFacilityInputTokens = longToNumber(reader.uint64());
|
|
10537
|
+
continue;
|
|
10538
|
+
}
|
|
10539
|
+
case 16: {
|
|
10540
|
+
if (tag !== 128) {
|
|
10541
|
+
break;
|
|
10542
|
+
}
|
|
10543
|
+
|
|
10544
|
+
message.subscriptionFacilityOutputTokens = longToNumber(reader.uint64());
|
|
10545
|
+
continue;
|
|
10546
|
+
}
|
|
10547
|
+
case 17: {
|
|
10548
|
+
if (tag !== 136) {
|
|
10549
|
+
break;
|
|
10550
|
+
}
|
|
10551
|
+
|
|
10552
|
+
message.subscriptionFacilityCacheReadTokens = longToNumber(reader.uint64());
|
|
10553
|
+
continue;
|
|
10554
|
+
}
|
|
10555
|
+
case 18: {
|
|
10556
|
+
if (tag !== 144) {
|
|
10557
|
+
break;
|
|
10558
|
+
}
|
|
10559
|
+
|
|
10560
|
+
message.subscriptionFacilityCacheWriteTokens = longToNumber(reader.uint64());
|
|
10561
|
+
continue;
|
|
10562
|
+
}
|
|
10563
|
+
case 19: {
|
|
10564
|
+
if (tag !== 153) {
|
|
10565
|
+
break;
|
|
10566
|
+
}
|
|
10567
|
+
|
|
10568
|
+
message.subscriptionFacilityUsd = reader.double();
|
|
10569
|
+
continue;
|
|
10570
|
+
}
|
|
10489
10571
|
}
|
|
10490
10572
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10491
10573
|
break;
|
|
@@ -10566,6 +10648,31 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10566
10648
|
: isSet(object.branches_created)
|
|
10567
10649
|
? globalThis.Number(object.branches_created)
|
|
10568
10650
|
: 0,
|
|
10651
|
+
subscriptionFacilityInputTokens: isSet(object.subscriptionFacilityInputTokens)
|
|
10652
|
+
? globalThis.Number(object.subscriptionFacilityInputTokens)
|
|
10653
|
+
: isSet(object.subscription_facility_input_tokens)
|
|
10654
|
+
? globalThis.Number(object.subscription_facility_input_tokens)
|
|
10655
|
+
: 0,
|
|
10656
|
+
subscriptionFacilityOutputTokens: isSet(object.subscriptionFacilityOutputTokens)
|
|
10657
|
+
? globalThis.Number(object.subscriptionFacilityOutputTokens)
|
|
10658
|
+
: isSet(object.subscription_facility_output_tokens)
|
|
10659
|
+
? globalThis.Number(object.subscription_facility_output_tokens)
|
|
10660
|
+
: 0,
|
|
10661
|
+
subscriptionFacilityCacheReadTokens: isSet(object.subscriptionFacilityCacheReadTokens)
|
|
10662
|
+
? globalThis.Number(object.subscriptionFacilityCacheReadTokens)
|
|
10663
|
+
: isSet(object.subscription_facility_cache_read_tokens)
|
|
10664
|
+
? globalThis.Number(object.subscription_facility_cache_read_tokens)
|
|
10665
|
+
: 0,
|
|
10666
|
+
subscriptionFacilityCacheWriteTokens: isSet(object.subscriptionFacilityCacheWriteTokens)
|
|
10667
|
+
? globalThis.Number(object.subscriptionFacilityCacheWriteTokens)
|
|
10668
|
+
: isSet(object.subscription_facility_cache_write_tokens)
|
|
10669
|
+
? globalThis.Number(object.subscription_facility_cache_write_tokens)
|
|
10670
|
+
: 0,
|
|
10671
|
+
subscriptionFacilityUsd: isSet(object.subscriptionFacilityUsd)
|
|
10672
|
+
? globalThis.Number(object.subscriptionFacilityUsd)
|
|
10673
|
+
: isSet(object.subscription_facility_usd)
|
|
10674
|
+
? globalThis.Number(object.subscription_facility_usd)
|
|
10675
|
+
: 0,
|
|
10569
10676
|
};
|
|
10570
10677
|
},
|
|
10571
10678
|
|
|
@@ -10613,6 +10720,21 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10613
10720
|
if (message.branchesCreated !== 0) {
|
|
10614
10721
|
obj.branchesCreated = Math.round(message.branchesCreated);
|
|
10615
10722
|
}
|
|
10723
|
+
if (message.subscriptionFacilityInputTokens !== 0) {
|
|
10724
|
+
obj.subscriptionFacilityInputTokens = Math.round(message.subscriptionFacilityInputTokens);
|
|
10725
|
+
}
|
|
10726
|
+
if (message.subscriptionFacilityOutputTokens !== 0) {
|
|
10727
|
+
obj.subscriptionFacilityOutputTokens = Math.round(message.subscriptionFacilityOutputTokens);
|
|
10728
|
+
}
|
|
10729
|
+
if (message.subscriptionFacilityCacheReadTokens !== 0) {
|
|
10730
|
+
obj.subscriptionFacilityCacheReadTokens = Math.round(message.subscriptionFacilityCacheReadTokens);
|
|
10731
|
+
}
|
|
10732
|
+
if (message.subscriptionFacilityCacheWriteTokens !== 0) {
|
|
10733
|
+
obj.subscriptionFacilityCacheWriteTokens = Math.round(message.subscriptionFacilityCacheWriteTokens);
|
|
10734
|
+
}
|
|
10735
|
+
if (message.subscriptionFacilityUsd !== 0) {
|
|
10736
|
+
obj.subscriptionFacilityUsd = message.subscriptionFacilityUsd;
|
|
10737
|
+
}
|
|
10616
10738
|
return obj;
|
|
10617
10739
|
},
|
|
10618
10740
|
|
|
@@ -10635,6 +10757,11 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10635
10757
|
message.pullRequestsCreated = object.pullRequestsCreated ?? 0;
|
|
10636
10758
|
message.pullRequestsMerged = object.pullRequestsMerged ?? 0;
|
|
10637
10759
|
message.branchesCreated = object.branchesCreated ?? 0;
|
|
10760
|
+
message.subscriptionFacilityInputTokens = object.subscriptionFacilityInputTokens ?? 0;
|
|
10761
|
+
message.subscriptionFacilityOutputTokens = object.subscriptionFacilityOutputTokens ?? 0;
|
|
10762
|
+
message.subscriptionFacilityCacheReadTokens = object.subscriptionFacilityCacheReadTokens ?? 0;
|
|
10763
|
+
message.subscriptionFacilityCacheWriteTokens = object.subscriptionFacilityCacheWriteTokens ?? 0;
|
|
10764
|
+
message.subscriptionFacilityUsd = object.subscriptionFacilityUsd ?? 0;
|
|
10638
10765
|
return message;
|
|
10639
10766
|
},
|
|
10640
10767
|
};
|
|
@@ -13130,6 +13257,9 @@ function createBaseAIFileRow(): AIFileRow {
|
|
|
13130
13257
|
sessionId: [],
|
|
13131
13258
|
unlandedCostUsd: 0,
|
|
13132
13259
|
unlandedOutputTokens: 0,
|
|
13260
|
+
totalCostUsd: 0,
|
|
13261
|
+
subscriptionTotalCostUsd: 0,
|
|
13262
|
+
subscriptionUnlandedCostUsd: 0,
|
|
13133
13263
|
};
|
|
13134
13264
|
}
|
|
13135
13265
|
|
|
@@ -13192,6 +13322,15 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
13192
13322
|
if (message.unlandedOutputTokens !== 0) {
|
|
13193
13323
|
writer.uint32(152).uint64(message.unlandedOutputTokens);
|
|
13194
13324
|
}
|
|
13325
|
+
if (message.totalCostUsd !== 0) {
|
|
13326
|
+
writer.uint32(161).double(message.totalCostUsd);
|
|
13327
|
+
}
|
|
13328
|
+
if (message.subscriptionTotalCostUsd !== 0) {
|
|
13329
|
+
writer.uint32(169).double(message.subscriptionTotalCostUsd);
|
|
13330
|
+
}
|
|
13331
|
+
if (message.subscriptionUnlandedCostUsd !== 0) {
|
|
13332
|
+
writer.uint32(177).double(message.subscriptionUnlandedCostUsd);
|
|
13333
|
+
}
|
|
13195
13334
|
return writer;
|
|
13196
13335
|
},
|
|
13197
13336
|
|
|
@@ -13360,6 +13499,30 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
13360
13499
|
message.unlandedOutputTokens = longToNumber(reader.uint64());
|
|
13361
13500
|
continue;
|
|
13362
13501
|
}
|
|
13502
|
+
case 20: {
|
|
13503
|
+
if (tag !== 161) {
|
|
13504
|
+
break;
|
|
13505
|
+
}
|
|
13506
|
+
|
|
13507
|
+
message.totalCostUsd = reader.double();
|
|
13508
|
+
continue;
|
|
13509
|
+
}
|
|
13510
|
+
case 21: {
|
|
13511
|
+
if (tag !== 169) {
|
|
13512
|
+
break;
|
|
13513
|
+
}
|
|
13514
|
+
|
|
13515
|
+
message.subscriptionTotalCostUsd = reader.double();
|
|
13516
|
+
continue;
|
|
13517
|
+
}
|
|
13518
|
+
case 22: {
|
|
13519
|
+
if (tag !== 177) {
|
|
13520
|
+
break;
|
|
13521
|
+
}
|
|
13522
|
+
|
|
13523
|
+
message.subscriptionUnlandedCostUsd = reader.double();
|
|
13524
|
+
continue;
|
|
13525
|
+
}
|
|
13363
13526
|
}
|
|
13364
13527
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13365
13528
|
break;
|
|
@@ -13449,6 +13612,21 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
13449
13612
|
: isSet(object.unlanded_output_tokens)
|
|
13450
13613
|
? globalThis.Number(object.unlanded_output_tokens)
|
|
13451
13614
|
: 0,
|
|
13615
|
+
totalCostUsd: isSet(object.totalCostUsd)
|
|
13616
|
+
? globalThis.Number(object.totalCostUsd)
|
|
13617
|
+
: isSet(object.total_cost_usd)
|
|
13618
|
+
? globalThis.Number(object.total_cost_usd)
|
|
13619
|
+
: 0,
|
|
13620
|
+
subscriptionTotalCostUsd: isSet(object.subscriptionTotalCostUsd)
|
|
13621
|
+
? globalThis.Number(object.subscriptionTotalCostUsd)
|
|
13622
|
+
: isSet(object.subscription_total_cost_usd)
|
|
13623
|
+
? globalThis.Number(object.subscription_total_cost_usd)
|
|
13624
|
+
: 0,
|
|
13625
|
+
subscriptionUnlandedCostUsd: isSet(object.subscriptionUnlandedCostUsd)
|
|
13626
|
+
? globalThis.Number(object.subscriptionUnlandedCostUsd)
|
|
13627
|
+
: isSet(object.subscription_unlanded_cost_usd)
|
|
13628
|
+
? globalThis.Number(object.subscription_unlanded_cost_usd)
|
|
13629
|
+
: 0,
|
|
13452
13630
|
};
|
|
13453
13631
|
},
|
|
13454
13632
|
|
|
@@ -13511,6 +13689,15 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
13511
13689
|
if (message.unlandedOutputTokens !== 0) {
|
|
13512
13690
|
obj.unlandedOutputTokens = Math.round(message.unlandedOutputTokens);
|
|
13513
13691
|
}
|
|
13692
|
+
if (message.totalCostUsd !== 0) {
|
|
13693
|
+
obj.totalCostUsd = message.totalCostUsd;
|
|
13694
|
+
}
|
|
13695
|
+
if (message.subscriptionTotalCostUsd !== 0) {
|
|
13696
|
+
obj.subscriptionTotalCostUsd = message.subscriptionTotalCostUsd;
|
|
13697
|
+
}
|
|
13698
|
+
if (message.subscriptionUnlandedCostUsd !== 0) {
|
|
13699
|
+
obj.subscriptionUnlandedCostUsd = message.subscriptionUnlandedCostUsd;
|
|
13700
|
+
}
|
|
13514
13701
|
return obj;
|
|
13515
13702
|
},
|
|
13516
13703
|
|
|
@@ -13538,6 +13725,9 @@ export const AIFileRow: MessageFns<AIFileRow> = {
|
|
|
13538
13725
|
message.sessionId = object.sessionId?.map((e) => e) || [];
|
|
13539
13726
|
message.unlandedCostUsd = object.unlandedCostUsd ?? 0;
|
|
13540
13727
|
message.unlandedOutputTokens = object.unlandedOutputTokens ?? 0;
|
|
13728
|
+
message.totalCostUsd = object.totalCostUsd ?? 0;
|
|
13729
|
+
message.subscriptionTotalCostUsd = object.subscriptionTotalCostUsd ?? 0;
|
|
13730
|
+
message.subscriptionUnlandedCostUsd = object.subscriptionUnlandedCostUsd ?? 0;
|
|
13541
13731
|
return message;
|
|
13542
13732
|
},
|
|
13543
13733
|
};
|
|
@@ -13979,6 +14169,8 @@ function createBaseFileTierBucket(): FileTierBucket {
|
|
|
13979
14169
|
outputTokens: 0,
|
|
13980
14170
|
oldestAge: undefined,
|
|
13981
14171
|
filesUnverified: 0,
|
|
14172
|
+
subscriptionCostUsd: 0,
|
|
14173
|
+
subscriptionCostUsdUnverified: 0,
|
|
13982
14174
|
};
|
|
13983
14175
|
}
|
|
13984
14176
|
|
|
@@ -14008,6 +14200,12 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
14008
14200
|
if (message.filesUnverified !== 0) {
|
|
14009
14201
|
writer.uint32(64).uint64(message.filesUnverified);
|
|
14010
14202
|
}
|
|
14203
|
+
if (message.subscriptionCostUsd !== 0) {
|
|
14204
|
+
writer.uint32(73).double(message.subscriptionCostUsd);
|
|
14205
|
+
}
|
|
14206
|
+
if (message.subscriptionCostUsdUnverified !== 0) {
|
|
14207
|
+
writer.uint32(81).double(message.subscriptionCostUsdUnverified);
|
|
14208
|
+
}
|
|
14011
14209
|
return writer;
|
|
14012
14210
|
},
|
|
14013
14211
|
|
|
@@ -14088,6 +14286,22 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
14088
14286
|
message.filesUnverified = longToNumber(reader.uint64());
|
|
14089
14287
|
continue;
|
|
14090
14288
|
}
|
|
14289
|
+
case 9: {
|
|
14290
|
+
if (tag !== 73) {
|
|
14291
|
+
break;
|
|
14292
|
+
}
|
|
14293
|
+
|
|
14294
|
+
message.subscriptionCostUsd = reader.double();
|
|
14295
|
+
continue;
|
|
14296
|
+
}
|
|
14297
|
+
case 10: {
|
|
14298
|
+
if (tag !== 81) {
|
|
14299
|
+
break;
|
|
14300
|
+
}
|
|
14301
|
+
|
|
14302
|
+
message.subscriptionCostUsdUnverified = reader.double();
|
|
14303
|
+
continue;
|
|
14304
|
+
}
|
|
14091
14305
|
}
|
|
14092
14306
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14093
14307
|
break;
|
|
@@ -14130,6 +14344,16 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
14130
14344
|
: isSet(object.files_unverified)
|
|
14131
14345
|
? globalThis.Number(object.files_unverified)
|
|
14132
14346
|
: 0,
|
|
14347
|
+
subscriptionCostUsd: isSet(object.subscriptionCostUsd)
|
|
14348
|
+
? globalThis.Number(object.subscriptionCostUsd)
|
|
14349
|
+
: isSet(object.subscription_cost_usd)
|
|
14350
|
+
? globalThis.Number(object.subscription_cost_usd)
|
|
14351
|
+
: 0,
|
|
14352
|
+
subscriptionCostUsdUnverified: isSet(object.subscriptionCostUsdUnverified)
|
|
14353
|
+
? globalThis.Number(object.subscriptionCostUsdUnverified)
|
|
14354
|
+
: isSet(object.subscription_cost_usd_unverified)
|
|
14355
|
+
? globalThis.Number(object.subscription_cost_usd_unverified)
|
|
14356
|
+
: 0,
|
|
14133
14357
|
};
|
|
14134
14358
|
},
|
|
14135
14359
|
|
|
@@ -14159,6 +14383,12 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
14159
14383
|
if (message.filesUnverified !== 0) {
|
|
14160
14384
|
obj.filesUnverified = Math.round(message.filesUnverified);
|
|
14161
14385
|
}
|
|
14386
|
+
if (message.subscriptionCostUsd !== 0) {
|
|
14387
|
+
obj.subscriptionCostUsd = message.subscriptionCostUsd;
|
|
14388
|
+
}
|
|
14389
|
+
if (message.subscriptionCostUsdUnverified !== 0) {
|
|
14390
|
+
obj.subscriptionCostUsdUnverified = message.subscriptionCostUsdUnverified;
|
|
14391
|
+
}
|
|
14162
14392
|
return obj;
|
|
14163
14393
|
},
|
|
14164
14394
|
|
|
@@ -14177,6 +14407,8 @@ export const FileTierBucket: MessageFns<FileTierBucket> = {
|
|
|
14177
14407
|
? Duration.fromPartial(object.oldestAge)
|
|
14178
14408
|
: undefined;
|
|
14179
14409
|
message.filesUnverified = object.filesUnverified ?? 0;
|
|
14410
|
+
message.subscriptionCostUsd = object.subscriptionCostUsd ?? 0;
|
|
14411
|
+
message.subscriptionCostUsdUnverified = object.subscriptionCostUsdUnverified ?? 0;
|
|
14180
14412
|
return message;
|
|
14181
14413
|
},
|
|
14182
14414
|
};
|
|
@@ -18236,7 +18236,12 @@ commits: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
|
18236
18236
|
gitPushes: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
18237
18237
|
pullRequestsCreated: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
18238
18238
|
pullRequestsMerged: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
18239
|
-
branchesCreated: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
18239
|
+
branchesCreated: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
18240
|
+
subscriptionFacilityInputTokens: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
18241
|
+
subscriptionFacilityOutputTokens: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
18242
|
+
subscriptionFacilityCacheReadTokens: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
18243
|
+
subscriptionFacilityCacheWriteTokens: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
18244
|
+
subscriptionFacilityUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0)
|
|
18240
18245
|
};
|
|
18241
18246
|
|
|
18242
18247
|
if (includeInstance) {
|
|
@@ -18329,6 +18334,26 @@ proto.gateway.web.v1.DailyActivityMeasures.deserializeBinaryFromReader = functio
|
|
|
18329
18334
|
var value = /** @type {number} */ (reader.readUint64());
|
|
18330
18335
|
msg.setBranchesCreated(value);
|
|
18331
18336
|
break;
|
|
18337
|
+
case 15:
|
|
18338
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18339
|
+
msg.setSubscriptionFacilityInputTokens(value);
|
|
18340
|
+
break;
|
|
18341
|
+
case 16:
|
|
18342
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18343
|
+
msg.setSubscriptionFacilityOutputTokens(value);
|
|
18344
|
+
break;
|
|
18345
|
+
case 17:
|
|
18346
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18347
|
+
msg.setSubscriptionFacilityCacheReadTokens(value);
|
|
18348
|
+
break;
|
|
18349
|
+
case 18:
|
|
18350
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
18351
|
+
msg.setSubscriptionFacilityCacheWriteTokens(value);
|
|
18352
|
+
break;
|
|
18353
|
+
case 19:
|
|
18354
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
18355
|
+
msg.setSubscriptionFacilityUsd(value);
|
|
18356
|
+
break;
|
|
18332
18357
|
default:
|
|
18333
18358
|
reader.skipField();
|
|
18334
18359
|
break;
|
|
@@ -18456,6 +18481,41 @@ proto.gateway.web.v1.DailyActivityMeasures.serializeBinaryToWriter = function(me
|
|
|
18456
18481
|
f
|
|
18457
18482
|
);
|
|
18458
18483
|
}
|
|
18484
|
+
f = message.getSubscriptionFacilityInputTokens();
|
|
18485
|
+
if (f !== 0) {
|
|
18486
|
+
writer.writeUint64(
|
|
18487
|
+
15,
|
|
18488
|
+
f
|
|
18489
|
+
);
|
|
18490
|
+
}
|
|
18491
|
+
f = message.getSubscriptionFacilityOutputTokens();
|
|
18492
|
+
if (f !== 0) {
|
|
18493
|
+
writer.writeUint64(
|
|
18494
|
+
16,
|
|
18495
|
+
f
|
|
18496
|
+
);
|
|
18497
|
+
}
|
|
18498
|
+
f = message.getSubscriptionFacilityCacheReadTokens();
|
|
18499
|
+
if (f !== 0) {
|
|
18500
|
+
writer.writeUint64(
|
|
18501
|
+
17,
|
|
18502
|
+
f
|
|
18503
|
+
);
|
|
18504
|
+
}
|
|
18505
|
+
f = message.getSubscriptionFacilityCacheWriteTokens();
|
|
18506
|
+
if (f !== 0) {
|
|
18507
|
+
writer.writeUint64(
|
|
18508
|
+
18,
|
|
18509
|
+
f
|
|
18510
|
+
);
|
|
18511
|
+
}
|
|
18512
|
+
f = message.getSubscriptionFacilityUsd();
|
|
18513
|
+
if (f !== 0.0) {
|
|
18514
|
+
writer.writeDouble(
|
|
18515
|
+
19,
|
|
18516
|
+
f
|
|
18517
|
+
);
|
|
18518
|
+
}
|
|
18459
18519
|
};
|
|
18460
18520
|
|
|
18461
18521
|
|
|
@@ -18711,6 +18771,96 @@ proto.gateway.web.v1.DailyActivityMeasures.prototype.setBranchesCreated = functi
|
|
|
18711
18771
|
};
|
|
18712
18772
|
|
|
18713
18773
|
|
|
18774
|
+
/**
|
|
18775
|
+
* optional uint64 subscription_facility_input_tokens = 15;
|
|
18776
|
+
* @return {number}
|
|
18777
|
+
*/
|
|
18778
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.getSubscriptionFacilityInputTokens = function() {
|
|
18779
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
18780
|
+
};
|
|
18781
|
+
|
|
18782
|
+
|
|
18783
|
+
/**
|
|
18784
|
+
* @param {number} value
|
|
18785
|
+
* @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
|
|
18786
|
+
*/
|
|
18787
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.setSubscriptionFacilityInputTokens = function(value) {
|
|
18788
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
18789
|
+
};
|
|
18790
|
+
|
|
18791
|
+
|
|
18792
|
+
/**
|
|
18793
|
+
* optional uint64 subscription_facility_output_tokens = 16;
|
|
18794
|
+
* @return {number}
|
|
18795
|
+
*/
|
|
18796
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.getSubscriptionFacilityOutputTokens = function() {
|
|
18797
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
18798
|
+
};
|
|
18799
|
+
|
|
18800
|
+
|
|
18801
|
+
/**
|
|
18802
|
+
* @param {number} value
|
|
18803
|
+
* @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
|
|
18804
|
+
*/
|
|
18805
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.setSubscriptionFacilityOutputTokens = function(value) {
|
|
18806
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
18807
|
+
};
|
|
18808
|
+
|
|
18809
|
+
|
|
18810
|
+
/**
|
|
18811
|
+
* optional uint64 subscription_facility_cache_read_tokens = 17;
|
|
18812
|
+
* @return {number}
|
|
18813
|
+
*/
|
|
18814
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.getSubscriptionFacilityCacheReadTokens = function() {
|
|
18815
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
18816
|
+
};
|
|
18817
|
+
|
|
18818
|
+
|
|
18819
|
+
/**
|
|
18820
|
+
* @param {number} value
|
|
18821
|
+
* @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
|
|
18822
|
+
*/
|
|
18823
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.setSubscriptionFacilityCacheReadTokens = function(value) {
|
|
18824
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
18825
|
+
};
|
|
18826
|
+
|
|
18827
|
+
|
|
18828
|
+
/**
|
|
18829
|
+
* optional uint64 subscription_facility_cache_write_tokens = 18;
|
|
18830
|
+
* @return {number}
|
|
18831
|
+
*/
|
|
18832
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.getSubscriptionFacilityCacheWriteTokens = function() {
|
|
18833
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
18834
|
+
};
|
|
18835
|
+
|
|
18836
|
+
|
|
18837
|
+
/**
|
|
18838
|
+
* @param {number} value
|
|
18839
|
+
* @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
|
|
18840
|
+
*/
|
|
18841
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.setSubscriptionFacilityCacheWriteTokens = function(value) {
|
|
18842
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
18843
|
+
};
|
|
18844
|
+
|
|
18845
|
+
|
|
18846
|
+
/**
|
|
18847
|
+
* optional double subscription_facility_usd = 19;
|
|
18848
|
+
* @return {number}
|
|
18849
|
+
*/
|
|
18850
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.getSubscriptionFacilityUsd = function() {
|
|
18851
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
|
|
18852
|
+
};
|
|
18853
|
+
|
|
18854
|
+
|
|
18855
|
+
/**
|
|
18856
|
+
* @param {number} value
|
|
18857
|
+
* @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
|
|
18858
|
+
*/
|
|
18859
|
+
proto.gateway.web.v1.DailyActivityMeasures.prototype.setSubscriptionFacilityUsd = function(value) {
|
|
18860
|
+
return jspb.Message.setProto3FloatField(this, 19, value);
|
|
18861
|
+
};
|
|
18862
|
+
|
|
18863
|
+
|
|
18714
18864
|
|
|
18715
18865
|
|
|
18716
18866
|
|
|
@@ -23436,7 +23586,10 @@ discardReason: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
23436
23586
|
editCount: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
23437
23587
|
sessionIdList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
23438
23588
|
unlandedCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
|
23439
|
-
unlandedOutputTokens: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
|
23589
|
+
unlandedOutputTokens: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
23590
|
+
totalCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
|
|
23591
|
+
subscriptionTotalCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
|
|
23592
|
+
subscriptionUnlandedCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0)
|
|
23440
23593
|
};
|
|
23441
23594
|
|
|
23442
23595
|
if (includeInstance) {
|
|
@@ -23555,6 +23708,18 @@ proto.gateway.web.v1.AIFileRow.deserializeBinaryFromReader = function(msg, reade
|
|
|
23555
23708
|
var value = /** @type {number} */ (reader.readUint64());
|
|
23556
23709
|
msg.setUnlandedOutputTokens(value);
|
|
23557
23710
|
break;
|
|
23711
|
+
case 20:
|
|
23712
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23713
|
+
msg.setTotalCostUsd(value);
|
|
23714
|
+
break;
|
|
23715
|
+
case 21:
|
|
23716
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23717
|
+
msg.setSubscriptionTotalCostUsd(value);
|
|
23718
|
+
break;
|
|
23719
|
+
case 22:
|
|
23720
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23721
|
+
msg.setSubscriptionUnlandedCostUsd(value);
|
|
23722
|
+
break;
|
|
23558
23723
|
default:
|
|
23559
23724
|
reader.skipField();
|
|
23560
23725
|
break;
|
|
@@ -23723,6 +23888,27 @@ proto.gateway.web.v1.AIFileRow.serializeBinaryToWriter = function(message, write
|
|
|
23723
23888
|
f
|
|
23724
23889
|
);
|
|
23725
23890
|
}
|
|
23891
|
+
f = message.getTotalCostUsd();
|
|
23892
|
+
if (f !== 0.0) {
|
|
23893
|
+
writer.writeDouble(
|
|
23894
|
+
20,
|
|
23895
|
+
f
|
|
23896
|
+
);
|
|
23897
|
+
}
|
|
23898
|
+
f = message.getSubscriptionTotalCostUsd();
|
|
23899
|
+
if (f !== 0.0) {
|
|
23900
|
+
writer.writeDouble(
|
|
23901
|
+
21,
|
|
23902
|
+
f
|
|
23903
|
+
);
|
|
23904
|
+
}
|
|
23905
|
+
f = message.getSubscriptionUnlandedCostUsd();
|
|
23906
|
+
if (f !== 0.0) {
|
|
23907
|
+
writer.writeDouble(
|
|
23908
|
+
22,
|
|
23909
|
+
f
|
|
23910
|
+
);
|
|
23911
|
+
}
|
|
23726
23912
|
};
|
|
23727
23913
|
|
|
23728
23914
|
|
|
@@ -24201,6 +24387,60 @@ proto.gateway.web.v1.AIFileRow.prototype.setUnlandedOutputTokens = function(valu
|
|
|
24201
24387
|
};
|
|
24202
24388
|
|
|
24203
24389
|
|
|
24390
|
+
/**
|
|
24391
|
+
* optional double total_cost_usd = 20;
|
|
24392
|
+
* @return {number}
|
|
24393
|
+
*/
|
|
24394
|
+
proto.gateway.web.v1.AIFileRow.prototype.getTotalCostUsd = function() {
|
|
24395
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0));
|
|
24396
|
+
};
|
|
24397
|
+
|
|
24398
|
+
|
|
24399
|
+
/**
|
|
24400
|
+
* @param {number} value
|
|
24401
|
+
* @return {!proto.gateway.web.v1.AIFileRow} returns this
|
|
24402
|
+
*/
|
|
24403
|
+
proto.gateway.web.v1.AIFileRow.prototype.setTotalCostUsd = function(value) {
|
|
24404
|
+
return jspb.Message.setProto3FloatField(this, 20, value);
|
|
24405
|
+
};
|
|
24406
|
+
|
|
24407
|
+
|
|
24408
|
+
/**
|
|
24409
|
+
* optional double subscription_total_cost_usd = 21;
|
|
24410
|
+
* @return {number}
|
|
24411
|
+
*/
|
|
24412
|
+
proto.gateway.web.v1.AIFileRow.prototype.getSubscriptionTotalCostUsd = function() {
|
|
24413
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0));
|
|
24414
|
+
};
|
|
24415
|
+
|
|
24416
|
+
|
|
24417
|
+
/**
|
|
24418
|
+
* @param {number} value
|
|
24419
|
+
* @return {!proto.gateway.web.v1.AIFileRow} returns this
|
|
24420
|
+
*/
|
|
24421
|
+
proto.gateway.web.v1.AIFileRow.prototype.setSubscriptionTotalCostUsd = function(value) {
|
|
24422
|
+
return jspb.Message.setProto3FloatField(this, 21, value);
|
|
24423
|
+
};
|
|
24424
|
+
|
|
24425
|
+
|
|
24426
|
+
/**
|
|
24427
|
+
* optional double subscription_unlanded_cost_usd = 22;
|
|
24428
|
+
* @return {number}
|
|
24429
|
+
*/
|
|
24430
|
+
proto.gateway.web.v1.AIFileRow.prototype.getSubscriptionUnlandedCostUsd = function() {
|
|
24431
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 22, 0.0));
|
|
24432
|
+
};
|
|
24433
|
+
|
|
24434
|
+
|
|
24435
|
+
/**
|
|
24436
|
+
* @param {number} value
|
|
24437
|
+
* @return {!proto.gateway.web.v1.AIFileRow} returns this
|
|
24438
|
+
*/
|
|
24439
|
+
proto.gateway.web.v1.AIFileRow.prototype.setSubscriptionUnlandedCostUsd = function(value) {
|
|
24440
|
+
return jspb.Message.setProto3FloatField(this, 22, value);
|
|
24441
|
+
};
|
|
24442
|
+
|
|
24443
|
+
|
|
24204
24444
|
|
|
24205
24445
|
|
|
24206
24446
|
|
|
@@ -25179,7 +25419,9 @@ costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
|
25179
25419
|
costUsdUnverified: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
25180
25420
|
outputTokens: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
25181
25421
|
oldestAge: (f = msg.getOldestAge()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
|
|
25182
|
-
filesUnverified: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
25422
|
+
filesUnverified: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
25423
|
+
subscriptionCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
25424
|
+
subscriptionCostUsdUnverified: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0)
|
|
25183
25425
|
};
|
|
25184
25426
|
|
|
25185
25427
|
if (includeInstance) {
|
|
@@ -25249,6 +25491,14 @@ proto.gateway.web.v1.FileTierBucket.deserializeBinaryFromReader = function(msg,
|
|
|
25249
25491
|
var value = /** @type {number} */ (reader.readUint64());
|
|
25250
25492
|
msg.setFilesUnverified(value);
|
|
25251
25493
|
break;
|
|
25494
|
+
case 9:
|
|
25495
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
25496
|
+
msg.setSubscriptionCostUsd(value);
|
|
25497
|
+
break;
|
|
25498
|
+
case 10:
|
|
25499
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
25500
|
+
msg.setSubscriptionCostUsdUnverified(value);
|
|
25501
|
+
break;
|
|
25252
25502
|
default:
|
|
25253
25503
|
reader.skipField();
|
|
25254
25504
|
break;
|
|
@@ -25335,6 +25585,20 @@ proto.gateway.web.v1.FileTierBucket.serializeBinaryToWriter = function(message,
|
|
|
25335
25585
|
f
|
|
25336
25586
|
);
|
|
25337
25587
|
}
|
|
25588
|
+
f = message.getSubscriptionCostUsd();
|
|
25589
|
+
if (f !== 0.0) {
|
|
25590
|
+
writer.writeDouble(
|
|
25591
|
+
9,
|
|
25592
|
+
f
|
|
25593
|
+
);
|
|
25594
|
+
}
|
|
25595
|
+
f = message.getSubscriptionCostUsdUnverified();
|
|
25596
|
+
if (f !== 0.0) {
|
|
25597
|
+
writer.writeDouble(
|
|
25598
|
+
10,
|
|
25599
|
+
f
|
|
25600
|
+
);
|
|
25601
|
+
}
|
|
25338
25602
|
};
|
|
25339
25603
|
|
|
25340
25604
|
|
|
@@ -25501,6 +25765,42 @@ proto.gateway.web.v1.FileTierBucket.prototype.setFilesUnverified = function(valu
|
|
|
25501
25765
|
};
|
|
25502
25766
|
|
|
25503
25767
|
|
|
25768
|
+
/**
|
|
25769
|
+
* optional double subscription_cost_usd = 9;
|
|
25770
|
+
* @return {number}
|
|
25771
|
+
*/
|
|
25772
|
+
proto.gateway.web.v1.FileTierBucket.prototype.getSubscriptionCostUsd = function() {
|
|
25773
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
25774
|
+
};
|
|
25775
|
+
|
|
25776
|
+
|
|
25777
|
+
/**
|
|
25778
|
+
* @param {number} value
|
|
25779
|
+
* @return {!proto.gateway.web.v1.FileTierBucket} returns this
|
|
25780
|
+
*/
|
|
25781
|
+
proto.gateway.web.v1.FileTierBucket.prototype.setSubscriptionCostUsd = function(value) {
|
|
25782
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
25783
|
+
};
|
|
25784
|
+
|
|
25785
|
+
|
|
25786
|
+
/**
|
|
25787
|
+
* optional double subscription_cost_usd_unverified = 10;
|
|
25788
|
+
* @return {number}
|
|
25789
|
+
*/
|
|
25790
|
+
proto.gateway.web.v1.FileTierBucket.prototype.getSubscriptionCostUsdUnverified = function() {
|
|
25791
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
25792
|
+
};
|
|
25793
|
+
|
|
25794
|
+
|
|
25795
|
+
/**
|
|
25796
|
+
* @param {number} value
|
|
25797
|
+
* @return {!proto.gateway.web.v1.FileTierBucket} returns this
|
|
25798
|
+
*/
|
|
25799
|
+
proto.gateway.web.v1.FileTierBucket.prototype.setSubscriptionCostUsdUnverified = function(value) {
|
|
25800
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
25801
|
+
};
|
|
25802
|
+
|
|
25803
|
+
|
|
25504
25804
|
|
|
25505
25805
|
|
|
25506
25806
|
|