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 "attachmentV2.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -317,15 +317,15 @@ export enum AttachmentKind {
|
||||
/**
|
||||
* @generated from protobuf enum value: ATTACHMENT_KIND_UNKNOWN = 0;
|
||||
*/
|
||||
UNKNOWN = 0,
|
||||
ATTACHMENT_KIND_UNKNOWN = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: ATTACHMENT_KIND_FILE = 1;
|
||||
*/
|
||||
FILE = 1,
|
||||
ATTACHMENT_KIND_FILE = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: ATTACHMENT_KIND_LINK = 2;
|
||||
*/
|
||||
LINK = 2
|
||||
ATTACHMENT_KIND_LINK = 2
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Attachment$Type extends MessageType<Attachment> {
|
||||
@@ -338,7 +338,7 @@ class Attachment$Type extends MessageType<Attachment> {
|
||||
{ no: 5, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the attachment through which it can be downloaded (must be authenticated with a bearer token). In case the Attachment is a link, the URI is the link itself." } } },
|
||||
{ no: 6, name: "MIMEType", kind: "scalar", localName: "MIMEType", jsonName: "MIMEType", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 11, name: "UploadedAt", kind: "scalar", localName: "UploadedAt", jsonName: "UploadedAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" } } },
|
||||
{ no: 12, name: "Kind", kind: "enum", localName: "Kind", jsonName: "Kind", T: () => ["api.AttachmentKind", AttachmentKind, "ATTACHMENT_KIND_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Kind of the attachment (file or link)" } } },
|
||||
{ no: 12, name: "Kind", kind: "enum", localName: "Kind", jsonName: "Kind", T: () => ["api.AttachmentKind", AttachmentKind], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Kind of the attachment (file or link)" } } },
|
||||
{ no: 13, name: "WebURI", kind: "scalar", localName: "WebURI", jsonName: "WebURI", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the attachment through which it can be accessed on an authenticated web app. In case the Attachment is a link, the URI is empty." } } }
|
||||
]);
|
||||
}
|
||||
@@ -1021,7 +1021,7 @@ class ListAttachmentsV2Request$Type extends MessageType<ListAttachmentsV2Request
|
||||
super("api.ListAttachmentsV2Request", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : Identifier of the entity where the attachment is located" } } },
|
||||
{ no: 4, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.EntityType", EntityType, "ENTITY_TYPE_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : Type of the entity where the attachment is located" } } }
|
||||
{ no: 4, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.EntityType", EntityType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : Type of the entity where the attachment is located" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListAttachmentsV2Request>): ListAttachmentsV2Request {
|
||||
|
||||
Reference in New Issue
Block a user