@fastpix/fastpix-node 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +219 -168
- package/dist/commonjs/funcs/signingKeysGetSigningKeyById.d.ts +2 -2
- package/dist/commonjs/funcs/signingKeysGetSigningKeyById.js +2 -2
- package/dist/commonjs/models/operations/getdrmconfiguration.d.ts +2 -2
- package/dist/commonjs/models/operations/getdrmconfiguration.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getdrmconfiguration.js +2 -2
- package/dist/commonjs/models/operations/getdrmconfiguration.js.map +1 -1
- package/dist/commonjs/sdk/signingkeys.d.ts +2 -2
- package/dist/commonjs/sdk/signingkeys.js +2 -2
- package/dist/esm/funcs/signingKeysGetSigningKeyById.d.ts +2 -2
- package/dist/esm/funcs/signingKeysGetSigningKeyById.js +2 -2
- package/dist/esm/models/operations/getdrmconfiguration.d.ts +2 -2
- package/dist/esm/models/operations/getdrmconfiguration.d.ts.map +1 -1
- package/dist/esm/models/operations/getdrmconfiguration.js +2 -2
- package/dist/esm/models/operations/getdrmconfiguration.js.map +1 -1
- package/dist/esm/sdk/signingkeys.d.ts +2 -2
- package/dist/esm/sdk/signingkeys.js +2 -2
- package/package.json +1 -1
- package/samples/ai/ai-features.ts +194 -0
- package/samples/analytics/dimensions.ts +113 -0
- package/samples/analytics/errors.ts +133 -0
- package/samples/analytics/metrics.ts +117 -0
- package/samples/analytics/views.ts +120 -0
- package/samples/common/config.ts +84 -0
- package/samples/common/setup.ts +42 -0
- package/samples/comprehensive-example.ts +267 -0
- package/samples/index.ts +224 -0
- package/samples/live/live-playback.ts +104 -0
- package/samples/live/manage-live-stream.ts +176 -0
- package/samples/live/start-live-stream.ts +91 -0
- package/samples/media/input-video.ts +65 -0
- package/samples/media/manage-videos.ts +166 -0
- package/samples/media/playback.ts +89 -0
- package/samples/media/playlist.ts +201 -0
- package/samples/package.json +51 -0
- package/samples/security/drm-configurations.ts +125 -0
- package/samples/security/signing-keys.ts +154 -0
- package/src/funcs/signingKeysGetSigningKeyById.ts +2 -2
- package/src/models/operations/getdrmconfiguration.ts +4 -4
- package/src/sdk/signingkeys.ts +2 -2
package/README.md
CHANGED
|
@@ -1,53 +1,81 @@
|
|
|
1
|
-
# FastPix
|
|
1
|
+
# FastPix Node.js SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A robust, type-safe Node.js SDK designed for seamless integration with the FastPix API platform.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<!-- Start Summary [summary] -->
|
|
6
|
+
## Introduction
|
|
6
7
|
|
|
7
|
-
The FastPix
|
|
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, on‑demand 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
|
-
|
|
10
|
+
## Prerequisites
|
|
10
11
|
|
|
11
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
41
|
+
To get started with the **FastPix Node.js SDK**, ensure you have the following:
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
- The FastPix APIs are authenticated using a **Username** and a **Password**. You must generate these credentials to use the SDK.
|
|
39
44
|
|
|
40
|
-
|
|
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
|
-
|
|
47
|
+
### Environment Variables (Optional)
|
|
43
48
|
|
|
44
|
-
|
|
49
|
+
Configure your FastPix credentials using environment variables for enhanced security and convenience:
|
|
45
50
|
|
|
46
|
-
|
|
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)
|
|
47
70
|
|
|
48
|
-
|
|
71
|
+
<!-- End Table of Contents [toc] -->
|
|
49
72
|
|
|
50
|
-
|
|
73
|
+
<!-- Start Setup [setup] -->
|
|
74
|
+
## Setup
|
|
75
|
+
|
|
76
|
+
### Installation
|
|
77
|
+
|
|
78
|
+
Install the FastPix Node.js SDK using your preferred package manager:
|
|
51
79
|
|
|
52
80
|
```bash
|
|
53
81
|
npm install @fastpix/fastpix-node
|
|
@@ -71,23 +99,48 @@ bun add @fastpix/fastpix-node
|
|
|
71
99
|
yarn add @fastpix/fastpix-node
|
|
72
100
|
```
|
|
73
101
|
|
|
74
|
-
|
|
102
|
+
### Imports
|
|
75
103
|
|
|
76
|
-
|
|
77
|
-
This package is published with CommonJS and ES Modules (ESM) support.
|
|
104
|
+
Import the necessary modules for your FastPix integration:
|
|
78
105
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
106
|
+
```typescript
|
|
107
|
+
// Basic imports
|
|
108
|
+
import { Fastpix } from "@fastpix/fastpix-node";
|
|
109
|
+
import type { CreateMediaRequest } from "@fastpix/fastpix-node/models/operations";
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Initialization
|
|
113
|
+
|
|
114
|
+
Initialize the FastPix SDK with your credentials:
|
|
115
|
+
|
|
116
|
+
```typescript
|
|
117
|
+
import { Fastpix } from "@fastpix/fastpix-node";
|
|
118
|
+
|
|
119
|
+
const fastpix = new Fastpix({
|
|
120
|
+
security: {
|
|
121
|
+
username: "your-access-token",
|
|
122
|
+
password: "your-secret-key",
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Or using environment variables:
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
import { Fastpix } from "@fastpix/fastpix-node";
|
|
89
131
|
|
|
90
|
-
|
|
132
|
+
const fastpix = new Fastpix({
|
|
133
|
+
security: {
|
|
134
|
+
username: process.env.FASTPIX_USERNAME,
|
|
135
|
+
password: process.env.FASTPIX_PASSWORD,
|
|
136
|
+
},
|
|
137
|
+
});
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
<!-- End Setup [setup] -->
|
|
141
|
+
|
|
142
|
+
<!-- Start Example Usage [example-usage] -->
|
|
143
|
+
## Example Usage
|
|
91
144
|
|
|
92
145
|
### Example
|
|
93
146
|
|
|
@@ -97,7 +150,7 @@ import { Fastpix } from "@fastpix/fastpix-node";
|
|
|
97
150
|
const fastpix = new Fastpix({
|
|
98
151
|
security: {
|
|
99
152
|
username: "your-access-token",
|
|
100
|
-
password: "secret-key",
|
|
153
|
+
password: "your-secret-key",
|
|
101
154
|
},
|
|
102
155
|
});
|
|
103
156
|
|
|
@@ -115,135 +168,147 @@ async function run() {
|
|
|
115
168
|
accessPolicy: "public",
|
|
116
169
|
});
|
|
117
170
|
|
|
118
|
-
|
|
171
|
+
// handle response
|
|
172
|
+
console.log(result);
|
|
173
|
+
|
|
119
174
|
}
|
|
120
175
|
|
|
121
176
|
run();
|
|
122
|
-
|
|
123
177
|
```
|
|
178
|
+
<!-- End Example Usage [example-usage] -->
|
|
124
179
|
|
|
180
|
+
<!-- Start Available Resources and Operations [operations] -->
|
|
125
181
|
## Available Resources and Operations
|
|
126
182
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
183
|
+
Comprehensive Node.js SDK for FastPix platform integration with full API coverage.
|
|
184
|
+
|
|
185
|
+
### Media API
|
|
186
|
+
|
|
187
|
+
Upload, manage, and transform video content with comprehensive media management capabilities.
|
|
188
|
+
|
|
189
|
+
For detailed documentation, see [FastPix Video on Demand Overview](https://docs.fastpix.io/docs/video-on-demand-overview).
|
|
190
|
+
|
|
191
|
+
#### Input Video
|
|
192
|
+
- [Create from URL](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/inputvideo/README.md#createmedia) - Upload video content from external URL
|
|
193
|
+
- [Upload from Device](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/inputvideo/README.md#directuploadvideomedia) - Upload video files directly from device
|
|
194
|
+
|
|
195
|
+
#### Manage Videos
|
|
196
|
+
- [List All Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#listmedia) - Retrieve complete list of all media files
|
|
197
|
+
- [Get Media by ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#getmedia) - Get detailed information for specific media
|
|
198
|
+
- [Update Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatedmedia) - Modify media metadata and settings
|
|
199
|
+
- [Delete Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#deletemedia) - Remove media files from library
|
|
200
|
+
- [Add Track](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#addmediatrack) - Add audio or subtitle tracks to media
|
|
201
|
+
- [Cancel Upload](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#cancelupload) - Stop ongoing media upload process
|
|
202
|
+
- [Update Track](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatemediatrack) - Modify existing audio or subtitle tracks
|
|
203
|
+
- [Delete Track](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#deletemediatrack) - Remove audio or subtitle tracks
|
|
204
|
+
- [Generate Subtitles](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#generatesubtitletrack) - Create automatic subtitles for media
|
|
205
|
+
- [Update Source Access](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatedsourceaccess) - Control access permissions for media source
|
|
206
|
+
- [Update MP4 Support](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#updatedmp4support) - Configure MP4 download capabilities
|
|
207
|
+
- [Get Input Info](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#retrievemediainputinfo) - Retrieve detailed input information
|
|
208
|
+
- [List Uploads](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#listuploads) - Get all available upload URLs
|
|
209
|
+
- [Get Media Clips](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managevideos/README.md#getmediaclips) - Retrieve all video clips for media
|
|
143
210
|
|
|
211
|
+
#### Playback
|
|
212
|
+
- [Create Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#createmediaplaybackid) - Generate secure playback identifier
|
|
213
|
+
- [Delete Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#deletemediaplaybackid) - Remove playback access
|
|
214
|
+
- [Get Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playback/README.md#getplaybackid) - Retrieve playback configuration details
|
|
144
215
|
|
|
145
|
-
|
|
216
|
+
#### Playlist
|
|
217
|
+
- [Create Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#createaplaylist) - Create new video playlist
|
|
218
|
+
- [List Playlists](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#getallplaylists) - Get all available playlists
|
|
219
|
+
- [Get Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#getplaylistbyid) - Retrieve specific playlist details
|
|
220
|
+
- [Update Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#updateaplaylist) - Modify playlist settings and metadata
|
|
221
|
+
- [Delete Playlist](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#deleteaplaylist) - Remove playlist from library
|
|
222
|
+
- [Add Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#addmediatoplaylist) - Add media items to playlist
|
|
223
|
+
- [Reorder Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#changemediaorderinplaylist) - Change order of media in playlist
|
|
224
|
+
- [Remove Media](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/playlist/README.md#deletemediafromplaylist) - Remove media from playlist
|
|
146
225
|
|
|
147
|
-
|
|
148
|
-
|
|
226
|
+
#### Signing Keys
|
|
227
|
+
- [Create Key](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#createsigningkey) - Generate new signing key pair
|
|
228
|
+
- [List Keys](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#listsigningkeys) - Get all available signing keys
|
|
229
|
+
- [Delete Key](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#deletesigningkey) - Remove signing key from system
|
|
230
|
+
- [Get Key](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/signingkeys/README.md#getsigningkeybyid) - Retrieve specific signing key details
|
|
149
231
|
|
|
150
|
-
|
|
232
|
+
#### DRM Configurations
|
|
233
|
+
- [List DRM Configs](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/drmconfigurations/README.md#getdrmconfiguration) - Get all DRM configuration options
|
|
234
|
+
- [Get DRM Config](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/drmconfigurations/README.md#getdrmconfigurationbyid) - Retrieve specific DRM configuration
|
|
151
235
|
|
|
152
|
-
|
|
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
|
|
236
|
+
### Live API
|
|
156
237
|
|
|
157
|
-
|
|
238
|
+
Stream, manage, and transform live video content with real-time broadcasting capabilities.
|
|
158
239
|
|
|
159
|
-
|
|
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
|
|
240
|
+
For detailed documentation, see [FastPix Live Stream Overview](https://docs.fastpix.io/docs/live-stream-overview).
|
|
162
241
|
|
|
163
|
-
|
|
242
|
+
#### Start Live Stream
|
|
243
|
+
- [Create Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/startlivestream/README.md#createnewstream) - Initialize new live streaming session
|
|
164
244
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
245
|
+
#### Manage Live Stream
|
|
246
|
+
- [List Streams](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getallstreams) - Retrieve all active live streams
|
|
247
|
+
- [Get Viewer Count](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getlivestreamviewercountbyid) - Get real-time viewer statistics
|
|
248
|
+
- [Get Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#getlivestreambyid) - Retrieve detailed stream information
|
|
249
|
+
- [Delete Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#deletelivestream) - Terminate and remove live stream
|
|
250
|
+
- [Update Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#updatelivestream) - Modify stream settings and configuration
|
|
251
|
+
- [Enable Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#enablelivestream) - Activate live streaming
|
|
252
|
+
- [Disable Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#disablelivestream) - Pause live streaming
|
|
253
|
+
- [Complete Stream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/managelivestream/README.md#completelivestream) - Finalize and archive stream
|
|
173
254
|
|
|
174
|
-
|
|
255
|
+
#### Live Playback
|
|
256
|
+
- [Create Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#createplaybackidofstream) - Generate secure live playback access
|
|
257
|
+
- [Delete Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#deleteplaybackidofstream) - Revoke live playback access
|
|
258
|
+
- [Get Playback ID](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/liveplayback/README.md#getlivestreamplaybackid) - Retrieve live playback configuration
|
|
175
259
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
+
#### Simulcast Stream
|
|
261
|
+
- [Create Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#createsimulcastofstream) - Set up multi-platform streaming
|
|
262
|
+
- [Delete Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#deletesimulcastofstream) - Remove simulcast configuration
|
|
263
|
+
- [Get Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#getspecificsimulcastofstream) - Retrieve simulcast settings
|
|
264
|
+
- [Update Simulcast](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md#updatespecificsimulcastofstream) - Modify simulcast parameters
|
|
191
265
|
|
|
192
|
-
###
|
|
266
|
+
### Video Data API
|
|
193
267
|
|
|
194
|
-
|
|
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
|
|
268
|
+
Monitor video performance and quality with comprehensive analytics and real-time metrics.
|
|
198
269
|
|
|
199
|
-
|
|
270
|
+
For detailed documentation, see [FastPix Video Data Overview](https://docs.fastpix.io/docs/video-data-overview).
|
|
200
271
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
272
|
+
#### Metrics
|
|
273
|
+
- [List Breakdown Values](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listbreakdownvalues) - Get detailed breakdown of metrics by dimension
|
|
274
|
+
- [List Overall Values](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listoverallvalues) - Get aggregated metric values across all content
|
|
275
|
+
- [Get Timeseries Data](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#gettimeseriesdata) - Retrieve time-based metric trends and patterns
|
|
276
|
+
- [List Comparison Values](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/metrics/README.md#listcomparisonvalues) - Compare metrics across different time periods
|
|
204
277
|
|
|
205
|
-
|
|
278
|
+
#### Views
|
|
279
|
+
- [List Video Views](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#listvideoviews) - Get comprehensive list of video viewing sessions
|
|
280
|
+
- [Get View Details](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getvideoviewdetails) - Retrieve detailed information about specific video views
|
|
281
|
+
- [List Top Content](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#listbytopcontent) - Find your most popular and engaging content
|
|
282
|
+
- [Get Concurrent Viewers](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md#getdataviewlistcurrentviewsgettimeseriesviews) - Monitor real-time viewer counts over time
|
|
283
|
+
- [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
|
|
206
284
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
285
|
+
#### Dimensions
|
|
286
|
+
- [List Dimensions](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/dimensions/README.md#listdimensions) - Get available data dimensions for filtering and analysis
|
|
287
|
+
- [List Filter Values](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/dimensions/README.md#listfiltervaluesfordimension) - Get specific values for a particular dimension
|
|
288
|
+
|
|
289
|
+
### In-Video AI Features
|
|
290
|
+
|
|
291
|
+
Enhance video content with AI-powered features including moderation, summarization, and intelligent categorization.
|
|
292
|
+
|
|
293
|
+
For detailed documentation, see [Video Moderation Guide](https://docs.fastpix.io/docs/using-nsfw-and-profanity-filter-for-video-moderation).
|
|
294
|
+
|
|
295
|
+
- [Generate Summary](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemediasummary) - Create AI-generated video summaries
|
|
296
|
+
- [Create Chapters](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemediachapters) - Automatically generate video chapter markers
|
|
297
|
+
- [Extract Entities](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemedianamedentities) - Identify and extract named entities from content
|
|
298
|
+
- [Enable Moderation](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/invideoaifeatures/README.md#updatemediamoderation) - Activate content moderation and safety checks
|
|
299
|
+
|
|
300
|
+
### Error Handling
|
|
301
|
+
|
|
302
|
+
Handle and manage errors with comprehensive error handling capabilities and detailed error information for all API operations.
|
|
215
303
|
|
|
216
|
-
|
|
304
|
+
- [List Errors](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/errors/README.md#listerrors) - Retrieve comprehensive error logs and diagnostics
|
|
217
305
|
|
|
218
|
-
|
|
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
|
|
222
|
-
|
|
223
|
-
### [simulcastStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/simulcaststream/README.md)
|
|
224
|
-
|
|
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
|
|
229
|
-
|
|
230
|
-
### [startLiveStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/startlivestream/README.md)
|
|
231
|
-
|
|
232
|
-
* [createNewStream](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/startlivestream/README.md#createnewstream) - Create a new stream
|
|
233
|
-
|
|
234
|
-
### [views](https://github.com/FastPix/node-sdk/blob/main/docs/sdks/views/README.md)
|
|
235
|
-
|
|
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
|
|
241
|
-
|
|
242
|
-
</details>
|
|
306
|
+
<!-- End Available Resources and Operations [operations] -->
|
|
243
307
|
|
|
308
|
+
<!-- Start Retries [retries] -->
|
|
244
309
|
## Retries
|
|
245
310
|
|
|
246
|
-
Some of the endpoints in this SDK support retries.
|
|
311
|
+
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
312
|
|
|
248
313
|
To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
|
|
249
314
|
```typescript
|
|
@@ -523,29 +588,15 @@ httpClient.addHook("requestError", (error, request) => {
|
|
|
523
588
|
const sdk = new Fastpix({ httpClient: httpClient });
|
|
524
589
|
```
|
|
525
590
|
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
You can setup your SDK to emit debug logs for SDK requests and responses.
|
|
591
|
+
# Development
|
|
529
592
|
|
|
530
|
-
|
|
593
|
+
This Node.js SDK is programmatically generated from our API specifications. Any manual modifications to internal files will be overwritten during subsequent generation cycles.
|
|
531
594
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
```typescript
|
|
535
|
-
import { Fastpix } from "@fastpix/fastpix-node";
|
|
536
|
-
|
|
537
|
-
const sdk = new Fastpix({ debugLogger: console });
|
|
538
|
-
```
|
|
539
|
-
|
|
540
|
-
You can also enable a default debug logger by setting an environment variable `FASTPIX_DEBUG` to true.
|
|
595
|
+
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
596
|
|
|
542
597
|
## Detailed Usage
|
|
543
598
|
|
|
544
|
-
For
|
|
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
|
|
599
|
+
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
600
|
|
|
550
|
-
|
|
601
|
+
The API reference offers complete documentation for all available endpoints and features, enabling developers to integrate and leverage FastPix APIs effectively.
|
|
551
602
|
|
|
@@ -23,8 +23,8 @@ import { Result } from "../types/fp.js";
|
|
|
23
23
|
*
|
|
24
24
|
* ```
|
|
25
25
|
* {
|
|
26
|
-
* "kid": "
|
|
27
|
-
* "aud": "media:
|
|
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": "
|
|
62
|
-
* "aud": "media:
|
|
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?:
|
|
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?:
|
|
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,
|
|
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:
|
|
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:
|
|
80
|
+
data: models.DrmIdResponse$outboundSchema.optional(),
|
|
81
81
|
pagination: models.Pagination$outboundSchema.optional(),
|
|
82
82
|
});
|
|
83
83
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getdrmconfiguration.js","sourceRoot":"","sources":["../../../../src/models/operations/getdrmconfiguration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA,4EAMC;AAED,gFAQC;AA4CD,8EAQC;AAED,kFAQC;AAlJD,uCAAyB;AACzB,qDAAiD;AAGjD,oDAAsC;AAyBtC,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACpC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACpC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"getdrmconfiguration.js","sourceRoot":"","sources":["../../../../src/models/operations/getdrmconfiguration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA,4EAMC;AAED,gFAQC;AA4CD,8EAQC;AAED,kFAQC;AAlJD,uCAAyB;AACzB,qDAAiD;AAGjD,oDAAsC;AAyBtC,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACpC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACpC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,IAAI,EAAE,MAAM,CAAC,2BAA2B,CAAC,QAAQ,EAAE;IACnD,UAAU,EAAE,MAAM,CAAC,wBAAwB,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,IAAI,EAAE,MAAM,CAAC,4BAA4B,CAAC,QAAQ,EAAE;IACpD,UAAU,EAAE,MAAM,CAAC,yBAAyB,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC3C,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG3E,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C;AAED,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -73,8 +73,8 @@ export declare class SigningKeys extends ClientSDK {
|
|
|
73
73
|
*
|
|
74
74
|
* ```
|
|
75
75
|
* {
|
|
76
|
-
* "kid": "
|
|
77
|
-
* "aud": "media:
|
|
76
|
+
* "kid": "your-signing-key-id",
|
|
77
|
+
* "aud": "media:your-media-id",
|
|
78
78
|
* "iss": "fastpix.io",
|
|
79
79
|
* "sub": "",
|
|
80
80
|
* "iat": 1706703204,
|
|
@@ -85,8 +85,8 @@ class SigningKeys extends sdks_js_1.ClientSDK {
|
|
|
85
85
|
*
|
|
86
86
|
* ```
|
|
87
87
|
* {
|
|
88
|
-
* "kid": "
|
|
89
|
-
* "aud": "media:
|
|
88
|
+
* "kid": "your-signing-key-id",
|
|
89
|
+
* "aud": "media:your-media-id",
|
|
90
90
|
* "iss": "fastpix.io",
|
|
91
91
|
* "sub": "",
|
|
92
92
|
* "iat": 1706703204,
|