From bdf252e3d72baf319c48da8a2bcda497536c151d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 14:03:21 +0000 Subject: [PATCH] fix: use relative paths (#458) --- src/index.ts | 6 +++--- src/resources/data/data.ts | 20 +++++++++---------- src/resources/data/dimensions.ts | 10 +++++----- src/resources/data/errors.ts | 8 ++++---- src/resources/data/exports.ts | 6 +++--- src/resources/data/filters.ts | 10 +++++----- src/resources/data/incidents.ts | 10 +++++----- src/resources/data/metrics.ts | 10 +++++----- src/resources/data/monitoring/metrics.ts | 8 ++++---- src/resources/data/monitoring/monitoring.ts | 8 ++++---- src/resources/data/real-time.ts | 8 ++++---- src/resources/data/video-views.ts | 10 +++++----- src/resources/system/signing-keys.ts | 10 +++++----- src/resources/system/system.ts | 4 ++-- src/resources/video/assets.ts | 12 +++++------ src/resources/video/delivery-usage.ts | 10 +++++----- src/resources/video/drm-configurations.ts | 10 +++++----- src/resources/video/live-streams.ts | 14 ++++++------- src/resources/video/playback-ids.ts | 8 ++++---- src/resources/video/playback-restrictions.ts | 10 +++++----- .../video/transcription-vocabularies.ts | 10 +++++----- src/resources/video/uploads.ts | 12 +++++------ src/resources/video/video.ts | 20 +++++++++---------- src/resources/video/web-inputs.ts | 10 +++++----- src/resources/webhooks.ts | 8 ++++---- 25 files changed, 126 insertions(+), 126 deletions(-) diff --git a/src/index.ts b/src/index.ts index 8c3a1da7..c9df99a9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,9 +4,9 @@ import * as Errors from './error'; import * as Uploads from './uploads'; import { type Agent } from './_shims/index'; import * as qs from 'qs'; -import * as Core from '@mux/mux-node/core'; -import * as Pagination from '@mux/mux-node/pagination'; -import * as API from '@mux/mux-node/resources/index'; +import * as Core from './core'; +import * as Pagination from './pagination'; +import * as API from './resources/index'; export interface ClientOptions { /** diff --git a/src/resources/data/data.ts b/src/resources/data/data.ts index 3f3b81b1..045aaad9 100644 --- a/src/resources/data/data.ts +++ b/src/resources/data/data.ts @@ -1,15 +1,15 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import * as DimensionsAPI from '@mux/mux-node/resources/data/dimensions'; -import * as ErrorsAPI from '@mux/mux-node/resources/data/errors'; -import * as ExportsAPI from '@mux/mux-node/resources/data/exports'; -import * as FiltersAPI from '@mux/mux-node/resources/data/filters'; -import * as IncidentsAPI from '@mux/mux-node/resources/data/incidents'; -import * as MetricsAPI from '@mux/mux-node/resources/data/metrics'; -import * as RealTimeAPI from '@mux/mux-node/resources/data/real-time'; -import * as VideoViewsAPI from '@mux/mux-node/resources/data/video-views'; -import * as MonitoringAPI from '@mux/mux-node/resources/data/monitoring/monitoring'; +import { APIResource } from '../../resource'; +import * as DimensionsAPI from './dimensions'; +import * as ErrorsAPI from './errors'; +import * as ExportsAPI from './exports'; +import * as FiltersAPI from './filters'; +import * as IncidentsAPI from './incidents'; +import * as MetricsAPI from './metrics'; +import * as RealTimeAPI from './real-time'; +import * as VideoViewsAPI from './video-views'; +import * as MonitoringAPI from './monitoring/monitoring'; export class Data extends APIResource { dimensions: DimensionsAPI.Dimensions = new DimensionsAPI.Dimensions(this._client); diff --git a/src/resources/data/dimensions.ts b/src/resources/data/dimensions.ts index f28fbc13..a8ab6d92 100644 --- a/src/resources/data/dimensions.ts +++ b/src/resources/data/dimensions.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as DimensionsAPI from '@mux/mux-node/resources/data/dimensions'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as DimensionsAPI from './dimensions'; +import { BasePage, type BasePageParams } from '../../pagination'; export class Dimensions extends APIResource { /** diff --git a/src/resources/data/errors.ts b/src/resources/data/errors.ts index d709ebc3..4fc62efe 100644 --- a/src/resources/data/errors.ts +++ b/src/resources/data/errors.ts @@ -1,9 +1,9 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as ErrorsAPI from '@mux/mux-node/resources/data/errors'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as ErrorsAPI from './errors'; export class Errors extends APIResource { /** diff --git a/src/resources/data/exports.ts b/src/resources/data/exports.ts index 574b8621..0377fda6 100644 --- a/src/resources/data/exports.ts +++ b/src/resources/data/exports.ts @@ -1,8 +1,8 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import * as Core from '@mux/mux-node/core'; -import * as ExportsAPI from '@mux/mux-node/resources/data/exports'; +import { APIResource } from '../../resource'; +import * as Core from '../../core'; +import * as ExportsAPI from './exports'; export class Exports extends APIResource { /** diff --git a/src/resources/data/filters.ts b/src/resources/data/filters.ts index e373c772..d996cadf 100644 --- a/src/resources/data/filters.ts +++ b/src/resources/data/filters.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as FiltersAPI from '@mux/mux-node/resources/data/filters'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as FiltersAPI from './filters'; +import { BasePage, type BasePageParams } from '../../pagination'; export class Filters extends APIResource { /** diff --git a/src/resources/data/incidents.ts b/src/resources/data/incidents.ts index 4cdf1d47..f16ca4fc 100644 --- a/src/resources/data/incidents.ts +++ b/src/resources/data/incidents.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as IncidentsAPI from '@mux/mux-node/resources/data/incidents'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as IncidentsAPI from './incidents'; +import { BasePage, type BasePageParams } from '../../pagination'; export class Incidents extends APIResource { /** diff --git a/src/resources/data/metrics.ts b/src/resources/data/metrics.ts index 5f81f50e..c2d4057a 100644 --- a/src/resources/data/metrics.ts +++ b/src/resources/data/metrics.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as MetricsAPI from '@mux/mux-node/resources/data/metrics'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as MetricsAPI from './metrics'; +import { BasePage, type BasePageParams } from '../../pagination'; export class Metrics extends APIResource { /** diff --git a/src/resources/data/monitoring/metrics.ts b/src/resources/data/monitoring/metrics.ts index 16b4f190..82c05689 100644 --- a/src/resources/data/monitoring/metrics.ts +++ b/src/resources/data/monitoring/metrics.ts @@ -1,9 +1,9 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as MetricsAPI from '@mux/mux-node/resources/data/monitoring/metrics'; +import { APIResource } from '../../../resource'; +import { isRequestOptions } from '../../../core'; +import * as Core from '../../../core'; +import * as MetricsAPI from './metrics'; export class Metrics extends APIResource { /** diff --git a/src/resources/data/monitoring/monitoring.ts b/src/resources/data/monitoring/monitoring.ts index 2b20e8b6..ab32bc49 100644 --- a/src/resources/data/monitoring/monitoring.ts +++ b/src/resources/data/monitoring/monitoring.ts @@ -1,9 +1,9 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import * as Core from '@mux/mux-node/core'; -import * as MonitoringAPI from '@mux/mux-node/resources/data/monitoring/monitoring'; -import * as MetricsAPI from '@mux/mux-node/resources/data/monitoring/metrics'; +import { APIResource } from '../../../resource'; +import * as Core from '../../../core'; +import * as MonitoringAPI from './monitoring'; +import * as MetricsAPI from './metrics'; export class Monitoring extends APIResource { metrics: MetricsAPI.Metrics = new MetricsAPI.Metrics(this._client); diff --git a/src/resources/data/real-time.ts b/src/resources/data/real-time.ts index c60097bf..e4c04e04 100644 --- a/src/resources/data/real-time.ts +++ b/src/resources/data/real-time.ts @@ -1,9 +1,9 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as RealTimeAPI from '@mux/mux-node/resources/data/real-time'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as RealTimeAPI from './real-time'; export class RealTime extends APIResource { /** diff --git a/src/resources/data/video-views.ts b/src/resources/data/video-views.ts index 85117162..47e24322 100644 --- a/src/resources/data/video-views.ts +++ b/src/resources/data/video-views.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as VideoViewsAPI from '@mux/mux-node/resources/data/video-views'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as VideoViewsAPI from './video-views'; +import { BasePage, type BasePageParams } from '../../pagination'; export class VideoViews extends APIResource { /** diff --git a/src/resources/system/signing-keys.ts b/src/resources/system/signing-keys.ts index d8da8bcf..820f2fa3 100644 --- a/src/resources/system/signing-keys.ts +++ b/src/resources/system/signing-keys.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as SigningKeysAPI from '@mux/mux-node/resources/system/signing-keys'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as SigningKeysAPI from './signing-keys'; +import { BasePage, type BasePageParams } from '../../pagination'; export class SigningKeys extends APIResource { /** diff --git a/src/resources/system/system.ts b/src/resources/system/system.ts index b13d3087..9e462133 100644 --- a/src/resources/system/system.ts +++ b/src/resources/system/system.ts @@ -1,7 +1,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import * as SigningKeysAPI from '@mux/mux-node/resources/system/signing-keys'; +import { APIResource } from '../../resource'; +import * as SigningKeysAPI from './signing-keys'; export class System extends APIResource { signingKeys: SigningKeysAPI.SigningKeys = new SigningKeysAPI.SigningKeys(this._client); diff --git a/src/resources/video/assets.ts b/src/resources/video/assets.ts index 4dc9a335..f17aaa83 100644 --- a/src/resources/video/assets.ts +++ b/src/resources/video/assets.ts @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as AssetsAPI from '@mux/mux-node/resources/video/assets'; -import * as Shared from '@mux/mux-node/resources/shared'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as AssetsAPI from './assets'; +import * as Shared from '../shared'; +import { BasePage, type BasePageParams } from '../../pagination'; export class Assets extends APIResource { /** diff --git a/src/resources/video/delivery-usage.ts b/src/resources/video/delivery-usage.ts index 3bdb2cad..ca6db45e 100644 --- a/src/resources/video/delivery-usage.ts +++ b/src/resources/video/delivery-usage.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as DeliveryUsageAPI from '@mux/mux-node/resources/video/delivery-usage'; -import { PageWithTotal, type PageWithTotalParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as DeliveryUsageAPI from './delivery-usage'; +import { PageWithTotal, type PageWithTotalParams } from '../../pagination'; export class DeliveryUsage extends APIResource { /** diff --git a/src/resources/video/drm-configurations.ts b/src/resources/video/drm-configurations.ts index df822f30..b9f93370 100644 --- a/src/resources/video/drm-configurations.ts +++ b/src/resources/video/drm-configurations.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as DRMConfigurationsAPI from '@mux/mux-node/resources/video/drm-configurations'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as DRMConfigurationsAPI from './drm-configurations'; +import { BasePage, type BasePageParams } from '../../pagination'; export class DRMConfigurations extends APIResource { /** diff --git a/src/resources/video/live-streams.ts b/src/resources/video/live-streams.ts index b17fae84..004312c8 100644 --- a/src/resources/video/live-streams.ts +++ b/src/resources/video/live-streams.ts @@ -1,12 +1,12 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as LiveStreamsAPI from '@mux/mux-node/resources/video/live-streams'; -import * as Shared from '@mux/mux-node/resources/shared'; -import * as AssetsAPI from '@mux/mux-node/resources/video/assets'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as LiveStreamsAPI from './live-streams'; +import * as Shared from '../shared'; +import * as AssetsAPI from './assets'; +import { BasePage, type BasePageParams } from '../../pagination'; export class LiveStreams extends APIResource { /** diff --git a/src/resources/video/playback-ids.ts b/src/resources/video/playback-ids.ts index 413ff002..160f6d27 100644 --- a/src/resources/video/playback-ids.ts +++ b/src/resources/video/playback-ids.ts @@ -1,9 +1,9 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import * as Core from '@mux/mux-node/core'; -import * as PlaybackIDsAPI from '@mux/mux-node/resources/video/playback-ids'; -import * as Shared from '@mux/mux-node/resources/shared'; +import { APIResource } from '../../resource'; +import * as Core from '../../core'; +import * as PlaybackIDsAPI from './playback-ids'; +import * as Shared from '../shared'; export class PlaybackIDs extends APIResource { /** diff --git a/src/resources/video/playback-restrictions.ts b/src/resources/video/playback-restrictions.ts index dd19d5f2..64352d37 100644 --- a/src/resources/video/playback-restrictions.ts +++ b/src/resources/video/playback-restrictions.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as PlaybackRestrictionsAPI from '@mux/mux-node/resources/video/playback-restrictions'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as PlaybackRestrictionsAPI from './playback-restrictions'; +import { BasePage, type BasePageParams } from '../../pagination'; export class PlaybackRestrictions extends APIResource { /** diff --git a/src/resources/video/transcription-vocabularies.ts b/src/resources/video/transcription-vocabularies.ts index 221b8ffc..37a319fa 100644 --- a/src/resources/video/transcription-vocabularies.ts +++ b/src/resources/video/transcription-vocabularies.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as TranscriptionVocabulariesAPI from '@mux/mux-node/resources/video/transcription-vocabularies'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as TranscriptionVocabulariesAPI from './transcription-vocabularies'; +import { BasePage, type BasePageParams } from '../../pagination'; export class TranscriptionVocabularies extends APIResource { /** diff --git a/src/resources/video/uploads.ts b/src/resources/video/uploads.ts index 1f30ac9b..53cdc8d0 100644 --- a/src/resources/video/uploads.ts +++ b/src/resources/video/uploads.ts @@ -1,11 +1,11 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as UploadsAPI from '@mux/mux-node/resources/video/uploads'; -import * as AssetsAPI from '@mux/mux-node/resources/video/assets'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as UploadsAPI from './uploads'; +import * as AssetsAPI from './assets'; +import { BasePage, type BasePageParams } from '../../pagination'; export class Uploads extends APIResource { /** diff --git a/src/resources/video/video.ts b/src/resources/video/video.ts index 056f5a78..3b559471 100644 --- a/src/resources/video/video.ts +++ b/src/resources/video/video.ts @@ -1,15 +1,15 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import * as AssetsAPI from '@mux/mux-node/resources/video/assets'; -import * as DeliveryUsageAPI from '@mux/mux-node/resources/video/delivery-usage'; -import * as DRMConfigurationsAPI from '@mux/mux-node/resources/video/drm-configurations'; -import * as LiveStreamsAPI from '@mux/mux-node/resources/video/live-streams'; -import * as PlaybackIDsAPI from '@mux/mux-node/resources/video/playback-ids'; -import * as PlaybackRestrictionsAPI from '@mux/mux-node/resources/video/playback-restrictions'; -import * as TranscriptionVocabulariesAPI from '@mux/mux-node/resources/video/transcription-vocabularies'; -import * as UploadsAPI from '@mux/mux-node/resources/video/uploads'; -import * as WebInputsAPI from '@mux/mux-node/resources/video/web-inputs'; +import { APIResource } from '../../resource'; +import * as AssetsAPI from './assets'; +import * as DeliveryUsageAPI from './delivery-usage'; +import * as DRMConfigurationsAPI from './drm-configurations'; +import * as LiveStreamsAPI from './live-streams'; +import * as PlaybackIDsAPI from './playback-ids'; +import * as PlaybackRestrictionsAPI from './playback-restrictions'; +import * as TranscriptionVocabulariesAPI from './transcription-vocabularies'; +import * as UploadsAPI from './uploads'; +import * as WebInputsAPI from './web-inputs'; export class Video extends APIResource { assets: AssetsAPI.Assets = new AssetsAPI.Assets(this._client); diff --git a/src/resources/video/web-inputs.ts b/src/resources/video/web-inputs.ts index 62b6124a..f3201090 100644 --- a/src/resources/video/web-inputs.ts +++ b/src/resources/video/web-inputs.ts @@ -1,10 +1,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import { isRequestOptions } from '@mux/mux-node/core'; -import * as Core from '@mux/mux-node/core'; -import * as WebInputsAPI from '@mux/mux-node/resources/video/web-inputs'; -import { BasePage, type BasePageParams } from '@mux/mux-node/pagination'; +import { APIResource } from '../../resource'; +import { isRequestOptions } from '../../core'; +import * as Core from '../../core'; +import * as WebInputsAPI from './web-inputs'; +import { BasePage, type BasePageParams } from '../../pagination'; export class WebInputs extends APIResource { /** diff --git a/src/resources/webhooks.ts b/src/resources/webhooks.ts index a34f162b..54a470ad 100644 --- a/src/resources/webhooks.ts +++ b/src/resources/webhooks.ts @@ -1,9 +1,9 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -import { APIResource } from '@mux/mux-node/resource'; -import * as AssetsAPI from '@mux/mux-node/resources/video/assets'; -import * as LiveStreamsAPI from '@mux/mux-node/resources/video/live-streams'; -import * as UploadsAPI from '@mux/mux-node/resources/video/uploads'; +import { APIResource } from '../resource'; +import * as AssetsAPI from './video/assets'; +import * as LiveStreamsAPI from './video/live-streams'; +import * as UploadsAPI from './video/uploads'; export class Webhooks extends APIResource { unwrap(body: string): UnwrapWebhookEvent {