Latest generation

This commit is contained in:
ci core model
2025-08-19 08:32:31 +00:00
parent b5f4e58159
commit d7e4bc1594
88 changed files with 1012 additions and 1012 deletions

View File

@@ -359,11 +359,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" } } } }
]);
@@ -475,8 +475,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 {
@@ -590,7 +590,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"] } } });
}
@@ -704,9 +704,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 {
@@ -827,8 +827,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 {
@@ -997,7 +997,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 {
@@ -1113,7 +1113,7 @@ class ListAttachmentsOnSiteV2Response$Type extends MessageType<ListAttachmentsOn
constructor() {
super("api.ListAttachmentsOnSiteV2Response", [
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseSiteHeader, 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<ListAttachmentsOnSiteV2Response>): ListAttachmentsOnSiteV2Response {
@@ -1167,8 +1167,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 {
@@ -1229,7 +1229,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 {
@@ -1412,13 +1412,13 @@ export const DeleteAllAttachmentsV2Response = new DeleteAllAttachmentsV2Response
* @generated ServiceType for protobuf service api.AttachmentServiceV2
*/
export const AttachmentServiceV2 = new ServiceType("api.AttachmentServiceV2", [
{ name: "Upload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Upload a document attached to an entity. <br>Must be called using a multipart form-data content type request. <br>Example of curl request : curl -H \"Authorization: $TOKEN\" -F \"Attachment=@path/to/my/file/to/upload\" -F \"EntityRefID=myentityrefid\" -F \"AttachmentTypeID=myattachmenttypeid\" https://$REFLEXPLATFORM_REST_URL/api.AttachmentServiceV2/Upload" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: UploadAttachmentV2Request, O: UploadAttachmentV2Response },
{ name: "AddLink", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Add a link to an entity." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: AddLinkV2Request, O: AddLinkV2Response },
{ name: "Download", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Download a document attached to an entity", consumes: ["application/json"] }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Reader" }, I: DownloadAttachmentV2Request, O: DownloadAttachmentV2Response },
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete a document attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: DeleteAttachmentV2Request, O: DeleteAttachmentV2Response },
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListAttachmentsV2Request, O: ListAttachmentsV2Response },
{ name: "Share", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Share a document attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: ShareAttachmentV2Request, O: ShareAttachmentV2Response },
{ name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion" }, I: DeleteAllAttachmentsV2Request, O: DeleteAllAttachmentsV2Response },
{ name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "" }, I: ListAttachmentsOnSiteV2Request, O: ListAttachmentsOnSiteV2Response },
{ name: "DeleteAllSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Site", "api.roles": "Platform.Site-Deletion" }, I: DeleteAllAttachmentsOnSiteV2Request, O: DeleteAllAttachmentsV2Response }
{ name: "Upload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Upload a document attached to an entity. <br>Must be called using a multipart form-data content type request. <br>Example of curl request : curl -H \"Authorization: $TOKEN\" -F \"Attachment=@path/to/my/file/to/upload\" -F \"EntityRefID=myentityrefid\" -F \"AttachmentTypeID=myattachmenttypeid\" https://$REFLEXPLATFORM_REST_URL/api.AttachmentServiceV2/Upload" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadAttachmentV2Request, O: UploadAttachmentV2Response },
{ name: "AddLink", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Add a link to an entity." }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: AddLinkV2Request, O: AddLinkV2Response },
{ name: "Download", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Download a document attached to an entity", consumes: ["application/json"] }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Reader", "google.api.method_visibility": { restriction: "SDK" } }, I: DownloadAttachmentV2Request, O: DownloadAttachmentV2Response },
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete a document attached to an entity" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAttachmentV2Request, O: DeleteAttachmentV2Response },
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentsV2Request, O: ListAttachmentsV2Response },
{ name: "Share", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Share a document attached to an entity" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: ShareAttachmentV2Request, O: ShareAttachmentV2Response },
{ name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsV2Request, O: DeleteAllAttachmentsV2Response },
{ name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentsOnSiteV2Request, O: ListAttachmentsOnSiteV2Response },
{ name: "DeleteAllSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the site" }, "api.rscType": "Site", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsOnSiteV2Request, O: DeleteAllAttachmentsV2Response }
], { "api.k8sService": "attachment-server" });