-
Notifications
You must be signed in to change notification settings - Fork 147
/
extern.js
54 lines (50 loc) · 1.54 KB
/
extern.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**
* @fileoverview Externs for jquery.soap.js - 1.7.3 (works with Google Closure Compiler running in ADVANCED_OPTIMIZATIONS mode)
*
* @see https://github.com/doedje/jquery.soap
* @externs
*/
/** @typedef {{
typeOf: (string),
status: (int),
headers: (Array<Object<string, string>>),
created: (?int|undefined),
httpCode: (int),
httpText: (string),
content: (Object),
toString: (function()),
toXML: (function()),
toJSON: (function())
}} */
var SOAPResponse;
/** @typedef {{
username: (string),
password: (string),
nonce: (?string|undefined),
created: (?int|undefined)
}} */
var jQuerySoapWssSettings;
/** @typedef {{
url: (string),
method: (string),
appendMethodToURL: (?boolean|undefined),
SOAPAction: (?string|undefined),
soap12: (?boolean|undefined),
context: (?Element|undefined),
envAttributes: (Object<string, string>|undefined),
HTTPHeaders: (Object<string, string>|undefined),
data: (Object<?, ?>|function($.soap)|undefined),
namespaceQualifier: (?string|undefined),
namespaceURL: (?string|undefined),
noPrefix: (?boolean|undefined),
elementName: (?string|undefined),
beforeSend: (function(Object<?, ?>)|undefined),
success: (SOAPResponse|undefined),
error: (SOAPResponse|undefined),
statusCode: (Object<?, function()>|undefined),
wss: (jQuerySoapWssSettings|undefined),
enableLogging: (?boolean|undefined)
}} */
var jQuerySoapSettings;
/** @param {jQuerySoapSettings|Object<string, *>} options */
$.soap = function(options) {};