UNPKG

@fairmint/canton-node-sdk

Version:
32 lines 1.48 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteIdentityProviderConfigParamsSchema = exports.UpdateIdentityProviderConfigParamsSchema = exports.GetIdentityProviderConfigParamsSchema = exports.CreateIdentityProviderConfigParamsSchema = exports.ListIdentityProviderConfigsParamsSchema = void 0; const zod_1 = require("zod"); const base_1 = require("./base"); exports.ListIdentityProviderConfigsParamsSchema = zod_1.z.object({}); exports.CreateIdentityProviderConfigParamsSchema = zod_1.z.object({ identityProviderConfig: zod_1.z.object({ identityProviderId: base_1.NonEmptyStringSchema, isDeactivated: zod_1.z.boolean(), issuer: zod_1.z.string(), jwksUrl: zod_1.z.string(), audience: zod_1.z.string().optional(), }), }); exports.GetIdentityProviderConfigParamsSchema = zod_1.z.object({ idpId: base_1.NonEmptyStringSchema, }); exports.UpdateIdentityProviderConfigParamsSchema = zod_1.z.object({ identityProviderConfig: zod_1.z.object({ identityProviderId: base_1.NonEmptyStringSchema, isDeactivated: zod_1.z.boolean(), issuer: zod_1.z.string(), jwksUrl: zod_1.z.string(), audience: zod_1.z.string().optional(), }), updateMask: zod_1.z.object({ paths: zod_1.z.array(zod_1.z.string()) }), }); exports.DeleteIdentityProviderConfigParamsSchema = zod_1.z.object({ idpId: base_1.NonEmptyStringSchema, }); //# sourceMappingURL=idps.js.map