@fastpix/fastpix-node 2.0.1 → 2.0.3

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.
Files changed (41) hide show
  1. package/LICENSE +21 -201
  2. package/README.md +273 -155
  3. package/dist/commonjs/funcs/signingKeysGetSigningKeyById.d.ts +2 -2
  4. package/dist/commonjs/funcs/signingKeysGetSigningKeyById.js +2 -2
  5. package/dist/commonjs/models/operations/getdrmconfiguration.d.ts +2 -2
  6. package/dist/commonjs/models/operations/getdrmconfiguration.d.ts.map +1 -1
  7. package/dist/commonjs/models/operations/getdrmconfiguration.js +2 -2
  8. package/dist/commonjs/models/operations/getdrmconfiguration.js.map +1 -1
  9. package/dist/commonjs/sdk/signingkeys.d.ts +2 -2
  10. package/dist/commonjs/sdk/signingkeys.js +2 -2
  11. package/dist/esm/funcs/signingKeysGetSigningKeyById.d.ts +2 -2
  12. package/dist/esm/funcs/signingKeysGetSigningKeyById.js +2 -2
  13. package/dist/esm/models/operations/getdrmconfiguration.d.ts +2 -2
  14. package/dist/esm/models/operations/getdrmconfiguration.d.ts.map +1 -1
  15. package/dist/esm/models/operations/getdrmconfiguration.js +2 -2
  16. package/dist/esm/models/operations/getdrmconfiguration.js.map +1 -1
  17. package/dist/esm/sdk/signingkeys.d.ts +2 -2
  18. package/dist/esm/sdk/signingkeys.js +2 -2
  19. package/package.json +2 -2
  20. package/samples/ai/ai-features.ts +194 -0
  21. package/samples/analytics/dimensions.ts +113 -0
  22. package/samples/analytics/errors.ts +133 -0
  23. package/samples/analytics/metrics.ts +117 -0
  24. package/samples/analytics/views.ts +120 -0
  25. package/samples/common/config.ts +84 -0
  26. package/samples/common/setup.ts +42 -0
  27. package/samples/comprehensive-example.ts +267 -0
  28. package/samples/index.ts +224 -0
  29. package/samples/live/live-playback.ts +104 -0
  30. package/samples/live/manage-live-stream.ts +176 -0
  31. package/samples/live/start-live-stream.ts +91 -0
  32. package/samples/media/input-video.ts +65 -0
  33. package/samples/media/manage-videos.ts +166 -0
  34. package/samples/media/playback.ts +89 -0
  35. package/samples/media/playlist.ts +201 -0
  36. package/samples/package.json +51 -0
  37. package/samples/security/drm-configurations.ts +125 -0
  38. package/samples/security/signing-keys.ts +154 -0
  39. package/src/funcs/signingKeysGetSigningKeyById.ts +2 -2
  40. package/src/models/operations/getdrmconfiguration.ts +4 -4
  41. package/src/sdk/signingkeys.ts +2 -2
package/README.md CHANGED
@@ -1,53 +1,81 @@
1
- # FastPix Typescript SDK
1
+ # FastPix Node.js SDK
2
2
 
3
- Type-safe and developer-friendly TypeScript SDK for integration with the FastPix platform API.
3
+ A robust, type-safe Node.js SDK designed for seamless integration with the FastPix API platform.
4
4
 
5
- # Introduction
5
+ <!-- Start Summary [summary] -->
6
+ ## Introduction
6
7
 
7
- The FastPix TypeScript SDK simplifies integration with the FastPix platform. It provides a type-safe and developer-friendly interface for secure and efficient communication with the FastPix API, enabling easy management of media uploads, live streaming, on-demand content, playlists, video analytics, and signing keys for secure access and token management. It is intended for use with Node.js (version >= 18)
8
+ The FastPix Node.js SDK simplifies integration with the FastPix platform. It provides a clean, TypeScript interface for secure and efficient communication with the FastPix API, enabling easy management of media uploads, live streaming, ondemand content, playlists, video analytics, and signing keys for secure access and token management. It is intended for use with Node.js 18 and above.
8
9
 
9
- # Key Features
10
+ ## Prerequisites
10
11
 
11
- ## Media API
12
- - **Upload Media**: Seamlessly upload media files from URLs or local devices.
13
- - **Manage Media**: List, fetch, update, and delete media assets with ease.
14
- - **Playback IDs**: Generate and manage playback IDs for secure and flexible media access.
15
- - **Advanced Media Tools**: Generate video summaries, chapters, named entities, subtitles, and perform content moderation.
16
- - **Playlist Management**: Create and manage playlists, add or remove media, and adjust playback order.
17
- - **DRM Support**: Configure and manage DRM settings for protected content.
12
+ ### Environment and Version Support
18
13
 
