@parra/parra-js-sdk 0.3.432 → 0.3.434
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 +7 -5
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -590,23 +590,25 @@ export interface UploadImageWithGroupRequestBody {
|
|
590
590
|
image: File;
|
591
591
|
group: string;
|
592
592
|
}
|
593
|
+
export declare enum ContentCardActionType {
|
594
|
+
link = "link",
|
595
|
+
feedbackForm = "feedback_form"
|
596
|
+
}
|
593
597
|
export interface CreateContentCardRequestBody {
|
594
598
|
background_image: File;
|
595
599
|
title: string;
|
596
600
|
description?: string | null;
|
597
601
|
display_title?: string | null;
|
598
602
|
display_description?: string | null;
|
603
|
+
action_type?: ContentCardActionType | null;
|
599
604
|
action_url?: string | null;
|
600
605
|
action_confirmation_message?: string | null;
|
606
|
+
action_form_id?: string | null;
|
601
607
|
badge?: string | null;
|
602
608
|
}
|
603
609
|
export interface ContentCardBackground {
|
604
610
|
image: ImageAssetStub | null;
|
605
611
|
}
|
606
|
-
export declare enum ContentCardActionType {
|
607
|
-
link = "link",
|
608
|
-
feedbackForm = "feedback_form"
|
609
|
-
}
|
610
612
|
export declare enum FeedbackFormFieldType {
|
611
613
|
text = "text",
|
612
614
|
input = "input",
|
@@ -1294,7 +1296,7 @@ export interface UpdateContentCardRequestBody {
|
|
1294
1296
|
description?: string | null;
|
1295
1297
|
display_title?: string | null;
|
1296
1298
|
display_description?: string | null;
|
1297
|
-
action_type?: ContentCardActionType;
|
1299
|
+
action_type?: ContentCardActionType | null;
|
1298
1300
|
action_url?: string | null;
|
1299
1301
|
action_confirmation_message?: string | null;
|
1300
1302
|
action_form_id?: string | null;
|