Files
npm-core-sdk/idp_pb.ts
2025-03-17 09:56:44 +00:00

446 lines
14 KiB
TypeScript

// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
// @generated from file idp.proto (package api, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
/**
* @generated from message api.IDP
*/
export class IDP extends Message<IDP> {
/**
* @generated from field: string ID = 1;
*/
ID = "";
/**
* @generated from field: string Domain = 2;
*/
Domain = "";
/**
* @generated from field: string KCID = 3;
*/
KCID = "";
/**
* @generated from field: string OrganisationID = 4;
*/
OrganisationID = "";
constructor(data?: PartialMessage<IDP>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.IDP";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "Domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "KCID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IDP {
return new IDP().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IDP {
return new IDP().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IDP {
return new IDP().fromJsonString(jsonString, options);
}
static equals(a: IDP | PlainMessage<IDP> | undefined, b: IDP | PlainMessage<IDP> | undefined): boolean {
return proto3.util.equals(IDP, a, b);
}
}
/**
* @generated from message api.DeleteIDPRequest
*/
export class DeleteIDPRequest extends Message<DeleteIDPRequest> {
/**
* @generated from field: string ID = 1;
*/
ID = "";
constructor(data?: PartialMessage<DeleteIDPRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.DeleteIDPRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteIDPRequest {
return new DeleteIDPRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteIDPRequest {
return new DeleteIDPRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteIDPRequest {
return new DeleteIDPRequest().fromJsonString(jsonString, options);
}
static equals(a: DeleteIDPRequest | PlainMessage<DeleteIDPRequest> | undefined, b: DeleteIDPRequest | PlainMessage<DeleteIDPRequest> | undefined): boolean {
return proto3.util.equals(DeleteIDPRequest, a, b);
}
}
/**
* @generated from message api.GetIDPRequest
*/
export class GetIDPRequest extends Message<GetIDPRequest> {
/**
* @generated from field: string ID = 1;
*/
ID = "";
constructor(data?: PartialMessage<GetIDPRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.GetIDPRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetIDPRequest {
return new GetIDPRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetIDPRequest {
return new GetIDPRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIDPRequest {
return new GetIDPRequest().fromJsonString(jsonString, options);
}
static equals(a: GetIDPRequest | PlainMessage<GetIDPRequest> | undefined, b: GetIDPRequest | PlainMessage<GetIDPRequest> | undefined): boolean {
return proto3.util.equals(GetIDPRequest, a, b);
}
}
/**
* @generated from message api.CreateIDPRequest
*/
export class CreateIDPRequest extends Message<CreateIDPRequest> {
/**
* @generated from field: string Domain = 2;
*/
Domain = "";
/**
* @generated from field: string KCID = 3;
*/
KCID = "";
/**
* @generated from field: string OrganisationID = 4;
*/
OrganisationID = "";
constructor(data?: PartialMessage<CreateIDPRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.CreateIDPRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 2, name: "Domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "KCID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateIDPRequest {
return new CreateIDPRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateIDPRequest {
return new CreateIDPRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateIDPRequest {
return new CreateIDPRequest().fromJsonString(jsonString, options);
}
static equals(a: CreateIDPRequest | PlainMessage<CreateIDPRequest> | undefined, b: CreateIDPRequest | PlainMessage<CreateIDPRequest> | undefined): boolean {
return proto3.util.equals(CreateIDPRequest, a, b);
}
}
/**
* @generated from message api.UpdateIDPRequest
*/
export class UpdateIDPRequest extends Message<UpdateIDPRequest> {
/**
* @generated from field: string ID = 1;
*/
ID = "";
/**
* @generated from field: string KCID = 2;
*/
KCID = "";
/**
* @generated from field: string OrganisationID = 3;
*/
OrganisationID = "";
constructor(data?: PartialMessage<UpdateIDPRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.UpdateIDPRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "KCID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateIDPRequest {
return new UpdateIDPRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateIDPRequest {
return new UpdateIDPRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateIDPRequest {
return new UpdateIDPRequest().fromJsonString(jsonString, options);
}
static equals(a: UpdateIDPRequest | PlainMessage<UpdateIDPRequest> | undefined, b: UpdateIDPRequest | PlainMessage<UpdateIDPRequest> | undefined): boolean {
return proto3.util.equals(UpdateIDPRequest, a, b);
}
}
/**
* @generated from message api.ListIDPRequest
*/
export class ListIDPRequest extends Message<ListIDPRequest> {
constructor(data?: PartialMessage<ListIDPRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.ListIDPRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIDPRequest {
return new ListIDPRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIDPRequest {
return new ListIDPRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIDPRequest {
return new ListIDPRequest().fromJsonString(jsonString, options);
}
static equals(a: ListIDPRequest | PlainMessage<ListIDPRequest> | undefined, b: ListIDPRequest | PlainMessage<ListIDPRequest> | undefined): boolean {
return proto3.util.equals(ListIDPRequest, a, b);
}
}
/**
* @generated from message api.CreateIDPResult
*/
export class CreateIDPResult extends Message<CreateIDPResult> {
/**
* @generated from field: api.IDP Result = 1;
*/
Result?: IDP;
constructor(data?: PartialMessage<CreateIDPResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.CreateIDPResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Result", kind: "message", T: IDP },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateIDPResult {
return new CreateIDPResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateIDPResult {
return new CreateIDPResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateIDPResult {
return new CreateIDPResult().fromJsonString(jsonString, options);
}
static equals(a: CreateIDPResult | PlainMessage<CreateIDPResult> | undefined, b: CreateIDPResult | PlainMessage<CreateIDPResult> | undefined): boolean {
return proto3.util.equals(CreateIDPResult, a, b);
}
}
/**
* @generated from message api.UpdateIDPResult
*/
export class UpdateIDPResult extends Message<UpdateIDPResult> {
/**
* @generated from field: api.IDP Result = 1;
*/
Result?: IDP;
constructor(data?: PartialMessage<UpdateIDPResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.UpdateIDPResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Result", kind: "message", T: IDP },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateIDPResult {
return new UpdateIDPResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateIDPResult {
return new UpdateIDPResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateIDPResult {
return new UpdateIDPResult().fromJsonString(jsonString, options);
}
static equals(a: UpdateIDPResult | PlainMessage<UpdateIDPResult> | undefined, b: UpdateIDPResult | PlainMessage<UpdateIDPResult> | undefined): boolean {
return proto3.util.equals(UpdateIDPResult, a, b);
}
}
/**
* @generated from message api.GetIDPResult
*/
export class GetIDPResult extends Message<GetIDPResult> {
/**
* @generated from field: api.IDP Result = 1;
*/
Result?: IDP;
constructor(data?: PartialMessage<GetIDPResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.GetIDPResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Result", kind: "message", T: IDP },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetIDPResult {
return new GetIDPResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetIDPResult {
return new GetIDPResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIDPResult {
return new GetIDPResult().fromJsonString(jsonString, options);
}
static equals(a: GetIDPResult | PlainMessage<GetIDPResult> | undefined, b: GetIDPResult | PlainMessage<GetIDPResult> | undefined): boolean {
return proto3.util.equals(GetIDPResult, a, b);
}
}
/**
* @generated from message api.ListIDPResult
*/
export class ListIDPResult extends Message<ListIDPResult> {
/**
* @generated from field: repeated api.IDP IDPs = 1;
*/
IDPs: IDP[] = [];
constructor(data?: PartialMessage<ListIDPResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.ListIDPResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "IDPs", kind: "message", T: IDP, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIDPResult {
return new ListIDPResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIDPResult {
return new ListIDPResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIDPResult {
return new ListIDPResult().fromJsonString(jsonString, options);
}
static equals(a: ListIDPResult | PlainMessage<ListIDPResult> | undefined, b: ListIDPResult | PlainMessage<ListIDPResult> | undefined): boolean {
return proto3.util.equals(ListIDPResult, a, b);
}
}
/**
* @generated from message api.DeleteIDPResult
*/
export class DeleteIDPResult extends Message<DeleteIDPResult> {
constructor(data?: PartialMessage<DeleteIDPResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.DeleteIDPResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteIDPResult {
return new DeleteIDPResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteIDPResult {
return new DeleteIDPResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteIDPResult {
return new DeleteIDPResult().fromJsonString(jsonString, options);
}
static equals(a: DeleteIDPResult | PlainMessage<DeleteIDPResult> | undefined, b: DeleteIDPResult | PlainMessage<DeleteIDPResult> | undefined): boolean {
return proto3.util.equals(DeleteIDPResult, a, b);
}
}