You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -316,11 +316,11 @@ class Attachment$Type extends MessageType<Attachment> {
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "AttachmentType", kind: "message", localName: "AttachmentType", jsonName: "AttachmentType", T: () => AttachmentType, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 5, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "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." }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ 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: { "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" }, "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ 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], 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: { "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." }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ 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." } } },
|
||||
{ no: 14, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 15, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
]);
|
||||
@@ -432,8 +432,8 @@ class DownloadAttachmentV2Request$Type extends MessageType<DownloadAttachmentV2R
|
||||
constructor() {
|
||||
super("api.DownloadAttachmentV2Request", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestAttachmentTypeHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "EntityRefID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DownloadAttachmentV2Request>): DownloadAttachmentV2Request {
|
||||
@@ -547,7 +547,7 @@ class UploadAttachmentV2Request$Type extends MessageType<UploadAttachmentV2Reque
|
||||
constructor() {
|
||||
super("api.UploadAttachmentV2Request", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestAttachmentTypeHeader, 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: "Identifier of the entity where the attachment is located" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } },
|
||||
{ no: 4, name: "Attachment", kind: "message", localName: "Attachment", jsonName: "Attachment", T: () => FileDataRequest, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AttachmentTypeID", "EntityRefID", "Attachment"] } } });
|
||||
}
|
||||
@@ -661,9 +661,9 @@ class AddLinkV2Request$Type extends MessageType<AddLinkV2Request> {
|
||||
constructor() {
|
||||
super("api.AddLinkV2Request", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestAttachmentTypeHeader, 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: "Identifier of the entity where the attachment is located" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the link to add to the entity" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI to add to the entity" }, "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } },
|
||||
{ no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the link to add to the entity" } } },
|
||||
{ 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 to add to the entity" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AttachmentTypeID", "EntityRefID", "Name", "URI"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<AddLinkV2Request>): AddLinkV2Request {
|
||||
@@ -784,8 +784,8 @@ class DeleteAttachmentV2Request$Type extends MessageType<DeleteAttachmentV2Reque
|
||||
constructor() {
|
||||
super("api.DeleteAttachmentV2Request", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestAttachmentTypeHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "EntityRefID", "AttachmentTypeID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteAttachmentV2Request>): DeleteAttachmentV2Request {
|
||||
@@ -954,7 +954,7 @@ class ListAttachmentsV2Response$Type extends MessageType<ListAttachmentsV2Respon
|
||||
constructor() {
|
||||
super("api.ListAttachmentsV2Response", [
|
||||
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the response" } } },
|
||||
{ no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Attachment, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of attachments matching to the request" }, "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
{ no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Attachment, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of attachments matching to the request" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListAttachmentsV2Response>): ListAttachmentsV2Response {
|
||||
@@ -1008,8 +1008,8 @@ class ShareAttachmentV2Request$Type extends MessageType<ShareAttachmentV2Request
|
||||
constructor() {
|
||||
super("api.ShareAttachmentV2Request", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestAttachmentTypeHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" } } },
|
||||
{ no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "EntityRefID", "AttachmentTypeID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ShareAttachmentV2Request>): ShareAttachmentV2Request {
|
||||
@@ -1070,7 +1070,7 @@ class ShareAttachmentV2Response$Type extends MessageType<ShareAttachmentV2Respon
|
||||
constructor() {
|
||||
super("api.ShareAttachmentV2Response", [
|
||||
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => AttachmentTypeResponseHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the response" } } },
|
||||
{ no: 1, name: "ShareLink", kind: "scalar", localName: "ShareLink", jsonName: "ShareLink", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Link to access to the attchment if the sharing policy allows to" }, "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ShareLink", kind: "scalar", localName: "ShareLink", jsonName: "ShareLink", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Link to access to the attchment if the sharing policy allows to" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ShareAttachmentV2Response>): ShareAttachmentV2Response {
|
||||
|
||||
Reference in New Issue
Block a user