@parra/parra-js-sdk 0.3.416 → 0.3.417
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/dist/ParraAPI.d.ts +32 -12
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -302,6 +302,7 @@ export interface TenantAppInfoStub {
|
|
302
302
|
subdomain?: string | null;
|
303
303
|
is_test: boolean;
|
304
304
|
parent_tenant_id?: string | null;
|
305
|
+
display_name?: string | null;
|
305
306
|
logo?: ImageAssetStub | null;
|
306
307
|
issuer: string;
|
307
308
|
domains: Array<Domain> | null;
|
@@ -1292,6 +1293,17 @@ export declare enum FeedItemType {
|
|
1292
1293
|
contentCard = "content_card",
|
1293
1294
|
creatorUpdate = "creator_update"
|
1294
1295
|
}
|
1296
|
+
export interface EntitlementStub {
|
1297
|
+
id: string;
|
1298
|
+
title: string;
|
1299
|
+
key: string;
|
1300
|
+
is_consumable: boolean;
|
1301
|
+
is_free: boolean;
|
1302
|
+
}
|
1303
|
+
export interface AppPaywallConfiguration {
|
1304
|
+
context?: string | null;
|
1305
|
+
entitlement?: EntitlementStub;
|
1306
|
+
}
|
1295
1307
|
export interface YoutubeThumbnail {
|
1296
1308
|
url: string;
|
1297
1309
|
width: number;
|
@@ -1327,6 +1339,23 @@ export interface YoutubeVideo {
|
|
1327
1339
|
live_broadcast_content?: string | null;
|
1328
1340
|
statistics?: YoutubeStatistics | null;
|
1329
1341
|
}
|
1342
|
+
export interface AppYoutubeVideo {
|
1343
|
+
id: string;
|
1344
|
+
created_at: string;
|
1345
|
+
updated_at: string;
|
1346
|
+
deleted_at?: string | null;
|
1347
|
+
url: string;
|
1348
|
+
video_id: string;
|
1349
|
+
title: string;
|
1350
|
+
channel_title: string;
|
1351
|
+
channel_id: string;
|
1352
|
+
description?: string;
|
1353
|
+
thumbnails: YoutubeThumbnails;
|
1354
|
+
published_at: string;
|
1355
|
+
live_broadcast_content?: string | null;
|
1356
|
+
statistics?: YoutubeStatistics | null;
|
1357
|
+
paywall?: AppPaywallConfiguration | null;
|
1358
|
+
}
|
1330
1359
|
export interface AppContentCard {
|
1331
1360
|
id: string;
|
1332
1361
|
created_at: string;
|
@@ -1338,17 +1367,6 @@ export interface AppContentCard {
|
|
1338
1367
|
badge?: string | null;
|
1339
1368
|
action?: ContentCardAction | null;
|
1340
1369
|
}
|
1341
|
-
export interface EntitlementStub {
|
1342
|
-
id: string;
|
1343
|
-
title: string;
|
1344
|
-
key: string;
|
1345
|
-
is_consumable: boolean;
|
1346
|
-
is_free: boolean;
|
1347
|
-
}
|
1348
|
-
export interface AppPaywallConfiguration {
|
1349
|
-
context?: string | null;
|
1350
|
-
entitlement?: EntitlementStub;
|
1351
|
-
}
|
1352
1370
|
export interface CreatorUpdateAppStub {
|
1353
1371
|
id: string;
|
1354
1372
|
created_at: string;
|
@@ -1360,7 +1378,7 @@ export interface CreatorUpdateAppStub {
|
|
1360
1378
|
attachments?: Array<CreatorUpdateAttachmentStub>;
|
1361
1379
|
attachment_paywall?: AppPaywallConfiguration | null;
|
1362
1380
|
}
|
1363
|
-
export type FeedItemData =
|
1381
|
+
export type FeedItemData = AppYoutubeVideo | AppContentCard | CreatorUpdateAppStub;
|
1364
1382
|
export declare enum ReactionType {
|
1365
1383
|
emoji = "emoji",
|
1366
1384
|
custom = "custom"
|
@@ -3400,6 +3418,7 @@ export interface Tenant {
|
|
3400
3418
|
subdomain?: string | null;
|
3401
3419
|
is_test: boolean;
|
3402
3420
|
parent_tenant_id?: string | null;
|
3421
|
+
display_name?: string | null;
|
3403
3422
|
logo?: ImageAssetStub | null;
|
3404
3423
|
issuer: string;
|
3405
3424
|
domains: Array<Domain> | null;
|
@@ -3834,6 +3853,7 @@ export interface CreateTenantUserIdentityRequestBody {
|
|
3834
3853
|
}
|
3835
3854
|
export interface UpdateTenantRequestBody {
|
3836
3855
|
name?: string;
|
3856
|
+
display_name?: string | null;
|
3837
3857
|
subdomain?: string | null;
|
3838
3858
|
onboarding_skipped?: boolean;
|
3839
3859
|
onboarding_goal?: TenantOnboardingGoal | null;
|