ts-mailcow-api
Version:
TypeScript wrapper for the mailcow API.
23 lines • 687 B
JavaScript
;
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