UNPKG

@ragnaraven/zitadel-node-dual

Version:

Library for API access to ZITADEL with modern ES import syntax. Works everywhere - NestJS, Node.js, any TypeScript environment. No more require()!

72 lines 2.8 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var settings_exports = {}; __export(settings_exports, { ResourceOwnerType: () => ResourceOwnerType, protobufPackage: () => protobufPackage, resourceOwnerTypeFromJSON: () => resourceOwnerTypeFromJSON, resourceOwnerTypeToJSON: () => resourceOwnerTypeToJSON }); module.exports = __toCommonJS(settings_exports); const protobufPackage = "zitadel.settings.v2"; var ResourceOwnerType = /* @__PURE__ */ ((ResourceOwnerType2) => { ResourceOwnerType2[ResourceOwnerType2["RESOURCE_OWNER_TYPE_UNSPECIFIED"] = 0] = "RESOURCE_OWNER_TYPE_UNSPECIFIED"; ResourceOwnerType2[ResourceOwnerType2["RESOURCE_OWNER_TYPE_INSTANCE"] = 1] = "RESOURCE_OWNER_TYPE_INSTANCE"; ResourceOwnerType2[ResourceOwnerType2["RESOURCE_OWNER_TYPE_ORG"] = 2] = "RESOURCE_OWNER_TYPE_ORG"; ResourceOwnerType2[ResourceOwnerType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; return ResourceOwnerType2; })(ResourceOwnerType || {}); function resourceOwnerTypeFromJSON(object) { switch (object) { case 0: case "RESOURCE_OWNER_TYPE_UNSPECIFIED": return 0 /* RESOURCE_OWNER_TYPE_UNSPECIFIED */; case 1: case "RESOURCE_OWNER_TYPE_INSTANCE": return 1 /* RESOURCE_OWNER_TYPE_INSTANCE */; case 2: case "RESOURCE_OWNER_TYPE_ORG": return 2 /* RESOURCE_OWNER_TYPE_ORG */; case -1: case "UNRECOGNIZED": default: return -1 /* UNRECOGNIZED */; } } function resourceOwnerTypeToJSON(object) { switch (object) { case 0 /* RESOURCE_OWNER_TYPE_UNSPECIFIED */: return "RESOURCE_OWNER_TYPE_UNSPECIFIED"; case 1 /* RESOURCE_OWNER_TYPE_INSTANCE */: return "RESOURCE_OWNER_TYPE_INSTANCE"; case 2 /* RESOURCE_OWNER_TYPE_ORG */: return "RESOURCE_OWNER_TYPE_ORG"; case -1 /* UNRECOGNIZED */: default: return "UNRECOGNIZED"; } } // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { ResourceOwnerType, protobufPackage, resourceOwnerTypeFromJSON, resourceOwnerTypeToJSON }); //# sourceMappingURL=settings.js.map