@inploi/plugin-chatbot 14.4.0 → 14.6.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.
@@ -234,6 +234,7 @@ export declare const store: {
234
234
  question: string;
235
235
  optional: boolean;
236
236
  placeholder?: string | undefined;
237
+ line2Required?: boolean | undefined;
237
238
  };
238
239
  isHead?: boolean | undefined;
239
240
  nextId?: string | undefined;
@@ -404,7 +405,7 @@ export type ApplicationRecovery = {
404
405
  export type SubmitCooldown = {
405
406
  key: string;
406
407
  until: number;
407
- /** Consecutive throttled outcomes behind this wait, when it follows a throttle; it sets the next one (PROD-6636). */
408
+ /** Consecutive throttles or temporary outages behind this wait, when it follows one; it sets the next one (PROD-6636, PROD-7172). */
408
409
  throttles?: number;
409
410
  };
410
411
  /** Dynamic part of a flow */
@@ -432,7 +433,7 @@ export type FlowStateData = {
432
433
  unconfirmedAttemptKeys?: string[];
433
434
  /**
434
435
  * When submit becomes available again after an unsuccessful attempt, for the attempt key above (PROD-7112),
435
- * and how many throttles in a row led to it (PROD-6636). Cleared by a success. Kept across Restart so neither
436
+ * and how many throttles or outages in a row led to it (PROD-6636, PROD-7172). Cleared by a success. Kept across Restart so neither
436
437
  * Restart nor a reload skips the wait or resets the escalation; browser-local, like the barrier.
437
438
  */
438
439
  submitCooldown?: SubmitCooldown;
@@ -193,6 +193,7 @@ export declare const getHeadOrThrow: (nodes: FlowNode[]) => {
193
193
  question: string;
194
194
  optional: boolean;
195
195
  placeholder?: string | undefined;
196
+ line2Required?: boolean | undefined;
196
197
  };
197
198
  isHead?: boolean | undefined;
198
199
  nextId?: string | undefined;
@@ -10,6 +10,7 @@ export type AddressInputPayload = {
10
10
  config: {
11
11
  optional: boolean;
12
12
  keys: QuestionAddressNode['data']['keys'];
13
+ line2Required?: boolean;
13
14
  placeholder?: string;
14
15
  };
15
16
  submission: FlowSubmissionAddress | null;
package/dist/i18n.d.ts CHANGED
@@ -39,6 +39,7 @@ export declare const TranslationProvider: (props: {
39
39
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
40
40
  readonly complete_submission: "Complete submission";
41
41
  readonly submission_completed: "Submission completed!";
42
+ readonly submission_pending: "Thanks, we've received your application and are processing it.";
42
43
  readonly close_application: "Close application";
43
44
  readonly invalid_state: "Invalid application state";
44
45
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -138,6 +139,7 @@ export declare const TranslationProvider: (props: {
138
139
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
139
140
  readonly complete_submission: "Complete submission";
140
141
  readonly submission_completed: "Submission completed!";
142
+ readonly submission_pending: "Thanks, we've received your application and are processing it.";
141
143
  readonly close_application: "Close application";
142
144
  readonly invalid_state: "Invalid application state";
143
145
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -234,6 +236,7 @@ export declare const TranslationProvider: (props: {
234
236
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
235
237
  readonly complete_submission: "Complete submission";
236
238
  readonly submission_completed: "Submission completed!";
239
+ readonly submission_pending: "Thanks, we've received your application and are processing it.";
237
240
  readonly close_application: "Close application";
238
241
  readonly invalid_state: "Invalid application state";
239
242
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -333,6 +336,7 @@ export declare const TranslationProvider: (props: {
333
336
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
334
337
  readonly complete_submission: "Complete submission";
335
338
  readonly submission_completed: "Submission completed!";
339
+ readonly submission_pending: "Thanks, we've received your application and are processing it.";
336
340
  readonly close_application: "Close application";
337
341
  readonly invalid_state: "Invalid application state";
338
342
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -429,6 +433,7 @@ export declare const TranslationProvider: (props: {
429
433
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
430
434
  readonly complete_submission: "Complete submission";
431
435
  readonly submission_completed: "Submission completed!";
436
+ readonly submission_pending: "Thanks, we've received your application and are processing it.";
432
437
  readonly close_application: "Close application";
433
438
  readonly invalid_state: "Invalid application state";
434
439
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -526,6 +531,7 @@ export declare const TranslationProvider: (props: {
526
531
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
527
532
  readonly complete_submission: "Complete submission";
528
533
  readonly submission_completed: "Submission completed!";
534
+ readonly submission_pending: "Thanks, we've received your application and are processing it.";
529
535
  readonly close_application: "Close application";
530
536
  readonly invalid_state: "Invalid application state";
531
537
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";