mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-24 13:48:45 +00:00
feat(console): getuserbyid, fix password policy validation, read iam (#233)
* remove displayname, show policy desc on patternerr * provide password complexity string, org create * user getuserbyid in userdetail, remove displayname * show multiple org domains * show zitadel project warnings, read iam * add missing ngondestroy impl
This commit is contained in:
@@ -11,6 +11,9 @@ import * as authoption_options_pb from './authoption/options_pb';
|
||||
import {
|
||||
Org,
|
||||
OrgID,
|
||||
OrgIamPolicy,
|
||||
OrgIamPolicyID,
|
||||
OrgIamPolicyRequest,
|
||||
OrgSearchRequest,
|
||||
OrgSearchResponse,
|
||||
OrgSetUpRequest,
|
||||
@@ -72,6 +75,34 @@ export class AdminServiceClient {
|
||||
response: OrgSetUpResponse) => void
|
||||
): grpcWeb.ClientReadableStream<OrgSetUpResponse>;
|
||||
|
||||
getOrgIamPolicy(
|
||||
request: OrgIamPolicyID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgIamPolicy) => void
|
||||
): grpcWeb.ClientReadableStream<OrgIamPolicy>;
|
||||
|
||||
createOrgIamPolicy(
|
||||
request: OrgIamPolicyRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgIamPolicy) => void
|
||||
): grpcWeb.ClientReadableStream<OrgIamPolicy>;
|
||||
|
||||
updateOrgIamPolicy(
|
||||
request: OrgIamPolicyRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgIamPolicy) => void
|
||||
): grpcWeb.ClientReadableStream<OrgIamPolicy>;
|
||||
|
||||
deleteOrgIamPolicy(
|
||||
request: OrgIamPolicyID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
}
|
||||
|
||||
export class AdminServicePromiseClient {
|
||||
@@ -114,5 +145,25 @@ export class AdminServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgSetUpResponse>;
|
||||
|
||||
getOrgIamPolicy(
|
||||
request: OrgIamPolicyID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgIamPolicy>;
|
||||
|
||||
createOrgIamPolicy(
|
||||
request: OrgIamPolicyRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgIamPolicy>;
|
||||
|
||||
updateOrgIamPolicy(
|
||||
request: OrgIamPolicyRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgIamPolicy>;
|
||||
|
||||
deleteOrgIamPolicy(
|
||||
request: OrgIamPolicyID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -644,5 +644,325 @@ proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.setUpOrg =
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyID,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_GetOrgIamPolicy = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.admin.api.v1.AdminService/GetOrgIamPolicy',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicyID,
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyID,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
*/
|
||||
const methodInfo_AdminService_GetOrgIamPolicy = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.admin.api.v1.OrgIamPolicy)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.admin.api.v1.OrgIamPolicy>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.getOrgIamPolicy =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/GetOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_GetOrgIamPolicy,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.getOrgIamPolicy =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/GetOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_GetOrgIamPolicy);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_CreateOrgIamPolicy = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.admin.api.v1.AdminService/CreateOrgIamPolicy',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest,
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
*/
|
||||
const methodInfo_AdminService_CreateOrgIamPolicy = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.admin.api.v1.OrgIamPolicy)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.admin.api.v1.OrgIamPolicy>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.createOrgIamPolicy =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/CreateOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_CreateOrgIamPolicy,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.createOrgIamPolicy =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/CreateOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_CreateOrgIamPolicy);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_UpdateOrgIamPolicy = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.admin.api.v1.AdminService/UpdateOrgIamPolicy',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest,
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
*/
|
||||
const methodInfo_AdminService_UpdateOrgIamPolicy = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicy.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.admin.api.v1.OrgIamPolicy)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.admin.api.v1.OrgIamPolicy>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.updateOrgIamPolicy =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/UpdateOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_UpdateOrgIamPolicy,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.admin.api.v1.OrgIamPolicy>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.updateOrgIamPolicy =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/UpdateOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_UpdateOrgIamPolicy);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyID,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_DeleteOrgIamPolicy = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.admin.api.v1.AdminService/DeleteOrgIamPolicy',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.admin.api.v1.OrgIamPolicyID,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgIamPolicyID,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodInfo_AdminService_DeleteOrgIamPolicy = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.deleteOrgIamPolicy =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/DeleteOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_DeleteOrgIamPolicy,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgIamPolicyID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.deleteOrgIamPolicy =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.admin.api.v1.AdminService/DeleteOrgIamPolicy',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_DeleteOrgIamPolicy);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.caos.zitadel.admin.api.v1;
|
||||
|
||||
|
||||
+90
-4
@@ -267,9 +267,6 @@ export class CreateUserRequest extends jspb.Message {
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
@@ -320,7 +317,6 @@ export namespace CreateUserRequest {
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
email: string,
|
||||
@@ -460,6 +456,96 @@ export namespace CreateOrgRequest {
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgIamPolicy extends jspb.Message {
|
||||
getOrgId(): string;
|
||||
setOrgId(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getUserLoginMustBeDomain(): boolean;
|
||||
setUserLoginMustBeDomain(value: boolean): void;
|
||||
|
||||
getDefault(): boolean;
|
||||
setDefault(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgIamPolicy.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgIamPolicy): OrgIamPolicy.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgIamPolicy, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgIamPolicy;
|
||||
static deserializeBinaryFromReader(message: OrgIamPolicy, reader: jspb.BinaryReader): OrgIamPolicy;
|
||||
}
|
||||
|
||||
export namespace OrgIamPolicy {
|
||||
export type AsObject = {
|
||||
orgId: string,
|
||||
description: string,
|
||||
userLoginMustBeDomain: boolean,
|
||||
pb_default: boolean,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgIamPolicyRequest extends jspb.Message {
|
||||
getOrgId(): string;
|
||||
setOrgId(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getUserLoginMustBeDomain(): boolean;
|
||||
setUserLoginMustBeDomain(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgIamPolicyRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgIamPolicyRequest): OrgIamPolicyRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgIamPolicyRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgIamPolicyRequest;
|
||||
static deserializeBinaryFromReader(message: OrgIamPolicyRequest, reader: jspb.BinaryReader): OrgIamPolicyRequest;
|
||||
}
|
||||
|
||||
export namespace OrgIamPolicyRequest {
|
||||
export type AsObject = {
|
||||
orgId: string,
|
||||
description: string,
|
||||
userLoginMustBeDomain: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgIamPolicyID extends jspb.Message {
|
||||
getOrgId(): string;
|
||||
setOrgId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgIamPolicyID.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgIamPolicyID): OrgIamPolicyID.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgIamPolicyID, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgIamPolicyID;
|
||||
static deserializeBinaryFromReader(message: OrgIamPolicyID, reader: jspb.BinaryReader): OrgIamPolicyID;
|
||||
}
|
||||
|
||||
export namespace OrgIamPolicyID {
|
||||
export type AsObject = {
|
||||
orgId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export enum OrgState {
|
||||
ORGSTATE_UNSPECIFIED = 0,
|
||||
ORGSTATE_ACTIVE = 1,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+16
-12
@@ -20,11 +20,15 @@ import {
|
||||
UpdateUserPhoneRequest,
|
||||
UpdateUserProfileRequest,
|
||||
UserAddress,
|
||||
UserAddressView,
|
||||
UserEmail,
|
||||
UserEmailView,
|
||||
UserGrantSearchRequest,
|
||||
UserGrantSearchResponse,
|
||||
UserPhone,
|
||||
UserPhoneView,
|
||||
UserProfile,
|
||||
UserProfileView,
|
||||
UserSessionViews,
|
||||
VerifyMfaOtp,
|
||||
VerifyMyUserEmailRequest,
|
||||
@@ -67,8 +71,8 @@ export class AuthServiceClient {
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserProfile) => void
|
||||
): grpcWeb.ClientReadableStream<UserProfile>;
|
||||
response: UserProfileView) => void
|
||||
): grpcWeb.ClientReadableStream<UserProfileView>;
|
||||
|
||||
updateMyUserProfile(
|
||||
request: UpdateUserProfileRequest,
|
||||
@@ -81,8 +85,8 @@ export class AuthServiceClient {
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserEmail) => void
|
||||
): grpcWeb.ClientReadableStream<UserEmail>;
|
||||
response: UserEmailView) => void
|
||||
): grpcWeb.ClientReadableStream<UserEmailView>;
|
||||
|
||||
changeMyUserEmail(
|
||||
request: UpdateUserEmailRequest,
|
||||
@@ -109,8 +113,8 @@ export class AuthServiceClient {
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserPhone) => void
|
||||
): grpcWeb.ClientReadableStream<UserPhone>;
|
||||
response: UserPhoneView) => void
|
||||
): grpcWeb.ClientReadableStream<UserPhoneView>;
|
||||
|
||||
changeMyUserPhone(
|
||||
request: UpdateUserPhoneRequest,
|
||||
@@ -137,8 +141,8 @@ export class AuthServiceClient {
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserAddress) => void
|
||||
): grpcWeb.ClientReadableStream<UserAddress>;
|
||||
response: UserAddressView) => void
|
||||
): grpcWeb.ClientReadableStream<UserAddressView>;
|
||||
|
||||
updateMyUserAddress(
|
||||
request: UpdateUserAddressRequest,
|
||||
@@ -233,7 +237,7 @@ export class AuthServicePromiseClient {
|
||||
getMyUserProfile(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserProfile>;
|
||||
): Promise<UserProfileView>;
|
||||
|
||||
updateMyUserProfile(
|
||||
request: UpdateUserProfileRequest,
|
||||
@@ -243,7 +247,7 @@ export class AuthServicePromiseClient {
|
||||
getMyUserEmail(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserEmail>;
|
||||
): Promise<UserEmailView>;
|
||||
|
||||
changeMyUserEmail(
|
||||
request: UpdateUserEmailRequest,
|
||||
@@ -263,7 +267,7 @@ export class AuthServicePromiseClient {
|
||||
getMyUserPhone(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserPhone>;
|
||||
): Promise<UserPhoneView>;
|
||||
|
||||
changeMyUserPhone(
|
||||
request: UpdateUserPhoneRequest,
|
||||
@@ -283,7 +287,7 @@ export class AuthServicePromiseClient {
|
||||
getMyUserAddress(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserAddress>;
|
||||
): Promise<UserAddressView>;
|
||||
|
||||
updateMyUserAddress(
|
||||
request: UpdateUserAddressRequest,
|
||||
|
||||
@@ -408,13 +408,13 @@ proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.getMyUserSessi
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserProfile>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserProfileView>}
|
||||
*/
|
||||
const methodDescriptor_AuthService_GetMyUserProfile = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.auth.api.v1.AuthService/GetMyUserProfile',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.auth.api.v1.UserProfile,
|
||||
proto.caos.zitadel.auth.api.v1.UserProfileView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -422,7 +422,7 @@ const methodDescriptor_AuthService_GetMyUserProfile = new grpc.web.MethodDescrip
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserProfile.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserProfileView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -430,10 +430,10 @@ const methodDescriptor_AuthService_GetMyUserProfile = new grpc.web.MethodDescrip
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserProfile>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserProfileView>}
|
||||
*/
|
||||
const methodInfo_AuthService_GetMyUserProfile = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.auth.api.v1.UserProfile,
|
||||
proto.caos.zitadel.auth.api.v1.UserProfileView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -441,7 +441,7 @@ const methodInfo_AuthService_GetMyUserProfile = new grpc.web.AbstractClientBase.
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserProfile.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserProfileView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -450,9 +450,9 @@ const methodInfo_AuthService_GetMyUserProfile = new grpc.web.AbstractClientBase.
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserProfile)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserProfileView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserProfile>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserProfileView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserProfile =
|
||||
@@ -471,7 +471,7 @@ proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserProfile =
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserProfile>}
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserProfileView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.getMyUserProfile =
|
||||
@@ -568,13 +568,13 @@ proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.updateMyUserPr
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserEmail>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserEmailView>}
|
||||
*/
|
||||
const methodDescriptor_AuthService_GetMyUserEmail = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.auth.api.v1.AuthService/GetMyUserEmail',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.auth.api.v1.UserEmail,
|
||||
proto.caos.zitadel.auth.api.v1.UserEmailView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -582,7 +582,7 @@ const methodDescriptor_AuthService_GetMyUserEmail = new grpc.web.MethodDescripto
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserEmail.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserEmailView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -590,10 +590,10 @@ const methodDescriptor_AuthService_GetMyUserEmail = new grpc.web.MethodDescripto
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserEmail>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserEmailView>}
|
||||
*/
|
||||
const methodInfo_AuthService_GetMyUserEmail = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.auth.api.v1.UserEmail,
|
||||
proto.caos.zitadel.auth.api.v1.UserEmailView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -601,7 +601,7 @@ const methodInfo_AuthService_GetMyUserEmail = new grpc.web.AbstractClientBase.Me
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserEmail.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserEmailView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -610,9 +610,9 @@ const methodInfo_AuthService_GetMyUserEmail = new grpc.web.AbstractClientBase.Me
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserEmail)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserEmailView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserEmail>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserEmailView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserEmail =
|
||||
@@ -631,7 +631,7 @@ proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserEmail =
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserEmail>}
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserEmailView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.getMyUserEmail =
|
||||
@@ -888,13 +888,13 @@ proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.resendMyEmailV
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserPhone>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserPhoneView>}
|
||||
*/
|
||||
const methodDescriptor_AuthService_GetMyUserPhone = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.auth.api.v1.AuthService/GetMyUserPhone',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.auth.api.v1.UserPhone,
|
||||
proto.caos.zitadel.auth.api.v1.UserPhoneView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -902,7 +902,7 @@ const methodDescriptor_AuthService_GetMyUserPhone = new grpc.web.MethodDescripto
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserPhone.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserPhoneView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -910,10 +910,10 @@ const methodDescriptor_AuthService_GetMyUserPhone = new grpc.web.MethodDescripto
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserPhone>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserPhoneView>}
|
||||
*/
|
||||
const methodInfo_AuthService_GetMyUserPhone = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.auth.api.v1.UserPhone,
|
||||
proto.caos.zitadel.auth.api.v1.UserPhoneView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -921,7 +921,7 @@ const methodInfo_AuthService_GetMyUserPhone = new grpc.web.AbstractClientBase.Me
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserPhone.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserPhoneView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -930,9 +930,9 @@ const methodInfo_AuthService_GetMyUserPhone = new grpc.web.AbstractClientBase.Me
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserPhone)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserPhoneView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserPhone>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserPhoneView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserPhone =
|
||||
@@ -951,7 +951,7 @@ proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserPhone =
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserPhone>}
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserPhoneView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.getMyUserPhone =
|
||||
@@ -1208,13 +1208,13 @@ proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.resendMyPhoneV
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserAddress>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserAddressView>}
|
||||
*/
|
||||
const methodDescriptor_AuthService_GetMyUserAddress = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.auth.api.v1.AuthService/GetMyUserAddress',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.auth.api.v1.UserAddress,
|
||||
proto.caos.zitadel.auth.api.v1.UserAddressView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1222,7 +1222,7 @@ const methodDescriptor_AuthService_GetMyUserAddress = new grpc.web.MethodDescrip
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserAddress.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserAddressView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1230,10 +1230,10 @@ const methodDescriptor_AuthService_GetMyUserAddress = new grpc.web.MethodDescrip
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.UserAddress>}
|
||||
* !proto.caos.zitadel.auth.api.v1.UserAddressView>}
|
||||
*/
|
||||
const methodInfo_AuthService_GetMyUserAddress = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.auth.api.v1.UserAddress,
|
||||
proto.caos.zitadel.auth.api.v1.UserAddressView,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1241,7 +1241,7 @@ const methodInfo_AuthService_GetMyUserAddress = new grpc.web.AbstractClientBase.
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.UserAddress.deserializeBinary
|
||||
proto.caos.zitadel.auth.api.v1.UserAddressView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1250,9 +1250,9 @@ const methodInfo_AuthService_GetMyUserAddress = new grpc.web.AbstractClientBase.
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserAddress)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.UserAddressView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserAddress>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.UserAddressView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserAddress =
|
||||
@@ -1271,7 +1271,7 @@ proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyUserAddress =
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserAddress>}
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.UserAddressView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.getMyUserAddress =
|
||||
|
||||
+218
-2
@@ -152,6 +152,14 @@ export class User extends jspb.Message {
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getLoginNamesList(): Array<string>;
|
||||
setLoginNamesList(value: Array<string>): void;
|
||||
clearLoginNamesList(): void;
|
||||
addLoginNames(value: string, index?: number): void;
|
||||
|
||||
getPreferredLoginName(): string;
|
||||
setPreferredLoginName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): User.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: User): User.AsObject;
|
||||
@@ -187,6 +195,8 @@ export namespace User {
|
||||
streetAddress: string,
|
||||
passwordChangeRequired: boolean,
|
||||
sequence: number,
|
||||
loginNamesList: Array<string>,
|
||||
preferredLoginName: string,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -252,7 +262,13 @@ export namespace UserProfile {
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserProfileRequest extends jspb.Message {
|
||||
export class UserProfileView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getUserName(): string;
|
||||
setUserName(value: string): void;
|
||||
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
@@ -271,6 +287,69 @@ export class UpdateUserProfileRequest extends jspb.Message {
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
getLoginNamesList(): Array<string>;
|
||||
setLoginNamesList(value: Array<string>): void;
|
||||
clearLoginNamesList(): void;
|
||||
addLoginNames(value: string, index?: number): void;
|
||||
|
||||
getPreferredLoginName(): string;
|
||||
setPreferredLoginName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserProfileView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserProfileView): UserProfileView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserProfileView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserProfileView;
|
||||
static deserializeBinaryFromReader(message: UserProfileView, reader: jspb.BinaryReader): UserProfileView;
|
||||
}
|
||||
|
||||
export namespace UserProfileView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
userName: string,
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
loginNamesList: Array<string>,
|
||||
preferredLoginName: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserProfileRequest extends jspb.Message {
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
getLastName(): string;
|
||||
setLastName(value: string): void;
|
||||
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserProfileRequest): UpdateUserProfileRequest.AsObject;
|
||||
@@ -284,7 +363,6 @@ export namespace UpdateUserProfileRequest {
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
}
|
||||
@@ -332,6 +410,48 @@ export namespace UserEmail {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserEmailView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getIsemailverified(): boolean;
|
||||
setIsemailverified(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserEmailView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserEmailView): UserEmailView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserEmailView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserEmailView;
|
||||
static deserializeBinaryFromReader(message: UserEmailView, reader: jspb.BinaryReader): UserEmailView;
|
||||
}
|
||||
|
||||
export namespace UserEmailView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
email: string,
|
||||
isemailverified: boolean,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class VerifyMyUserEmailRequest extends jspb.Message {
|
||||
getCode(): string;
|
||||
setCode(value: string): void;
|
||||
@@ -432,6 +552,48 @@ export namespace UserPhone {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserPhoneView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getPhone(): string;
|
||||
setPhone(value: string): void;
|
||||
|
||||
getIsPhoneVerified(): boolean;
|
||||
setIsPhoneVerified(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserPhoneView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserPhoneView): UserPhoneView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserPhoneView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserPhoneView;
|
||||
static deserializeBinaryFromReader(message: UserPhoneView, reader: jspb.BinaryReader): UserPhoneView;
|
||||
}
|
||||
|
||||
export namespace UserPhoneView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
phone: string,
|
||||
isPhoneVerified: boolean,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserPhoneRequest extends jspb.Message {
|
||||
getPhone(): string;
|
||||
setPhone(value: string): void;
|
||||
@@ -522,6 +684,60 @@ export namespace UserAddress {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserAddressView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getCountry(): string;
|
||||
setCountry(value: string): void;
|
||||
|
||||
getLocality(): string;
|
||||
setLocality(value: string): void;
|
||||
|
||||
getPostalCode(): string;
|
||||
setPostalCode(value: string): void;
|
||||
|
||||
getRegion(): string;
|
||||
setRegion(value: string): void;
|
||||
|
||||
getStreetAddress(): string;
|
||||
setStreetAddress(value: string): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserAddressView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserAddressView): UserAddressView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserAddressView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserAddressView;
|
||||
static deserializeBinaryFromReader(message: UserAddressView, reader: jspb.BinaryReader): UserAddressView;
|
||||
}
|
||||
|
||||
export namespace UserAddressView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
country: string,
|
||||
locality: string,
|
||||
postalCode: string,
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserAddressRequest extends jspb.Message {
|
||||
getCountry(): string;
|
||||
setCountry(value: string): void;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+72
-15
@@ -10,6 +10,7 @@ import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/
|
||||
import * as authoption_options_pb from './authoption/options_pb';
|
||||
|
||||
import {
|
||||
AddOrgDomainRequest,
|
||||
AddOrgMemberRequest,
|
||||
Application,
|
||||
ApplicationID,
|
||||
@@ -24,12 +25,15 @@ import {
|
||||
ClientSecret,
|
||||
CreateUserRequest,
|
||||
GrantedProjectSearchRequest,
|
||||
Iam,
|
||||
MultiFactors,
|
||||
OIDCApplicationCreate,
|
||||
OIDCConfig,
|
||||
OIDCConfigUpdate,
|
||||
Org,
|
||||
OrgDomain,
|
||||
OrgDomainSearchRequest,
|
||||
OrgDomainSearchResponse,
|
||||
OrgID,
|
||||
OrgMember,
|
||||
OrgMemberRoles,
|
||||
@@ -88,6 +92,7 @@ import {
|
||||
ProjectUserGrantID,
|
||||
ProjectUserGrantSearchRequest,
|
||||
ProjectUserGrantUpdate,
|
||||
RemoveOrgDomainRequest,
|
||||
RemoveOrgMemberRequest,
|
||||
SetPasswordNotificationRequest,
|
||||
UniqueUserRequest,
|
||||
@@ -98,8 +103,10 @@ import {
|
||||
UpdateUserProfileRequest,
|
||||
User,
|
||||
UserAddress,
|
||||
UserAddressView,
|
||||
UserEmail,
|
||||
UserEmailID,
|
||||
UserEmailView,
|
||||
UserGrant,
|
||||
UserGrantCreate,
|
||||
UserGrantID,
|
||||
@@ -108,7 +115,9 @@ import {
|
||||
UserGrantUpdate,
|
||||
UserID,
|
||||
UserPhone,
|
||||
UserPhoneView,
|
||||
UserProfile,
|
||||
UserProfileView,
|
||||
UserSearchRequest,
|
||||
UserSearchResponse,
|
||||
UserView} from './management_pb';
|
||||
@@ -139,12 +148,19 @@ export class ManagementServiceClient {
|
||||
response: google_protobuf_struct_pb.Struct) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_struct_pb.Struct>;
|
||||
|
||||
getIam(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Iam) => void
|
||||
): grpcWeb.ClientReadableStream<Iam>;
|
||||
|
||||
getUserByID(
|
||||
request: UserID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: User) => void
|
||||
): grpcWeb.ClientReadableStream<User>;
|
||||
response: UserView) => void
|
||||
): grpcWeb.ClientReadableStream<UserView>;
|
||||
|
||||
getUserByEmailGlobal(
|
||||
request: UserEmailID,
|
||||
@@ -241,8 +257,8 @@ export class ManagementServiceClient {
|
||||
request: UserID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserProfile) => void
|
||||
): grpcWeb.ClientReadableStream<UserProfile>;
|
||||
response: UserProfileView) => void
|
||||
): grpcWeb.ClientReadableStream<UserProfileView>;
|
||||
|
||||
updateUserProfile(
|
||||
request: UpdateUserProfileRequest,
|
||||
@@ -255,8 +271,8 @@ export class ManagementServiceClient {
|
||||
request: UserID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserEmail) => void
|
||||
): grpcWeb.ClientReadableStream<UserEmail>;
|
||||
response: UserEmailView) => void
|
||||
): grpcWeb.ClientReadableStream<UserEmailView>;
|
||||
|
||||
changeUserEmail(
|
||||
request: UpdateUserEmailRequest,
|
||||
@@ -276,8 +292,8 @@ export class ManagementServiceClient {
|
||||
request: UserID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserPhone) => void
|
||||
): grpcWeb.ClientReadableStream<UserPhone>;
|
||||
response: UserPhoneView) => void
|
||||
): grpcWeb.ClientReadableStream<UserPhoneView>;
|
||||
|
||||
changeUserPhone(
|
||||
request: UpdateUserPhoneRequest,
|
||||
@@ -297,8 +313,8 @@ export class ManagementServiceClient {
|
||||
request: UserID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserAddress) => void
|
||||
): grpcWeb.ClientReadableStream<UserAddress>;
|
||||
response: UserAddressView) => void
|
||||
): grpcWeb.ClientReadableStream<UserAddressView>;
|
||||
|
||||
updateUserAddress(
|
||||
request: UpdateUserAddressRequest,
|
||||
@@ -440,6 +456,27 @@ export class ManagementServiceClient {
|
||||
response: Org) => void
|
||||
): grpcWeb.ClientReadableStream<Org>;
|
||||
|
||||
searchMyOrgDomains(
|
||||
request: OrgDomainSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgDomainSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<OrgDomainSearchResponse>;
|
||||
|
||||
addMyOrgDomain(
|
||||
request: AddOrgDomainRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgDomain) => void
|
||||
): grpcWeb.ClientReadableStream<OrgDomain>;
|
||||
|
||||
removeMyOrgDomain(
|
||||
request: RemoveOrgDomainRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getOrgMemberRoles(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
@@ -903,10 +940,15 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_struct_pb.Struct>;
|
||||
|
||||
getIam(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Iam>;
|
||||
|
||||
getUserByID(
|
||||
request: UserID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<User>;
|
||||
): Promise<UserView>;
|
||||
|
||||
getUserByEmailGlobal(
|
||||
request: UserEmailID,
|
||||
@@ -976,7 +1018,7 @@ export class ManagementServicePromiseClient {
|
||||
getUserProfile(
|
||||
request: UserID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserProfile>;
|
||||
): Promise<UserProfileView>;
|
||||
|
||||
updateUserProfile(
|
||||
request: UpdateUserProfileRequest,
|
||||
@@ -986,7 +1028,7 @@ export class ManagementServicePromiseClient {
|
||||
getUserEmail(
|
||||
request: UserID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserEmail>;
|
||||
): Promise<UserEmailView>;
|
||||
|
||||
changeUserEmail(
|
||||
request: UpdateUserEmailRequest,
|
||||
@@ -1001,7 +1043,7 @@ export class ManagementServicePromiseClient {
|
||||
getUserPhone(
|
||||
request: UserID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserPhone>;
|
||||
): Promise<UserPhoneView>;
|
||||
|
||||
changeUserPhone(
|
||||
request: UpdateUserPhoneRequest,
|
||||
@@ -1016,7 +1058,7 @@ export class ManagementServicePromiseClient {
|
||||
getUserAddress(
|
||||
request: UserID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserAddress>;
|
||||
): Promise<UserAddressView>;
|
||||
|
||||
updateUserAddress(
|
||||
request: UpdateUserAddressRequest,
|
||||
@@ -1118,6 +1160,21 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Org>;
|
||||
|
||||
searchMyOrgDomains(
|
||||
request: OrgDomainSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgDomainSearchResponse>;
|
||||
|
||||
addMyOrgDomain(
|
||||
request: AddOrgDomainRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgDomain>;
|
||||
|
||||
removeMyOrgDomain(
|
||||
request: RemoveOrgDomainRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getOrgMemberRoles(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
|
||||
@@ -326,17 +326,97 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.va
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.management.api.v1.Iam>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetIam = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetIam',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.management.api.v1.Iam,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.Iam.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.management.api.v1.Iam>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetIam = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.Iam,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.Iam.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.Iam)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.Iam>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getIam =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetIam',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_GetIam,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.Iam>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.getIam =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetIam',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_GetIam);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.User>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserView>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetUserByID = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetUserByID',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.UserID,
|
||||
proto.caos.zitadel.management.api.v1.User,
|
||||
proto.caos.zitadel.management.api.v1.UserView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -344,7 +424,7 @@ const methodDescriptor_ManagementService_GetUserByID = new grpc.web.MethodDescri
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.User.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -352,10 +432,10 @@ const methodDescriptor_ManagementService_GetUserByID = new grpc.web.MethodDescri
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.User>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserView>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetUserByID = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.User,
|
||||
proto.caos.zitadel.management.api.v1.UserView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -363,7 +443,7 @@ const methodInfo_ManagementService_GetUserByID = new grpc.web.AbstractClientBase
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.User.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -372,9 +452,9 @@ const methodInfo_ManagementService_GetUserByID = new grpc.web.AbstractClientBase
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.User)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.User>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserByID =
|
||||
@@ -393,7 +473,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserBy
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.User>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.getUserByID =
|
||||
@@ -1450,13 +1530,13 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.pr
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserProfile>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserProfileView>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetUserProfile = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetUserProfile',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.UserID,
|
||||
proto.caos.zitadel.management.api.v1.UserProfile,
|
||||
proto.caos.zitadel.management.api.v1.UserProfileView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1464,7 +1544,7 @@ const methodDescriptor_ManagementService_GetUserProfile = new grpc.web.MethodDes
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserProfile.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserProfileView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1472,10 +1552,10 @@ const methodDescriptor_ManagementService_GetUserProfile = new grpc.web.MethodDes
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserProfile>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserProfileView>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetUserProfile = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.UserProfile,
|
||||
proto.caos.zitadel.management.api.v1.UserProfileView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1483,7 +1563,7 @@ const methodInfo_ManagementService_GetUserProfile = new grpc.web.AbstractClientB
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserProfile.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserProfileView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1492,9 +1572,9 @@ const methodInfo_ManagementService_GetUserProfile = new grpc.web.AbstractClientB
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserProfile)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserProfileView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserProfile>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserProfileView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserProfile =
|
||||
@@ -1513,7 +1593,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserPr
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserProfile>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserProfileView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.getUserProfile =
|
||||
@@ -1610,13 +1690,13 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.up
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserEmail>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserEmailView>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetUserEmail = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetUserEmail',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.UserID,
|
||||
proto.caos.zitadel.management.api.v1.UserEmail,
|
||||
proto.caos.zitadel.management.api.v1.UserEmailView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1624,7 +1704,7 @@ const methodDescriptor_ManagementService_GetUserEmail = new grpc.web.MethodDescr
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserEmail.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserEmailView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1632,10 +1712,10 @@ const methodDescriptor_ManagementService_GetUserEmail = new grpc.web.MethodDescr
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserEmail>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserEmailView>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetUserEmail = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.UserEmail,
|
||||
proto.caos.zitadel.management.api.v1.UserEmailView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1643,7 +1723,7 @@ const methodInfo_ManagementService_GetUserEmail = new grpc.web.AbstractClientBas
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserEmail.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserEmailView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1652,9 +1732,9 @@ const methodInfo_ManagementService_GetUserEmail = new grpc.web.AbstractClientBas
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserEmail)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserEmailView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserEmail>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserEmailView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserEmail =
|
||||
@@ -1673,7 +1753,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserEm
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserEmail>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserEmailView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.getUserEmail =
|
||||
@@ -1850,13 +1930,13 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.re
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserPhone>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserPhoneView>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetUserPhone = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetUserPhone',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.UserID,
|
||||
proto.caos.zitadel.management.api.v1.UserPhone,
|
||||
proto.caos.zitadel.management.api.v1.UserPhoneView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1864,7 +1944,7 @@ const methodDescriptor_ManagementService_GetUserPhone = new grpc.web.MethodDescr
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserPhone.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserPhoneView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1872,10 +1952,10 @@ const methodDescriptor_ManagementService_GetUserPhone = new grpc.web.MethodDescr
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserPhone>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserPhoneView>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetUserPhone = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.UserPhone,
|
||||
proto.caos.zitadel.management.api.v1.UserPhoneView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -1883,7 +1963,7 @@ const methodInfo_ManagementService_GetUserPhone = new grpc.web.AbstractClientBas
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserPhone.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserPhoneView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -1892,9 +1972,9 @@ const methodInfo_ManagementService_GetUserPhone = new grpc.web.AbstractClientBas
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserPhone)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserPhoneView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserPhone>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserPhoneView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserPhone =
|
||||
@@ -1913,7 +1993,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserPh
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserPhone>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserPhoneView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.getUserPhone =
|
||||
@@ -2090,13 +2170,13 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.re
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserAddress>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserAddressView>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetUserAddress = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetUserAddress',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.UserID,
|
||||
proto.caos.zitadel.management.api.v1.UserAddress,
|
||||
proto.caos.zitadel.management.api.v1.UserAddressView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -2104,7 +2184,7 @@ const methodDescriptor_ManagementService_GetUserAddress = new grpc.web.MethodDes
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserAddress.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserAddressView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -2112,10 +2192,10 @@ const methodDescriptor_ManagementService_GetUserAddress = new grpc.web.MethodDes
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.UserID,
|
||||
* !proto.caos.zitadel.management.api.v1.UserAddress>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserAddressView>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetUserAddress = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.UserAddress,
|
||||
proto.caos.zitadel.management.api.v1.UserAddressView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -2123,7 +2203,7 @@ const methodInfo_ManagementService_GetUserAddress = new grpc.web.AbstractClientB
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.UserAddress.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserAddressView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -2132,9 +2212,9 @@ const methodInfo_ManagementService_GetUserAddress = new grpc.web.AbstractClientB
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserAddress)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.UserAddressView)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserAddress>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.UserAddressView>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserAddress =
|
||||
@@ -2153,7 +2233,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getUserAd
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserAddress>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.UserAddressView>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.getUserAddress =
|
||||
@@ -3766,6 +3846,246 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.re
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.OrgDomainSearchRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_SearchMyOrgDomains = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchMyOrgDomains',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.OrgDomainSearchRequest,
|
||||
proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.OrgDomainSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.OrgDomainSearchRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse>}
|
||||
*/
|
||||
const methodInfo_ManagementService_SearchMyOrgDomains = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.OrgDomainSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.OrgDomainSearchRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.searchMyOrgDomains =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchMyOrgDomains',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_SearchMyOrgDomains,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.OrgDomainSearchRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.OrgDomainSearchResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.searchMyOrgDomains =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchMyOrgDomains',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_SearchMyOrgDomains);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.AddOrgDomainRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.OrgDomain>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_AddMyOrgDomain = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/AddMyOrgDomain',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.AddOrgDomainRequest,
|
||||
proto.caos.zitadel.management.api.v1.OrgDomain,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.AddOrgDomainRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.OrgDomain.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.AddOrgDomainRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.OrgDomain>}
|
||||
*/
|
||||
const methodInfo_ManagementService_AddMyOrgDomain = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.OrgDomain,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.AddOrgDomainRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.OrgDomain.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.AddOrgDomainRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.OrgDomain)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.OrgDomain>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.addMyOrgDomain =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/AddMyOrgDomain',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_AddMyOrgDomain,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.AddOrgDomainRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.OrgDomain>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.addMyOrgDomain =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/AddMyOrgDomain',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_AddMyOrgDomain);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.RemoveOrgDomainRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_RemoveMyOrgDomain = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/RemoveMyOrgDomain',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.RemoveOrgDomainRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.RemoveOrgDomainRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.RemoveOrgDomainRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodInfo_ManagementService_RemoveMyOrgDomain = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.RemoveOrgDomainRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.RemoveOrgDomainRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.removeMyOrgDomain =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/RemoveMyOrgDomain',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_RemoveMyOrgDomain,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.RemoveOrgDomainRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.removeMyOrgDomain =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/RemoveMyOrgDomain',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_RemoveMyOrgDomain);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
|
||||
+490
-28
@@ -9,10 +9,43 @@ import * as validate_validate_pb from './validate/validate_pb';
|
||||
import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
|
||||
import * as authoption_options_pb from './authoption/options_pb';
|
||||
|
||||
export class Iam extends jspb.Message {
|
||||
getGlobalOrgId(): string;
|
||||
setGlobalOrgId(value: string): void;
|
||||
|
||||
getIamProjectId(): string;
|
||||
setIamProjectId(value: string): void;
|
||||
|
||||
getSetUpDone(): boolean;
|
||||
setSetUpDone(value: boolean): void;
|
||||
|
||||
getSetUpStarted(): boolean;
|
||||
setSetUpStarted(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Iam.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Iam): Iam.AsObject;
|
||||
static serializeBinaryToWriter(message: Iam, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Iam;
|
||||
static deserializeBinaryFromReader(message: Iam, reader: jspb.BinaryReader): Iam;
|
||||
}
|
||||
|
||||
export namespace Iam {
|
||||
export type AsObject = {
|
||||
globalOrgId: string,
|
||||
iamProjectId: string,
|
||||
setUpDone: boolean,
|
||||
setUpStarted: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class ChangeRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getSecId(): string;
|
||||
setSecId(value: string): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
@@ -30,6 +63,7 @@ export class ChangeRequest extends jspb.Message {
|
||||
export namespace ChangeRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
secId: string,
|
||||
limit: number,
|
||||
sequenceOffset: number,
|
||||
}
|
||||
@@ -230,9 +264,6 @@ export class CreateUserRequest extends jspb.Message {
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
@@ -283,7 +314,6 @@ export namespace CreateUserRequest {
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
email: string,
|
||||
@@ -482,6 +512,14 @@ export class UserView extends jspb.Message {
|
||||
getResourceOwner(): string;
|
||||
setResourceOwner(value: string): void;
|
||||
|
||||
getLoginNamesList(): Array<string>;
|
||||
setLoginNamesList(value: Array<string>): void;
|
||||
clearLoginNamesList(): void;
|
||||
addLoginNames(value: string, index?: number): void;
|
||||
|
||||
getPreferredLoginName(): string;
|
||||
setPreferredLoginName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserView): UserView.AsObject;
|
||||
@@ -516,6 +554,8 @@ export namespace UserView {
|
||||
streetAddress: string,
|
||||
sequence: number,
|
||||
resourceOwner: string,
|
||||
loginNamesList: Array<string>,
|
||||
preferredLoginName: string,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -675,7 +715,7 @@ export namespace UserProfile {
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserProfileRequest extends jspb.Message {
|
||||
export class UserProfileView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
@@ -697,6 +737,75 @@ export class UpdateUserProfileRequest extends jspb.Message {
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
getUserName(): string;
|
||||
setUserName(value: string): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
getLoginNamesList(): Array<string>;
|
||||
setLoginNamesList(value: Array<string>): void;
|
||||
clearLoginNamesList(): void;
|
||||
addLoginNames(value: string, index?: number): void;
|
||||
|
||||
getPreferredLoginName(): string;
|
||||
setPreferredLoginName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserProfileView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserProfileView): UserProfileView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserProfileView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserProfileView;
|
||||
static deserializeBinaryFromReader(message: UserProfileView, reader: jspb.BinaryReader): UserProfileView;
|
||||
}
|
||||
|
||||
export namespace UserProfileView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
userName: string,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
loginNamesList: Array<string>,
|
||||
preferredLoginName: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserProfileRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
getLastName(): string;
|
||||
setLastName(value: string): void;
|
||||
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserProfileRequest): UpdateUserProfileRequest.AsObject;
|
||||
@@ -711,7 +820,6 @@ export namespace UpdateUserProfileRequest {
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
}
|
||||
@@ -759,6 +867,48 @@ export namespace UserEmail {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserEmailView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getIsEmailVerified(): boolean;
|
||||
setIsEmailVerified(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserEmailView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserEmailView): UserEmailView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserEmailView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserEmailView;
|
||||
static deserializeBinaryFromReader(message: UserEmailView, reader: jspb.BinaryReader): UserEmailView;
|
||||
}
|
||||
|
||||
export namespace UserEmailView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
email: string,
|
||||
isEmailVerified: boolean,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserEmailRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
@@ -827,6 +977,48 @@ export namespace UserPhone {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserPhoneView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getPhone(): string;
|
||||
setPhone(value: string): void;
|
||||
|
||||
getIsPhoneVerified(): boolean;
|
||||
setIsPhoneVerified(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserPhoneView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserPhoneView): UserPhoneView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserPhoneView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserPhoneView;
|
||||
static deserializeBinaryFromReader(message: UserPhoneView, reader: jspb.BinaryReader): UserPhoneView;
|
||||
}
|
||||
|
||||
export namespace UserPhoneView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
phone: string,
|
||||
isPhoneVerified: boolean,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserPhoneRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
@@ -907,6 +1099,60 @@ export namespace UserAddress {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserAddressView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getCountry(): string;
|
||||
setCountry(value: string): void;
|
||||
|
||||
getLocality(): string;
|
||||
setLocality(value: string): void;
|
||||
|
||||
getPostalCode(): string;
|
||||
setPostalCode(value: string): void;
|
||||
|
||||
getRegion(): string;
|
||||
setRegion(value: string): void;
|
||||
|
||||
getStreetAddress(): string;
|
||||
setStreetAddress(value: string): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserAddressView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserAddressView): UserAddressView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserAddressView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserAddressView;
|
||||
static deserializeBinaryFromReader(message: UserAddressView, reader: jspb.BinaryReader): UserAddressView;
|
||||
}
|
||||
|
||||
export namespace UserAddressView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
country: string,
|
||||
locality: string,
|
||||
postalCode: string,
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserAddressRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
@@ -1505,24 +1751,6 @@ export namespace OrgID {
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomain extends jspb.Message {
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgDomain.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgDomain): OrgDomain.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgDomain, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgDomain;
|
||||
static deserializeBinaryFromReader(message: OrgDomain, reader: jspb.BinaryReader): OrgDomain;
|
||||
}
|
||||
|
||||
export namespace OrgDomain {
|
||||
export type AsObject = {
|
||||
domain: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class Org extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
@@ -1543,9 +1771,6 @@ export class Org extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
@@ -1564,11 +1789,244 @@ export namespace Org {
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
domain: string,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomains extends jspb.Message {
|
||||
getDomainsList(): Array<OrgDomain>;
|
||||
setDomainsList(value: Array<OrgDomain>): void;
|
||||
clearDomainsList(): void;
|
||||
addDomains(value?: OrgDomain, index?: number): OrgDomain;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgDomains.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgDomains): OrgDomains.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgDomains, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgDomains;
|
||||
static deserializeBinaryFromReader(message: OrgDomains, reader: jspb.BinaryReader): OrgDomains;
|
||||
}
|
||||
|
||||
export namespace OrgDomains {
|
||||
export type AsObject = {
|
||||
domainsList: Array<OrgDomain.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomain extends jspb.Message {
|
||||
getOrgId(): string;
|
||||
setOrgId(value: string): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
getVerified(): boolean;
|
||||
setVerified(value: boolean): void;
|
||||
|
||||
getPrimary(): boolean;
|
||||
setPrimary(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgDomain.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgDomain): OrgDomain.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgDomain, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgDomain;
|
||||
static deserializeBinaryFromReader(message: OrgDomain, reader: jspb.BinaryReader): OrgDomain;
|
||||
}
|
||||
|
||||
export namespace OrgDomain {
|
||||
export type AsObject = {
|
||||
orgId: string,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
domain: string,
|
||||
verified: boolean,
|
||||
primary: boolean,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomainView extends jspb.Message {
|
||||
getOrgId(): string;
|
||||
setOrgId(value: string): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
getVerified(): boolean;
|
||||
setVerified(value: boolean): void;
|
||||
|
||||
getPrimary(): boolean;
|
||||
setPrimary(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgDomainView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgDomainView): OrgDomainView.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgDomainView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgDomainView;
|
||||
static deserializeBinaryFromReader(message: OrgDomainView, reader: jspb.BinaryReader): OrgDomainView;
|
||||
}
|
||||
|
||||
export namespace OrgDomainView {
|
||||
export type AsObject = {
|
||||
orgId: string,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
domain: string,
|
||||
verified: boolean,
|
||||
primary: boolean,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class AddOrgDomainRequest extends jspb.Message {
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddOrgDomainRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddOrgDomainRequest): AddOrgDomainRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: AddOrgDomainRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AddOrgDomainRequest;
|
||||
static deserializeBinaryFromReader(message: AddOrgDomainRequest, reader: jspb.BinaryReader): AddOrgDomainRequest;
|
||||
}
|
||||
|
||||
export namespace AddOrgDomainRequest {
|
||||
export type AsObject = {
|
||||
domain: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class RemoveOrgDomainRequest extends jspb.Message {
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RemoveOrgDomainRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RemoveOrgDomainRequest): RemoveOrgDomainRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: RemoveOrgDomainRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RemoveOrgDomainRequest;
|
||||
static deserializeBinaryFromReader(message: RemoveOrgDomainRequest, reader: jspb.BinaryReader): RemoveOrgDomainRequest;
|
||||
}
|
||||
|
||||
export namespace RemoveOrgDomainRequest {
|
||||
export type AsObject = {
|
||||
domain: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomainSearchResponse extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getTotalResult(): number;
|
||||
setTotalResult(value: number): void;
|
||||
|
||||
getResultList(): Array<OrgDomainView>;
|
||||
setResultList(value: Array<OrgDomainView>): void;
|
||||
clearResultList(): void;
|
||||
addResult(value?: OrgDomainView, index?: number): OrgDomainView;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgDomainSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgDomainSearchResponse): OrgDomainSearchResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgDomainSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgDomainSearchResponse;
|
||||
static deserializeBinaryFromReader(message: OrgDomainSearchResponse, reader: jspb.BinaryReader): OrgDomainSearchResponse;
|
||||
}
|
||||
|
||||
export namespace OrgDomainSearchResponse {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
totalResult: number,
|
||||
resultList: Array<OrgDomainView.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomainSearchRequest extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getQueriesList(): Array<OrgDomainSearchQuery>;
|
||||
setQueriesList(value: Array<OrgDomainSearchQuery>): void;
|
||||
clearQueriesList(): void;
|
||||
addQueries(value?: OrgDomainSearchQuery, index?: number): OrgDomainSearchQuery;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgDomainSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgDomainSearchRequest): OrgDomainSearchRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgDomainSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgDomainSearchRequest;
|
||||
static deserializeBinaryFromReader(message: OrgDomainSearchRequest, reader: jspb.BinaryReader): OrgDomainSearchRequest;
|
||||
}
|
||||
|
||||
export namespace OrgDomainSearchRequest {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
queriesList: Array<OrgDomainSearchQuery.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomainSearchQuery extends jspb.Message {
|
||||
getKey(): OrgDomainSearchKey;
|
||||
setKey(value: OrgDomainSearchKey): void;
|
||||
|
||||
getMethod(): SearchMethod;
|
||||
setMethod(value: SearchMethod): void;
|
||||
|
||||
getValue(): string;
|
||||
setValue(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgDomainSearchQuery.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgDomainSearchQuery): OrgDomainSearchQuery.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgDomainSearchQuery, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgDomainSearchQuery;
|
||||
static deserializeBinaryFromReader(message: OrgDomainSearchQuery, reader: jspb.BinaryReader): OrgDomainSearchQuery;
|
||||
}
|
||||
|
||||
export namespace OrgDomainSearchQuery {
|
||||
export type AsObject = {
|
||||
key: OrgDomainSearchKey,
|
||||
method: SearchMethod,
|
||||
value: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgMemberRoles extends jspb.Message {
|
||||
getRolesList(): Array<string>;
|
||||
setRolesList(value: Array<string>): void;
|
||||
@@ -4308,6 +4766,10 @@ export enum OrgState {
|
||||
ORGSTATE_ACTIVE = 1,
|
||||
ORGSTATE_INACTIVE = 2,
|
||||
}
|
||||
export enum OrgDomainSearchKey {
|
||||
ORGDOMAINSEARCHKEY_UNSPECIFIED = 0,
|
||||
ORGDOMAINSEARCHKEY_DOMAIN = 1,
|
||||
}
|
||||
export enum OrgMemberSearchKey {
|
||||
ORGMEMBERSEARCHKEY_UNSPECIFIED = 0,
|
||||
ORGMEMBERSEARCHKEY_FIRST_NAME = 1,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user