@dereekb/zoom 12.5.4 → 12.5.5
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/nestjs/CHANGELOG.md +4 -0
- package/nestjs/package.json +1 -1
- package/nestjs/src/lib/oauth/oauth.config.d.ts +2 -2
- package/nestjs/src/lib/oauth/oauth.module.d.ts +2 -2
- package/nestjs/src/lib/webhook/webhook.zoom.config.d.ts +1 -1
- package/nestjs/src/lib/webhook/webhook.zoom.d.ts +4 -4
- package/nestjs/src/lib/webhook/webhook.zoom.js.map +1 -1
- package/nestjs/src/lib/webhook/webhook.zoom.type.common.d.ts +2 -2
- package/nestjs/src/lib/webhook/webhook.zoom.type.d.ts +1 -1
- package/nestjs/src/lib/webhook/webhook.zoom.type.meeting.d.ts +2 -2
- package/nestjs/src/lib/webhook/webhook.zoom.type.validate.d.ts +1 -1
- package/nestjs/src/lib/webhook/webhook.zoom.validate.d.ts +2 -2
- package/nestjs/src/lib/webhook/webhook.zoom.verify.d.ts +3 -3
- package/nestjs/src/lib/zoom/zoom.config.d.ts +1 -1
- package/nestjs/src/lib/zoom/zoom.module.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/oauth/oauth.api.d.ts +6 -6
- package/src/lib/oauth/oauth.config.d.ts +4 -4
- package/src/lib/oauth/oauth.error.api.d.ts +2 -2
- package/src/lib/oauth/oauth.factory.d.ts +4 -4
- package/src/lib/zoom/zoom.api.meeting.d.ts +7 -7
- package/src/lib/zoom/zoom.api.meeting.type.d.ts +2 -2
- package/src/lib/zoom/zoom.api.user.d.ts +5 -5
- package/src/lib/zoom/zoom.api.user.type.d.ts +2 -2
- package/src/lib/zoom/zoom.config.d.ts +5 -5
- package/src/lib/zoom/zoom.error.api.d.ts +2 -2
- package/src/lib/zoom/zoom.factory.d.ts +5 -5
- package/src/lib/zoom.api.page.d.ts +2 -2
- package/src/lib/zoom.error.api.d.ts +2 -2
- package/src/lib/zoom.limit.d.ts +3 -3
- package/src/lib/zoom.type.d.ts +1 -1
package/nestjs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [12.5.5](https://github.com/dereekb/dbx-components/compare/v12.5.4-dev...v12.5.5) (2025-10-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [12.5.4](https://github.com/dereekb/dbx-components/compare/v12.5.3-dev...v12.5.4) (2025-10-17)
|
|
6
10
|
|
|
7
11
|
|
package/nestjs/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ZoomOAuthConfig, ZoomOAuthFactoryConfig } from '@dereekb/zoom';
|
|
2
|
-
import { ConfigService } from '@nestjs/config';
|
|
1
|
+
import { type ZoomOAuthConfig, type ZoomOAuthFactoryConfig } from '@dereekb/zoom';
|
|
2
|
+
import { type ConfigService } from '@nestjs/config';
|
|
3
3
|
export interface ZoomOAuthServiceApiConfig extends Omit<ZoomOAuthConfig, 'userRefreshToken' | 'type'> {
|
|
4
4
|
readonly authEntityType: 'account';
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ModuleMetadata } from '@nestjs/common';
|
|
1
|
+
import { type ModuleMetadata } from '@nestjs/common';
|
|
2
2
|
import { ConfigService } from '@nestjs/config';
|
|
3
3
|
import { ZoomOAuthServiceConfig } from './oauth.config';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
export type ZoomOAuthServiceConfigFactory = (configService: ConfigService) => ZoomOAuthServiceConfig;
|
|
6
6
|
export declare function zoomOAuthServiceConfigFactory(configService: ConfigService): ZoomOAuthServiceConfig;
|
|
7
7
|
export interface ProvideAppZoomOAuthMetadataConfig extends Pick<ModuleMetadata, 'imports' | 'exports' | 'providers'> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HandlerBindAccessor, HandlerMappedSetFunction, Handler } from '@dereekb/util';
|
|
2
|
-
import { ZoomWebhookEventType } from './webhook.zoom.type';
|
|
3
|
-
import { ZoomWebhookEvent, UntypedZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
4
|
-
import { ZoomWebhookMeetingCreatedEventPayload, ZoomWebhookMeetingDeletedEventPayload, ZoomWebhookMeetingEndedEventPayload, ZoomWebhookMeetingPermanentlyDeletedEventPayload, ZoomWebhookMeetingStartedEventPayload, ZoomWebhookMeetingUpdatedEventPayload } from './webhook.zoom.type.meeting';
|
|
1
|
+
import { type HandlerBindAccessor, type HandlerMappedSetFunction, type Handler } from '@dereekb/util';
|
|
2
|
+
import { type ZoomWebhookEventType } from './webhook.zoom.type';
|
|
3
|
+
import { type ZoomWebhookEvent, type UntypedZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
4
|
+
import { type ZoomWebhookMeetingCreatedEventPayload, type ZoomWebhookMeetingDeletedEventPayload, type ZoomWebhookMeetingEndedEventPayload, type ZoomWebhookMeetingPermanentlyDeletedEventPayload, type ZoomWebhookMeetingStartedEventPayload, type ZoomWebhookMeetingUpdatedEventPayload } from './webhook.zoom.type.meeting';
|
|
5
5
|
/**
|
|
6
6
|
* Creates a ZoomWebhookEvent and treats the data as the input type.
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.zoom.js","sourceRoot":"","sources":["../../../../../../../packages/zoom/nestjs/src/lib/webhook/webhook.zoom.ts"],"names":[],"mappings":";;;AAwBA,4CAMC;AA9BD,
|
|
1
|
+
{"version":3,"file":"webhook.zoom.js","sourceRoot":"","sources":["../../../../../../../packages/zoom/nestjs/src/lib/webhook/webhook.zoom.ts"],"names":[],"mappings":";;;AAwBA,4CAMC;AA9BD,wCAAiL;AAGjL,2EAaqC;AAErC;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAI,KAA8B;IAChE,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,OAAO,EAAE,KAAK,CAAC,OAAuB;KACvC,CAAC;AACJ,CAAC;AAIY,QAAA,uBAAuB,GAAG,IAAA,qBAAc,EAA0B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAclF,QAAA,iCAAiC,GAAG,IAAA,+BAAwB,EAAsD;IAC7H,qBAAqB,EAAE,CAAC,QAA4E,EAAE,EAAE;QACtG,2BAA2B;QAC3B,MAAM,SAAS,GAAG,IAAA,sCAA+B,EAA6B,QAAQ,EAAE,gBAAgB,CAAC,CAAC;QAE1G,MAAM,UAAU,GAA+B;YAC7C,GAAG,QAAQ;YACX,WAAW;YACX,oBAAoB,EAAE,SAAS,CAAC,mEAAuC,CAAC;YACxE,oBAAoB,EAAE,SAAS,CAAC,mEAAuC,CAAC;YACxE,oBAAoB,EAAE,SAAS,CAAC,mEAAuC,CAAC;YACxE,oBAAoB,EAAE,SAAS,CAAC,mEAAuC,CAAC;YACxE,kBAAkB,EAAE,SAAS,CAAC,iEAAqC,CAAC;YACpE,+BAA+B,EAAE,SAAS,CAAC,+EAAmD,CAAC;SAChG,CAAC;QAEF,OAAO,UAAU,CAAC;IACpB,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EmailAddress } from '@dereekb/util';
|
|
2
|
-
import { ZoomAccountId, ZoomUserId, ZoomWebhookEventTypeString, ZoomWebhookTimestamp } from '@dereekb/zoom';
|
|
1
|
+
import { type EmailAddress } from '@dereekb/util';
|
|
2
|
+
import { type ZoomAccountId, type ZoomUserId, type ZoomWebhookEventTypeString, type ZoomWebhookTimestamp } from '@dereekb/zoom';
|
|
3
3
|
/**
|
|
4
4
|
* A parsed RawZoomWebhookEvent that contains the relevant data and the original event.
|
|
5
5
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ZoomWebhookMeetingEventType } from './webhook.zoom.type.meeting';
|
|
1
|
+
import { type ZoomWebhookMeetingEventType } from './webhook.zoom.type.meeting';
|
|
2
2
|
export type ZoomWebhookEventType = ZoomWebhookMeetingEventType | string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PastZoomMeeting, ZoomMeeting, ZoomMeetingIssue } from '@dereekb/zoom';
|
|
2
|
-
import { ZoomWebhookAccountIdAndObjectPayloadData, ZoomWebhookEvent, ZoomWebhookOldObjectRef, ZoomWebhookOperationAndObjectPayloadData, ZoomWebhookTimestampRef } from './webhook.zoom.type.common';
|
|
1
|
+
import { type PastZoomMeeting, type ZoomMeeting, type ZoomMeetingIssue } from '@dereekb/zoom';
|
|
2
|
+
import { type ZoomWebhookAccountIdAndObjectPayloadData, type ZoomWebhookEvent, type ZoomWebhookOldObjectRef, type ZoomWebhookOperationAndObjectPayloadData, type ZoomWebhookTimestampRef } from './webhook.zoom.type.common';
|
|
3
3
|
export type ZoomWebhookMeetingEventType = ZoomWebhookMeetingAlertEventType | ZoomWebhookMeetingCreatedEventType | ZoomWebhookMeetingUpdatedEventType | ZoomWebhookMeetingDeletedEventType | ZoomWebhookMeetingStartedEventType | ZoomWebhookMeetingEndedEventType | ZoomWebhookMeetingPermanentlyDeletedEventType;
|
|
4
4
|
export type BasicZoomWebhookMeetingZoomEventPayloadObject = Pick<ZoomMeeting, 'id' | 'uuid' | 'host_id' | 'topic' | 'type' | 'start_time' | 'duration' | 'timezone'>;
|
|
5
5
|
export declare const ZOOM_WEBHOOK_MEETING_ALERT_EVENT_TYPE = "meeting.alert";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
1
|
+
import { type ZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
2
2
|
export declare const ZOOM_WEBHOOK_URL_VALIDATION_EVENT_TYPE = "endpoint.url_validation";
|
|
3
3
|
export type ZoomWebhookUrlValidationEventType = typeof ZOOM_WEBHOOK_URL_VALIDATION_EVENT_TYPE;
|
|
4
4
|
export type ZoomWebhookUrlValidationPlainTokenString = string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ZoomSecretToken } from '@dereekb/zoom';
|
|
2
|
-
import { ZoomWebhookUrlValidationEvent, ZoomWebhookUrlValidationPlainTokenString, ZoomWebhookUrlValidationEncryptedTokenString } from './webhook.zoom.type.validate';
|
|
1
|
+
import { type ZoomSecretToken } from '@dereekb/zoom';
|
|
2
|
+
import { type ZoomWebhookUrlValidationEvent, type ZoomWebhookUrlValidationPlainTokenString, type ZoomWebhookUrlValidationEncryptedTokenString } from './webhook.zoom.type.validate';
|
|
3
3
|
export interface ZoomWebhookValidationResponse {
|
|
4
4
|
readonly plainToken: ZoomWebhookUrlValidationPlainTokenString;
|
|
5
5
|
readonly encryptedToken: ZoomWebhookUrlValidationEncryptedTokenString;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Request } from 'express';
|
|
2
|
-
import { ZoomSecretToken } from '@dereekb/zoom';
|
|
3
|
-
import { UntypedZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
1
|
+
import { type Request } from 'express';
|
|
2
|
+
import { type ZoomSecretToken } from '@dereekb/zoom';
|
|
3
|
+
import { type UntypedZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
4
4
|
export interface ZoomWebhookEventVerificationResult {
|
|
5
5
|
readonly valid: boolean;
|
|
6
6
|
readonly event: UntypedZoomWebhookEvent;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FetchJsonInput } from '@dereekb/util/fetch';
|
|
2
|
-
import { ZoomOAuthContext } from './oauth.config';
|
|
3
|
-
import { ZoomAccountId, ZoomAuthClientIdAndSecretPair, ZoomRefreshToken } from '../zoom.config';
|
|
4
|
-
import { ZoomAccessTokenApiDomain, ZoomAccessTokenScopesString, ZoomAccessTokenString } from './oauth';
|
|
5
|
-
import { Maybe, Seconds } from '@dereekb/util';
|
|
6
|
-
import { ZoomOAuthAccessTokenErrorCode } from './oauth.error.api';
|
|
1
|
+
import { type FetchJsonInput } from '@dereekb/util/fetch';
|
|
2
|
+
import { type ZoomOAuthContext } from './oauth.config';
|
|
3
|
+
import { type ZoomAccountId, type ZoomAuthClientIdAndSecretPair, type ZoomRefreshToken } from '../zoom.config';
|
|
4
|
+
import { type ZoomAccessTokenApiDomain, type ZoomAccessTokenScopesString, type ZoomAccessTokenString } from './oauth';
|
|
5
|
+
import { type Maybe, type Seconds } from '@dereekb/util';
|
|
6
|
+
import { type ZoomOAuthAccessTokenErrorCode } from './oauth.error.api';
|
|
7
7
|
export interface ZoomOAuthServerAccessTokenInput {
|
|
8
8
|
readonly client?: Maybe<ZoomAuthClientIdAndSecretPair>;
|
|
9
9
|
readonly accountId?: Maybe<ZoomAccountId>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FactoryWithInput, FactoryWithRequiredInput, type Maybe } from '@dereekb/util';
|
|
2
|
-
import { ConfiguredFetch, FetchJsonFunction } from '@dereekb/util/fetch';
|
|
3
|
-
import { ZoomAuthClientIdAndSecretPair, ZoomAccountIdRef, ZoomRefreshToken } from '../zoom.config';
|
|
4
|
-
import { ZoomAccessTokenCache, ZoomAccessTokenFactory } from './oauth';
|
|
1
|
+
import { type FactoryWithInput, type FactoryWithRequiredInput, type Maybe } from '@dereekb/util';
|
|
2
|
+
import { type ConfiguredFetch, type FetchJsonFunction } from '@dereekb/util/fetch';
|
|
3
|
+
import { type ZoomAuthClientIdAndSecretPair, type ZoomAccountIdRef, type ZoomRefreshToken } from '../zoom.config';
|
|
4
|
+
import { type ZoomAccessTokenCache, type ZoomAccessTokenFactory } from './oauth';
|
|
5
5
|
/**
|
|
6
6
|
* The Zoom OAuth API URL for the US datacenter.
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FetchRequestFactoryError, FetchResponseError } from '@dereekb/util/fetch';
|
|
2
|
-
import { ZoomServerErrorData, ParsedZoomServerError } from '../zoom.error.api';
|
|
1
|
+
import { FetchRequestFactoryError, type FetchResponseError } from '@dereekb/util/fetch';
|
|
2
|
+
import { type ZoomServerErrorData, type ParsedZoomServerError } from '../zoom.error.api';
|
|
3
3
|
/**
|
|
4
4
|
* Error in the following cases:
|
|
5
5
|
* - the refresh token string is invalid
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ZoomOAuthConfig, ZoomOAuthContextRef, ZoomOAuthFetchFactory } from './oauth.config';
|
|
2
|
-
import { LogZoomServerErrorFunction } from '../zoom.error.api';
|
|
3
|
-
import { ZoomAccessTokenCache, ZoomAccessTokenFactory, ZoomAccessTokenRefresher } from './oauth';
|
|
4
|
-
import { Maybe, Milliseconds } from '@dereekb/util';
|
|
1
|
+
import { type ZoomOAuthConfig, type ZoomOAuthContextRef, type ZoomOAuthFetchFactory } from './oauth.config';
|
|
2
|
+
import { type LogZoomServerErrorFunction } from '../zoom.error.api';
|
|
3
|
+
import { type ZoomAccessTokenCache, type ZoomAccessTokenFactory, type ZoomAccessTokenRefresher } from './oauth';
|
|
4
|
+
import { type Maybe, type Milliseconds } from '@dereekb/util';
|
|
5
5
|
export type ZoomOAuth = ZoomOAuthContextRef;
|
|
6
6
|
export interface ZoomOAuthFactoryConfig {
|
|
7
7
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ISO8601DateString, Maybe } from '@dereekb/util';
|
|
2
|
-
import { ZoomMeetingType, ZoomRecurrenceInfo, ZoomMeetingSettings, ZoomMeetingAgenda, ZoomMeetingDuration, ZoomMeetingTrackingField, ZoomMeetingTemplateId, ZoomMeetingPassword, ZoomMeeting, ZoomMeetingId, PastZoomMeeting, ZoomMeetingOccurrenceId } from './zoom.api.meeting.type';
|
|
3
|
-
import { ZoomContext } from './zoom.config';
|
|
4
|
-
import { ZoomPageFilter, ZoomPageResult } from '../zoom.api.page';
|
|
5
|
-
import { FetchPageFactory } from '@dereekb/util/fetch';
|
|
6
|
-
import { ZoomUserId } from '../zoom.type';
|
|
7
|
-
import { SilenceZoomErrorConfig } from '../zoom.error.api';
|
|
1
|
+
import { type ISO8601DateString, type Maybe } from '@dereekb/util';
|
|
2
|
+
import { type ZoomMeetingType, type ZoomRecurrenceInfo, type ZoomMeetingSettings, type ZoomMeetingAgenda, type ZoomMeetingDuration, type ZoomMeetingTrackingField, type ZoomMeetingTemplateId, type ZoomMeetingPassword, type ZoomMeeting, type ZoomMeetingId, type PastZoomMeeting, type ZoomMeetingOccurrenceId } from './zoom.api.meeting.type';
|
|
3
|
+
import { type ZoomContext } from './zoom.config';
|
|
4
|
+
import { type ZoomPageFilter, type ZoomPageResult } from '../zoom.api.page';
|
|
5
|
+
import { type FetchPageFactory } from '@dereekb/util/fetch';
|
|
6
|
+
import { type ZoomUserId } from '../zoom.type';
|
|
7
|
+
import { type SilenceZoomErrorConfig } from '../zoom.error.api';
|
|
8
8
|
export interface GetMeetingInput {
|
|
9
9
|
readonly meetingId: ZoomMeetingId;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommaSeparatedString, DayOfMonth, EmailAddress, FileSize, ISO8601DateString, Minutes, TimezoneString } from '@dereekb/util';
|
|
2
|
-
import { ZoomUserId } from '../zoom.type';
|
|
1
|
+
import { type CommaSeparatedString, type DayOfMonth, type EmailAddress, type FileSize, type ISO8601DateString, type Minutes, type TimezoneString } from '@dereekb/util';
|
|
2
|
+
import { type ZoomUserId } from '../zoom.type';
|
|
3
3
|
import { type ZoomUserPersonalMeetingId } from './zoom.api.user.type';
|
|
4
4
|
export type ZoomMeetingId = number;
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FetchPageFactory } from '@dereekb/util/fetch';
|
|
2
|
-
import { ZoomPageFilter, ZoomPageResult } from '../zoom.api.page';
|
|
3
|
-
import { ZoomUser, ZoomUserRoleId, ZoomUserStatus } from './zoom.api.user.type';
|
|
4
|
-
import { ZoomContext } from './zoom.config';
|
|
5
|
-
import { ZoomUserId } from '../zoom.type';
|
|
1
|
+
import { type FetchPageFactory } from '@dereekb/util/fetch';
|
|
2
|
+
import { type ZoomPageFilter, type ZoomPageResult } from '../zoom.api.page';
|
|
3
|
+
import { type ZoomUser, type ZoomUserRoleId, type ZoomUserStatus } from './zoom.api.user.type';
|
|
4
|
+
import { type ZoomContext } from './zoom.config';
|
|
5
|
+
import { type ZoomUserId } from '../zoom.type';
|
|
6
6
|
export interface GetUserInput {
|
|
7
7
|
readonly userId: ZoomUserId;
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EmailAddress, ISO8601DateStringUTCFull, TimezoneString } from '@dereekb/util';
|
|
2
|
-
import { ZoomClientVersion, ZoomUserId } from '../zoom.type';
|
|
1
|
+
import { type EmailAddress, type ISO8601DateStringUTCFull, type TimezoneString } from '@dereekb/util';
|
|
2
|
+
import { type ZoomClientVersion, type ZoomUserId } from '../zoom.type';
|
|
3
3
|
/**
|
|
4
4
|
* Represents a Zoom user, as returned by the Zoom API.
|
|
5
5
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FactoryWithInput, FactoryWithRequiredInput, Maybe } from '@dereekb/util';
|
|
2
|
-
import { ConfiguredFetch, FetchJsonFunction } from '@dereekb/util/fetch';
|
|
3
|
-
import { ZoomConfig, ZoomRefreshToken } from '../zoom.config';
|
|
4
|
-
import { ZoomRateLimiterRef } from '../zoom.limit';
|
|
5
|
-
import { ZoomAccessTokenCache, ZoomAccessTokenStringFactory } from '../oauth/oauth';
|
|
1
|
+
import { type FactoryWithInput, type FactoryWithRequiredInput, type Maybe } from '@dereekb/util';
|
|
2
|
+
import { type ConfiguredFetch, type FetchJsonFunction } from '@dereekb/util/fetch';
|
|
3
|
+
import { type ZoomConfig, type ZoomRefreshToken } from '../zoom.config';
|
|
4
|
+
import { type ZoomRateLimiterRef } from '../zoom.limit';
|
|
5
|
+
import { type ZoomAccessTokenCache, type ZoomAccessTokenStringFactory } from '../oauth/oauth';
|
|
6
6
|
export type ZoomApiKey = ZoomRefreshToken;
|
|
7
7
|
export interface ZoomFetchFactoryInput {
|
|
8
8
|
readonly zoomAccessTokenStringFactory: ZoomAccessTokenStringFactory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FetchResponseError } from '@dereekb/util/fetch';
|
|
2
|
-
import { ZoomServerErrorData, ParsedZoomServerError } from '../zoom.error.api';
|
|
1
|
+
import { type FetchResponseError } from '@dereekb/util/fetch';
|
|
2
|
+
import { type ZoomServerErrorData, type ParsedZoomServerError } from '../zoom.error.api';
|
|
3
3
|
export declare const logZoomErrorToConsole: import("../zoom.error.api").LogZoomServerErrorFunction;
|
|
4
4
|
export declare function parseZoomApiError(responseError: FetchResponseError): Promise<ParsedZoomServerError>;
|
|
5
5
|
export declare function parseZoomApiServerErrorResponseData(zoomServerError: ZoomServerErrorData, responseError: FetchResponseError): ParsedZoomServerError;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ZoomServerContextRef, ZoomFetchFactory } from './zoom.config';
|
|
2
|
-
import { LogZoomServerErrorFunction } from '../zoom.error.api';
|
|
3
|
-
import { ZoomOAuthContextRef } from '../oauth/oauth.config';
|
|
4
|
-
import { ZoomRateLimitedFetchHandlerConfig } from '../zoom.limit';
|
|
1
|
+
import { type ZoomServerContextRef, type ZoomFetchFactory } from './zoom.config';
|
|
2
|
+
import { type LogZoomServerErrorFunction } from '../zoom.error.api';
|
|
3
|
+
import { type ZoomOAuthContextRef } from '../oauth/oauth.config';
|
|
4
|
+
import { type ZoomRateLimitedFetchHandlerConfig } from '../zoom.limit';
|
|
5
5
|
import { type Maybe } from '@dereekb/util';
|
|
6
|
-
import { ZoomConfig } from '../zoom.config';
|
|
6
|
+
import { type ZoomConfig } from '../zoom.config';
|
|
7
7
|
export type Zoom = ZoomServerContextRef;
|
|
8
8
|
export interface ZoomFactoryConfig extends ZoomOAuthContextRef {
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Maybe, PageNumber } from '@dereekb/util';
|
|
2
|
-
import { FetchPageFactoryConfigDefaults } from '@dereekb/util/fetch';
|
|
1
|
+
import { type Maybe, type PageNumber } from '@dereekb/util';
|
|
2
|
+
import { type FetchPageFactoryConfigDefaults } from '@dereekb/util/fetch';
|
|
3
3
|
/**
|
|
4
4
|
* Base page filter
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayOrValue, Maybe, UnixDateTimeNumber } from '@dereekb/util';
|
|
2
|
-
import { ConfiguredFetch, FetchRequestFactoryError, FetchResponseError, MakeUrlSearchParamsOptions } from '@dereekb/util/fetch';
|
|
1
|
+
import { type ArrayOrValue, type Maybe, type UnixDateTimeNumber } from '@dereekb/util';
|
|
2
|
+
import { type ConfiguredFetch, type FetchRequestFactoryError, FetchResponseError, type MakeUrlSearchParamsOptions } from '@dereekb/util/fetch';
|
|
3
3
|
import { BaseError } from 'make-error';
|
|
4
4
|
/**
|
|
5
5
|
* A code used in some cases to denote success.
|
package/src/lib/zoom.limit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Maybe, Milliseconds, PromiseOrValue, ResetPeriodPromiseRateLimiter } from '@dereekb/util';
|
|
2
|
-
import { FetchResponseError, RateLimitedFetchHandler } from '@dereekb/util/fetch';
|
|
3
|
-
import { ZoomRateLimitHeaderDetails } from './zoom.error.api';
|
|
1
|
+
import { type Maybe, type Milliseconds, type PromiseOrValue, type ResetPeriodPromiseRateLimiter } from '@dereekb/util';
|
|
2
|
+
import { type FetchResponseError, type RateLimitedFetchHandler } from '@dereekb/util/fetch';
|
|
3
|
+
import { type ZoomRateLimitHeaderDetails } from './zoom.error.api';
|
|
4
4
|
export interface ZoomRateLimiterRef {
|
|
5
5
|
readonly zoomRateLimiter: ResetPeriodPromiseRateLimiter;
|
|
6
6
|
}
|
package/src/lib/zoom.type.d.ts
CHANGED