You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -292,9 +292,9 @@ export const RestrictionLink = new RestrictionLink$Type();
|
||||
class CreateRestrictionLinkRequest$Type extends MessageType<CreateRestrictionLinkRequest> {
|
||||
constructor() {
|
||||
super("api.CreateRestrictionLinkRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "RestrictionID", "TargetID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<CreateRestrictionLinkRequest>): CreateRestrictionLinkRequest {
|
||||
@@ -400,9 +400,9 @@ export const CreateRestrictionLinkResponse = new CreateRestrictionLinkResponse$T
|
||||
class UpdateRestrictionLinkRequest$Type extends MessageType<UpdateRestrictionLinkRequest> {
|
||||
constructor() {
|
||||
super("api.UpdateRestrictionLinkRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "RestrictionID", "TargetID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateRestrictionLinkRequest>): UpdateRestrictionLinkRequest {
|
||||
@@ -508,9 +508,9 @@ export const UpdateRestrictionLinkResponse = new UpdateRestrictionLinkResponse$T
|
||||
class DeleteRestrictionLinkRequest$Type extends MessageType<DeleteRestrictionLinkRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteRestrictionLinkRequest", [
|
||||
{ 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: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "TargetID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteRestrictionLinkRequest>): DeleteRestrictionLinkRequest {
|
||||
@@ -608,9 +608,9 @@ export const DeleteRestrictionLinkResponse = new DeleteRestrictionLinkResponse$T
|
||||
class GetRestrictionLinkRequest$Type extends MessageType<GetRestrictionLinkRequest> {
|
||||
constructor() {
|
||||
super("api.GetRestrictionLinkRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "RestrictionID", "TargetID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetRestrictionLinkRequest>): GetRestrictionLinkRequest {
|
||||
@@ -716,7 +716,7 @@ export const GetRestrictionLinkResponse = new GetRestrictionLinkResponse$Type();
|
||||
class ListRestrictionLinksRequest$Type extends MessageType<ListRestrictionLinksRequest> {
|
||||
constructor() {
|
||||
super("api.ListRestrictionLinksRequest", [
|
||||
{ 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: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "TargetID", kind: "scalar", localName: "TargetID", jsonName: "TargetID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
@@ -825,9 +825,9 @@ export const ListRestrictionLinksResponse = new ListRestrictionLinksResponse$Typ
|
||||
class SetUserActorsRequest$Type extends MessageType<SetUserActorsRequest> {
|
||||
constructor() {
|
||||
super("api.SetUserActorsRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "RestrictionID", kind: "scalar", localName: "RestrictionID", jsonName: "RestrictionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "UserActorIDs", kind: "scalar", localName: "UserActorIDs", jsonName: "UserActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "RestrictionID", "UserID"] } } });
|
||||
}
|
||||
@@ -933,7 +933,7 @@ export const SetUserActorsResponse = new SetUserActorsResponse$Type();
|
||||
class DeleteForProjectRestrictionLinkRequest$Type extends MessageType<DeleteForProjectRestrictionLinkRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteForProjectRestrictionLinkRequest", [
|
||||
{ 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 } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "RestrictionID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteForProjectRestrictionLinkRequest>): DeleteForProjectRestrictionLinkRequest {
|
||||
|
||||
Reference in New Issue
Block a user