You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name,keep_enum_prefix
|
||||
// @generated from protobuf file "notification.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -129,15 +129,15 @@ export enum NotificationType {
|
||||
/**
|
||||
* @generated from protobuf enum value: NOTIFICATION_TYPE_UNDEFINED = 0;
|
||||
*/
|
||||
UNDEFINED = 0,
|
||||
NOTIFICATION_TYPE_UNDEFINED = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: NOTIFICATION_TYPE_TEXT = 1;
|
||||
*/
|
||||
TEXT = 1,
|
||||
NOTIFICATION_TYPE_TEXT = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: NOTIFICATION_TYPE_ADAPTIVE_CARD = 2;
|
||||
*/
|
||||
ADAPTIVE_CARD = 2
|
||||
NOTIFICATION_TYPE_ADAPTIVE_CARD = 2
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.NotificationCategory
|
||||
@@ -146,25 +146,25 @@ export enum NotificationCategory {
|
||||
/**
|
||||
* @generated from protobuf enum value: NOTIFICATION_CATEGORY_UNDEFINED = 0;
|
||||
*/
|
||||
UNDEFINED = 0,
|
||||
NOTIFICATION_CATEGORY_UNDEFINED = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: NOTIFICATION_CATEGORY_DATA_EXTRACTION = 1;
|
||||
*/
|
||||
DATA_EXTRACTION = 1,
|
||||
NOTIFICATION_CATEGORY_DATA_EXTRACTION = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: NOTIFICATION_CATEGORY_SYSTEM = 2;
|
||||
*/
|
||||
SYSTEM = 2
|
||||
NOTIFICATION_CATEGORY_SYSTEM = 2
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Notification$Type extends MessageType<Notification> {
|
||||
constructor() {
|
||||
super("api.Notification", [
|
||||
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType, "NOTIFICATION_TYPE_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
|
||||
{ no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } },
|
||||
{ no: 4, name: "AckID", kind: "scalar", localName: "AckID", jsonName: "AckID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID to acknowledge notification to notification-server, filled by the server" } } },
|
||||
{ no: 5, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory, "NOTIFICATION_CATEGORY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } },
|
||||
{ no: 5, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } },
|
||||
{ no: 6, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the notification" } } }
|
||||
]);
|
||||
}
|
||||
@@ -248,9 +248,9 @@ class NotificationRequest$Type extends MessageType<NotificationRequest> {
|
||||
constructor() {
|
||||
super("api.NotificationRequest", [
|
||||
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType, "NOTIFICATION_TYPE_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
|
||||
{ no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } },
|
||||
{ no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory, "NOTIFICATION_CATEGORY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } }
|
||||
{ no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<NotificationRequest>): NotificationRequest {
|
||||
@@ -419,9 +419,9 @@ class NotificationListItem$Type extends MessageType<NotificationListItem> {
|
||||
constructor() {
|
||||
super("api.NotificationListItem", [
|
||||
{ no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType, "NOTIFICATION_TYPE_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } },
|
||||
{ no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } },
|
||||
{ no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory, "NOTIFICATION_CATEGORY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } },
|
||||
{ no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } },
|
||||
{ no: 5, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the notification" } } }
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user