19
- ## Live API
20
- - **Create & Manage Live Streams**: Effortlessly create, list, update, and delete live streams.
21
- - **Control Stream Access**: Generate playback IDs to manage viewer access securely.
22
- - **Stream Management**: Enable, disable, or complete streams with fine-grained control.
23
- - **Simulcast to Multiple Platforms**: Broadcast live content to multiple platforms simultaneously.
14
+ <table>
15
+ <tr>
16
+ <th>Requirement</th>
17
+ <th>Version</th>
18
+ <th>Description</th>
19
+ </tr>
20
+ <tr>
21
+ <td><strong>Node.js</strong></td>
22
+ <td><code>18+</code></td>
23
+ <td>Core runtime environment</td>
24
+ </tr>
25
+ <tr>
26
+ <td><strong>npm/yarn/pnpm</strong></td>
27
+ <td><code>Latest</code></td>
28
+ <td>Package manager for dependencies</td>
29
+ </tr>
30
+ <tr>
31
+ <td><strong>Internet</strong></td>
32
+ <td><code>Required</code></td>
33
+ <td>API communication and authentication</td>
34
+ </tr>
35
+ </table>
24
36
 
25
- ## Signing Keys
26
- - **Create Signing Keys**: Generate signing keys for secure token-based access.
27
- - **List & Retrieve Keys**: Fetch all keys or get details for a specific key.
28
- - **Manage Keys**: Delete or revoke signing keys to maintain secure access control.
37
+ > **Pro Tip:** We recommend using Node.js 20+ for optimal performance and the latest language features.
29
38
 
30
- ## Video Data API
31
- - **View Analytics**: List video views, get detailed view information, and track top-performing content.
32
- - **Concurrent Viewer Insights**: Access timeseries data for live and on-demand streams.
33
- - **Custom Reporting**: Filter viewers by dimensions, list breakdowns, and compare metrics across datasets.
34
- - **Error Tracking & Diagnostics**: Retrieve logs and analyze errors for proactive monitoring.
39
+ ### Getting Started with FastPix
35
40
 
