@miradorlabs/web-grpc 2.63.0 → 2.65.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
|
@@ -1067,7 +1067,11 @@ export interface SessionTimelinePoint {
|
|
|
1067
1067
|
provider: string;
|
|
1068
1068
|
finishReason: string;
|
|
1069
1069
|
durationMs?: number | undefined;
|
|
1070
|
-
usage:
|
|
1070
|
+
usage:
|
|
1071
|
+
| AITokenUsage
|
|
1072
|
+
| undefined;
|
|
1073
|
+
/** Funding facility observed on this event (lens, not reconciled) so the timeline can tint by facility. */
|
|
1074
|
+
fundingMode: AIFundingMode;
|
|
1071
1075
|
}
|
|
1072
1076
|
|
|
1073
1077
|
export interface ListPrincipalsRequest {
|
|
@@ -1338,13 +1342,28 @@ export interface BurnRateSparkPoint {
|
|
|
1338
1342
|
rate: BurnRateMeasures | undefined;
|
|
1339
1343
|
}
|
|
1340
1344
|
|
|
1341
|
-
/**
|
|
1345
|
+
/**
|
|
1346
|
+
* BurnRateMeasures — usd_per_hour = bucket cost x 60 (NOTIONAL, gross list price); tokens_per_min =
|
|
1347
|
+
* cache-inclusive input + output. subscription_facility_usd_per_hour is the slice observed on the
|
|
1348
|
+
* subscription funding facility at ingest (a LENS, like AIFacilityCostBreakdown.subscription_facility_usd —
|
|
1349
|
+
* NOT reconciled subsidised dollars; the "_facility_" is load-bearing). The burn card may present
|
|
1350
|
+
* usd_per_hour minus this as a metered-view rate, but that is a display lens, not settled billing.
|
|
1351
|
+
*/
|
|
1342
1352
|
export interface BurnRateMeasures {
|
|
1343
1353
|
usdPerHour: number;
|
|
1344
1354
|
tokensPerMin: number;
|
|
1345
1355
|
modelCalls: number;
|
|
1346
1356
|
costUnavailableCount: number;
|
|
1347
1357
|
usageUnavailableCount: number;
|
|
1358
|
+
subscriptionFacilityUsdPerHour: number;
|
|
1359
|
+
/**
|
|
1360
|
+
* Per-minute token rate by kind, so the burn card watches each tick live. tokens_per_min stays the
|
|
1361
|
+
* cache-inclusive input + output headline; input already includes cache_read (these are the raw columns).
|
|
1362
|
+
*/
|
|
1363
|
+
inputTokensPerMin: number;
|
|
1364
|
+
outputTokensPerMin: number;
|
|
1365
|
+
cacheReadTokensPerMin: number;
|
|
1366
|
+
cacheWriteTokensPerMin: number;
|
|
1348
1367
|
}
|
|
1349
1368
|
|
|
1350
1369
|
export interface DailyActivityRequest {
|
|
@@ -1395,6 +1414,17 @@ export interface DailyActivityMeasures {
|
|
|
1395
1414
|
pullRequestsCreated: number;
|
|
1396
1415
|
pullRequestsMerged: number;
|
|
1397
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;
|
|
1398
1428
|
}
|
|
1399
1429
|
|
|
1400
1430
|
export interface ActivityRhythmRequest {
|
|
@@ -5436,6 +5466,7 @@ function createBaseSessionTimelinePoint(): SessionTimelinePoint {
|
|
|
5436
5466
|
finishReason: "",
|
|
5437
5467
|
durationMs: undefined,
|
|
5438
5468
|
usage: undefined,
|
|
5469
|
+
fundingMode: 0,
|
|
5439
5470
|
};
|
|
5440
5471
|
}
|
|
5441
5472
|
|
|
@@ -5468,6 +5499,9 @@ export const SessionTimelinePoint: MessageFns<SessionTimelinePoint> = {
|
|
|
5468
5499
|
if (message.usage !== undefined) {
|
|
5469
5500
|
AITokenUsage.encode(message.usage, writer.uint32(74).fork()).join();
|
|
5470
5501
|
}
|
|
5502
|
+
if (message.fundingMode !== 0) {
|
|
5503
|
+
writer.uint32(80).int32(message.fundingMode);
|
|
5504
|
+
}
|
|
5471
5505
|
return writer;
|
|
5472
5506
|
},
|
|
5473
5507
|
|
|
@@ -5556,6 +5590,14 @@ export const SessionTimelinePoint: MessageFns<SessionTimelinePoint> = {
|
|
|
5556
5590
|
message.usage = AITokenUsage.decode(reader, reader.uint32());
|
|
5557
5591
|
continue;
|
|
5558
5592
|
}
|
|
5593
|
+
case 10: {
|
|
5594
|
+
if (tag !== 80) {
|
|
5595
|
+
break;
|
|
5596
|
+
}
|
|
5597
|
+
|
|
5598
|
+
message.fundingMode = reader.int32() as any;
|
|
5599
|
+
continue;
|
|
5600
|
+
}
|
|
5559
5601
|
}
|
|
5560
5602
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5561
5603
|
break;
|
|
@@ -5595,6 +5637,11 @@ export const SessionTimelinePoint: MessageFns<SessionTimelinePoint> = {
|
|
|
5595
5637
|
? globalThis.Number(object.duration_ms)
|
|
5596
5638
|
: undefined,
|
|
5597
5639
|
usage: isSet(object.usage) ? AITokenUsage.fromJSON(object.usage) : undefined,
|
|
5640
|
+
fundingMode: isSet(object.fundingMode)
|
|
5641
|
+
? aIFundingModeFromJSON(object.fundingMode)
|
|
5642
|
+
: isSet(object.funding_mode)
|
|
5643
|
+
? aIFundingModeFromJSON(object.funding_mode)
|
|
5644
|
+
: 0,
|
|
5598
5645
|
};
|
|
5599
5646
|
},
|
|
5600
5647
|
|
|
@@ -5627,6 +5674,9 @@ export const SessionTimelinePoint: MessageFns<SessionTimelinePoint> = {
|
|
|
5627
5674
|
if (message.usage !== undefined) {
|
|
5628
5675
|
obj.usage = AITokenUsage.toJSON(message.usage);
|
|
5629
5676
|
}
|
|
5677
|
+
if (message.fundingMode !== 0) {
|
|
5678
|
+
obj.fundingMode = aIFundingModeToJSON(message.fundingMode);
|
|
5679
|
+
}
|
|
5630
5680
|
return obj;
|
|
5631
5681
|
},
|
|
5632
5682
|
|
|
@@ -5646,6 +5696,7 @@ export const SessionTimelinePoint: MessageFns<SessionTimelinePoint> = {
|
|
|
5646
5696
|
message.usage = (object.usage !== undefined && object.usage !== null)
|
|
5647
5697
|
? AITokenUsage.fromPartial(object.usage)
|
|
5648
5698
|
: undefined;
|
|
5699
|
+
message.fundingMode = object.fundingMode ?? 0;
|
|
5649
5700
|
return message;
|
|
5650
5701
|
},
|
|
5651
5702
|
};
|
|
@@ -9591,7 +9642,18 @@ export const BurnRateSparkPoint: MessageFns<BurnRateSparkPoint> = {
|
|
|
9591
9642
|
};
|
|
9592
9643
|
|
|
9593
9644
|
function createBaseBurnRateMeasures(): BurnRateMeasures {
|
|
9594
|
-
return {
|
|
9645
|
+
return {
|
|
9646
|
+
usdPerHour: 0,
|
|
9647
|
+
tokensPerMin: 0,
|
|
9648
|
+
modelCalls: 0,
|
|
9649
|
+
costUnavailableCount: 0,
|
|
9650
|
+
usageUnavailableCount: 0,
|
|
9651
|
+
subscriptionFacilityUsdPerHour: 0,
|
|
9652
|
+
inputTokensPerMin: 0,
|
|
9653
|
+
outputTokensPerMin: 0,
|
|
9654
|
+
cacheReadTokensPerMin: 0,
|
|
9655
|
+
cacheWriteTokensPerMin: 0,
|
|
9656
|
+
};
|
|
9595
9657
|
}
|
|
9596
9658
|
|
|
9597
9659
|
export const BurnRateMeasures: MessageFns<BurnRateMeasures> = {
|
|
@@ -9611,6 +9673,21 @@ export const BurnRateMeasures: MessageFns<BurnRateMeasures> = {
|
|
|
9611
9673
|
if (message.usageUnavailableCount !== 0) {
|
|
9612
9674
|
writer.uint32(40).uint64(message.usageUnavailableCount);
|
|
9613
9675
|
}
|
|
9676
|
+
if (message.subscriptionFacilityUsdPerHour !== 0) {
|
|
9677
|
+
writer.uint32(49).double(message.subscriptionFacilityUsdPerHour);
|
|
9678
|
+
}
|
|
9679
|
+
if (message.inputTokensPerMin !== 0) {
|
|
9680
|
+
writer.uint32(57).double(message.inputTokensPerMin);
|
|
9681
|
+
}
|
|
9682
|
+
if (message.outputTokensPerMin !== 0) {
|
|
9683
|
+
writer.uint32(65).double(message.outputTokensPerMin);
|
|
9684
|
+
}
|
|
9685
|
+
if (message.cacheReadTokensPerMin !== 0) {
|
|
9686
|
+
writer.uint32(73).double(message.cacheReadTokensPerMin);
|
|
9687
|
+
}
|
|
9688
|
+
if (message.cacheWriteTokensPerMin !== 0) {
|
|
9689
|
+
writer.uint32(81).double(message.cacheWriteTokensPerMin);
|
|
9690
|
+
}
|
|
9614
9691
|
return writer;
|
|
9615
9692
|
},
|
|
9616
9693
|
|
|
@@ -9667,6 +9744,46 @@ export const BurnRateMeasures: MessageFns<BurnRateMeasures> = {
|
|
|
9667
9744
|
message.usageUnavailableCount = longToNumber(reader.uint64());
|
|
9668
9745
|
continue;
|
|
9669
9746
|
}
|
|
9747
|
+
case 6: {
|
|
9748
|
+
if (tag !== 49) {
|
|
9749
|
+
break;
|
|
9750
|
+
}
|
|
9751
|
+
|
|
9752
|
+
message.subscriptionFacilityUsdPerHour = reader.double();
|
|
9753
|
+
continue;
|
|
9754
|
+
}
|
|
9755
|
+
case 7: {
|
|
9756
|
+
if (tag !== 57) {
|
|
9757
|
+
break;
|
|
9758
|
+
}
|
|
9759
|
+
|
|
9760
|
+
message.inputTokensPerMin = reader.double();
|
|
9761
|
+
continue;
|
|
9762
|
+
}
|
|
9763
|
+
case 8: {
|
|
9764
|
+
if (tag !== 65) {
|
|
9765
|
+
break;
|
|
9766
|
+
}
|
|
9767
|
+
|
|
9768
|
+
message.outputTokensPerMin = reader.double();
|
|
9769
|
+
continue;
|
|
9770
|
+
}
|
|
9771
|
+
case 9: {
|
|
9772
|
+
if (tag !== 73) {
|
|
9773
|
+
break;
|
|
9774
|
+
}
|
|
9775
|
+
|
|
9776
|
+
message.cacheReadTokensPerMin = reader.double();
|
|
9777
|
+
continue;
|
|
9778
|
+
}
|
|
9779
|
+
case 10: {
|
|
9780
|
+
if (tag !== 81) {
|
|
9781
|
+
break;
|
|
9782
|
+
}
|
|
9783
|
+
|
|
9784
|
+
message.cacheWriteTokensPerMin = reader.double();
|
|
9785
|
+
continue;
|
|
9786
|
+
}
|
|
9670
9787
|
}
|
|
9671
9788
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9672
9789
|
break;
|
|
@@ -9706,6 +9823,31 @@ export const BurnRateMeasures: MessageFns<BurnRateMeasures> = {
|
|
|
9706
9823
|
: isSet(object.usage_unavailable_count)
|
|
9707
9824
|
? globalThis.Number(object.usage_unavailable_count)
|
|
9708
9825
|
: 0,
|
|
9826
|
+
subscriptionFacilityUsdPerHour: isSet(object.subscriptionFacilityUsdPerHour)
|
|
9827
|
+
? globalThis.Number(object.subscriptionFacilityUsdPerHour)
|
|
9828
|
+
: isSet(object.subscription_facility_usd_per_hour)
|
|
9829
|
+
? globalThis.Number(object.subscription_facility_usd_per_hour)
|
|
9830
|
+
: 0,
|
|
9831
|
+
inputTokensPerMin: isSet(object.inputTokensPerMin)
|
|
9832
|
+
? globalThis.Number(object.inputTokensPerMin)
|
|
9833
|
+
: isSet(object.input_tokens_per_min)
|
|
9834
|
+
? globalThis.Number(object.input_tokens_per_min)
|
|
9835
|
+
: 0,
|
|
9836
|
+
outputTokensPerMin: isSet(object.outputTokensPerMin)
|
|
9837
|
+
? globalThis.Number(object.outputTokensPerMin)
|
|
9838
|
+
: isSet(object.output_tokens_per_min)
|
|
9839
|
+
? globalThis.Number(object.output_tokens_per_min)
|
|
9840
|
+
: 0,
|
|
9841
|
+
cacheReadTokensPerMin: isSet(object.cacheReadTokensPerMin)
|
|
9842
|
+
? globalThis.Number(object.cacheReadTokensPerMin)
|
|
9843
|
+
: isSet(object.cache_read_tokens_per_min)
|
|
9844
|
+
? globalThis.Number(object.cache_read_tokens_per_min)
|
|
9845
|
+
: 0,
|
|
9846
|
+
cacheWriteTokensPerMin: isSet(object.cacheWriteTokensPerMin)
|
|
9847
|
+
? globalThis.Number(object.cacheWriteTokensPerMin)
|
|
9848
|
+
: isSet(object.cache_write_tokens_per_min)
|
|
9849
|
+
? globalThis.Number(object.cache_write_tokens_per_min)
|
|
9850
|
+
: 0,
|
|
9709
9851
|
};
|
|
9710
9852
|
},
|
|
9711
9853
|
|
|
@@ -9726,6 +9868,21 @@ export const BurnRateMeasures: MessageFns<BurnRateMeasures> = {
|
|
|
9726
9868
|
if (message.usageUnavailableCount !== 0) {
|
|
9727
9869
|
obj.usageUnavailableCount = Math.round(message.usageUnavailableCount);
|
|
9728
9870
|
}
|
|
9871
|
+
if (message.subscriptionFacilityUsdPerHour !== 0) {
|
|
9872
|
+
obj.subscriptionFacilityUsdPerHour = message.subscriptionFacilityUsdPerHour;
|
|
9873
|
+
}
|
|
9874
|
+
if (message.inputTokensPerMin !== 0) {
|
|
9875
|
+
obj.inputTokensPerMin = message.inputTokensPerMin;
|
|
9876
|
+
}
|
|
9877
|
+
if (message.outputTokensPerMin !== 0) {
|
|
9878
|
+
obj.outputTokensPerMin = message.outputTokensPerMin;
|
|
9879
|
+
}
|
|
9880
|
+
if (message.cacheReadTokensPerMin !== 0) {
|
|
9881
|
+
obj.cacheReadTokensPerMin = message.cacheReadTokensPerMin;
|
|
9882
|
+
}
|
|
9883
|
+
if (message.cacheWriteTokensPerMin !== 0) {
|
|
9884
|
+
obj.cacheWriteTokensPerMin = message.cacheWriteTokensPerMin;
|
|
9885
|
+
}
|
|
9729
9886
|
return obj;
|
|
9730
9887
|
},
|
|
9731
9888
|
|
|
@@ -9739,6 +9896,11 @@ export const BurnRateMeasures: MessageFns<BurnRateMeasures> = {
|
|
|
9739
9896
|
message.modelCalls = object.modelCalls ?? 0;
|
|
9740
9897
|
message.costUnavailableCount = object.costUnavailableCount ?? 0;
|
|
9741
9898
|
message.usageUnavailableCount = object.usageUnavailableCount ?? 0;
|
|
9899
|
+
message.subscriptionFacilityUsdPerHour = object.subscriptionFacilityUsdPerHour ?? 0;
|
|
9900
|
+
message.inputTokensPerMin = object.inputTokensPerMin ?? 0;
|
|
9901
|
+
message.outputTokensPerMin = object.outputTokensPerMin ?? 0;
|
|
9902
|
+
message.cacheReadTokensPerMin = object.cacheReadTokensPerMin ?? 0;
|
|
9903
|
+
message.cacheWriteTokensPerMin = object.cacheWriteTokensPerMin ?? 0;
|
|
9742
9904
|
return message;
|
|
9743
9905
|
},
|
|
9744
9906
|
};
|
|
@@ -10160,6 +10322,11 @@ function createBaseDailyActivityMeasures(): DailyActivityMeasures {
|
|
|
10160
10322
|
pullRequestsCreated: 0,
|
|
10161
10323
|
pullRequestsMerged: 0,
|
|
10162
10324
|
branchesCreated: 0,
|
|
10325
|
+
subscriptionFacilityInputTokens: 0,
|
|
10326
|
+
subscriptionFacilityOutputTokens: 0,
|
|
10327
|
+
subscriptionFacilityCacheReadTokens: 0,
|
|
10328
|
+
subscriptionFacilityCacheWriteTokens: 0,
|
|
10329
|
+
subscriptionFacilityUsd: 0,
|
|
10163
10330
|
};
|
|
10164
10331
|
}
|
|
10165
10332
|
|
|
@@ -10207,6 +10374,21 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10207
10374
|
if (message.branchesCreated !== 0) {
|
|
10208
10375
|
writer.uint32(112).uint64(message.branchesCreated);
|
|
10209
10376
|
}
|
|
10377
|
+
if (message.subscriptionFacilityInputTokens !== 0) {
|
|
10378
|
+
writer.uint32(120).uint64(message.subscriptionFacilityInputTokens);
|
|
10379
|
+
}
|
|
10380
|
+
if (message.subscriptionFacilityOutputTokens !== 0) {
|
|
10381
|
+
writer.uint32(128).uint64(message.subscriptionFacilityOutputTokens);
|
|
10382
|
+
}
|
|
10383
|
+
if (message.subscriptionFacilityCacheReadTokens !== 0) {
|
|
10384
|
+
writer.uint32(136).uint64(message.subscriptionFacilityCacheReadTokens);
|
|
10385
|
+
}
|
|
10386
|
+
if (message.subscriptionFacilityCacheWriteTokens !== 0) {
|
|
10387
|
+
writer.uint32(144).uint64(message.subscriptionFacilityCacheWriteTokens);
|
|
10388
|
+
}
|
|
10389
|
+
if (message.subscriptionFacilityUsd !== 0) {
|
|
10390
|
+
writer.uint32(153).double(message.subscriptionFacilityUsd);
|
|
10391
|
+
}
|
|
10210
10392
|
return writer;
|
|
10211
10393
|
},
|
|
10212
10394
|
|
|
@@ -10335,6 +10517,46 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10335
10517
|
message.branchesCreated = longToNumber(reader.uint64());
|
|
10336
10518
|
continue;
|
|
10337
10519
|
}
|
|
10520
|
+
case 15: {
|
|
10521
|
+
if (tag !== 120) {
|
|
10522
|
+
break;
|
|
10523
|
+
}
|
|
10524
|
+
|
|
10525
|
+
message.subscriptionFacilityInputTokens = longToNumber(reader.uint64());
|
|
10526
|
+
continue;
|
|
10527
|
+
}
|
|
10528
|
+
case 16: {
|
|
10529
|
+
if (tag !== 128) {
|
|
10530
|
+
break;
|
|
10531
|
+
}
|
|
10532
|
+
|
|
10533
|
+
message.subscriptionFacilityOutputTokens = longToNumber(reader.uint64());
|
|
10534
|
+
continue;
|
|
10535
|
+
}
|
|
10536
|
+
case 17: {
|
|
10537
|
+
if (tag !== 136) {
|
|
10538
|
+
break;
|
|
10539
|
+
}
|
|
10540
|
+
|
|
10541
|
+
message.subscriptionFacilityCacheReadTokens = longToNumber(reader.uint64());
|
|
10542
|
+
continue;
|
|
10543
|
+
}
|
|
10544
|
+
case 18: {
|
|
10545
|
+
if (tag !== 144) {
|
|
10546
|
+
break;
|
|
10547
|
+
}
|
|
10548
|
+
|
|
10549
|
+
message.subscriptionFacilityCacheWriteTokens = longToNumber(reader.uint64());
|
|
10550
|
+
continue;
|
|
10551
|
+
}
|
|
10552
|
+
case 19: {
|
|
10553
|
+
if (tag !== 153) {
|
|
10554
|
+
break;
|
|
10555
|
+
}
|
|
10556
|
+
|
|
10557
|
+
message.subscriptionFacilityUsd = reader.double();
|
|
10558
|
+
continue;
|
|
10559
|
+
}
|
|
10338
10560
|
}
|
|
10339
10561
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10340
10562
|
break;
|
|
@@ -10415,6 +10637,31 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10415
10637
|
: isSet(object.branches_created)
|
|
10416
10638
|
? globalThis.Number(object.branches_created)
|
|
10417
10639
|
: 0,
|
|
10640
|
+
subscriptionFacilityInputTokens: isSet(object.subscriptionFacilityInputTokens)
|
|
10641
|
+
? globalThis.Number(object.subscriptionFacilityInputTokens)
|
|
10642
|
+
: isSet(object.subscription_facility_input_tokens)
|
|
10643
|
+
? globalThis.Number(object.subscription_facility_input_tokens)
|
|
10644
|
+
: 0,
|
|
10645
|
+
subscriptionFacilityOutputTokens: isSet(object.subscriptionFacilityOutputTokens)
|
|
10646
|
+
? globalThis.Number(object.subscriptionFacilityOutputTokens)
|
|
10647
|
+
: isSet(object.subscription_facility_output_tokens)
|
|
10648
|
+
? globalThis.Number(object.subscription_facility_output_tokens)
|
|
10649
|
+
: 0,
|
|
10650
|
+
subscriptionFacilityCacheReadTokens: isSet(object.subscriptionFacilityCacheReadTokens)
|
|
10651
|
+
? globalThis.Number(object.subscriptionFacilityCacheReadTokens)
|
|
10652
|
+
: isSet(object.subscription_facility_cache_read_tokens)
|
|
10653
|
+
? globalThis.Number(object.subscription_facility_cache_read_tokens)
|
|
10654
|
+
: 0,
|
|
10655
|
+
subscriptionFacilityCacheWriteTokens: isSet(object.subscriptionFacilityCacheWriteTokens)
|
|
10656
|
+
? globalThis.Number(object.subscriptionFacilityCacheWriteTokens)
|
|
10657
|
+
: isSet(object.subscription_facility_cache_write_tokens)
|
|
10658
|
+
? globalThis.Number(object.subscription_facility_cache_write_tokens)
|
|
10659
|
+
: 0,
|
|
10660
|
+
subscriptionFacilityUsd: isSet(object.subscriptionFacilityUsd)
|
|
10661
|
+
? globalThis.Number(object.subscriptionFacilityUsd)
|
|
10662
|
+
: isSet(object.subscription_facility_usd)
|
|
10663
|
+
? globalThis.Number(object.subscription_facility_usd)
|
|
10664
|
+
: 0,
|
|
10418
10665
|
};
|
|
10419
10666
|
},
|
|
10420
10667
|
|
|
@@ -10462,6 +10709,21 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10462
10709
|
if (message.branchesCreated !== 0) {
|
|
10463
10710
|
obj.branchesCreated = Math.round(message.branchesCreated);
|
|
10464
10711
|
}
|
|
10712
|
+
if (message.subscriptionFacilityInputTokens !== 0) {
|
|
10713
|
+
obj.subscriptionFacilityInputTokens = Math.round(message.subscriptionFacilityInputTokens);
|
|
10714
|
+
}
|
|
10715
|
+
if (message.subscriptionFacilityOutputTokens !== 0) {
|
|
10716
|
+
obj.subscriptionFacilityOutputTokens = Math.round(message.subscriptionFacilityOutputTokens);
|
|
10717
|
+
}
|
|
10718
|
+
if (message.subscriptionFacilityCacheReadTokens !== 0) {
|
|
10719
|
+
obj.subscriptionFacilityCacheReadTokens = Math.round(message.subscriptionFacilityCacheReadTokens);
|
|
10720
|
+
}
|
|
10721
|
+
if (message.subscriptionFacilityCacheWriteTokens !== 0) {
|
|
10722
|
+
obj.subscriptionFacilityCacheWriteTokens = Math.round(message.subscriptionFacilityCacheWriteTokens);
|
|
10723
|
+
}
|
|
10724
|
+
if (message.subscriptionFacilityUsd !== 0) {
|
|
10725
|
+
obj.subscriptionFacilityUsd = message.subscriptionFacilityUsd;
|
|
10726
|
+
}
|
|
10465
10727
|
return obj;
|
|
10466
10728
|
},
|
|
10467
10729
|
|
|
@@ -10484,6 +10746,11 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10484
10746
|
message.pullRequestsCreated = object.pullRequestsCreated ?? 0;
|
|
10485
10747
|
message.pullRequestsMerged = object.pullRequestsMerged ?? 0;
|
|
10486
10748
|
message.branchesCreated = object.branchesCreated ?? 0;
|
|
10749
|
+
message.subscriptionFacilityInputTokens = object.subscriptionFacilityInputTokens ?? 0;
|
|
10750
|
+
message.subscriptionFacilityOutputTokens = object.subscriptionFacilityOutputTokens ?? 0;
|
|
10751
|
+
message.subscriptionFacilityCacheReadTokens = object.subscriptionFacilityCacheReadTokens ?? 0;
|
|
10752
|
+
message.subscriptionFacilityCacheWriteTokens = object.subscriptionFacilityCacheWriteTokens ?? 0;
|
|
10753
|
+
message.subscriptionFacilityUsd = object.subscriptionFacilityUsd ?? 0;
|
|
10487
10754
|
return message;
|
|
10488
10755
|
},
|
|
10489
10756
|
};
|
|
@@ -9037,7 +9037,8 @@ model: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
|
9037
9037
|
provider: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9038
9038
|
finishReason: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9039
9039
|
durationMs: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
|
|
9040
|
-
usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f)
|
|
9040
|
+
usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f),
|
|
9041
|
+
fundingMode: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
9041
9042
|
};
|
|
9042
9043
|
|
|
9043
9044
|
if (includeInstance) {
|
|
@@ -9112,6 +9113,10 @@ proto.gateway.web.v1.SessionTimelinePoint.deserializeBinaryFromReader = function
|
|
|
9112
9113
|
reader.readMessage(value,proto.gateway.web.v1.AITokenUsage.deserializeBinaryFromReader);
|
|
9113
9114
|
msg.setUsage(value);
|
|
9114
9115
|
break;
|
|
9116
|
+
case 10:
|
|
9117
|
+
var value = /** @type {!proto.gateway.web.v1.AIFundingMode} */ (reader.readEnum());
|
|
9118
|
+
msg.setFundingMode(value);
|
|
9119
|
+
break;
|
|
9115
9120
|
default:
|
|
9116
9121
|
reader.skipField();
|
|
9117
9122
|
break;
|
|
@@ -9206,6 +9211,13 @@ proto.gateway.web.v1.SessionTimelinePoint.serializeBinaryToWriter = function(mes
|
|
|
9206
9211
|
proto.gateway.web.v1.AITokenUsage.serializeBinaryToWriter
|
|
9207
9212
|
);
|
|
9208
9213
|
}
|
|
9214
|
+
f = message.getFundingMode();
|
|
9215
|
+
if (f !== 0.0) {
|
|
9216
|
+
writer.writeEnum(
|
|
9217
|
+
10,
|
|
9218
|
+
f
|
|
9219
|
+
);
|
|
9220
|
+
}
|
|
9209
9221
|
};
|
|
9210
9222
|
|
|
9211
9223
|
|
|
@@ -9427,6 +9439,24 @@ proto.gateway.web.v1.SessionTimelinePoint.prototype.hasUsage = function() {
|
|
|
9427
9439
|
};
|
|
9428
9440
|
|
|
9429
9441
|
|
|
9442
|
+
/**
|
|
9443
|
+
* optional AIFundingMode funding_mode = 10;
|
|
9444
|
+
* @return {!proto.gateway.web.v1.AIFundingMode}
|
|
9445
|
+
*/
|
|
9446
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.getFundingMode = function() {
|
|
9447
|
+
return /** @type {!proto.gateway.web.v1.AIFundingMode} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
9448
|
+
};
|
|
9449
|
+
|
|
9450
|
+
|
|
9451
|
+
/**
|
|
9452
|
+
* @param {!proto.gateway.web.v1.AIFundingMode} value
|
|
9453
|
+
* @return {!proto.gateway.web.v1.SessionTimelinePoint} returns this
|
|
9454
|
+
*/
|
|
9455
|
+
proto.gateway.web.v1.SessionTimelinePoint.prototype.setFundingMode = function(value) {
|
|
9456
|
+
return jspb.Message.setProto3EnumField(this, 10, value);
|
|
9457
|
+
};
|
|
9458
|
+
|
|
9459
|
+
|
|
9430
9460
|
|
|
9431
9461
|
|
|
9432
9462
|
|
|
@@ -17035,7 +17065,12 @@ usdPerHour: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
|
17035
17065
|
tokensPerMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
17036
17066
|
modelCalls: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
17037
17067
|
costUnavailableCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
17038
|
-
usageUnavailableCount: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
17068
|
+
usageUnavailableCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
17069
|
+
subscriptionFacilityUsdPerHour: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
17070
|
+
inputTokensPerMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
17071
|
+
outputTokensPerMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
17072
|
+
cacheReadTokensPerMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
17073
|
+
cacheWriteTokensPerMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0)
|
|
17039
17074
|
};
|
|
17040
17075
|
|
|
17041
17076
|
if (includeInstance) {
|
|
@@ -17092,6 +17127,26 @@ proto.gateway.web.v1.BurnRateMeasures.deserializeBinaryFromReader = function(msg
|
|
|
17092
17127
|
var value = /** @type {number} */ (reader.readUint64());
|
|
17093
17128
|
msg.setUsageUnavailableCount(value);
|
|
17094
17129
|
break;
|
|
17130
|
+
case 6:
|
|
17131
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
17132
|
+
msg.setSubscriptionFacilityUsdPerHour(value);
|
|
17133
|
+
break;
|
|
17134
|
+
case 7:
|
|
17135
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
17136
|
+
msg.setInputTokensPerMin(value);
|
|
17137
|
+
break;
|
|
17138
|
+
case 8:
|
|
17139
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
17140
|
+
msg.setOutputTokensPerMin(value);
|
|
17141
|
+
break;
|
|
17142
|
+
case 9:
|
|
17143
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
17144
|
+
msg.setCacheReadTokensPerMin(value);
|
|
17145
|
+
break;
|
|
17146
|
+
case 10:
|
|
17147
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
17148
|
+
msg.setCacheWriteTokensPerMin(value);
|
|
17149
|
+
break;
|
|
17095
17150
|
default:
|
|
17096
17151
|
reader.skipField();
|
|
17097
17152
|
break;
|
|
@@ -17156,6 +17211,41 @@ proto.gateway.web.v1.BurnRateMeasures.serializeBinaryToWriter = function(message
|
|
|
17156
17211
|
f
|
|
17157
17212
|
);
|
|
17158
17213
|
}
|
|
17214
|
+
f = message.getSubscriptionFacilityUsdPerHour();
|
|
17215
|
+
if (f !== 0.0) {
|
|
17216
|
+
writer.writeDouble(
|
|
17217
|
+
6,
|
|
17218
|
+
f
|
|
17219
|
+
);
|
|
17220
|
+
}
|
|
17221
|
+
f = message.getInputTokensPerMin();
|
|
17222
|
+
if (f !== 0.0) {
|
|
17223
|
+
writer.writeDouble(
|
|
17224
|
+
7,
|
|
17225
|
+
f
|
|
17226
|
+
);
|
|
17227
|
+
}
|
|
17228
|
+
f = message.getOutputTokensPerMin();
|
|
17229
|
+
if (f !== 0.0) {
|
|
17230
|
+
writer.writeDouble(
|
|
17231
|
+
8,
|
|
17232
|
+
f
|
|
17233
|
+
);
|
|
17234
|
+
}
|
|
17235
|
+
f = message.getCacheReadTokensPerMin();
|
|
17236
|
+
if (f !== 0.0) {
|
|
17237
|
+
writer.writeDouble(
|
|
17238
|
+
9,
|
|
17239
|
+
f
|
|
17240
|
+
);
|
|
17241
|
+
}
|
|
17242
|
+
f = message.getCacheWriteTokensPerMin();
|
|
17243
|
+
if (f !== 0.0) {
|
|
17244
|
+
writer.writeDouble(
|
|
17245
|
+
10,
|
|
17246
|
+
f
|
|
17247
|
+
);
|
|
17248
|
+
}
|
|
17159
17249
|
};
|
|
17160
17250
|
|
|
17161
17251
|
|
|
@@ -17249,6 +17339,96 @@ proto.gateway.web.v1.BurnRateMeasures.prototype.setUsageUnavailableCount = funct
|
|
|
17249
17339
|
};
|
|
17250
17340
|
|
|
17251
17341
|
|
|
17342
|
+
/**
|
|
17343
|
+
* optional double subscription_facility_usd_per_hour = 6;
|
|
17344
|
+
* @return {number}
|
|
17345
|
+
*/
|
|
17346
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.getSubscriptionFacilityUsdPerHour = function() {
|
|
17347
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
17348
|
+
};
|
|
17349
|
+
|
|
17350
|
+
|
|
17351
|
+
/**
|
|
17352
|
+
* @param {number} value
|
|
17353
|
+
* @return {!proto.gateway.web.v1.BurnRateMeasures} returns this
|
|
17354
|
+
*/
|
|
17355
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.setSubscriptionFacilityUsdPerHour = function(value) {
|
|
17356
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
17357
|
+
};
|
|
17358
|
+
|
|
17359
|
+
|
|
17360
|
+
/**
|
|
17361
|
+
* optional double input_tokens_per_min = 7;
|
|
17362
|
+
* @return {number}
|
|
17363
|
+
*/
|
|
17364
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.getInputTokensPerMin = function() {
|
|
17365
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
17366
|
+
};
|
|
17367
|
+
|
|
17368
|
+
|
|
17369
|
+
/**
|
|
17370
|
+
* @param {number} value
|
|
17371
|
+
* @return {!proto.gateway.web.v1.BurnRateMeasures} returns this
|
|
17372
|
+
*/
|
|
17373
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.setInputTokensPerMin = function(value) {
|
|
17374
|
+
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
17375
|
+
};
|
|
17376
|
+
|
|
17377
|
+
|
|
17378
|
+
/**
|
|
17379
|
+
* optional double output_tokens_per_min = 8;
|
|
17380
|
+
* @return {number}
|
|
17381
|
+
*/
|
|
17382
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.getOutputTokensPerMin = function() {
|
|
17383
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
17384
|
+
};
|
|
17385
|
+
|
|
17386
|
+
|
|
17387
|
+
/**
|
|
17388
|
+
* @param {number} value
|
|
17389
|
+
* @return {!proto.gateway.web.v1.BurnRateMeasures} returns this
|
|
17390
|
+
*/
|
|
17391
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.setOutputTokensPerMin = function(value) {
|
|
17392
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
17393
|
+
};
|
|
17394
|
+
|
|
17395
|
+
|
|
17396
|
+
/**
|
|
17397
|
+
* optional double cache_read_tokens_per_min = 9;
|
|
17398
|
+
* @return {number}
|
|
17399
|
+
*/
|
|
17400
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.getCacheReadTokensPerMin = function() {
|
|
17401
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
17402
|
+
};
|
|
17403
|
+
|
|
17404
|
+
|
|
17405
|
+
/**
|
|
17406
|
+
* @param {number} value
|
|
17407
|
+
* @return {!proto.gateway.web.v1.BurnRateMeasures} returns this
|
|
17408
|
+
*/
|
|
17409
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.setCacheReadTokensPerMin = function(value) {
|
|
17410
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
17411
|
+
};
|
|
17412
|
+
|
|
17413
|
+
|
|
17414
|
+
/**
|
|
17415
|
+
* optional double cache_write_tokens_per_min = 10;
|
|
17416
|
+
* @return {number}
|
|
17417
|
+
*/
|
|
17418
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.getCacheWriteTokensPerMin = function() {
|
|
17419
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
17420
|
+
};
|
|
17421
|
+
|
|
17422
|
+
|
|
17423
|
+
/**
|
|
17424
|
+
* @param {number} value
|
|
17425
|
+
* @return {!proto.gateway.web.v1.BurnRateMeasures} returns this
|
|
17426
|
+
*/
|
|
17427
|
+
proto.gateway.web.v1.BurnRateMeasures.prototype.setCacheWriteTokensPerMin = function(value) {
|
|
17428
|
+
return jspb.Message.setProto3FloatField(this, 10, value);
|
|
17429
|
+
};
|
|
17430
|
+
|
|
17431
|
+
|
|
17252
17432
|
|
|
17253
17433
|
|
|
17254
17434
|
|
|
@@ -18056,7 +18236,12 @@ commits: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
|
18056
18236
|
gitPushes: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
18057
18237
|
pullRequestsCreated: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
18058
18238
|
pullRequestsMerged: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
18059
|
-
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)
|
|
18060
18245
|
};
|
|
18061
18246
|
|
|
18062
18247
|
if (includeInstance) {
|
|
@@ -18149,6 +18334,26 @@ proto.gateway.web.v1.DailyActivityMeasures.deserializeBinaryFromReader = functio
|
|
|
18149
18334
|
var value = /** @type {number} */ (reader.readUint64());
|
|
18150
18335
|
msg.setBranchesCreated(value);
|
|
18151
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;
|
|
18152
18357
|
default:
|
|
18153
18358
|
reader.skipField();
|
|
18154
18359
|
break;
|
|
@@ -18276,6 +18481,41 @@ proto.gateway.web.v1.DailyActivityMeasures.serializeBinaryToWriter = function(me
|
|
|
18276
18481
|
f
|
|
18277
18482
|
);
|
|
18278
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
|
+
}
|
|
18279
18519
|
};
|
|
18280
18520
|
|
|
18281
18521
|
|
|
@@ -18531,6 +18771,96 @@ proto.gateway.web.v1.DailyActivityMeasures.prototype.setBranchesCreated = functi
|
|
|
18531
18771
|
};
|
|
18532
18772
|
|
|
18533
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
|
+
|
|
18534
18864
|
|
|
18535
18865
|
|
|
18536
18866
|
|