You've already forked npm-core-sdk
Latest generation
This commit is contained in:
14
notif.ts
14
notif.ts
@@ -93,6 +93,10 @@ export interface NotifPayload {
|
|||||||
* @generated from protobuf field: bool GroupSending = 10
|
* @generated from protobuf field: bool GroupSending = 10
|
||||||
*/
|
*/
|
||||||
GroupSending: boolean;
|
GroupSending: boolean;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: bool SendToIssuer = 11
|
||||||
|
*/
|
||||||
|
SendToIssuer: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.NotifTriplet
|
* @generated from protobuf message api.NotifTriplet
|
||||||
@@ -184,7 +188,8 @@ class NotifPayload$Type extends MessageType<NotifPayload> {
|
|||||||
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||||
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tags" } } },
|
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tags" } } },
|
||||||
{ no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" }, "validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } },
|
{ no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" }, "validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } },
|
||||||
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }
|
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ },
|
||||||
|
{ no: 11, name: "SendToIssuer", kind: "scalar", localName: "SendToIssuer", jsonName: "SendToIssuer", T: 8 /*ScalarType.BOOL*/ }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["NotificationType", "IssuerID", "Contacts", "OldStatus", "NewStatus", "EntityDomain", "EntityType", "EntityRefID"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["NotificationType", "IssuerID", "Contacts", "OldStatus", "NewStatus", "EntityDomain", "EntityType", "EntityRefID"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<NotifPayload>): NotifPayload {
|
create(value?: PartialMessage<NotifPayload>): NotifPayload {
|
||||||
@@ -199,6 +204,7 @@ class NotifPayload$Type extends MessageType<NotifPayload> {
|
|||||||
message.Tags = "";
|
message.Tags = "";
|
||||||
message.ContactMails = [];
|
message.ContactMails = [];
|
||||||
message.GroupSending = false;
|
message.GroupSending = false;
|
||||||
|
message.SendToIssuer = false;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<NotifPayload>(this, message, value);
|
reflectionMergePartial<NotifPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -238,6 +244,9 @@ class NotifPayload$Type extends MessageType<NotifPayload> {
|
|||||||
case /* bool GroupSending */ 10:
|
case /* bool GroupSending */ 10:
|
||||||
message.GroupSending = reader.bool();
|
message.GroupSending = reader.bool();
|
||||||
break;
|
break;
|
||||||
|
case /* bool SendToIssuer */ 11:
|
||||||
|
message.SendToIssuer = reader.bool();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -280,6 +289,9 @@ class NotifPayload$Type extends MessageType<NotifPayload> {
|
|||||||
/* bool GroupSending = 10; */
|
/* bool GroupSending = 10; */
|
||||||
if (message.GroupSending !== false)
|
if (message.GroupSending !== false)
|
||||||
writer.tag(10, WireType.Varint).bool(message.GroupSending);
|
writer.tag(10, WireType.Varint).bool(message.GroupSending);
|
||||||
|
/* bool SendToIssuer = 11; */
|
||||||
|
if (message.SendToIssuer !== false)
|
||||||
|
writer.tag(11, WireType.Varint).bool(message.SendToIssuer);
|
||||||
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);
|
||||||
|
|||||||
@@ -64,6 +64,10 @@ export interface NotifNotifyByMailPayload {
|
|||||||
* @generated from protobuf field: bool GroupSending = 10
|
* @generated from protobuf field: bool GroupSending = 10
|
||||||
*/
|
*/
|
||||||
GroupSending: boolean;
|
GroupSending: boolean;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: bool SendToIssuer = 11
|
||||||
|
*/
|
||||||
|
SendToIssuer: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.NotifNotifyByMail
|
* @generated from protobuf message api.NotifNotifyByMail
|
||||||
@@ -168,7 +172,8 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
|||||||
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
|
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ },
|
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
{ no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }
|
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ },
|
||||||
|
{ no: 11, name: "SendToIssuer", kind: "scalar", localName: "SendToIssuer", jsonName: "SendToIssuer", T: 8 /*ScalarType.BOOL*/ }
|
||||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "NotifyByMail" });
|
], { "api.messageType": "Command", "api.payload": true, "api.action": "NotifyByMail" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<NotifNotifyByMailPayload>): NotifNotifyByMailPayload {
|
create(value?: PartialMessage<NotifNotifyByMailPayload>): NotifNotifyByMailPayload {
|
||||||
@@ -183,6 +188,7 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
|||||||
message.Tags = "";
|
message.Tags = "";
|
||||||
message.ContactMails = [];
|
message.ContactMails = [];
|
||||||
message.GroupSending = false;
|
message.GroupSending = false;
|
||||||
|
message.SendToIssuer = false;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<NotifNotifyByMailPayload>(this, message, value);
|
reflectionMergePartial<NotifNotifyByMailPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -222,6 +228,9 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
|||||||
case /* bool GroupSending */ 10:
|
case /* bool GroupSending */ 10:
|
||||||
message.GroupSending = reader.bool();
|
message.GroupSending = reader.bool();
|
||||||
break;
|
break;
|
||||||
|
case /* bool SendToIssuer */ 11:
|
||||||
|
message.SendToIssuer = reader.bool();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -264,6 +273,9 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
|
|||||||
/* bool GroupSending = 10; */
|
/* bool GroupSending = 10; */
|
||||||
if (message.GroupSending !== false)
|
if (message.GroupSending !== false)
|
||||||
writer.tag(10, WireType.Varint).bool(message.GroupSending);
|
writer.tag(10, WireType.Varint).bool(message.GroupSending);
|
||||||
|
/* bool SendToIssuer = 11; */
|
||||||
|
if (message.SendToIssuer !== false)
|
||||||
|
writer.tag(11, WireType.Varint).bool(message.SendToIssuer);
|
||||||
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);
|
||||||
|
|||||||
@@ -79,6 +79,10 @@ export interface NotifCreatedPayload {
|
|||||||
* @generated from protobuf field: bool GroupSending = 10
|
* @generated from protobuf field: bool GroupSending = 10
|
||||||
*/
|
*/
|
||||||
GroupSending: boolean;
|
GroupSending: boolean;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: bool SendToIssuer = 11
|
||||||
|
*/
|
||||||
|
SendToIssuer: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Event message
|
* Event message
|
||||||
@@ -250,7 +254,8 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
|
|||||||
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "validate.rules": { string: { minLen: "1" } } } },
|
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||||
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tags" } } },
|
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tags" } } },
|
||||||
{ no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" }, "validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } },
|
{ no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" }, "validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } },
|
||||||
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }
|
{ no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ },
|
||||||
|
{ no: 11, name: "SendToIssuer", kind: "scalar", localName: "SendToIssuer", jsonName: "SendToIssuer", T: 8 /*ScalarType.BOOL*/ }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["NotificationType", "IssuerID", "Contacts", "EntityDomain", "EntityType", "EntityRefID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["NotificationType", "IssuerID", "Contacts", "EntityDomain", "EntityType", "EntityRefID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<NotifCreatedPayload>): NotifCreatedPayload {
|
create(value?: PartialMessage<NotifCreatedPayload>): NotifCreatedPayload {
|
||||||
@@ -265,6 +270,7 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
|
|||||||
message.Tags = "";
|
message.Tags = "";
|
||||||
message.ContactMails = [];
|
message.ContactMails = [];
|
||||||
message.GroupSending = false;
|
message.GroupSending = false;
|
||||||
|
message.SendToIssuer = false;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<NotifCreatedPayload>(this, message, value);
|
reflectionMergePartial<NotifCreatedPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -304,6 +310,9 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
|
|||||||
case /* bool GroupSending */ 10:
|
case /* bool GroupSending */ 10:
|
||||||
message.GroupSending = reader.bool();
|
message.GroupSending = reader.bool();
|
||||||
break;
|
break;
|
||||||
|
case /* bool SendToIssuer */ 11:
|
||||||
|
message.SendToIssuer = reader.bool();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -346,6 +355,9 @@ class NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
|
|||||||
/* bool GroupSending = 10; */
|
/* bool GroupSending = 10; */
|
||||||
if (message.GroupSending !== false)
|
if (message.GroupSending !== false)
|
||||||
writer.tag(10, WireType.Varint).bool(message.GroupSending);
|
writer.tag(10, WireType.Varint).bool(message.GroupSending);
|
||||||
|
/* bool SendToIssuer = 11; */
|
||||||
|
if (message.SendToIssuer !== false)
|
||||||
|
writer.tag(11, WireType.Varint).bool(message.SendToIssuer);
|
||||||
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.12.0-SNAPSHOT-251121144215",
|
"version": "1.12.0-SNAPSHOT-251121161117",
|
||||||
"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