• File: utils.d.ts
  • Full Path: /var/www/nodejs/callDir/node_modules/soap/lib/utils.d.ts
  • Date Modified: 06/03/2024 5:11 PM
  • File size: 790 bytes
  • MIME-type: text/x-java
  • Charset: utf-8
/// <reference types="node" />
import { IMTOMAttachments } from './types';
export declare function passwordDigest(nonce: string, created: string, password: string): string;
export declare const TNS_PREFIX = "__tns__";
/**
 * Find a key from an object based on the value
 * @param {Object} Namespace prefix/uri mapping
 * @param {*} nsURI value
 * @returns {String} The matching key
 */
export declare function findPrefix(xmlnsMapping: any, nsURI: any): string;
export declare function splitQName<T>(nsName: T): {
    prefix: string;
    name: T;
} | {
    prefix: string;
    name: string;
};
export declare function xmlEscape(obj: any): any;
export declare function parseMTOMResp(payload: Buffer, boundary: string, callback: (err?: Error, resp?: IMTOMAttachments) => void): Promise<void>;