@dereekb/zoom 13.0.7 → 13.2.0
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/index.cjs.js +5 -18
- package/nestjs/index.esm.js +5 -18
- package/nestjs/package.json +4 -4
- package/nestjs/src/lib/oauth/oauth.api.d.ts +1 -1
- package/nestjs/src/lib/oauth/oauth.service.d.ts +2 -2
- package/nestjs/src/lib/webhook/webhook.zoom.controller.d.ts +1 -1
- package/nestjs/src/lib/webhook/webhook.zoom.service.d.ts +4 -4
- package/nestjs/src/lib/zoom/zoom.api.d.ts +1 -1
- package/package.json +3 -3
package/nestjs/index.cjs.js
CHANGED
|
@@ -37,10 +37,6 @@ function __param(paramIndex, decorator) {
|
|
|
37
37
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
function __metadata(metadataKey, metadataValue) {
|
|
41
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
40
|
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
45
41
|
var e = new Error(message);
|
|
46
42
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
@@ -334,9 +330,7 @@ exports.ZoomOAuthApi = class ZoomOAuthApi {
|
|
|
334
330
|
exports.ZoomOAuthApi = __decorate([
|
|
335
331
|
common.Injectable(),
|
|
336
332
|
__param(0, common.Inject(ZoomOAuthServiceConfig)),
|
|
337
|
-
__param(1, common.Inject(exports.ZoomOAuthAccessTokenCacheService))
|
|
338
|
-
__metadata("design:paramtypes", [ZoomOAuthServiceConfig,
|
|
339
|
-
exports.ZoomOAuthAccessTokenCacheService])
|
|
333
|
+
__param(1, common.Inject(exports.ZoomOAuthAccessTokenCacheService))
|
|
340
334
|
], exports.ZoomOAuthApi);
|
|
341
335
|
|
|
342
336
|
function zoomOAuthServiceConfigFactory(configService) {
|
|
@@ -519,8 +513,7 @@ exports.ZoomWebhookService = class ZoomWebhookService {
|
|
|
519
513
|
};
|
|
520
514
|
exports.ZoomWebhookService = __decorate([
|
|
521
515
|
common.Injectable(),
|
|
522
|
-
__param(0, common.Inject(ZoomWebhookServiceConfig))
|
|
523
|
-
__metadata("design:paramtypes", [ZoomWebhookServiceConfig])
|
|
516
|
+
__param(0, common.Inject(ZoomWebhookServiceConfig))
|
|
524
517
|
], exports.ZoomWebhookService);
|
|
525
518
|
|
|
526
519
|
exports.ZoomWebhookController = class ZoomWebhookController {
|
|
@@ -543,15 +536,11 @@ __decorate([
|
|
|
543
536
|
common.Post(),
|
|
544
537
|
__param(0, common.Res()),
|
|
545
538
|
__param(1, common.Req()),
|
|
546
|
-
__param(2, nestjs.RawBody())
|
|
547
|
-
__metadata("design:type", Function),
|
|
548
|
-
__metadata("design:paramtypes", [Object, Object, Object]),
|
|
549
|
-
__metadata("design:returntype", Promise)
|
|
539
|
+
__param(2, nestjs.RawBody())
|
|
550
540
|
], exports.ZoomWebhookController.prototype, "handleZoomWebhook", null);
|
|
551
541
|
exports.ZoomWebhookController = __decorate([
|
|
552
542
|
common.Controller('/webhook/zoom'),
|
|
553
|
-
__param(0, common.Inject(exports.ZoomWebhookService))
|
|
554
|
-
__metadata("design:paramtypes", [exports.ZoomWebhookService])
|
|
543
|
+
__param(0, common.Inject(exports.ZoomWebhookService))
|
|
555
544
|
], exports.ZoomWebhookController);
|
|
556
545
|
|
|
557
546
|
function zoomWebhookServiceConfigFactory(configService) {
|
|
@@ -653,9 +642,7 @@ exports.ZoomApi = class ZoomApi {
|
|
|
653
642
|
exports.ZoomApi = __decorate([
|
|
654
643
|
common.Injectable(),
|
|
655
644
|
__param(0, common.Inject(ZoomServiceConfig)),
|
|
656
|
-
__param(1, common.Inject(exports.ZoomOAuthApi))
|
|
657
|
-
__metadata("design:paramtypes", [ZoomServiceConfig,
|
|
658
|
-
exports.ZoomOAuthApi])
|
|
645
|
+
__param(1, common.Inject(exports.ZoomOAuthApi))
|
|
659
646
|
], exports.ZoomApi);
|
|
660
647
|
class ZoomApiUserContext {
|
|
661
648
|
constructor(refreshToken) {
|
package/nestjs/index.esm.js
CHANGED
|
@@ -35,10 +35,6 @@ function __param(paramIndex, decorator) {
|
|
|
35
35
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
function __metadata(metadataKey, metadataValue) {
|
|
39
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
38
|
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
43
39
|
var e = new Error(message);
|
|
44
40
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
@@ -332,9 +328,7 @@ let ZoomOAuthApi = class ZoomOAuthApi {
|
|
|
332
328
|
ZoomOAuthApi = __decorate([
|
|
333
329
|
Injectable(),
|
|
334
330
|
__param(0, Inject(ZoomOAuthServiceConfig)),
|
|
335
|
-
__param(1, Inject(ZoomOAuthAccessTokenCacheService))
|
|
336
|
-
__metadata("design:paramtypes", [ZoomOAuthServiceConfig,
|
|
337
|
-
ZoomOAuthAccessTokenCacheService])
|
|
331
|
+
__param(1, Inject(ZoomOAuthAccessTokenCacheService))
|
|
338
332
|
], ZoomOAuthApi);
|
|
339
333
|
|
|
340
334
|
function zoomOAuthServiceConfigFactory(configService) {
|
|
@@ -517,8 +511,7 @@ let ZoomWebhookService = class ZoomWebhookService {
|
|
|
517
511
|
};
|
|
518
512
|
ZoomWebhookService = __decorate([
|
|
519
513
|
Injectable(),
|
|
520
|
-
__param(0, Inject(ZoomWebhookServiceConfig))
|
|
521
|
-
__metadata("design:paramtypes", [ZoomWebhookServiceConfig])
|
|
514
|
+
__param(0, Inject(ZoomWebhookServiceConfig))
|
|
522
515
|
], ZoomWebhookService);
|
|
523
516
|
|
|
524
517
|
let ZoomWebhookController = class ZoomWebhookController {
|
|
@@ -541,15 +534,11 @@ __decorate([
|
|
|
541
534
|
Post(),
|
|
542
535
|
__param(0, Res()),
|
|
543
536
|
__param(1, Req()),
|
|
544
|
-
__param(2, RawBody())
|
|
545
|
-
__metadata("design:type", Function),
|
|
546
|
-
__metadata("design:paramtypes", [Object, Object, Object]),
|
|
547
|
-
__metadata("design:returntype", Promise)
|
|
537
|
+
__param(2, RawBody())
|
|
548
538
|
], ZoomWebhookController.prototype, "handleZoomWebhook", null);
|
|
549
539
|
ZoomWebhookController = __decorate([
|
|
550
540
|
Controller('/webhook/zoom'),
|
|
551
|
-
__param(0, Inject(ZoomWebhookService))
|
|
552
|
-
__metadata("design:paramtypes", [ZoomWebhookService])
|
|
541
|
+
__param(0, Inject(ZoomWebhookService))
|
|
553
542
|
], ZoomWebhookController);
|
|
554
543
|
|
|
555
544
|
function zoomWebhookServiceConfigFactory(configService) {
|
|
@@ -651,9 +640,7 @@ let ZoomApi = class ZoomApi {
|
|
|
651
640
|
ZoomApi = __decorate([
|
|
652
641
|
Injectable(),
|
|
653
642
|
__param(0, Inject(ZoomServiceConfig)),
|
|
654
|
-
__param(1, Inject(ZoomOAuthApi))
|
|
655
|
-
__metadata("design:paramtypes", [ZoomServiceConfig,
|
|
656
|
-
ZoomOAuthApi])
|
|
643
|
+
__param(1, Inject(ZoomOAuthApi))
|
|
657
644
|
], ZoomApi);
|
|
658
645
|
class ZoomApiUserContext {
|
|
659
646
|
constructor(refreshToken) {
|
package/nestjs/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/zoom/nestjs",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.2.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/nestjs": "13.0
|
|
6
|
-
"@dereekb/util": "13.0
|
|
7
|
-
"@dereekb/zoom": "13.0
|
|
5
|
+
"@dereekb/nestjs": "13.2.0",
|
|
6
|
+
"@dereekb/util": "13.2.0",
|
|
7
|
+
"@dereekb/zoom": "13.2.0",
|
|
8
8
|
"@nestjs/common": "^11.0.0",
|
|
9
9
|
"@nestjs/config": "^4.0.0",
|
|
10
10
|
"express": "^5.0.0"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ZoomOAuth, ZoomOAuthContext } from '@dereekb/zoom';
|
|
1
|
+
import { type ZoomOAuth, type ZoomOAuthContext } from '@dereekb/zoom';
|
|
2
2
|
import { ZoomOAuthServiceConfig } from './oauth.config';
|
|
3
3
|
import { ZoomOAuthAccessTokenCacheService } from './oauth.service';
|
|
4
4
|
export declare class ZoomOAuthApi {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ZoomAccessToken, ZoomAccessTokenCache } from '@dereekb/zoom';
|
|
2
|
-
import { Maybe } from '@dereekb/util';
|
|
1
|
+
import { type ZoomAccessToken, type ZoomAccessTokenCache } from '@dereekb/zoom';
|
|
2
|
+
import { type Maybe } from '@dereekb/util';
|
|
3
3
|
/**
|
|
4
4
|
* Service used for retrieving ZoomAccessTokenCache for Zoom services.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RawBodyBuffer } from '@dereekb/nestjs';
|
|
2
|
-
import { Request, Response } from 'express';
|
|
2
|
+
import { type Request, type Response } from 'express';
|
|
3
3
|
import { ZoomWebhookService } from './webhook.zoom.service';
|
|
4
4
|
export declare class ZoomWebhookController {
|
|
5
5
|
readonly zoomWebhookService: ZoomWebhookService;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Request } from 'express';
|
|
2
|
-
import { Handler, Maybe } from '@dereekb/util';
|
|
1
|
+
import { type Request } from 'express';
|
|
2
|
+
import { type Handler, type Maybe } from '@dereekb/util';
|
|
3
3
|
import { ZoomWebhookServiceConfig } from './webhook.zoom.config';
|
|
4
|
-
import { UntypedZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
5
|
-
import { ZoomWebhookValidationResponse } from './webhook.zoom.validate';
|
|
4
|
+
import { type UntypedZoomWebhookEvent } from './webhook.zoom.type.common';
|
|
5
|
+
import { type ZoomWebhookValidationResponse } from './webhook.zoom.validate';
|
|
6
6
|
export interface UpdateForWebhookResponse {
|
|
7
7
|
readonly valid: boolean;
|
|
8
8
|
readonly handled: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZoomServiceConfig } from './zoom.config';
|
|
2
|
-
import { Zoom, ZoomServerContext } from '@dereekb/zoom';
|
|
2
|
+
import { type Zoom, type ZoomServerContext } from '@dereekb/zoom';
|
|
3
3
|
import { ZoomOAuthApi } from '../oauth';
|
|
4
4
|
export declare class ZoomApi {
|
|
5
5
|
readonly config: ZoomServiceConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/zoom",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.2.0",
|
|
4
4
|
"exports": {
|
|
5
5
|
"./nestjs": {
|
|
6
6
|
"module": "./nestjs/index.esm.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@dereekb/nestjs": "13.0
|
|
21
|
-
"@dereekb/util": "13.0
|
|
20
|
+
"@dereekb/nestjs": "13.2.0",
|
|
21
|
+
"@dereekb/util": "13.2.0",
|
|
22
22
|
"@nestjs/common": "^11.0.0",
|
|
23
23
|
"@nestjs/config": "^4.0.0",
|
|
24
24
|
"express": "^5.0.0",
|