@pushwoosh/rpc-gateway-ai-assistant 0.1.674 → 0.1.676
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/data.js +11 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +8 -2
package/data.js
CHANGED
|
@@ -849,6 +849,9 @@ export const data = {
|
|
|
849
849
|
},
|
|
850
850
|
"borderColor": {
|
|
851
851
|
"type": "string"
|
|
852
|
+
},
|
|
853
|
+
"maxValue": {
|
|
854
|
+
"type": "number"
|
|
852
855
|
}
|
|
853
856
|
}
|
|
854
857
|
},
|
|
@@ -1109,6 +1112,14 @@ export const data = {
|
|
|
1109
1112
|
"checkboxes": {
|
|
1110
1113
|
"type": "pushwoosh.aibuilder.v1.InAppFormCheckbox",
|
|
1111
1114
|
"array": true
|
|
1115
|
+
},
|
|
1116
|
+
"successBlocks": {
|
|
1117
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderBlock",
|
|
1118
|
+
"array": true
|
|
1119
|
+
},
|
|
1120
|
+
"confirmBlocks": {
|
|
1121
|
+
"type": "pushwoosh.aibuilder.v1.AiBuilderBlock",
|
|
1122
|
+
"array": true
|
|
1112
1123
|
}
|
|
1113
1124
|
}
|
|
1114
1125
|
},
|
package/package.json
CHANGED
|
@@ -731,6 +731,8 @@ export type Rating = {
|
|
|
731
731
|
fillColor: string;
|
|
732
732
|
/** NPS cell border (#RGB / #RRGGBB); empty = the mockup's grey. */
|
|
733
733
|
borderColor: string;
|
|
734
|
+
/** NPS top value: the numbers run 0..max_value (clamped to 1..10); 0 = the legacy 1..5. */
|
|
735
|
+
maxValue: number;
|
|
734
736
|
};
|
|
735
737
|
export type ChoiceView =
|
|
736
738
|
/** treated as radio buttons / checkboxes by `multiple` */
|
|
@@ -844,12 +846,16 @@ export type InAppForm = {
|
|
|
844
846
|
question: string;
|
|
845
847
|
fields: InAppFormField[];
|
|
846
848
|
submit: AnswerSubmit;
|
|
847
|
-
/**
|
|
849
|
+
/** Legacy, superseded by success_blocks: the text-only success screen, used while success_blocks is empty. */
|
|
848
850
|
subscribed: InAppFormSuccess;
|
|
849
|
-
/**
|
|
851
|
+
/** Legacy, superseded by confirm_blocks: the double opt-in screen, used while confirm_blocks is empty. */
|
|
850
852
|
confirmEmail: InAppFormSuccess;
|
|
851
853
|
/** Up to five, rendered after the fields in this order; empty = no checkboxes. */
|
|
852
854
|
checkboxes: InAppFormCheckbox[];
|
|
855
|
+
/** Stage 2, the Success tab: blocks shown after the form went out; nested by parent_id like a page's. */
|
|
856
|
+
successBlocks: AiBuilderBlock[];
|
|
857
|
+
/** Stage 3: blocks shown when the application's double opt-in sent a confirmation letter. */
|
|
858
|
+
confirmBlocks: AiBuilderBlock[];
|
|
853
859
|
};
|
|
854
860
|
/**
|
|
855
861
|
* Countdown timer. Renders in email HTML as an animated GIF served by this
|