Skip to content

Commit

Permalink
fix: use relative paths (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot committed Sep 5, 2024
1 parent c1aee9d commit 96adde9
Show file tree
Hide file tree
Showing 25 changed files with 126 additions and 126 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down
20 changes: 10 additions & 10 deletions src/resources/data/data.ts
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
10 changes: 5 additions & 5 deletions src/resources/data/dimensions.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
8 changes: 4 additions & 4 deletions src/resources/data/errors.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
6 changes: 3 additions & 3 deletions src/resources/data/exports.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/data/filters.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/data/incidents.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/data/metrics.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
8 changes: 4 additions & 4 deletions src/resources/data/monitoring/metrics.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
8 changes: 4 additions & 4 deletions src/resources/data/monitoring/monitoring.ts
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
8 changes: 4 additions & 4 deletions src/resources/data/real-time.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/data/video-views.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/system/signing-keys.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/resources/system/system.ts
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
12 changes: 6 additions & 6 deletions src/resources/video/assets.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/video/delivery-usage.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/video/drm-configurations.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
14 changes: 7 additions & 7 deletions src/resources/video/live-streams.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
8 changes: 4 additions & 4 deletions src/resources/video/playback-ids.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/video/playback-restrictions.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
10 changes: 5 additions & 5 deletions src/resources/video/transcription-vocabularies.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
12 changes: 6 additions & 6 deletions src/resources/video/uploads.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
20 changes: 10 additions & 10 deletions src/resources/video/video.ts
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
10 changes: 5 additions & 5 deletions src/resources/video/web-inputs.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down
Loading

0 comments on commit 96adde9

Please sign in to comment.