@inploi/plugin-chatbot 14.11.0 → 14.13.0

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/chatbot.d.ts CHANGED
@@ -84,6 +84,12 @@ export declare const chatbotPlugin: ({ _internal_domManager: dom, theme, terms,
84
84
  * keeps such a candidate on this chatbot rather than move them mid-application (PROD-7342).
85
85
  */
86
86
  hasApplicationInProgress: (params: OpenChatbotParams) => Promise<boolean>;
87
+ /**
88
+ * Whether this browser holds an application in progress for any job: the candidate loader's question when it
89
+ * cannot load this page's flow to ask `hasApplicationInProgress` (CF-06). Without the flow's nodes, any saved
90
+ * answer counts.
91
+ */
92
+ hasAnyApplicationInProgress: () => Promise<boolean>;
87
93
  close: () => Promise<void>;
88
94
  destroy: () => void;
89
95
  };
@@ -48,6 +48,25 @@ export declare const idb: {
48
48
  sequence: number;
49
49
  submissions: KeyToSubmissionMap;
50
50
  } | undefined>;
51
+ /** Every application saved in this browser, whatever its job or flow. */
52
+ getAllStateData: () => Promise<{
53
+ currentInput: ChatInput | null;
54
+ nodeHistory: string[];
55
+ startedWriteNodeIds?: string[];
56
+ failedAttemptAt?: Record<string, number>;
57
+ unconfirmedAttemptKeys?: string[];
58
+ submitCooldown?: SubmitCooldown;
59
+ submitRedirects?: Record<string, SubmitRedirect>;
60
+ applicationRecovery?: ApplicationRecovery;
61
+ flowSessionId: string;
62
+ isFinished: boolean;
63
+ hasInteracted?: boolean;
64
+ messages: (ChatMessage & {
65
+ groupId?: string;
66
+ })[];
67
+ sequence: number;
68
+ submissions: KeyToSubmissionMap;
69
+ }[] | never[]>;
51
70
  setStateData: (params: StartedFlow) => void;
52
71
  flushStateData: () => Promise<unknown>;
53
72
  };
package/dist/i18n.d.ts CHANGED
@@ -52,8 +52,8 @@ export declare const TranslationProvider: (props: {
52
52
  readonly complete_submission: "Complete submission";
53
53
  readonly submission_completed: "Submission completed!";
54
54
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
55
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
56
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
55
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
56
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
57
57
  readonly submission_available_at: "Submit will be available again at {{time}}.";
58
58
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
59
59
  readonly resume_continue: "Continue";
@@ -93,6 +93,7 @@ export declare const TranslationProvider: (props: {
93
93
  readonly validation_number: "Please enter a valid number";
94
94
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
95
95
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
96
+ readonly validation_number_whole: "Enter a whole number";
96
97
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
97
98
  readonly validation_file: "Please select a file";
98
99
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -172,8 +173,8 @@ export declare const TranslationProvider: (props: {
172
173
  readonly complete_submission: "Complete submission";
173
174
  readonly submission_completed: "Submission completed!";
174
175
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
175
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
176
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
176
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
177
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
177
178
  readonly submission_available_at: "Submit will be available again at {{time}}.";
178
179
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
179
180
  readonly resume_continue: "Continue";
@@ -213,6 +214,7 @@ export declare const TranslationProvider: (props: {
213
214
  readonly validation_number: "Please enter a valid number";
214
215
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
215
216
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
217
+ readonly validation_number_whole: "Enter a whole number";
216
218
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
217
219
  readonly validation_file: "Please select a file";
218
220
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -289,8 +291,8 @@ export declare const TranslationProvider: (props: {
289
291
  readonly complete_submission: "Complete submission";
290
292
  readonly submission_completed: "Submission completed!";
291
293
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
292
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
293
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
294
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
295
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
294
296
  readonly submission_available_at: "Submit will be available again at {{time}}.";
295
297
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
296
298
  readonly resume_continue: "Continue";
@@ -330,6 +332,7 @@ export declare const TranslationProvider: (props: {
330
332
  readonly validation_number: "Please enter a valid number";
331
333
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
332
334
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
335
+ readonly validation_number_whole: "Enter a whole number";
333
336
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
334
337
  readonly validation_file: "Please select a file";
335
338
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -409,8 +412,8 @@ export declare const TranslationProvider: (props: {
409
412
  readonly complete_submission: "Complete submission";
410
413
  readonly submission_completed: "Submission completed!";
411
414
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
412
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
413
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
415
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
416
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
414
417
  readonly submission_available_at: "Submit will be available again at {{time}}.";
415
418
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
416
419
  readonly resume_continue: "Continue";
@@ -450,6 +453,7 @@ export declare const TranslationProvider: (props: {
450
453
  readonly validation_number: "Please enter a valid number";
451
454
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
452
455
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
456
+ readonly validation_number_whole: "Enter a whole number";
453
457
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
454
458
  readonly validation_file: "Please select a file";
455
459
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -526,8 +530,8 @@ export declare const TranslationProvider: (props: {
526
530
  readonly complete_submission: "Complete submission";
527
531
  readonly submission_completed: "Submission completed!";
528
532
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
529
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
530
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
533
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
534
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
531
535
  readonly submission_available_at: "Submit will be available again at {{time}}.";
532
536
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
533
537
  readonly resume_continue: "Continue";
@@ -567,6 +571,7 @@ export declare const TranslationProvider: (props: {
567
571
  readonly validation_number: "Please enter a valid number";
568
572
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
569
573
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
574
+ readonly validation_number_whole: "Enter a whole number";
570
575
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
571
576
  readonly validation_file: "Please select a file";
572
577
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -644,8 +649,8 @@ export declare const TranslationProvider: (props: {
644
649
  readonly complete_submission: "Complete submission";
645
650
  readonly submission_completed: "Submission completed!";
646
651
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
647
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
648
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
652
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
653
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
649
654
  readonly submission_available_at: "Submit will be available again at {{time}}.";
650
655
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
651
656
  readonly resume_continue: "Continue";
@@ -685,6 +690,7 @@ export declare const TranslationProvider: (props: {
685
690
  readonly validation_number: "Please enter a valid number";
686
691
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
687
692
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
693
+ readonly validation_number_whole: "Enter a whole number";
688
694
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
689
695
  readonly validation_file: "Please select a file";
690
696
  readonly validation_file_ext: "Please only upload {{ext}} files";