You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "user-attributes.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -159,7 +159,7 @@ class UserAttribute$Type extends MessageType<UserAttribute> {
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 1 /*RepeatType.PACKED*/, T: () => RestrictionActorIDs }
|
||||
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionActorIDs }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UserAttribute>): UserAttribute {
|
||||
@@ -385,7 +385,7 @@ class PutUserAttributesRequest$Type extends MessageType<PutUserAttributesRequest
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 1 /*RepeatType.PACKED*/, T: () => RestrictionActorIDs }
|
||||
{ no: 4, name: "RestrictionActorIDs", kind: "message", localName: "RestrictionActorIDs", jsonName: "RestrictionActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RestrictionActorIDs }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "UserID", "PartnerID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<PutUserAttributesRequest>): PutUserAttributesRequest {
|
||||
@@ -644,7 +644,7 @@ export const ListUserAttributesRequest = new ListUserAttributesRequest$Type();
|
||||
class ListUserAttributesResult$Type extends MessageType<ListUserAttributesResult> {
|
||||
constructor() {
|
||||
super("api.ListUserAttributesResult", [
|
||||
{ no: 1, name: "UserAttributes", kind: "message", localName: "UserAttributes", jsonName: "UserAttributes", repeat: 1 /*RepeatType.PACKED*/, T: () => UserAttribute }
|
||||
{ no: 1, name: "UserAttributes", kind: "message", localName: "UserAttributes", jsonName: "UserAttributes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UserAttribute }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListUserAttributesResult>): ListUserAttributesResult {
|
||||
|
||||
Reference in New Issue
Block a user