You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1335,11 +1335,11 @@ 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" }, "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: "Upload", options: { "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "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" } }, I: UploadAttachmentV2Request, O: UploadAttachmentV2Response },
|
||||
{ name: "AddLink", options: { "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Add a link to an entity." }, "google.api.method_visibility": { restriction: "SDK" } }, I: AddLinkV2Request, O: AddLinkV2Response },
|
||||
{ name: "Download", options: { "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Reader", "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" } }, I: DownloadAttachmentV2Request, O: DownloadAttachmentV2Response },
|
||||
{ name: "Delete", options: { "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete a document attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAttachmentV2Request, O: DeleteAttachmentV2Response },
|
||||
{ name: "List", options: { "api.rscType": "Project", "api.roles": "", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentsV2Request, O: ListAttachmentsV2Response },
|
||||
{ name: "Share", options: { "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Share a document attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" } }, I: ShareAttachmentV2Request, O: ShareAttachmentV2Response },
|
||||
{ name: "DeleteAll", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Deletion", "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" } }, I: DeleteAllAttachmentsV2Request, O: DeleteAllAttachmentsV2Response }
|
||||
], { "api.k8sService": "attachment-server" });
|
||||
|
||||
Reference in New Issue
Block a user