@dereekb/nestjs 13.43.0 → 14.0.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/eslint/index.esm.js +4 -2
- package/eslint/package.json +8 -8
- package/index.esm.js +45 -90
- package/mailgun/index.esm.js +33 -61
- package/mailgun/package.json +9 -9
- package/mailgun/src/lib/mailgun.d.ts +21 -2
- package/mailgun/src/lib/mailgun.type.d.ts +8 -2
- package/openai/index.esm.js +22 -60
- package/openai/package.json +9 -9
- package/openai/src/lib/webhook/webhook.openai.d.ts +2 -2
- package/openai/src/lib/webhook/webhook.openai.service.d.ts +1 -1
- package/openrouter/index.esm.js +19 -52
- package/openrouter/package.json +5 -5
- package/package.json +14 -14
- package/src/lib/middlewares/webhook.d.ts +1 -1
- package/stripe/index.esm.js +19 -48
- package/stripe/package.json +9 -9
- package/stripe/src/lib/index.d.ts +1 -0
- package/stripe/src/lib/stripe.api.d.ts +1 -1
- package/stripe/src/lib/stripe.config.d.ts +1 -1
- package/stripe/src/lib/stripe.type.d.ts +20 -12
- package/stripe/src/lib/webhook/webhook.stripe.d.ts +6 -6
- package/stripe/src/lib/webhook/webhook.stripe.service.d.ts +1 -1
- package/twilio/index.esm.js +51 -138
- package/twilio/package.json +8 -8
- package/typeform/index.esm.js +24 -63
- package/typeform/package.json +8 -8
- package/vapiai/index.esm.js +21 -57
- package/vapiai/package.json +9 -9
package/typeform/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/nestjs/typeform",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@dereekb/date": "
|
|
7
|
-
"@dereekb/model": "
|
|
8
|
-
"@dereekb/nestjs": "
|
|
9
|
-
"@dereekb/rxjs": "
|
|
10
|
-
"@dereekb/util": "
|
|
11
|
-
"@nestjs/common": "^
|
|
12
|
-
"@nestjs/config": "^
|
|
6
|
+
"@dereekb/date": "14.0.0",
|
|
7
|
+
"@dereekb/model": "14.0.0",
|
|
8
|
+
"@dereekb/nestjs": "14.0.0",
|
|
9
|
+
"@dereekb/rxjs": "14.0.0",
|
|
10
|
+
"@dereekb/util": "14.0.0",
|
|
11
|
+
"@nestjs/common": "^12.0.1",
|
|
12
|
+
"@nestjs/config": "^12.0.0",
|
|
13
13
|
"@typeform/api-client": "^2.10.2",
|
|
14
14
|
"express": "^5.2.1"
|
|
15
15
|
},
|
package/vapiai/index.esm.js
CHANGED
|
@@ -13,9 +13,7 @@ function _define_property$5(obj, key, value) {
|
|
|
13
13
|
configurable: true,
|
|
14
14
|
writable: true
|
|
15
15
|
});
|
|
16
|
-
} else
|
|
17
|
-
obj[key] = value;
|
|
18
|
-
}
|
|
16
|
+
} else obj[key] = value;
|
|
19
17
|
return obj;
|
|
20
18
|
}
|
|
21
19
|
function _object_spread$1(target) {
|
|
@@ -43,9 +41,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
43
41
|
}
|
|
44
42
|
function _object_spread_props(target, source) {
|
|
45
43
|
source = source != null ? source : {};
|
|
46
|
-
if (Object.getOwnPropertyDescriptors)
|
|
47
|
-
|
|
48
|
-
} else {
|
|
44
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
45
|
+
else {
|
|
49
46
|
ownKeys(Object(source)).forEach(function(key) {
|
|
50
47
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
51
48
|
});
|
|
@@ -114,11 +111,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
114
111
|
reject(error);
|
|
115
112
|
return;
|
|
116
113
|
}
|
|
117
|
-
if (info.done)
|
|
118
|
-
|
|
119
|
-
} else {
|
|
120
|
-
Promise.resolve(value).then(_next, _throw);
|
|
121
|
-
}
|
|
114
|
+
if (info.done) resolve(value);
|
|
115
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
122
116
|
}
|
|
123
117
|
function _async_to_generator$2(fn) {
|
|
124
118
|
return function() {
|
|
@@ -291,9 +285,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
291
285
|
}
|
|
292
286
|
|
|
293
287
|
function _class_call_check$6(instance, Constructor) {
|
|
294
|
-
if (!(instance instanceof Constructor))
|
|
295
|
-
throw new TypeError("Cannot call a class as a function");
|
|
296
|
-
}
|
|
288
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
297
289
|
}
|
|
298
290
|
function _defineProperties$4(target, props) {
|
|
299
291
|
for(var i = 0; i < props.length; i++){
|
|
@@ -316,9 +308,7 @@ function _define_property$4(obj, key, value) {
|
|
|
316
308
|
configurable: true,
|
|
317
309
|
writable: true
|
|
318
310
|
});
|
|
319
|
-
} else
|
|
320
|
-
obj[key] = value;
|
|
321
|
-
}
|
|
311
|
+
} else obj[key] = value;
|
|
322
312
|
return obj;
|
|
323
313
|
}
|
|
324
314
|
var VAPI_AI_WEBHOOK_SECRET_TOKEN_ENV_VAR = 'VAPI_AI_WEBHOOK_SECRET_TOKEN';
|
|
@@ -354,11 +344,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
354
344
|
reject(error);
|
|
355
345
|
return;
|
|
356
346
|
}
|
|
357
|
-
if (info.done)
|
|
358
|
-
|
|
359
|
-
} else {
|
|
360
|
-
Promise.resolve(value).then(_next, _throw);
|
|
361
|
-
}
|
|
347
|
+
if (info.done) resolve(value);
|
|
348
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
362
349
|
}
|
|
363
350
|
function _async_to_generator$1(fn) {
|
|
364
351
|
return function() {
|
|
@@ -376,9 +363,7 @@ function _async_to_generator$1(fn) {
|
|
|
376
363
|
};
|
|
377
364
|
}
|
|
378
365
|
function _class_call_check$5(instance, Constructor) {
|
|
379
|
-
if (!(instance instanceof Constructor))
|
|
380
|
-
throw new TypeError("Cannot call a class as a function");
|
|
381
|
-
}
|
|
366
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
382
367
|
}
|
|
383
368
|
function _defineProperties$3(target, props) {
|
|
384
369
|
for(var i = 0; i < props.length; i++){
|
|
@@ -401,9 +386,7 @@ function _define_property$3(obj, key, value) {
|
|
|
401
386
|
configurable: true,
|
|
402
387
|
writable: true
|
|
403
388
|
});
|
|
404
|
-
} else
|
|
405
|
-
obj[key] = value;
|
|
406
|
-
}
|
|
389
|
+
} else obj[key] = value;
|
|
407
390
|
return obj;
|
|
408
391
|
}
|
|
409
392
|
function _object_spread(target) {
|
|
@@ -622,11 +605,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
622
605
|
reject(error);
|
|
623
606
|
return;
|
|
624
607
|
}
|
|
625
|
-
if (info.done)
|
|
626
|
-
|
|
627
|
-
} else {
|
|
628
|
-
Promise.resolve(value).then(_next, _throw);
|
|
629
|
-
}
|
|
608
|
+
if (info.done) resolve(value);
|
|
609
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
630
610
|
}
|
|
631
611
|
function _async_to_generator(fn) {
|
|
632
612
|
return function() {
|
|
@@ -644,9 +624,7 @@ function _async_to_generator(fn) {
|
|
|
644
624
|
};
|
|
645
625
|
}
|
|
646
626
|
function _class_call_check$4(instance, Constructor) {
|
|
647
|
-
if (!(instance instanceof Constructor))
|
|
648
|
-
throw new TypeError("Cannot call a class as a function");
|
|
649
|
-
}
|
|
627
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
650
628
|
}
|
|
651
629
|
function _defineProperties$2(target, props) {
|
|
652
630
|
for(var i = 0; i < props.length; i++){
|
|
@@ -669,9 +647,7 @@ function _define_property$2(obj, key, value) {
|
|
|
669
647
|
configurable: true,
|
|
670
648
|
writable: true
|
|
671
649
|
});
|
|
672
|
-
} else
|
|
673
|
-
obj[key] = value;
|
|
674
|
-
}
|
|
650
|
+
} else obj[key] = value;
|
|
675
651
|
return obj;
|
|
676
652
|
}
|
|
677
653
|
function _ts_generator(thisArg, body) {
|
|
@@ -823,9 +799,7 @@ VapiAiWebhookController = __decorate([
|
|
|
823
799
|
], VapiAiWebhookController);
|
|
824
800
|
|
|
825
801
|
function _class_call_check$3(instance, Constructor) {
|
|
826
|
-
if (!(instance instanceof Constructor))
|
|
827
|
-
throw new TypeError("Cannot call a class as a function");
|
|
828
|
-
}
|
|
802
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
829
803
|
}
|
|
830
804
|
/**
|
|
831
805
|
* Factory that creates a VapiAiWebhookServiceConfig from environment variables.
|
|
@@ -878,9 +852,7 @@ VapiAiWebhookModule = __decorate([
|
|
|
878
852
|
], VapiAiWebhookModule);
|
|
879
853
|
|
|
880
854
|
function _class_call_check$2(instance, Constructor) {
|
|
881
|
-
if (!(instance instanceof Constructor))
|
|
882
|
-
throw new TypeError("Cannot call a class as a function");
|
|
883
|
-
}
|
|
855
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
884
856
|
}
|
|
885
857
|
function _defineProperties$1(target, props) {
|
|
886
858
|
for(var i = 0; i < props.length; i++){
|
|
@@ -903,9 +875,7 @@ function _define_property$1(obj, key, value) {
|
|
|
903
875
|
configurable: true,
|
|
904
876
|
writable: true
|
|
905
877
|
});
|
|
906
|
-
} else
|
|
907
|
-
obj[key] = value;
|
|
908
|
-
}
|
|
878
|
+
} else obj[key] = value;
|
|
909
879
|
return obj;
|
|
910
880
|
}
|
|
911
881
|
var VAPI_AI_SECRET_TOKEN_ENV_VAR = 'VAPI_AI_SECRET_TOKEN';
|
|
@@ -931,9 +901,7 @@ var VAPI_AI_SECRET_TOKEN_ENV_VAR = 'VAPI_AI_SECRET_TOKEN';
|
|
|
931
901
|
();
|
|
932
902
|
|
|
933
903
|
function _class_call_check$1(instance, Constructor) {
|
|
934
|
-
if (!(instance instanceof Constructor))
|
|
935
|
-
throw new TypeError("Cannot call a class as a function");
|
|
936
|
-
}
|
|
904
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
937
905
|
}
|
|
938
906
|
function _defineProperties(target, props) {
|
|
939
907
|
for(var i = 0; i < props.length; i++){
|
|
@@ -956,9 +924,7 @@ function _define_property(obj, key, value) {
|
|
|
956
924
|
configurable: true,
|
|
957
925
|
writable: true
|
|
958
926
|
});
|
|
959
|
-
} else
|
|
960
|
-
obj[key] = value;
|
|
961
|
-
}
|
|
927
|
+
} else obj[key] = value;
|
|
962
928
|
return obj;
|
|
963
929
|
}
|
|
964
930
|
var VapiAiApi = /*#__PURE__*/ function() {
|
|
@@ -993,9 +959,7 @@ VapiAiApi = __decorate([
|
|
|
993
959
|
], VapiAiApi);
|
|
994
960
|
|
|
995
961
|
function _class_call_check(instance, Constructor) {
|
|
996
|
-
if (!(instance instanceof Constructor))
|
|
997
|
-
throw new TypeError("Cannot call a class as a function");
|
|
998
|
-
}
|
|
962
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
999
963
|
}
|
|
1000
964
|
/**
|
|
1001
965
|
* Factory that creates a VapiAiServiceConfig from environment variables.
|
package/vapiai/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/nestjs/vapiai",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@dereekb/date": "
|
|
7
|
-
"@dereekb/model": "
|
|
8
|
-
"@dereekb/nestjs": "
|
|
9
|
-
"@dereekb/rxjs": "
|
|
10
|
-
"@dereekb/util": "
|
|
11
|
-
"@nestjs/common": "^
|
|
12
|
-
"@nestjs/config": "^
|
|
13
|
-
"@vapi-ai/server-sdk": "^
|
|
6
|
+
"@dereekb/date": "14.0.0",
|
|
7
|
+
"@dereekb/model": "14.0.0",
|
|
8
|
+
"@dereekb/nestjs": "14.0.0",
|
|
9
|
+
"@dereekb/rxjs": "14.0.0",
|
|
10
|
+
"@dereekb/util": "14.0.0",
|
|
11
|
+
"@nestjs/common": "^12.0.1",
|
|
12
|
+
"@nestjs/config": "^12.0.0",
|
|
13
|
+
"@vapi-ai/server-sdk": "^1.2.0",
|
|
14
14
|
"express": "^5.2.1"
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|