Latest generation

This commit is contained in:
ci core model
2025-05-28 15:26:03 +00:00
parent 722ee8d383
commit 31e3e485f3
3 changed files with 779 additions and 29 deletions

View File

@@ -9,6 +9,8 @@ import type { UpdateTwoFAPlatformRequest } from "./user";
import type { ForceProjectUserTwoFARequest } from "./user";
import type { ForceTwoFAResult } from "./user";
import type { ForceTwoFAOrganisationRequest } from "./user";
import type { SetUserSiteRolesResult } from "./user";
import type { SetUserSiteRolesRequest } from "./user";
import type { SetUserAttachmentTypeRolesResult } from "./user";
import type { SetUserAttachmentTypeRolesRequest } from "./user";
import type { SetUserConnectionRolesResult } from "./user";
@@ -21,6 +23,8 @@ import type { SetUserOrganisationRolesResult } from "./user";
import type { SetUserOrganisationRolesRequest } from "./user";
import type { SetUserPlatformRolesResult } from "./user";
import type { SetUserPlatformRolesRequest } from "./user";
import type { ListUserSiteRolesResult } from "./user";
import type { ListUserSiteRolesRequest } from "./user";
import type { ListUserAttachmentTypeRolesResult } from "./user";
import type { ListUserAttachmentTypeRolesRequest } from "./user";
import type { ListUserConnectionRolesResult } from "./user";
@@ -33,24 +37,30 @@ import type { ListUserOrganisationRolesResult } from "./user";
import type { ListUserOrganisationRolesRequest } from "./user";
import type { ListUserPlatformRolesResult } from "./user";
import type { ListUserPlatformRolesRequest } from "./user";
import type { GetSiteUserRequest } from "./user";
import type { GetProjectUserResult } from "./user";
import type { GetProjectUserRequest } from "./user";
import type { GetOrganisationUserResult } from "./user";
import type { GetOrganisationUserRequest } from "./user";
import type { GetPlatformUserResult } from "./user";
import type { GetPlatformUserRequest } from "./user";
import type { ListUsersInSiteRoleRequest } from "./user";
import type { ListUsersInConnectionRoleRequest } from "./user";
import type { ListUsersInPartnerAppRoleRequest } from "./user";
import type { ListUsersInProjectRoleRequest } from "./user";
import type { ListUsersInOrganisationRoleRequest } from "./user";
import type { ListUsersInRoleResult } from "./user";
import type { ListUsersInPlatformRoleRequest } from "./user";
import type { FindSitesResult } from "./user";
import type { FindSiteUsersRequest } from "./user";
import type { FindConnectionUsersRequest } from "./user";
import type { FindPartnerAppUsersRequest } from "./user";
import type { FindProjectUsersRequest } from "./user";
import type { FindOrganisationUsersRequest } from "./user";
import type { FindUsersResult } from "./user";
import type { FindPlatformUsersRequest } from "./user";
import type { ListSiteUsersResult } from "./user";
import type { ListSiteUsersRequest } from "./user";
import type { ListConnectionUsersResult } from "./user";
import type { ListConnectionUsersRequest } from "./user";
import type { ListPartnerAppUsersResult } from "./user";
@@ -155,6 +165,10 @@ export interface IUserServiceClient {
* @generated from protobuf rpc: ListConnectionUsers
*/
listConnectionUsers(input: ListConnectionUsersRequest, options?: RpcOptions): UnaryCall<ListConnectionUsersRequest, ListConnectionUsersResult>;
/**
* @generated from protobuf rpc: ListSiteUsers
*/
listSiteUsers(input: ListSiteUsersRequest, options?: RpcOptions): UnaryCall<ListSiteUsersRequest, ListSiteUsersResult>;
/**
* @generated from protobuf rpc: FindPlatformUsers
*/
@@ -175,6 +189,10 @@ export interface IUserServiceClient {
* @generated from protobuf rpc: FindConnectionUsers
*/
findConnectionUsers(input: FindConnectionUsersRequest, options?: RpcOptions): UnaryCall<FindConnectionUsersRequest, FindUsersResult>;
/**
* @generated from protobuf rpc: FindSiteUsers
*/
findSiteUsers(input: FindSiteUsersRequest, options?: RpcOptions): UnaryCall<FindSiteUsersRequest, FindSitesResult>;
/**
* @generated from protobuf rpc: ListUsersInPlatformRole
*/
@@ -195,6 +213,10 @@ export interface IUserServiceClient {
* @generated from protobuf rpc: ListUsersInConnectionRole
*/
listUsersInConnectionRole(input: ListUsersInConnectionRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInConnectionRoleRequest, ListUsersInRoleResult>;
/**
* @generated from protobuf rpc: ListUsersInSiteRole
*/
listUsersInSiteRole(input: ListUsersInSiteRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInSiteRoleRequest, ListUsersInRoleResult>;
/**
* @generated from protobuf rpc: GetPlatformUser
*/
@@ -207,6 +229,10 @@ export interface IUserServiceClient {
* @generated from protobuf rpc: GetProjectUser
*/
getProjectUser(input: GetProjectUserRequest, options?: RpcOptions): UnaryCall<GetProjectUserRequest, GetProjectUserResult>;
/**
* @generated from protobuf rpc: GetSiteUser
*/
getSiteUser(input: GetSiteUserRequest, options?: RpcOptions): UnaryCall<GetSiteUserRequest, GetProjectUserResult>;
/**
* @generated from protobuf rpc: ListPlatformRoles
*/
@@ -231,6 +257,10 @@ export interface IUserServiceClient {
* @generated from protobuf rpc: ListAttachmentTypeRoles
*/
listAttachmentTypeRoles(input: ListUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<ListUserAttachmentTypeRolesRequest, ListUserAttachmentTypeRolesResult>;
/**
* @generated from protobuf rpc: ListSiteRoles
*/
listSiteRoles(input: ListUserSiteRolesRequest, options?: RpcOptions): UnaryCall<ListUserSiteRolesRequest, ListUserSiteRolesResult>;
/**
* @generated from protobuf rpc: SetPlatformRoles
*/
@@ -255,6 +285,10 @@ export interface IUserServiceClient {
* @generated from protobuf rpc: SetAttachmentTypeRoles
*/
setAttachmentTypeRoles(input: SetUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<SetUserAttachmentTypeRolesRequest, SetUserAttachmentTypeRolesResult>;
/**
* @generated from protobuf rpc: SetSiteRoles
*/
setSiteRoles(input: SetUserSiteRolesRequest, options?: RpcOptions): UnaryCall<SetUserSiteRolesRequest, SetUserSiteRolesResult>;
/**
* @generated from protobuf rpc: ForceTwoFA
*/
@@ -396,200 +430,242 @@ export class UserServiceClient implements IUserServiceClient, ServiceInfo {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<ListConnectionUsersRequest, ListConnectionUsersResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListSiteUsers
*/
listSiteUsers(input: ListSiteUsersRequest, options?: RpcOptions): UnaryCall<ListSiteUsersRequest, ListSiteUsersResult> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSiteUsersRequest, ListSiteUsersResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindPlatformUsers
*/
findPlatformUsers(input: FindPlatformUsersRequest, options?: RpcOptions): UnaryCall<FindPlatformUsersRequest, FindUsersResult> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<FindPlatformUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindOrganisationUsers
*/
findOrganisationUsers(input: FindOrganisationUsersRequest, options?: RpcOptions): UnaryCall<FindOrganisationUsersRequest, FindUsersResult> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<FindOrganisationUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindProjectUsers
*/
findProjectUsers(input: FindProjectUsersRequest, options?: RpcOptions): UnaryCall<FindProjectUsersRequest, FindUsersResult> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
const method = this.methods[20], opt = this._transport.mergeOptions(options);
return stackIntercept<FindProjectUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindPartnerAppUsers
*/
findPartnerAppUsers(input: FindPartnerAppUsersRequest, options?: RpcOptions): UnaryCall<FindPartnerAppUsersRequest, FindUsersResult> {
const method = this.methods[20], opt = this._transport.mergeOptions(options);
const method = this.methods[21], opt = this._transport.mergeOptions(options);
return stackIntercept<FindPartnerAppUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindConnectionUsers
*/
findConnectionUsers(input: FindConnectionUsersRequest, options?: RpcOptions): UnaryCall<FindConnectionUsersRequest, FindUsersResult> {
const method = this.methods[21], opt = this._transport.mergeOptions(options);
const method = this.methods[22], opt = this._transport.mergeOptions(options);
return stackIntercept<FindConnectionUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: FindSiteUsers
*/
findSiteUsers(input: FindSiteUsersRequest, options?: RpcOptions): UnaryCall<FindSiteUsersRequest, FindSitesResult> {
const method = this.methods[23], opt = this._transport.mergeOptions(options);
return stackIntercept<FindSiteUsersRequest, FindSitesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUsersInPlatformRole
*/
listUsersInPlatformRole(input: ListUsersInPlatformRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInPlatformRoleRequest, ListUsersInRoleResult> {
const method = this.methods[22], opt = this._transport.mergeOptions(options);
const method = this.methods[24], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUsersInPlatformRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUsersInOrganisationRole
*/
listUsersInOrganisationRole(input: ListUsersInOrganisationRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInOrganisationRoleRequest, ListUsersInRoleResult> {
const method = this.methods[23], opt = this._transport.mergeOptions(options);
const method = this.methods[25], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUsersInOrganisationRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUsersInProjectRole
*/
listUsersInProjectRole(input: ListUsersInProjectRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInProjectRoleRequest, ListUsersInRoleResult> {
const method = this.methods[24], opt = this._transport.mergeOptions(options);
const method = this.methods[26], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUsersInProjectRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUsersInPartnerAppRole
*/
listUsersInPartnerAppRole(input: ListUsersInPartnerAppRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInPartnerAppRoleRequest, ListUsersInRoleResult> {
const method = this.methods[25], opt = this._transport.mergeOptions(options);
const method = this.methods[27], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUsersInPartnerAppRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUsersInConnectionRole
*/
listUsersInConnectionRole(input: ListUsersInConnectionRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInConnectionRoleRequest, ListUsersInRoleResult> {
const method = this.methods[26], opt = this._transport.mergeOptions(options);
const method = this.methods[28], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUsersInConnectionRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListUsersInSiteRole
*/
listUsersInSiteRole(input: ListUsersInSiteRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInSiteRoleRequest, ListUsersInRoleResult> {
const method = this.methods[29], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUsersInSiteRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetPlatformUser
*/
getPlatformUser(input: GetPlatformUserRequest, options?: RpcOptions): UnaryCall<GetPlatformUserRequest, GetPlatformUserResult> {
const method = this.methods[27], opt = this._transport.mergeOptions(options);
const method = this.methods[30], opt = this._transport.mergeOptions(options);
return stackIntercept<GetPlatformUserRequest, GetPlatformUserResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetOrganisationUser
*/
getOrganisationUser(input: GetOrganisationUserRequest, options?: RpcOptions): UnaryCall<GetOrganisationUserRequest, GetOrganisationUserResult> {
const method = this.methods[28], opt = this._transport.mergeOptions(options);
const method = this.methods[31], opt = this._transport.mergeOptions(options);
return stackIntercept<GetOrganisationUserRequest, GetOrganisationUserResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetProjectUser
*/
getProjectUser(input: GetProjectUserRequest, options?: RpcOptions): UnaryCall<GetProjectUserRequest, GetProjectUserResult> {
const method = this.methods[29], opt = this._transport.mergeOptions(options);
const method = this.methods[32], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectUserRequest, GetProjectUserResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetSiteUser
*/
getSiteUser(input: GetSiteUserRequest, options?: RpcOptions): UnaryCall<GetSiteUserRequest, GetProjectUserResult> {
const method = this.methods[33], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteUserRequest, GetProjectUserResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListPlatformRoles
*/
listPlatformRoles(input: ListUserPlatformRolesRequest, options?: RpcOptions): UnaryCall<ListUserPlatformRolesRequest, ListUserPlatformRolesResult> {
const method = this.methods[30], opt = this._transport.mergeOptions(options);
const method = this.methods[34], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserPlatformRolesRequest, ListUserPlatformRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListOrganisationRoles
*/
listOrganisationRoles(input: ListUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall<ListUserOrganisationRolesRequest, ListUserOrganisationRolesResult> {
const method = this.methods[31], opt = this._transport.mergeOptions(options);
const method = this.methods[35], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserOrganisationRolesRequest, ListUserOrganisationRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListProjectRoles
*/
listProjectRoles(input: ListUserProjectRolesRequest, options?: RpcOptions): UnaryCall<ListUserProjectRolesRequest, ListUserProjectRolesResult> {
const method = this.methods[32], opt = this._transport.mergeOptions(options);
const method = this.methods[36], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserProjectRolesRequest, ListUserProjectRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListPartnerAppRoles
*/
listPartnerAppRoles(input: ListUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall<ListUserPartnerAppRolesRequest, ListUserPartnerAppRolesResult> {
const method = this.methods[33], opt = this._transport.mergeOptions(options);
const method = this.methods[37], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserPartnerAppRolesRequest, ListUserPartnerAppRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListConnectionRoles
*/
listConnectionRoles(input: ListUserConnectionRolesRequest, options?: RpcOptions): UnaryCall<ListUserConnectionRolesRequest, ListUserConnectionRolesResult> {
const method = this.methods[34], opt = this._transport.mergeOptions(options);
const method = this.methods[38], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserConnectionRolesRequest, ListUserConnectionRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListAttachmentTypeRoles
*/
listAttachmentTypeRoles(input: ListUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<ListUserAttachmentTypeRolesRequest, ListUserAttachmentTypeRolesResult> {
const method = this.methods[35], opt = this._transport.mergeOptions(options);
const method = this.methods[39], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserAttachmentTypeRolesRequest, ListUserAttachmentTypeRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListSiteRoles
*/
listSiteRoles(input: ListUserSiteRolesRequest, options?: RpcOptions): UnaryCall<ListUserSiteRolesRequest, ListUserSiteRolesResult> {
const method = this.methods[40], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserSiteRolesRequest, ListUserSiteRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetPlatformRoles
*/
setPlatformRoles(input: SetUserPlatformRolesRequest, options?: RpcOptions): UnaryCall<SetUserPlatformRolesRequest, SetUserPlatformRolesResult> {
const method = this.methods[36], opt = this._transport.mergeOptions(options);
const method = this.methods[41], opt = this._transport.mergeOptions(options);
return stackIntercept<SetUserPlatformRolesRequest, SetUserPlatformRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetOrganisationRoles
*/
setOrganisationRoles(input: SetUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall<SetUserOrganisationRolesRequest, SetUserOrganisationRolesResult> {
const method = this.methods[37], opt = this._transport.mergeOptions(options);
const method = this.methods[42], opt = this._transport.mergeOptions(options);
return stackIntercept<SetUserOrganisationRolesRequest, SetUserOrganisationRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetProjectRoles
*/
setProjectRoles(input: SetUserProjectRolesRequest, options?: RpcOptions): UnaryCall<SetUserProjectRolesRequest, SetUserProjectRolesResult> {
const method = this.methods[38], opt = this._transport.mergeOptions(options);
const method = this.methods[43], opt = this._transport.mergeOptions(options);
return stackIntercept<SetUserProjectRolesRequest, SetUserProjectRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetPartnerAppRoles
*/
setPartnerAppRoles(input: SetUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall<SetUserPartnerAppRolesRequest, SetUserPartnerAppRolesResult> {
const method = this.methods[39], opt = this._transport.mergeOptions(options);
const method = this.methods[44], opt = this._transport.mergeOptions(options);
return stackIntercept<SetUserPartnerAppRolesRequest, SetUserPartnerAppRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetConnectionRoles
*/
setConnectionRoles(input: SetUserConnectionRolesRequest, options?: RpcOptions): UnaryCall<SetUserConnectionRolesRequest, SetUserConnectionRolesResult> {
const method = this.methods[40], opt = this._transport.mergeOptions(options);
const method = this.methods[45], opt = this._transport.mergeOptions(options);
return stackIntercept<SetUserConnectionRolesRequest, SetUserConnectionRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetAttachmentTypeRoles
*/
setAttachmentTypeRoles(input: SetUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<SetUserAttachmentTypeRolesRequest, SetUserAttachmentTypeRolesResult> {
const method = this.methods[41], opt = this._transport.mergeOptions(options);
const method = this.methods[46], opt = this._transport.mergeOptions(options);
return stackIntercept<SetUserAttachmentTypeRolesRequest, SetUserAttachmentTypeRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: SetSiteRoles
*/
setSiteRoles(input: SetUserSiteRolesRequest, options?: RpcOptions): UnaryCall<SetUserSiteRolesRequest, SetUserSiteRolesResult> {
const method = this.methods[47], opt = this._transport.mergeOptions(options);
return stackIntercept<SetUserSiteRolesRequest, SetUserSiteRolesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ForceTwoFA
*/
forceTwoFA(input: ForceTwoFAOrganisationRequest, options?: RpcOptions): UnaryCall<ForceTwoFAOrganisationRequest, ForceTwoFAResult> {
const method = this.methods[42], opt = this._transport.mergeOptions(options);
const method = this.methods[48], opt = this._transport.mergeOptions(options);
return stackIntercept<ForceTwoFAOrganisationRequest, ForceTwoFAResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ForceProjectUserTwoFA
*/
forceProjectUserTwoFA(input: ForceProjectUserTwoFARequest, options?: RpcOptions): UnaryCall<ForceProjectUserTwoFARequest, ForceTwoFAResult> {
const method = this.methods[43], opt = this._transport.mergeOptions(options);
const method = this.methods[49], opt = this._transport.mergeOptions(options);
return stackIntercept<ForceProjectUserTwoFARequest, ForceTwoFAResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdatePlatformTwoFA
*/
updatePlatformTwoFA(input: UpdateTwoFAPlatformRequest, options?: RpcOptions): UnaryCall<UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult> {
const method = this.methods[44], opt = this._transport.mergeOptions(options);
const method = this.methods[50], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult>("unary", this._transport, method, opt, input);
}
}