UNPKG

ts-mailcow-api

Version:
23 lines 687 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.identityProviderEndpoints = identityProviderEndpoints; const IDENTITY_PROVIDER_ENDPOINTS = { EDIT: 'edit/identity-provider', }; /** * Binder function between the MailcowClient class and the * IdentityProviderEndpoints. * @param bind - The MailcowClient to bind. * @internal */ function identityProviderEndpoints(bind) { return { edit(attr) { return bind.requestFactory.post(IDENTITY_PROVIDER_ENDPOINTS.EDIT, { attr, items: ['identity-provider'], }); }, }; } //# sourceMappingURL=identity-provider-endpoints.js.map