36
- For detailed usage, refer to the [FastPix API Reference](https://docs.fastpix.io/reference/signingkeys-overview).
41
+ To get started with the **FastPix Node.js SDK**, ensure you have the following:
37
42
 
38
- # Prerequisites:
43
+ - The FastPix APIs are authenticated using a **Username** and a **Password**. You must generate these credentials to use the SDK.
39
44
 
40
- ## Getting started with FastPix:
45
+ - Follow the steps in the [Authentication with Basic Auth](https://docs.fastpix.io/docs/basic-authentication) guide to obtain your credentials.
41
46
 
42
- To get started with the **FastPix Node SDK**, ensure you have the following:
47
+ ### Environment Variables (Optional)
43
48
 
44
- - The FastPix APIs are authenticated using an **Access Token** and a **Secret Key**. You must generate these credentials to use the SDK.
49
+ Configure your FastPix credentials using environment variables for enhanced security and convenience:
45
50
 
46
- - Follow the steps in the [Authentication with Access Tokens](https://docs.fastpix.io/docs/basic-authentication) guide to obtain your credentials.
51
+ ```bash
52
+ # Set your FastPix credentials
53
+ export FASTPIX_USERNAME="your-access-token"
54
+ export FASTPIX_PASSWORD="your-secret-key"
55
+ ```
56
+
57
+ > **Security Note:** Never commit your credentials to version control. Use environment variables or secure credential management systems.
58
+
59
+ <!-- Start Table of Contents [toc] -->
60
+ ## Table of Contents
61
+ <!-- $toc-max-depth=2 -->
62
+ * [Fastpix Node.js SDK](#fastpix-nodejs-sdk)
63
+ * [Setup](#setup)
64
+ * [Example Usage](#example-usage)
65
+ * [Available Resources and Operations](#available-resources-and-operations)
66
+ * [Retries](#retries)
67
+ * [Error Handling](#error-handling)
68
+ * [Server Selection](#server-selection)
69
+ * [Development](#development)
70
+
71
+ <!-- End Table of Contents [toc] -->
72
+
73
+ <!-- Start Setup [setup] -->
74
+ ## Setup
47
75
 
48
- # Installation:
76
+ ### Installation
49
77
 
50
- You can install the FastPix TypeScript SDK using your preferred Node.js package manager:
78
+ Install the FastPix Node.js SDK using your preferred package manager:
51
79
 
52
80
  ```bash
53
81
  npm install @fastpix/fastpix-node
@@ -70,24 +98,64 @@ bun add @fastpix/fastpix-node
70
98
  ```bash
71
99
  yarn add @fastpix/fastpix-node
72
100
  ```
101
+ ### Imports
73
102
 
74
- ## Requirements
103
+ This SDK supports both **ES modules** and **CommonJS**. Examples in this documentation use ES module syntax as it's the preferred format, but you can use either approach.
75
104
 
76
- For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
77
- This package is published with CommonJS and ES Modules (ESM) support.
105
+ #### ES Modules (Recommended)
106
+ ```typescript
107
+ // Basic imports
108
+ import { Fastpix } from "@fastpix/fastpix-node";
109
+ import type { CreateMediaRequest } from "@fastpix/fastpix-node/models/operations";
110
+ ```
78
111
 
79
- ## Table of Contents
80
- * [SDK Example Usage](#sdk-example-usage)
81
- * [Available Resources and Operations](#available-resources-and-operations)
82
- * [Retries](#retries)
83
- * [Error Handling](#error-handling)
84
- * [Server Selection](#server-selection)
85
- * [Custom HTTP Client](#custom-http-client)
86
- * [Debugging](#debugging)
87
- * [Detailed Usage](#detailed-usage)
88
- * [Support](#support)
112
+ #### CommonJS
113
+ ```javascript
114
+ // CommonJS require syntax
115
+ const { Fastpix } = require("@fastpix/fastpix-node");
116
+ ```
117
+
118
+ > **Why ES Modules?** ES modules provide better tree-shaking, static analysis, and are the modern JavaScript standard. They enable smaller bundle sizes and better development tooling support.
119
+
120
+ > **Note:** This SDK automatically provides both module formats. If you encounter import errors in your project, you may need to add `"type": "module"` to your `package.json` file to enable ES modules support.
121
+
122
+ > **Security Note:** For production applications, it's recommended to make API calls from your backend server rather than directly from the browser to:
123
+ > - Keep credentials secure
124
+ > - Avoid CORS issues
125
+ > - Implement proper authentication.
126
+
127
+ ### Initialization
128
+
129
+ Initialize the FastPix SDK with your credentials:
130
+
131
+ ```typescript
132
+ import { Fastpix } from "@fastpix/fastpix-node";
133
+
134
+ const fastpix = new Fastpix({
135
+ security: {
136
+ username: "your-access-token",
137
+ password: "your-secret-key",
138
+ },
139
+ });
140
+ ```
141
+
142
+ Or using environment variables:
143
+
144
+ ```typescript
145
+ import { Fastpix } from "@fastpix/fastpix-node";
146
+
147
+ const fastpix = new Fastpix({
148
+ security: {
149
+ username: process.env.FASTPIX_USERNAME,
150
+ password: process.env.FASTPIX_PASSWORD,
151
+ },
152
+ });
153
+ ```
154
+
155
+ <!-- End Setup [setup] -->
89
156
 
90
- ## SDK Example Usage
157
+ <!-- Start Example Usage [example-usage] -->
158
+ ## Example Usage
91
159
 
92
160
  ### Example
93
161
 
@@ -97,7 +165,7 @@ import { Fastpix } from "@fastpix/fastpix-node";
97
165
  const fastpix = new Fastpix({
98
166
  security: {
99
167
  username: "your-access-token",
100
- password: "secret-key",
168
+ password: "your-secret-key",
101
169
  },
102
170
  });
103
171
 
@@ -115,135 +183,199 @@ async function run() {
115
183
  accessPolicy: "public",
116
184
  });
117
185
 
118
- console.log(result);
186
+ // handle response
187
+ console.log(result);
188
+
119
189
  }
120
190
 
121
191
  run();
122
-
123
192
  ```
193
+ <!-- End Example Usage [example-usage] -->
124
194
 
195
+ <!-- Start Available Resources and Operations [operations] -->
125
196
  ## Available Resources and Operations
126
197
 
127
- <details open>
128
- <summary>Available methods</summary>
198
+ Comprehensive Node.js SDK for FastPix platform integration with full API coverage.
129
199
 
130
- ### [dimensions](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/dimensions/README.md)
200
+ ### Media API
131
201
 
132
- * [listDimensions](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/dimensions/README.md#listdimensions) - List the dimensions
133
- * [listFilterValuesForDimension](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/dimensions/README.md#listfiltervaluesfordimension) - List the filter values for a dimension
202
+ Upload, manage, and transform video content with comprehensive media management capabilities.
134
203
 
135
- ### [drmConfigurations](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/drmconfigurations/README.md)
204
+ For detailed documentation, see [FastPix Video on Demand Overview](https://docs.fastpix.io/docs/video-on-demand-overview).
136
205
 
137
- * [getDrmConfiguration](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/drmconfigurations/README.md#getdrmconfiguration) - Get list of DRM configuration IDs
138
- * [getDrmConfigurationById](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/drmconfigurations/README.md#getdrmconfigurationbyid) - Get DRM configuration by ID
206
+ #### Input Video
207
+ - [Create from URL](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/inputvideo/README.md#createmedia) - Upload video content from external URL
208
+ - [Upload from Device](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/inputvideo/README.md#directuploadvideomedia) - Upload video files directly from device
139
209
 
140
- ### [errors](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/errors/README.md)
210
+ #### Manage Videos
211
+ - [List All Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#listmedia) - Retrieve complete list of all media files
212
+ - [Get Media by ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#getmedia) - Get detailed information for specific media
213
+ - [Update Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatedmedia) - Modify media metadata and settings
214
+ - [Delete Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#deletemedia) - Remove media files from library
215
+ - [Cancel Upload](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#cancelupload) - Stop ongoing media upload process
216
+ - [Get Input Info](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#retrievemediainputinfo) - Retrieve detailed input information
217
+ - [List Uploads](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#listuploads) - Get all available upload URLs
141
218
 
142
- * [listErrors](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/errors/README.md#listerrors) - List errors
219
+ #### Playback
220
+ - [Create Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#createmediaplaybackid) - Generate secure playback identifier
221
+ - [Delete Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#deletemediaplaybackid) - Remove playback access
222
+ - [Get Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#getplaybackid) - Retrieve playback configuration details
143
223
 
224
+ #### Play Specific Segments
225
+ - Stream only a portion of a video by appending `start`/`end` parameters to the playback URL. Explore: [Play specific segments](https://docs.fastpix.io/docs/play-your-videos#play-specific-segments). For creating reusable assets instead, see [Create clips from existing media](https://docs.fastpix.io/docs/create-clips-from-existing-media).
226
+ - Try it: `https://stream.fastpix.io/{PLAYBACK_ID}.m3u8?start=20&end=60` (replace `{PLAYBACK_ID}` and tweak times).
144
227
 
145
- ### [inputVideo](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/inputvideo/README.md)
228
+ #### Create Clips from Existing Media
229
+ - Create reusable, shareable clip assets from a source video with precise start/end control. Explore: [Create clips from existing media](https://docs.fastpix.io/docs/create-clips-from-existing-media).
230
+ - Try it: use the clipping API from the guide to generate a new clip asset, then retrieve it via Media Clips to validate.
146
231
 
147
- * [createMedia](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/inputvideo/README.md#createmedia) - Create media from URL
148
- * [directUploadVideoMedia](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/inputvideo/README.md#directuploadvideomedia) - Upload media from device
232
+ #### Playlist
233
+ - [Create Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#createaplaylist) - Create new video playlist
234
+ - [List Playlists](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#getallplaylists) - Get all available playlists
235
+ - [Get Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#getplaylistbyid) - Retrieve specific playlist details
236
+ - [Update Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#updateaplaylist) - Modify playlist settings and metadata
237
+ - [Delete Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#deleteaplaylist) - Remove playlist from library
238
+ - [Add Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#addmediatoplaylist) - Add media items to playlist
239
+ - [Reorder Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#changemediaorderinplaylist) - Change order of media in playlist
240
+ - [Remove Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#deletemediafromplaylist) - Remove media from playlist
149
241
 
150
- ### [inVideoAIFeatures](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md)
242
+ #### Signing Keys
243
+ - [Create Key](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#createsigningkey) - Generate new signing key pair
244
+ - [List Keys](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#listsigningkeys) - Get all available signing keys
245
+ - [Delete Key](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#deletesigningkey) - Remove signing key from system
246
+ - [Get Key](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#getsigningkeybyid) - Retrieve specific signing key details
151
247
 
152
- * [updateMediaSummary](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemediasummary) - Generate video summary
153
- * [updateMediaChapters](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemediachapters) - Generate video chapters
154
- * [updateMediaNamedEntities](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemedianamedentities) - Generate named entities
155
- * [updateMediaModeration](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemediamoderation) - Enable video moderation
248
+ #### DRM Configurations
249
+ - [List DRM Configs](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/drmconfigurations/README.md#getdrmconfiguration) - Get all DRM configuration options
250
+ - [Get DRM Config](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/drmconfigurations/README.md#getdrmconfigurationbyid) - Retrieve specific DRM configuration
156
251
 
157
- ### [livePlayback](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md)
252
+ ### Live API
158
253
 
159
- * [createPlaybackIdOfStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#createplaybackidofstream) - Create a playbackId
160
- * [deletePlaybackIdOfStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#deleteplaybackidofstream) - Delete a playbackId
161
- * [getLiveStreamPlaybackId](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#getlivestreamplaybackid) - Get playbackId details
254
+ Stream, manage, and transform live video content with real-time broadcasting capabilities.
162
255
 
163
- ### [manageLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md)
256
+ For detailed documentation, see [FastPix Live Stream Overview](https://docs.fastpix.io/docs/live-stream-overview).
164
257
 
165
- * [getAllStreams](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getallstreams) - Get all live streams
166
- * [getLiveStreamViewerCountById](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getlivestreamviewercountbyid) - Get stream views by ID
167
- * [getLiveStreamById](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getlivestreambyid) - Get stream by ID
168
- * [deleteLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#deletelivestream) - Delete a stream
169
- * [updateLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#updatelivestream) - Update a stream
170
- * [enableLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#enablelivestream) - Enable a stream
171
- * [disableLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#disablelivestream) - Disable a stream
172
- * [completeLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#completelivestream) - Complete a stream
173
258
 
174
- ### [manageVideos](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md)
175
259
 
176
- * [listMedia](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#listmedia) - Get list of all media
177
- * [listLiveClips](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#listliveclips) - Get all clips of a live stream
178
- * [getMedia](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#getmedia) - Get a media by ID
179
- * [updatedMedia](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatedmedia) - Update a media by ID
180
- * [deleteMedia](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#deletemedia) - Delete a media by ID
181
- * [addMediaTrack](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#addmediatrack) - Add audio / subtitle track
182
- * [cancelUpload](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#cancelupload) - Cancel ongoing upload
183
- * [updateMediaTrack](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatemediatrack) - Update audio / subtitle track
184
- * [deleteMediaTrack](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#deletemediatrack) - Delete audio / subtitle track
185
- * [generateSubtitleTrack](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#generatesubtitletrack) - Generate track subtitle
186
- * [updatedSourceAccess](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatedsourceaccess) - Update the source access of a media by ID
187
- * [updatedMp4Support](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatedmp4support) - Update the mp4Support of a media by ID
188
- * [retrieveMediaInputInfo](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#retrievemediainputinfo) - Get info of media inputs
189
- * [listUploads](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#listuploads) - Get all unused upload URLs
190
- * [getMediaClips](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#getmediaclips) - Get all clips of a media
260
+ #### Start Live Stream
261
+ - [Create Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/startlivestream/README.md#createnewstream) - Initialize new live streaming session with **DVR mode support**
191
262
 
192
- ### [metrics](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md)
263
+ #### Manage Live Stream
264
+ - [List Streams](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getallstreams) - Retrieve all active live streams
265
+ - [Get Viewer Count](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getlivestreamviewercountbyid) - Get real-time viewer statistics
266
+ - [Get Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getlivestreambyid) - Retrieve detailed stream information
267
+ - [Delete Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#deletelivestream) - Terminate and remove live stream
268
+ - [Update Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#updatelivestream) - Modify stream settings and configuration
269
+ - [Enable Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#enablelivestream) - Activate live streaming
270
+ - [Disable Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#disablelivestream) - Pause live streaming
271
+ - [Complete Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#completelivestream) - Finalize and archive stream
193
272
 
194
- * [listBreakdownValues](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listbreakdownvalues) - List breakdown values
195
- * [listOverallValues](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listoverallvalues) - List overall values
196
- * [getTimeseriesData](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#gettimeseriesdata) - Get timeseries data
197
- * [listComparisonValues](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listcomparisonvalues) - List comparison values
273
+ #### Live Playback
274
+ - [Create Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#createplaybackidofstream) - Generate secure live playback access
275
+ - [Delete Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#deleteplaybackidofstream) - Revoke live playback access
276
+ - [Get Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#getlivestreamplaybackid) - Retrieve live playback configuration
198
277
 
199
- ### [playback](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md)
278
+ #### Live Clipping
279
+ - Explore instant live clipping during a live stream to capture key moments without creating new assets. See the Live Clipping guide: [Instant Live Clipping](https://docs.fastpix.io/docs/instant-live-clipping).
280
+ - Try it: enable a test live stream and capture a highlight clip while broadcasting to see it appear instantly.
200
281
 
201
- * [createMediaPlaybackId](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#createmediaplaybackid) - Create a playback ID
202
- * [deleteMediaPlaybackId](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#deletemediaplaybackid) - Delete a playback ID
203
- * [getPlaybackId](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#getplaybackid) - Get a playback ID
282
+ #### Simulcast Stream
283
+ - [Create Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#createsimulcastofstream) - Set up multi-platform streaming
284
+ - [Delete Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#deletesimulcastofstream) - Remove simulcast configuration
285
+ - [Get Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#getspecificsimulcastofstream) - Retrieve simulcast settings
286
+ - [Update Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#updatespecificsimulcastofstream) - Modify simulcast parameters
204
287
 
205
- ### [playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md)
288
+ ### Video Data API
206
289
 
207
- * [createAPlaylist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#createaplaylist) - Create a new playlist
208
- * [getAllPlaylists](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#getallplaylists) - Get all playlists
209
- * [getPlaylistById](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#getplaylistbyid) - Get a playlist by ID
210
- * [updateAPlaylist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#updateaplaylist) - Update a playlist by ID
211
- * [deleteAPlaylist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#deleteaplaylist) - Delete a playlist by ID
212
- * [addMediaToPlaylist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#addmediatoplaylist) - Add media to a playlist by ID
213
- * [changeMediaOrderInPlaylist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#changemediaorderinplaylist) - Change media order in a playlist by ID
214
- * [deleteMediaFromPlaylist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#deletemediafromplaylist) - Delete media in a playlist by ID
290
+ Monitor video performance and quality with comprehensive analytics and real-time metrics.
215
291
 
216
- ### [signingKeys](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md)
292
+ For detailed documentation, see [FastPix Video Data Overview](https://docs.fastpix.io/docs/video-data-overview).
217
293
 
218
- * [createSigningKey](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#createsigningkey) - Create a signing key
219
- * [listSigningKeys](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#listsigningkeys) - Get list of signing key
220
- * [deleteSigningKey](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#deletesigningkey) - Delete a signing key
221
- * [getSigningKeyById](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#getsigningkeybyid) - Get signing key by ID
294
+ #### Metrics
295
+ - [List Breakdown Values](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listbreakdownvalues) - Get detailed breakdown of metrics by dimension
296
+ - [List Overall Values](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listoverallvalues) - Get aggregated metric values across all content
297
+ - [Get Timeseries Data](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#gettimeseriesdata) - Retrieve time-based metric trends and patterns
222
298
 
223
- ### [simulcastStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md)
299
+ #### Views
300
+ - [List Video Views](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#listvideoviews) - Get comprehensive list of video viewing sessions
301
+ - [Get View Details](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getvideoviewdetails) - Retrieve detailed information about specific video views
302
+ - [List Top Content](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#listbytopcontent) - Find your most popular and engaging content
303
+ - [Get Concurrent Viewers](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getdataviewlistcurrentviewsgettimeseriesviews) - Monitor real-time viewer counts over time
304
+ - [Get Viewer Breakdown](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getdataviewlistcurrentviewsfilter) - Analyze viewers by device, location, and other dimensions
224
305
 
225
- * [createSimulcastOfStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#createsimulcastofstream) - Create a simulcast
226
- * [deleteSimulcastOfStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#deletesimulcastofstream) - Delete a simulcast
227
- * [getSpecificSimulcastOfStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#getspecificsimulcastofstream) - Get a specific simulcast
228
- * [updateSpecificSimulcastOfStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#updatespecificsimulcastofstream) - Update a simulcast
306
+ #### Dimensions
307
+ - [List Dimensions](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/dimensions/README.md#listdimensions) - Get available data dimensions for filtering and analysis
308
+ - [List Filter Values](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/dimensions/README.md#listfiltervaluesfordimension) - Get specific values for a particular dimension
229
309
 
230
- ### [startLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/startlivestream/README.md)
310
+ ### Transformations
231
311
 
232
- * [createNewStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/startlivestream/README.md#createnewstream) - Create a new stream
312
+ Transform and enhance your video content with powerful AI and editing capabilities.
233
313
 
234
- ### [views](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md)
314
+ #### In-Video AI Features
235
315
 
236
- * [listVideoViews](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#listvideoviews) - List video views
237
- * [getVideoViewDetails](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getvideoviewdetails) - Get details of video view
238
- * [listByTopContent](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#listbytopcontent) - List by top content
239
- * [getDataViewlistCurrentViewsGetTimeseriesViews](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getdataviewlistcurrentviewsgettimeseriesviews) - Get concurrent viewers timeseries
240
- * [getDataViewlistCurrentViewsFilter](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getdataviewlistcurrentviewsfilter) - Get concurrent viewers breakdown by dimension
316
+ Enhance video content with AI-powered features including moderation, summarization, and intelligent categorization.
241
317
 
242
- </details>
318
+ For detailed documentation, see [Video Moderation Guide](https://docs.fastpix.io/docs/using-nsfw-and-profanity-filter-for-video-moderation).
319
+
320
+ - [Generate Summary](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/in-video-ai/README.md#updatemediasummary) - Create AI-generated video summaries
321
+ - [Create Chapters](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/in-video-ai/README.md#updatemediachapters) - Automatically generate video chapter markers
322
+ - [Extract Entities](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/in-video-ai/README.md#updatemedianamedentities) - Identify and extract named entities from content
323
+ - [Enable Moderation](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/in-video-ai/README.md#updatemediamoderation) - Activate content moderation and safety checks
324
+
325
+ #### Media Clips
326
+
327
+ Retrieve and manage media clips created from your source content.
328
+
329
+ For detailed documentation, see [Create clips from existing media](https://docs.fastpix.io/docs/create-clips-from-existing-media).
330
+
331
+ - [Get Media Clips](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/get-clips/README.md#getmediaclips) - Retrieve all clips associated with a source media
332
+
333
+ #### Subtitles
334
+
335
+ Generate automatic subtitles for enhanced accessibility and user experience.
336
+
337
+ For detailed documentation, see [Generate subtitles](https://docs.fastpix.io/docs/generate-subtitles).
338
+
339
+ - [Generate Subtitles](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/subtitles/README.md#generatesubtitletrack) - Create automatic subtitles for media
340
+
341
+ #### Media Tracks
342
+
343
+ Add, update, and manage audio and subtitle tracks for your media content.
344
+
345
+ For detailed documentation, see [Add tracks](https://docs.fastpix.io/docs/add-tracks).
346
+
347
+ - [Add Track](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/tracks/README.md#addmediatrack) - Add audio or subtitle tracks to media
348
+ - [Update Track](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/tracks/README.md#updatemediatrack) - Modify existing audio or subtitle tracks
349
+ - [Delete Track](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/tracks/README.md#deletemediatrack) - Remove audio or subtitle tracks
243
350
 
351
+ #### Access Control
352
+
353
+ Control access permissions and visibility for your media content.
354
+
355
+ For detailed documentation, see [Access control](https://docs.fastpix.io/docs/access-control).
356
+
357
+ - [Update Source Access](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/access-control/README.md#updatesourceaccess) - Control access permissions for media source
358
+
359
+ #### Format Support
360
+
361
+ Configure download capabilities and format support for your media content.
362
+
363
+ For detailed documentation, see [MP4 support](https://docs.fastpix.io/docs/mp4-support).
364
+
365
+ - [Update MP4 Support](https://github.com/FastPix/node-sdk/blob/main/docs/transformations/format-support/README.md#updatemp4support) - Configure MP4 download capabilities
366
+
367
+ ### Error Handling
368
+
369
+ Handle and manage errors with comprehensive error handling capabilities and detailed error information for all API operations.
370
+
371
+ - [List Errors](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/errors/README.md#listerrors) - Retrieve comprehensive error logs and diagnostics
372
+
373
+ <!-- End Available Resources and Operations [operations] -->
374
+
375
+ <!-- Start Retries [retries] -->
244
376
  ## Retries
245
377
 
246
- Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
378
+ Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
247
379
 
248
380
  To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
249
381
  ```typescript
@@ -523,29 +655,15 @@ httpClient.addHook("requestError", (error, request) => {
523
655
  const sdk = new Fastpix({ httpClient: httpClient });
524
656
  ```
525
657
 
526
- ## Debugging
527
-
528
- You can setup your SDK to emit debug logs for SDK requests and responses.
529
-
530
- You can pass a logger that matches `console`'s interface as an SDK option.
531
-
532
- Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
533
-
534
- ```typescript
535
- import { Fastpix } from "@fastpix/fastpix-node";
658
+ # Development
536
659
 
537
- const sdk = new Fastpix({ debugLogger: console });
538
- ```
660
+ This Node.js SDK is programmatically generated from our API specifications. Any manual modifications to internal files will be overwritten during subsequent generation cycles.
539
661
 
540
- You can also enable a default debug logger by setting an environment variable `FASTPIX_DEBUG` to true.
662
+ We value community contributions and feedback. Feel free to submit pull requests or open issues with your suggestions, and we'll do our best to include them in future releases.
541
663
 
542
664
  ## Detailed Usage
543
665
 
544
- For a complete understanding of each API's functionality, including request and response details, parameter descriptions, and additional examples, please refer to the [FastPix API Reference](https://docs.fastpix.io/reference/signingkeys-overview).
545
-
546
- The API reference provides comprehensive documentation for all available endpoints and features, ensuring developers can integrate and utilize FastPix APIs efficiently.
547
-
548
- ## Support
666
+ For comprehensive understanding of each API's functionality, including detailed request and response specifications, parameter descriptions, and additional examples, please refer to the [FastPix API Reference](https://docs.fastpix.io/reference/signingkeys-overview).
549
667
 
550
- If you have any queries, please reach out to **support@fastpix.io**.
668
+ The API reference offers complete documentation for all available endpoints and features, enabling developers to integrate and leverage FastPix APIs effectively.
551
669
 
@@ -23,8 +23,8 @@ import { Result } from "../types/fp.js";
23
23
  *
24
24
  * ```
25
25
  * {
26
- * "kid": "359302ee-2446-4afe-9348-8b4656b9ddb1",
27
- * "aud": "media:6cee6f85-9334-4a51-9ce3-e0241d94ceef",
26
+ * "kid": "your-signing-key-id",
27
+ * "aud": "media:your-media-id",
28
28
  * "iss": "fastpix.io",
29
29
  * "sub": "",
30
30
  * "iat": 1706703204,
@@ -58,8 +58,8 @@ const async_js_1 = require("../types/async.js");
58
58
  *
59
59
  * ```
60
60
  * {
61
- * "kid": "359302ee-2446-4afe-9348-8b4656b9ddb1",
62
- * "aud": "media:6cee6f85-9334-4a51-9ce3-e0241d94ceef",
61
+ * "kid": "your-signing-key-id",
62
+ * "aud": "media:your-media-id",
63
63
  * "iss": "fastpix.io",
64
64
  * "sub": "",
65
65
  * "iat": 1706703204,
@@ -17,7 +17,7 @@ export type GetDrmConfigurationRequest = {
17
17
  */
18
18
  export type GetDrmConfigurationResponse = {
19
19
  success?: boolean | undefined;
20
- data?: Array<models.DrmIdResponse> | undefined;
20
+ data?: models.DrmIdResponse | undefined;
21
21
  /**
22
22
  * Pagination organizes content into pages for better readability and navigation.
23
23
  */
@@ -51,7 +51,7 @@ export declare const GetDrmConfigurationResponse$inboundSchema: z.ZodType<GetDrm
51
51
  /** @internal */
52
52
  export type GetDrmConfigurationResponse$Outbound = {
53
53
  success?: boolean | undefined;
54
- data?: Array<models.DrmIdResponse$Outbound> | undefined;
54
+ data?: models.DrmIdResponse$Outbound | undefined;
55
55
  pagination?: models.Pagination$Outbound | undefined;
56
56
  };
57
57
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"getdrmconfiguration.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getdrmconfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,UAAU,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAI1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACxD,UAAU,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAK3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D;AAED,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR;AAED,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
1
+ {"version":3,"file":"getdrmconfiguration.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getdrmconfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,UAAU,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAI1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC,sBAAsB,GAAG,SAAS,CAAC;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAK3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D;AAED,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR;AAED,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
@@ -71,13 +71,13 @@ function getDrmConfigurationRequestFromJSON(jsonString) {
71
71
  /** @internal */
72
72
  exports.GetDrmConfigurationResponse$inboundSchema = z.object({
73
73
  success: z.boolean().optional(),
74
- data: z.array(models.DrmIdResponse$inboundSchema).optional(),
74
+ data: models.DrmIdResponse$inboundSchema.optional(),
75
75
  pagination: models.Pagination$inboundSchema.optional(),
76
76
  });
77
77
  /** @internal */
78
78
  exports.GetDrmConfigurationResponse$outboundSchema = z.object({
79
79
  success: z.boolean().optional(),
80
- data: z.array(models.DrmIdResponse$outboundSchema).optional(),
80
+ data: models.DrmIdResponse$outboundSchema.optional(),
81
81
  pagination: models.Pagination$outboundSchema.optional(),
82
82
  });
83
83
  /**