mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-31 03:22:15 +00:00
feat(console): integrate frontend (#95)
* feat: console frontend * chore(dependabot): cycle and npm * chore: rename citadel to zitadel, remove generated files * chore: delete go files * chore(frontend): ci steps * chore: remove docker and envoy files * chore: remove docker file * chore: working dir * chore: run proto build * add console start * chore: restructure folders * chore: remove gui build * statikFs * generate proto for console * add statik import * import * chore: try statik * chore: path * chore: path * chore: script in root * chore: order build steps * chore: go get * chore: folder traversal * chore: non empty test file * chore: gitignore * chore: gitignore * chore: statik path * chore: switch to failing FE build * fix: build * fix: project-grant-test * fix: rm test * add statik.go * go mod tidy * chore: place test, seperate test from build * chore: lint all the world * chore: ci the world instead * chore: tune docker * chore: undo container test * chore: fix run * chore: docker build * chore: test docker build * chore: go build flags * finaly * fix caos_local * go mod Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: Max Peintner <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
Max Peintner
parent
9e32740eb8
commit
92a294f5c8
@@ -0,0 +1,118 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as google_api_annotations_pb from './google/api/annotations_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
||||
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
||||
import * as validate_validate_pb from './validate/validate_pb';
|
||||
import * as protoc$gen$swagger_options_annotations_pb from './protoc-gen-swagger/options/annotations_pb';
|
||||
import * as authoption_options_pb from './authoption/options_pb';
|
||||
|
||||
import {
|
||||
Org,
|
||||
OrgID,
|
||||
OrgSearchRequest,
|
||||
OrgSearchResponse,
|
||||
OrgSetUpRequest,
|
||||
OrgSetUpResponse,
|
||||
UniqueOrgRequest,
|
||||
UniqueOrgResponse} from './admin_pb';
|
||||
|
||||
export class AdminServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: string; });
|
||||
|
||||
healthz(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
ready(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
validate(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_struct_pb.Struct) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_struct_pb.Struct>;
|
||||
|
||||
isOrgUnique(
|
||||
request: UniqueOrgRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UniqueOrgResponse) => void
|
||||
): grpcWeb.ClientReadableStream<UniqueOrgResponse>;
|
||||
|
||||
getOrgByID(
|
||||
request: OrgID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Org) => void
|
||||
): grpcWeb.ClientReadableStream<Org>;
|
||||
|
||||
searchOrgs(
|
||||
request: OrgSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<OrgSearchResponse>;
|
||||
|
||||
setUpOrg(
|
||||
request: OrgSetUpRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgSetUpResponse) => void
|
||||
): grpcWeb.ClientReadableStream<OrgSetUpResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class AdminServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: string; });
|
||||
|
||||
healthz(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
ready(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
validate(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_struct_pb.Struct>;
|
||||
|
||||
isOrgUnique(
|
||||
request: UniqueOrgRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UniqueOrgResponse>;
|
||||
|
||||
getOrgByID(
|
||||
request: OrgID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Org>;
|
||||
|
||||
searchOrgs(
|
||||
request: OrgSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgSearchResponse>;
|
||||
|
||||
setUpOrg(
|
||||
request: OrgSetUpRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgSetUpResponse>;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,647 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for zitadel.admin.api.v1
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
var google_api_annotations_pb = require('./google/api/annotations_pb.js')
|
||||
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
||||
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
||||
|
||||
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
||||
|
||||
var validate_validate_pb = require('./validate/validate_pb.js')
|
||||
|
||||
var protoc$gen$swagger_options_annotations_pb = require('./protoc-gen-swagger/options/annotations_pb.js')
|
||||
|
||||
var authoption_options_pb = require('./authoption/options_pb.js')
|
||||
const proto = {};
|
||||
proto.zitadel = {};
|
||||
proto.zitadel.admin = {};
|
||||
proto.zitadel.admin.api = {};
|
||||
proto.zitadel.admin.api.v1 = require('./admin_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?Object} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options['format'] = 'binary';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname;
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?Object} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options['format'] = 'binary';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname;
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_Healthz = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/Healthz',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodInfo_AdminService_Healthz = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.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.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.healthz =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Healthz',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Healthz,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} 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.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.healthz =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Healthz',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Healthz);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_Ready = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/Ready',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodInfo_AdminService_Ready = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.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.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.ready =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Ready',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Ready,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} 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.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.ready =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Ready',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Ready);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.google.protobuf.Struct>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_Validate = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/Validate',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
google_protobuf_struct_pb.Struct,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_struct_pb.Struct.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.google.protobuf.Struct>}
|
||||
*/
|
||||
const methodInfo_AdminService_Validate = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
google_protobuf_struct_pb.Struct,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_struct_pb.Struct.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.google.protobuf.Struct)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Struct>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.validate =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Validate',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Validate,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Struct>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.validate =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Validate',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Validate);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_IsOrgUnique = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
*/
|
||||
const methodInfo_AdminService_IsOrgUnique = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.zitadel.admin.api.v1.UniqueOrgResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.UniqueOrgResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.isOrgUnique =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_IsOrgUnique,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.isOrgUnique =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_IsOrgUnique);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.OrgID,
|
||||
* !proto.zitadel.admin.api.v1.Org>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_GetOrgByID = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.OrgID,
|
||||
proto.zitadel.admin.api.v1.Org,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.Org.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.OrgID,
|
||||
* !proto.zitadel.admin.api.v1.Org>}
|
||||
*/
|
||||
const methodInfo_AdminService_GetOrgByID = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.Org,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.Org.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.zitadel.admin.api.v1.Org)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.Org>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.getOrgByID =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_GetOrgByID,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.zitadel.admin.api.v1.Org>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.getOrgByID =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_GetOrgByID);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_SearchOrgs = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
*/
|
||||
const methodInfo_AdminService_SearchOrgs = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.zitadel.admin.api.v1.OrgSearchResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.OrgSearchResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.searchOrgs =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SearchOrgs,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.searchOrgs =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SearchOrgs);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_SetUpOrg = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
*/
|
||||
const methodInfo_AdminService_SetUpOrg = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.zitadel.admin.api.v1.OrgSetUpResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.OrgSetUpResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.setUpOrg =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SetUpOrg,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.setUpOrg =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SetUpOrg);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.zitadel.admin.api.v1;
|
||||
|
||||
+457
@@ -0,0 +1,457 @@
|
||||
import * as jspb from "google-protobuf"
|
||||
|
||||
import * as google_api_annotations_pb from './google/api/annotations_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
||||
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
||||
import * as validate_validate_pb from './validate/validate_pb';
|
||||
import * as protoc$gen$swagger_options_annotations_pb from './protoc-gen-swagger/options/annotations_pb';
|
||||
import * as authoption_options_pb from './authoption/options_pb';
|
||||
|
||||
export class OrgID extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgID.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgID): OrgID.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgID, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgID;
|
||||
static deserializeBinaryFromReader(message: OrgID, reader: jspb.BinaryReader): OrgID;
|
||||
}
|
||||
|
||||
export namespace OrgID {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UniqueOrgRequest extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UniqueOrgRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UniqueOrgRequest): UniqueOrgRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: UniqueOrgRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UniqueOrgRequest;
|
||||
static deserializeBinaryFromReader(message: UniqueOrgRequest, reader: jspb.BinaryReader): UniqueOrgRequest;
|
||||
}
|
||||
|
||||
export namespace UniqueOrgRequest {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
domain: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UniqueOrgResponse extends jspb.Message {
|
||||
getIsUnique(): boolean;
|
||||
setIsUnique(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UniqueOrgResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UniqueOrgResponse): UniqueOrgResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: UniqueOrgResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UniqueOrgResponse;
|
||||
static deserializeBinaryFromReader(message: UniqueOrgResponse, reader: jspb.BinaryReader): UniqueOrgResponse;
|
||||
}
|
||||
|
||||
export namespace UniqueOrgResponse {
|
||||
export type AsObject = {
|
||||
isUnique: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class Org extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getState(): OrgState;
|
||||
setState(value: OrgState): 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;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Org.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Org): Org.AsObject;
|
||||
static serializeBinaryToWriter(message: Org, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Org;
|
||||
static deserializeBinaryFromReader(message: Org, reader: jspb.BinaryReader): Org;
|
||||
}
|
||||
|
||||
export namespace Org {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
state: OrgState,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
domain: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgSearchRequest extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getSortingColumn(): OrgSearchKey;
|
||||
setSortingColumn(value: OrgSearchKey): void;
|
||||
|
||||
getAsc(): boolean;
|
||||
setAsc(value: boolean): void;
|
||||
|
||||
getQueriesList(): Array<OrgSearchQuery>;
|
||||
setQueriesList(value: Array<OrgSearchQuery>): void;
|
||||
clearQueriesList(): void;
|
||||
addQueries(value?: OrgSearchQuery, index?: number): OrgSearchQuery;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgSearchRequest): OrgSearchRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgSearchRequest;
|
||||
static deserializeBinaryFromReader(message: OrgSearchRequest, reader: jspb.BinaryReader): OrgSearchRequest;
|
||||
}
|
||||
|
||||
export namespace OrgSearchRequest {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
sortingColumn: OrgSearchKey,
|
||||
asc: boolean,
|
||||
queriesList: Array<OrgSearchQuery.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgSearchQuery extends jspb.Message {
|
||||
getKey(): OrgSearchKey;
|
||||
setKey(value: OrgSearchKey): void;
|
||||
|
||||
getMethod(): OrgSearchMethod;
|
||||
setMethod(value: OrgSearchMethod): void;
|
||||
|
||||
getValue(): string;
|
||||
setValue(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgSearchQuery.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgSearchQuery): OrgSearchQuery.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgSearchQuery, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgSearchQuery;
|
||||
static deserializeBinaryFromReader(message: OrgSearchQuery, reader: jspb.BinaryReader): OrgSearchQuery;
|
||||
}
|
||||
|
||||
export namespace OrgSearchQuery {
|
||||
export type AsObject = {
|
||||
key: OrgSearchKey,
|
||||
method: OrgSearchMethod,
|
||||
value: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgSearchResponse extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getTotalResult(): number;
|
||||
setTotalResult(value: number): void;
|
||||
|
||||
getResultList(): Array<Org>;
|
||||
setResultList(value: Array<Org>): void;
|
||||
clearResultList(): void;
|
||||
addResult(value?: Org, index?: number): Org;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgSearchResponse): OrgSearchResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgSearchResponse;
|
||||
static deserializeBinaryFromReader(message: OrgSearchResponse, reader: jspb.BinaryReader): OrgSearchResponse;
|
||||
}
|
||||
|
||||
export namespace OrgSearchResponse {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
totalResult: number,
|
||||
resultList: Array<Org.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgSetUpRequest extends jspb.Message {
|
||||
getOrg(): CreateOrgRequest | undefined;
|
||||
setOrg(value?: CreateOrgRequest): void;
|
||||
hasOrg(): boolean;
|
||||
clearOrg(): void;
|
||||
|
||||
getUser(): RegisterUserRequest | undefined;
|
||||
setUser(value?: RegisterUserRequest): void;
|
||||
hasUser(): boolean;
|
||||
clearUser(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgSetUpRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgSetUpRequest): OrgSetUpRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgSetUpRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgSetUpRequest;
|
||||
static deserializeBinaryFromReader(message: OrgSetUpRequest, reader: jspb.BinaryReader): OrgSetUpRequest;
|
||||
}
|
||||
|
||||
export namespace OrgSetUpRequest {
|
||||
export type AsObject = {
|
||||
org?: CreateOrgRequest.AsObject,
|
||||
user?: RegisterUserRequest.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgSetUpResponse extends jspb.Message {
|
||||
getOrg(): Org | undefined;
|
||||
setOrg(value?: Org): void;
|
||||
hasOrg(): boolean;
|
||||
clearOrg(): void;
|
||||
|
||||
getUser(): User | undefined;
|
||||
setUser(value?: User): void;
|
||||
hasUser(): boolean;
|
||||
clearUser(): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgSetUpResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgSetUpResponse): OrgSetUpResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgSetUpResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgSetUpResponse;
|
||||
static deserializeBinaryFromReader(message: OrgSetUpResponse, reader: jspb.BinaryReader): OrgSetUpResponse;
|
||||
}
|
||||
|
||||
export namespace OrgSetUpResponse {
|
||||
export type AsObject = {
|
||||
org?: Org.AsObject,
|
||||
user?: User.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class RegisterUserRequest extends jspb.Message {
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
getLastName(): string;
|
||||
setLastName(value: string): void;
|
||||
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
getOrgId(): string;
|
||||
setOrgId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RegisterUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RegisterUserRequest): RegisterUserRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: RegisterUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RegisterUserRequest;
|
||||
static deserializeBinaryFromReader(message: RegisterUserRequest, reader: jspb.BinaryReader): RegisterUserRequest;
|
||||
}
|
||||
|
||||
export namespace RegisterUserRequest {
|
||||
export type AsObject = {
|
||||
email: string,
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
password: string,
|
||||
orgId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class User extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getState(): UserState;
|
||||
setState(value: UserState): 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;
|
||||
|
||||
getUserName(): string;
|
||||
setUserName(value: string): void;
|
||||
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
getLastName(): string;
|
||||
setLastName(value: string): void;
|
||||
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getIsemailverified(): boolean;
|
||||
setIsemailverified(value: boolean): void;
|
||||
|
||||
getPhone(): string;
|
||||
setPhone(value: string): void;
|
||||
|
||||
getIsphoneverified(): boolean;
|
||||
setIsphoneverified(value: boolean): 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;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): User.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: User): User.AsObject;
|
||||
static serializeBinaryToWriter(message: User, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): User;
|
||||
static deserializeBinaryFromReader(message: User, reader: jspb.BinaryReader): User;
|
||||
}
|
||||
|
||||
export namespace User {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
state: UserState,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
userName: string,
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
email: string,
|
||||
isemailverified: boolean,
|
||||
phone: string,
|
||||
isphoneverified: boolean,
|
||||
country: string,
|
||||
locality: string,
|
||||
postalCode: string,
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateOrgRequest extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateOrgRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateOrgRequest): CreateOrgRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: CreateOrgRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateOrgRequest;
|
||||
static deserializeBinaryFromReader(message: CreateOrgRequest, reader: jspb.BinaryReader): CreateOrgRequest;
|
||||
}
|
||||
|
||||
export namespace CreateOrgRequest {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
domain: string,
|
||||
}
|
||||
}
|
||||
|
||||
export enum OrgState {
|
||||
ORGSTATE_UNSPECIFIED = 0,
|
||||
ORGSTATE_ACTIVE = 1,
|
||||
ORGSTATE_INACTIVE = 2,
|
||||
}
|
||||
export enum OrgSearchKey {
|
||||
ORGSEARCHKEY_UNSPECIFIED = 0,
|
||||
ORGSEARCHKEY_ORG_NAME = 1,
|
||||
ORGSEARCHKEY_DOMAIN = 2,
|
||||
ORGSEARCHKEY_STATE = 3,
|
||||
}
|
||||
export enum OrgSearchMethod {
|
||||
ORGSEARCHMETHOD_EQUALS = 0,
|
||||
ORGSEARCHMETHOD_STARTS_WITH = 1,
|
||||
ORGSEARCHMETHOD_CONTAINS = 2,
|
||||
}
|
||||
export enum UserState {
|
||||
USERSTATE_UNSPECIFIED = 0,
|
||||
USERSTATE_ACTIVE = 1,
|
||||
USERSTATE_INACTIVE = 2,
|
||||
USERSTATE_DELETED = 3,
|
||||
USERSTATE_LOCKED = 4,
|
||||
USERSTATE_SUSPEND = 5,
|
||||
USERSTATE_INITIAL = 6,
|
||||
}
|
||||
export enum Gender {
|
||||
GENDER_UNSPECIFIED = 0,
|
||||
GENDER_FEMALE = 1,
|
||||
GENDER_MALE = 2,
|
||||
GENDER_DIVERSE = 3,
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,346 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as google_api_annotations_pb from './google/api/annotations_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
||||
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
||||
import * as validate_validate_pb from './validate/validate_pb';
|
||||
import * as protoc$gen$swagger_options_annotations_pb from './protoc-gen-swagger/options/annotations_pb';
|
||||
import * as authoption_options_pb from './authoption/options_pb';
|
||||
|
||||
import {
|
||||
IsAdminResponse,
|
||||
MfaOtpResponse,
|
||||
MultiFactors,
|
||||
MyPermissions,
|
||||
MyProjectOrgSearchRequest,
|
||||
MyProjectOrgSearchResponse,
|
||||
PasswordChange,
|
||||
PasswordRequest,
|
||||
UpdateUserAddressRequest,
|
||||
UpdateUserEmailRequest,
|
||||
UpdateUserPhoneRequest,
|
||||
UpdateUserProfileRequest,
|
||||
UserAddress,
|
||||
UserEmail,
|
||||
UserPhone,
|
||||
UserProfile,
|
||||
UserSessionViews,
|
||||
VerifyMfaOtp,
|
||||
VerifyMyUserEmailRequest,
|
||||
VerifyUserPhoneRequest} from './auth_pb';
|
||||
|
||||
export class AuthServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: string; });
|
||||
|
||||
healthz(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
ready(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
validate(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_struct_pb.Struct) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_struct_pb.Struct>;
|
||||
|
||||
getMyUserSessions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserSessionViews) => void
|
||||
): grpcWeb.ClientReadableStream<UserSessionViews>;
|
||||
|
||||
getMyUserProfile(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserProfile) => void
|
||||
): grpcWeb.ClientReadableStream<UserProfile>;
|
||||
|
||||
updateMyUserProfile(
|
||||
request: UpdateUserProfileRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserProfile) => void
|
||||
): grpcWeb.ClientReadableStream<UserProfile>;
|
||||
|
||||
getMyUserEmail(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserEmail) => void
|
||||
): grpcWeb.ClientReadableStream<UserEmail>;
|
||||
|
||||
changeMyUserEmail(
|
||||
request: UpdateUserEmailRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserEmail) => void
|
||||
): grpcWeb.ClientReadableStream<UserEmail>;
|
||||
|
||||
verifyMyUserEmail(
|
||||
request: VerifyMyUserEmailRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
resendMyEmailVerificationMail(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyUserPhone(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserPhone) => void
|
||||
): grpcWeb.ClientReadableStream<UserPhone>;
|
||||
|
||||
changeMyUserPhone(
|
||||
request: UpdateUserPhoneRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserPhone) => void
|
||||
): grpcWeb.ClientReadableStream<UserPhone>;
|
||||
|
||||
verifyMyUserPhone(
|
||||
request: VerifyUserPhoneRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
resendMyPhoneVerificationCode(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyUserAddress(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserAddress) => void
|
||||
): grpcWeb.ClientReadableStream<UserAddress>;
|
||||
|
||||
updateMyUserAddress(
|
||||
request: UpdateUserAddressRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserAddress) => void
|
||||
): grpcWeb.ClientReadableStream<UserAddress>;
|
||||
|
||||
getMyMfas(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: MultiFactors) => void
|
||||
): grpcWeb.ClientReadableStream<MultiFactors>;
|
||||
|
||||
setMyPassword(
|
||||
request: PasswordRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
changeMyPassword(
|
||||
request: PasswordChange,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
addMfaOTP(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: MfaOtpResponse) => void
|
||||
): grpcWeb.ClientReadableStream<MfaOtpResponse>;
|
||||
|
||||
verifyMfaOTP(
|
||||
request: VerifyMfaOtp,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: MfaOtpResponse) => void
|
||||
): grpcWeb.ClientReadableStream<MfaOtpResponse>;
|
||||
|
||||
removeMfaOTP(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
searchMyProjectOrgs(
|
||||
request: MyProjectOrgSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: MyProjectOrgSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<MyProjectOrgSearchResponse>;
|
||||
|
||||
isIamAdmin(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: IsAdminResponse) => void
|
||||
): grpcWeb.ClientReadableStream<IsAdminResponse>;
|
||||
|
||||
getMyZitadelPermissions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: MyPermissions) => void
|
||||
): grpcWeb.ClientReadableStream<MyPermissions>;
|
||||
|
||||
}
|
||||
|
||||
export class AuthServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: string; });
|
||||
|
||||
healthz(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
ready(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
validate(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_struct_pb.Struct>;
|
||||
|
||||
getMyUserSessions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserSessionViews>;
|
||||
|
||||
getMyUserProfile(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserProfile>;
|
||||
|
||||
updateMyUserProfile(
|
||||
request: UpdateUserProfileRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserProfile>;
|
||||
|
||||
getMyUserEmail(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserEmail>;
|
||||
|
||||
changeMyUserEmail(
|
||||
request: UpdateUserEmailRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserEmail>;
|
||||
|
||||
verifyMyUserEmail(
|
||||
request: VerifyMyUserEmailRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
resendMyEmailVerificationMail(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyUserPhone(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserPhone>;
|
||||
|
||||
changeMyUserPhone(
|
||||
request: UpdateUserPhoneRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserPhone>;
|
||||
|
||||
verifyMyUserPhone(
|
||||
request: VerifyUserPhoneRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
resendMyPhoneVerificationCode(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyUserAddress(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserAddress>;
|
||||
|
||||
updateMyUserAddress(
|
||||
request: UpdateUserAddressRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserAddress>;
|
||||
|
||||
getMyMfas(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MultiFactors>;
|
||||
|
||||
setMyPassword(
|
||||
request: PasswordRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
changeMyPassword(
|
||||
request: PasswordChange,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
addMfaOTP(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MfaOtpResponse>;
|
||||
|
||||
verifyMfaOTP(
|
||||
request: VerifyMfaOtp,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MfaOtpResponse>;
|
||||
|
||||
removeMfaOTP(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
searchMyProjectOrgs(
|
||||
request: MyProjectOrgSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MyProjectOrgSearchResponse>;
|
||||
|
||||
isIamAdmin(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<IsAdminResponse>;
|
||||
|
||||
getMyZitadelPermissions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MyPermissions>;
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+875
@@ -0,0 +1,875 @@
|
||||
import * as jspb from "google-protobuf"
|
||||
|
||||
import * as google_api_annotations_pb from './google/api/annotations_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
||||
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
||||
import * as validate_validate_pb from './validate/validate_pb';
|
||||
import * as protoc$gen$swagger_options_annotations_pb from './protoc-gen-swagger/options/annotations_pb';
|
||||
import * as authoption_options_pb from './authoption/options_pb';
|
||||
|
||||
export class UserSessionViews extends jspb.Message {
|
||||
getUserSessionsList(): Array<UserSessionView>;
|
||||
setUserSessionsList(value: Array<UserSessionView>): void;
|
||||
clearUserSessionsList(): void;
|
||||
addUserSessions(value?: UserSessionView, index?: number): UserSessionView;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserSessionViews.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserSessionViews): UserSessionViews.AsObject;
|
||||
static serializeBinaryToWriter(message: UserSessionViews, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserSessionViews;
|
||||
static deserializeBinaryFromReader(message: UserSessionViews, reader: jspb.BinaryReader): UserSessionViews;
|
||||
}
|
||||
|
||||
export namespace UserSessionViews {
|
||||
export type AsObject = {
|
||||
userSessionsList: Array<UserSessionView.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserSessionView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getAgentId(): string;
|
||||
setAgentId(value: string): void;
|
||||
|
||||
getAuthState(): UserSessionState;
|
||||
setAuthState(value: UserSessionState): void;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
getUserName(): string;
|
||||
setUserName(value: string): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserSessionView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserSessionView): UserSessionView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserSessionView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserSessionView;
|
||||
static deserializeBinaryFromReader(message: UserSessionView, reader: jspb.BinaryReader): UserSessionView;
|
||||
}
|
||||
|
||||
export namespace UserSessionView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
agentId: string,
|
||||
authState: UserSessionState,
|
||||
userId: string,
|
||||
userName: string,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class User extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getState(): UserState;
|
||||
setState(value: UserState): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getActivationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setActivationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasActivationDate(): boolean;
|
||||
clearActivationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
getLastLogin(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setLastLogin(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasLastLogin(): boolean;
|
||||
clearLastLogin(): void;
|
||||
|
||||
getPasswordChanged(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setPasswordChanged(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasPasswordChanged(): boolean;
|
||||
clearPasswordChanged(): void;
|
||||
|
||||
getUserName(): string;
|
||||
setUserName(value: string): void;
|
||||
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
getLastName(): string;
|
||||
setLastName(value: string): void;
|
||||
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getIsEmailVerified(): boolean;
|
||||
setIsEmailVerified(value: boolean): void;
|
||||
|
||||
getPhone(): string;
|
||||
setPhone(value: string): void;
|
||||
|
||||
getIsPhoneVerified(): boolean;
|
||||
setIsPhoneVerified(value: boolean): 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;
|
||||
|
||||
getPasswordChangeRequired(): boolean;
|
||||
setPasswordChangeRequired(value: boolean): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): User.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: User): User.AsObject;
|
||||
static serializeBinaryToWriter(message: User, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): User;
|
||||
static deserializeBinaryFromReader(message: User, reader: jspb.BinaryReader): User;
|
||||
}
|
||||
|
||||
export namespace User {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
state: UserState,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
activationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
lastLogin?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
passwordChanged?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
userName: string,
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
email: string,
|
||||
isEmailVerified: boolean,
|
||||
phone: string,
|
||||
isPhoneVerified: boolean,
|
||||
country: string,
|
||||
locality: string,
|
||||
postalCode: string,
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
passwordChangeRequired: boolean,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserProfile extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getUserName(): string;
|
||||
setUserName(value: string): void;
|
||||
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
getLastName(): string;
|
||||
setLastName(value: string): void;
|
||||
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): void;
|
||||
|
||||
getPreferredLanguage(): string;
|
||||
setPreferredLanguage(value: string): void;
|
||||
|
||||
getGender(): Gender;
|
||||
setGender(value: Gender): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserProfile.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserProfile): UserProfile.AsObject;
|
||||
static serializeBinaryToWriter(message: UserProfile, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserProfile;
|
||||
static deserializeBinaryFromReader(message: UserProfile, reader: jspb.BinaryReader): UserProfile;
|
||||
}
|
||||
|
||||
export namespace UserProfile {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
userName: string,
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserProfileRequest extends jspb.Message {
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
|
||||
getLastName(): string;
|
||||
setLastName(value: string): void;
|
||||
|
||||
getNickName(): string;
|
||||
setNickName(value: string): void;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(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;
|
||||
static serializeBinaryToWriter(message: UpdateUserProfileRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateUserProfileRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateUserProfileRequest, reader: jspb.BinaryReader): UpdateUserProfileRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateUserProfileRequest {
|
||||
export type AsObject = {
|
||||
firstName: string,
|
||||
lastName: string,
|
||||
nickName: string,
|
||||
displayName: string,
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserEmail 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;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserEmail.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserEmail): UserEmail.AsObject;
|
||||
static serializeBinaryToWriter(message: UserEmail, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserEmail;
|
||||
static deserializeBinaryFromReader(message: UserEmail, reader: jspb.BinaryReader): UserEmail;
|
||||
}
|
||||
|
||||
export namespace UserEmail {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
email: string,
|
||||
isemailverified: boolean,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class VerifyMyUserEmailRequest extends jspb.Message {
|
||||
getCode(): string;
|
||||
setCode(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VerifyMyUserEmailRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VerifyMyUserEmailRequest): VerifyMyUserEmailRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: VerifyMyUserEmailRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VerifyMyUserEmailRequest;
|
||||
static deserializeBinaryFromReader(message: VerifyMyUserEmailRequest, reader: jspb.BinaryReader): VerifyMyUserEmailRequest;
|
||||
}
|
||||
|
||||
export namespace VerifyMyUserEmailRequest {
|
||||
export type AsObject = {
|
||||
code: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class VerifyUserEmailRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getCode(): string;
|
||||
setCode(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VerifyUserEmailRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VerifyUserEmailRequest): VerifyUserEmailRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: VerifyUserEmailRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VerifyUserEmailRequest;
|
||||
static deserializeBinaryFromReader(message: VerifyUserEmailRequest, reader: jspb.BinaryReader): VerifyUserEmailRequest;
|
||||
}
|
||||
|
||||
export namespace VerifyUserEmailRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
code: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserEmailRequest extends jspb.Message {
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserEmailRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserEmailRequest): UpdateUserEmailRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: UpdateUserEmailRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateUserEmailRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateUserEmailRequest, reader: jspb.BinaryReader): UpdateUserEmailRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateUserEmailRequest {
|
||||
export type AsObject = {
|
||||
email: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserPhone 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;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserPhone.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserPhone): UserPhone.AsObject;
|
||||
static serializeBinaryToWriter(message: UserPhone, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserPhone;
|
||||
static deserializeBinaryFromReader(message: UserPhone, reader: jspb.BinaryReader): UserPhone;
|
||||
}
|
||||
|
||||
export namespace UserPhone {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
phone: string,
|
||||
isPhoneVerified: boolean,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserPhoneRequest extends jspb.Message {
|
||||
getPhone(): string;
|
||||
setPhone(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserPhoneRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserPhoneRequest): UpdateUserPhoneRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: UpdateUserPhoneRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateUserPhoneRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateUserPhoneRequest, reader: jspb.BinaryReader): UpdateUserPhoneRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateUserPhoneRequest {
|
||||
export type AsObject = {
|
||||
phone: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class VerifyUserPhoneRequest extends jspb.Message {
|
||||
getCode(): string;
|
||||
setCode(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VerifyUserPhoneRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VerifyUserPhoneRequest): VerifyUserPhoneRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: VerifyUserPhoneRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VerifyUserPhoneRequest;
|
||||
static deserializeBinaryFromReader(message: VerifyUserPhoneRequest, reader: jspb.BinaryReader): VerifyUserPhoneRequest;
|
||||
}
|
||||
|
||||
export namespace VerifyUserPhoneRequest {
|
||||
export type AsObject = {
|
||||
code: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserAddress 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;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserAddress.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserAddress): UserAddress.AsObject;
|
||||
static serializeBinaryToWriter(message: UserAddress, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserAddress;
|
||||
static deserializeBinaryFromReader(message: UserAddress, reader: jspb.BinaryReader): UserAddress;
|
||||
}
|
||||
|
||||
export namespace UserAddress {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
country: string,
|
||||
locality: string,
|
||||
postalCode: string,
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserAddressRequest extends jspb.Message {
|
||||
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;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserAddressRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserAddressRequest): UpdateUserAddressRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: UpdateUserAddressRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateUserAddressRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateUserAddressRequest, reader: jspb.BinaryReader): UpdateUserAddressRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateUserAddressRequest {
|
||||
export type AsObject = {
|
||||
country: string,
|
||||
locality: string,
|
||||
postalCode: string,
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class PasswordID extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PasswordID.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PasswordID): PasswordID.AsObject;
|
||||
static serializeBinaryToWriter(message: PasswordID, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PasswordID;
|
||||
static deserializeBinaryFromReader(message: PasswordID, reader: jspb.BinaryReader): PasswordID;
|
||||
}
|
||||
|
||||
export namespace PasswordID {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class PasswordRequest extends jspb.Message {
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PasswordRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PasswordRequest): PasswordRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: PasswordRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PasswordRequest;
|
||||
static deserializeBinaryFromReader(message: PasswordRequest, reader: jspb.BinaryReader): PasswordRequest;
|
||||
}
|
||||
|
||||
export namespace PasswordRequest {
|
||||
export type AsObject = {
|
||||
password: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class PasswordChange extends jspb.Message {
|
||||
getOldPassword(): string;
|
||||
setOldPassword(value: string): void;
|
||||
|
||||
getNewPassword(): string;
|
||||
setNewPassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PasswordChange.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PasswordChange): PasswordChange.AsObject;
|
||||
static serializeBinaryToWriter(message: PasswordChange, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PasswordChange;
|
||||
static deserializeBinaryFromReader(message: PasswordChange, reader: jspb.BinaryReader): PasswordChange;
|
||||
}
|
||||
|
||||
export namespace PasswordChange {
|
||||
export type AsObject = {
|
||||
oldPassword: string,
|
||||
newPassword: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class VerifyMfaOtp extends jspb.Message {
|
||||
getCode(): string;
|
||||
setCode(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VerifyMfaOtp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VerifyMfaOtp): VerifyMfaOtp.AsObject;
|
||||
static serializeBinaryToWriter(message: VerifyMfaOtp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VerifyMfaOtp;
|
||||
static deserializeBinaryFromReader(message: VerifyMfaOtp, reader: jspb.BinaryReader): VerifyMfaOtp;
|
||||
}
|
||||
|
||||
export namespace VerifyMfaOtp {
|
||||
export type AsObject = {
|
||||
code: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class MultiFactors extends jspb.Message {
|
||||
getMfasList(): Array<MultiFactor>;
|
||||
setMfasList(value: Array<MultiFactor>): void;
|
||||
clearMfasList(): void;
|
||||
addMfas(value?: MultiFactor, index?: number): MultiFactor;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MultiFactors.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MultiFactors): MultiFactors.AsObject;
|
||||
static serializeBinaryToWriter(message: MultiFactors, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MultiFactors;
|
||||
static deserializeBinaryFromReader(message: MultiFactors, reader: jspb.BinaryReader): MultiFactors;
|
||||
}
|
||||
|
||||
export namespace MultiFactors {
|
||||
export type AsObject = {
|
||||
mfasList: Array<MultiFactor.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class MultiFactor extends jspb.Message {
|
||||
getType(): MfaType;
|
||||
setType(value: MfaType): void;
|
||||
|
||||
getState(): MFAState;
|
||||
setState(value: MFAState): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MultiFactor.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MultiFactor): MultiFactor.AsObject;
|
||||
static serializeBinaryToWriter(message: MultiFactor, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MultiFactor;
|
||||
static deserializeBinaryFromReader(message: MultiFactor, reader: jspb.BinaryReader): MultiFactor;
|
||||
}
|
||||
|
||||
export namespace MultiFactor {
|
||||
export type AsObject = {
|
||||
type: MfaType,
|
||||
state: MFAState,
|
||||
}
|
||||
}
|
||||
|
||||
export class MfaOtpResponse extends jspb.Message {
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
getUrl(): string;
|
||||
setUrl(value: string): void;
|
||||
|
||||
getSecret(): string;
|
||||
setSecret(value: string): void;
|
||||
|
||||
getState(): MFAState;
|
||||
setState(value: MFAState): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MfaOtpResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MfaOtpResponse): MfaOtpResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: MfaOtpResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MfaOtpResponse;
|
||||
static deserializeBinaryFromReader(message: MfaOtpResponse, reader: jspb.BinaryReader): MfaOtpResponse;
|
||||
}
|
||||
|
||||
export namespace MfaOtpResponse {
|
||||
export type AsObject = {
|
||||
userId: string,
|
||||
url: string,
|
||||
secret: string,
|
||||
state: MFAState,
|
||||
}
|
||||
}
|
||||
|
||||
export class OIDCClientAuth extends jspb.Message {
|
||||
getClientId(): string;
|
||||
setClientId(value: string): void;
|
||||
|
||||
getClientSecret(): string;
|
||||
setClientSecret(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OIDCClientAuth.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OIDCClientAuth): OIDCClientAuth.AsObject;
|
||||
static serializeBinaryToWriter(message: OIDCClientAuth, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OIDCClientAuth;
|
||||
static deserializeBinaryFromReader(message: OIDCClientAuth, reader: jspb.BinaryReader): OIDCClientAuth;
|
||||
}
|
||||
|
||||
export namespace OIDCClientAuth {
|
||||
export type AsObject = {
|
||||
clientId: string,
|
||||
clientSecret: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class MyProjectOrgSearchRequest extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getAsc(): boolean;
|
||||
setAsc(value: boolean): void;
|
||||
|
||||
getQueriesList(): Array<MyProjectOrgSearchQuery>;
|
||||
setQueriesList(value: Array<MyProjectOrgSearchQuery>): void;
|
||||
clearQueriesList(): void;
|
||||
addQueries(value?: MyProjectOrgSearchQuery, index?: number): MyProjectOrgSearchQuery;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MyProjectOrgSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MyProjectOrgSearchRequest): MyProjectOrgSearchRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: MyProjectOrgSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MyProjectOrgSearchRequest;
|
||||
static deserializeBinaryFromReader(message: MyProjectOrgSearchRequest, reader: jspb.BinaryReader): MyProjectOrgSearchRequest;
|
||||
}
|
||||
|
||||
export namespace MyProjectOrgSearchRequest {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
asc: boolean,
|
||||
queriesList: Array<MyProjectOrgSearchQuery.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class MyProjectOrgSearchQuery extends jspb.Message {
|
||||
getKey(): MyProjectOrgSearchKey;
|
||||
setKey(value: MyProjectOrgSearchKey): void;
|
||||
|
||||
getMethod(): SearchMethod;
|
||||
setMethod(value: SearchMethod): void;
|
||||
|
||||
getValue(): string;
|
||||
setValue(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MyProjectOrgSearchQuery.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MyProjectOrgSearchQuery): MyProjectOrgSearchQuery.AsObject;
|
||||
static serializeBinaryToWriter(message: MyProjectOrgSearchQuery, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MyProjectOrgSearchQuery;
|
||||
static deserializeBinaryFromReader(message: MyProjectOrgSearchQuery, reader: jspb.BinaryReader): MyProjectOrgSearchQuery;
|
||||
}
|
||||
|
||||
export namespace MyProjectOrgSearchQuery {
|
||||
export type AsObject = {
|
||||
key: MyProjectOrgSearchKey,
|
||||
method: SearchMethod,
|
||||
value: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class MyProjectOrgSearchResponse extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getTotalResult(): number;
|
||||
setTotalResult(value: number): void;
|
||||
|
||||
getResultList(): Array<Org>;
|
||||
setResultList(value: Array<Org>): void;
|
||||
clearResultList(): void;
|
||||
addResult(value?: Org, index?: number): Org;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MyProjectOrgSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MyProjectOrgSearchResponse): MyProjectOrgSearchResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: MyProjectOrgSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MyProjectOrgSearchResponse;
|
||||
static deserializeBinaryFromReader(message: MyProjectOrgSearchResponse, reader: jspb.BinaryReader): MyProjectOrgSearchResponse;
|
||||
}
|
||||
|
||||
export namespace MyProjectOrgSearchResponse {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
totalResult: number,
|
||||
resultList: Array<Org.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class IsAdminResponse extends jspb.Message {
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): IsAdminResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: IsAdminResponse): IsAdminResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: IsAdminResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): IsAdminResponse;
|
||||
static deserializeBinaryFromReader(message: IsAdminResponse, reader: jspb.BinaryReader): IsAdminResponse;
|
||||
}
|
||||
|
||||
export namespace IsAdminResponse {
|
||||
export type AsObject = {
|
||||
isAdmin: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class Org extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Org.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Org): Org.AsObject;
|
||||
static serializeBinaryToWriter(message: Org, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Org;
|
||||
static deserializeBinaryFromReader(message: Org, reader: jspb.BinaryReader): Org;
|
||||
}
|
||||
|
||||
export namespace Org {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class MyPermissions extends jspb.Message {
|
||||
getPermissionsList(): Array<string>;
|
||||
setPermissionsList(value: Array<string>): void;
|
||||
clearPermissionsList(): void;
|
||||
addPermissions(value: string, index?: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MyPermissions.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MyPermissions): MyPermissions.AsObject;
|
||||
static serializeBinaryToWriter(message: MyPermissions, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MyPermissions;
|
||||
static deserializeBinaryFromReader(message: MyPermissions, reader: jspb.BinaryReader): MyPermissions;
|
||||
}
|
||||
|
||||
export namespace MyPermissions {
|
||||
export type AsObject = {
|
||||
permissionsList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
export enum UserSessionState {
|
||||
USERSESSIONSTATE_UNSPECIFIED = 0,
|
||||
USERSESSIONSTATE_ACTIVE = 1,
|
||||
USERSESSIONSTATE_TERMINATED = 2,
|
||||
}
|
||||
export enum OIDCResponseType {
|
||||
OIDCRESPONSETYPE_CODE = 0,
|
||||
OIDCRESPONSETYPE_ID_TOKEN = 1,
|
||||
OIDCRESPONSETYPE_ID_TOKEN_TOKEN = 2,
|
||||
}
|
||||
export enum UserState {
|
||||
USERSTATE_UNSPECIEFIED = 0,
|
||||
USERSTATE_ACTIVE = 1,
|
||||
USERSTATE_INACTIVE = 2,
|
||||
USERSTATE_DELETED = 3,
|
||||
USERSTATE_LOCKED = 4,
|
||||
USERSTATE_SUSPEND = 5,
|
||||
USERSTATE_INITIAL = 6,
|
||||
}
|
||||
export enum Gender {
|
||||
GENDER_UNSPECIFIED = 0,
|
||||
GENDER_FEMALE = 1,
|
||||
GENDER_MALE = 2,
|
||||
GENDER_DIVERSE = 3,
|
||||
}
|
||||
export enum MfaType {
|
||||
MFATYPE_UNSPECIFIED = 0,
|
||||
MFATYPE_SMS = 1,
|
||||
MFATYPE_OTP = 2,
|
||||
}
|
||||
export enum MFAState {
|
||||
MFASTATE_UNSPECIFIED = 0,
|
||||
MFASTATE_NOT_READY = 1,
|
||||
MFASTATE_READY = 2,
|
||||
MFASTATE_REMOVED = 3,
|
||||
}
|
||||
export enum MyProjectOrgSearchKey {
|
||||
MYPROJECTORGSEARCHKEY_UNSPECIFIED = 0,
|
||||
MYPROJECTORGSEARCHKEY_ORG_NAME = 1,
|
||||
}
|
||||
export enum SearchMethod {
|
||||
SEARCHMETHOD_EQUALS = 0,
|
||||
SEARCHMETHOD_STARTS_WITH = 1,
|
||||
SEARCHMETHOD_CONTAINS = 2,
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
export {}
|
||||
@@ -0,0 +1 @@
|
||||
export {}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+3937
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+1
@@ -0,0 +1 @@
|
||||
export {}
|
||||
@@ -0,0 +1 @@
|
||||
export {}
|
||||
Reference in New Issue
Block a user