@dereekb/zoom 13.4.1 → 13.4.2

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 CHANGED
@@ -59,7 +59,6 @@ function _object_spread_props(target, source) {
59
59
  * @param dataTypeKey
60
60
  * @returns
61
61
  */ function mapToZoomPageResult(dataTypeKey) {
62
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
63
62
  return function(data) {
64
63
  var next_page_token = data.next_page_token, page_count = data.page_count, page_number = data.page_number, page_size = data.page_size, total_records = data.total_records;
65
64
  return {
@@ -75,11 +74,10 @@ function _object_spread_props(target, source) {
75
74
  /**
76
75
  * Creates a FetchPageFactory using the input ZoomFetchPageFetchFunction.
77
76
  *
78
- * @param fetch
79
- * @param defaults
80
- * @returns
81
- */ // eslint-disable-next-line @typescript-eslint/no-explicit-any
82
- function zoomFetchPageFactory(fetch$1, defaults) {
77
+ * @param fetch - function that fetches a single page of results from the Zoom API
78
+ * @param defaults - optional default pagination configuration
79
+ * @returns a configured FetchPageFactory that handles Zoom's cursor-based pagination using `next_page_token`
80
+ */ function zoomFetchPageFactory(fetch$1, defaults) {
83
81
  return fetch.fetchPageFactory(_object_spread_props(_object_spread({}, defaults), {
84
82
  fetch: fetch$1,
85
83
  readFetchPageResultInfo: function readFetchPageResultInfo(result) {
package/index.esm.js CHANGED
@@ -57,7 +57,6 @@ function _object_spread_props(target, source) {
57
57
  * @param dataTypeKey
58
58
  * @returns
59
59
  */ function mapToZoomPageResult(dataTypeKey) {
60
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
61
60
  return function(data) {
62
61
  var next_page_token = data.next_page_token, page_count = data.page_count, page_number = data.page_number, page_size = data.page_size, total_records = data.total_records;
63
62
  return {
@@ -73,11 +72,10 @@ function _object_spread_props(target, source) {
73
72
  /**
74
73
  * Creates a FetchPageFactory using the input ZoomFetchPageFetchFunction.
75
74
  *
76
- * @param fetch
77
- * @param defaults
78
- * @returns
79
- */ // eslint-disable-next-line @typescript-eslint/no-explicit-any
80
- function zoomFetchPageFactory(fetch, defaults) {
75
+ * @param fetch - function that fetches a single page of results from the Zoom API
76
+ * @param defaults - optional default pagination configuration
77
+ * @returns a configured FetchPageFactory that handles Zoom's cursor-based pagination using `next_page_token`
78
+ */ function zoomFetchPageFactory(fetch, defaults) {
81
79
  return fetchPageFactory(_object_spread_props(_object_spread({}, defaults), {
82
80
  fetch: fetch,
83
81
  readFetchPageResultInfo: function readFetchPageResultInfo(result) {
@@ -74,7 +74,6 @@ function _define_property$8(obj, key, value) {
74
74
  value: function assertValidConfig(config) {
75
75
  var zoomOAuth = config.zoomOAuth;
76
76
  if (!zoomOAuth) {
77
- // eslint-disable-line @typescript-eslint/no-unnecessary-condition -- runtime validation
78
77
  throw new Error('ZoomOAuthServiceConfig.zoomOAuth is required');
79
78
  }
80
79
  {
@@ -973,7 +972,6 @@ var zoomEventHandlerFactory = util.handlerFactory(function(x) {
973
972
  });
974
973
  var zoomEventHandlerConfigurerFactory = util.handlerConfigurerFactory({
975
974
  configurerForAccessor: function configurerForAccessor(accessor) {
976
- // eslint-disable-next-line
977
975
  var fnWithKey = util.handlerMappedSetFunctionFactory(accessor, zoomWebhookEvent);
978
976
  var configurer = _object_spread_props$1(_object_spread$1({}, accessor), {
979
977
  // Meetings
@@ -72,7 +72,6 @@ function _define_property$8(obj, key, value) {
72
72
  value: function assertValidConfig(config) {
73
73
  var zoomOAuth = config.zoomOAuth;
74
74
  if (!zoomOAuth) {
75
- // eslint-disable-line @typescript-eslint/no-unnecessary-condition -- runtime validation
76
75
  throw new Error('ZoomOAuthServiceConfig.zoomOAuth is required');
77
76
  }
78
77
  {
@@ -971,7 +970,6 @@ var zoomEventHandlerFactory = handlerFactory(function(x) {
971
970
  });
972
971
  var zoomEventHandlerConfigurerFactory = handlerConfigurerFactory({
973
972
  configurerForAccessor: function configurerForAccessor(accessor) {
974
- // eslint-disable-next-line
975
973
  var fnWithKey = handlerMappedSetFunctionFactory(accessor, zoomWebhookEvent);
976
974
  var configurer = _object_spread_props$1(_object_spread$1({}, accessor), {
977
975
  // Meetings
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dereekb/zoom/nestjs",
3
- "version": "13.4.1",
3
+ "version": "13.4.2",
4
4
  "peerDependencies": {
5
- "@dereekb/nestjs": "13.4.1",
6
- "@dereekb/util": "13.4.1",
7
- "@dereekb/zoom": "13.4.1",
5
+ "@dereekb/nestjs": "13.4.2",
6
+ "@dereekb/util": "13.4.2",
7
+ "@dereekb/zoom": "13.4.2",
8
8
  "@nestjs/common": "^11.1.16",
9
9
  "@nestjs/config": "^4.0.3",
10
10
  "express": "^5.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoom",
3
- "version": "13.4.1",
3
+ "version": "13.4.2",
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.4.1",
21
- "@dereekb/util": "13.4.1",
20
+ "@dereekb/nestjs": "13.4.2",
21
+ "@dereekb/util": "13.4.2",
22
22
  "@nestjs/common": "^11.1.16",
23
23
  "@nestjs/config": "^4.0.3",
24
24
  "express": "^5.0.0",
@@ -66,8 +66,8 @@ export type ZoomFetchPageFetchFunction<I extends ZoomPageFilter, R extends ZoomP
66
66
  /**
67
67
  * Creates a FetchPageFactory using the input ZoomFetchPageFetchFunction.
68
68
  *
69
- * @param fetch
70
- * @param defaults
71
- * @returns
69
+ * @param fetch - function that fetches a single page of results from the Zoom API
70
+ * @param defaults - optional default pagination configuration
71
+ * @returns a configured FetchPageFactory that handles Zoom's cursor-based pagination using `next_page_token`
72
72
  */
73
73
  export declare function zoomFetchPageFactory<I extends ZoomPageFilter, R extends ZoomPageResult<any>>(fetch: ZoomFetchPageFetchFunction<I, R>, defaults?: Maybe<FetchPageFactoryConfigDefaults>): import("@dereekb/util/fetch").FetchPageFactory<I, R>;