@parra/parra-js-sdk 0.3.363 → 0.3.365
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/ParraAPI.d.ts +52 -52
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1016,7 +1016,7 @@ export interface CreatorUpdateSender {
|
|
1016
1016
|
tenant_id: string;
|
1017
1017
|
name: string;
|
1018
1018
|
avatar?: ImageAssetStub | null;
|
1019
|
-
verified
|
1019
|
+
verified: boolean;
|
1020
1020
|
}
|
1021
1021
|
export interface CreatorUpdateSenderCollectionResponse {
|
1022
1022
|
page: number;
|
@@ -1049,6 +1049,55 @@ export interface CreateCreatorUpdateTemplateRequestBody {
|
|
1049
1049
|
post_visibility?: CreatorUpdateVisibilityType;
|
1050
1050
|
attachment_visibility?: CreatorUpdateVisibilityType;
|
1051
1051
|
}
|
1052
|
+
export interface CreatorUpdateVisibility {
|
1053
|
+
entitlement_id?: string | null;
|
1054
|
+
post_visibility: CreatorUpdateVisibilityType;
|
1055
|
+
attachment_visibility?: CreatorUpdateVisibilityType | null;
|
1056
|
+
}
|
1057
|
+
export interface CreatorUpdateTemplate {
|
1058
|
+
id: string;
|
1059
|
+
created_at: string;
|
1060
|
+
updated_at: string;
|
1061
|
+
deleted_at?: string | null;
|
1062
|
+
tenant_id: string;
|
1063
|
+
sender_id?: string;
|
1064
|
+
feed_view_id?: string;
|
1065
|
+
notification_template_id?: string;
|
1066
|
+
name: string;
|
1067
|
+
description?: string;
|
1068
|
+
visibility: CreatorUpdateVisibility;
|
1069
|
+
}
|
1070
|
+
export interface CreatorUpdateTemplateCollectionResponse {
|
1071
|
+
page: number;
|
1072
|
+
page_count: number;
|
1073
|
+
page_size: number;
|
1074
|
+
total_count: number;
|
1075
|
+
data: Array<CreatorUpdateTemplate>;
|
1076
|
+
}
|
1077
|
+
export interface UpdateCreatorUpdateTemplateRequestBody {
|
1078
|
+
name?: string;
|
1079
|
+
description?: string | null;
|
1080
|
+
sender_id?: string;
|
1081
|
+
feed_view_id?: string;
|
1082
|
+
notification_template_id?: string;
|
1083
|
+
entitlement_id?: string | null;
|
1084
|
+
post_visibility?: CreatorUpdateVisibilityType;
|
1085
|
+
attachment_visibility?: CreatorUpdateVisibilityType;
|
1086
|
+
}
|
1087
|
+
export interface CreateCreatorAttachmentAttachmentRequestBody {
|
1088
|
+
id: string;
|
1089
|
+
size: Size;
|
1090
|
+
url: string;
|
1091
|
+
blur_hash?: string | null;
|
1092
|
+
thumbnails?: ImageAssetThumbnails | null;
|
1093
|
+
}
|
1094
|
+
export interface CreateCreatorUpdateRequestBody {
|
1095
|
+
publish?: boolean | null;
|
1096
|
+
template_id?: string | null;
|
1097
|
+
title: string;
|
1098
|
+
body?: string | null;
|
1099
|
+
attachments?: Array<CreateCreatorAttachmentAttachmentRequestBody>;
|
1100
|
+
}
|
1052
1101
|
export declare enum CreatorUpdateStatus {
|
1053
1102
|
draft = "draft",
|
1054
1103
|
published = "published"
|
@@ -1057,17 +1106,12 @@ export interface CreatorUpdateSenderStub {
|
|
1057
1106
|
id: string;
|
1058
1107
|
name: string;
|
1059
1108
|
avatar?: ImageAssetStub | null;
|
1060
|
-
verified
|
1109
|
+
verified: boolean;
|
1061
1110
|
}
|
1062
1111
|
export interface CreatorUpdateAttachmentStub {
|
1063
1112
|
id: string;
|
1064
1113
|
image?: ImageAssetStub | null;
|
1065
1114
|
}
|
1066
|
-
export interface CreatorUpdateVisibility {
|
1067
|
-
entitlement_id?: string | null;
|
1068
|
-
post_visibility: CreatorUpdateVisibilityType;
|
1069
|
-
attachment_visibility?: CreatorUpdateVisibilityType | null;
|
1070
|
-
}
|
1071
1115
|
export declare enum CreatorUpdateChannelType {
|
1072
1116
|
feed = "feed",
|
1073
1117
|
notification = "notification"
|
@@ -1107,50 +1151,6 @@ export interface CreatorUpdate {
|
|
1107
1151
|
visibility: CreatorUpdateVisibility;
|
1108
1152
|
channels: Array<CreatorUpdateChannel>;
|
1109
1153
|
}
|
1110
|
-
export interface CreatorUpdateTemplate {
|
1111
|
-
id: string;
|
1112
|
-
created_at: string;
|
1113
|
-
updated_at: string;
|
1114
|
-
deleted_at?: string | null;
|
1115
|
-
tenant_id: string;
|
1116
|
-
sender_id?: string;
|
1117
|
-
feed_view_id?: string;
|
1118
|
-
notification_template_id?: string;
|
1119
|
-
name: string;
|
1120
|
-
description?: string;
|
1121
|
-
visibility: CreatorUpdateVisibility;
|
1122
|
-
}
|
1123
|
-
export interface CreatorUpdateTemplateCollectionResponse {
|
1124
|
-
page: number;
|
1125
|
-
page_count: number;
|
1126
|
-
page_size: number;
|
1127
|
-
total_count: number;
|
1128
|
-
data: Array<CreatorUpdateTemplate>;
|
1129
|
-
}
|
1130
|
-
export interface UpdateCreatorUpdateTemplateRequestBody {
|
1131
|
-
name?: string;
|
1132
|
-
description?: string | null;
|
1133
|
-
sender_id?: string;
|
1134
|
-
feed_view_id?: string;
|
1135
|
-
notification_template_id?: string;
|
1136
|
-
entitlement_id?: string | null;
|
1137
|
-
post_visibility?: CreatorUpdateVisibilityType;
|
1138
|
-
attachment_visibility?: CreatorUpdateVisibilityType;
|
1139
|
-
}
|
1140
|
-
export interface CreateCreatorAttachmentAttachmentRequestBody {
|
1141
|
-
id: string;
|
1142
|
-
size: Size;
|
1143
|
-
url: string;
|
1144
|
-
blur_hash?: string | null;
|
1145
|
-
thumbnails?: ImageAssetThumbnails | null;
|
1146
|
-
}
|
1147
|
-
export interface CreateCreatorUpdateRequestBody {
|
1148
|
-
publish?: boolean | null;
|
1149
|
-
template_id?: string | null;
|
1150
|
-
title: string;
|
1151
|
-
body?: string | null;
|
1152
|
-
attachments?: Array<CreateCreatorAttachmentAttachmentRequestBody>;
|
1153
|
-
}
|
1154
1154
|
export interface CreatorUpdateCollectionResponse {
|
1155
1155
|
page: number;
|
1156
1156
|
page_count: number;
|
@@ -4016,7 +4016,7 @@ declare class ParraAPI {
|
|
4016
4016
|
createCreatorUpdateSenderForTenant: (tenant_id: string, body: CreateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
|
4017
4017
|
updateCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, body?: UpdateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
|
4018
4018
|
deleteCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, options?: Options) => Promise<Response>;
|
4019
|
-
createCreatorUpdateTemplateForTenant: (tenant_id: string, body: CreateCreatorUpdateTemplateRequestBody, options?: Options) => Promise<
|
4019
|
+
createCreatorUpdateTemplateForTenant: (tenant_id: string, body: CreateCreatorUpdateTemplateRequestBody, options?: Options) => Promise<CreatorUpdateTemplate>;
|
4020
4020
|
paginateCreatorUpdateTemplatesForTenant: (tenant_id: string, query?: {
|
4021
4021
|
$select?: string;
|
4022
4022
|
$top?: number;
|