@brigadasos/nadeshiko-sdk 1.4.3-dev.e5c01f0 → 1.5.0-dev.220bc0b
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 +17 -14
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/index.cjs +528 -191
- package/dist/index.cjs.map +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +515 -184
- package/dist/index.js.map +5 -5
- package/dist/internal/admin.gen.d.ts +1 -1
- package/dist/internal/admin.gen.d.ts.map +1 -1
- package/dist/internal/collections.gen.d.ts +2 -0
- package/dist/internal/collections.gen.d.ts.map +1 -0
- package/dist/internal/media.gen.d.ts +1 -1
- package/dist/internal/media.gen.d.ts.map +1 -1
- package/dist/internal/user.gen.d.ts +1 -1
- package/dist/internal/user.gen.d.ts.map +1 -1
- package/dist/internal.gen.d.ts +1 -0
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +52 -40
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +237 -135
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +1807 -1321
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
-
import type { AddMediaToSeriesData, AddMediaToSeriesErrors, AddMediaToSeriesResponses, AddSegmentToCollectionData, AddSegmentToCollectionErrors, AddSegmentToCollectionResponses, AutocompleteMediaData, AutocompleteMediaErrors, AutocompleteMediaResponses,
|
|
2
|
+
import type { AddMediaToSeriesData, AddMediaToSeriesErrors, AddMediaToSeriesResponses, AddSegmentToCollectionData, AddSegmentToCollectionErrors, AddSegmentToCollectionResponses, AutocompleteMediaData, AutocompleteMediaErrors, AutocompleteMediaResponses, ClearAdminImpersonationData, ClearAdminImpersonationErrors, ClearAdminImpersonationResponses, CreateCollectionData, CreateCollectionErrors, CreateCollectionResponses, CreateEpisodeData, CreateEpisodeErrors, CreateEpisodeResponses, CreateMediaData, CreateMediaErrors, CreateMediaResponses, CreateSegmentData, CreateSegmentErrors, CreateSegmentResponses, CreateSegmentsBatchData, CreateSegmentsBatchErrors, CreateSegmentsBatchResponses, CreateSeriesData, CreateSeriesErrors, CreateSeriesResponses, CreateUserReportData, CreateUserReportErrors, CreateUserReportResponses, DeleteCollectionData, DeleteCollectionErrors, DeleteCollectionResponses, DeleteEpisodeData, DeleteEpisodeErrors, DeleteEpisodeResponses, DeleteMediaData, DeleteMediaErrors, DeleteMediaResponses, DeleteSegmentData, DeleteSegmentErrors, DeleteSegmentResponses, DeleteSeriesData, DeleteSeriesErrors, DeleteSeriesResponses, DeleteUserActivityByDateData, DeleteUserActivityByDateErrors, DeleteUserActivityByDateResponses, DeleteUserActivityByIdData, DeleteUserActivityByIdErrors, DeleteUserActivityByIdResponses, DeleteUserActivityData, DeleteUserActivityErrors, DeleteUserActivityResponses, EnrollUserLabData, EnrollUserLabErrors, EnrollUserLabResponses, ExportUserDataData, ExportUserDataErrors, ExportUserDataResponses, GetAdminDashboardData, GetAdminDashboardErrors, GetAdminDashboardResponses, GetAdminHealthData, GetAdminHealthErrors, GetAdminHealthResponses, GetAdminMediaAuditRunData, GetAdminMediaAuditRunErrors, GetAdminMediaAuditRunResponses, GetAdminQueueData, GetAdminQueueErrors, GetAdminQueueResponses, GetAnnouncementData, GetAnnouncementErrors, GetAnnouncementResponses, GetCharacterData, GetCharacterErrors, GetCharacterResponses, GetCollectionData, GetCollectionErrors, GetCollectionResponses, GetCollectionStatsData, GetCollectionStatsErrors, GetCollectionStatsResponses, GetEpisodeData, GetEpisodeErrors, GetEpisodeResponses, GetMediaData, GetMediaErrors, GetMediaResponses, GetSearchStatsData, GetSearchStatsErrors, GetSearchStatsResponses, GetSegmentByUuidData, GetSegmentByUuidErrors, GetSegmentByUuidResponses, GetSegmentContextData, GetSegmentContextErrors, GetSegmentContextResponses, GetSegmentData, GetSegmentErrors, GetSegmentResponses, GetSeiyuuData, GetSeiyuuErrors, GetSeiyuuResponses, GetSeriesData, GetSeriesErrors, GetSeriesResponses, GetUserActivityHeatmapData, GetUserActivityHeatmapErrors, GetUserActivityHeatmapResponses, GetUserActivityStatsData, GetUserActivityStatsErrors, GetUserActivityStatsResponses, GetUserPreferencesData, GetUserPreferencesErrors, GetUserPreferencesResponses, GetUserQuotaData, GetUserQuotaErrors, GetUserQuotaResponses, ImpersonateAdminUserData, ImpersonateAdminUserErrors, ImpersonateAdminUserResponses, ListAdminMediaAuditRunsData, ListAdminMediaAuditRunsErrors, ListAdminMediaAuditRunsResponses, ListAdminMediaAuditsData, ListAdminMediaAuditsErrors, ListAdminMediaAuditsResponses, ListAdminQueueFailedData, ListAdminQueueFailedErrors, ListAdminQueueFailedResponses, ListAdminQueueStatsData, ListAdminQueueStatsErrors, ListAdminQueueStatsResponses, ListAdminReportsData, ListAdminReportsErrors, ListAdminReportsResponses, ListCollectionsData, ListCollectionsErrors, ListCollectionsResponses, ListEpisodesData, ListEpisodesErrors, ListEpisodesResponses, ListMediaData, ListMediaErrors, ListMediaResponses, ListSegmentRevisionsData, ListSegmentRevisionsErrors, ListSegmentRevisionsResponses, ListSegmentsData, ListSegmentsErrors, ListSegmentsResponses, ListSeriesData, ListSeriesErrors, ListSeriesResponses, ListUserActivityData, ListUserActivityErrors, ListUserActivityResponses, ListUserLabsData, ListUserLabsErrors, ListUserLabsResponses, PurgeAdminQueueFailedData, PurgeAdminQueueFailedErrors, PurgeAdminQueueFailedResponses, RemoveMediaFromSeriesData, RemoveMediaFromSeriesErrors, RemoveMediaFromSeriesResponses, RemoveSegmentFromCollectionData, RemoveSegmentFromCollectionErrors, RemoveSegmentFromCollectionResponses, RetryAdminQueueFailedData, RetryAdminQueueFailedErrors, RetryAdminQueueFailedResponses, RunAdminMediaAuditData, RunAdminMediaAuditErrors, RunAdminMediaAuditResponses, SearchCollectionSegmentsData, SearchCollectionSegmentsErrors, SearchCollectionSegmentsResponses, SearchData, SearchErrors, SearchResponses, SearchWordsData, SearchWordsErrors, SearchWordsResponses, TrackUserActivityData, TrackUserActivityErrors, TrackUserActivityResponses, TriggerReindexData, TriggerReindexErrors, TriggerReindexResponses, UnenrollUserLabData, UnenrollUserLabErrors, UnenrollUserLabResponses, UpdateAdminMediaAuditData, UpdateAdminMediaAuditErrors, UpdateAdminMediaAuditResponses, UpdateAdminReportData, UpdateAdminReportErrors, UpdateAdminReportResponses, UpdateAnnouncementData, UpdateAnnouncementErrors, UpdateAnnouncementResponses, UpdateCollectionData, UpdateCollectionErrors, UpdateCollectionResponses, UpdateCollectionSegmentData, UpdateCollectionSegmentErrors, UpdateCollectionSegmentResponses, UpdateEpisodeData, UpdateEpisodeErrors, UpdateEpisodeResponses, UpdateMediaData, UpdateMediaErrors, UpdateMediaResponses, UpdateSegmentByUuidData, UpdateSegmentByUuidErrors, UpdateSegmentByUuidResponses, UpdateSegmentData, UpdateSegmentErrors, UpdateSegmentResponses, UpdateSeriesData, UpdateSeriesErrors, UpdateSeriesMediaData, UpdateSeriesMediaErrors, UpdateSeriesMediaResponses, UpdateSeriesResponses, UpdateUserPreferencesData, UpdateUserPreferencesErrors, UpdateUserPreferencesResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -16,14 +16,14 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
16
16
|
/**
|
|
17
17
|
* Search segments by query
|
|
18
18
|
*
|
|
19
|
-
* The primary search endpoint for finding Japanese segments and their translations across indexed media (anime, J-Drama
|
|
19
|
+
* The primary search endpoint for finding Japanese segments and their translations across indexed media (anime, J-Drama).
|
|
20
20
|
*
|
|
21
21
|
* This endpoint uses Elasticsearch with advanced Japanese text analysis supporting multiple input types (romaji, kanji, kana) and providing intelligent field-based boosting.
|
|
22
22
|
*
|
|
23
23
|
* **Query Features**
|
|
24
24
|
* - **Multi-language Support:** Search using Japanese (kanji/kana), Romaji, or English/Spanish
|
|
25
25
|
* - **Boolean Operators:** `AND`, `OR`, `NOT` supported (e.g., `(cat OR dog) AND bird`)
|
|
26
|
-
* - **Phrase Matching:** Use quotes for exact phrases (e.g., `"good morning"`), or pass `
|
|
26
|
+
* - **Phrase Matching:** Use quotes for exact phrases (e.g., `"good morning"`), or pass `exactMatch: true` to the request body
|
|
27
27
|
* - **Wildcards:** `te*t` format (leading wildcards not supported)
|
|
28
28
|
* - **Smart Field Selection:** Automatically chooses optimal search fields based on input type
|
|
29
29
|
*
|
|
@@ -101,234 +101,271 @@ export declare const createMedia: <ThrowOnError extends boolean = false>(options
|
|
|
101
101
|
*/
|
|
102
102
|
export declare const autocompleteMedia: <ThrowOnError extends boolean = false>(options: Options<AutocompleteMediaData, ThrowOnError>) => import("./client").RequestResult<AutocompleteMediaResponses, AutocompleteMediaErrors, ThrowOnError, "fields">;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Get segment by UUID or publicId
|
|
105
105
|
*
|
|
106
|
-
*
|
|
106
|
+
* Returns a specific segment by its UUID or publicId. A shortcut alternative to the nested `/media/{mediaId}/episodes/{episodeNumber}/segments/{id}` path.
|
|
107
107
|
*
|
|
108
|
-
*
|
|
108
|
+
* Pass `include[]=ratingAnalysis` and/or `include[]=posAnalysis` to receive raw analysis fields alongside the standard segment data.
|
|
109
|
+
*
|
|
110
|
+
* **Permissions:** `UPDATE_MEDIA` (API key) or admin session
|
|
109
111
|
*
|
|
110
112
|
*/
|
|
111
|
-
export declare const
|
|
113
|
+
export declare const getSegmentByUuid: <ThrowOnError extends boolean = false>(options: Options<GetSegmentByUuidData, ThrowOnError>) => import("./client").RequestResult<GetSegmentByUuidResponses, GetSegmentByUuidErrors, ThrowOnError, "fields">;
|
|
112
114
|
/**
|
|
113
|
-
*
|
|
115
|
+
* Update segment by UUID or publicId
|
|
114
116
|
*
|
|
115
|
-
*
|
|
117
|
+
* Updates an existing segment identified by its UUID or publicId. Performs the lookup internally,
|
|
118
|
+
* then applies the update. Only provided fields will be updated.
|
|
116
119
|
*
|
|
117
|
-
* **Permissions:** `
|
|
120
|
+
* **Permissions:** `UPDATE_MEDIA`
|
|
118
121
|
*
|
|
119
122
|
*/
|
|
120
|
-
export declare const
|
|
123
|
+
export declare const updateSegmentByUuid: <ThrowOnError extends boolean = false>(options: Options<UpdateSegmentByUuidData, ThrowOnError>) => import("./client").RequestResult<UpdateSegmentByUuidResponses, UpdateSegmentByUuidErrors, ThrowOnError, "fields">;
|
|
121
124
|
/**
|
|
122
|
-
*
|
|
125
|
+
* Get surrounding context for a segment
|
|
123
126
|
*
|
|
124
|
-
*
|
|
127
|
+
* Retrieves segments surrounding a specific segment within an episode.
|
|
128
|
+
* Returns segments both before and after the target, providing dialogue context for how a sentence is used.
|
|
125
129
|
*
|
|
126
|
-
* **Permissions:** `UPDATE_MEDIA`
|
|
130
|
+
* **Permissions:** `UPDATE_MEDIA` (API key) or admin session
|
|
127
131
|
*
|
|
128
132
|
*/
|
|
129
|
-
export declare const
|
|
133
|
+
export declare const getSegmentContext: <ThrowOnError extends boolean = false>(options: Options<GetSegmentContextData, ThrowOnError>) => import("./client").RequestResult<GetSegmentContextResponses, GetSegmentContextErrors, ThrowOnError, "fields">;
|
|
130
134
|
/**
|
|
131
|
-
* List
|
|
135
|
+
* List segment revision history
|
|
132
136
|
*
|
|
133
|
-
* Returns a
|
|
137
|
+
* Returns the revision history for a segment identified by UUID, ordered by most recent first.
|
|
138
|
+
*
|
|
139
|
+
* **Permissions:** `UPDATE_MEDIA` (API key) or admin session
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
export declare const listSegmentRevisions: <ThrowOnError extends boolean = false>(options: Options<ListSegmentRevisionsData, ThrowOnError>) => import("./client").RequestResult<ListSegmentRevisionsResponses, ListSegmentRevisionsErrors, ThrowOnError, "fields">;
|
|
143
|
+
/**
|
|
144
|
+
* List all series
|
|
145
|
+
*
|
|
146
|
+
* Returns a paginated list of media series groupings.
|
|
134
147
|
*
|
|
135
148
|
* **Permissions:** `READ_MEDIA`
|
|
136
149
|
*
|
|
137
150
|
*/
|
|
138
|
-
export declare const
|
|
151
|
+
export declare const listSeries: <ThrowOnError extends boolean = false>(options?: Options<ListSeriesData, ThrowOnError>) => import("./client").RequestResult<ListSeriesResponses, ListSeriesErrors, ThrowOnError, "fields">;
|
|
139
152
|
/**
|
|
140
|
-
* Create
|
|
153
|
+
* Create series
|
|
141
154
|
*
|
|
142
|
-
* Creates a new
|
|
155
|
+
* Creates a new media series grouping.
|
|
143
156
|
*
|
|
144
157
|
* **Permissions:** `ADD_MEDIA`
|
|
145
158
|
*
|
|
146
159
|
*/
|
|
147
|
-
export declare const
|
|
160
|
+
export declare const createSeries: <ThrowOnError extends boolean = false>(options: Options<CreateSeriesData, ThrowOnError>) => import("./client").RequestResult<CreateSeriesResponses, CreateSeriesErrors, ThrowOnError, "fields">;
|
|
148
161
|
/**
|
|
149
|
-
* Delete
|
|
162
|
+
* Delete series
|
|
150
163
|
*
|
|
151
|
-
*
|
|
164
|
+
* Deletes a series and all its media associations.
|
|
152
165
|
*
|
|
153
166
|
* **Permissions:** `REMOVE_MEDIA`
|
|
154
167
|
*
|
|
155
168
|
*/
|
|
156
|
-
export declare const
|
|
169
|
+
export declare const deleteSeries: <ThrowOnError extends boolean = false>(options: Options<DeleteSeriesData, ThrowOnError>) => import("./client").RequestResult<DeleteSeriesResponses, DeleteSeriesErrors, ThrowOnError, "fields">;
|
|
157
170
|
/**
|
|
158
|
-
* Get
|
|
171
|
+
* Get series details
|
|
159
172
|
*
|
|
160
|
-
* Returns a
|
|
173
|
+
* Returns a series with all media entries sorted by position.
|
|
161
174
|
*
|
|
162
175
|
* **Permissions:** `READ_MEDIA`
|
|
163
176
|
*
|
|
164
177
|
*/
|
|
165
|
-
export declare const
|
|
178
|
+
export declare const getSeries: <ThrowOnError extends boolean = false>(options: Options<GetSeriesData, ThrowOnError>) => import("./client").RequestResult<GetSeriesResponses, GetSeriesErrors, ThrowOnError, "fields">;
|
|
166
179
|
/**
|
|
167
|
-
* Update
|
|
180
|
+
* Update series metadata
|
|
168
181
|
*
|
|
169
|
-
* Updates
|
|
182
|
+
* Updates series localized names.
|
|
170
183
|
*
|
|
171
184
|
* **Permissions:** `UPDATE_MEDIA`
|
|
172
185
|
*
|
|
173
186
|
*/
|
|
174
|
-
export declare const
|
|
187
|
+
export declare const updateSeries: <ThrowOnError extends boolean = false>(options: Options<UpdateSeriesData, ThrowOnError>) => import("./client").RequestResult<UpdateSeriesResponses, UpdateSeriesErrors, ThrowOnError, "fields">;
|
|
175
188
|
/**
|
|
176
|
-
*
|
|
189
|
+
* Add media to series
|
|
177
190
|
*
|
|
178
|
-
*
|
|
191
|
+
* Adds a media entry to a series at a specific position.
|
|
179
192
|
*
|
|
180
|
-
* **Permissions:** `
|
|
193
|
+
* **Permissions:** `UPDATE_MEDIA`
|
|
181
194
|
*
|
|
182
195
|
*/
|
|
183
|
-
export declare const
|
|
196
|
+
export declare const addMediaToSeries: <ThrowOnError extends boolean = false>(options: Options<AddMediaToSeriesData, ThrowOnError>) => import("./client").RequestResult<AddMediaToSeriesResponses, AddMediaToSeriesErrors, ThrowOnError, "fields">;
|
|
184
197
|
/**
|
|
185
|
-
*
|
|
198
|
+
* Remove media from series
|
|
186
199
|
*
|
|
187
|
-
*
|
|
200
|
+
* Removes a media entry from a series.
|
|
201
|
+
*
|
|
202
|
+
* **Permissions:** `REMOVE_MEDIA`
|
|
203
|
+
*
|
|
204
|
+
*/
|
|
205
|
+
export declare const removeMediaFromSeries: <ThrowOnError extends boolean = false>(options: Options<RemoveMediaFromSeriesData, ThrowOnError>) => import("./client").RequestResult<RemoveMediaFromSeriesResponses, RemoveMediaFromSeriesErrors, ThrowOnError, "fields">;
|
|
206
|
+
/**
|
|
207
|
+
* Update media position in series
|
|
208
|
+
*
|
|
209
|
+
* Updates the position of a media entry in a series.
|
|
188
210
|
*
|
|
189
211
|
* **Permissions:** `UPDATE_MEDIA`
|
|
190
212
|
*
|
|
191
213
|
*/
|
|
192
|
-
export declare const
|
|
214
|
+
export declare const updateSeriesMedia: <ThrowOnError extends boolean = false>(options: Options<UpdateSeriesMediaData, ThrowOnError>) => import("./client").RequestResult<UpdateSeriesMediaResponses, UpdateSeriesMediaErrors, ThrowOnError, "fields">;
|
|
193
215
|
/**
|
|
194
|
-
*
|
|
216
|
+
* Get character details
|
|
195
217
|
*
|
|
196
|
-
*
|
|
218
|
+
* Returns a character with their voice actors (seiyuu) and all media appearances.
|
|
197
219
|
*
|
|
198
|
-
* **Permissions:** `
|
|
220
|
+
* **Permissions:** `READ_MEDIA`
|
|
199
221
|
*
|
|
200
222
|
*/
|
|
201
|
-
export declare const
|
|
223
|
+
export declare const getCharacter: <ThrowOnError extends boolean = false>(options: Options<GetCharacterData, ThrowOnError>) => import("./client").RequestResult<GetCharacterResponses, GetCharacterErrors, ThrowOnError, "fields">;
|
|
202
224
|
/**
|
|
203
|
-
* Get
|
|
225
|
+
* Get seiyuu details
|
|
204
226
|
*
|
|
205
|
-
* Returns a
|
|
227
|
+
* Returns a voice actor (seiyuu) with all characters they voiced and their media appearances.
|
|
206
228
|
*
|
|
207
229
|
* **Permissions:** `READ_MEDIA`
|
|
208
230
|
*
|
|
209
231
|
*/
|
|
210
|
-
export declare const
|
|
232
|
+
export declare const getSeiyuu: <ThrowOnError extends boolean = false>(options: Options<GetSeiyuuData, ThrowOnError>) => import("./client").RequestResult<GetSeiyuuResponses, GetSeiyuuErrors, ThrowOnError, "fields">;
|
|
211
233
|
/**
|
|
212
|
-
*
|
|
234
|
+
* Delete media (soft delete)
|
|
213
235
|
*
|
|
214
|
-
*
|
|
236
|
+
* Soft-deletes a media entry by setting the `deletedAt` timestamp. The media remains in the database but is excluded from query results.
|
|
215
237
|
*
|
|
216
|
-
* **Permissions:** `
|
|
238
|
+
* **Permissions:** `REMOVE_MEDIA`
|
|
217
239
|
*
|
|
218
240
|
*/
|
|
219
|
-
export declare const
|
|
241
|
+
export declare const deleteMedia: <ThrowOnError extends boolean = false>(options: Options<DeleteMediaData, ThrowOnError>) => import("./client").RequestResult<DeleteMediaResponses, DeleteMediaErrors, ThrowOnError, "fields">;
|
|
220
242
|
/**
|
|
221
|
-
* Get
|
|
243
|
+
* Get single media
|
|
222
244
|
*
|
|
223
|
-
* Returns a
|
|
245
|
+
* Returns a single media entry by its ID with full metadata.
|
|
224
246
|
*
|
|
225
247
|
* **Permissions:** `READ_MEDIA`
|
|
226
248
|
*
|
|
227
249
|
*/
|
|
228
|
-
export declare const
|
|
250
|
+
export declare const getMedia: <ThrowOnError extends boolean = false>(options: Options<GetMediaData, ThrowOnError>) => import("./client").RequestResult<GetMediaResponses, GetMediaErrors, ThrowOnError, "fields">;
|
|
229
251
|
/**
|
|
230
|
-
*
|
|
252
|
+
* Update media
|
|
231
253
|
*
|
|
232
|
-
*
|
|
233
|
-
* Returns segments both before and after the target, providing dialogue context for how a sentence is used.
|
|
254
|
+
* Updates an existing media entry. Only provided fields will be updated.
|
|
234
255
|
*
|
|
235
|
-
* **Permissions:** `
|
|
256
|
+
* **Permissions:** `UPDATE_MEDIA`
|
|
236
257
|
*
|
|
237
258
|
*/
|
|
238
|
-
export declare const
|
|
259
|
+
export declare const updateMedia: <ThrowOnError extends boolean = false>(options: Options<UpdateMediaData, ThrowOnError>) => import("./client").RequestResult<UpdateMediaResponses, UpdateMediaErrors, ThrowOnError, "fields">;
|
|
239
260
|
/**
|
|
240
|
-
* List
|
|
261
|
+
* List episodes for a media
|
|
241
262
|
*
|
|
242
|
-
* Returns a paginated list of
|
|
263
|
+
* Returns a paginated list of episodes for a specific media.
|
|
264
|
+
*
|
|
265
|
+
* **Permissions:** `READ_MEDIA`
|
|
243
266
|
*
|
|
244
267
|
*/
|
|
245
|
-
export declare const
|
|
268
|
+
export declare const listEpisodes: <ThrowOnError extends boolean = false>(options: Options<ListEpisodesData, ThrowOnError>) => import("./client").RequestResult<ListEpisodesResponses, ListEpisodesErrors, ThrowOnError, "fields">;
|
|
246
269
|
/**
|
|
247
|
-
* Create
|
|
270
|
+
* Create new episode
|
|
248
271
|
*
|
|
249
|
-
* Creates a new
|
|
272
|
+
* Creates a new episode for a specific media.
|
|
273
|
+
*
|
|
274
|
+
* **Permissions:** `ADD_MEDIA`
|
|
250
275
|
*
|
|
251
276
|
*/
|
|
252
|
-
export declare const
|
|
277
|
+
export declare const createEpisode: <ThrowOnError extends boolean = false>(options: Options<CreateEpisodeData, ThrowOnError>) => import("./client").RequestResult<CreateEpisodeResponses, CreateEpisodeErrors, ThrowOnError, "fields">;
|
|
253
278
|
/**
|
|
254
|
-
* Delete
|
|
279
|
+
* Delete an episode
|
|
255
280
|
*
|
|
256
|
-
*
|
|
281
|
+
* Soft-deletes an episode. Segments are not cascade deleted — this only hides the episode from results.
|
|
282
|
+
*
|
|
283
|
+
* **Permissions:** `REMOVE_MEDIA`
|
|
257
284
|
*
|
|
258
285
|
*/
|
|
259
|
-
export declare const
|
|
286
|
+
export declare const deleteEpisode: <ThrowOnError extends boolean = false>(options: Options<DeleteEpisodeData, ThrowOnError>) => import("./client").RequestResult<DeleteEpisodeResponses, DeleteEpisodeErrors, ThrowOnError, "fields">;
|
|
260
287
|
/**
|
|
261
|
-
* Get
|
|
288
|
+
* Get single episode
|
|
262
289
|
*
|
|
263
|
-
* Returns a
|
|
290
|
+
* Returns a specific episode by media ID and episode number.
|
|
291
|
+
*
|
|
292
|
+
* **Permissions:** `READ_MEDIA`
|
|
264
293
|
*
|
|
265
294
|
*/
|
|
266
|
-
export declare const
|
|
295
|
+
export declare const getEpisode: <ThrowOnError extends boolean = false>(options: Options<GetEpisodeData, ThrowOnError>) => import("./client").RequestResult<GetEpisodeResponses, GetEpisodeErrors, ThrowOnError, "fields">;
|
|
267
296
|
/**
|
|
268
|
-
* Update
|
|
297
|
+
* Update episode
|
|
269
298
|
*
|
|
270
|
-
* Updates
|
|
299
|
+
* Updates an existing episode. Only provided fields will be updated.
|
|
300
|
+
*
|
|
301
|
+
* **Permissions:** `UPDATE_MEDIA`
|
|
271
302
|
*
|
|
272
303
|
*/
|
|
273
|
-
export declare const
|
|
304
|
+
export declare const updateEpisode: <ThrowOnError extends boolean = false>(options: Options<UpdateEpisodeData, ThrowOnError>) => import("./client").RequestResult<UpdateEpisodeResponses, UpdateEpisodeErrors, ThrowOnError, "fields">;
|
|
274
305
|
/**
|
|
275
|
-
*
|
|
306
|
+
* List segments for an episode
|
|
276
307
|
*
|
|
277
|
-
*
|
|
308
|
+
* Returns a paginated list of segments for a specific episode.
|
|
309
|
+
*
|
|
310
|
+
* **Permissions:** `READ_MEDIA`
|
|
278
311
|
*
|
|
279
312
|
*/
|
|
280
|
-
export declare const
|
|
313
|
+
export declare const listSegments: <ThrowOnError extends boolean = false>(options: Options<ListSegmentsData, ThrowOnError>) => import("./client").RequestResult<ListSegmentsResponses, ListSegmentsErrors, ThrowOnError, "fields">;
|
|
281
314
|
/**
|
|
282
|
-
*
|
|
315
|
+
* Create new segment
|
|
283
316
|
*
|
|
284
|
-
*
|
|
317
|
+
* Creates a new segment for a specific episode.
|
|
318
|
+
*
|
|
319
|
+
* **Permissions:** `UPDATE_MEDIA`
|
|
285
320
|
*
|
|
286
321
|
*/
|
|
287
|
-
export declare const
|
|
322
|
+
export declare const createSegment: <ThrowOnError extends boolean = false>(options: Options<CreateSegmentData, ThrowOnError>) => import("./client").RequestResult<CreateSegmentResponses, CreateSegmentErrors, ThrowOnError, "fields">;
|
|
288
323
|
/**
|
|
289
|
-
*
|
|
324
|
+
* Batch create segments for an episode
|
|
290
325
|
*
|
|
291
|
-
*
|
|
326
|
+
* Creates multiple segments for a specific episode in a single request.
|
|
327
|
+
* Duplicate UUIDs are silently skipped.
|
|
328
|
+
*
|
|
329
|
+
* **Permissions:** `ADD_MEDIA`
|
|
292
330
|
*
|
|
293
331
|
*/
|
|
294
|
-
export declare const
|
|
332
|
+
export declare const createSegmentsBatch: <ThrowOnError extends boolean = false>(options: Options<CreateSegmentsBatchData, ThrowOnError>) => import("./client").RequestResult<CreateSegmentsBatchResponses, CreateSegmentsBatchErrors, ThrowOnError, "fields">;
|
|
295
333
|
/**
|
|
296
|
-
*
|
|
334
|
+
* Delete segment
|
|
297
335
|
*
|
|
298
|
-
*
|
|
336
|
+
* Soft-deletes a segment by setting its status to DELETED.
|
|
299
337
|
*
|
|
300
|
-
* **Permissions:** `
|
|
338
|
+
* **Permissions:** `REMOVE_MEDIA`
|
|
301
339
|
*
|
|
302
340
|
*/
|
|
303
|
-
export declare const
|
|
341
|
+
export declare const deleteSegment: <ThrowOnError extends boolean = false>(options: Options<DeleteSegmentData, ThrowOnError>) => import("./client").RequestResult<DeleteSegmentResponses, DeleteSegmentErrors, ThrowOnError, "fields">;
|
|
304
342
|
/**
|
|
305
|
-
* Get
|
|
343
|
+
* Get single segment
|
|
306
344
|
*
|
|
307
|
-
* Returns a
|
|
345
|
+
* Returns a specific segment by its ID within the media/episode hierarchy.
|
|
308
346
|
*
|
|
309
347
|
* **Permissions:** `READ_MEDIA`
|
|
310
348
|
*
|
|
311
349
|
*/
|
|
312
|
-
export declare const
|
|
350
|
+
export declare const getSegment: <ThrowOnError extends boolean = false>(options: Options<GetSegmentData, ThrowOnError>) => import("./client").RequestResult<GetSegmentResponses, GetSegmentErrors, ThrowOnError, "fields">;
|
|
313
351
|
/**
|
|
314
|
-
*
|
|
352
|
+
* Update segment
|
|
315
353
|
*
|
|
316
|
-
*
|
|
317
|
-
* Accepts both session cookie and API key authentication.
|
|
354
|
+
* Updates an existing segment. Only provided fields will be updated.
|
|
318
355
|
*
|
|
319
|
-
* **Permissions:**
|
|
356
|
+
* **Permissions:** `UPDATE_MEDIA`
|
|
320
357
|
*
|
|
321
358
|
*/
|
|
322
|
-
export declare const
|
|
359
|
+
export declare const updateSegment: <ThrowOnError extends boolean = false>(options: Options<UpdateSegmentData, ThrowOnError>) => import("./client").RequestResult<UpdateSegmentResponses, UpdateSegmentErrors, ThrowOnError, "fields">;
|
|
323
360
|
/**
|
|
324
|
-
*
|
|
361
|
+
* Get current monthly API quota
|
|
325
362
|
*
|
|
326
|
-
* Returns the
|
|
363
|
+
* Returns the API quota usage for the current billing period.
|
|
327
364
|
*
|
|
328
365
|
* **Permissions:** Session authentication (cookie-based).
|
|
329
366
|
*
|
|
330
367
|
*/
|
|
331
|
-
export declare const
|
|
368
|
+
export declare const getUserQuota: <ThrowOnError extends boolean = false>(options?: Options<GetUserQuotaData, ThrowOnError>) => import("./client").RequestResult<GetUserQuotaResponses, GetUserQuotaErrors, ThrowOnError, "fields">;
|
|
332
369
|
/**
|
|
333
370
|
* Create a new report
|
|
334
371
|
*
|
|
@@ -375,11 +412,20 @@ export declare const deleteUserActivity: <ThrowOnError extends boolean = false>(
|
|
|
375
412
|
*
|
|
376
413
|
*/
|
|
377
414
|
export declare const listUserActivity: <ThrowOnError extends boolean = false>(options?: Options<ListUserActivityData, ThrowOnError>) => import("./client").RequestResult<ListUserActivityResponses, ListUserActivityErrors, ThrowOnError, "fields">;
|
|
415
|
+
/**
|
|
416
|
+
* Track user activity
|
|
417
|
+
*
|
|
418
|
+
* Records a user activity event (e.g. segment play). Fire-and-forget — always returns 204.
|
|
419
|
+
*
|
|
420
|
+
* **Permissions:** Session authentication (cookie-based).
|
|
421
|
+
*
|
|
422
|
+
*/
|
|
423
|
+
export declare const trackUserActivity: <ThrowOnError extends boolean = false>(options: Options<TrackUserActivityData, ThrowOnError>) => import("./client").RequestResult<TrackUserActivityResponses, TrackUserActivityErrors, ThrowOnError, "fields">;
|
|
378
424
|
/**
|
|
379
425
|
* Get activity heatmap data
|
|
380
426
|
*
|
|
381
|
-
* Returns daily activity counts for the authenticated user, grouped by date.
|
|
382
|
-
*
|
|
427
|
+
* Returns daily activity counts for the authenticated user, grouped by date and activity type.
|
|
428
|
+
* Each day contains per-type counts that can be summed or filtered client-side.
|
|
383
429
|
*
|
|
384
430
|
* **Permissions:** Session authentication (cookie-based).
|
|
385
431
|
*
|
|
@@ -389,12 +435,30 @@ export declare const getUserActivityHeatmap: <ThrowOnError extends boolean = fal
|
|
|
389
435
|
* Get user activity statistics
|
|
390
436
|
*
|
|
391
437
|
* Returns aggregate statistics about the authenticated user's activity:
|
|
392
|
-
* total searches, exports, plays, and
|
|
438
|
+
* total searches, exports, plays, and top media.
|
|
393
439
|
*
|
|
394
440
|
* **Permissions:** Session authentication (cookie-based).
|
|
395
441
|
*
|
|
396
442
|
*/
|
|
397
443
|
export declare const getUserActivityStats: <ThrowOnError extends boolean = false>(options?: Options<GetUserActivityStatsData, ThrowOnError>) => import("./client").RequestResult<GetUserActivityStatsResponses, GetUserActivityStatsErrors, ThrowOnError, "fields">;
|
|
444
|
+
/**
|
|
445
|
+
* Delete all activity for a specific date
|
|
446
|
+
*
|
|
447
|
+
* Deletes all activity records for the authenticated user on the given date.
|
|
448
|
+
*
|
|
449
|
+
* **Permissions:** Session authentication (cookie-based).
|
|
450
|
+
*
|
|
451
|
+
*/
|
|
452
|
+
export declare const deleteUserActivityByDate: <ThrowOnError extends boolean = false>(options: Options<DeleteUserActivityByDateData, ThrowOnError>) => import("./client").RequestResult<DeleteUserActivityByDateResponses, DeleteUserActivityByDateErrors, ThrowOnError, "fields">;
|
|
453
|
+
/**
|
|
454
|
+
* Delete a single activity record
|
|
455
|
+
*
|
|
456
|
+
* Deletes a single activity record by ID for the authenticated user.
|
|
457
|
+
*
|
|
458
|
+
* **Permissions:** Session authentication (cookie-based).
|
|
459
|
+
*
|
|
460
|
+
*/
|
|
461
|
+
export declare const deleteUserActivityById: <ThrowOnError extends boolean = false>(options: Options<DeleteUserActivityByIdData, ThrowOnError>) => import("./client").RequestResult<DeleteUserActivityByIdResponses, DeleteUserActivityByIdErrors, ThrowOnError, "fields">;
|
|
398
462
|
/**
|
|
399
463
|
* Export all user data
|
|
400
464
|
*
|
|
@@ -416,6 +480,25 @@ export declare const exportUserData: <ThrowOnError extends boolean = false>(opti
|
|
|
416
480
|
*
|
|
417
481
|
*/
|
|
418
482
|
export declare const listUserLabs: <ThrowOnError extends boolean = false>(options?: Options<ListUserLabsData, ThrowOnError>) => import("./client").RequestResult<ListUserLabsResponses, ListUserLabsErrors, ThrowOnError, "fields">;
|
|
483
|
+
/**
|
|
484
|
+
* Unenroll from a lab feature
|
|
485
|
+
*
|
|
486
|
+
* Opts the authenticated user out of a lab feature.
|
|
487
|
+
*
|
|
488
|
+
* **Permissions:** Session authentication (cookie-based).
|
|
489
|
+
*
|
|
490
|
+
*/
|
|
491
|
+
export declare const unenrollUserLab: <ThrowOnError extends boolean = false>(options: Options<UnenrollUserLabData, ThrowOnError>) => import("./client").RequestResult<UnenrollUserLabResponses, UnenrollUserLabErrors, ThrowOnError, "fields">;
|
|
492
|
+
/**
|
|
493
|
+
* Enroll in a lab feature
|
|
494
|
+
*
|
|
495
|
+
* Opts the authenticated user into a lab feature. The user must be eligible
|
|
496
|
+
* for the lab (correct role, in allowlist or rollout percentage).
|
|
497
|
+
*
|
|
498
|
+
* **Permissions:** Session authentication (cookie-based).
|
|
499
|
+
*
|
|
500
|
+
*/
|
|
501
|
+
export declare const enrollUserLab: <ThrowOnError extends boolean = false>(options: Options<EnrollUserLabData, ThrowOnError>) => import("./client").RequestResult<EnrollUserLabResponses, EnrollUserLabErrors, ThrowOnError, "fields">;
|
|
419
502
|
/**
|
|
420
503
|
* List user's collections
|
|
421
504
|
*
|
|
@@ -472,6 +555,22 @@ export declare const removeSegmentFromCollection: <ThrowOnError extends boolean
|
|
|
472
555
|
*
|
|
473
556
|
*/
|
|
474
557
|
export declare const updateCollectionSegment: <ThrowOnError extends boolean = false>(options: Options<UpdateCollectionSegmentData, ThrowOnError>) => import("./client").RequestResult<UpdateCollectionSegmentResponses, UpdateCollectionSegmentErrors, ThrowOnError, "fields">;
|
|
558
|
+
/**
|
|
559
|
+
* Search collection segments
|
|
560
|
+
*
|
|
561
|
+
* Returns collection segments in search-response format with pagination.
|
|
562
|
+
* Reshapes the collection data: extracts segment results, includes media, computes pagination.
|
|
563
|
+
*
|
|
564
|
+
*/
|
|
565
|
+
export declare const searchCollectionSegments: <ThrowOnError extends boolean = false>(options: Options<SearchCollectionSegmentsData, ThrowOnError>) => import("./client").RequestResult<SearchCollectionSegmentsResponses, SearchCollectionSegmentsErrors, ThrowOnError, "fields">;
|
|
566
|
+
/**
|
|
567
|
+
* Get collection statistics
|
|
568
|
+
*
|
|
569
|
+
* Returns per-media segment counts and per-category counts for all segments in a collection.
|
|
570
|
+
* Pages through all collection segments internally to compute statistics.
|
|
571
|
+
*
|
|
572
|
+
*/
|
|
573
|
+
export declare const getCollectionStats: <ThrowOnError extends boolean = false>(options: Options<GetCollectionStatsData, ThrowOnError>) => import("./client").RequestResult<GetCollectionStatsResponses, GetCollectionStatsErrors, ThrowOnError, "fields">;
|
|
475
574
|
/**
|
|
476
575
|
* Admin dashboard statistics
|
|
477
576
|
*
|
|
@@ -496,12 +595,12 @@ export declare const getAdminHealth: <ThrowOnError extends boolean = false>(opti
|
|
|
496
595
|
* Reindex database into Elasticsearch
|
|
497
596
|
*
|
|
498
597
|
* Reindexes segments from the PostgreSQL database into Elasticsearch.
|
|
499
|
-
* Allows filtering by specific media
|
|
598
|
+
* Allows filtering by specific media entries and episodes.
|
|
500
599
|
*
|
|
501
600
|
* **Behavior:**
|
|
502
601
|
* - If no filters provided, reindexes all segments
|
|
503
|
-
* - If `
|
|
504
|
-
* - If `episodes
|
|
602
|
+
* - If `media` is provided, reindexes segments from those media entries
|
|
603
|
+
* - If a media item includes `episodes`, only those episodes are reindexed for that media
|
|
505
604
|
*
|
|
506
605
|
* **Permissions:** `ADD_MEDIA`
|
|
507
606
|
*
|
|
@@ -576,6 +675,22 @@ export declare const retryAdminQueueFailed: <ThrowOnError extends boolean = fals
|
|
|
576
675
|
*
|
|
577
676
|
*/
|
|
578
677
|
export declare const purgeAdminQueueFailed: <ThrowOnError extends boolean = false>(options: Options<PurgeAdminQueueFailedData, ThrowOnError>) => import("./client").RequestResult<PurgeAdminQueueFailedResponses, PurgeAdminQueueFailedErrors, ThrowOnError, "fields">;
|
|
678
|
+
/**
|
|
679
|
+
* Clear admin impersonation
|
|
680
|
+
*
|
|
681
|
+
* Clears the current impersonation session and related cookies.
|
|
682
|
+
* This endpoint is only available in local environment.
|
|
683
|
+
*
|
|
684
|
+
*/
|
|
685
|
+
export declare const clearAdminImpersonation: <ThrowOnError extends boolean = false>(options?: Options<ClearAdminImpersonationData, ThrowOnError>) => import("./client").RequestResult<ClearAdminImpersonationResponses, ClearAdminImpersonationErrors, ThrowOnError, "fields">;
|
|
686
|
+
/**
|
|
687
|
+
* Start admin impersonation
|
|
688
|
+
*
|
|
689
|
+
* Creates an impersonation session for the target user.
|
|
690
|
+
* This endpoint is only available in local environment.
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
export declare const impersonateAdminUser: <ThrowOnError extends boolean = false>(options: Options<ImpersonateAdminUserData, ThrowOnError>) => import("./client").RequestResult<ImpersonateAdminUserResponses, ImpersonateAdminUserErrors, ThrowOnError, "fields">;
|
|
579
694
|
/**
|
|
580
695
|
* List all reports
|
|
581
696
|
*
|
|
@@ -597,75 +712,62 @@ export declare const listAdminReports: <ThrowOnError extends boolean = false>(op
|
|
|
597
712
|
*/
|
|
598
713
|
export declare const updateAdminReport: <ThrowOnError extends boolean = false>(options: Options<UpdateAdminReportData, ThrowOnError>) => import("./client").RequestResult<UpdateAdminReportResponses, UpdateAdminReportErrors, ThrowOnError, "fields">;
|
|
599
714
|
/**
|
|
600
|
-
*
|
|
715
|
+
* List all media audits
|
|
601
716
|
*
|
|
602
|
-
*
|
|
717
|
+
* Returns all audit definitions with current config, threshold schema, and latest run info.
|
|
603
718
|
*
|
|
604
719
|
* **Permissions:** `ADD_MEDIA`
|
|
605
720
|
*
|
|
606
721
|
*/
|
|
607
|
-
export declare const
|
|
722
|
+
export declare const listAdminMediaAudits: <ThrowOnError extends boolean = false>(options?: Options<ListAdminMediaAuditsData, ThrowOnError>) => import("./client").RequestResult<ListAdminMediaAuditsResponses, ListAdminMediaAuditsErrors, ThrowOnError, "fields">;
|
|
608
723
|
/**
|
|
609
|
-
*
|
|
724
|
+
* Update a media audit config
|
|
610
725
|
*
|
|
611
|
-
*
|
|
726
|
+
* Updates the threshold values or enabled status of an audit.
|
|
612
727
|
*
|
|
613
728
|
* **Permissions:** `ADD_MEDIA`
|
|
614
729
|
*
|
|
615
730
|
*/
|
|
616
|
-
export declare const
|
|
731
|
+
export declare const updateAdminMediaAudit: <ThrowOnError extends boolean = false>(options: Options<UpdateAdminMediaAuditData, ThrowOnError>) => import("./client").RequestResult<UpdateAdminMediaAuditResponses, UpdateAdminMediaAuditErrors, ThrowOnError, "fields">;
|
|
617
732
|
/**
|
|
618
|
-
*
|
|
733
|
+
* Run a media audit
|
|
619
734
|
*
|
|
620
|
-
*
|
|
735
|
+
* Triggers all enabled audits (or a specific one). Creates MediaAuditRun records and AUTO reports for any findings.
|
|
621
736
|
*
|
|
622
737
|
* **Permissions:** `ADD_MEDIA`
|
|
623
738
|
*
|
|
624
739
|
*/
|
|
625
|
-
export declare const
|
|
740
|
+
export declare const runAdminMediaAudit: <ThrowOnError extends boolean = false>(options: Options<RunAdminMediaAuditData, ThrowOnError>) => import("./client").RequestResult<RunAdminMediaAuditResponses, RunAdminMediaAuditErrors, ThrowOnError, "fields">;
|
|
626
741
|
/**
|
|
627
|
-
* List past
|
|
742
|
+
* List past audit runs
|
|
628
743
|
*
|
|
629
|
-
* Returns past
|
|
744
|
+
* Returns past media audit runs with summary stats. Supports filtering by audit name and cursor pagination.
|
|
630
745
|
*
|
|
631
746
|
* **Permissions:** `ADD_MEDIA`
|
|
632
747
|
*
|
|
633
748
|
*/
|
|
634
|
-
export declare const
|
|
749
|
+
export declare const listAdminMediaAuditRuns: <ThrowOnError extends boolean = false>(options?: Options<ListAdminMediaAuditRunsData, ThrowOnError>) => import("./client").RequestResult<ListAdminMediaAuditRunsResponses, ListAdminMediaAuditRunsErrors, ThrowOnError, "fields">;
|
|
635
750
|
/**
|
|
636
|
-
* Get a specific run's details
|
|
751
|
+
* Get a specific audit run's details
|
|
637
752
|
*
|
|
638
|
-
* Returns a specific
|
|
753
|
+
* Returns a specific media audit run record with its linked reports.
|
|
639
754
|
*
|
|
640
755
|
* **Permissions:** `ADD_MEDIA`
|
|
641
756
|
*
|
|
642
757
|
*/
|
|
643
|
-
export declare const
|
|
758
|
+
export declare const getAdminMediaAuditRun: <ThrowOnError extends boolean = false>(options: Options<GetAdminMediaAuditRunData, ThrowOnError>) => import("./client").RequestResult<GetAdminMediaAuditRunResponses, GetAdminMediaAuditRunErrors, ThrowOnError, "fields">;
|
|
644
759
|
/**
|
|
645
|
-
*
|
|
646
|
-
*
|
|
647
|
-
* Returns all allowlisted items (media/episodes) that are excluded from auto-check runs.
|
|
760
|
+
* Get the current announcement
|
|
648
761
|
*
|
|
649
|
-
*
|
|
762
|
+
* Returns the current announcement if one is active. Public endpoint (no auth required).
|
|
650
763
|
*
|
|
651
764
|
*/
|
|
652
|
-
export declare const
|
|
765
|
+
export declare const getAnnouncement: <ThrowOnError extends boolean = false>(options?: Options<GetAnnouncementData, ThrowOnError>) => import("./client").RequestResult<GetAnnouncementResponses, GetAnnouncementErrors, ThrowOnError, "fields">;
|
|
653
766
|
/**
|
|
654
|
-
*
|
|
655
|
-
*
|
|
656
|
-
* Adds a media or episode to the allowlist for a specific check, excluding it from future auto-check runs.
|
|
767
|
+
* Create or update the announcement
|
|
657
768
|
*
|
|
658
|
-
*
|
|
659
|
-
*
|
|
660
|
-
*/
|
|
661
|
-
export declare const createAdminReviewAllowlistEntry: <ThrowOnError extends boolean = false>(options: Options<CreateAdminReviewAllowlistEntryData, ThrowOnError>) => import("./client").RequestResult<CreateAdminReviewAllowlistEntryResponses, CreateAdminReviewAllowlistEntryErrors, ThrowOnError, "fields">;
|
|
662
|
-
/**
|
|
663
|
-
* Remove from allowlist
|
|
664
|
-
*
|
|
665
|
-
* Removes an item from the review allowlist, re-enabling auto-checks for that media/episode.
|
|
666
|
-
*
|
|
667
|
-
* **Permissions:** `ADD_MEDIA`
|
|
769
|
+
* Upserts the site-wide announcement. Only one announcement exists at a time.
|
|
668
770
|
*
|
|
669
771
|
*/
|
|
670
|
-
export declare const
|
|
772
|
+
export declare const updateAnnouncement: <ThrowOnError extends boolean = false>(options: Options<UpdateAnnouncementData, ThrowOnError>) => import("./client").RequestResult<UpdateAnnouncementResponses, UpdateAnnouncementErrors, ThrowOnError, "fields">;
|
|
671
773
|
//# sourceMappingURL=sdk.gen.d.ts.map
|