Auto-commit 2026-04-29 16:31
This commit is contained in:
42
node_modules/twilio/lib/twiml/TwiML.d.ts
generated
vendored
Normal file
42
node_modules/twilio/lib/twiml/TwiML.d.ts
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Parent TwiML object
|
||||
*/
|
||||
export default class TwiML {
|
||||
[key: string]: any;
|
||||
response: any;
|
||||
_propertyName: string;
|
||||
constructor();
|
||||
/**
|
||||
* Because child elements have properties named after their class names, we need
|
||||
* to translate that when we want to access that at the parent prototype level.
|
||||
* So this will translate something like Say to 'say' and VoiceResponse to
|
||||
* 'response'.
|
||||
*/
|
||||
_getXml(): any;
|
||||
/**
|
||||
* Convert to TwiML
|
||||
*
|
||||
* @returns TwiML XML
|
||||
*/
|
||||
toString(): string;
|
||||
/**
|
||||
* Add text under the TwiML node
|
||||
*
|
||||
* @param {string} content
|
||||
*/
|
||||
addText(content: string): void;
|
||||
/**
|
||||
* Add an arbitrary tag as a child.
|
||||
*
|
||||
* @param {string} content
|
||||
*/
|
||||
addChild(tagName: string, attributes: Object): GenericNode;
|
||||
}
|
||||
/**
|
||||
* Generic node
|
||||
*/
|
||||
declare class GenericNode extends TwiML {
|
||||
node: any;
|
||||
constructor(node: any);
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user