@bwi-mentorspaces/application-utils-npm 0.0.6 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chat/index.d.ts +36 -36
- package/chat/index.js +58 -58
- package/chat/stream/enum/index.d.ts +33 -27
- package/chat/stream/enum/index.js +41 -34
- package/chat/stream/enum/index.js.map +1 -1
- package/chat/stream/index.d.ts +9 -9
- package/chat/stream/index.js +17 -17
- package/chat/stream/models/_/channel.data.d.ts +19 -19
- package/chat/stream/models/_/channel.data.js +2 -2
- package/chat/stream/models/_/channel.member.d.ts +14 -14
- package/chat/stream/models/_/channel.member.js +11 -11
- package/chat/stream/models/_/channel.response.d.ts +8 -8
- package/chat/stream/models/_/channel.response.js +2 -2
- package/chat/stream/models/_/event.data.d.ts +16 -0
- package/chat/stream/models/_/event.data.js +4 -0
- package/chat/stream/models/_/event.data.js.map +1 -0
- package/chat/stream/models/_/message.response.d.ts +8 -8
- package/chat/stream/models/_/message.response.js +2 -2
- package/chat/stream/models/_/stream.config.d.ts +22 -22
- package/chat/stream/models/_/stream.config.js +2 -2
- package/chat/stream/models/_/user.response.d.ts +8 -8
- package/chat/stream/models/_/user.response.js +2 -2
- package/chat/stream/models/index.d.ts +9 -7
- package/chat/stream/models/index.js +5 -5
- package/chat/stream/models/index.js.map +1 -1
- package/chat/stream/stream.api.d.ts +63 -63
- package/chat/stream/stream.api.js +76 -76
- package/chat/stream/stream.auth.d.ts +70 -70
- package/chat/stream/stream.auth.js +80 -80
- package/chat/stream/stream.base.d.ts +56 -56
- package/chat/stream/stream.base.js +93 -93
- package/chat/stream/stream.channel.d.ts +132 -118
- package/chat/stream/stream.channel.js +306 -285
- package/chat/stream/stream.channel.js.map +1 -1
- package/chat/stream/stream.error.d.ts +19 -19
- package/chat/stream/stream.error.js +17 -17
- package/chat/stream/stream.member.d.ts +75 -75
- package/chat/stream/stream.member.js +175 -175
- package/chat/stream/stream.message.d.ts +59 -59
- package/chat/stream/stream.message.js +112 -112
- package/chat/stream/stream.user.d.ts +49 -49
- package/chat/stream/stream.user.js +90 -90
- package/core/_/api-error.d.ts +24 -24
- package/core/_/api-error.js +21 -21
- package/core/_/api-response.d.ts +25 -25
- package/core/_/api-response.js +21 -21
- package/core/_/cors-headers.d.ts +16 -16
- package/core/_/cors-headers.js +32 -32
- package/core/_/model.d.ts +39 -31
- package/core/_/model.js +2 -2
- package/core/_/service-request.d.ts +66 -66
- package/core/_/service-request.js +104 -104
- package/core/_/service-request.js.map +1 -1
- package/core/index.d.ts +10 -10
- package/core/index.js +11 -11
- package/coverage/coverage-final.json +4 -0
- package/deployment/_/serverless.d.ts +26 -26
- package/deployment/_/serverless.js +43 -43
- package/deployment/index.d.ts +2 -2
- package/deployment/index.js +5 -5
- package/endpoint-test-factory/_/test-factory.d.ts +45 -45
- package/endpoint-test-factory/_/test-factory.js +91 -91
- package/endpoint-test-factory/index.d.ts +2 -2
- package/endpoint-test-factory/index.js +5 -5
- package/enums/index.d.ts +92 -92
- package/enums/index.js +2 -2
- package/jest.config.d.ts +12 -0
- package/jest.config.js +16 -0
- package/jest.config.js.map +1 -0
- package/meet/index.d.ts +36 -36
- package/meet/index.js +58 -58
- package/meet/tests/unit/twilio/twilio.room.test.d.ts +1 -0
- package/meet/tests/unit/twilio/twilio.room.test.js +33 -0
- package/meet/tests/unit/twilio/twilio.room.test.js.map +1 -0
- package/meet/twilio/enum/index.d.ts +6 -6
- package/meet/twilio/enum/index.js +10 -10
- package/meet/twilio/index.d.ts +5 -5
- package/meet/twilio/index.js +11 -11
- package/meet/twilio/models/_/room.data.d.ts +6 -6
- package/meet/twilio/models/_/room.data.js +2 -2
- package/meet/twilio/models/_/twilio.config.d.ts +29 -29
- package/meet/twilio/models/_/twilio.config.js +2 -2
- package/meet/twilio/models/index.d.ts +3 -3
- package/meet/twilio/models/index.js +2 -2
- package/meet/twilio/twilio.api.d.ts +28 -28
- package/meet/twilio/twilio.api.js +45 -45
- package/meet/twilio/twilio.auth.d.ts +55 -55
- package/meet/twilio/twilio.auth.js +83 -83
- package/meet/twilio/twilio.base.d.ts +41 -41
- package/meet/twilio/twilio.base.js +53 -53
- package/meet/twilio/twilio.room.d.ts +58 -46
- package/meet/twilio/twilio.room.js +141 -124
- package/meet/twilio/twilio.room.js.map +1 -1
- package/package.json +64 -57
- package/swagger/_/swagger.config.d.ts +21 -21
- package/swagger/_/swagger.config.js +2 -2
- package/swagger/_/swagger.d.ts +37 -37
- package/swagger/_/swagger.js +78 -78
- package/swagger/index.d.ts +3 -3
- package/swagger/index.js +5 -5
- package/types/index.d.ts +19 -19
- package/types/index.js +2 -2
- package/utils/_/encoder.d.ts +19 -19
- package/utils/_/encoder.js +27 -27
- package/utils/_/encryptor.d.ts +26 -26
- package/utils/_/encryptor.js +67 -67
- package/utils/_/hasher.d.ts +25 -25
- package/utils/_/hasher.js +63 -63
- package/utils/_/object-mapper.d.ts +12 -12
- package/utils/_/object-mapper.js +22 -22
- package/utils/_/string-formatter.d.ts +34 -34
- package/utils/_/string-formatter.js +49 -49
- package/utils/_/utc-date.d.ts +35 -35
- package/utils/_/utc-date.js +84 -84
- package/utils/index.d.ts +7 -7
- package/utils/index.js +15 -15
- package/validators/_/checker.d.ts +62 -62
- package/validators/_/checker.js +98 -98
- package/validators/_/regex.d.ts +98 -98
- package/validators/_/regex.js +142 -142
- package/validators/index.d.ts +3 -3
- package/validators/index.js +7 -7
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ServiceRequest = void 0;
|
|
16
|
-
const axios_1 = __importDefault(require("axios"));
|
|
17
|
-
/**
|
|
18
|
-
* Implementation of service request model declarations
|
|
19
|
-
*/
|
|
20
|
-
class ServiceRequest {
|
|
21
|
-
constructor() {
|
|
22
|
-
// properties
|
|
23
|
-
this._url = "";
|
|
24
|
-
this._method = "";
|
|
25
|
-
this._headers = undefined;
|
|
26
|
-
this._body = undefined;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Setter for url property
|
|
30
|
-
*/
|
|
31
|
-
set url(value) {
|
|
32
|
-
this._url = value;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Setter for method property
|
|
36
|
-
*/
|
|
37
|
-
set method(value) {
|
|
38
|
-
this._method = value;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Setter for headers property
|
|
42
|
-
*/
|
|
43
|
-
set headers(value) {
|
|
44
|
-
this._headers = value;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Setter for body property
|
|
48
|
-
*/
|
|
49
|
-
set body(value) {
|
|
50
|
-
this._body = value;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Send method
|
|
54
|
-
* Call after setting up url, method, headers and body if applicable
|
|
55
|
-
*
|
|
56
|
-
* @returns {Promise<TResponse>} promise of API Response object of type TResponse
|
|
57
|
-
*/
|
|
58
|
-
send() {
|
|
59
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
61
|
-
// set config / options
|
|
62
|
-
const options = {
|
|
63
|
-
url: this._url,
|
|
64
|
-
method: this._method
|
|
65
|
-
};
|
|
66
|
-
// set headers
|
|
67
|
-
options.headers = this.setHeaders();
|
|
68
|
-
// set body (if exists)
|
|
69
|
-
if (this._body) {
|
|
70
|
-
options.headers["Content-Type" /* ContentType */] = this._body.contentType;
|
|
71
|
-
options.data = this._body.value;
|
|
72
|
-
}
|
|
73
|
-
// exec
|
|
74
|
-
yield (0, axios_1.default)(options)
|
|
75
|
-
.then((xr) => {
|
|
76
|
-
resolve(xr.data);
|
|
77
|
-
})
|
|
78
|
-
.catch((xe) => {
|
|
79
|
-
reject(xe.response.data);
|
|
80
|
-
});
|
|
81
|
-
}));
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Setup request headers map
|
|
86
|
-
*
|
|
87
|
-
* @returns {Record<string, string>} map of request headers
|
|
88
|
-
*/
|
|
89
|
-
setHeaders() {
|
|
90
|
-
const map = {};
|
|
91
|
-
if (this._headers) {
|
|
92
|
-
this._headers.forEach((header) => {
|
|
93
|
-
map[header.name] = header.value;
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
// set default headers
|
|
97
|
-
map["Content-Type" /* ContentType */] = "application/json" /* ApplicationJson */;
|
|
98
|
-
map["Accept" /* Accept */] = "*";
|
|
99
|
-
map["Accept-Charset" /* AcceptCharset */] = "*";
|
|
100
|
-
map["Accept-Encoding" /* AcceptEncoding */] = "*";
|
|
101
|
-
return map;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.ServiceRequest = ServiceRequest;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ServiceRequest = void 0;
|
|
16
|
+
const axios_1 = __importDefault(require("axios"));
|
|
17
|
+
/**
|
|
18
|
+
* Implementation of service request model declarations
|
|
19
|
+
*/
|
|
20
|
+
class ServiceRequest {
|
|
21
|
+
constructor() {
|
|
22
|
+
// properties
|
|
23
|
+
this._url = "";
|
|
24
|
+
this._method = "";
|
|
25
|
+
this._headers = undefined;
|
|
26
|
+
this._body = undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Setter for url property
|
|
30
|
+
*/
|
|
31
|
+
set url(value) {
|
|
32
|
+
this._url = value;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Setter for method property
|
|
36
|
+
*/
|
|
37
|
+
set method(value) {
|
|
38
|
+
this._method = value;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Setter for headers property
|
|
42
|
+
*/
|
|
43
|
+
set headers(value) {
|
|
44
|
+
this._headers = value;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Setter for body property
|
|
48
|
+
*/
|
|
49
|
+
set body(value) {
|
|
50
|
+
this._body = value;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Send method
|
|
54
|
+
* Call after setting up url, method, headers and body if applicable
|
|
55
|
+
*
|
|
56
|
+
* @returns {Promise<TResponse>} promise of API Response object of type TResponse
|
|
57
|
+
*/
|
|
58
|
+
send() {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
// set config / options
|
|
62
|
+
const options = {
|
|
63
|
+
url: this._url,
|
|
64
|
+
method: this._method
|
|
65
|
+
};
|
|
66
|
+
// set headers
|
|
67
|
+
options.headers = this.setHeaders();
|
|
68
|
+
// set body (if exists)
|
|
69
|
+
if (this._body) {
|
|
70
|
+
options.headers["Content-Type" /* ContentType */] = this._body.contentType;
|
|
71
|
+
options.data = this._body.value;
|
|
72
|
+
}
|
|
73
|
+
// exec
|
|
74
|
+
yield (0, axios_1.default)(options)
|
|
75
|
+
.then((xr) => {
|
|
76
|
+
resolve(xr.data);
|
|
77
|
+
})
|
|
78
|
+
.catch((xe) => {
|
|
79
|
+
reject(xe.response.data);
|
|
80
|
+
});
|
|
81
|
+
}));
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Setup request headers map
|
|
86
|
+
*
|
|
87
|
+
* @returns {Record<string, string>} map of request headers
|
|
88
|
+
*/
|
|
89
|
+
setHeaders() {
|
|
90
|
+
const map = {};
|
|
91
|
+
if (this._headers) {
|
|
92
|
+
this._headers.forEach((header) => {
|
|
93
|
+
map[header.name] = header.value;
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
// set default headers
|
|
97
|
+
map["Content-Type" /* ContentType */] = "application/json" /* ApplicationJson */;
|
|
98
|
+
map["Accept" /* Accept */] = "*";
|
|
99
|
+
map["Accept-Charset" /* AcceptCharset */] = "*";
|
|
100
|
+
map["Accept-Encoding" /* AcceptEncoding */] = "*";
|
|
101
|
+
return map;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ServiceRequest = ServiceRequest;
|
|
105
105
|
//# sourceMappingURL=service-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-request.js","sourceRoot":"","sources":["../../../core/_/service-request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAqF;AAwCrF;;GAEG;AACH,MAAa,cAAc;IAA3B;QACI,aAAa;QACL,SAAI,GAAW,EAAE,CAAC;QAClB,YAAO,GAAW,EAAE,CAAC;QACrB,aAAQ,GAAwC,SAAS,CAAC;QAC1D,UAAK,GAA8C,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"service-request.js","sourceRoot":"","sources":["../../../core/_/service-request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAqF;AAwCrF;;GAEG;AACH,MAAa,cAAc;IAA3B;QACI,aAAa;QACL,SAAI,GAAW,EAAE,CAAC;QAClB,YAAO,GAAW,EAAE,CAAC;QACrB,aAAQ,GAAwC,SAAS,CAAC;QAC1D,UAAK,GAA8C,SAAS,CAAC;IAoFzE,CAAC;IAlFG;;OAEG;IACH,IAAI,GAAG,CAAC,KAAa;QACjB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,IAAI,MAAM,CAAC,KAAa;QACpB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,IAAI,OAAO,CAAC,KAA8B;QACtC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,IAAI,IAAI,CAAC,KAAoC;QACzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACG,IAAI;;YACN,OAAO,IAAI,OAAO,CAAC,CAAO,OAA4B,EAAE,MAA2B,EAAE,EAAE;gBACnF,uBAAuB;gBACvB,MAAM,OAAO,GAAuB;oBAChC,GAAG,EAAE,IAAI,CAAC,IAAI;oBACd,MAAM,EAAE,IAAI,CAAC,OAAiB;iBACjC,CAAC;gBAEF,cAAc;gBACd,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;gBAEpC,uBAAuB;gBACvB,IAAI,IAAI,CAAC,KAAK,EAAE;oBACZ,OAAO,CAAC,OAAO,kCAAoB,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;oBAC7D,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;iBACnC;gBAED,OAAO;gBACP,MAAM,IAAA,eAAK,EAAC,OAAO,CAAC;qBACf,IAAI,CAAC,CAAC,EAAiB,EAAE,EAAE;oBACxB,OAAO,CAAC,EAAE,CAAC,IAAiB,CAAC,CAAC;gBAClC,CAAC,CAAC;qBACD,KAAK,CAAC,CAAC,EAAc,EAAE,EAAE;oBACtB,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAiB,CAAC,CAAC;gBAC1C,CAAC,CAAC,CAAC;YACX,CAAC,CAAA,CAAC,CAAC;QACP,CAAC;KAAA;IAED;;;;OAIG;IACK,UAAU;QACd,MAAM,GAAG,GAA2B,EAAE,CAAC;QACvC,IAAI,IAAI,CAAC,QAAQ,EAAE;YACf,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,MAA6B,EAAE,EAAE;gBACpD,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC;YACpC,CAAC,CAAC,CAAC;SACN;QAED,sBAAsB;QACtB,GAAG,kCAAoB,2CAA2B,CAAC;QACnD,GAAG,uBAAe,GAAG,GAAG,CAAC;QACzB,GAAG,sCAAsB,GAAG,GAAG,CAAC;QAChC,GAAG,wCAAuB,GAAG,GAAG,CAAC;QACjC,OAAO,GAAG,CAAC;IACf,CAAC;CACJ;AAzFD,wCAyFC"}
|
package/core/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IApiResponse, ApiResponse } from "./_/api-response";
|
|
2
|
-
import { IApiError, ApiError } from "./_/api-error";
|
|
3
|
-
import { IStatus, IDataFilter, IPaginationResponse, IPaginationRequest } from "./_/model";
|
|
4
|
-
import { IServiceRequestHeader, IServiceRequestBody, ServiceRequest } from "./_/service-request";
|
|
5
|
-
import { CorsHeaders } from "./_/cors-headers";
|
|
6
|
-
export { IApiResponse, ApiResponse };
|
|
7
|
-
export { IApiError, ApiError };
|
|
8
|
-
export { IStatus, IDataFilter, IPaginationRequest, IPaginationResponse };
|
|
9
|
-
export { IServiceRequestHeader, IServiceRequestBody, ServiceRequest };
|
|
10
|
-
export { CorsHeaders };
|
|
1
|
+
import { IApiResponse, ApiResponse } from "./_/api-response";
|
|
2
|
+
import { IApiError, ApiError } from "./_/api-error";
|
|
3
|
+
import { IStatus, IDataFilter, IPaginationResponse, IPaginationRequest } from "./_/model";
|
|
4
|
+
import { IServiceRequestHeader, IServiceRequestBody, ServiceRequest } from "./_/service-request";
|
|
5
|
+
import { CorsHeaders } from "./_/cors-headers";
|
|
6
|
+
export { IApiResponse, ApiResponse };
|
|
7
|
+
export { IApiError, ApiError };
|
|
8
|
+
export { IStatus, IDataFilter, IPaginationRequest, IPaginationResponse };
|
|
9
|
+
export { IServiceRequestHeader, IServiceRequestBody, ServiceRequest };
|
|
10
|
+
export { CorsHeaders };
|
package/core/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CorsHeaders = exports.ServiceRequest = exports.ApiError = exports.ApiResponse = void 0;
|
|
4
|
-
const api_response_1 = require("./_/api-response");
|
|
5
|
-
Object.defineProperty(exports, "ApiResponse", { enumerable: true, get: function () { return api_response_1.ApiResponse; } });
|
|
6
|
-
const api_error_1 = require("./_/api-error");
|
|
7
|
-
Object.defineProperty(exports, "ApiError", { enumerable: true, get: function () { return api_error_1.ApiError; } });
|
|
8
|
-
const service_request_1 = require("./_/service-request");
|
|
9
|
-
Object.defineProperty(exports, "ServiceRequest", { enumerable: true, get: function () { return service_request_1.ServiceRequest; } });
|
|
10
|
-
const cors_headers_1 = require("./_/cors-headers");
|
|
11
|
-
Object.defineProperty(exports, "CorsHeaders", { enumerable: true, get: function () { return cors_headers_1.CorsHeaders; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CorsHeaders = exports.ServiceRequest = exports.ApiError = exports.ApiResponse = void 0;
|
|
4
|
+
const api_response_1 = require("./_/api-response");
|
|
5
|
+
Object.defineProperty(exports, "ApiResponse", { enumerable: true, get: function () { return api_response_1.ApiResponse; } });
|
|
6
|
+
const api_error_1 = require("./_/api-error");
|
|
7
|
+
Object.defineProperty(exports, "ApiError", { enumerable: true, get: function () { return api_error_1.ApiError; } });
|
|
8
|
+
const service_request_1 = require("./_/service-request");
|
|
9
|
+
Object.defineProperty(exports, "ServiceRequest", { enumerable: true, get: function () { return service_request_1.ServiceRequest; } });
|
|
10
|
+
const cors_headers_1 = require("./_/cors-headers");
|
|
11
|
+
Object.defineProperty(exports, "CorsHeaders", { enumerable: true, get: function () { return cors_headers_1.CorsHeaders; } });
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
{ "/Users/michael/Documents/workspace/legacy/application-utils-npm/meet/twilio/twilio.auth.ts": { "path": "/Users/michael/Documents/workspace/legacy/application-utils-npm/meet/twilio/twilio.auth.ts", "all": false, "statementMap": { "0": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 38 } }, "1": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 69 } }, "2": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 39 } }, "3": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 0 } }, "4": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 3 } }, "5": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 25 } }, "6": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 3 } }, "7": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 23 } }, "8": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 7 } }, "9": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 36 } }, "10": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 6 } }, "11": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 37 } }, "12": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 37 } }, "13": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 43 } }, "14": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 7 } }, "15": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 66 } }, "16": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 0 } }, "17": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 7 } }, "18": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 39 } }, "19": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 6 } }, "20": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 37 } }, "21": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 39 } }, "22": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 45 } }, "23": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 44 } }, "24": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 7 } }, "25": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 70 } }, "26": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 1 } }, "27": { "start": { "line": 28, "column": 0 }, "end": { "line": 28, "column": 0 } }, "28": { "start": { "line": 29, "column": 0 }, "end": { "line": 29, "column": 3 } }, "29": { "start": { "line": 30, "column": 0 }, "end": { "line": 30, "column": 27 } }, "30": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 3 } }, "31": { "start": { "line": 32, "column": 0 }, "end": { "line": 32, "column": 13 } }, "32": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 48 } }, "33": { "start": { "line": 34, "column": 0 }, "end": { "line": 34, "column": 17 } }, "34": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 36 } }, "35": { "start": { "line": 36, "column": 0 }, "end": { "line": 36, "column": 35 } }, "36": { "start": { "line": 37, "column": 0 }, "end": { "line": 37, "column": 38 } }, "37": { "start": { "line": 38, "column": 0 }, "end": { "line": 38, "column": 0 } }, "38": { "start": { "line": 39, "column": 0 }, "end": { "line": 39, "column": 7 } }, "39": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 30 } }, "40": { "start": { "line": 41, "column": 0 }, "end": { "line": 41, "column": 6 } }, "41": { "start": { "line": 42, "column": 0 }, "end": { "line": 42, "column": 46 } }, "42": { "start": { "line": 43, "column": 0 }, "end": { "line": 43, "column": 7 } }, "43": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 38 } }, "44": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 104 } }, "45": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 5 } }, "46": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 0 } }, "47": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 7 } }, "48": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 33 } }, "49": { "start": { "line": 50, "column": 0 }, "end": { "line": 50, "column": 6 } }, "50": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 54 } }, "51": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 49 } }, "52": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 55 } }, "53": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 43 } }, "54": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 7 } }, "55": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 89 } }, "56": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 46 } }, "57": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 44 } }, "58": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 50 } }, "59": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 5 } }, "60": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } }, "61": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 7 } }, "62": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 16 } }, "63": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 6 } }, "64": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 37 } }, "65": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 41 } }, "66": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 44 } }, "67": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 7 } }, "68": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 53 } }, "69": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 40 } }, "70": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 105 } }, "71": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 0 } }, "72": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 39 } }, "73": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 32 } }, "74": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 0 } }, "75": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 59 } }, "76": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 39 } }, "77": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 30 } }, "78": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 30 } }, "79": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 0 } }, "80": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 46 } }, "81": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 29 } }, "82": { "start": { "line": 83, "column": 0 }, "end": { "line": 83, "column": 5 } }, "83": { "start": { "line": 84, "column": 0 }, "end": { "line": 84, "column": 1 } } }, "s": { "0": 1, "1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 2, "17": 2, "18": 2, "19": 1, "20": 2, "21": 2, "22": 14, "23": 14, "24": 14, "25": 2, "26": 2, "27": 2, "28": 1, "29": 1, "30": 1, "31": 1, "32": 1, "33": 1, "34": 1, "35": 1, "36": 1, "37": 0, "38": 1, "39": 1, "40": 1, "41": 1, "42": 1, "43": 1, "44": 1, "45": 1, "46": 1, "47": 1, "48": 1, "49": 1, "50": 1, "51": 1, "52": 1, "53": 1, "54": 1, "55": 1, "56": 1, "57": 1, "58": 1, "59": 1, "60": 1, "61": 1, "62": 1, "63": 1, "64": 0, "65": 0, "66": 1, "67": 0, "68": 0, "69": 0, "70": 1, "71": 0, "72": 0, "73": 0, "74": 0, "75": 0, "76": 0, "77": 0, "78": 0, "79": 0, "80": 0, "81": 1, "82": 1, "83": 1 }, "branchMap": { "0": { "type": "branch", "line": 1, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 1 } }, "locations": [{ "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 1 } }] }, "1": { "type": "branch", "line": 1, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 1 } }, "locations": [{ "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 1 } }] }, "2": { "type": "branch", "line": 12, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 16, "column": 9 } }, "locations": [{ "start": { "line": 12, "column": 26 }, "end": { "line": 16, "column": 9 } }] }, "3": { "type": "branch", "line": 16, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 29, "column": 1 } }, "locations": [{ "start": { "line": 16, "column": 29 }, "end": { "line": 29, "column": 1 } }] }, "4": { "type": "branch", "line": 19, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 21, "column": 4 } }, "locations": [{ "start": { "line": 19, "column": 22 }, "end": { "line": 21, "column": 4 } }] }, "5": { "type": "branch", "line": 22, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 26, "column": 56 } }, "locations": [{ "start": { "line": 22, "column": 21 }, "end": { "line": 26, "column": 56 } }] }, "6": { "type": "branch", "line": 24, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 35 } }, "locations": [{ "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 35 } }] }, "7": { "type": "branch", "line": 30, "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 40, "column": 2 } }, "locations": [{ "start": { "line": 30, "column": 13 }, "end": { "line": 40, "column": 2 } }] }, "8": { "type": "branch", "line": 34, "loc": { "start": { "line": 34, "column": -1 }, "end": { "line": 34, "column": 3 } }, "locations": [{ "start": { "line": 34, "column": -1 }, "end": { "line": 34, "column": 3 } }] }, "9": { "type": "branch", "line": 37, "loc": { "start": { "line": 37, "column": 32 }, "end": { "line": 39, "column": 0 } }, "locations": [{ "start": { "line": 37, "column": 32 }, "end": { "line": 39, "column": 0 } }] }, "10": { "type": "branch", "line": 40, "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 44, "column": 1 } }, "locations": [{ "start": { "line": 40, "column": 23 }, "end": { "line": 44, "column": 1 } }] }, "11": { "type": "branch", "line": 44, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 54, "column": 42 } }, "locations": [{ "start": { "line": 44, "column": 25 }, "end": { "line": 54, "column": 42 } }] }, "12": { "type": "branch", "line": 45, "loc": { "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 55 } }, "locations": [{ "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 55 } }] }, "13": { "type": "branch", "line": 45, "loc": { "start": { "line": 45, "column": 63 }, "end": { "line": 45, "column": 94 } }, "locations": [{ "start": { "line": 45, "column": 63 }, "end": { "line": 45, "column": 94 } }] }, "14": { "type": "branch", "line": 52, "loc": { "start": { "line": 52, "column": 7 }, "end": { "line": 52, "column": 39 } }, "locations": [{ "start": { "line": 52, "column": 7 }, "end": { "line": 52, "column": 39 } }] }, "15": { "type": "branch", "line": 53, "loc": { "start": { "line": 53, "column": 33 }, "end": { "line": 53, "column": 42 } }, "locations": [{ "start": { "line": 53, "column": 33 }, "end": { "line": 53, "column": 42 } }] }, "16": { "type": "branch", "line": 53, "loc": { "start": { "line": 53, "column": 48 }, "end": { "line": 54, "column": 23 } }, "locations": [{ "start": { "line": 53, "column": 48 }, "end": { "line": 54, "column": 23 } }] }, "17": { "type": "branch", "line": 56, "loc": { "start": { "line": 56, "column": 56 }, "end": { "line": 56, "column": 72 } }, "locations": [{ "start": { "line": 56, "column": 56 }, "end": { "line": 56, "column": 72 } }] } }, "b": { "0": [1], "1": [1], "2": [1], "3": [2], "4": [1], "5": [14], "6": [1], "7": [1], "8": [0], "9": [0], "10": [1], "11": [1], "12": [0], "13": [0], "14": [0], "15": [0], "16": [0], "17": [1] }, "fnMap": { "0": { "name": "Object.<anonymous>", "decl": { "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 1 } }, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 1 } }, "line": 1 }, "1": { "name": "__export", "decl": { "start": { "line": 12, "column": 26 }, "end": { "line": 16, "column": 9 } }, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 16, "column": 9 } }, "line": 12 }, "2": { "name": "__copyProps", "decl": { "start": { "line": 16, "column": 29 }, "end": { "line": 29, "column": 1 } }, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 29, "column": 1 } }, "line": 16 }, "3": { "name": "get", "decl": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 35 } }, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 35 } }, "line": 24 }, "4": { "name": "__toESM", "decl": { "start": { "line": 30, "column": 13 }, "end": { "line": 40, "column": 2 } }, "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 40, "column": 2 } }, "line": 30 }, "5": { "name": "__toCommonJS", "decl": { "start": { "line": 40, "column": 23 }, "end": { "line": 44, "column": 1 } }, "loc": { "start": { "line": 40, "column": 23 }, "end": { "line": 44, "column": 1 } }, "line": 40 }, "6": { "name": "__decorateClass", "decl": { "start": { "line": 44, "column": 25 }, "end": { "line": 54, "column": 42 } }, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 54, "column": 42 } }, "line": 44 }, "7": { "name": "TwilioAuth", "decl": { "start": { "line": 56, "column": 56 }, "end": { "line": 56, "column": 72 } }, "loc": { "start": { "line": 56, "column": 56 }, "end": { "line": 56, "column": 72 } }, "line": 56 }, "8": { "name": "TwilioAuth", "decl": { "start": { "line": 64, "column": 1 }, "end": { "line": 67, "column": 40 } }, "loc": { "start": { "line": 64, "column": 1 }, "end": { "line": 67, "column": 40 } }, "line": 64 }, "9": { "name": "init", "decl": { "start": { "line": 67, "column": 43 }, "end": { "line": 71, "column": 85 } }, "loc": { "start": { "line": 67, "column": 43 }, "end": { "line": 71, "column": 85 } }, "line": 67 }, "10": { "name": "token", "decl": { "start": { "line": 71, "column": 88 }, "end": { "line": 82, "column": 7 } }, "loc": { "start": { "line": 71, "column": 88 }, "end": { "line": 82, "column": 7 } }, "line": 71 } }, "f": { "0": 1, "1": 1, "2": 2, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 0, "9": 0, "10": 0 } },
|
|
2
|
+
"/Users/michael/Documents/workspace/legacy/application-utils-npm/meet/twilio/twilio.base.ts": { "path": "/Users/michael/Documents/workspace/legacy/application-utils-npm/meet/twilio/twilio.base.ts", "all": false, "statementMap": { "0": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 43 } }, "1": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 32 } }, "2": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 0 } }, "3": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 3 } }, "4": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 20 } }, "5": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 3 } }, "6": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 34 } }, "7": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 17 } }, "8": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 28 } }, "9": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 30 } }, "10": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 0 } }, "11": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 22 } }, "12": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 7 } }, "13": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 33 } }, "14": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 6 } }, "15": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 40 } }, "16": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 7 } }, "17": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 33 } }, "18": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 28 } }, "19": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 5 } }, "20": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 7 } }, "21": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 33 } }, "22": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 6 } }, "23": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 48 } }, "24": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 7 } }, "25": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 38 } }, "26": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 29 } }, "27": { "start": { "line": 28, "column": 0 }, "end": { "line": 28, "column": 5 } }, "28": { "start": { "line": 29, "column": 0 }, "end": { "line": 29, "column": 0 } }, "29": { "start": { "line": 30, "column": 0 }, "end": { "line": 30, "column": 7 } }, "30": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 29 } }, "31": { "start": { "line": 32, "column": 0 }, "end": { "line": 32, "column": 6 } }, "32": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 49 } }, "33": { "start": { "line": 34, "column": 0 }, "end": { "line": 34, "column": 7 } }, "34": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 35 } }, "35": { "start": { "line": 36, "column": 0 }, "end": { "line": 36, "column": 26 } }, "36": { "start": { "line": 37, "column": 0 }, "end": { "line": 37, "column": 5 } }, "37": { "start": { "line": 38, "column": 0 }, "end": { "line": 38, "column": 0 } }, "38": { "start": { "line": 39, "column": 0 }, "end": { "line": 39, "column": 7 } }, "39": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 38 } }, "40": { "start": { "line": 41, "column": 0 }, "end": { "line": 41, "column": 6 } }, "41": { "start": { "line": 42, "column": 0 }, "end": { "line": 42, "column": 53 } }, "42": { "start": { "line": 43, "column": 0 }, "end": { "line": 43, "column": 7 } }, "43": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 40 } }, "44": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 27 } }, "45": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 5 } }, "46": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 0 } }, "47": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 14 } }, "48": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 0 } }, "49": { "start": { "line": 50, "column": 0 }, "end": { "line": 50, "column": 7 } }, "50": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 37 } }, "51": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 6 } }, "52": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 37 } }, "53": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 41 } }, "54": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 48 } }, "55": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 7 } }, "56": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 63 } }, "57": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 49 } }, "58": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 5 } }, "59": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 1 } } }, "s": { "0": 1, "1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1, "31": 1, "32": 1, "33": 1, "34": 1, "35": 1, "36": 1, "37": 1, "38": 1, "39": 1, "40": 1, "41": 1, "42": 1, "43": 1, "44": 1, "45": 0, "46": 0, "47": 0, "48": 0, "49": 1, "50": 1, "51": 1, "52": 1, "53": 1, "54": 1, "55": 0, "56": 1, "57": 1, "58": 1, "59": 1 }, "branchMap": { "0": { "type": "branch", "line": 1, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 47 } }, "locations": [{ "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 47 } }] }, "1": { "type": "branch", "line": 1, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 44 } }, "locations": [{ "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 44 } }] }, "2": { "type": "branch", "line": 10, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 16, "column": 32 } }, "locations": [{ "start": { "line": 10, "column": 25 }, "end": { "line": 16, "column": 32 } }] }, "3": { "type": "branch", "line": 18, "loc": { "start": { "line": 18, "column": 3 }, "end": { "line": 34, "column": 3 } }, "locations": [{ "start": { "line": 18, "column": 3 }, "end": { "line": 34, "column": 3 } }] }, "4": { "type": "branch", "line": 21, "loc": { "start": { "line": 21, "column": 3 }, "end": { "line": 22, "column": 24 } }, "locations": [{ "start": { "line": 21, "column": 3 }, "end": { "line": 22, "column": 24 } }] }, "5": { "type": "branch", "line": 27, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 30, "column": 5 } }, "locations": [{ "start": { "line": 27, "column": 27 }, "end": { "line": 30, "column": 5 } }] }, "6": { "type": "branch", "line": 35, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 40, "column": 9 } }, "locations": [{ "start": { "line": 35, "column": 16 }, "end": { "line": 40, "column": 9 } }] }, "7": { "type": "branch", "line": 42, "loc": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 45 } }, "locations": [{ "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 45 } }] }, "8": { "type": "branch", "line": 51, "loc": { "start": { "line": 51, "column": 1 }, "end": { "line": 53, "column": 5 } }, "locations": [{ "start": { "line": 51, "column": 1 }, "end": { "line": 53, "column": 5 } }] }, "9": { "type": "branch", "line": 54, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 55, "column": 15 } }, "locations": [{ "start": { "line": 54, "column": 12 }, "end": { "line": 55, "column": 15 } }] } }, "b": { "0": [1], "1": [1], "2": [1], "3": [1], "4": [0], "5": [1], "6": [1], "7": [1], "8": [1], "9": [1] }, "fnMap": { "0": { "name": "Object.<anonymous>", "decl": { "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 44 } }, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 44 } }, "line": 1 }, "1": { "name": "__export", "decl": { "start": { "line": 10, "column": 25 }, "end": { "line": 16, "column": 32 } }, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 16, "column": 32 } }, "line": 10 }, "2": { "name": "__copyProps", "decl": { "start": { "line": 18, "column": 3 }, "end": { "line": 34, "column": 3 } }, "loc": { "start": { "line": 18, "column": 3 }, "end": { "line": 34, "column": 3 } }, "line": 18 }, "3": { "name": "get", "decl": { "start": { "line": 27, "column": 27 }, "end": { "line": 30, "column": 5 } }, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 30, "column": 5 } }, "line": 27 }, "4": { "name": "__toCommonJS", "decl": { "start": { "line": 35, "column": 16 }, "end": { "line": 40, "column": 9 } }, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 40, "column": 9 } }, "line": 35 }, "5": { "name": "TwilioBase", "decl": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 45 } }, "loc": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 45 } }, "line": 42 }, "6": { "name": "get server", "decl": { "start": { "line": 45, "column": 14 }, "end": { "line": 50, "column": 6 } }, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 50, "column": 6 } }, "line": 45 }, "7": { "name": "set server", "decl": { "start": { "line": 51, "column": 1 }, "end": { "line": 53, "column": 5 } }, "loc": { "start": { "line": 51, "column": 1 }, "end": { "line": 53, "column": 5 } }, "line": 51 }, "8": { "name": "get auth", "decl": { "start": { "line": 53, "column": 8 }, "end": { "line": 54, "column": 9 } }, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 54, "column": 9 } }, "line": 53 }, "9": { "name": "set auth", "decl": { "start": { "line": 54, "column": 12 }, "end": { "line": 55, "column": 15 } }, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 55, "column": 15 } }, "line": 54 }, "10": { "name": "getToken", "decl": { "start": { "line": 55, "column": 18 }, "end": { "line": 57, "column": 39 } }, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 57, "column": 39 } }, "line": 55 } }, "f": { "0": 1, "1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 0, "7": 1, "8": 0, "9": 1, "10": 0 } },
|
|
3
|
+
"/Users/michael/Documents/workspace/legacy/application-utils-npm/meet/twilio/twilio.room.ts": { "path": "/Users/michael/Documents/workspace/legacy/application-utils-npm/meet/twilio/twilio.room.ts", "all": false, "statementMap": { "0": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 43 } }, "1": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 38 } }, "2": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 32 } }, "3": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 43 } }, "4": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 75 } }, "5": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 37 } }, "6": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 0 } }, "7": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 3 } }, "8": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 31 } }, "9": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 3 } }, "10": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 23 } }, "11": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 7 } }, "12": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 34 } }, "13": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 7 } }, "14": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 77 } }, "15": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 0 } }, "16": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 7 } }, "17": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 63 } }, "18": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 7 } }, "19": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 57 } }, "20": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 0 } }, "21": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 7 } }, "22": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 38 } }, "23": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 7 } }, "24": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 51 } }, "25": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 1 } }, "26": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 0 } }, "27": { "start": { "line": 28, "column": 0 }, "end": { "line": 28, "column": 3 } }, "28": { "start": { "line": 29, "column": 0 }, "end": { "line": 29, "column": 33 } }, "29": { "start": { "line": 30, "column": 0 }, "end": { "line": 30, "column": 3 } }, "30": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 13 } }, "31": { "start": { "line": 32, "column": 0 }, "end": { "line": 32, "column": 67 } }, "32": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 17 } }, "33": { "start": { "line": 34, "column": 0 }, "end": { "line": 34, "column": 32 } }, "34": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 7 } }, "35": { "start": { "line": 36, "column": 0 }, "end": { "line": 36, "column": 30 } }, "36": { "start": { "line": 37, "column": 0 }, "end": { "line": 37, "column": 6 } }, "37": { "start": { "line": 38, "column": 0 }, "end": { "line": 38, "column": 43 } }, "38": { "start": { "line": 39, "column": 0 }, "end": { "line": 39, "column": 47 } }, "39": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 80 } }, "40": { "start": { "line": 41, "column": 0 }, "end": { "line": 41, "column": 7 } }, "41": { "start": { "line": 42, "column": 0 }, "end": { "line": 42, "column": 68 } }, "42": { "start": { "line": 43, "column": 0 }, "end": { "line": 43, "column": 16 } }, "43": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 26 } }, "44": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 30 } }, "45": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 35 } }, "46": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 5 } }, "47": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 0 } }, "48": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 7 } }, "49": { "start": { "line": 50, "column": 0 }, "end": { "line": 50, "column": 52 } }, "50": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "column": 6 } }, "51": { "start": { "line": 52, "column": 0 }, "end": { "line": 52, "column": 41 } }, "52": { "start": { "line": 53, "column": 0 }, "end": { "line": 53, "column": 98 } }, "53": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 82 } }, "54": { "start": { "line": 55, "column": 0 }, "end": { "line": 55, "column": 7 } }, "55": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 97 } }, "56": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 13 } }, "57": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 77 } }, "58": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 27 } }, "59": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 85 } }, "60": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 20 } }, "61": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 27 } }, "62": { "start": { "line": 63, "column": 0 }, "end": { "line": 63, "column": 28 } }, "63": { "start": { "line": 64, "column": 0 }, "end": { "line": 64, "column": 32 } }, "64": { "start": { "line": 65, "column": 0 }, "end": { "line": 65, "column": 27 } }, "65": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 25 } }, "66": { "start": { "line": 67, "column": 0 }, "end": { "line": 67, "column": 51 } }, "67": { "start": { "line": 68, "column": 0 }, "end": { "line": 68, "column": 38 } }, "68": { "start": { "line": 69, "column": 0 }, "end": { "line": 69, "column": 43 } }, "69": { "start": { "line": 70, "column": 0 }, "end": { "line": 70, "column": 61 } }, "70": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 79 } }, "71": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 41 } }, "72": { "start": { "line": 73, "column": 0 }, "end": { "line": 73, "column": 56 } }, "73": { "start": { "line": 74, "column": 0 }, "end": { "line": 74, "column": 34 } }, "74": { "start": { "line": 75, "column": 0 }, "end": { "line": 75, "column": 19 } }, "75": { "start": { "line": 76, "column": 0 }, "end": { "line": 76, "column": 49 } }, "76": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 24 } }, "77": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 53 } }, "78": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 69 } }, "79": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 24 } }, "80": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 33 } }, "81": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 32 } }, "82": { "start": { "line": 83, "column": 0 }, "end": { "line": 83, "column": 17 } }, "83": { "start": { "line": 84, "column": 0 }, "end": { "line": 84, "column": 20 } }, "84": { "start": { "line": 85, "column": 0 }, "end": { "line": 85, "column": 45 } }, "85": { "start": { "line": 86, "column": 0 }, "end": { "line": 86, "column": 28 } }, "86": { "start": { "line": 87, "column": 0 }, "end": { "line": 87, "column": 13 } }, "87": { "start": { "line": 88, "column": 0 }, "end": { "line": 88, "column": 9 } }, "88": { "start": { "line": 89, "column": 0 }, "end": { "line": 89, "column": 5 } }, "89": { "start": { "line": 90, "column": 0 }, "end": { "line": 90, "column": 0 } }, "90": { "start": { "line": 91, "column": 0 }, "end": { "line": 91, "column": 7 } }, "91": { "start": { "line": 92, "column": 0 }, "end": { "line": 92, "column": 61 } }, "92": { "start": { "line": 93, "column": 0 }, "end": { "line": 93, "column": 6 } }, "93": { "start": { "line": 94, "column": 0 }, "end": { "line": 94, "column": 58 } }, "94": { "start": { "line": 95, "column": 0 }, "end": { "line": 95, "column": 76 } }, "95": { "start": { "line": 96, "column": 0 }, "end": { "line": 96, "column": 7 } }, "96": { "start": { "line": 97, "column": 0 }, "end": { "line": 97, "column": 64 } }, "97": { "start": { "line": 98, "column": 0 }, "end": { "line": 98, "column": 87 } }, "98": { "start": { "line": 99, "column": 0 }, "end": { "line": 99, "column": 24 } }, "99": { "start": { "line": 100, "column": 0 }, "end": { "line": 100, "column": 9 } }, "100": { "start": { "line": 101, "column": 0 }, "end": { "line": 101, "column": 21 } }, "101": { "start": { "line": 102, "column": 0 }, "end": { "line": 102, "column": 5 } }, "102": { "start": { "line": 103, "column": 0 }, "end": { "line": 103, "column": 0 } }, "103": { "start": { "line": 104, "column": 0 }, "end": { "line": 104, "column": 7 } }, "104": { "start": { "line": 105, "column": 0 }, "end": { "line": 105, "column": 38 } }, "105": { "start": { "line": 106, "column": 0 }, "end": { "line": 106, "column": 6 } }, "106": { "start": { "line": 107, "column": 0 }, "end": { "line": 107, "column": 41 } }, "107": { "start": { "line": 108, "column": 0 }, "end": { "line": 108, "column": 72 } }, "108": { "start": { "line": 109, "column": 0 }, "end": { "line": 109, "column": 7 } }, "109": { "start": { "line": 110, "column": 0 }, "end": { "line": 110, "column": 58 } }, "110": { "start": { "line": 111, "column": 0 }, "end": { "line": 111, "column": 84 } }, "111": { "start": { "line": 112, "column": 0 }, "end": { "line": 112, "column": 13 } }, "112": { "start": { "line": 113, "column": 0 }, "end": { "line": 113, "column": 85 } }, "113": { "start": { "line": 114, "column": 0 }, "end": { "line": 114, "column": 20 } }, "114": { "start": { "line": 115, "column": 0 }, "end": { "line": 115, "column": 27 } }, "115": { "start": { "line": 116, "column": 0 }, "end": { "line": 116, "column": 28 } }, "116": { "start": { "line": 117, "column": 0 }, "end": { "line": 117, "column": 32 } }, "117": { "start": { "line": 118, "column": 0 }, "end": { "line": 118, "column": 27 } }, "118": { "start": { "line": 119, "column": 0 }, "end": { "line": 119, "column": 25 } }, "119": { "start": { "line": 120, "column": 0 }, "end": { "line": 120, "column": 51 } }, "120": { "start": { "line": 121, "column": 0 }, "end": { "line": 121, "column": 54 } }, "121": { "start": { "line": 122, "column": 0 }, "end": { "line": 122, "column": 41 } }, "122": { "start": { "line": 123, "column": 0 }, "end": { "line": 123, "column": 29 } }, "123": { "start": { "line": 124, "column": 0 }, "end": { "line": 124, "column": 9 } }, "124": { "start": { "line": 125, "column": 0 }, "end": { "line": 125, "column": 5 } }, "125": { "start": { "line": 126, "column": 0 }, "end": { "line": 126, "column": 1 } } }, "s": { "0": 1, "1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 1, "9": 1, "10": 1, "11": 1, "12": 1, "13": 1, "14": 1, "15": 1, "16": 1, "17": 1, "18": 1, "19": 1, "20": 1, "21": 1, "22": 1, "23": 1, "24": 1, "25": 1, "26": 1, "27": 1, "28": 1, "29": 1, "30": 1, "31": 1, "32": 1, "33": 1, "34": 0, "35": 1, "36": 1, "37": 1, "38": 1, "39": 1, "40": 1, "41": 1, "42": 1, "43": 1, "44": 1, "45": 1, "46": 1, "47": 1, "48": 1, "49": 1, "50": 1, "51": 1, "52": 1, "53": 1, "54": 1, "55": 0, "56": 0, "57": 0, "58": 0, "59": 0, "60": 0, "61": 0, "62": 0, "63": 0, "64": 0, "65": 0, "66": 0, "67": 0, "68": 0, "69": 1, "70": 4, "71": 4, "72": 1, "73": 0, "74": 0, "75": 0, "76": 0, "77": 0, "78": 0, "79": 0, "80": 1, "81": 1, "82": 1, "83": 1, "84": 1, "85": 1, "86": 1, "87": 1, "88": 1, "89": 1, "90": 1, "91": 1, "92": 1, "93": 1, "94": 1, "95": 1, "96": 1, "97": 1, "98": 1, "99": 1, "100": 1, "101": 1, "102": 1, "103": 1, "104": 1, "105": 1, "106": 1, "107": 1, "108": 1, "109": 1, "110": 1, "111": 1, "112": 1, "113": 1, "114": 1, "115": 1, "116": 1, "117": 1, "118": 1, "119": 1, "120": 1, "121": 1, "122": 1, "123": 1, "124": 1, "125": 1 }, "branchMap": { "0": { "type": "branch", "line": 1, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 85, "column": 1 } }, "locations": [{ "start": { "line": 1, "column": 0 }, "end": { "line": 85, "column": 1 } }] }, "1": { "type": "branch", "line": 1, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 19 } }, "locations": [{ "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 19 } }] }, "2": { "type": "branch", "line": 5, "loc": { "start": { "line": 5, "column": 54 }, "end": { "line": 11, "column": 10 } }, "locations": [{ "start": { "line": 5, "column": 54 }, "end": { "line": 11, "column": 10 } }] }, "3": { "type": "branch", "line": 12, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 25, "column": 28 } }, "locations": [{ "start": { "line": 12, "column": 6 }, "end": { "line": 25, "column": 28 } }] }, "4": { "type": "branch", "line": 15, "loc": { "start": { "line": 15, "column": 24 }, "end": { "line": 15, "column": 53 } }, "locations": [{ "start": { "line": 15, "column": 24 }, "end": { "line": 15, "column": 53 } }] }, "5": { "type": "branch", "line": 20, "loc": { "start": { "line": 20, "column": 34 }, "end": { "line": 20, "column": 49 } }, "locations": [{ "start": { "line": 20, "column": 34 }, "end": { "line": 20, "column": 49 } }] }, "6": { "type": "branch", "line": 25, "loc": { "start": { "line": 25, "column": 49 }, "end": { "line": 32, "column": 9 } }, "locations": [{ "start": { "line": 25, "column": 49 }, "end": { "line": 32, "column": 9 } }] }, "7": { "type": "branch", "line": 32, "loc": { "start": { "line": 32, "column": 33 }, "end": { "line": 42, "column": 65 } }, "locations": [{ "start": { "line": 32, "column": 33 }, "end": { "line": 42, "column": 65 } }] }, "8": { "type": "branch", "line": 34, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 16 } }, "locations": [{ "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 16 } }] }, "9": { "type": "branch", "line": 34, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 36, "column": 14 } }, "locations": [{ "start": { "line": 34, "column": 24 }, "end": { "line": 36, "column": 14 } }] }, "10": { "type": "branch", "line": 40, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 45 } }, "locations": [{ "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 45 } }] }, "11": { "type": "branch", "line": 42, "loc": { "start": { "line": 42, "column": 0 }, "end": { "line": 42, "column": 9 } }, "locations": [{ "start": { "line": 42, "column": 0 }, "end": { "line": 42, "column": 9 } }] }, "12": { "type": "branch", "line": 42, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 46 } }, "locations": [{ "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 46 } }] }, "13": { "type": "branch", "line": 45, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 46, "column": 3 } }, "locations": [{ "start": { "line": 45, "column": 18 }, "end": { "line": 46, "column": 3 } }] }, "14": { "type": "branch", "line": 53, "loc": { "start": { "line": 53, "column": 52 }, "end": { "line": 55, "column": 5 } }, "locations": [{ "start": { "line": 53, "column": 52 }, "end": { "line": 55, "column": 5 } }] }, "15": { "type": "branch", "line": 70, "loc": { "start": { "line": 70, "column": 57 }, "end": { "line": 73, "column": 38 } }, "locations": [{ "start": { "line": 70, "column": 57 }, "end": { "line": 73, "column": 38 } }] }, "16": { "type": "branch", "line": 71, "loc": { "start": { "line": 71, "column": 66 }, "end": { "line": 72, "column": 6 } }, "locations": [{ "start": { "line": 71, "column": 66 }, "end": { "line": 72, "column": 6 } }] }, "17": { "type": "branch", "line": 72, "loc": { "start": { "line": 72, "column": 7 }, "end": { "line": 72, "column": 30 } }, "locations": [{ "start": { "line": 72, "column": 7 }, "end": { "line": 72, "column": 30 } }] }, "18": { "type": "branch", "line": 72, "loc": { "start": { "line": 72, "column": 32 }, "end": { "line": 73, "column": 16 } }, "locations": [{ "start": { "line": 72, "column": 32 }, "end": { "line": 73, "column": 16 } }] }, "19": { "type": "branch", "line": 73, "loc": { "start": { "line": 73, "column": 16 }, "end": { "line": 73, "column": 37 } }, "locations": [{ "start": { "line": 73, "column": 16 }, "end": { "line": 73, "column": 37 } }] } }, "b": { "0": [1], "1": [1], "2": [1], "3": [1], "4": [0], "5": [1], "6": [1], "7": [1], "8": [0], "9": [0], "10": [0], "11": [0], "12": [0], "13": [1], "14": [1], "15": [4], "16": [3], "17": [2], "18": [3], "19": [1] }, "fnMap": { "0": { "name": "Object.<anonymous>", "decl": { "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 19 } }, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 84, "column": 19 } }, "line": 1 }, "1": { "name": "__export", "decl": { "start": { "line": 5, "column": 54 }, "end": { "line": 11, "column": 10 } }, "loc": { "start": { "line": 5, "column": 54 }, "end": { "line": 11, "column": 10 } }, "line": 5 }, "2": { "name": "__copyProps", "decl": { "start": { "line": 12, "column": 6 }, "end": { "line": 25, "column": 28 } }, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 25, "column": 28 } }, "line": 12 }, "3": { "name": "get", "decl": { "start": { "line": 20, "column": 34 }, "end": { "line": 20, "column": 49 } }, "loc": { "start": { "line": 20, "column": 34 }, "end": { "line": 20, "column": 49 } }, "line": 20 }, "4": { "name": "__toCommonJS", "decl": { "start": { "line": 25, "column": 49 }, "end": { "line": 32, "column": 9 } }, "loc": { "start": { "line": 25, "column": 49 }, "end": { "line": 32, "column": 9 } }, "line": 25 }, "5": { "name": "__decorateClass", "decl": { "start": { "line": 32, "column": 33 }, "end": { "line": 42, "column": 65 } }, "loc": { "start": { "line": 32, "column": 33 }, "end": { "line": 42, "column": 65 } }, "line": 32 }, "6": { "name": "TwilioRoom", "decl": { "start": { "line": 45, "column": 18 }, "end": { "line": 46, "column": 3 } }, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 46, "column": 3 } }, "line": 45 }, "7": { "name": "TwilioRoom", "decl": { "start": { "line": 53, "column": 52 }, "end": { "line": 55, "column": 5 } }, "loc": { "start": { "line": 53, "column": 52 }, "end": { "line": 55, "column": 5 } }, "line": 53 }, "8": { "name": "findOrCreateRoom", "decl": { "start": { "line": 56, "column": 0 }, "end": { "line": 70, "column": 54 } }, "loc": { "start": { "line": 56, "column": 0 }, "end": { "line": 70, "column": 54 } }, "line": 56 }, "9": { "name": "validateRoomType", "decl": { "start": { "line": 70, "column": 57 }, "end": { "line": 73, "column": 38 } }, "loc": { "start": { "line": 70, "column": 57 }, "end": { "line": 73, "column": 38 } }, "line": 70 }, "10": { "name": "findRoom", "decl": { "start": { "line": 73, "column": 41 }, "end": { "line": 81, "column": 15 } }, "loc": { "start": { "line": 73, "column": 41 }, "end": { "line": 81, "column": 15 } }, "line": 73 } }, "f": { "0": 1, "1": 1, "2": 1, "3": 1, "4": 1, "5": 1, "6": 1, "7": 1, "8": 0, "9": 4, "10": 0 } }
|
|
4
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/// <reference types="express-serve-static-core" />
|
|
2
|
-
/**
|
|
3
|
-
* Serverless handler declarations
|
|
4
|
-
*/
|
|
5
|
-
interface IServerless {
|
|
6
|
-
handler: Function;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Serverless Handler implementation
|
|
10
|
-
*/
|
|
11
|
-
export declare class Serverless implements IServerless {
|
|
12
|
-
private _app;
|
|
13
|
-
/**
|
|
14
|
-
* Serverless handler constructor
|
|
15
|
-
*
|
|
16
|
-
* @param {Express.Application} app express instance
|
|
17
|
-
*/
|
|
18
|
-
constructor(app: Express.Application);
|
|
19
|
-
/**
|
|
20
|
-
* handler getter
|
|
21
|
-
*
|
|
22
|
-
* @returns {Handler} serverless handler
|
|
23
|
-
*/
|
|
24
|
-
get handler(): Function;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
1
|
+
/// <reference types="express-serve-static-core" />
|
|
2
|
+
/**
|
|
3
|
+
* Serverless handler declarations
|
|
4
|
+
*/
|
|
5
|
+
interface IServerless {
|
|
6
|
+
handler: Function;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Serverless Handler implementation
|
|
10
|
+
*/
|
|
11
|
+
export declare class Serverless implements IServerless {
|
|
12
|
+
private _app;
|
|
13
|
+
/**
|
|
14
|
+
* Serverless handler constructor
|
|
15
|
+
*
|
|
16
|
+
* @param {Express.Application} app express instance
|
|
17
|
+
*/
|
|
18
|
+
constructor(app: Express.Application);
|
|
19
|
+
/**
|
|
20
|
+
* handler getter
|
|
21
|
+
*
|
|
22
|
+
* @returns {Handler} serverless handler
|
|
23
|
+
*/
|
|
24
|
+
get handler(): Function;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.Serverless = void 0;
|
|
16
|
-
const serverless_http_1 = __importDefault(require("serverless-http"));
|
|
17
|
-
/**
|
|
18
|
-
* Serverless Handler implementation
|
|
19
|
-
*/
|
|
20
|
-
class Serverless {
|
|
21
|
-
/**
|
|
22
|
-
* Serverless handler constructor
|
|
23
|
-
*
|
|
24
|
-
* @param {Express.Application} app express instance
|
|
25
|
-
*/
|
|
26
|
-
constructor(app) {
|
|
27
|
-
this._app = app;
|
|
28
|
-
}
|
|
29
|
-
// getter / setter
|
|
30
|
-
/**
|
|
31
|
-
* handler getter
|
|
32
|
-
*
|
|
33
|
-
* @returns {Handler} serverless handler
|
|
34
|
-
*/
|
|
35
|
-
get handler() {
|
|
36
|
-
const handler = (0, serverless_http_1.default)(this._app);
|
|
37
|
-
return (event, context) => __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
const result = yield handler(event, context);
|
|
39
|
-
return result;
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.Serverless = Serverless;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Serverless = void 0;
|
|
16
|
+
const serverless_http_1 = __importDefault(require("serverless-http"));
|
|
17
|
+
/**
|
|
18
|
+
* Serverless Handler implementation
|
|
19
|
+
*/
|
|
20
|
+
class Serverless {
|
|
21
|
+
/**
|
|
22
|
+
* Serverless handler constructor
|
|
23
|
+
*
|
|
24
|
+
* @param {Express.Application} app express instance
|
|
25
|
+
*/
|
|
26
|
+
constructor(app) {
|
|
27
|
+
this._app = app;
|
|
28
|
+
}
|
|
29
|
+
// getter / setter
|
|
30
|
+
/**
|
|
31
|
+
* handler getter
|
|
32
|
+
*
|
|
33
|
+
* @returns {Handler} serverless handler
|
|
34
|
+
*/
|
|
35
|
+
get handler() {
|
|
36
|
+
const handler = (0, serverless_http_1.default)(this._app);
|
|
37
|
+
return (event, context) => __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
const result = yield handler(event, context);
|
|
39
|
+
return result;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.Serverless = Serverless;
|
|
44
44
|
//# sourceMappingURL=serverless.js.map
|
package/deployment/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Serverless } from "./_/serverless";
|
|
2
|
-
export { Serverless };
|
|
1
|
+
import { Serverless } from "./_/serverless";
|
|
2
|
+
export { Serverless };
|
package/deployment/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Serverless = void 0;
|
|
4
|
-
const serverless_1 = require("./_/serverless");
|
|
5
|
-
Object.defineProperty(exports, "Serverless", { enumerable: true, get: function () { return serverless_1.Serverless; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Serverless = void 0;
|
|
4
|
+
const serverless_1 = require("./_/serverless");
|
|
5
|
+
Object.defineProperty(exports, "Serverless", { enumerable: true, get: function () { return serverless_1.Serverless; } });
|
|
6
6
|
//# sourceMappingURL=index.js.map
|