UNPKG

@zitadel/node

Version:

Library for API access to ZITADEL. Provides compiled gRPC service clients and helpers for applications and service accounts.

45 lines (44 loc) 1.86 kB
// Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: // protoc-gen-ts_proto v2.7.5 // protoc unknown // source: zitadel/settings/v2/settings.proto /* eslint-disable */ export const protobufPackage = "zitadel.settings.v2"; export var ResourceOwnerType; (function (ResourceOwnerType) { ResourceOwnerType[ResourceOwnerType["RESOURCE_OWNER_TYPE_UNSPECIFIED"] = 0] = "RESOURCE_OWNER_TYPE_UNSPECIFIED"; ResourceOwnerType[ResourceOwnerType["RESOURCE_OWNER_TYPE_INSTANCE"] = 1] = "RESOURCE_OWNER_TYPE_INSTANCE"; ResourceOwnerType[ResourceOwnerType["RESOURCE_OWNER_TYPE_ORG"] = 2] = "RESOURCE_OWNER_TYPE_ORG"; ResourceOwnerType[ResourceOwnerType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(ResourceOwnerType || (ResourceOwnerType = {})); export function resourceOwnerTypeFromJSON(object) { switch (object) { case 0: case "RESOURCE_OWNER_TYPE_UNSPECIFIED": return ResourceOwnerType.RESOURCE_OWNER_TYPE_UNSPECIFIED; case 1: case "RESOURCE_OWNER_TYPE_INSTANCE": return ResourceOwnerType.RESOURCE_OWNER_TYPE_INSTANCE; case 2: case "RESOURCE_OWNER_TYPE_ORG": return ResourceOwnerType.RESOURCE_OWNER_TYPE_ORG; case -1: case "UNRECOGNIZED": default: return ResourceOwnerType.UNRECOGNIZED; } } export function resourceOwnerTypeToJSON(object) { switch (object) { case ResourceOwnerType.RESOURCE_OWNER_TYPE_UNSPECIFIED: return "RESOURCE_OWNER_TYPE_UNSPECIFIED"; case ResourceOwnerType.RESOURCE_OWNER_TYPE_INSTANCE: return "RESOURCE_OWNER_TYPE_INSTANCE"; case ResourceOwnerType.RESOURCE_OWNER_TYPE_ORG: return "RESOURCE_OWNER_TYPE_ORG"; case ResourceOwnerType.UNRECOGNIZED: default: return "UNRECOGNIZED"; } }