You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -43,14 +43,6 @@ export interface CreateAttachmentTypeRequest {
|
|||||||
* @generated from protobuf field: api.SharePolicy SharePolicy = 5
|
* @generated from protobuf field: api.SharePolicy SharePolicy = 5
|
||||||
*/
|
*/
|
||||||
SharePolicy: SharePolicy;
|
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
|
* @generated from protobuf message api.CreateAttachmentTypeResponse
|
||||||
@@ -151,14 +143,6 @@ export interface UpdateAttachmentTypeRequest {
|
|||||||
* @generated from protobuf field: string ID = 6
|
* @generated from protobuf field: string ID = 6
|
||||||
*/
|
*/
|
||||||
ID: string;
|
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
|
* @generated from protobuf message api.UpdateAttachmentTypeResponse
|
||||||
@@ -237,9 +221,7 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
|
|||||||
{ no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9-]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } },
|
{ no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9-]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } },
|
||||||
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity", "Label", "SharePolicy"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity", "Label", "SharePolicy"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<CreateAttachmentTypeRequest>): CreateAttachmentTypeRequest {
|
create(value?: PartialMessage<CreateAttachmentTypeRequest>): CreateAttachmentTypeRequest {
|
||||||
@@ -248,8 +230,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
|
|||||||
message.Entity = 0;
|
message.Entity = 0;
|
||||||
message.Label = "";
|
message.Label = "";
|
||||||
message.SharePolicy = 0;
|
message.SharePolicy = 0;
|
||||||
message.ManagerRoles = [];
|
|
||||||
message.ViewerRoles = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<CreateAttachmentTypeRequest>(this, message, value);
|
reflectionMergePartial<CreateAttachmentTypeRequest>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -274,12 +254,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
|
|||||||
case /* api.SharePolicy SharePolicy */ 5:
|
case /* api.SharePolicy SharePolicy */ 5:
|
||||||
message.SharePolicy = reader.int32();
|
message.SharePolicy = reader.int32();
|
||||||
break;
|
break;
|
||||||
case /* repeated string ManagerRoles */ 6:
|
|
||||||
message.ManagerRoles.push(reader.string());
|
|
||||||
break;
|
|
||||||
case /* repeated string ViewerRoles */ 7:
|
|
||||||
message.ViewerRoles.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -307,12 +281,6 @@ class CreateAttachmentTypeRequest$Type extends MessageType<CreateAttachmentTypeR
|
|||||||
/* api.SharePolicy SharePolicy = 5; */
|
/* api.SharePolicy SharePolicy = 5; */
|
||||||
if (message.SharePolicy !== 0)
|
if (message.SharePolicy !== 0)
|
||||||
writer.tag(5, WireType.Varint).int32(message.SharePolicy);
|
writer.tag(5, WireType.Varint).int32(message.SharePolicy);
|
||||||
/* repeated string ManagerRoles = 6; */
|
|
||||||
for (let i = 0; i < message.ManagerRoles.length; i++)
|
|
||||||
writer.tag(6, WireType.LengthDelimited).string(message.ManagerRoles[i]);
|
|
||||||
/* repeated string ViewerRoles = 7; */
|
|
||||||
for (let i = 0; i < message.ViewerRoles.length; i++)
|
|
||||||
writer.tag(7, WireType.LengthDelimited).string(message.ViewerRoles[i]);
|
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
@@ -595,9 +563,7 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
|
|||||||
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||||
{ no: 4, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<UpdateAttachmentTypeRequest>): UpdateAttachmentTypeRequest {
|
create(value?: PartialMessage<UpdateAttachmentTypeRequest>): UpdateAttachmentTypeRequest {
|
||||||
@@ -607,8 +573,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
|
|||||||
message.Label = "";
|
message.Label = "";
|
||||||
message.SharePolicy = 0;
|
message.SharePolicy = 0;
|
||||||
message.ID = "";
|
message.ID = "";
|
||||||
message.ManagerRoles = [];
|
|
||||||
message.ViewerRoles = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<UpdateAttachmentTypeRequest>(this, message, value);
|
reflectionMergePartial<UpdateAttachmentTypeRequest>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -636,12 +600,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
|
|||||||
case /* string ID */ 6:
|
case /* string ID */ 6:
|
||||||
message.ID = reader.string();
|
message.ID = reader.string();
|
||||||
break;
|
break;
|
||||||
case /* repeated string ManagerRoles */ 7:
|
|
||||||
message.ManagerRoles.push(reader.string());
|
|
||||||
break;
|
|
||||||
case /* repeated string ViewerRoles */ 8:
|
|
||||||
message.ViewerRoles.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -672,12 +630,6 @@ class UpdateAttachmentTypeRequest$Type extends MessageType<UpdateAttachmentTypeR
|
|||||||
/* string ID = 6; */
|
/* string ID = 6; */
|
||||||
if (message.ID !== "")
|
if (message.ID !== "")
|
||||||
writer.tag(6, WireType.LengthDelimited).string(message.ID);
|
writer.tag(6, WireType.LengthDelimited).string(message.ID);
|
||||||
/* repeated string ManagerRoles = 7; */
|
|
||||||
for (let i = 0; i < message.ManagerRoles.length; i++)
|
|
||||||
writer.tag(7, WireType.LengthDelimited).string(message.ManagerRoles[i]);
|
|
||||||
/* repeated string ViewerRoles = 8; */
|
|
||||||
for (let i = 0; i < message.ViewerRoles.length; i++)
|
|
||||||
writer.tag(8, WireType.LengthDelimited).string(message.ViewerRoles[i]);
|
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.13.0-SNAPSHOT-260309102925",
|
"version": "1.13.0-SNAPSHOT-260309104423",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user