mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-07 22:55:12 +00:00
fix: console build (#194)
* grpc gen, headers * add auth headers * resolve build errors * lint * project grant changes * project detail * owned projects * fix undefined
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for zitadel.admin.api.v1
|
||||
* @fileoverview gRPC-Web generated client stub for caos.zitadel.admin.api.v1
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
@@ -26,10 +26,11 @@ var protoc$gen$swagger_options_annotations_pb = require('./protoc-gen-swagger/op
|
||||
|
||||
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');
|
||||
proto.caos = {};
|
||||
proto.caos.zitadel = {};
|
||||
proto.caos.zitadel.admin = {};
|
||||
proto.caos.zitadel.admin.api = {};
|
||||
proto.caos.zitadel.admin.api.v1 = require('./admin_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
@@ -39,7 +40,7 @@ proto.zitadel.admin.api.v1 = require('./admin_pb.js');
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options['format'] = 'binary';
|
||||
@@ -65,7 +66,7 @@ proto.zitadel.admin.api.v1.AdminServiceClient =
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options['format'] = 'binary';
|
||||
@@ -90,7 +91,7 @@ proto.zitadel.admin.api.v1.AdminServicePromiseClient =
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_Healthz = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/Healthz',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Healthz',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
@@ -134,10 +135,10 @@ const methodInfo_AdminService_Healthz = new grpc.web.AbstractClientBase.MethodIn
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.healthz =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.healthz =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Healthz',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Healthz',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Healthz,
|
||||
@@ -153,10 +154,10 @@ proto.zitadel.admin.api.v1.AdminServiceClient.prototype.healthz =
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.healthz =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.healthz =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Healthz',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Healthz',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Healthz);
|
||||
@@ -170,7 +171,7 @@ proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.healthz =
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_Ready = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/Ready',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Ready',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
@@ -214,10 +215,10 @@ const methodInfo_AdminService_Ready = new grpc.web.AbstractClientBase.MethodInfo
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.ready =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.ready =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Ready',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Ready',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Ready,
|
||||
@@ -233,10 +234,10 @@ proto.zitadel.admin.api.v1.AdminServiceClient.prototype.ready =
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.ready =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.ready =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Ready',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Ready',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Ready);
|
||||
@@ -250,7 +251,7 @@ proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.ready =
|
||||
* !proto.google.protobuf.Struct>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_Validate = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/Validate',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Validate',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
google_protobuf_struct_pb.Struct,
|
||||
@@ -294,10 +295,10 @@ const methodInfo_AdminService_Validate = new grpc.web.AbstractClientBase.MethodI
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Struct>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.validate =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.validate =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Validate',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Validate',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Validate,
|
||||
@@ -313,10 +314,10 @@ proto.zitadel.admin.api.v1.AdminServiceClient.prototype.validate =
|
||||
* @return {!Promise<!proto.google.protobuf.Struct>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.validate =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.validate =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/Validate',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/Validate',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_Validate);
|
||||
@@ -326,58 +327,58 @@ proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.validate =
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
* !proto.caos.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_IsOrgUnique = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse,
|
||||
proto.caos.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
proto.caos.zitadel.admin.api.v1.UniqueOrgResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.UniqueOrgRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.UniqueOrgResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
* !proto.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
* !proto.caos.zitadel.admin.api.v1.UniqueOrgRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
*/
|
||||
const methodInfo_AdminService_IsOrgUnique = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse,
|
||||
proto.caos.zitadel.admin.api.v1.UniqueOrgResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.UniqueOrgRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.UniqueOrgResponse.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.UniqueOrgResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request The
|
||||
* @param {!proto.caos.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)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.admin.api.v1.UniqueOrgResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.UniqueOrgResponse>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.admin.api.v1.UniqueOrgResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.isOrgUnique =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.isOrgUnique =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_IsOrgUnique,
|
||||
@@ -386,17 +387,17 @@ proto.zitadel.admin.api.v1.AdminServiceClient.prototype.isOrgUnique =
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.UniqueOrgRequest} request The
|
||||
* @param {!proto.caos.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>}
|
||||
* @return {!Promise<!proto.caos.zitadel.admin.api.v1.UniqueOrgResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.isOrgUnique =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.isOrgUnique =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/IsOrgUnique',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_IsOrgUnique);
|
||||
@@ -406,58 +407,58 @@ proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.isOrgUnique =
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.OrgID,
|
||||
* !proto.zitadel.admin.api.v1.Org>}
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgID,
|
||||
* !proto.caos.zitadel.admin.api.v1.Org>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_GetOrgByID = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.OrgID,
|
||||
proto.zitadel.admin.api.v1.Org,
|
||||
proto.caos.zitadel.admin.api.v1.OrgID,
|
||||
proto.caos.zitadel.admin.api.v1.Org,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.Org.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.Org.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.OrgID,
|
||||
* !proto.zitadel.admin.api.v1.Org>}
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgID,
|
||||
* !proto.caos.zitadel.admin.api.v1.Org>}
|
||||
*/
|
||||
const methodInfo_AdminService_GetOrgByID = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.Org,
|
||||
proto.caos.zitadel.admin.api.v1.Org,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.Org.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.Org.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request The
|
||||
* @param {!proto.caos.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)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.admin.api.v1.Org)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.Org>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.admin.api.v1.Org>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.getOrgByID =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.getOrgByID =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_GetOrgByID,
|
||||
@@ -466,17 +467,17 @@ proto.zitadel.admin.api.v1.AdminServiceClient.prototype.getOrgByID =
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgID} request The
|
||||
* @param {!proto.caos.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>}
|
||||
* @return {!Promise<!proto.caos.zitadel.admin.api.v1.Org>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.getOrgByID =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.getOrgByID =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/GetOrgByID',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_GetOrgByID);
|
||||
@@ -486,58 +487,58 @@ proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.getOrgByID =
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_SearchOrgs = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse,
|
||||
proto.caos.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
proto.caos.zitadel.admin.api.v1.OrgSearchResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.OrgSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSearchRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
*/
|
||||
const methodInfo_AdminService_SearchOrgs = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse,
|
||||
proto.caos.zitadel.admin.api.v1.OrgSearchResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSearchResponse.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.OrgSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request The
|
||||
* @param {!proto.caos.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)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.admin.api.v1.OrgSearchResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.OrgSearchResponse>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.admin.api.v1.OrgSearchResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.searchOrgs =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.searchOrgs =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SearchOrgs,
|
||||
@@ -546,17 +547,17 @@ proto.zitadel.admin.api.v1.AdminServiceClient.prototype.searchOrgs =
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSearchRequest} request The
|
||||
* @param {!proto.caos.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>}
|
||||
* @return {!Promise<!proto.caos.zitadel.admin.api.v1.OrgSearchResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.searchOrgs =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.searchOrgs =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/SearchOrgs',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SearchOrgs);
|
||||
@@ -566,58 +567,58 @@ proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.searchOrgs =
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
*/
|
||||
const methodDescriptor_AdminService_SetUpOrg = new grpc.web.MethodDescriptor(
|
||||
'/zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse,
|
||||
proto.caos.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
proto.caos.zitadel.admin.api.v1.OrgSetUpResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgSetUpRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.OrgSetUpResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
* !proto.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSetUpRequest,
|
||||
* !proto.caos.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
*/
|
||||
const methodInfo_AdminService_SetUpOrg = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse,
|
||||
proto.caos.zitadel.admin.api.v1.OrgSetUpResponse,
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request
|
||||
* @param {!proto.caos.zitadel.admin.api.v1.OrgSetUpRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.zitadel.admin.api.v1.OrgSetUpResponse.deserializeBinary
|
||||
proto.caos.zitadel.admin.api.v1.OrgSetUpResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request The
|
||||
* @param {!proto.caos.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)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.admin.api.v1.OrgSetUpResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.zitadel.admin.api.v1.OrgSetUpResponse>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.admin.api.v1.OrgSetUpResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServiceClient.prototype.setUpOrg =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServiceClient.prototype.setUpOrg =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SetUpOrg,
|
||||
@@ -626,22 +627,22 @@ proto.zitadel.admin.api.v1.AdminServiceClient.prototype.setUpOrg =
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.zitadel.admin.api.v1.OrgSetUpRequest} request The
|
||||
* @param {!proto.caos.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>}
|
||||
* @return {!Promise<!proto.caos.zitadel.admin.api.v1.OrgSetUpResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.setUpOrg =
|
||||
proto.caos.zitadel.admin.api.v1.AdminServicePromiseClient.prototype.setUpOrg =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
'/caos.zitadel.admin.api.v1.AdminService/SetUpOrg',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AdminService_SetUpOrg);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.zitadel.admin.api.v1;
|
||||
module.exports = proto.caos.zitadel.admin.api.v1;
|
||||
|
||||
|
||||
+53
-17
@@ -208,8 +208,8 @@ export class OrgSetUpRequest extends jspb.Message {
|
||||
hasOrg(): boolean;
|
||||
clearOrg(): void;
|
||||
|
||||
getUser(): RegisterUserRequest | undefined;
|
||||
setUser(value?: RegisterUserRequest): void;
|
||||
getUser(): CreateUserRequest | undefined;
|
||||
setUser(value?: CreateUserRequest): void;
|
||||
hasUser(): boolean;
|
||||
clearUser(): void;
|
||||
|
||||
@@ -224,7 +224,7 @@ export class OrgSetUpRequest extends jspb.Message {
|
||||
export namespace OrgSetUpRequest {
|
||||
export type AsObject = {
|
||||
org?: CreateOrgRequest.AsObject,
|
||||
user?: RegisterUserRequest.AsObject,
|
||||
user?: CreateUserRequest.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,9 +254,9 @@ export namespace OrgSetUpResponse {
|
||||
}
|
||||
}
|
||||
|
||||
export class RegisterUserRequest extends jspb.Message {
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
export class CreateUserRequest extends jspb.Message {
|
||||
getUserName(): string;
|
||||
setUserName(value: string): void;
|
||||
|
||||
getFirstName(): string;
|
||||
setFirstName(value: string): void;
|
||||
@@ -276,31 +276,63 @@ export class RegisterUserRequest extends jspb.Message {
|
||||
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;
|
||||
|
||||
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;
|
||||
toObject(includeInstance?: boolean): CreateUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateUserRequest): CreateUserRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: CreateUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateUserRequest;
|
||||
static deserializeBinaryFromReader(message: CreateUserRequest, reader: jspb.BinaryReader): CreateUserRequest;
|
||||
}
|
||||
|
||||
export namespace RegisterUserRequest {
|
||||
export namespace CreateUserRequest {
|
||||
export type AsObject = {
|
||||
email: string,
|
||||
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,
|
||||
password: string,
|
||||
orgId: string,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -369,6 +401,9 @@ export class User extends jspb.Message {
|
||||
getStreetAddress(): string;
|
||||
setStreetAddress(value: string): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): User.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: User): User.AsObject;
|
||||
@@ -399,6 +434,7 @@ export namespace User {
|
||||
postalCode: string,
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+17
-29
@@ -9,20 +9,20 @@ import * as protoc$gen$swagger_options_annotations_pb from './protoc-gen-swagger
|
||||
import * as authoption_options_pb from './authoption/options_pb';
|
||||
|
||||
import {
|
||||
IsAdminResponse,
|
||||
MfaOtpResponse,
|
||||
MultiFactors,
|
||||
MyPermissions,
|
||||
MyProjectOrgSearchRequest,
|
||||
MyProjectOrgSearchResponse,
|
||||
PasswordChange,
|
||||
PasswordRequest,
|
||||
UpdateUserAddressRequest,
|
||||
UpdateUserEmailRequest,
|
||||
UpdateUserPhoneRequest,
|
||||
UpdateUserProfileRequest,
|
||||
UserAddress,
|
||||
UserEmail,
|
||||
UserGrantSearchRequest,
|
||||
UserGrantSearchResponse,
|
||||
UserPhone,
|
||||
UserProfile,
|
||||
UserSessionViews,
|
||||
@@ -154,13 +154,6 @@ export class AuthServiceClient {
|
||||
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,
|
||||
@@ -179,8 +172,8 @@ export class AuthServiceClient {
|
||||
request: VerifyMfaOtp,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: MfaOtpResponse) => void
|
||||
): grpcWeb.ClientReadableStream<MfaOtpResponse>;
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeMfaOTP(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
@@ -189,6 +182,13 @@ export class AuthServiceClient {
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
searchMyUserGrant(
|
||||
request: UserGrantSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserGrantSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrantSearchResponse>;
|
||||
|
||||
searchMyProjectOrgs(
|
||||
request: MyProjectOrgSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
@@ -196,13 +196,6 @@ export class AuthServiceClient {
|
||||
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,
|
||||
@@ -302,11 +295,6 @@ export class AuthServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MultiFactors>;
|
||||
|
||||
setMyPassword(
|
||||
request: PasswordRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
changeMyPassword(
|
||||
request: PasswordChange,
|
||||
metadata?: grpcWeb.Metadata
|
||||
@@ -320,23 +308,23 @@ export class AuthServicePromiseClient {
|
||||
verifyMfaOTP(
|
||||
request: VerifyMfaOtp,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MfaOtpResponse>;
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeMfaOTP(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
searchMyUserGrant(
|
||||
request: UserGrantSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserGrantSearchResponse>;
|
||||
|
||||
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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+186
-18
@@ -218,6 +218,16 @@ export class UserProfile extends jspb.Message {
|
||||
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): UserProfile.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserProfile): UserProfile.AsObject;
|
||||
@@ -237,6 +247,8 @@ export namespace UserProfile {
|
||||
preferredLanguage: string,
|
||||
gender: Gender,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -291,6 +303,16 @@ export class UserEmail extends jspb.Message {
|
||||
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): UserEmail.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserEmail): UserEmail.AsObject;
|
||||
@@ -305,6 +327,8 @@ export namespace UserEmail {
|
||||
email: string,
|
||||
isemailverified: boolean,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -379,6 +403,16 @@ export class UserPhone extends jspb.Message {
|
||||
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): UserPhone.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserPhone): UserPhone.AsObject;
|
||||
@@ -393,6 +427,8 @@ export namespace UserPhone {
|
||||
phone: string,
|
||||
isPhoneVerified: boolean,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -454,6 +490,16 @@ export class UserAddress extends jspb.Message {
|
||||
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): UserAddress.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserAddress): UserAddress.AsObject;
|
||||
@@ -471,6 +517,8 @@ export namespace UserAddress {
|
||||
region: string,
|
||||
streetAddress: string,
|
||||
sequence: number,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -678,6 +726,136 @@ export namespace OIDCClientAuth {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantSearchRequest extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getSortingColumn(): UserGrantSearchKey;
|
||||
setSortingColumn(value: UserGrantSearchKey): void;
|
||||
|
||||
getAsc(): boolean;
|
||||
setAsc(value: boolean): void;
|
||||
|
||||
getQueriesList(): Array<UserGrantSearchQuery>;
|
||||
setQueriesList(value: Array<UserGrantSearchQuery>): void;
|
||||
clearQueriesList(): void;
|
||||
addQueries(value?: UserGrantSearchQuery, index?: number): UserGrantSearchQuery;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserGrantSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserGrantSearchRequest): UserGrantSearchRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: UserGrantSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserGrantSearchRequest;
|
||||
static deserializeBinaryFromReader(message: UserGrantSearchRequest, reader: jspb.BinaryReader): UserGrantSearchRequest;
|
||||
}
|
||||
|
||||
export namespace UserGrantSearchRequest {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
sortingColumn: UserGrantSearchKey,
|
||||
asc: boolean,
|
||||
queriesList: Array<UserGrantSearchQuery.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantSearchQuery extends jspb.Message {
|
||||
getKey(): UserGrantSearchKey;
|
||||
setKey(value: UserGrantSearchKey): void;
|
||||
|
||||
getMethod(): SearchMethod;
|
||||
setMethod(value: SearchMethod): void;
|
||||
|
||||
getValue(): string;
|
||||
setValue(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserGrantSearchQuery.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserGrantSearchQuery): UserGrantSearchQuery.AsObject;
|
||||
static serializeBinaryToWriter(message: UserGrantSearchQuery, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserGrantSearchQuery;
|
||||
static deserializeBinaryFromReader(message: UserGrantSearchQuery, reader: jspb.BinaryReader): UserGrantSearchQuery;
|
||||
}
|
||||
|
||||
export namespace UserGrantSearchQuery {
|
||||
export type AsObject = {
|
||||
key: UserGrantSearchKey,
|
||||
method: SearchMethod,
|
||||
value: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantSearchResponse extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getTotalResult(): number;
|
||||
setTotalResult(value: number): void;
|
||||
|
||||
getResultList(): Array<UserGrantView>;
|
||||
setResultList(value: Array<UserGrantView>): void;
|
||||
clearResultList(): void;
|
||||
addResult(value?: UserGrantView, index?: number): UserGrantView;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserGrantSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserGrantSearchResponse): UserGrantSearchResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: UserGrantSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserGrantSearchResponse;
|
||||
static deserializeBinaryFromReader(message: UserGrantSearchResponse, reader: jspb.BinaryReader): UserGrantSearchResponse;
|
||||
}
|
||||
|
||||
export namespace UserGrantSearchResponse {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
totalResult: number,
|
||||
resultList: Array<UserGrantView.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantView extends jspb.Message {
|
||||
getOrgid(): string;
|
||||
setOrgid(value: string): void;
|
||||
|
||||
getProjectid(): string;
|
||||
setProjectid(value: string): void;
|
||||
|
||||
getUserid(): string;
|
||||
setUserid(value: string): void;
|
||||
|
||||
getRolesList(): Array<string>;
|
||||
setRolesList(value: Array<string>): void;
|
||||
clearRolesList(): void;
|
||||
addRoles(value: string, index?: number): void;
|
||||
|
||||
getOrgname(): string;
|
||||
setOrgname(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserGrantView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserGrantView): UserGrantView.AsObject;
|
||||
static serializeBinaryToWriter(message: UserGrantView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserGrantView;
|
||||
static deserializeBinaryFromReader(message: UserGrantView, reader: jspb.BinaryReader): UserGrantView;
|
||||
}
|
||||
|
||||
export namespace UserGrantView {
|
||||
export type AsObject = {
|
||||
orgid: string,
|
||||
projectid: string,
|
||||
userid: string,
|
||||
rolesList: Array<string>,
|
||||
orgname: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class MyProjectOrgSearchRequest extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
@@ -768,24 +946,6 @@ export namespace MyProjectOrgSearchResponse {
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
@@ -864,6 +1024,11 @@ export enum MFAState {
|
||||
MFASTATE_READY = 2,
|
||||
MFASTATE_REMOVED = 3,
|
||||
}
|
||||
export enum UserGrantSearchKey {
|
||||
USERGRANTSEARCHKEY_UNKNOWN = 0,
|
||||
USERGRANTSEARCHKEY_ORG_ID = 1,
|
||||
USERGRANTSEARCHKEY_PROJECT_ID = 2,
|
||||
}
|
||||
export enum MyProjectOrgSearchKey {
|
||||
MYPROJECTORGSEARCHKEY_UNSPECIFIED = 0,
|
||||
MYPROJECTORGSEARCHKEY_ORG_NAME = 1,
|
||||
@@ -872,4 +1037,7 @@ export enum SearchMethod {
|
||||
SEARCHMETHOD_EQUALS = 0,
|
||||
SEARCHMETHOD_STARTS_WITH = 1,
|
||||
SEARCHMETHOD_CONTAINS = 2,
|
||||
SEARCHMETHOD_EQUALS_IGNORE_CASE = 3,
|
||||
SEARCHMETHOD_STARTS_WITH_IGNORE_CASE = 4,
|
||||
SEARCHMETHOD_CONTAINS_IGNORE_CASE = 5,
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+23
-22
@@ -23,7 +23,8 @@ import {
|
||||
Changes,
|
||||
ClientSecret,
|
||||
CreateUserRequest,
|
||||
GrantedGrantID,
|
||||
GrantedProjectSearchRequest,
|
||||
GrantedProjectSearchResponse,
|
||||
MultiFactors,
|
||||
OIDCApplicationCreate,
|
||||
OIDCConfig,
|
||||
@@ -31,6 +32,7 @@ import {
|
||||
Org,
|
||||
OrgDomain,
|
||||
OrgID,
|
||||
OrgMember,
|
||||
OrgMemberRoles,
|
||||
OrgMemberSearchRequest,
|
||||
OrgMemberSearchResponse,
|
||||
@@ -80,8 +82,6 @@ import {
|
||||
ProjectRoleRemove,
|
||||
ProjectRoleSearchRequest,
|
||||
ProjectRoleSearchResponse,
|
||||
ProjectSearchRequest,
|
||||
ProjectSearchResponse,
|
||||
ProjectUpdateRequest,
|
||||
ProjectUserGrantID,
|
||||
ProjectUserGrantSearchRequest,
|
||||
@@ -108,7 +108,8 @@ import {
|
||||
UserPhone,
|
||||
UserProfile,
|
||||
UserSearchRequest,
|
||||
UserSearchResponse} from './management_pb';
|
||||
UserSearchResponse,
|
||||
UserView} from './management_pb';
|
||||
|
||||
export class ManagementServiceClient {
|
||||
constructor (hostname: string,
|
||||
@@ -147,8 +148,8 @@ export class ManagementServiceClient {
|
||||
request: UserEmailID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: User) => void
|
||||
): grpcWeb.ClientReadableStream<User>;
|
||||
response: UserView) => void
|
||||
): grpcWeb.ClientReadableStream<UserView>;
|
||||
|
||||
searchUsers(
|
||||
request: UserSearchRequest,
|
||||
@@ -448,15 +449,15 @@ export class ManagementServiceClient {
|
||||
request: AddOrgMemberRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
response: OrgMember) => void
|
||||
): grpcWeb.ClientReadableStream<OrgMember>;
|
||||
|
||||
changeOrgMember(
|
||||
request: ChangeOrgMemberRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
response: OrgMember) => void
|
||||
): grpcWeb.ClientReadableStream<OrgMember>;
|
||||
|
||||
removeOrgMember(
|
||||
request: RemoveOrgMemberRequest,
|
||||
@@ -472,12 +473,12 @@ export class ManagementServiceClient {
|
||||
response: OrgMemberSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<OrgMemberSearchResponse>;
|
||||
|
||||
searchProjects(
|
||||
request: ProjectSearchRequest,
|
||||
searchGrantedProjects(
|
||||
request: GrantedProjectSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: ProjectSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<ProjectSearchResponse>;
|
||||
response: GrantedProjectSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<GrantedProjectSearchResponse>;
|
||||
|
||||
projectByID(
|
||||
request: ProjectID,
|
||||
@@ -515,7 +516,7 @@ export class ManagementServiceClient {
|
||||
): grpcWeb.ClientReadableStream<Project>;
|
||||
|
||||
getGrantedProjectGrantByID(
|
||||
request: GrantedGrantID,
|
||||
request: ProjectGrantID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: ProjectGrant) => void
|
||||
@@ -901,7 +902,7 @@ export class ManagementServicePromiseClient {
|
||||
getUserByEmailGlobal(
|
||||
request: UserEmailID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<User>;
|
||||
): Promise<UserView>;
|
||||
|
||||
searchUsers(
|
||||
request: UserSearchRequest,
|
||||
@@ -1116,12 +1117,12 @@ export class ManagementServicePromiseClient {
|
||||
addOrgMember(
|
||||
request: AddOrgMemberRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
): Promise<OrgMember>;
|
||||
|
||||
changeOrgMember(
|
||||
request: ChangeOrgMemberRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
): Promise<OrgMember>;
|
||||
|
||||
removeOrgMember(
|
||||
request: RemoveOrgMemberRequest,
|
||||
@@ -1133,10 +1134,10 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgMemberSearchResponse>;
|
||||
|
||||
searchProjects(
|
||||
request: ProjectSearchRequest,
|
||||
searchGrantedProjects(
|
||||
request: GrantedProjectSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<ProjectSearchResponse>;
|
||||
): Promise<GrantedProjectSearchResponse>;
|
||||
|
||||
projectByID(
|
||||
request: ProjectID,
|
||||
@@ -1164,7 +1165,7 @@ export class ManagementServicePromiseClient {
|
||||
): Promise<Project>;
|
||||
|
||||
getGrantedProjectGrantByID(
|
||||
request: GrantedGrantID,
|
||||
request: ProjectGrantID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<ProjectGrant>;
|
||||
|
||||
|
||||
@@ -410,13 +410,13 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.ge
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.UserEmailID,
|
||||
* !proto.caos.zitadel.management.api.v1.User>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserView>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetUserByEmailGlobal = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetUserByEmailGlobal',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.UserEmailID,
|
||||
proto.caos.zitadel.management.api.v1.User,
|
||||
proto.caos.zitadel.management.api.v1.UserView,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.UserEmailID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -424,7 +424,7 @@ const methodDescriptor_ManagementService_GetUserByEmailGlobal = new grpc.web.Met
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.User.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -432,10 +432,10 @@ const methodDescriptor_ManagementService_GetUserByEmailGlobal = new grpc.web.Met
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.UserEmailID,
|
||||
* !proto.caos.zitadel.management.api.v1.User>}
|
||||
* !proto.caos.zitadel.management.api.v1.UserView>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetUserByEmailGlobal = 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.UserEmailID} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -443,7 +443,7 @@ const methodInfo_ManagementService_GetUserByEmailGlobal = new grpc.web.AbstractC
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.User.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.UserView.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -452,9 +452,9 @@ const methodInfo_ManagementService_GetUserByEmailGlobal = new grpc.web.AbstractC
|
||||
* 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.getUserByEmailGlobal =
|
||||
@@ -473,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.getUserByEmailGlobal =
|
||||
@@ -3850,13 +3850,13 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.ge
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.AddOrgMemberRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
* !proto.caos.zitadel.management.api.v1.OrgMember>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_AddOrgMember = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/AddOrgMember',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.AddOrgMemberRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.management.api.v1.OrgMember,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.AddOrgMemberRequest} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -3864,7 +3864,7 @@ const methodDescriptor_ManagementService_AddOrgMember = new grpc.web.MethodDescr
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.OrgMember.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -3872,10 +3872,10 @@ const methodDescriptor_ManagementService_AddOrgMember = new grpc.web.MethodDescr
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.AddOrgMemberRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
* !proto.caos.zitadel.management.api.v1.OrgMember>}
|
||||
*/
|
||||
const methodInfo_ManagementService_AddOrgMember = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.management.api.v1.OrgMember,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.AddOrgMemberRequest} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -3883,7 +3883,7 @@ const methodInfo_ManagementService_AddOrgMember = new grpc.web.AbstractClientBas
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.OrgMember.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -3892,9 +3892,9 @@ const methodInfo_ManagementService_AddOrgMember = new grpc.web.AbstractClientBas
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.google.protobuf.Empty)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.OrgMember)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.OrgMember>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.addOrgMember =
|
||||
@@ -3913,7 +3913,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.addOrgMem
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.OrgMember>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.addOrgMember =
|
||||
@@ -3930,13 +3930,13 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.ad
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.ChangeOrgMemberRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
* !proto.caos.zitadel.management.api.v1.OrgMember>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_ChangeOrgMember = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/ChangeOrgMember',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.ChangeOrgMemberRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.management.api.v1.OrgMember,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ChangeOrgMemberRequest} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -3944,7 +3944,7 @@ const methodDescriptor_ManagementService_ChangeOrgMember = new grpc.web.MethodDe
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.OrgMember.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -3952,10 +3952,10 @@ const methodDescriptor_ManagementService_ChangeOrgMember = new grpc.web.MethodDe
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.ChangeOrgMemberRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
* !proto.caos.zitadel.management.api.v1.OrgMember>}
|
||||
*/
|
||||
const methodInfo_ManagementService_ChangeOrgMember = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.management.api.v1.OrgMember,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ChangeOrgMemberRequest} request
|
||||
* @return {!Uint8Array}
|
||||
@@ -3963,7 +3963,7 @@ const methodInfo_ManagementService_ChangeOrgMember = new grpc.web.AbstractClient
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.OrgMember.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
@@ -3972,9 +3972,9 @@ const methodInfo_ManagementService_ChangeOrgMember = new grpc.web.AbstractClient
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.google.protobuf.Empty)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.OrgMember)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.OrgMember>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.changeOrgMember =
|
||||
@@ -3993,7 +3993,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.changeOrg
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.OrgMember>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.changeOrgMember =
|
||||
@@ -4169,80 +4169,80 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.se
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectSearchRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectSearchResponse>}
|
||||
* !proto.caos.zitadel.management.api.v1.GrantedProjectSearchRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_SearchProjects = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchProjects',
|
||||
const methodDescriptor_ManagementService_SearchGrantedProjects = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchGrantedProjects',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.ProjectSearchRequest,
|
||||
proto.caos.zitadel.management.api.v1.ProjectSearchResponse,
|
||||
proto.caos.zitadel.management.api.v1.GrantedProjectSearchRequest,
|
||||
proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectSearchRequest} request
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedProjectSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.ProjectSearchResponse.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectSearchRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectSearchResponse>}
|
||||
* !proto.caos.zitadel.management.api.v1.GrantedProjectSearchRequest,
|
||||
* !proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse>}
|
||||
*/
|
||||
const methodInfo_ManagementService_SearchProjects = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.ProjectSearchResponse,
|
||||
const methodInfo_ManagementService_SearchGrantedProjects = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectSearchRequest} request
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedProjectSearchRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.management.api.v1.ProjectSearchResponse.deserializeBinary
|
||||
proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectSearchRequest} request The
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedProjectSearchRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.ProjectSearchResponse)}
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.ProjectSearchResponse>|undefined}
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.searchProjects =
|
||||
proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.searchGrantedProjects =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchProjects',
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchGrantedProjects',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_SearchProjects,
|
||||
methodDescriptor_ManagementService_SearchGrantedProjects,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectSearchRequest} request The
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedProjectSearchRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.ProjectSearchResponse>}
|
||||
* @return {!Promise<!proto.caos.zitadel.management.api.v1.GrantedProjectSearchResponse>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.searchProjects =
|
||||
proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.searchGrantedProjects =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchProjects',
|
||||
'/caos.zitadel.management.api.v1.ManagementService/SearchGrantedProjects',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_ManagementService_SearchProjects);
|
||||
methodDescriptor_ManagementService_SearchGrantedProjects);
|
||||
};
|
||||
|
||||
|
||||
@@ -4649,16 +4649,16 @@ proto.caos.zitadel.management.api.v1.ManagementServicePromiseClient.prototype.re
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.caos.zitadel.management.api.v1.GrantedGrantID,
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectGrantID,
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectGrant>}
|
||||
*/
|
||||
const methodDescriptor_ManagementService_GetGrantedProjectGrantByID = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.management.api.v1.ManagementService/GetGrantedProjectGrantByID',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.caos.zitadel.management.api.v1.GrantedGrantID,
|
||||
proto.caos.zitadel.management.api.v1.ProjectGrantID,
|
||||
proto.caos.zitadel.management.api.v1.ProjectGrant,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedGrantID} request
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectGrantID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
@@ -4671,13 +4671,13 @@ const methodDescriptor_ManagementService_GetGrantedProjectGrantByID = new grpc.w
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.caos.zitadel.management.api.v1.GrantedGrantID,
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectGrantID,
|
||||
* !proto.caos.zitadel.management.api.v1.ProjectGrant>}
|
||||
*/
|
||||
const methodInfo_ManagementService_GetGrantedProjectGrantByID = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.management.api.v1.ProjectGrant,
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedGrantID} request
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectGrantID} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
@@ -4688,7 +4688,7 @@ const methodInfo_ManagementService_GetGrantedProjectGrantByID = new grpc.web.Abs
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedGrantID} request The
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectGrantID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
@@ -4709,7 +4709,7 @@ proto.caos.zitadel.management.api.v1.ManagementServiceClient.prototype.getGrante
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.caos.zitadel.management.api.v1.GrantedGrantID} request The
|
||||
* @param {!proto.caos.zitadel.management.api.v1.ProjectGrantID} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
|
||||
+613
-195
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user