@dereekb/zoom 13.43.0 → 14.0.1
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/index.esm.js +49 -93
- package/nestjs/index.esm.js +56 -100
- package/nestjs/package.json +8 -8
- package/package.json +7 -7
- package/src/lib/oauth/oauth.config.d.ts +0 -4
- package/src/lib/zoom/zoom.config.d.ts +0 -4
- package/src/lib/zoom.limit.d.ts +0 -4
package/index.esm.js
CHANGED
|
@@ -10,9 +10,7 @@ function _define_property$2(obj, key, value) {
|
|
|
10
10
|
configurable: true,
|
|
11
11
|
writable: true
|
|
12
12
|
});
|
|
13
|
-
} else
|
|
14
|
-
obj[key] = value;
|
|
15
|
-
}
|
|
13
|
+
} else obj[key] = value;
|
|
16
14
|
return obj;
|
|
17
15
|
}
|
|
18
16
|
function _object_spread(target) {
|
|
@@ -40,9 +38,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
40
38
|
}
|
|
41
39
|
function _object_spread_props(target, source) {
|
|
42
40
|
source = source != null ? source : {};
|
|
43
|
-
if (Object.getOwnPropertyDescriptors)
|
|
44
|
-
|
|
45
|
-
} else {
|
|
41
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
42
|
+
else {
|
|
46
43
|
ownKeys(Object(source)).forEach(function(key) {
|
|
47
44
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
48
45
|
});
|
|
@@ -97,9 +94,7 @@ function _object_spread_props(target, source) {
|
|
|
97
94
|
}
|
|
98
95
|
|
|
99
96
|
function _assert_this_initialized$1(self) {
|
|
100
|
-
if (self === void 0)
|
|
101
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
102
|
-
}
|
|
97
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
103
98
|
return self;
|
|
104
99
|
}
|
|
105
100
|
function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -110,11 +105,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
110
105
|
reject(error);
|
|
111
106
|
return;
|
|
112
107
|
}
|
|
113
|
-
if (info.done)
|
|
114
|
-
|
|
115
|
-
} else {
|
|
116
|
-
Promise.resolve(value).then(_next, _throw);
|
|
117
|
-
}
|
|
108
|
+
if (info.done) resolve(value);
|
|
109
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
118
110
|
}
|
|
119
111
|
function _async_to_generator$5(fn) {
|
|
120
112
|
return function() {
|
|
@@ -136,9 +128,7 @@ function _call_super$1(_this, derived, args) {
|
|
|
136
128
|
return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
|
|
137
129
|
}
|
|
138
130
|
function _class_call_check$1(instance, Constructor) {
|
|
139
|
-
if (!(instance instanceof Constructor))
|
|
140
|
-
throw new TypeError("Cannot call a class as a function");
|
|
141
|
-
}
|
|
131
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
142
132
|
}
|
|
143
133
|
function _defineProperties(target, props) {
|
|
144
134
|
for(var i = 0; i < props.length; i++){
|
|
@@ -161,9 +151,7 @@ function _define_property$1(obj, key, value) {
|
|
|
161
151
|
configurable: true,
|
|
162
152
|
writable: true
|
|
163
153
|
});
|
|
164
|
-
} else
|
|
165
|
-
obj[key] = value;
|
|
166
|
-
}
|
|
154
|
+
} else obj[key] = value;
|
|
167
155
|
return obj;
|
|
168
156
|
}
|
|
169
157
|
function _get_prototype_of$1(o) {
|
|
@@ -189,14 +177,18 @@ function _instanceof(left, right) {
|
|
|
189
177
|
"@swc/helpers - instanceof";
|
|
190
178
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
191
179
|
return !!right[Symbol.hasInstance](left);
|
|
192
|
-
} else
|
|
193
|
-
|
|
194
|
-
|
|
180
|
+
} else return left instanceof right;
|
|
181
|
+
}
|
|
182
|
+
function _is_native_reflect_construct$1() {
|
|
183
|
+
try {
|
|
184
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
185
|
+
} catch (_) {}
|
|
186
|
+
return (_is_native_reflect_construct$1 = function() {
|
|
187
|
+
return !!result;
|
|
188
|
+
})();
|
|
195
189
|
}
|
|
196
190
|
function _possible_constructor_return$1(self, call) {
|
|
197
|
-
if (call && (_type_of$1(call) === "object" || typeof call === "function"))
|
|
198
|
-
return call;
|
|
199
|
-
}
|
|
191
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) return call;
|
|
200
192
|
return _assert_this_initialized$1(self);
|
|
201
193
|
}
|
|
202
194
|
function _set_prototype_of$1(o, p) {
|
|
@@ -206,18 +198,6 @@ function _set_prototype_of$1(o, p) {
|
|
|
206
198
|
};
|
|
207
199
|
return _set_prototype_of$1(o, p);
|
|
208
200
|
}
|
|
209
|
-
function _type_of$1(obj) {
|
|
210
|
-
"@swc/helpers - typeof";
|
|
211
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
212
|
-
}
|
|
213
|
-
function _is_native_reflect_construct$1() {
|
|
214
|
-
try {
|
|
215
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
216
|
-
} catch (_) {}
|
|
217
|
-
return (_is_native_reflect_construct$1 = function() {
|
|
218
|
-
return !!result;
|
|
219
|
-
})();
|
|
220
|
-
}
|
|
221
201
|
function _ts_generator$5(thisArg, body) {
|
|
222
202
|
var f, y, t, _ = {
|
|
223
203
|
label: 0,
|
|
@@ -317,6 +297,10 @@ function _ts_generator$5(thisArg, body) {
|
|
|
317
297
|
};
|
|
318
298
|
}
|
|
319
299
|
}
|
|
300
|
+
function _type_of$1(obj) {
|
|
301
|
+
"@swc/helpers - typeof";
|
|
302
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
303
|
+
}
|
|
320
304
|
/**
|
|
321
305
|
* A code used in some cases to denote success.
|
|
322
306
|
*/ var ZOOM_SUCCESS_CODE = 'SUCCESS';
|
|
@@ -776,11 +760,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
776
760
|
reject(error);
|
|
777
761
|
return;
|
|
778
762
|
}
|
|
779
|
-
if (info.done)
|
|
780
|
-
|
|
781
|
-
} else {
|
|
782
|
-
Promise.resolve(value).then(_next, _throw);
|
|
783
|
-
}
|
|
763
|
+
if (info.done) resolve(value);
|
|
764
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
784
765
|
}
|
|
785
766
|
function _async_to_generator$4(fn) {
|
|
786
767
|
return function() {
|
|
@@ -948,9 +929,7 @@ var logZoomErrorToConsole = logZoomServerErrorFunction('Zoom');
|
|
|
948
929
|
var handleZoomErrorFetch = handleZoomErrorFetchFactory(parseZoomApiError, logZoomErrorToConsole);
|
|
949
930
|
|
|
950
931
|
function _assert_this_initialized(self) {
|
|
951
|
-
if (self === void 0)
|
|
952
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
953
|
-
}
|
|
932
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
954
933
|
return self;
|
|
955
934
|
}
|
|
956
935
|
function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -961,11 +940,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
961
940
|
reject(error);
|
|
962
941
|
return;
|
|
963
942
|
}
|
|
964
|
-
if (info.done)
|
|
965
|
-
|
|
966
|
-
} else {
|
|
967
|
-
Promise.resolve(value).then(_next, _throw);
|
|
968
|
-
}
|
|
943
|
+
if (info.done) resolve(value);
|
|
944
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
969
945
|
}
|
|
970
946
|
function _async_to_generator$3(fn) {
|
|
971
947
|
return function() {
|
|
@@ -987,9 +963,7 @@ function _call_super(_this, derived, args) {
|
|
|
987
963
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
988
964
|
}
|
|
989
965
|
function _class_call_check(instance, Constructor) {
|
|
990
|
-
if (!(instance instanceof Constructor))
|
|
991
|
-
throw new TypeError("Cannot call a class as a function");
|
|
992
|
-
}
|
|
966
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
993
967
|
}
|
|
994
968
|
function _define_property(obj, key, value) {
|
|
995
969
|
if (key in obj) {
|
|
@@ -999,9 +973,7 @@ function _define_property(obj, key, value) {
|
|
|
999
973
|
configurable: true,
|
|
1000
974
|
writable: true
|
|
1001
975
|
});
|
|
1002
|
-
} else
|
|
1003
|
-
obj[key] = value;
|
|
1004
|
-
}
|
|
976
|
+
} else obj[key] = value;
|
|
1005
977
|
return obj;
|
|
1006
978
|
}
|
|
1007
979
|
function _get_prototype_of(o) {
|
|
@@ -1023,10 +995,16 @@ function _inherits(subClass, superClass) {
|
|
|
1023
995
|
});
|
|
1024
996
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1025
997
|
}
|
|
998
|
+
function _is_native_reflect_construct() {
|
|
999
|
+
try {
|
|
1000
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
1001
|
+
} catch (_) {}
|
|
1002
|
+
return (_is_native_reflect_construct = function() {
|
|
1003
|
+
return !!result;
|
|
1004
|
+
})();
|
|
1005
|
+
}
|
|
1026
1006
|
function _possible_constructor_return(self, call) {
|
|
1027
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
1028
|
-
return call;
|
|
1029
|
-
}
|
|
1007
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
1030
1008
|
return _assert_this_initialized(self);
|
|
1031
1009
|
}
|
|
1032
1010
|
function _set_prototype_of(o, p) {
|
|
@@ -1036,18 +1014,6 @@ function _set_prototype_of(o, p) {
|
|
|
1036
1014
|
};
|
|
1037
1015
|
return _set_prototype_of(o, p);
|
|
1038
1016
|
}
|
|
1039
|
-
function _type_of(obj) {
|
|
1040
|
-
"@swc/helpers - typeof";
|
|
1041
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1042
|
-
}
|
|
1043
|
-
function _is_native_reflect_construct() {
|
|
1044
|
-
try {
|
|
1045
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
1046
|
-
} catch (_) {}
|
|
1047
|
-
return (_is_native_reflect_construct = function() {
|
|
1048
|
-
return !!result;
|
|
1049
|
-
})();
|
|
1050
|
-
}
|
|
1051
1017
|
function _ts_generator$3(thisArg, body) {
|
|
1052
1018
|
var f, y, t, _ = {
|
|
1053
1019
|
label: 0,
|
|
@@ -1147,6 +1113,10 @@ function _ts_generator$3(thisArg, body) {
|
|
|
1147
1113
|
};
|
|
1148
1114
|
}
|
|
1149
1115
|
}
|
|
1116
|
+
function _type_of(obj) {
|
|
1117
|
+
"@swc/helpers - typeof";
|
|
1118
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1119
|
+
}
|
|
1150
1120
|
/**
|
|
1151
1121
|
* Error in the following cases:
|
|
1152
1122
|
* - the refresh token string is invalid
|
|
@@ -1244,11 +1214,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1244
1214
|
reject(error);
|
|
1245
1215
|
return;
|
|
1246
1216
|
}
|
|
1247
|
-
if (info.done)
|
|
1248
|
-
|
|
1249
|
-
} else {
|
|
1250
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1251
|
-
}
|
|
1217
|
+
if (info.done) resolve(value);
|
|
1218
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1252
1219
|
}
|
|
1253
1220
|
function _async_to_generator$2(fn) {
|
|
1254
1221
|
return function() {
|
|
@@ -1460,11 +1427,6 @@ var DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION = function DEFAULT_
|
|
|
1460
1427
|
}
|
|
1461
1428
|
});
|
|
1462
1429
|
}
|
|
1463
|
-
// MARK: Compat
|
|
1464
|
-
// COMPAT: Deprecated aliases
|
|
1465
|
-
/**
|
|
1466
|
-
* @deprecated use DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION instead.
|
|
1467
|
-
*/ var DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUETS_LOG_FUNCTION = DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION;
|
|
1468
1430
|
|
|
1469
1431
|
/**
|
|
1470
1432
|
* The Zoom API URL for the US datacenter.
|
|
@@ -1478,11 +1440,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1478
1440
|
reject(error);
|
|
1479
1441
|
return;
|
|
1480
1442
|
}
|
|
1481
|
-
if (info.done)
|
|
1482
|
-
|
|
1483
|
-
} else {
|
|
1484
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1485
|
-
}
|
|
1443
|
+
if (info.done) resolve(value);
|
|
1444
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1486
1445
|
}
|
|
1487
1446
|
function _async_to_generator$1(fn) {
|
|
1488
1447
|
return function() {
|
|
@@ -1792,11 +1751,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1792
1751
|
reject(error);
|
|
1793
1752
|
return;
|
|
1794
1753
|
}
|
|
1795
|
-
if (info.done)
|
|
1796
|
-
|
|
1797
|
-
} else {
|
|
1798
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1799
|
-
}
|
|
1754
|
+
if (info.done) resolve(value);
|
|
1755
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1800
1756
|
}
|
|
1801
1757
|
function _async_to_generator(fn) {
|
|
1802
1758
|
return function() {
|
|
@@ -2144,4 +2100,4 @@ function _ts_generator(thisArg, body) {
|
|
|
2144
2100
|
};
|
|
2145
2101
|
}
|
|
2146
2102
|
|
|
2147
|
-
export { DEFAULT_ZOOM_API_RATE_LIMIT, DEFAULT_ZOOM_API_RATE_LIMIT_RESET_PERIOD, DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION,
|
|
2103
|
+
export { DEFAULT_ZOOM_API_RATE_LIMIT, DEFAULT_ZOOM_API_RATE_LIMIT_RESET_PERIOD, DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION, DELETE_MEETING_DOES_NOT_EXIST_ERROR_CODE, ZOOM_ACCOUNTS_INVALID_GRANT_ERROR_CODE, ZOOM_API_URL, ZOOM_OAUTH_API_URL, ZOOM_RATE_LIMIT_CATEGORY_HEADER, ZOOM_RATE_LIMIT_LIMIT_HEADER, ZOOM_RATE_LIMIT_REMAINING_HEADER, ZOOM_RATE_LIMIT_RETRY_AFTER_HEADER, ZOOM_RATE_LIMIT_TYPE_HEADER, ZOOM_SUCCESS_CODE, ZOOM_TOO_MANY_REQUESTS_ERROR_CODE, ZOOM_TOO_MANY_REQUESTS_HTTP_STATUS_CODE, ZoomApprovalType, ZoomMeetingType, ZoomMonthlyWeek, ZoomMonthlyWeekDay, ZoomOAuthAccessTokenError, ZoomOAuthAuthFailureError, ZoomRecurrenceType, ZoomRegistrationType, ZoomServerError, ZoomServerFetchResponseError, ZoomTooManyRequestsError, ZoomUserType, createMeetingForUser, deleteMeeting, getMeeting, getPastMeeting, getPastMeetingParticipants, getPastMeetingParticipantsPageFactory, getUser, handleZoomErrorFetch, handleZoomErrorFetchFactory, handleZoomOAuthErrorFetch, isZoomRefreshTokenCredential, listMeetingsForUser, listMeetingsForUserPageFactory, listUsers, listUsersPageFactory, logZoomErrorToConsole, logZoomOAuthErrorToConsole, logZoomServerErrorFunction, mapToZoomPageResult, omitSilenceZoomErrorKeys, parseZoomApiError, parseZoomApiServerErrorResponseData, parseZoomOAuthError, parseZoomOAuthServerErrorResponseData, parseZoomServerErrorData, serverAccessToken, silenceZoomErrorWithCodesFunction, updateMeeting, userAccessToken, zoomAccessTokenFromTokenResponse, zoomAccessTokenStringFactory, zoomFactory, zoomFetchPageFactory, zoomOAuthApiFetchJsonInput, zoomOAuthConfigAccountCredential, zoomOAuthFactory, zoomOAuthServerBasicAuthorizationHeaderValue, zoomOAuthZoomAccessTokenFactory, zoomRateLimitHeaderDetails, zoomRateLimitedFetchHandler };
|
package/nestjs/index.esm.js
CHANGED
|
@@ -26,9 +26,7 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
function _class_call_check$8(instance, Constructor) {
|
|
29
|
-
if (!(instance instanceof Constructor))
|
|
30
|
-
throw new TypeError("Cannot call a class as a function");
|
|
31
|
-
}
|
|
29
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
32
30
|
}
|
|
33
31
|
function _defineProperties$6(target, props) {
|
|
34
32
|
for(var i = 0; i < props.length; i++){
|
|
@@ -51,9 +49,7 @@ function _define_property$8(obj, key, value) {
|
|
|
51
49
|
configurable: true,
|
|
52
50
|
writable: true
|
|
53
51
|
});
|
|
54
|
-
} else
|
|
55
|
-
obj[key] = value;
|
|
56
|
-
}
|
|
52
|
+
} else obj[key] = value;
|
|
57
53
|
return obj;
|
|
58
54
|
}
|
|
59
55
|
/**
|
|
@@ -133,11 +129,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
133
129
|
reject(error);
|
|
134
130
|
return;
|
|
135
131
|
}
|
|
136
|
-
if (info.done)
|
|
137
|
-
|
|
138
|
-
} else {
|
|
139
|
-
Promise.resolve(value).then(_next, _throw);
|
|
140
|
-
}
|
|
132
|
+
if (info.done) resolve(value);
|
|
133
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
141
134
|
}
|
|
142
135
|
function _async_to_generator$2(fn) {
|
|
143
136
|
return function() {
|
|
@@ -155,9 +148,7 @@ function _async_to_generator$2(fn) {
|
|
|
155
148
|
};
|
|
156
149
|
}
|
|
157
150
|
function _class_call_check$7(instance, Constructor) {
|
|
158
|
-
if (!(instance instanceof Constructor))
|
|
159
|
-
throw new TypeError("Cannot call a class as a function");
|
|
160
|
-
}
|
|
151
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
161
152
|
}
|
|
162
153
|
function _define_property$7(obj, key, value) {
|
|
163
154
|
if (key in obj) {
|
|
@@ -167,21 +158,19 @@ function _define_property$7(obj, key, value) {
|
|
|
167
158
|
configurable: true,
|
|
168
159
|
writable: true
|
|
169
160
|
});
|
|
170
|
-
} else
|
|
171
|
-
obj[key] = value;
|
|
172
|
-
}
|
|
161
|
+
} else obj[key] = value;
|
|
173
162
|
return obj;
|
|
174
163
|
}
|
|
175
164
|
function _instanceof(left, right) {
|
|
176
165
|
"@swc/helpers - instanceof";
|
|
177
166
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
178
167
|
return !!right[Symbol.hasInstance](left);
|
|
179
|
-
} else
|
|
180
|
-
return left instanceof right;
|
|
181
|
-
}
|
|
168
|
+
} else return left instanceof right;
|
|
182
169
|
}
|
|
183
170
|
function _iterable_to_array$2(iter) {
|
|
184
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
171
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
172
|
+
return Array.from(iter);
|
|
173
|
+
}
|
|
185
174
|
}
|
|
186
175
|
function _iterable_to_array_limit(arr, i) {
|
|
187
176
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -208,10 +197,10 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
208
197
|
return _arr;
|
|
209
198
|
}
|
|
210
199
|
function _non_iterable_rest() {
|
|
211
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
200
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
212
201
|
}
|
|
213
202
|
function _non_iterable_spread$2() {
|
|
214
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
203
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
215
204
|
}
|
|
216
205
|
function _object_spread$2(target) {
|
|
217
206
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -238,9 +227,8 @@ function ownKeys$2(object, enumerableOnly) {
|
|
|
238
227
|
}
|
|
239
228
|
function _object_spread_props$2(target, source) {
|
|
240
229
|
source = source != null ? source : {};
|
|
241
|
-
if (Object.getOwnPropertyDescriptors)
|
|
242
|
-
|
|
243
|
-
} else {
|
|
230
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
231
|
+
else {
|
|
244
232
|
ownKeys$2(Object(source)).forEach(function(key) {
|
|
245
233
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
246
234
|
});
|
|
@@ -253,18 +241,6 @@ function _sliced_to_array(arr, i) {
|
|
|
253
241
|
function _to_consumable_array$2(arr) {
|
|
254
242
|
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$2();
|
|
255
243
|
}
|
|
256
|
-
function _type_of(obj) {
|
|
257
|
-
"@swc/helpers - typeof";
|
|
258
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
259
|
-
}
|
|
260
|
-
function _unsupported_iterable_to_array$2(o, minLen) {
|
|
261
|
-
if (!o) return;
|
|
262
|
-
if (typeof o === "string") return _array_like_to_array$2(o, minLen);
|
|
263
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
264
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
265
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
266
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
|
|
267
|
-
}
|
|
268
244
|
function _ts_generator$2(thisArg, body) {
|
|
269
245
|
var f, y, t, _ = {
|
|
270
246
|
label: 0,
|
|
@@ -364,6 +340,18 @@ function _ts_generator$2(thisArg, body) {
|
|
|
364
340
|
};
|
|
365
341
|
}
|
|
366
342
|
}
|
|
343
|
+
function _type_of(obj) {
|
|
344
|
+
"@swc/helpers - typeof";
|
|
345
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
346
|
+
}
|
|
347
|
+
function _unsupported_iterable_to_array$2(o, minLen) {
|
|
348
|
+
if (!o) return;
|
|
349
|
+
if (typeof o === "string") return _array_like_to_array$2(o, minLen);
|
|
350
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
351
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
352
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
353
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
|
|
354
|
+
}
|
|
367
355
|
/**
|
|
368
356
|
* Service used for retrieving ZoomAccessTokenCache for Zoom services.
|
|
369
357
|
*/ var ZoomOAuthAccessTokenCacheService = function ZoomOAuthAccessTokenCacheService() {
|
|
@@ -773,9 +761,7 @@ var DEFAULT_FILE_ZOOM_ACCOUNTS_ACCESS_TOKEN_CACHE_SERVICE_PATH = '.tmp/zoom-acce
|
|
|
773
761
|
}
|
|
774
762
|
|
|
775
763
|
function _class_call_check$6(instance, Constructor) {
|
|
776
|
-
if (!(instance instanceof Constructor))
|
|
777
|
-
throw new TypeError("Cannot call a class as a function");
|
|
778
|
-
}
|
|
764
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
779
765
|
}
|
|
780
766
|
function _defineProperties$5(target, props) {
|
|
781
767
|
for(var i = 0; i < props.length; i++){
|
|
@@ -798,9 +784,7 @@ function _define_property$6(obj, key, value) {
|
|
|
798
784
|
configurable: true,
|
|
799
785
|
writable: true
|
|
800
786
|
});
|
|
801
|
-
} else
|
|
802
|
-
obj[key] = value;
|
|
803
|
-
}
|
|
787
|
+
} else obj[key] = value;
|
|
804
788
|
return obj;
|
|
805
789
|
}
|
|
806
790
|
var ZoomOAuthApi = /*#__PURE__*/ function() {
|
|
@@ -862,10 +846,12 @@ function _array_without_holes$1(arr) {
|
|
|
862
846
|
if (Array.isArray(arr)) return _array_like_to_array$1(arr);
|
|
863
847
|
}
|
|
864
848
|
function _iterable_to_array$1(iter) {
|
|
865
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
849
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
850
|
+
return Array.from(iter);
|
|
851
|
+
}
|
|
866
852
|
}
|
|
867
853
|
function _non_iterable_spread$1() {
|
|
868
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
854
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
869
855
|
}
|
|
870
856
|
function _to_consumable_array$1(arr) {
|
|
871
857
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
|
@@ -918,9 +904,7 @@ function _unsupported_iterable_to_array$1(o, minLen) {
|
|
|
918
904
|
}
|
|
919
905
|
|
|
920
906
|
function _class_call_check$5(instance, Constructor) {
|
|
921
|
-
if (!(instance instanceof Constructor))
|
|
922
|
-
throw new TypeError("Cannot call a class as a function");
|
|
923
|
-
}
|
|
907
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
924
908
|
}
|
|
925
909
|
function _defineProperties$4(target, props) {
|
|
926
910
|
for(var i = 0; i < props.length; i++){
|
|
@@ -943,9 +927,7 @@ function _define_property$5(obj, key, value) {
|
|
|
943
927
|
configurable: true,
|
|
944
928
|
writable: true
|
|
945
929
|
});
|
|
946
|
-
} else
|
|
947
|
-
obj[key] = value;
|
|
948
|
-
}
|
|
930
|
+
} else obj[key] = value;
|
|
949
931
|
return obj;
|
|
950
932
|
}
|
|
951
933
|
var ZOOM_SECRET_TOKEN_ENV_VAR = 'ZOOM_SECRET_TOKEN';
|
|
@@ -993,9 +975,7 @@ function _define_property$4(obj, key, value) {
|
|
|
993
975
|
configurable: true,
|
|
994
976
|
writable: true
|
|
995
977
|
});
|
|
996
|
-
} else
|
|
997
|
-
obj[key] = value;
|
|
998
|
-
}
|
|
978
|
+
} else obj[key] = value;
|
|
999
979
|
return obj;
|
|
1000
980
|
}
|
|
1001
981
|
function _object_spread$1(target) {
|
|
@@ -1023,9 +1003,8 @@ function ownKeys$1(object, enumerableOnly) {
|
|
|
1023
1003
|
}
|
|
1024
1004
|
function _object_spread_props$1(target, source) {
|
|
1025
1005
|
source = source != null ? source : {};
|
|
1026
|
-
if (Object.getOwnPropertyDescriptors)
|
|
1027
|
-
|
|
1028
|
-
} else {
|
|
1006
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1007
|
+
else {
|
|
1029
1008
|
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1030
1009
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1031
1010
|
});
|
|
@@ -1115,11 +1094,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1115
1094
|
reject(error);
|
|
1116
1095
|
return;
|
|
1117
1096
|
}
|
|
1118
|
-
if (info.done)
|
|
1119
|
-
|
|
1120
|
-
} else {
|
|
1121
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1122
|
-
}
|
|
1097
|
+
if (info.done) resolve(value);
|
|
1098
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1123
1099
|
}
|
|
1124
1100
|
function _async_to_generator$1(fn) {
|
|
1125
1101
|
return function() {
|
|
@@ -1137,9 +1113,7 @@ function _async_to_generator$1(fn) {
|
|
|
1137
1113
|
};
|
|
1138
1114
|
}
|
|
1139
1115
|
function _class_call_check$4(instance, Constructor) {
|
|
1140
|
-
if (!(instance instanceof Constructor))
|
|
1141
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1142
|
-
}
|
|
1116
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1143
1117
|
}
|
|
1144
1118
|
function _defineProperties$3(target, props) {
|
|
1145
1119
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1162,9 +1136,7 @@ function _define_property$3(obj, key, value) {
|
|
|
1162
1136
|
configurable: true,
|
|
1163
1137
|
writable: true
|
|
1164
1138
|
});
|
|
1165
|
-
} else
|
|
1166
|
-
obj[key] = value;
|
|
1167
|
-
}
|
|
1139
|
+
} else obj[key] = value;
|
|
1168
1140
|
return obj;
|
|
1169
1141
|
}
|
|
1170
1142
|
function _ts_generator$1(thisArg, body) {
|
|
@@ -1376,11 +1348,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1376
1348
|
reject(error);
|
|
1377
1349
|
return;
|
|
1378
1350
|
}
|
|
1379
|
-
if (info.done)
|
|
1380
|
-
|
|
1381
|
-
} else {
|
|
1382
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1383
|
-
}
|
|
1351
|
+
if (info.done) resolve(value);
|
|
1352
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1384
1353
|
}
|
|
1385
1354
|
function _async_to_generator(fn) {
|
|
1386
1355
|
return function() {
|
|
@@ -1398,9 +1367,7 @@ function _async_to_generator(fn) {
|
|
|
1398
1367
|
};
|
|
1399
1368
|
}
|
|
1400
1369
|
function _class_call_check$3(instance, Constructor) {
|
|
1401
|
-
if (!(instance instanceof Constructor))
|
|
1402
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1403
|
-
}
|
|
1370
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1404
1371
|
}
|
|
1405
1372
|
function _defineProperties$2(target, props) {
|
|
1406
1373
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1423,9 +1390,7 @@ function _define_property$2(obj, key, value) {
|
|
|
1423
1390
|
configurable: true,
|
|
1424
1391
|
writable: true
|
|
1425
1392
|
});
|
|
1426
|
-
} else
|
|
1427
|
-
obj[key] = value;
|
|
1428
|
-
}
|
|
1393
|
+
} else obj[key] = value;
|
|
1429
1394
|
return obj;
|
|
1430
1395
|
}
|
|
1431
1396
|
function _ts_generator(thisArg, body) {
|
|
@@ -1577,9 +1542,7 @@ ZoomWebhookController = __decorate([
|
|
|
1577
1542
|
], ZoomWebhookController);
|
|
1578
1543
|
|
|
1579
1544
|
function _class_call_check$2(instance, Constructor) {
|
|
1580
|
-
if (!(instance instanceof Constructor))
|
|
1581
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1582
|
-
}
|
|
1545
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1583
1546
|
}
|
|
1584
1547
|
/**
|
|
1585
1548
|
* Factory function that creates ZoomWebhookServiceConfig from NestJS ConfigService.
|
|
@@ -1625,9 +1588,7 @@ ZoomWebhookModule = __decorate([
|
|
|
1625
1588
|
], ZoomWebhookModule);
|
|
1626
1589
|
|
|
1627
1590
|
function _class_call_check$1(instance, Constructor) {
|
|
1628
|
-
if (!(instance instanceof Constructor))
|
|
1629
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1630
|
-
}
|
|
1591
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1631
1592
|
}
|
|
1632
1593
|
function _defineProperties$1(target, props) {
|
|
1633
1594
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1650,9 +1611,7 @@ function _define_property$1(obj, key, value) {
|
|
|
1650
1611
|
configurable: true,
|
|
1651
1612
|
writable: true
|
|
1652
1613
|
});
|
|
1653
|
-
} else
|
|
1654
|
-
obj[key] = value;
|
|
1655
|
-
}
|
|
1614
|
+
} else obj[key] = value;
|
|
1656
1615
|
return obj;
|
|
1657
1616
|
}
|
|
1658
1617
|
/**
|
|
@@ -1676,9 +1635,7 @@ function _define_property$1(obj, key, value) {
|
|
|
1676
1635
|
();
|
|
1677
1636
|
|
|
1678
1637
|
function _class_call_check(instance, Constructor) {
|
|
1679
|
-
if (!(instance instanceof Constructor))
|
|
1680
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1681
|
-
}
|
|
1638
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1682
1639
|
}
|
|
1683
1640
|
function _defineProperties(target, props) {
|
|
1684
1641
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1701,9 +1658,7 @@ function _define_property(obj, key, value) {
|
|
|
1701
1658
|
configurable: true,
|
|
1702
1659
|
writable: true
|
|
1703
1660
|
});
|
|
1704
|
-
} else
|
|
1705
|
-
obj[key] = value;
|
|
1706
|
-
}
|
|
1661
|
+
} else obj[key] = value;
|
|
1707
1662
|
return obj;
|
|
1708
1663
|
}
|
|
1709
1664
|
function _object_spread(target) {
|
|
@@ -1731,9 +1686,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1731
1686
|
}
|
|
1732
1687
|
function _object_spread_props(target, source) {
|
|
1733
1688
|
source = source != null ? source : {};
|
|
1734
|
-
if (Object.getOwnPropertyDescriptors)
|
|
1735
|
-
|
|
1736
|
-
} else {
|
|
1689
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1690
|
+
else {
|
|
1737
1691
|
ownKeys(Object(source)).forEach(function(key) {
|
|
1738
1692
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1739
1693
|
});
|
|
@@ -1856,10 +1810,12 @@ function _array_without_holes(arr) {
|
|
|
1856
1810
|
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
1857
1811
|
}
|
|
1858
1812
|
function _iterable_to_array(iter) {
|
|
1859
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
1813
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
1814
|
+
return Array.from(iter);
|
|
1815
|
+
}
|
|
1860
1816
|
}
|
|
1861
1817
|
function _non_iterable_spread() {
|
|
1862
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
1818
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1863
1819
|
}
|
|
1864
1820
|
function _to_consumable_array(arr) {
|
|
1865
1821
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
package/nestjs/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/zoom/nestjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@dereekb/nestjs": "
|
|
7
|
-
"@dereekb/rxjs": "
|
|
8
|
-
"@dereekb/util": "
|
|
9
|
-
"@dereekb/zoom": "
|
|
10
|
-
"@nestjs/common": "^
|
|
11
|
-
"@nestjs/config": "^
|
|
6
|
+
"@dereekb/nestjs": "14.0.1",
|
|
7
|
+
"@dereekb/rxjs": "14.0.1",
|
|
8
|
+
"@dereekb/util": "14.0.1",
|
|
9
|
+
"@dereekb/zoom": "14.0.1",
|
|
10
|
+
"@nestjs/common": "^12.0.1",
|
|
11
|
+
"@nestjs/config": "^12.0.0",
|
|
12
12
|
"express": "^5.2.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@nestjs/testing": "^
|
|
15
|
+
"@nestjs/testing": "^12.0.1",
|
|
16
16
|
"date-fns": "^4.1.0"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/zoom",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./nestjs": {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@dereekb/nestjs": "
|
|
20
|
-
"@dereekb/rxjs": "
|
|
21
|
-
"@dereekb/util": "
|
|
22
|
-
"@nestjs/common": "^
|
|
23
|
-
"@nestjs/config": "^
|
|
19
|
+
"@dereekb/nestjs": "14.0.1",
|
|
20
|
+
"@dereekb/rxjs": "14.0.1",
|
|
21
|
+
"@dereekb/util": "14.0.1",
|
|
22
|
+
"@nestjs/common": "^12.0.1",
|
|
23
|
+
"@nestjs/config": "^12.0.0",
|
|
24
24
|
"express": "^5.2.1",
|
|
25
25
|
"make-error": "^1.3.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@nestjs/testing": "^
|
|
28
|
+
"@nestjs/testing": "^12.0.1",
|
|
29
29
|
"date-fns": "^4.1.0"
|
|
30
30
|
},
|
|
31
31
|
"module": "./index.esm.js",
|
|
@@ -107,7 +107,3 @@ export interface ZoomOAuthContext {
|
|
|
107
107
|
export interface ZoomOAuthContextRef {
|
|
108
108
|
readonly oauthContext: ZoomOAuthContext;
|
|
109
109
|
}
|
|
110
|
-
/**
|
|
111
|
-
* @deprecated use ZoomOAuthFetchFactoryParams instead.
|
|
112
|
-
*/
|
|
113
|
-
export type ZoomOAuthFetchFactoryInput = ZoomOAuthFetchFactoryParams;
|
|
@@ -59,7 +59,3 @@ export interface ZoomUserContext extends ZoomContext {
|
|
|
59
59
|
export interface ZoomServerContextRef {
|
|
60
60
|
readonly zoomServerContext: ZoomServerContext;
|
|
61
61
|
}
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated use ZoomFetchFactoryParams instead.
|
|
64
|
-
*/
|
|
65
|
-
export type ZoomFetchFactoryInput = ZoomFetchFactoryParams;
|
package/src/lib/zoom.limit.d.ts
CHANGED
|
@@ -43,7 +43,3 @@ export type ZoomRateLimitedFetchHandler = RateLimitedFetchHandler<ResetPeriodPro
|
|
|
43
43
|
* @returns A configured rate-limited fetch handler.
|
|
44
44
|
*/
|
|
45
45
|
export declare function zoomRateLimitedFetchHandler(config?: Maybe<ZoomRateLimitedFetchHandlerConfig>): ZoomRateLimitedFetchHandler;
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated use DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION instead.
|
|
48
|
-
*/
|
|
49
|
-
export declare const DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUETS_LOG_FUNCTION: (headers: ZoomRateLimitHeaderDetails) => void;
|