@myinterview/chatbot 0.1.74-experimental-ec4a5ef → 0.1.75-experimental-2df8c95
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/index.d.ts +21 -0
- package/dist/index.js +12050 -12036
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -51,8 +51,25 @@ declare type EmptyObject = Record<never, never>;
|
|
|
51
51
|
declare type Feedback = {
|
|
52
52
|
points: 1 | 0 | -1;
|
|
53
53
|
note?: string;
|
|
54
|
+
header?: string;
|
|
55
|
+
feedbackText?: {
|
|
56
|
+
[FeedbackID.LIKE]: string;
|
|
57
|
+
[FeedbackID.OKAY]: string;
|
|
58
|
+
[FeedbackID.DISLIKE]: string;
|
|
59
|
+
};
|
|
60
|
+
notePlaceholder?: string;
|
|
61
|
+
submitText?: string;
|
|
62
|
+
thankYouText?: string;
|
|
63
|
+
closeText?: string;
|
|
64
|
+
errorText?: string;
|
|
54
65
|
};
|
|
55
66
|
|
|
67
|
+
declare enum FeedbackID {
|
|
68
|
+
LIKE = 1,
|
|
69
|
+
OKAY = 2,
|
|
70
|
+
DISLIKE = 3
|
|
71
|
+
}
|
|
72
|
+
|
|
56
73
|
declare type FeedbackModule = ChatModule<ModuleName.FEEDBACK, ModuleType.FEEDBACK, Feedback>;
|
|
57
74
|
|
|
58
75
|
declare type FileUploadModule = ChatModule<ModuleName.FILE_UPLOAD, ModuleType.FILE_UPLOAD>;
|
|
@@ -311,12 +328,16 @@ declare type ReduxConversationAttributes = {
|
|
|
311
328
|
email?: string;
|
|
312
329
|
username?: string;
|
|
313
330
|
lang?: string;
|
|
331
|
+
termsUrl?: string;
|
|
314
332
|
text?: {
|
|
315
333
|
online?: string;
|
|
316
334
|
offline?: string;
|
|
317
335
|
input_placeholder?: string;
|
|
318
336
|
waiting_for_permission?: string;
|
|
319
337
|
record_answer?: string;
|
|
338
|
+
terms?: string;
|
|
339
|
+
powered_by?: string;
|
|
340
|
+
processing_request?: string;
|
|
320
341
|
};
|
|
321
342
|
};
|
|
322
343
|
|