@dereekb/zoom 13.4.0 → 13.4.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.cjs.js +152 -56
- package/index.esm.js +152 -57
- package/nestjs/index.cjs.js +61 -34
- package/nestjs/index.esm.js +61 -34
- package/nestjs/package.json +4 -4
- package/nestjs/src/lib/oauth/oauth.config.d.ts +7 -0
- package/nestjs/src/lib/oauth/oauth.module.d.ts +8 -3
- package/nestjs/src/lib/oauth/oauth.service.d.ts +14 -3
- package/nestjs/src/lib/webhook/webhook.zoom.module.d.ts +6 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.common.d.ts +1 -1
- package/nestjs/src/lib/webhook/webhook.zoom.verify.d.ts +1 -1
- package/nestjs/src/lib/zoom/zoom.api.d.ts +1 -1
- package/nestjs/src/lib/zoom/zoom.config.d.ts +1 -1
- package/nestjs/src/lib/zoom/zoom.module.d.ts +9 -4
- package/package.json +3 -3
- package/src/lib/oauth/oauth.api.d.ts +13 -0
- package/src/lib/oauth/oauth.config.d.ts +12 -4
- package/src/lib/oauth/oauth.d.ts +7 -4
- package/src/lib/oauth/oauth.error.api.d.ts +14 -1
- package/src/lib/oauth/oauth.factory.d.ts +8 -2
- package/src/lib/zoom/zoom.api.meeting.d.ts +41 -2
- package/src/lib/zoom/zoom.api.meeting.type.d.ts +53 -18
- package/src/lib/zoom/zoom.api.user.d.ts +6 -0
- package/src/lib/zoom/zoom.api.user.type.d.ts +9 -4
- package/src/lib/zoom/zoom.config.d.ts +12 -4
- package/src/lib/zoom/zoom.error.api.d.ts +14 -1
- package/src/lib/zoom/zoom.factory.d.ts +6 -0
- package/src/lib/zoom.error.api.d.ts +22 -6
- package/src/lib/zoom.limit.d.ts +15 -1
package/src/lib/zoom.limit.d.ts
CHANGED
|
@@ -8,9 +8,13 @@ export interface ZoomRateLimiterRef {
|
|
|
8
8
|
* Function to execute when too many requests is reached.
|
|
9
9
|
*
|
|
10
10
|
* Typically used for logging of some sort. Thrown errors are ignored.
|
|
11
|
+
*
|
|
12
|
+
* @param headers The parsed rate limit header details from the response
|
|
13
|
+
* @param response The raw HTTP response
|
|
14
|
+
* @param fetchResponseError Optional fetch response error, if available
|
|
11
15
|
*/
|
|
12
16
|
export type ZoomRateLimitedTooManyRequestsLogFunction = (headers: ZoomRateLimitHeaderDetails, response: Response, fetchResponseError?: FetchResponseError) => PromiseOrValue<void>;
|
|
13
|
-
export declare const
|
|
17
|
+
export declare const DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION: (headers: ZoomRateLimitHeaderDetails) => void;
|
|
14
18
|
export interface ZoomRateLimitedFetchHandlerConfig {
|
|
15
19
|
/**
|
|
16
20
|
* Custom max rate limit.
|
|
@@ -32,4 +36,14 @@ export interface ZoomRateLimitedFetchHandlerConfig {
|
|
|
32
36
|
readonly onTooManyRequests?: ZoomRateLimitedTooManyRequestsLogFunction | false;
|
|
33
37
|
}
|
|
34
38
|
export type ZoomRateLimitedFetchHandler = RateLimitedFetchHandler<ResetPeriodPromiseRateLimiter>;
|
|
39
|
+
/**
|
|
40
|
+
* Creates a rate-limited fetch handler configured for the Zoom API.
|
|
41
|
+
*
|
|
42
|
+
* @param config Optional configuration for rate limiting behavior
|
|
43
|
+
* @returns A configured rate-limited fetch handler
|
|
44
|
+
*/
|
|
35
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;
|