You've already forked npm-core-sdk
Latest generation
This commit is contained in:
26
user.ts
26
user.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name,keep_enum_prefix
|
||||
// @generated from protobuf file "user.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -1257,29 +1257,29 @@ export enum UserStatus {
|
||||
/**
|
||||
* @generated from protobuf enum value: USER_STATUS_UNKNOWN = 0;
|
||||
*/
|
||||
UNKNOWN = 0,
|
||||
USER_STATUS_UNKNOWN = 0,
|
||||
/**
|
||||
* Email not yet verified
|
||||
*
|
||||
* @generated from protobuf enum value: USER_STATUS_PENDING = 10;
|
||||
*/
|
||||
PENDING = 10,
|
||||
USER_STATUS_PENDING = 10,
|
||||
/**
|
||||
* Email invitation expired
|
||||
*
|
||||
* @generated from protobuf enum value: USER_STATUS_EXPIRED = 11;
|
||||
*/
|
||||
EXPIRED = 11,
|
||||
USER_STATUS_EXPIRED = 11,
|
||||
/**
|
||||
* Email verified, user active
|
||||
*
|
||||
* @generated from protobuf enum value: USER_STATUS_ACTIVE = 20;
|
||||
*/
|
||||
ACTIVE = 20,
|
||||
USER_STATUS_ACTIVE = 20,
|
||||
/**
|
||||
* @generated from protobuf enum value: USER_STATUS_DISABLED = 30;
|
||||
*/
|
||||
DISABLED = 30
|
||||
USER_STATUS_DISABLED = 30
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.UserType
|
||||
@@ -1288,15 +1288,15 @@ export enum UserType {
|
||||
/**
|
||||
* @generated from protobuf enum value: USER_TYPE_UNKNOWN = 0;
|
||||
*/
|
||||
UNKNOWN = 0,
|
||||
USER_TYPE_UNKNOWN = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: USER_TYPE_USER = 10;
|
||||
*/
|
||||
USER = 10,
|
||||
USER_TYPE_USER = 10,
|
||||
/**
|
||||
* @generated from protobuf enum value: USER_TYPE_SERVICE_ACCOUNT = 20;
|
||||
*/
|
||||
SERVICE_ACCOUNT = 20
|
||||
USER_TYPE_SERVICE_ACCOUNT = 20
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class User$Type extends MessageType<User> {
|
||||
@@ -1308,9 +1308,9 @@ class User$Type extends MessageType<User> {
|
||||
{ no: 4, name: "Mail", kind: "scalar", localName: "Mail", jsonName: "Mail", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "LanguageCode", kind: "scalar", localName: "LanguageCode", jsonName: "LanguageCode", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "TimezoneCode", kind: "scalar", localName: "TimezoneCode", jsonName: "TimezoneCode", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "Status", kind: "enum", localName: "Status", jsonName: "Status", T: () => ["api.UserStatus", UserStatus, "USER_STATUS_"] },
|
||||
{ no: 10, name: "Status", kind: "enum", localName: "Status", jsonName: "Status", T: () => ["api.UserStatus", UserStatus] },
|
||||
{ no: 11, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" } } },
|
||||
{ no: 12, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.UserType", UserType, "USER_TYPE_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of the user, could be a Service Account or a normal User" } } },
|
||||
{ no: 12, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.UserType", UserType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of the user, could be a Service Account or a normal User" } } },
|
||||
{ no: 13, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If the user is a Service Account, the PartnerAppID is the ID of the partner app it belongs to, empty otherwise" } } },
|
||||
{ no: 14, name: "ExpiresAt", kind: "scalar", localName: "ExpiresAt", jsonName: "ExpiresAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format ; only for Service Accounts, empty otherwise" } } },
|
||||
{ no: 15, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The Partner ID the user belongs to. If empty, the user is not affiliated to a partner" } } },
|
||||
@@ -5356,11 +5356,11 @@ class FindUsersFilters$Type extends MessageType<FindUsersFilters> {
|
||||
constructor() {
|
||||
super("api.FindUsersFilters", [
|
||||
{ no: 1, name: "Mail", kind: "scalar", localName: "Mail", jsonName: "Mail", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Status", kind: "enum", localName: "Status", jsonName: "Status", T: () => ["api.UserStatus", UserStatus, "USER_STATUS_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 2, name: "Status", kind: "enum", localName: "Status", jsonName: "Status", T: () => ["api.UserStatus", UserStatus], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "FirstName", kind: "scalar", localName: "FirstName", jsonName: "FirstName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "LastName", kind: "scalar", localName: "LastName", jsonName: "LastName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "LanguageCode", kind: "scalar", localName: "LanguageCode", jsonName: "LanguageCode", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.UserType", UserType, "USER_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.UserType", UserType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 7, name: "Limit", kind: "scalar", localName: "Limit", jsonName: "Limit", T: 5 /*ScalarType.INT32*/ }
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user