You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -357,13 +357,13 @@ export interface SimpleJSONFilter {
|
|||||||
*/
|
*/
|
||||||
Values: string[];
|
Values: string[];
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: api.StringDateObject StartDate = 5
|
* @generated from protobuf field: string StartDateTime = 5
|
||||||
*/
|
*/
|
||||||
StartDate?: StringDateObject;
|
StartDateTime: string;
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: api.StringDateObject EndDate = 6
|
* @generated from protobuf field: string EndDateTime = 6
|
||||||
*/
|
*/
|
||||||
EndDate?: StringDateObject;
|
EndDateTime: string;
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: api.SimpleJSONFilter Or = 7
|
* @generated from protobuf field: api.SimpleJSONFilter Or = 7
|
||||||
*/
|
*/
|
||||||
@@ -1689,8 +1689,8 @@ class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
|||||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 3, name: "Operator", kind: "enum", localName: "Operator", jsonName: "Operator", T: () => ["api.KPIFilterOperator", KPIFilterOperator], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"KPI_FILTER_OPERATOR_EQUAL\", \"KPI_FILTER_OPERATOR_DIFF\", \"KPI_FILTER_OPERATOR_START_BY\", \"KPI_FILTER_OPERATOR_NOT_START_BY\", \"KPI_FILTER_OPERATOR_FINISH_BY\", \"KPI_FILTER_OPERATOR_NOT_FINISH_BY\", \"KPI_FILTER_OPERATOR_CONTAINS\", \"KPI_FILTER_OPERATOR_NOT_CONTAINS\", \"KPI_FILTER_OPERATOR_IN_LIST\", \"KPI_FILTER_OPERATOR_NOT_IN_LIST\"" } } },
|
{ no: 3, name: "Operator", kind: "enum", localName: "Operator", jsonName: "Operator", T: () => ["api.KPIFilterOperator", KPIFilterOperator], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"KPI_FILTER_OPERATOR_EQUAL\", \"KPI_FILTER_OPERATOR_DIFF\", \"KPI_FILTER_OPERATOR_START_BY\", \"KPI_FILTER_OPERATOR_NOT_START_BY\", \"KPI_FILTER_OPERATOR_FINISH_BY\", \"KPI_FILTER_OPERATOR_NOT_FINISH_BY\", \"KPI_FILTER_OPERATOR_CONTAINS\", \"KPI_FILTER_OPERATOR_NOT_CONTAINS\", \"KPI_FILTER_OPERATOR_IN_LIST\", \"KPI_FILTER_OPERATOR_NOT_IN_LIST\"" } } },
|
||||||
{ no: 4, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
{ no: 4, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 5, name: "StartDate", kind: "message", localName: "StartDate", jsonName: "StartDate", T: () => StringDateObject },
|
{ no: 5, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } },
|
||||||
{ no: 6, name: "EndDate", kind: "message", localName: "EndDate", jsonName: "EndDate", T: () => StringDateObject },
|
{ no: 6, name: "EndDateTime", kind: "scalar", localName: "EndDateTime", jsonName: "EndDateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } },
|
||||||
{ no: 7, name: "Or", kind: "message", localName: "Or", jsonName: "Or", T: () => SimpleJSONFilter }
|
{ no: 7, name: "Or", kind: "message", localName: "Or", jsonName: "Or", T: () => SimpleJSONFilter }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@@ -1699,6 +1699,8 @@ class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
|||||||
message.Name = "";
|
message.Name = "";
|
||||||
message.Operator = 0;
|
message.Operator = 0;
|
||||||
message.Values = [];
|
message.Values = [];
|
||||||
|
message.StartDateTime = "";
|
||||||
|
message.EndDateTime = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<SimpleJSONFilter>(this, message, value);
|
reflectionMergePartial<SimpleJSONFilter>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -1717,11 +1719,11 @@ class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
|||||||
case /* repeated string Values */ 4:
|
case /* repeated string Values */ 4:
|
||||||
message.Values.push(reader.string());
|
message.Values.push(reader.string());
|
||||||
break;
|
break;
|
||||||
case /* api.StringDateObject StartDate */ 5:
|
case /* string StartDateTime */ 5:
|
||||||
message.StartDate = StringDateObject.internalBinaryRead(reader, reader.uint32(), options, message.StartDate);
|
message.StartDateTime = reader.string();
|
||||||
break;
|
break;
|
||||||
case /* api.StringDateObject EndDate */ 6:
|
case /* string EndDateTime */ 6:
|
||||||
message.EndDate = StringDateObject.internalBinaryRead(reader, reader.uint32(), options, message.EndDate);
|
message.EndDateTime = reader.string();
|
||||||
break;
|
break;
|
||||||
case /* api.SimpleJSONFilter Or */ 7:
|
case /* api.SimpleJSONFilter Or */ 7:
|
||||||
message.Or = SimpleJSONFilter.internalBinaryRead(reader, reader.uint32(), options, message.Or);
|
message.Or = SimpleJSONFilter.internalBinaryRead(reader, reader.uint32(), options, message.Or);
|
||||||
@@ -1747,12 +1749,12 @@ class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
|||||||
/* repeated string Values = 4; */
|
/* repeated string Values = 4; */
|
||||||
for (let i = 0; i < message.Values.length; i++)
|
for (let i = 0; i < message.Values.length; i++)
|
||||||
writer.tag(4, WireType.LengthDelimited).string(message.Values[i]);
|
writer.tag(4, WireType.LengthDelimited).string(message.Values[i]);
|
||||||
/* api.StringDateObject StartDate = 5; */
|
/* string StartDateTime = 5; */
|
||||||
if (message.StartDate)
|
if (message.StartDateTime !== "")
|
||||||
StringDateObject.internalBinaryWrite(message.StartDate, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
writer.tag(5, WireType.LengthDelimited).string(message.StartDateTime);
|
||||||
/* api.StringDateObject EndDate = 6; */
|
/* string EndDateTime = 6; */
|
||||||
if (message.EndDate)
|
if (message.EndDateTime !== "")
|
||||||
StringDateObject.internalBinaryWrite(message.EndDate, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
writer.tag(6, WireType.LengthDelimited).string(message.EndDateTime);
|
||||||
/* api.SimpleJSONFilter Or = 7; */
|
/* api.SimpleJSONFilter Or = 7; */
|
||||||
if (message.Or)
|
if (message.Or)
|
||||||
SimpleJSONFilter.internalBinaryWrite(message.Or, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
SimpleJSONFilter.internalBinaryWrite(message.Or, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.15.0-SNAPSHOT-260910151749",
|
"version": "1.15.0-SNAPSHOT-260911143003",
|
||||||
"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