@dereekb/calcom 13.43.0 → 14.0.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.esm.js +52 -101
- package/nestjs/index.esm.js +62 -107
- package/nestjs/package.json +8 -8
- package/package.json +7 -7
- package/src/lib/oauth/oauth.config.d.ts +0 -5
package/index.esm.js
CHANGED
|
@@ -3,9 +3,7 @@ import { MS_IN_SECOND, resetPeriodPromiseRateLimiter, MS_IN_DAY, MS_IN_MINUTE }
|
|
|
3
3
|
import { BaseError } from 'make-error';
|
|
4
4
|
|
|
5
5
|
function _assert_this_initialized$1(self) {
|
|
6
|
-
if (self === void 0)
|
|
7
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8
|
-
}
|
|
6
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9
7
|
return self;
|
|
10
8
|
}
|
|
11
9
|
function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -16,11 +14,8 @@ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
16
14
|
reject(error);
|
|
17
15
|
return;
|
|
18
16
|
}
|
|
19
|
-
if (info.done)
|
|
20
|
-
|
|
21
|
-
} else {
|
|
22
|
-
Promise.resolve(value).then(_next, _throw);
|
|
23
|
-
}
|
|
17
|
+
if (info.done) resolve(value);
|
|
18
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
24
19
|
}
|
|
25
20
|
function _async_to_generator$6(fn) {
|
|
26
21
|
return function() {
|
|
@@ -42,9 +37,7 @@ function _call_super$1(_this, derived, args) {
|
|
|
42
37
|
return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
|
|
43
38
|
}
|
|
44
39
|
function _class_call_check$1(instance, Constructor) {
|
|
45
|
-
if (!(instance instanceof Constructor))
|
|
46
|
-
throw new TypeError("Cannot call a class as a function");
|
|
47
|
-
}
|
|
40
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
48
41
|
}
|
|
49
42
|
function _defineProperties(target, props) {
|
|
50
43
|
for(var i = 0; i < props.length; i++){
|
|
@@ -67,9 +60,7 @@ function _define_property$3(obj, key, value) {
|
|
|
67
60
|
configurable: true,
|
|
68
61
|
writable: true
|
|
69
62
|
});
|
|
70
|
-
} else
|
|
71
|
-
obj[key] = value;
|
|
72
|
-
}
|
|
63
|
+
} else obj[key] = value;
|
|
73
64
|
return obj;
|
|
74
65
|
}
|
|
75
66
|
function _get_prototype_of$1(o) {
|
|
@@ -95,14 +86,18 @@ function _instanceof(left, right) {
|
|
|
95
86
|
"@swc/helpers - instanceof";
|
|
96
87
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
97
88
|
return !!right[Symbol.hasInstance](left);
|
|
98
|
-
} else
|
|
99
|
-
|
|
100
|
-
|
|
89
|
+
} else return left instanceof right;
|
|
90
|
+
}
|
|
91
|
+
function _is_native_reflect_construct$1() {
|
|
92
|
+
try {
|
|
93
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
94
|
+
} catch (_) {}
|
|
95
|
+
return (_is_native_reflect_construct$1 = function() {
|
|
96
|
+
return !!result;
|
|
97
|
+
})();
|
|
101
98
|
}
|
|
102
99
|
function _possible_constructor_return$1(self, call) {
|
|
103
|
-
if (call && (_type_of$1(call) === "object" || typeof call === "function"))
|
|
104
|
-
return call;
|
|
105
|
-
}
|
|
100
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) return call;
|
|
106
101
|
return _assert_this_initialized$1(self);
|
|
107
102
|
}
|
|
108
103
|
function _set_prototype_of$1(o, p) {
|
|
@@ -112,18 +107,6 @@ function _set_prototype_of$1(o, p) {
|
|
|
112
107
|
};
|
|
113
108
|
return _set_prototype_of$1(o, p);
|
|
114
109
|
}
|
|
115
|
-
function _type_of$1(obj) {
|
|
116
|
-
"@swc/helpers - typeof";
|
|
117
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
118
|
-
}
|
|
119
|
-
function _is_native_reflect_construct$1() {
|
|
120
|
-
try {
|
|
121
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
122
|
-
} catch (_) {}
|
|
123
|
-
return (_is_native_reflect_construct$1 = function() {
|
|
124
|
-
return !!result;
|
|
125
|
-
})();
|
|
126
|
-
}
|
|
127
110
|
function _ts_generator$6(thisArg, body) {
|
|
128
111
|
var f, y, t, _ = {
|
|
129
112
|
label: 0,
|
|
@@ -223,6 +206,10 @@ function _ts_generator$6(thisArg, body) {
|
|
|
223
206
|
};
|
|
224
207
|
}
|
|
225
208
|
}
|
|
209
|
+
function _type_of$1(obj) {
|
|
210
|
+
"@swc/helpers - typeof";
|
|
211
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
212
|
+
}
|
|
226
213
|
/**
|
|
227
214
|
* Cal.com Server Error
|
|
228
215
|
*/ var CalcomServerError = /*#__PURE__*/ function(BaseError) {
|
|
@@ -428,11 +415,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
428
415
|
reject(error);
|
|
429
416
|
return;
|
|
430
417
|
}
|
|
431
|
-
if (info.done)
|
|
432
|
-
|
|
433
|
-
} else {
|
|
434
|
-
Promise.resolve(value).then(_next, _throw);
|
|
435
|
-
}
|
|
418
|
+
if (info.done) resolve(value);
|
|
419
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
436
420
|
}
|
|
437
421
|
function _async_to_generator$5(fn) {
|
|
438
422
|
return function() {
|
|
@@ -621,9 +605,7 @@ var logCalcomErrorToConsole = logCalcomServerErrorFunction('Calcom');
|
|
|
621
605
|
var handleCalcomErrorFetch = handleCalcomErrorFetchFactory(parseCalcomApiError, logCalcomErrorToConsole);
|
|
622
606
|
|
|
623
607
|
function _assert_this_initialized(self) {
|
|
624
|
-
if (self === void 0)
|
|
625
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
626
|
-
}
|
|
608
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
627
609
|
return self;
|
|
628
610
|
}
|
|
629
611
|
function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -634,11 +616,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
634
616
|
reject(error);
|
|
635
617
|
return;
|
|
636
618
|
}
|
|
637
|
-
if (info.done)
|
|
638
|
-
|
|
639
|
-
} else {
|
|
640
|
-
Promise.resolve(value).then(_next, _throw);
|
|
641
|
-
}
|
|
619
|
+
if (info.done) resolve(value);
|
|
620
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
642
621
|
}
|
|
643
622
|
function _async_to_generator$4(fn) {
|
|
644
623
|
return function() {
|
|
@@ -660,9 +639,7 @@ function _call_super(_this, derived, args) {
|
|
|
660
639
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
661
640
|
}
|
|
662
641
|
function _class_call_check(instance, Constructor) {
|
|
663
|
-
if (!(instance instanceof Constructor))
|
|
664
|
-
throw new TypeError("Cannot call a class as a function");
|
|
665
|
-
}
|
|
642
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
666
643
|
}
|
|
667
644
|
function _define_property$2(obj, key, value) {
|
|
668
645
|
if (key in obj) {
|
|
@@ -672,9 +649,7 @@ function _define_property$2(obj, key, value) {
|
|
|
672
649
|
configurable: true,
|
|
673
650
|
writable: true
|
|
674
651
|
});
|
|
675
|
-
} else
|
|
676
|
-
obj[key] = value;
|
|
677
|
-
}
|
|
652
|
+
} else obj[key] = value;
|
|
678
653
|
return obj;
|
|
679
654
|
}
|
|
680
655
|
function _get_prototype_of(o) {
|
|
@@ -696,10 +671,16 @@ function _inherits(subClass, superClass) {
|
|
|
696
671
|
});
|
|
697
672
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
698
673
|
}
|
|
674
|
+
function _is_native_reflect_construct() {
|
|
675
|
+
try {
|
|
676
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
677
|
+
} catch (_) {}
|
|
678
|
+
return (_is_native_reflect_construct = function() {
|
|
679
|
+
return !!result;
|
|
680
|
+
})();
|
|
681
|
+
}
|
|
699
682
|
function _possible_constructor_return(self, call) {
|
|
700
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
701
|
-
return call;
|
|
702
|
-
}
|
|
683
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
703
684
|
return _assert_this_initialized(self);
|
|
704
685
|
}
|
|
705
686
|
function _set_prototype_of(o, p) {
|
|
@@ -709,18 +690,6 @@ function _set_prototype_of(o, p) {
|
|
|
709
690
|
};
|
|
710
691
|
return _set_prototype_of(o, p);
|
|
711
692
|
}
|
|
712
|
-
function _type_of(obj) {
|
|
713
|
-
"@swc/helpers - typeof";
|
|
714
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
715
|
-
}
|
|
716
|
-
function _is_native_reflect_construct() {
|
|
717
|
-
try {
|
|
718
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
719
|
-
} catch (_) {}
|
|
720
|
-
return (_is_native_reflect_construct = function() {
|
|
721
|
-
return !!result;
|
|
722
|
-
})();
|
|
723
|
-
}
|
|
724
693
|
function _ts_generator$4(thisArg, body) {
|
|
725
694
|
var f, y, t, _ = {
|
|
726
695
|
label: 0,
|
|
@@ -820,6 +789,10 @@ function _ts_generator$4(thisArg, body) {
|
|
|
820
789
|
};
|
|
821
790
|
}
|
|
822
791
|
}
|
|
792
|
+
function _type_of(obj) {
|
|
793
|
+
"@swc/helpers - typeof";
|
|
794
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
795
|
+
}
|
|
823
796
|
/**
|
|
824
797
|
* Error in the following cases:
|
|
825
798
|
* - the refresh token string is invalid
|
|
@@ -920,11 +893,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
920
893
|
reject(error);
|
|
921
894
|
return;
|
|
922
895
|
}
|
|
923
|
-
if (info.done)
|
|
924
|
-
|
|
925
|
-
} else {
|
|
926
|
-
Promise.resolve(value).then(_next, _throw);
|
|
927
|
-
}
|
|
896
|
+
if (info.done) resolve(value);
|
|
897
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
928
898
|
}
|
|
929
899
|
function _async_to_generator$3(fn) {
|
|
930
900
|
return function() {
|
|
@@ -1154,11 +1124,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1154
1124
|
reject(error);
|
|
1155
1125
|
return;
|
|
1156
1126
|
}
|
|
1157
|
-
if (info.done)
|
|
1158
|
-
|
|
1159
|
-
} else {
|
|
1160
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1161
|
-
}
|
|
1127
|
+
if (info.done) resolve(value);
|
|
1128
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1162
1129
|
}
|
|
1163
1130
|
function _async_to_generator$2(fn) {
|
|
1164
1131
|
return function() {
|
|
@@ -1401,9 +1368,7 @@ function _define_property$1(obj, key, value) {
|
|
|
1401
1368
|
configurable: true,
|
|
1402
1369
|
writable: true
|
|
1403
1370
|
});
|
|
1404
|
-
} else
|
|
1405
|
-
obj[key] = value;
|
|
1406
|
-
}
|
|
1371
|
+
} else obj[key] = value;
|
|
1407
1372
|
return obj;
|
|
1408
1373
|
}
|
|
1409
1374
|
/**
|
|
@@ -1820,11 +1785,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1820
1785
|
reject(error);
|
|
1821
1786
|
return;
|
|
1822
1787
|
}
|
|
1823
|
-
if (info.done)
|
|
1824
|
-
|
|
1825
|
-
} else {
|
|
1826
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1827
|
-
}
|
|
1788
|
+
if (info.done) resolve(value);
|
|
1789
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1828
1790
|
}
|
|
1829
1791
|
function _async_to_generator$1(fn) {
|
|
1830
1792
|
return function() {
|
|
@@ -1849,9 +1811,7 @@ function _define_property(obj, key, value) {
|
|
|
1849
1811
|
configurable: true,
|
|
1850
1812
|
writable: true
|
|
1851
1813
|
});
|
|
1852
|
-
} else
|
|
1853
|
-
obj[key] = value;
|
|
1854
|
-
}
|
|
1814
|
+
} else obj[key] = value;
|
|
1855
1815
|
return obj;
|
|
1856
1816
|
}
|
|
1857
1817
|
function _object_spread(target) {
|
|
@@ -1879,9 +1839,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1879
1839
|
}
|
|
1880
1840
|
function _object_spread_props(target, source) {
|
|
1881
1841
|
source = source != null ? source : {};
|
|
1882
|
-
if (Object.getOwnPropertyDescriptors)
|
|
1883
|
-
|
|
1884
|
-
} else {
|
|
1842
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1843
|
+
else {
|
|
1885
1844
|
ownKeys(Object(source)).forEach(function(key) {
|
|
1886
1845
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1887
1846
|
});
|
|
@@ -2335,11 +2294,6 @@ function _ts_generator$1(thisArg, body) {
|
|
|
2335
2294
|
}
|
|
2336
2295
|
return result;
|
|
2337
2296
|
}
|
|
2338
|
-
// COMPAT: Deprecated aliases
|
|
2339
|
-
/**
|
|
2340
|
-
* @deprecated use {@link CALCOM_OAUTH_API_URL} instead. This was previously used as the fetch base
|
|
2341
|
-
* URL while the endpoint path `/oauth/token` was also appended, resolving to a doubly-pathed URL.
|
|
2342
|
-
*/ var CALCOM_OAUTH_TOKEN_URL = "".concat(CALCOM_OAUTH_API_URL).concat(CALCOM_OAUTH_TOKEN_PATH);
|
|
2343
2297
|
|
|
2344
2298
|
/**
|
|
2345
2299
|
* Refreshes an access token using a refresh token. Cal.com rotates refresh tokens
|
|
@@ -2497,11 +2451,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
2497
2451
|
reject(error);
|
|
2498
2452
|
return;
|
|
2499
2453
|
}
|
|
2500
|
-
if (info.done)
|
|
2501
|
-
|
|
2502
|
-
} else {
|
|
2503
|
-
Promise.resolve(value).then(_next, _throw);
|
|
2504
|
-
}
|
|
2454
|
+
if (info.done) resolve(value);
|
|
2455
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
2505
2456
|
}
|
|
2506
2457
|
function _async_to_generator(fn) {
|
|
2507
2458
|
return function() {
|
|
@@ -2899,4 +2850,4 @@ function _ts_generator(thisArg, body) {
|
|
|
2899
2850
|
};
|
|
2900
2851
|
}
|
|
2901
2852
|
|
|
2902
|
-
export { ALL_CALCOM_OAUTH_SCOPES, ALL_CALCOM_WEBHOOK_TIME_RELATIVE_TRIGGERS, ALL_CALCOM_WEBHOOK_TIME_UNITS, ALL_CALCOM_WEBHOOK_VERSIONS, CALCOM_API_KEY_ACCESS_TOKEN_EXPIRATION, CALCOM_API_URL, CALCOM_API_VERSION_BOOKINGS, CALCOM_API_VERSION_CALENDARS, CALCOM_API_VERSION_EVENT_TYPES, CALCOM_API_VERSION_HEADER, CALCOM_API_VERSION_ME, CALCOM_API_VERSION_SCHEDULES, CALCOM_API_VERSION_SLOTS, CALCOM_OAUTH_API_URL, CALCOM_OAUTH_AUTHORIZE_RESPONSE_TYPE, CALCOM_OAUTH_AUTHORIZE_URL, CALCOM_OAUTH_INVALID_GRANT_ERROR_CODE, CALCOM_OAUTH_SCOPE_DELIMITER, CALCOM_OAUTH_TOKEN_PATH,
|
|
2853
|
+
export { ALL_CALCOM_OAUTH_SCOPES, ALL_CALCOM_WEBHOOK_TIME_RELATIVE_TRIGGERS, ALL_CALCOM_WEBHOOK_TIME_UNITS, ALL_CALCOM_WEBHOOK_VERSIONS, CALCOM_API_KEY_ACCESS_TOKEN_EXPIRATION, CALCOM_API_URL, CALCOM_API_VERSION_BOOKINGS, CALCOM_API_VERSION_CALENDARS, CALCOM_API_VERSION_EVENT_TYPES, CALCOM_API_VERSION_HEADER, CALCOM_API_VERSION_ME, CALCOM_API_VERSION_SCHEDULES, CALCOM_API_VERSION_SLOTS, CALCOM_OAUTH_API_URL, CALCOM_OAUTH_AUTHORIZE_RESPONSE_TYPE, CALCOM_OAUTH_AUTHORIZE_URL, CALCOM_OAUTH_INVALID_GRANT_ERROR_CODE, CALCOM_OAUTH_SCOPE_DELIMITER, CALCOM_OAUTH_TOKEN_PATH, CALCOM_RATE_LIMIT_LIMIT_HEADER, CALCOM_RATE_LIMIT_REMAINING_HEADER, CALCOM_RATE_LIMIT_RESET_HEADER, CALCOM_TOO_MANY_REQUESTS_HTTP_STATUS_CODE, CALCOM_WEBHOOK_TIME_UNIT_TIME_UNIT_MAP, CalcomOAuthAccessTokenError, CalcomOAuthAuthFailureError, CalcomServerError, CalcomServerFetchResponseError, CalcomTooManyRequestsError, DEFAULT_CALCOM_API_RATE_LIMIT, DEFAULT_CALCOM_API_RATE_LIMIT_RESET_PERIOD, DEFAULT_CALCOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION, calcomAccessTokenFromApiKey, calcomAccessTokenFromTokenResponse, calcomAccessTokenStringFactory, calcomApiVersionHeaders, calcomAuthCredentialFromValues, calcomCalendarsToLoadFromConnectedCalendars, calcomFactory, calcomOAuthAccessTokenFactory, calcomOAuthAuthorizeUrlFactory, calcomOAuthFactory, calcomRateLimitHeaderDetails, calcomRateLimitedFetchHandler, calcomServerErrorDataFromApiErrorResponseBody, calcomWebhookTimeOffsetFromWebhook, calcomWebhookTimeOffsetToTimeDuration, cancelBooking, createBooking, createEventType, createSchedule, createWebhook, deleteEventType, deleteSchedule, deleteWebhook, exchangeAuthorizationCode, getAvailableSlots, getBooking, getBookings, getBusyTimes, getBusyTimesForConnectedCalendars, getCalendars, getDefaultSchedule, getEventTypes, getMe, getSchedule, getSchedules, getWebhook, getWebhooks, handleCalcomErrorFetch, handleCalcomErrorFetchFactory, handleCalcomOAuthErrorFetch, isCalcomApiKeyCredential, isCalcomOAuthScope, logCalcomErrorToConsole, logCalcomOAuthErrorToConsole, logCalcomServerErrorFunction, parseCalcomApiError, parseCalcomApiServerErrorResponseData, parseCalcomOAuthError, parseCalcomOAuthServerErrorResponseData, parseCalcomServerErrorData, refreshAccessToken, updateEventType, updateSchedule, updateWebhook };
|
package/nestjs/index.esm.js
CHANGED
|
@@ -27,9 +27,7 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
function _class_call_check$8(instance, Constructor) {
|
|
30
|
-
if (!(instance instanceof Constructor))
|
|
31
|
-
throw new TypeError("Cannot call a class as a function");
|
|
32
|
-
}
|
|
30
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
33
31
|
}
|
|
34
32
|
function _defineProperties$6(target, props) {
|
|
35
33
|
for(var i = 0; i < props.length; i++){
|
|
@@ -52,9 +50,7 @@ function _define_property$8(obj, key, value) {
|
|
|
52
50
|
configurable: true,
|
|
53
51
|
writable: true
|
|
54
52
|
});
|
|
55
|
-
} else
|
|
56
|
-
obj[key] = value;
|
|
57
|
-
}
|
|
53
|
+
} else obj[key] = value;
|
|
58
54
|
return obj;
|
|
59
55
|
}
|
|
60
56
|
var CALCOM_SERVICE_NAME = 'calcom';
|
|
@@ -137,11 +133,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
137
133
|
reject(error);
|
|
138
134
|
return;
|
|
139
135
|
}
|
|
140
|
-
if (info.done)
|
|
141
|
-
|
|
142
|
-
} else {
|
|
143
|
-
Promise.resolve(value).then(_next, _throw);
|
|
144
|
-
}
|
|
136
|
+
if (info.done) resolve(value);
|
|
137
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
145
138
|
}
|
|
146
139
|
function _async_to_generator$3(fn) {
|
|
147
140
|
return function() {
|
|
@@ -159,9 +152,7 @@ function _async_to_generator$3(fn) {
|
|
|
159
152
|
};
|
|
160
153
|
}
|
|
161
154
|
function _class_call_check$7(instance, Constructor) {
|
|
162
|
-
if (!(instance instanceof Constructor))
|
|
163
|
-
throw new TypeError("Cannot call a class as a function");
|
|
164
|
-
}
|
|
155
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
165
156
|
}
|
|
166
157
|
function _define_property$7(obj, key, value) {
|
|
167
158
|
if (key in obj) {
|
|
@@ -171,21 +162,19 @@ function _define_property$7(obj, key, value) {
|
|
|
171
162
|
configurable: true,
|
|
172
163
|
writable: true
|
|
173
164
|
});
|
|
174
|
-
} else
|
|
175
|
-
obj[key] = value;
|
|
176
|
-
}
|
|
165
|
+
} else obj[key] = value;
|
|
177
166
|
return obj;
|
|
178
167
|
}
|
|
179
168
|
function _instanceof(left, right) {
|
|
180
169
|
"@swc/helpers - instanceof";
|
|
181
170
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
182
171
|
return !!right[Symbol.hasInstance](left);
|
|
183
|
-
} else
|
|
184
|
-
return left instanceof right;
|
|
185
|
-
}
|
|
172
|
+
} else return left instanceof right;
|
|
186
173
|
}
|
|
187
174
|
function _iterable_to_array$3(iter) {
|
|
188
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
175
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
176
|
+
return Array.from(iter);
|
|
177
|
+
}
|
|
189
178
|
}
|
|
190
179
|
function _iterable_to_array_limit(arr, i) {
|
|
191
180
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -212,10 +201,10 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
212
201
|
return _arr;
|
|
213
202
|
}
|
|
214
203
|
function _non_iterable_rest() {
|
|
215
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
204
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
216
205
|
}
|
|
217
206
|
function _non_iterable_spread$3() {
|
|
218
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
207
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
219
208
|
}
|
|
220
209
|
function _object_spread$2(target) {
|
|
221
210
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -242,9 +231,8 @@ function ownKeys$2(object, enumerableOnly) {
|
|
|
242
231
|
}
|
|
243
232
|
function _object_spread_props$2(target, source) {
|
|
244
233
|
source = source != null ? source : {};
|
|
245
|
-
if (Object.getOwnPropertyDescriptors)
|
|
246
|
-
|
|
247
|
-
} else {
|
|
234
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
235
|
+
else {
|
|
248
236
|
ownKeys$2(Object(source)).forEach(function(key) {
|
|
249
237
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
250
238
|
});
|
|
@@ -257,18 +245,6 @@ function _sliced_to_array(arr, i) {
|
|
|
257
245
|
function _to_consumable_array$3(arr) {
|
|
258
246
|
return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$3();
|
|
259
247
|
}
|
|
260
|
-
function _type_of(obj) {
|
|
261
|
-
"@swc/helpers - typeof";
|
|
262
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
263
|
-
}
|
|
264
|
-
function _unsupported_iterable_to_array$3(o, minLen) {
|
|
265
|
-
if (!o) return;
|
|
266
|
-
if (typeof o === "string") return _array_like_to_array$3(o, minLen);
|
|
267
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
268
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
269
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
270
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
|
|
271
|
-
}
|
|
272
248
|
function _ts_generator$3(thisArg, body) {
|
|
273
249
|
var f, y, t, _ = {
|
|
274
250
|
label: 0,
|
|
@@ -368,6 +344,18 @@ function _ts_generator$3(thisArg, body) {
|
|
|
368
344
|
};
|
|
369
345
|
}
|
|
370
346
|
}
|
|
347
|
+
function _type_of(obj) {
|
|
348
|
+
"@swc/helpers - typeof";
|
|
349
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
350
|
+
}
|
|
351
|
+
function _unsupported_iterable_to_array$3(o, minLen) {
|
|
352
|
+
if (!o) return;
|
|
353
|
+
if (typeof o === "string") return _array_like_to_array$3(o, minLen);
|
|
354
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
355
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
356
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
357
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
|
|
358
|
+
}
|
|
371
359
|
/**
|
|
372
360
|
* Service used for retrieving CalcomAccessTokenCache for Cal.com services.
|
|
373
361
|
*
|
|
@@ -785,11 +773,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
785
773
|
reject(error);
|
|
786
774
|
return;
|
|
787
775
|
}
|
|
788
|
-
if (info.done)
|
|
789
|
-
|
|
790
|
-
} else {
|
|
791
|
-
Promise.resolve(value).then(_next, _throw);
|
|
792
|
-
}
|
|
776
|
+
if (info.done) resolve(value);
|
|
777
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
793
778
|
}
|
|
794
779
|
function _async_to_generator$2(fn) {
|
|
795
780
|
return function() {
|
|
@@ -807,9 +792,7 @@ function _async_to_generator$2(fn) {
|
|
|
807
792
|
};
|
|
808
793
|
}
|
|
809
794
|
function _class_call_check$6(instance, Constructor) {
|
|
810
|
-
if (!(instance instanceof Constructor))
|
|
811
|
-
throw new TypeError("Cannot call a class as a function");
|
|
812
|
-
}
|
|
795
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
813
796
|
}
|
|
814
797
|
function _defineProperties$5(target, props) {
|
|
815
798
|
for(var i = 0; i < props.length; i++){
|
|
@@ -832,9 +815,7 @@ function _define_property$6(obj, key, value) {
|
|
|
832
815
|
configurable: true,
|
|
833
816
|
writable: true
|
|
834
817
|
});
|
|
835
|
-
} else
|
|
836
|
-
obj[key] = value;
|
|
837
|
-
}
|
|
818
|
+
} else obj[key] = value;
|
|
838
819
|
return obj;
|
|
839
820
|
}
|
|
840
821
|
function _ts_generator$2(thisArg, body) {
|
|
@@ -1083,10 +1064,12 @@ function _array_without_holes$2(arr) {
|
|
|
1083
1064
|
if (Array.isArray(arr)) return _array_like_to_array$2(arr);
|
|
1084
1065
|
}
|
|
1085
1066
|
function _iterable_to_array$2(iter) {
|
|
1086
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
1067
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
1068
|
+
return Array.from(iter);
|
|
1069
|
+
}
|
|
1087
1070
|
}
|
|
1088
1071
|
function _non_iterable_spread$2() {
|
|
1089
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
1072
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1090
1073
|
}
|
|
1091
1074
|
function _to_consumable_array$2(arr) {
|
|
1092
1075
|
return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$2();
|
|
@@ -1131,9 +1114,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
|
|
|
1131
1114
|
}
|
|
1132
1115
|
|
|
1133
1116
|
function _class_call_check$5(instance, Constructor) {
|
|
1134
|
-
if (!(instance instanceof Constructor))
|
|
1135
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1136
|
-
}
|
|
1117
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1137
1118
|
}
|
|
1138
1119
|
function _defineProperties$4(target, props) {
|
|
1139
1120
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1156,9 +1137,7 @@ function _define_property$5(obj, key, value) {
|
|
|
1156
1137
|
configurable: true,
|
|
1157
1138
|
writable: true
|
|
1158
1139
|
});
|
|
1159
|
-
} else
|
|
1160
|
-
obj[key] = value;
|
|
1161
|
-
}
|
|
1140
|
+
} else obj[key] = value;
|
|
1162
1141
|
return obj;
|
|
1163
1142
|
}
|
|
1164
1143
|
/**
|
|
@@ -1182,9 +1161,7 @@ function _define_property$5(obj, key, value) {
|
|
|
1182
1161
|
();
|
|
1183
1162
|
|
|
1184
1163
|
function _class_call_check$4(instance, Constructor) {
|
|
1185
|
-
if (!(instance instanceof Constructor))
|
|
1186
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1187
|
-
}
|
|
1164
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1188
1165
|
}
|
|
1189
1166
|
function _defineProperties$3(target, props) {
|
|
1190
1167
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1207,9 +1184,7 @@ function _define_property$4(obj, key, value) {
|
|
|
1207
1184
|
configurable: true,
|
|
1208
1185
|
writable: true
|
|
1209
1186
|
});
|
|
1210
|
-
} else
|
|
1211
|
-
obj[key] = value;
|
|
1212
|
-
}
|
|
1187
|
+
} else obj[key] = value;
|
|
1213
1188
|
return obj;
|
|
1214
1189
|
}
|
|
1215
1190
|
function _object_spread$1(target) {
|
|
@@ -1237,9 +1212,8 @@ function ownKeys$1(object, enumerableOnly) {
|
|
|
1237
1212
|
}
|
|
1238
1213
|
function _object_spread_props$1(target, source) {
|
|
1239
1214
|
source = source != null ? source : {};
|
|
1240
|
-
if (Object.getOwnPropertyDescriptors)
|
|
1241
|
-
|
|
1242
|
-
} else {
|
|
1215
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1216
|
+
else {
|
|
1243
1217
|
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1244
1218
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1245
1219
|
});
|
|
@@ -1609,10 +1583,12 @@ function _array_without_holes$1(arr) {
|
|
|
1609
1583
|
if (Array.isArray(arr)) return _array_like_to_array$1(arr);
|
|
1610
1584
|
}
|
|
1611
1585
|
function _iterable_to_array$1(iter) {
|
|
1612
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
1586
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
1587
|
+
return Array.from(iter);
|
|
1588
|
+
}
|
|
1613
1589
|
}
|
|
1614
1590
|
function _non_iterable_spread$1() {
|
|
1615
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
1591
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1616
1592
|
}
|
|
1617
1593
|
function _to_consumable_array$1(arr) {
|
|
1618
1594
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
|
@@ -1681,9 +1657,7 @@ function _define_property$3(obj, key, value) {
|
|
|
1681
1657
|
configurable: true,
|
|
1682
1658
|
writable: true
|
|
1683
1659
|
});
|
|
1684
|
-
} else
|
|
1685
|
-
obj[key] = value;
|
|
1686
|
-
}
|
|
1660
|
+
} else obj[key] = value;
|
|
1687
1661
|
return obj;
|
|
1688
1662
|
}
|
|
1689
1663
|
function _object_spread(target) {
|
|
@@ -1711,9 +1685,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1711
1685
|
}
|
|
1712
1686
|
function _object_spread_props(target, source) {
|
|
1713
1687
|
source = source != null ? source : {};
|
|
1714
|
-
if (Object.getOwnPropertyDescriptors)
|
|
1715
|
-
|
|
1716
|
-
} else {
|
|
1688
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1689
|
+
else {
|
|
1717
1690
|
ownKeys(Object(source)).forEach(function(key) {
|
|
1718
1691
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1719
1692
|
});
|
|
@@ -1748,9 +1721,7 @@ var calcomEventHandlerConfigurerFactory = handlerConfigurerFactory({
|
|
|
1748
1721
|
});
|
|
1749
1722
|
|
|
1750
1723
|
function _class_call_check$3(instance, Constructor) {
|
|
1751
|
-
if (!(instance instanceof Constructor))
|
|
1752
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1753
|
-
}
|
|
1724
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1754
1725
|
}
|
|
1755
1726
|
function _defineProperties$2(target, props) {
|
|
1756
1727
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1773,9 +1744,7 @@ function _define_property$2(obj, key, value) {
|
|
|
1773
1744
|
configurable: true,
|
|
1774
1745
|
writable: true
|
|
1775
1746
|
});
|
|
1776
|
-
} else
|
|
1777
|
-
obj[key] = value;
|
|
1778
|
-
}
|
|
1747
|
+
} else obj[key] = value;
|
|
1779
1748
|
return obj;
|
|
1780
1749
|
}
|
|
1781
1750
|
var CALCOM_WEBHOOK_SECRET_CONFIG_KEY = 'CALCOM_WEBHOOK_SECRET';
|
|
@@ -1838,11 +1807,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
1838
1807
|
reject(error);
|
|
1839
1808
|
return;
|
|
1840
1809
|
}
|
|
1841
|
-
if (info.done)
|
|
1842
|
-
|
|
1843
|
-
} else {
|
|
1844
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1845
|
-
}
|
|
1810
|
+
if (info.done) resolve(value);
|
|
1811
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1846
1812
|
}
|
|
1847
1813
|
function _async_to_generator$1(fn) {
|
|
1848
1814
|
return function() {
|
|
@@ -1860,9 +1826,7 @@ function _async_to_generator$1(fn) {
|
|
|
1860
1826
|
};
|
|
1861
1827
|
}
|
|
1862
1828
|
function _class_call_check$2(instance, Constructor) {
|
|
1863
|
-
if (!(instance instanceof Constructor))
|
|
1864
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1865
|
-
}
|
|
1829
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1866
1830
|
}
|
|
1867
1831
|
function _defineProperties$1(target, props) {
|
|
1868
1832
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1885,9 +1849,7 @@ function _define_property$1(obj, key, value) {
|
|
|
1885
1849
|
configurable: true,
|
|
1886
1850
|
writable: true
|
|
1887
1851
|
});
|
|
1888
|
-
} else
|
|
1889
|
-
obj[key] = value;
|
|
1890
|
-
}
|
|
1852
|
+
} else obj[key] = value;
|
|
1891
1853
|
return obj;
|
|
1892
1854
|
}
|
|
1893
1855
|
function _ts_generator$1(thisArg, body) {
|
|
@@ -2086,11 +2048,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
2086
2048
|
reject(error);
|
|
2087
2049
|
return;
|
|
2088
2050
|
}
|
|
2089
|
-
if (info.done)
|
|
2090
|
-
|
|
2091
|
-
} else {
|
|
2092
|
-
Promise.resolve(value).then(_next, _throw);
|
|
2093
|
-
}
|
|
2051
|
+
if (info.done) resolve(value);
|
|
2052
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
2094
2053
|
}
|
|
2095
2054
|
function _async_to_generator(fn) {
|
|
2096
2055
|
return function() {
|
|
@@ -2108,9 +2067,7 @@ function _async_to_generator(fn) {
|
|
|
2108
2067
|
};
|
|
2109
2068
|
}
|
|
2110
2069
|
function _class_call_check$1(instance, Constructor) {
|
|
2111
|
-
if (!(instance instanceof Constructor))
|
|
2112
|
-
throw new TypeError("Cannot call a class as a function");
|
|
2113
|
-
}
|
|
2070
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
2114
2071
|
}
|
|
2115
2072
|
function _defineProperties(target, props) {
|
|
2116
2073
|
for(var i = 0; i < props.length; i++){
|
|
@@ -2133,9 +2090,7 @@ function _define_property(obj, key, value) {
|
|
|
2133
2090
|
configurable: true,
|
|
2134
2091
|
writable: true
|
|
2135
2092
|
});
|
|
2136
|
-
} else
|
|
2137
|
-
obj[key] = value;
|
|
2138
|
-
}
|
|
2093
|
+
} else obj[key] = value;
|
|
2139
2094
|
return obj;
|
|
2140
2095
|
}
|
|
2141
2096
|
function _ts_generator(thisArg, body) {
|
|
@@ -2291,15 +2246,15 @@ function _array_without_holes(arr) {
|
|
|
2291
2246
|
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
2292
2247
|
}
|
|
2293
2248
|
function _class_call_check(instance, Constructor) {
|
|
2294
|
-
if (!(instance instanceof Constructor))
|
|
2295
|
-
throw new TypeError("Cannot call a class as a function");
|
|
2296
|
-
}
|
|
2249
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
2297
2250
|
}
|
|
2298
2251
|
function _iterable_to_array(iter) {
|
|
2299
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
2252
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
2253
|
+
return Array.from(iter);
|
|
2254
|
+
}
|
|
2300
2255
|
}
|
|
2301
2256
|
function _non_iterable_spread() {
|
|
2302
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
2257
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2303
2258
|
}
|
|
2304
2259
|
function _to_consumable_array(arr) {
|
|
2305
2260
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
package/nestjs/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/calcom/nestjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@dereekb/nestjs": "
|
|
7
|
-
"@dereekb/rxjs": "
|
|
8
|
-
"@dereekb/util": "
|
|
9
|
-
"@dereekb/calcom": "
|
|
10
|
-
"@nestjs/common": "^
|
|
11
|
-
"@nestjs/config": "^
|
|
6
|
+
"@dereekb/nestjs": "14.0.1",
|
|
7
|
+
"@dereekb/rxjs": "14.0.1",
|
|
8
|
+
"@dereekb/util": "14.0.1",
|
|
9
|
+
"@dereekb/calcom": "14.0.1",
|
|
10
|
+
"@nestjs/common": "^12.0.1",
|
|
11
|
+
"@nestjs/config": "^12.0.0",
|
|
12
12
|
"express": "^5.2.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@nestjs/testing": "^
|
|
15
|
+
"@nestjs/testing": "^12.0.1",
|
|
16
16
|
"date-fns": "^4.1.0"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/calcom",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./nestjs": {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@dereekb/nestjs": "
|
|
20
|
-
"@dereekb/rxjs": "
|
|
21
|
-
"@dereekb/util": "
|
|
22
|
-
"@nestjs/common": "^
|
|
23
|
-
"@nestjs/config": "^
|
|
19
|
+
"@dereekb/nestjs": "14.0.1",
|
|
20
|
+
"@dereekb/rxjs": "14.0.1",
|
|
21
|
+
"@dereekb/util": "14.0.1",
|
|
22
|
+
"@nestjs/common": "^12.0.1",
|
|
23
|
+
"@nestjs/config": "^12.0.0",
|
|
24
24
|
"express": "^5.2.1",
|
|
25
25
|
"make-error": "^1.3.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@nestjs/testing": "^
|
|
28
|
+
"@nestjs/testing": "^12.0.1",
|
|
29
29
|
"date-fns": "^4.1.0"
|
|
30
30
|
},
|
|
31
31
|
"module": "./index.esm.js",
|
|
@@ -141,8 +141,3 @@ export interface CalcomOAuthContext {
|
|
|
141
141
|
export interface CalcomOAuthContextRef {
|
|
142
142
|
readonly oauthContext: CalcomOAuthContext;
|
|
143
143
|
}
|
|
144
|
-
/**
|
|
145
|
-
* @deprecated use {@link CALCOM_OAUTH_API_URL} instead. This was previously used as the fetch base
|
|
146
|
-
* URL while the endpoint path `/oauth/token` was also appended, resolving to a doubly-pathed URL.
|
|
147
|
-
*/
|
|
148
|
-
export declare const CALCOM_OAUTH_TOKEN_URL = "https://api.cal.com/v2/auth/oauth2/token";
|