You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -160,7 +160,7 @@ class UserGroup$Type extends MessageType<UserGroup> {
|
||||
super("api.UserGroup", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 4, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "AllowAllRoles", kind: "scalar", localName: "AllowAllRoles", jsonName: "AllowAllRoles", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
@@ -237,9 +237,9 @@ export const UserGroup = new UserGroup$Type();
|
||||
class PutUserGroupsRequest$Type extends MessageType<PutUserGroupsRequest> {
|
||||
constructor() {
|
||||
super("api.PutUserGroupsRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 4, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "AllowAllRoles", kind: "scalar", localName: "AllowAllRoles", jsonName: "AllowAllRoles", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityRefType", "EntityRefID"] } } });
|
||||
@@ -361,9 +361,9 @@ export const PutUserGroupsResult = new PutUserGroupsResult$Type();
|
||||
class GetUserGroupsRequest$Type extends MessageType<GetUserGroupsRequest> {
|
||||
constructor() {
|
||||
super("api.GetUserGroupsRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityRefType", "EntityRefID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetUserGroupsRequest>): GetUserGroupsRequest {
|
||||
@@ -469,9 +469,9 @@ export const GetUserGroupsResult = new GetUserGroupsResult$Type();
|
||||
class DeleteUserGroupsRequest$Type extends MessageType<DeleteUserGroupsRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteUserGroupsRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityRefType", "EntityRefID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteUserGroupsRequest>): DeleteUserGroupsRequest {
|
||||
@@ -569,7 +569,7 @@ export const DeleteUserGroupsResult = new DeleteUserGroupsResult$Type();
|
||||
class ListUserGroupsRequest$Type extends MessageType<ListUserGroupsRequest> {
|
||||
constructor() {
|
||||
super("api.ListUserGroupsRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "EntityRefType", kind: "enum", localName: "EntityRefType", jsonName: "EntityRefType", T: () => ["api.EntityRefType", EntityRefType] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user