You've already forked npm-core-sdk
Latest generation
This commit is contained in:
17
calendar.ts
17
calendar.ts
@@ -552,9 +552,9 @@ export interface SLAPeriod {
|
|||||||
*/
|
*/
|
||||||
SLA: string;
|
SLA: string;
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: int64 PeriodUsed = 4
|
* @generated from protobuf field: api.Period PeriodUsed = 2
|
||||||
*/
|
*/
|
||||||
PeriodUsed: bigint; // value that represents what was used from the minperiod to compute the SLA
|
PeriodUsed?: Period; // Period that represents what was used from the input Period to compute the SLA
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ComputeSLAPeriodResponse
|
* @generated from protobuf message api.ComputeSLAPeriodResponse
|
||||||
@@ -2303,13 +2303,12 @@ class SLAPeriod$Type extends MessageType<SLAPeriod> {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super("api.SLAPeriod", [
|
super("api.SLAPeriod", [
|
||||||
{ no: 1, name: "SLA", kind: "scalar", localName: "SLA", jsonName: "SLA", T: 9 /*ScalarType.STRING*/ },
|
{ no: 1, name: "SLA", kind: "scalar", localName: "SLA", jsonName: "SLA", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 4, name: "PeriodUsed", kind: "scalar", localName: "PeriodUsed", jsonName: "PeriodUsed", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
{ no: 2, name: "PeriodUsed", kind: "message", localName: "PeriodUsed", jsonName: "PeriodUsed", T: () => Period }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<SLAPeriod>): SLAPeriod {
|
create(value?: PartialMessage<SLAPeriod>): SLAPeriod {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.SLA = "";
|
message.SLA = "";
|
||||||
message.PeriodUsed = 0n;
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<SLAPeriod>(this, message, value);
|
reflectionMergePartial<SLAPeriod>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -2322,8 +2321,8 @@ class SLAPeriod$Type extends MessageType<SLAPeriod> {
|
|||||||
case /* string SLA */ 1:
|
case /* string SLA */ 1:
|
||||||
message.SLA = reader.string();
|
message.SLA = reader.string();
|
||||||
break;
|
break;
|
||||||
case /* int64 PeriodUsed */ 4:
|
case /* api.Period PeriodUsed */ 2:
|
||||||
message.PeriodUsed = reader.int64().toBigInt();
|
message.PeriodUsed = Period.internalBinaryRead(reader, reader.uint32(), options, message.PeriodUsed);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
@@ -2340,9 +2339,9 @@ class SLAPeriod$Type extends MessageType<SLAPeriod> {
|
|||||||
/* string SLA = 1; */
|
/* string SLA = 1; */
|
||||||
if (message.SLA !== "")
|
if (message.SLA !== "")
|
||||||
writer.tag(1, WireType.LengthDelimited).string(message.SLA);
|
writer.tag(1, WireType.LengthDelimited).string(message.SLA);
|
||||||
/* int64 PeriodUsed = 4; */
|
/* api.Period PeriodUsed = 2; */
|
||||||
if (message.PeriodUsed !== 0n)
|
if (message.PeriodUsed)
|
||||||
writer.tag(4, WireType.Varint).int64(message.PeriodUsed);
|
Period.internalBinaryWrite(message.PeriodUsed, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.15.0-SNAPSHOT-260821144543",
|
"version": "1.15.0-SNAPSHOT-260821145645",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user