@miradorlabs/web-grpc 2.64.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
|
@@ -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 {
|
|
@@ -10311,6 +10322,11 @@ function createBaseDailyActivityMeasures(): DailyActivityMeasures {
|
|
|
10311
10322
|
pullRequestsCreated: 0,
|
|
10312
10323
|
pullRequestsMerged: 0,
|
|
10313
10324
|
branchesCreated: 0,
|
|
10325
|
+
subscriptionFacilityInputTokens: 0,
|
|
10326
|
+
subscriptionFacilityOutputTokens: 0,
|
|
10327
|
+
subscriptionFacilityCacheReadTokens: 0,
|
|
10328
|
+
subscriptionFacilityCacheWriteTokens: 0,
|
|
10329
|
+
subscriptionFacilityUsd: 0,
|
|
10314
10330
|
};
|
|
10315
10331
|
}
|
|
10316
10332
|
|
|
@@ -10358,6 +10374,21 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10358
10374
|
if (message.branchesCreated !== 0) {
|
|
10359
10375
|
writer.uint32(112).uint64(message.branchesCreated);
|
|
10360
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
|
+
}
|
|
10361
10392
|
return writer;
|
|
10362
10393
|
},
|
|
10363
10394
|
|
|
@@ -10486,6 +10517,46 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10486
10517
|
message.branchesCreated = longToNumber(reader.uint64());
|
|
10487
10518
|
continue;
|
|
10488
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
|
+
}
|
|
10489
10560
|
}
|
|
10490
10561
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10491
10562
|
break;
|
|
@@ -10566,6 +10637,31 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10566
10637
|
: isSet(object.branches_created)
|
|
10567
10638
|
? globalThis.Number(object.branches_created)
|
|
10568
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,
|
|
10569
10665
|
};
|
|
10570
10666
|
},
|
|
10571
10667
|
|
|
@@ -10613,6 +10709,21 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10613
10709
|
if (message.branchesCreated !== 0) {
|
|
10614
10710
|
obj.branchesCreated = Math.round(message.branchesCreated);
|
|
10615
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
|
+
}
|
|
10616
10727
|
return obj;
|
|
10617
10728
|
},
|
|
10618
10729
|
|
|
@@ -10635,6 +10746,11 @@ export const DailyActivityMeasures: MessageFns<DailyActivityMeasures> = {
|
|
|
10635
10746
|
message.pullRequestsCreated = object.pullRequestsCreated ?? 0;
|
|
10636
10747
|
message.pullRequestsMerged = object.pullRequestsMerged ?? 0;
|
|
10637
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;
|
|
10638
10754
|
return message;
|
|
10639
10755
|
},
|
|
10640
10756
|
};
|
|
@@ -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
|
|