diff --git a/attachmentType.ts b/attachmentType.ts index 1c44e1f..b6dede9 100644 --- a/attachmentType.ts +++ b/attachmentType.ts @@ -43,14 +43,6 @@ export interface CreateAttachmentTypeRequest { * @generated from protobuf field: api.SharePolicy SharePolicy = 5 */ SharePolicy: SharePolicy; - /** - * @generated from protobuf field: repeated string ManagerRoles = 6 - */ - ManagerRoles: string[]; - /** - * @generated from protobuf field: repeated string ViewerRoles = 7 - */ - ViewerRoles: string[]; } /** * @generated from protobuf message api.CreateAttachmentTypeResponse @@ -151,14 +143,6 @@ export interface UpdateAttachmentTypeRequest { * @generated from protobuf field: string ID = 6 */ ID: string; - /** - * @generated from protobuf field: repeated string ManagerRoles = 7 - */ - ManagerRoles: string[]; - /** - * @generated from protobuf field: repeated string ViewerRoles = 8 - */ - ViewerRoles: string[]; } /** * @generated from protobuf message api.UpdateAttachmentTypeResponse @@ -237,9 +221,7 @@ class CreateAttachmentTypeRequest$Type extends MessageType ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 4, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } }, - { no: 6, name: "ManagerRoles", kind: "scalar", localName: "ManagerRoles", jsonName: "ManagerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, - { no: 7, name: "ViewerRoles", kind: "scalar", localName: "ViewerRoles", jsonName: "ViewerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } + { no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity", "Label", "SharePolicy"] } } }); } create(value?: PartialMessage): CreateAttachmentTypeRequest { @@ -248,8 +230,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType(this, message, value); return message; @@ -274,12 +254,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 4, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ }, { no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } }, - { no: 6, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } }, - { no: 7, name: "ManagerRoles", kind: "scalar", localName: "ManagerRoles", jsonName: "ManagerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, - { no: 8, name: "ViewerRoles", kind: "scalar", localName: "ViewerRoles", jsonName: "ViewerRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } + { no: 6, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity"] } } }); } create(value?: PartialMessage): UpdateAttachmentTypeRequest { @@ -607,8 +573,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType(this, message, value); return message; @@ -636,12 +600,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType