@dereekb/zoom 13.11.2 → 13.11.4
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.cjs.js +12 -0
- package/index.esm.js +12 -0
- package/nestjs/package.json +5 -5
- package/package.json +4 -4
- package/src/lib/oauth/oauth.d.ts +1 -0
- package/src/lib/oauth/oauth.factory.d.ts +2 -0
- package/src/lib/zoom/zoom.api.meeting.d.ts +3 -0
- package/src/lib/zoom/zoom.api.user.d.ts +1 -0
- package/src/lib/zoom/zoom.factory.d.ts +1 -0
- package/src/lib/zoom.api.page.d.ts +1 -0
- package/src/lib/zoom.error.api.d.ts +4 -0
package/index.cjs.js
CHANGED
|
@@ -77,6 +77,7 @@ function _object_spread_props(target, source) {
|
|
|
77
77
|
* @param fetch - function that fetches a single page of results from the Zoom API
|
|
78
78
|
* @param defaults - optional default pagination configuration
|
|
79
79
|
* @returns a configured FetchPageFactory that handles Zoom's cursor-based pagination using `next_page_token`
|
|
80
|
+
* @__NO_SIDE_EFFECTS__
|
|
80
81
|
*/ function zoomFetchPageFactory(fetch$1, defaults) {
|
|
81
82
|
return fetch.fetchPageFactory(_object_spread_props(_object_spread({}, defaults), {
|
|
82
83
|
fetch: fetch$1,
|
|
@@ -364,6 +365,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
364
365
|
*
|
|
365
366
|
* @param zoomApiNamePrefix Prefix to use when logging. I.E. ZoomError, etc.
|
|
366
367
|
* @returns
|
|
368
|
+
* @__NO_SIDE_EFFECTS__
|
|
367
369
|
*/ function logZoomServerErrorFunction(zoomApiNamePrefix) {
|
|
368
370
|
return function(error) {
|
|
369
371
|
if (_instanceof(error, ZoomServerFetchResponseError)) {
|
|
@@ -388,6 +390,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
388
390
|
* @param parseZoomError Function to parse fetch response errors into typed Zoom errors
|
|
389
391
|
* @param defaultLogError Default error logging function
|
|
390
392
|
* @returns A factory that wraps ConfiguredFetch with error handling
|
|
393
|
+
* @__NO_SIDE_EFFECTS__
|
|
391
394
|
*/ function handleZoomErrorFetchFactory(parseZoomError, defaultLogError) {
|
|
392
395
|
return function(fetch$1) {
|
|
393
396
|
var logError = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : defaultLogError;
|
|
@@ -543,6 +546,7 @@ var ZoomTooManyRequestsError = /*#__PURE__*/ function(ZoomServerFetchResponseErr
|
|
|
543
546
|
}
|
|
544
547
|
]);
|
|
545
548
|
}
|
|
549
|
+
// @__NO_SIDE_EFFECTS__
|
|
546
550
|
function silenceZoomErrorWithCodesFunction(codes, returnFn) {
|
|
547
551
|
var codesSet = new Set(util.asArray(codes));
|
|
548
552
|
return function(silence) {
|
|
@@ -580,6 +584,7 @@ function silenceZoomErrorWithCodesFunction(codes, returnFn) {
|
|
|
580
584
|
*
|
|
581
585
|
* @param context The Zoom API context
|
|
582
586
|
* @returns A page factory for paginated meeting listing
|
|
587
|
+
* @__NO_SIDE_EFFECTS__
|
|
583
588
|
*/ function listMeetingsForUserPageFactory(context) {
|
|
584
589
|
return zoomFetchPageFactory(listMeetingsForUser(context));
|
|
585
590
|
}
|
|
@@ -588,6 +593,7 @@ function silenceZoomErrorWithCodesFunction(codes, returnFn) {
|
|
|
588
593
|
*
|
|
589
594
|
* @param context The Zoom API context
|
|
590
595
|
* @returns A function that creates a meeting for a user
|
|
596
|
+
* @__NO_SIDE_EFFECTS__
|
|
591
597
|
*/ function createMeetingForUser(context) {
|
|
592
598
|
return function(input) {
|
|
593
599
|
return context.fetchJson("/users/".concat(input.user, "/meetings"), {
|
|
@@ -648,6 +654,7 @@ var DELETE_MEETING_DOES_NOT_EXIST_ERROR_CODE = 3001;
|
|
|
648
654
|
*
|
|
649
655
|
* @param context The Zoom API context
|
|
650
656
|
* @returns A page factory for paginated participant listing
|
|
657
|
+
* @__NO_SIDE_EFFECTS__
|
|
651
658
|
*/ function getPastMeetingParticipantsPageFactory(context) {
|
|
652
659
|
return zoomFetchPageFactory(getPastMeetingParticipants(context));
|
|
653
660
|
}
|
|
@@ -743,6 +750,7 @@ exports.ZoomRegistrationType = void 0;
|
|
|
743
750
|
*
|
|
744
751
|
* @param context The Zoom API context
|
|
745
752
|
* @returns A page factory for paginated user listing
|
|
753
|
+
* @__NO_SIDE_EFFECTS__
|
|
746
754
|
*/ function listUsersPageFactory(context) {
|
|
747
755
|
return zoomFetchPageFactory(listUsers(context));
|
|
748
756
|
}
|
|
@@ -1356,6 +1364,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
1356
1364
|
*
|
|
1357
1365
|
* @param zoomAccessTokenFactory The factory to extract the token string from
|
|
1358
1366
|
* @returns A factory that returns the access token string
|
|
1367
|
+
* @__NO_SIDE_EFFECTS__
|
|
1359
1368
|
*/ function zoomAccessTokenStringFactory(zoomAccessTokenFactory) {
|
|
1360
1369
|
return function() {
|
|
1361
1370
|
return _async_to_generator$2(function() {
|
|
@@ -1587,6 +1596,7 @@ function _ts_generator$1(thisArg, body) {
|
|
|
1587
1596
|
*
|
|
1588
1597
|
* @param factoryConfig Configuration including OAuth context, rate limiting, and fetch settings
|
|
1589
1598
|
* @returns A factory function that creates a configured Zoom API instance
|
|
1599
|
+
* @__NO_SIDE_EFFECTS__
|
|
1590
1600
|
*/ function zoomFactory(factoryConfig) {
|
|
1591
1601
|
var oauthContext = factoryConfig.oauthContext;
|
|
1592
1602
|
var serverAccessTokenStringFactory = zoomAccessTokenStringFactory(oauthContext.loadAccessToken);
|
|
@@ -1866,6 +1876,7 @@ function _ts_generator(thisArg, body) {
|
|
|
1866
1876
|
*
|
|
1867
1877
|
* @param factoryConfig Configuration for the OAuth factory
|
|
1868
1878
|
* @returns A factory that creates configured ZoomOAuth instances
|
|
1879
|
+
* @__NO_SIDE_EFFECTS__
|
|
1869
1880
|
*/ function zoomOAuthFactory(factoryConfig) {
|
|
1870
1881
|
var fetchHandler = zoomRateLimitedFetchHandler();
|
|
1871
1882
|
var logZoomServerErrorFunction = factoryConfig.logZoomServerErrorFunction, _factoryConfig_fetchFactory = factoryConfig.fetchFactory, fetchFactory = _factoryConfig_fetchFactory === void 0 ? function() {
|
|
@@ -1976,6 +1987,7 @@ function _ts_generator(thisArg, body) {
|
|
|
1976
1987
|
*
|
|
1977
1988
|
* @param config
|
|
1978
1989
|
* @returns
|
|
1990
|
+
* @__NO_SIDE_EFFECTS__
|
|
1979
1991
|
*/ function zoomOAuthZoomAccessTokenFactory(config) {
|
|
1980
1992
|
var tokenRefresher = config.tokenRefresher, accessTokenCache = config.accessTokenCache, inputTokenExpirationBuffer = config.tokenExpirationBuffer;
|
|
1981
1993
|
var tokenExpirationBuffer = inputTokenExpirationBuffer !== null && inputTokenExpirationBuffer !== void 0 ? inputTokenExpirationBuffer : util.MS_IN_MINUTE;
|
package/index.esm.js
CHANGED
|
@@ -75,6 +75,7 @@ function _object_spread_props(target, source) {
|
|
|
75
75
|
* @param fetch - function that fetches a single page of results from the Zoom API
|
|
76
76
|
* @param defaults - optional default pagination configuration
|
|
77
77
|
* @returns a configured FetchPageFactory that handles Zoom's cursor-based pagination using `next_page_token`
|
|
78
|
+
* @__NO_SIDE_EFFECTS__
|
|
78
79
|
*/ function zoomFetchPageFactory(fetch, defaults) {
|
|
79
80
|
return fetchPageFactory(_object_spread_props(_object_spread({}, defaults), {
|
|
80
81
|
fetch: fetch,
|
|
@@ -362,6 +363,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
362
363
|
*
|
|
363
364
|
* @param zoomApiNamePrefix Prefix to use when logging. I.E. ZoomError, etc.
|
|
364
365
|
* @returns
|
|
366
|
+
* @__NO_SIDE_EFFECTS__
|
|
365
367
|
*/ function logZoomServerErrorFunction(zoomApiNamePrefix) {
|
|
366
368
|
return function(error) {
|
|
367
369
|
if (_instanceof(error, ZoomServerFetchResponseError)) {
|
|
@@ -386,6 +388,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
386
388
|
* @param parseZoomError Function to parse fetch response errors into typed Zoom errors
|
|
387
389
|
* @param defaultLogError Default error logging function
|
|
388
390
|
* @returns A factory that wraps ConfiguredFetch with error handling
|
|
391
|
+
* @__NO_SIDE_EFFECTS__
|
|
389
392
|
*/ function handleZoomErrorFetchFactory(parseZoomError, defaultLogError) {
|
|
390
393
|
return function(fetch) {
|
|
391
394
|
var logError = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : defaultLogError;
|
|
@@ -541,6 +544,7 @@ var ZoomTooManyRequestsError = /*#__PURE__*/ function(ZoomServerFetchResponseErr
|
|
|
541
544
|
}
|
|
542
545
|
]);
|
|
543
546
|
}
|
|
547
|
+
// @__NO_SIDE_EFFECTS__
|
|
544
548
|
function silenceZoomErrorWithCodesFunction(codes, returnFn) {
|
|
545
549
|
var codesSet = new Set(asArray(codes));
|
|
546
550
|
return function(silence) {
|
|
@@ -578,6 +582,7 @@ function silenceZoomErrorWithCodesFunction(codes, returnFn) {
|
|
|
578
582
|
*
|
|
579
583
|
* @param context The Zoom API context
|
|
580
584
|
* @returns A page factory for paginated meeting listing
|
|
585
|
+
* @__NO_SIDE_EFFECTS__
|
|
581
586
|
*/ function listMeetingsForUserPageFactory(context) {
|
|
582
587
|
return zoomFetchPageFactory(listMeetingsForUser(context));
|
|
583
588
|
}
|
|
@@ -586,6 +591,7 @@ function silenceZoomErrorWithCodesFunction(codes, returnFn) {
|
|
|
586
591
|
*
|
|
587
592
|
* @param context The Zoom API context
|
|
588
593
|
* @returns A function that creates a meeting for a user
|
|
594
|
+
* @__NO_SIDE_EFFECTS__
|
|
589
595
|
*/ function createMeetingForUser(context) {
|
|
590
596
|
return function(input) {
|
|
591
597
|
return context.fetchJson("/users/".concat(input.user, "/meetings"), {
|
|
@@ -646,6 +652,7 @@ var DELETE_MEETING_DOES_NOT_EXIST_ERROR_CODE = 3001;
|
|
|
646
652
|
*
|
|
647
653
|
* @param context The Zoom API context
|
|
648
654
|
* @returns A page factory for paginated participant listing
|
|
655
|
+
* @__NO_SIDE_EFFECTS__
|
|
649
656
|
*/ function getPastMeetingParticipantsPageFactory(context) {
|
|
650
657
|
return zoomFetchPageFactory(getPastMeetingParticipants(context));
|
|
651
658
|
}
|
|
@@ -741,6 +748,7 @@ var ZoomRegistrationType;
|
|
|
741
748
|
*
|
|
742
749
|
* @param context The Zoom API context
|
|
743
750
|
* @returns A page factory for paginated user listing
|
|
751
|
+
* @__NO_SIDE_EFFECTS__
|
|
744
752
|
*/ function listUsersPageFactory(context) {
|
|
745
753
|
return zoomFetchPageFactory(listUsers(context));
|
|
746
754
|
}
|
|
@@ -1354,6 +1362,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
1354
1362
|
*
|
|
1355
1363
|
* @param zoomAccessTokenFactory The factory to extract the token string from
|
|
1356
1364
|
* @returns A factory that returns the access token string
|
|
1365
|
+
* @__NO_SIDE_EFFECTS__
|
|
1357
1366
|
*/ function zoomAccessTokenStringFactory(zoomAccessTokenFactory) {
|
|
1358
1367
|
return function() {
|
|
1359
1368
|
return _async_to_generator$2(function() {
|
|
@@ -1585,6 +1594,7 @@ function _ts_generator$1(thisArg, body) {
|
|
|
1585
1594
|
*
|
|
1586
1595
|
* @param factoryConfig Configuration including OAuth context, rate limiting, and fetch settings
|
|
1587
1596
|
* @returns A factory function that creates a configured Zoom API instance
|
|
1597
|
+
* @__NO_SIDE_EFFECTS__
|
|
1588
1598
|
*/ function zoomFactory(factoryConfig) {
|
|
1589
1599
|
var oauthContext = factoryConfig.oauthContext;
|
|
1590
1600
|
var serverAccessTokenStringFactory = zoomAccessTokenStringFactory(oauthContext.loadAccessToken);
|
|
@@ -1864,6 +1874,7 @@ function _ts_generator(thisArg, body) {
|
|
|
1864
1874
|
*
|
|
1865
1875
|
* @param factoryConfig Configuration for the OAuth factory
|
|
1866
1876
|
* @returns A factory that creates configured ZoomOAuth instances
|
|
1877
|
+
* @__NO_SIDE_EFFECTS__
|
|
1867
1878
|
*/ function zoomOAuthFactory(factoryConfig) {
|
|
1868
1879
|
var fetchHandler = zoomRateLimitedFetchHandler();
|
|
1869
1880
|
var logZoomServerErrorFunction = factoryConfig.logZoomServerErrorFunction, _factoryConfig_fetchFactory = factoryConfig.fetchFactory, fetchFactory = _factoryConfig_fetchFactory === void 0 ? function() {
|
|
@@ -1974,6 +1985,7 @@ function _ts_generator(thisArg, body) {
|
|
|
1974
1985
|
*
|
|
1975
1986
|
* @param config
|
|
1976
1987
|
* @returns
|
|
1988
|
+
* @__NO_SIDE_EFFECTS__
|
|
1977
1989
|
*/ function zoomOAuthZoomAccessTokenFactory(config) {
|
|
1978
1990
|
var tokenRefresher = config.tokenRefresher, accessTokenCache = config.accessTokenCache, inputTokenExpirationBuffer = config.tokenExpirationBuffer;
|
|
1979
1991
|
var tokenExpirationBuffer = inputTokenExpirationBuffer !== null && inputTokenExpirationBuffer !== void 0 ? inputTokenExpirationBuffer : MS_IN_MINUTE;
|
package/nestjs/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/zoom/nestjs",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/nestjs": "13.11.
|
|
6
|
-
"@dereekb/rxjs": "13.11.
|
|
7
|
-
"@dereekb/util": "13.11.
|
|
8
|
-
"@dereekb/zoom": "13.11.
|
|
5
|
+
"@dereekb/nestjs": "13.11.4",
|
|
6
|
+
"@dereekb/rxjs": "13.11.4",
|
|
7
|
+
"@dereekb/util": "13.11.4",
|
|
8
|
+
"@dereekb/zoom": "13.11.4",
|
|
9
9
|
"@nestjs/common": "^11.1.19",
|
|
10
10
|
"@nestjs/config": "^4.0.4",
|
|
11
11
|
"express": "^5.2.1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/zoom",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.4",
|
|
4
4
|
"exports": {
|
|
5
5
|
"./nestjs": {
|
|
6
6
|
"module": "./nestjs/index.esm.js",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@dereekb/nestjs": "13.11.
|
|
21
|
-
"@dereekb/rxjs": "13.11.
|
|
22
|
-
"@dereekb/util": "13.11.
|
|
20
|
+
"@dereekb/nestjs": "13.11.4",
|
|
21
|
+
"@dereekb/rxjs": "13.11.4",
|
|
22
|
+
"@dereekb/util": "13.11.4",
|
|
23
23
|
"@nestjs/common": "^11.1.19",
|
|
24
24
|
"@nestjs/config": "^4.0.4",
|
|
25
25
|
"express": "^5.2.1",
|
package/src/lib/oauth/oauth.d.ts
CHANGED
|
@@ -70,5 +70,6 @@ export type ZoomAccessTokenStringFactory = () => Promise<ZoomAccessTokenString>;
|
|
|
70
70
|
*
|
|
71
71
|
* @param zoomAccessTokenFactory The factory to extract the token string from
|
|
72
72
|
* @returns A factory that returns the access token string
|
|
73
|
+
* @__NO_SIDE_EFFECTS__
|
|
73
74
|
*/
|
|
74
75
|
export declare function zoomAccessTokenStringFactory(zoomAccessTokenFactory: ZoomAccessTokenFactory): ZoomAccessTokenStringFactory;
|
|
@@ -19,6 +19,7 @@ export type ZoomOAuthFactory = (config: ZoomOAuthConfig) => ZoomOAuth;
|
|
|
19
19
|
*
|
|
20
20
|
* @param factoryConfig Configuration for the OAuth factory
|
|
21
21
|
* @returns A factory that creates configured ZoomOAuth instances
|
|
22
|
+
* @__NO_SIDE_EFFECTS__
|
|
22
23
|
*/
|
|
23
24
|
export declare function zoomOAuthFactory(factoryConfig: ZoomOAuthFactoryConfig): ZoomOAuthFactory;
|
|
24
25
|
export interface ZoomOAuthZoomAccessTokenFactoryConfig {
|
|
@@ -36,5 +37,6 @@ export interface ZoomOAuthZoomAccessTokenFactoryConfig {
|
|
|
36
37
|
*
|
|
37
38
|
* @param config
|
|
38
39
|
* @returns
|
|
40
|
+
* @__NO_SIDE_EFFECTS__
|
|
39
41
|
*/
|
|
40
42
|
export declare function zoomOAuthZoomAccessTokenFactory(config: ZoomOAuthZoomAccessTokenFactoryConfig): ZoomAccessTokenFactory;
|
|
@@ -35,6 +35,7 @@ export type ListMeetingsForUserPageFactory = FetchPageFactory<ListMeetingsForUse
|
|
|
35
35
|
*
|
|
36
36
|
* @param context The Zoom API context
|
|
37
37
|
* @returns A page factory for paginated meeting listing
|
|
38
|
+
* @__NO_SIDE_EFFECTS__
|
|
38
39
|
*/
|
|
39
40
|
export declare function listMeetingsForUserPageFactory(context: ZoomContext): ListMeetingsForUserPageFactory;
|
|
40
41
|
/**
|
|
@@ -135,6 +136,7 @@ export type CreateMeetingForUserResponse = ZoomMeeting;
|
|
|
135
136
|
*
|
|
136
137
|
* @param context The Zoom API context
|
|
137
138
|
* @returns A function that creates a meeting for a user
|
|
139
|
+
* @__NO_SIDE_EFFECTS__
|
|
138
140
|
*/
|
|
139
141
|
export declare function createMeetingForUser(context: ZoomContext): (input: CreateMeetingForUserInput) => Promise<CreateMeetingForUserResponse>;
|
|
140
142
|
/**
|
|
@@ -220,5 +222,6 @@ export type GetPastMeetingParticipantsPageFactory = FetchPageFactory<GetPastMeet
|
|
|
220
222
|
*
|
|
221
223
|
* @param context The Zoom API context
|
|
222
224
|
* @returns A page factory for paginated participant listing
|
|
225
|
+
* @__NO_SIDE_EFFECTS__
|
|
223
226
|
*/
|
|
224
227
|
export declare function getPastMeetingParticipantsPageFactory(context: ZoomContext): GetPastMeetingParticipantsPageFactory;
|
|
@@ -34,5 +34,6 @@ export type ListUsersPageFactory = FetchPageFactory<ListUsersInput, ListUsersRes
|
|
|
34
34
|
*
|
|
35
35
|
* @param context The Zoom API context
|
|
36
36
|
* @returns A page factory for paginated user listing
|
|
37
|
+
* @__NO_SIDE_EFFECTS__
|
|
37
38
|
*/
|
|
38
39
|
export declare function listUsersPageFactory(context: ZoomContext): ListUsersPageFactory;
|
|
@@ -25,5 +25,6 @@ export type ZoomFactory = (config: ZoomConfig) => Zoom;
|
|
|
25
25
|
*
|
|
26
26
|
* @param factoryConfig Configuration including OAuth context, rate limiting, and fetch settings
|
|
27
27
|
* @returns A factory function that creates a configured Zoom API instance
|
|
28
|
+
* @__NO_SIDE_EFFECTS__
|
|
28
29
|
*/
|
|
29
30
|
export declare function zoomFactory(factoryConfig: ZoomFactoryConfig): ZoomFactory;
|
|
@@ -69,5 +69,6 @@ export type ZoomFetchPageFetchFunction<I extends ZoomPageFilter, R extends ZoomP
|
|
|
69
69
|
* @param fetch - function that fetches a single page of results from the Zoom API
|
|
70
70
|
* @param defaults - optional default pagination configuration
|
|
71
71
|
* @returns a configured FetchPageFactory that handles Zoom's cursor-based pagination using `next_page_token`
|
|
72
|
+
* @__NO_SIDE_EFFECTS__
|
|
72
73
|
*/
|
|
73
74
|
export declare function zoomFetchPageFactory<I extends ZoomPageFilter, R extends ZoomPageResult<any>>(fetch: ZoomFetchPageFetchFunction<I, R>, defaults?: Maybe<FetchPageFactoryConfigDefaults>): import("@dereekb/util/fetch").FetchPageFactory<I, R>;
|
|
@@ -54,6 +54,7 @@ export type LogZoomServerErrorFunction = (error: FetchRequestFactoryError | Zoom
|
|
|
54
54
|
*
|
|
55
55
|
* @param zoomApiNamePrefix Prefix to use when logging. I.E. ZoomError, etc.
|
|
56
56
|
* @returns
|
|
57
|
+
* @__NO_SIDE_EFFECTS__
|
|
57
58
|
*/
|
|
58
59
|
export declare function logZoomServerErrorFunction(zoomApiNamePrefix: string): LogZoomServerErrorFunction;
|
|
59
60
|
/**
|
|
@@ -71,6 +72,7 @@ export type ParseZoomFetchResponseErrorFunction = (responseError: FetchResponseE
|
|
|
71
72
|
* @param parseZoomError Function to parse fetch response errors into typed Zoom errors
|
|
72
73
|
* @param defaultLogError Default error logging function
|
|
73
74
|
* @returns A factory that wraps ConfiguredFetch with error handling
|
|
75
|
+
* @__NO_SIDE_EFFECTS__
|
|
74
76
|
*/
|
|
75
77
|
export declare function handleZoomErrorFetchFactory(parseZoomError: ParseZoomFetchResponseErrorFunction, defaultLogError: LogZoomServerErrorFunction): HandleZoomErrorFetchFactory;
|
|
76
78
|
/**
|
|
@@ -157,6 +159,8 @@ export type SilenceZoomErrorWithCodesFunction<T> = (silence?: boolean) => (reaso
|
|
|
157
159
|
* Used with catch() to silence Zoom errors with the specified codes.
|
|
158
160
|
*
|
|
159
161
|
* For example, when deleting a meeting that does not exist, the error code is 3001. This function can be used to silence that error.
|
|
162
|
+
*
|
|
163
|
+
* @__NO_SIDE_EFFECTS__
|
|
160
164
|
*/
|
|
161
165
|
/**
|
|
162
166
|
* Creates a function that silences Zoom errors with specific error codes.
|