@onlive.ai/flow-client 0.1.73 → 0.1.80

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.
@@ -2442,13 +2442,13 @@ declare const Step: z.ZodObject<{
2442
2442
  preload?: boolean | undefined;
2443
2443
  }>, "many">>;
2444
2444
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
2445
- name: z.ZodEnum<["organization_call", "close_panel"]>;
2445
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
2446
2446
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2447
2447
  }, "strip", z.ZodTypeAny, {
2448
- name: "organization_call" | "close_panel";
2448
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2449
2449
  params?: Record<string, any> | undefined;
2450
2450
  }, {
2451
- name: "organization_call" | "close_panel";
2451
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2452
2452
  params?: Record<string, any> | undefined;
2453
2453
  }>, "many">>;
2454
2454
  }, "strip", z.ZodTypeAny, {
@@ -2475,7 +2475,7 @@ declare const Step: z.ZodObject<{
2475
2475
  icon?: string | undefined;
2476
2476
  } | undefined;
2477
2477
  events?: {
2478
- name: "organization_call" | "close_panel";
2478
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2479
2479
  params?: Record<string, any> | undefined;
2480
2480
  }[] | undefined;
2481
2481
  }, {
@@ -2502,7 +2502,7 @@ declare const Step: z.ZodObject<{
2502
2502
  icon?: string | undefined;
2503
2503
  } | undefined;
2504
2504
  events?: {
2505
- name: "organization_call" | "close_panel";
2505
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2506
2506
  params?: Record<string, any> | undefined;
2507
2507
  }[] | undefined;
2508
2508
  }>, "many">>;
@@ -2944,7 +2944,7 @@ declare const Step: z.ZodObject<{
2944
2944
  icon?: string | undefined;
2945
2945
  } | undefined;
2946
2946
  events?: {
2947
- name: "organization_call" | "close_panel";
2947
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2948
2948
  params?: Record<string, any> | undefined;
2949
2949
  }[] | undefined;
2950
2950
  }[] | undefined;
@@ -3048,7 +3048,7 @@ declare const Step: z.ZodObject<{
3048
3048
  icon?: string | undefined;
3049
3049
  } | undefined;
3050
3050
  events?: {
3051
- name: "organization_call" | "close_panel";
3051
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3052
3052
  params?: Record<string, any> | undefined;
3053
3053
  }[] | undefined;
3054
3054
  }[] | undefined;
@@ -3058,24 +3058,360 @@ declare const Step: z.ZodObject<{
3058
3058
  configuration: z.ZodOptional<z.ZodObject<{
3059
3059
  generic: z.ZodOptional<z.ZodObject<{
3060
3060
  error: z.ZodObject<{
3061
- icon: z.ZodOptional<z.ZodString>;
3062
- showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
3061
+ loading: z.ZodOptional<z.ZodObject<{
3062
+ message: z.ZodOptional<z.ZodString>;
3063
+ icon: z.ZodOptional<z.ZodString>;
3064
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
3065
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
3066
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3067
+ id: z.ZodString;
3068
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
3069
+ label: z.ZodString;
3070
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
3071
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
3072
+ url: z.ZodOptional<z.ZodString>;
3073
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
3074
+ prefix: z.ZodOptional<z.ZodObject<{
3075
+ text: z.ZodOptional<z.ZodString>;
3076
+ icon: z.ZodOptional<z.ZodString>;
3077
+ }, "strip", z.ZodTypeAny, {
3078
+ text?: string | undefined;
3079
+ icon?: string | undefined;
3080
+ }, {
3081
+ text?: string | undefined;
3082
+ icon?: string | undefined;
3083
+ }>>;
3084
+ suffix: z.ZodOptional<z.ZodObject<{
3085
+ text: z.ZodOptional<z.ZodString>;
3086
+ icon: z.ZodOptional<z.ZodString>;
3087
+ }, "strip", z.ZodTypeAny, {
3088
+ text?: string | undefined;
3089
+ icon?: string | undefined;
3090
+ }, {
3091
+ text?: string | undefined;
3092
+ icon?: string | undefined;
3093
+ }>>;
3094
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
3095
+ src: z.ZodString;
3096
+ preload: z.ZodOptional<z.ZodBoolean>;
3097
+ name: z.ZodString;
3098
+ function: z.ZodString;
3099
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3100
+ }, "strip", z.ZodTypeAny, {
3101
+ function: string;
3102
+ name: string;
3103
+ src: string;
3104
+ params?: Record<string, any> | undefined;
3105
+ preload?: boolean | undefined;
3106
+ }, {
3107
+ function: string;
3108
+ name: string;
3109
+ src: string;
3110
+ params?: Record<string, any> | undefined;
3111
+ preload?: boolean | undefined;
3112
+ }>, "many">>;
3113
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
3114
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
3115
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3116
+ }, "strip", z.ZodTypeAny, {
3117
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3118
+ params?: Record<string, any> | undefined;
3119
+ }, {
3120
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3121
+ params?: Record<string, any> | undefined;
3122
+ }>, "many">>;
3123
+ }, "strip", z.ZodTypeAny, {
3124
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3125
+ label: string;
3126
+ id: string;
3127
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3128
+ url?: string | undefined;
3129
+ scripts?: {
3130
+ function: string;
3131
+ name: string;
3132
+ src: string;
3133
+ params?: Record<string, any> | undefined;
3134
+ preload?: boolean | undefined;
3135
+ }[] | undefined;
3136
+ position?: "top" | "bottom" | undefined;
3137
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3138
+ prefix?: {
3139
+ text?: string | undefined;
3140
+ icon?: string | undefined;
3141
+ } | undefined;
3142
+ suffix?: {
3143
+ text?: string | undefined;
3144
+ icon?: string | undefined;
3145
+ } | undefined;
3146
+ events?: {
3147
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3148
+ params?: Record<string, any> | undefined;
3149
+ }[] | undefined;
3150
+ }, {
3151
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3152
+ label: string;
3153
+ id: string;
3154
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3155
+ url?: string | undefined;
3156
+ scripts?: {
3157
+ function: string;
3158
+ name: string;
3159
+ src: string;
3160
+ params?: Record<string, any> | undefined;
3161
+ preload?: boolean | undefined;
3162
+ }[] | undefined;
3163
+ position?: "top" | "bottom" | undefined;
3164
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3165
+ prefix?: {
3166
+ text?: string | undefined;
3167
+ icon?: string | undefined;
3168
+ } | undefined;
3169
+ suffix?: {
3170
+ text?: string | undefined;
3171
+ icon?: string | undefined;
3172
+ } | undefined;
3173
+ events?: {
3174
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3175
+ params?: Record<string, any> | undefined;
3176
+ }[] | undefined;
3177
+ }>, "many">>;
3178
+ }, "strip", z.ZodTypeAny, {
3179
+ message?: string | undefined;
3180
+ actions?: {
3181
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3182
+ label: string;
3183
+ id: string;
3184
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3185
+ url?: string | undefined;
3186
+ scripts?: {
3187
+ function: string;
3188
+ name: string;
3189
+ src: string;
3190
+ params?: Record<string, any> | undefined;
3191
+ preload?: boolean | undefined;
3192
+ }[] | undefined;
3193
+ position?: "top" | "bottom" | undefined;
3194
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3195
+ prefix?: {
3196
+ text?: string | undefined;
3197
+ icon?: string | undefined;
3198
+ } | undefined;
3199
+ suffix?: {
3200
+ text?: string | undefined;
3201
+ icon?: string | undefined;
3202
+ } | undefined;
3203
+ events?: {
3204
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3205
+ params?: Record<string, any> | undefined;
3206
+ }[] | undefined;
3207
+ }[] | undefined;
3208
+ icon?: string | undefined;
3209
+ position?: "top" | "bottom" | undefined;
3210
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3211
+ }, {
3212
+ message?: string | undefined;
3213
+ actions?: {
3214
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3215
+ label: string;
3216
+ id: string;
3217
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3218
+ url?: string | undefined;
3219
+ scripts?: {
3220
+ function: string;
3221
+ name: string;
3222
+ src: string;
3223
+ params?: Record<string, any> | undefined;
3224
+ preload?: boolean | undefined;
3225
+ }[] | undefined;
3226
+ position?: "top" | "bottom" | undefined;
3227
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3228
+ prefix?: {
3229
+ text?: string | undefined;
3230
+ icon?: string | undefined;
3231
+ } | undefined;
3232
+ suffix?: {
3233
+ text?: string | undefined;
3234
+ icon?: string | undefined;
3235
+ } | undefined;
3236
+ events?: {
3237
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3238
+ params?: Record<string, any> | undefined;
3239
+ }[] | undefined;
3240
+ }[] | undefined;
3241
+ icon?: string | undefined;
3242
+ position?: "top" | "bottom" | undefined;
3243
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3244
+ }>>;
3245
+ validation: z.ZodOptional<z.ZodObject<{
3246
+ icon: z.ZodOptional<z.ZodString>;
3247
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
3248
+ }, "strip", z.ZodTypeAny, {
3249
+ icon?: string | undefined;
3250
+ showOn?: "input" | "blur" | undefined;
3251
+ }, {
3252
+ icon?: string | undefined;
3253
+ showOn?: "input" | "blur" | undefined;
3254
+ }>>;
3063
3255
  }, "strip", z.ZodTypeAny, {
3064
- icon?: string | undefined;
3065
- showOn?: "input" | "blur" | undefined;
3256
+ validation?: {
3257
+ icon?: string | undefined;
3258
+ showOn?: "input" | "blur" | undefined;
3259
+ } | undefined;
3260
+ loading?: {
3261
+ message?: string | undefined;
3262
+ actions?: {
3263
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3264
+ label: string;
3265
+ id: string;
3266
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3267
+ url?: string | undefined;
3268
+ scripts?: {
3269
+ function: string;
3270
+ name: string;
3271
+ src: string;
3272
+ params?: Record<string, any> | undefined;
3273
+ preload?: boolean | undefined;
3274
+ }[] | undefined;
3275
+ position?: "top" | "bottom" | undefined;
3276
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3277
+ prefix?: {
3278
+ text?: string | undefined;
3279
+ icon?: string | undefined;
3280
+ } | undefined;
3281
+ suffix?: {
3282
+ text?: string | undefined;
3283
+ icon?: string | undefined;
3284
+ } | undefined;
3285
+ events?: {
3286
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3287
+ params?: Record<string, any> | undefined;
3288
+ }[] | undefined;
3289
+ }[] | undefined;
3290
+ icon?: string | undefined;
3291
+ position?: "top" | "bottom" | undefined;
3292
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3293
+ } | undefined;
3066
3294
  }, {
3067
- icon?: string | undefined;
3068
- showOn?: "input" | "blur" | undefined;
3295
+ validation?: {
3296
+ icon?: string | undefined;
3297
+ showOn?: "input" | "blur" | undefined;
3298
+ } | undefined;
3299
+ loading?: {
3300
+ message?: string | undefined;
3301
+ actions?: {
3302
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3303
+ label: string;
3304
+ id: string;
3305
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3306
+ url?: string | undefined;
3307
+ scripts?: {
3308
+ function: string;
3309
+ name: string;
3310
+ src: string;
3311
+ params?: Record<string, any> | undefined;
3312
+ preload?: boolean | undefined;
3313
+ }[] | undefined;
3314
+ position?: "top" | "bottom" | undefined;
3315
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3316
+ prefix?: {
3317
+ text?: string | undefined;
3318
+ icon?: string | undefined;
3319
+ } | undefined;
3320
+ suffix?: {
3321
+ text?: string | undefined;
3322
+ icon?: string | undefined;
3323
+ } | undefined;
3324
+ events?: {
3325
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3326
+ params?: Record<string, any> | undefined;
3327
+ }[] | undefined;
3328
+ }[] | undefined;
3329
+ icon?: string | undefined;
3330
+ position?: "top" | "bottom" | undefined;
3331
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3332
+ } | undefined;
3069
3333
  }>;
3070
3334
  }, "strip", z.ZodTypeAny, {
3071
3335
  error: {
3072
- icon?: string | undefined;
3073
- showOn?: "input" | "blur" | undefined;
3336
+ validation?: {
3337
+ icon?: string | undefined;
3338
+ showOn?: "input" | "blur" | undefined;
3339
+ } | undefined;
3340
+ loading?: {
3341
+ message?: string | undefined;
3342
+ actions?: {
3343
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3344
+ label: string;
3345
+ id: string;
3346
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3347
+ url?: string | undefined;
3348
+ scripts?: {
3349
+ function: string;
3350
+ name: string;
3351
+ src: string;
3352
+ params?: Record<string, any> | undefined;
3353
+ preload?: boolean | undefined;
3354
+ }[] | undefined;
3355
+ position?: "top" | "bottom" | undefined;
3356
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3357
+ prefix?: {
3358
+ text?: string | undefined;
3359
+ icon?: string | undefined;
3360
+ } | undefined;
3361
+ suffix?: {
3362
+ text?: string | undefined;
3363
+ icon?: string | undefined;
3364
+ } | undefined;
3365
+ events?: {
3366
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3367
+ params?: Record<string, any> | undefined;
3368
+ }[] | undefined;
3369
+ }[] | undefined;
3370
+ icon?: string | undefined;
3371
+ position?: "top" | "bottom" | undefined;
3372
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3373
+ } | undefined;
3074
3374
  };
3075
3375
  }, {
3076
3376
  error: {
3077
- icon?: string | undefined;
3078
- showOn?: "input" | "blur" | undefined;
3377
+ validation?: {
3378
+ icon?: string | undefined;
3379
+ showOn?: "input" | "blur" | undefined;
3380
+ } | undefined;
3381
+ loading?: {
3382
+ message?: string | undefined;
3383
+ actions?: {
3384
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3385
+ label: string;
3386
+ id: string;
3387
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3388
+ url?: string | undefined;
3389
+ scripts?: {
3390
+ function: string;
3391
+ name: string;
3392
+ src: string;
3393
+ params?: Record<string, any> | undefined;
3394
+ preload?: boolean | undefined;
3395
+ }[] | undefined;
3396
+ position?: "top" | "bottom" | undefined;
3397
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3398
+ prefix?: {
3399
+ text?: string | undefined;
3400
+ icon?: string | undefined;
3401
+ } | undefined;
3402
+ suffix?: {
3403
+ text?: string | undefined;
3404
+ icon?: string | undefined;
3405
+ } | undefined;
3406
+ events?: {
3407
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3408
+ params?: Record<string, any> | undefined;
3409
+ }[] | undefined;
3410
+ }[] | undefined;
3411
+ icon?: string | undefined;
3412
+ position?: "top" | "bottom" | undefined;
3413
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3414
+ } | undefined;
3079
3415
  };
3080
3416
  }>>;
3081
3417
  input: z.ZodOptional<z.ZodObject<{
@@ -5019,8 +5355,44 @@ declare const Step: z.ZodObject<{
5019
5355
  } | undefined;
5020
5356
  generic?: {
5021
5357
  error: {
5022
- icon?: string | undefined;
5023
- showOn?: "input" | "blur" | undefined;
5358
+ validation?: {
5359
+ icon?: string | undefined;
5360
+ showOn?: "input" | "blur" | undefined;
5361
+ } | undefined;
5362
+ loading?: {
5363
+ message?: string | undefined;
5364
+ actions?: {
5365
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
5366
+ label: string;
5367
+ id: string;
5368
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
5369
+ url?: string | undefined;
5370
+ scripts?: {
5371
+ function: string;
5372
+ name: string;
5373
+ src: string;
5374
+ params?: Record<string, any> | undefined;
5375
+ preload?: boolean | undefined;
5376
+ }[] | undefined;
5377
+ position?: "top" | "bottom" | undefined;
5378
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
5379
+ prefix?: {
5380
+ text?: string | undefined;
5381
+ icon?: string | undefined;
5382
+ } | undefined;
5383
+ suffix?: {
5384
+ text?: string | undefined;
5385
+ icon?: string | undefined;
5386
+ } | undefined;
5387
+ events?: {
5388
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
5389
+ params?: Record<string, any> | undefined;
5390
+ }[] | undefined;
5391
+ }[] | undefined;
5392
+ icon?: string | undefined;
5393
+ position?: "top" | "bottom" | undefined;
5394
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
5395
+ } | undefined;
5024
5396
  };
5025
5397
  } | undefined;
5026
5398
  }, {
@@ -5322,8 +5694,44 @@ declare const Step: z.ZodObject<{
5322
5694
  } | undefined;
5323
5695
  generic?: {
5324
5696
  error: {
5325
- icon?: string | undefined;
5326
- showOn?: "input" | "blur" | undefined;
5697
+ validation?: {
5698
+ icon?: string | undefined;
5699
+ showOn?: "input" | "blur" | undefined;
5700
+ } | undefined;
5701
+ loading?: {
5702
+ message?: string | undefined;
5703
+ actions?: {
5704
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
5705
+ label: string;
5706
+ id: string;
5707
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
5708
+ url?: string | undefined;
5709
+ scripts?: {
5710
+ function: string;
5711
+ name: string;
5712
+ src: string;
5713
+ params?: Record<string, any> | undefined;
5714
+ preload?: boolean | undefined;
5715
+ }[] | undefined;
5716
+ position?: "top" | "bottom" | undefined;
5717
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
5718
+ prefix?: {
5719
+ text?: string | undefined;
5720
+ icon?: string | undefined;
5721
+ } | undefined;
5722
+ suffix?: {
5723
+ text?: string | undefined;
5724
+ icon?: string | undefined;
5725
+ } | undefined;
5726
+ events?: {
5727
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
5728
+ params?: Record<string, any> | undefined;
5729
+ }[] | undefined;
5730
+ }[] | undefined;
5731
+ icon?: string | undefined;
5732
+ position?: "top" | "bottom" | undefined;
5733
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
5734
+ } | undefined;
5327
5735
  };
5328
5736
  } | undefined;
5329
5737
  }>>;
@@ -5821,7 +6229,7 @@ declare const Step: z.ZodObject<{
5821
6229
  icon?: string | undefined;
5822
6230
  } | undefined;
5823
6231
  events?: {
5824
- name: "organization_call" | "close_panel";
6232
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
5825
6233
  params?: Record<string, any> | undefined;
5826
6234
  }[] | undefined;
5827
6235
  }[] | undefined;
@@ -6132,8 +6540,44 @@ declare const Step: z.ZodObject<{
6132
6540
  } | undefined;
6133
6541
  generic?: {
6134
6542
  error: {
6135
- icon?: string | undefined;
6136
- showOn?: "input" | "blur" | undefined;
6543
+ validation?: {
6544
+ icon?: string | undefined;
6545
+ showOn?: "input" | "blur" | undefined;
6546
+ } | undefined;
6547
+ loading?: {
6548
+ message?: string | undefined;
6549
+ actions?: {
6550
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
6551
+ label: string;
6552
+ id: string;
6553
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
6554
+ url?: string | undefined;
6555
+ scripts?: {
6556
+ function: string;
6557
+ name: string;
6558
+ src: string;
6559
+ params?: Record<string, any> | undefined;
6560
+ preload?: boolean | undefined;
6561
+ }[] | undefined;
6562
+ position?: "top" | "bottom" | undefined;
6563
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
6564
+ prefix?: {
6565
+ text?: string | undefined;
6566
+ icon?: string | undefined;
6567
+ } | undefined;
6568
+ suffix?: {
6569
+ text?: string | undefined;
6570
+ icon?: string | undefined;
6571
+ } | undefined;
6572
+ events?: {
6573
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6574
+ params?: Record<string, any> | undefined;
6575
+ }[] | undefined;
6576
+ }[] | undefined;
6577
+ icon?: string | undefined;
6578
+ position?: "top" | "bottom" | undefined;
6579
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
6580
+ } | undefined;
6137
6581
  };
6138
6582
  } | undefined;
6139
6583
  } | undefined;
@@ -6332,7 +6776,7 @@ declare const Step: z.ZodObject<{
6332
6776
  icon?: string | undefined;
6333
6777
  } | undefined;
6334
6778
  events?: {
6335
- name: "organization_call" | "close_panel";
6779
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6336
6780
  params?: Record<string, any> | undefined;
6337
6781
  }[] | undefined;
6338
6782
  }[] | undefined;
@@ -6643,8 +7087,44 @@ declare const Step: z.ZodObject<{
6643
7087
  } | undefined;
6644
7088
  generic?: {
6645
7089
  error: {
6646
- icon?: string | undefined;
6647
- showOn?: "input" | "blur" | undefined;
7090
+ validation?: {
7091
+ icon?: string | undefined;
7092
+ showOn?: "input" | "blur" | undefined;
7093
+ } | undefined;
7094
+ loading?: {
7095
+ message?: string | undefined;
7096
+ actions?: {
7097
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
7098
+ label: string;
7099
+ id: string;
7100
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
7101
+ url?: string | undefined;
7102
+ scripts?: {
7103
+ function: string;
7104
+ name: string;
7105
+ src: string;
7106
+ params?: Record<string, any> | undefined;
7107
+ preload?: boolean | undefined;
7108
+ }[] | undefined;
7109
+ position?: "top" | "bottom" | undefined;
7110
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
7111
+ prefix?: {
7112
+ text?: string | undefined;
7113
+ icon?: string | undefined;
7114
+ } | undefined;
7115
+ suffix?: {
7116
+ text?: string | undefined;
7117
+ icon?: string | undefined;
7118
+ } | undefined;
7119
+ events?: {
7120
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7121
+ params?: Record<string, any> | undefined;
7122
+ }[] | undefined;
7123
+ }[] | undefined;
7124
+ icon?: string | undefined;
7125
+ position?: "top" | "bottom" | undefined;
7126
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
7127
+ } | undefined;
6648
7128
  };
6649
7129
  } | undefined;
6650
7130
  } | undefined;
@@ -6763,13 +7243,13 @@ declare const Step: z.ZodObject<{
6763
7243
  preload?: boolean | undefined;
6764
7244
  }>, "many">>;
6765
7245
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
6766
- name: z.ZodEnum<["organization_call", "close_panel"]>;
7246
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
6767
7247
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6768
7248
  }, "strip", z.ZodTypeAny, {
6769
- name: "organization_call" | "close_panel";
7249
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6770
7250
  params?: Record<string, any> | undefined;
6771
7251
  }, {
6772
- name: "organization_call" | "close_panel";
7252
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6773
7253
  params?: Record<string, any> | undefined;
6774
7254
  }>, "many">>;
6775
7255
  }, "strip", z.ZodTypeAny, {
@@ -6796,7 +7276,7 @@ declare const Step: z.ZodObject<{
6796
7276
  icon?: string | undefined;
6797
7277
  } | undefined;
6798
7278
  events?: {
6799
- name: "organization_call" | "close_panel";
7279
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6800
7280
  params?: Record<string, any> | undefined;
6801
7281
  }[] | undefined;
6802
7282
  }, {
@@ -6823,7 +7303,7 @@ declare const Step: z.ZodObject<{
6823
7303
  icon?: string | undefined;
6824
7304
  } | undefined;
6825
7305
  events?: {
6826
- name: "organization_call" | "close_panel";
7306
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6827
7307
  params?: Record<string, any> | undefined;
6828
7308
  }[] | undefined;
6829
7309
  }>, "many">>;
@@ -7048,7 +7528,7 @@ declare const Step: z.ZodObject<{
7048
7528
  icon?: string | undefined;
7049
7529
  } | undefined;
7050
7530
  events?: {
7051
- name: "organization_call" | "close_panel";
7531
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7052
7532
  params?: Record<string, any> | undefined;
7053
7533
  }[] | undefined;
7054
7534
  }[] | undefined;
@@ -7359,8 +7839,44 @@ declare const Step: z.ZodObject<{
7359
7839
  } | undefined;
7360
7840
  generic?: {
7361
7841
  error: {
7362
- icon?: string | undefined;
7363
- showOn?: "input" | "blur" | undefined;
7842
+ validation?: {
7843
+ icon?: string | undefined;
7844
+ showOn?: "input" | "blur" | undefined;
7845
+ } | undefined;
7846
+ loading?: {
7847
+ message?: string | undefined;
7848
+ actions?: {
7849
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
7850
+ label: string;
7851
+ id: string;
7852
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
7853
+ url?: string | undefined;
7854
+ scripts?: {
7855
+ function: string;
7856
+ name: string;
7857
+ src: string;
7858
+ params?: Record<string, any> | undefined;
7859
+ preload?: boolean | undefined;
7860
+ }[] | undefined;
7861
+ position?: "top" | "bottom" | undefined;
7862
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
7863
+ prefix?: {
7864
+ text?: string | undefined;
7865
+ icon?: string | undefined;
7866
+ } | undefined;
7867
+ suffix?: {
7868
+ text?: string | undefined;
7869
+ icon?: string | undefined;
7870
+ } | undefined;
7871
+ events?: {
7872
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7873
+ params?: Record<string, any> | undefined;
7874
+ }[] | undefined;
7875
+ }[] | undefined;
7876
+ icon?: string | undefined;
7877
+ position?: "top" | "bottom" | undefined;
7878
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
7879
+ } | undefined;
7364
7880
  };
7365
7881
  } | undefined;
7366
7882
  } | undefined;
@@ -7455,7 +7971,7 @@ declare const Step: z.ZodObject<{
7455
7971
  icon?: string | undefined;
7456
7972
  } | undefined;
7457
7973
  events?: {
7458
- name: "organization_call" | "close_panel";
7974
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7459
7975
  params?: Record<string, any> | undefined;
7460
7976
  }[] | undefined;
7461
7977
  }[] | undefined;
@@ -7618,7 +8134,7 @@ declare const Step: z.ZodObject<{
7618
8134
  icon?: string | undefined;
7619
8135
  } | undefined;
7620
8136
  events?: {
7621
- name: "organization_call" | "close_panel";
8137
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7622
8138
  params?: Record<string, any> | undefined;
7623
8139
  }[] | undefined;
7624
8140
  }[] | undefined;
@@ -7929,8 +8445,44 @@ declare const Step: z.ZodObject<{
7929
8445
  } | undefined;
7930
8446
  generic?: {
7931
8447
  error: {
7932
- icon?: string | undefined;
7933
- showOn?: "input" | "blur" | undefined;
8448
+ validation?: {
8449
+ icon?: string | undefined;
8450
+ showOn?: "input" | "blur" | undefined;
8451
+ } | undefined;
8452
+ loading?: {
8453
+ message?: string | undefined;
8454
+ actions?: {
8455
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8456
+ label: string;
8457
+ id: string;
8458
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8459
+ url?: string | undefined;
8460
+ scripts?: {
8461
+ function: string;
8462
+ name: string;
8463
+ src: string;
8464
+ params?: Record<string, any> | undefined;
8465
+ preload?: boolean | undefined;
8466
+ }[] | undefined;
8467
+ position?: "top" | "bottom" | undefined;
8468
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8469
+ prefix?: {
8470
+ text?: string | undefined;
8471
+ icon?: string | undefined;
8472
+ } | undefined;
8473
+ suffix?: {
8474
+ text?: string | undefined;
8475
+ icon?: string | undefined;
8476
+ } | undefined;
8477
+ events?: {
8478
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8479
+ params?: Record<string, any> | undefined;
8480
+ }[] | undefined;
8481
+ }[] | undefined;
8482
+ icon?: string | undefined;
8483
+ position?: "top" | "bottom" | undefined;
8484
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
8485
+ } | undefined;
7934
8486
  };
7935
8487
  } | undefined;
7936
8488
  } | undefined;
@@ -8025,7 +8577,7 @@ declare const Step: z.ZodObject<{
8025
8577
  icon?: string | undefined;
8026
8578
  } | undefined;
8027
8579
  events?: {
8028
- name: "organization_call" | "close_panel";
8580
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8029
8581
  params?: Record<string, any> | undefined;
8030
8582
  }[] | undefined;
8031
8583
  }[] | undefined;
@@ -8107,6 +8659,200 @@ type PostAction = z.infer<typeof PostAction>;
8107
8659
  */
8108
8660
  declare const ErrorCode: z.ZodEnum<["INVALID_DATA", "INVALID_ACTION", "STEP_NOT_FOUND", "UNKNOWN_ERROR", "APPOINTMENT_INVALID_DATA", "APPOINTMENT_BUSY_SLOT", "APPOINTMENT_OUT_OF_DATE", "APPOINTMENT_UNKNOWN_ERROR", "LEAD_INVALID_DATA", "LEAD_UNKNOWN_ERROR", "CONTENT_INVALID_DATA", "CONTENT_UNKNOWN_ERROR", "CONTACT_INVALID_DATA", "CONTACT_UNKNOWN_ERROR", "LOST_OPPORTUNITY_INVALID_DATA", "LOST_OPPORTUNITY_UNKNOWN_ERROR"]>;
8109
8661
  type ErrorCode = z.infer<typeof ErrorCode>;
8662
+ /**
8663
+ * Schema defining the structure of error data.
8664
+ *
8665
+ * @property {string} [message] - The error message to display.
8666
+ * @property {string} [icon] - The icon to display with the error message.
8667
+ * @property {"top" | "bottom"} [position] - The position of the error message.
8668
+ * @property {"initial-loading" | "step-loading" | "step-validation" | "field-loading"} [kind] - The kind of error.
8669
+ * @property {Array<Action>} [actions] - Optional array of actions to display with the error.
8670
+ */
8671
+ declare const ErrorData: z.ZodObject<{
8672
+ message: z.ZodOptional<z.ZodString>;
8673
+ icon: z.ZodOptional<z.ZodString>;
8674
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
8675
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
8676
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
8677
+ id: z.ZodString;
8678
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
8679
+ label: z.ZodString;
8680
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
8681
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
8682
+ url: z.ZodOptional<z.ZodString>;
8683
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
8684
+ prefix: z.ZodOptional<z.ZodObject<{
8685
+ text: z.ZodOptional<z.ZodString>;
8686
+ icon: z.ZodOptional<z.ZodString>;
8687
+ }, "strip", z.ZodTypeAny, {
8688
+ text?: string | undefined;
8689
+ icon?: string | undefined;
8690
+ }, {
8691
+ text?: string | undefined;
8692
+ icon?: string | undefined;
8693
+ }>>;
8694
+ suffix: z.ZodOptional<z.ZodObject<{
8695
+ text: z.ZodOptional<z.ZodString>;
8696
+ icon: z.ZodOptional<z.ZodString>;
8697
+ }, "strip", z.ZodTypeAny, {
8698
+ text?: string | undefined;
8699
+ icon?: string | undefined;
8700
+ }, {
8701
+ text?: string | undefined;
8702
+ icon?: string | undefined;
8703
+ }>>;
8704
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
8705
+ src: z.ZodString;
8706
+ preload: z.ZodOptional<z.ZodBoolean>;
8707
+ name: z.ZodString;
8708
+ function: z.ZodString;
8709
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8710
+ }, "strip", z.ZodTypeAny, {
8711
+ function: string;
8712
+ name: string;
8713
+ src: string;
8714
+ params?: Record<string, any> | undefined;
8715
+ preload?: boolean | undefined;
8716
+ }, {
8717
+ function: string;
8718
+ name: string;
8719
+ src: string;
8720
+ params?: Record<string, any> | undefined;
8721
+ preload?: boolean | undefined;
8722
+ }>, "many">>;
8723
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
8724
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8725
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8726
+ }, "strip", z.ZodTypeAny, {
8727
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8728
+ params?: Record<string, any> | undefined;
8729
+ }, {
8730
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8731
+ params?: Record<string, any> | undefined;
8732
+ }>, "many">>;
8733
+ }, "strip", z.ZodTypeAny, {
8734
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8735
+ label: string;
8736
+ id: string;
8737
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8738
+ url?: string | undefined;
8739
+ scripts?: {
8740
+ function: string;
8741
+ name: string;
8742
+ src: string;
8743
+ params?: Record<string, any> | undefined;
8744
+ preload?: boolean | undefined;
8745
+ }[] | undefined;
8746
+ position?: "top" | "bottom" | undefined;
8747
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8748
+ prefix?: {
8749
+ text?: string | undefined;
8750
+ icon?: string | undefined;
8751
+ } | undefined;
8752
+ suffix?: {
8753
+ text?: string | undefined;
8754
+ icon?: string | undefined;
8755
+ } | undefined;
8756
+ events?: {
8757
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8758
+ params?: Record<string, any> | undefined;
8759
+ }[] | undefined;
8760
+ }, {
8761
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8762
+ label: string;
8763
+ id: string;
8764
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8765
+ url?: string | undefined;
8766
+ scripts?: {
8767
+ function: string;
8768
+ name: string;
8769
+ src: string;
8770
+ params?: Record<string, any> | undefined;
8771
+ preload?: boolean | undefined;
8772
+ }[] | undefined;
8773
+ position?: "top" | "bottom" | undefined;
8774
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8775
+ prefix?: {
8776
+ text?: string | undefined;
8777
+ icon?: string | undefined;
8778
+ } | undefined;
8779
+ suffix?: {
8780
+ text?: string | undefined;
8781
+ icon?: string | undefined;
8782
+ } | undefined;
8783
+ events?: {
8784
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8785
+ params?: Record<string, any> | undefined;
8786
+ }[] | undefined;
8787
+ }>, "many">>;
8788
+ }, "strip", z.ZodTypeAny, {
8789
+ message?: string | undefined;
8790
+ actions?: {
8791
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8792
+ label: string;
8793
+ id: string;
8794
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8795
+ url?: string | undefined;
8796
+ scripts?: {
8797
+ function: string;
8798
+ name: string;
8799
+ src: string;
8800
+ params?: Record<string, any> | undefined;
8801
+ preload?: boolean | undefined;
8802
+ }[] | undefined;
8803
+ position?: "top" | "bottom" | undefined;
8804
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8805
+ prefix?: {
8806
+ text?: string | undefined;
8807
+ icon?: string | undefined;
8808
+ } | undefined;
8809
+ suffix?: {
8810
+ text?: string | undefined;
8811
+ icon?: string | undefined;
8812
+ } | undefined;
8813
+ events?: {
8814
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8815
+ params?: Record<string, any> | undefined;
8816
+ }[] | undefined;
8817
+ }[] | undefined;
8818
+ icon?: string | undefined;
8819
+ position?: "top" | "bottom" | undefined;
8820
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
8821
+ }, {
8822
+ message?: string | undefined;
8823
+ actions?: {
8824
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8825
+ label: string;
8826
+ id: string;
8827
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8828
+ url?: string | undefined;
8829
+ scripts?: {
8830
+ function: string;
8831
+ name: string;
8832
+ src: string;
8833
+ params?: Record<string, any> | undefined;
8834
+ preload?: boolean | undefined;
8835
+ }[] | undefined;
8836
+ position?: "top" | "bottom" | undefined;
8837
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8838
+ prefix?: {
8839
+ text?: string | undefined;
8840
+ icon?: string | undefined;
8841
+ } | undefined;
8842
+ suffix?: {
8843
+ text?: string | undefined;
8844
+ icon?: string | undefined;
8845
+ } | undefined;
8846
+ events?: {
8847
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8848
+ params?: Record<string, any> | undefined;
8849
+ }[] | undefined;
8850
+ }[] | undefined;
8851
+ icon?: string | undefined;
8852
+ position?: "top" | "bottom" | undefined;
8853
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
8854
+ }>;
8855
+ type ErrorData = z.infer<typeof ErrorData>;
8110
8856
  /**
8111
8857
  * Schema defining the structure of a step action in the flow client.
8112
8858
  *
@@ -8177,13 +8923,13 @@ declare const Action: z.ZodObject<{
8177
8923
  preload?: boolean | undefined;
8178
8924
  }>, "many">>;
8179
8925
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
8180
- name: z.ZodEnum<["organization_call", "close_panel"]>;
8926
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8181
8927
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8182
8928
  }, "strip", z.ZodTypeAny, {
8183
- name: "organization_call" | "close_panel";
8929
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8184
8930
  params?: Record<string, any> | undefined;
8185
8931
  }, {
8186
- name: "organization_call" | "close_panel";
8932
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8187
8933
  params?: Record<string, any> | undefined;
8188
8934
  }>, "many">>;
8189
8935
  }, "strip", z.ZodTypeAny, {
@@ -8210,7 +8956,7 @@ declare const Action: z.ZodObject<{
8210
8956
  icon?: string | undefined;
8211
8957
  } | undefined;
8212
8958
  events?: {
8213
- name: "organization_call" | "close_panel";
8959
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8214
8960
  params?: Record<string, any> | undefined;
8215
8961
  }[] | undefined;
8216
8962
  }, {
@@ -8237,7 +8983,7 @@ declare const Action: z.ZodObject<{
8237
8983
  icon?: string | undefined;
8238
8984
  } | undefined;
8239
8985
  events?: {
8240
- name: "organization_call" | "close_panel";
8986
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8241
8987
  params?: Record<string, any> | undefined;
8242
8988
  }[] | undefined;
8243
8989
  }>;
@@ -8274,19 +9020,17 @@ type ActionScript = z.infer<typeof ActionScript>;
8274
9020
  /**
8275
9021
  * Schema defining custom events that can be triggered by flow actions.
8276
9022
  *
8277
- * @property {"organization_call" | "close_panel"} name - The name of the event to trigger:
8278
- * - "organization_call": Triggers a call to the organization
8279
- * - "close_panel": Closes the current panel or modal
9023
+ * @property {"organization_call" | "close_panel" | "retry_first_step" | "retry_next_step"} name - The name of the event to trigger.
8280
9024
  * @property {Record<string, any>} [params] - Additional parameters to pass with the event.
8281
9025
  */
8282
9026
  declare const ActionEvent: z.ZodObject<{
8283
- name: z.ZodEnum<["organization_call", "close_panel"]>;
9027
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8284
9028
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8285
9029
  }, "strip", z.ZodTypeAny, {
8286
- name: "organization_call" | "close_panel";
9030
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8287
9031
  params?: Record<string, any> | undefined;
8288
9032
  }, {
8289
- name: "organization_call" | "close_panel";
9033
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8290
9034
  params?: Record<string, any> | undefined;
8291
9035
  }>;
8292
9036
  type ActionEvent = z.infer<typeof ActionEvent>;
@@ -8307,11 +9051,13 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8307
9051
  * @property {Object} [configuration] - Component-specific configuration options.
8308
9052
  * @property {Object} [configuration.generic] - Generic configuration for all components.
8309
9053
  * @property {Object} [configuration.generic.error] - Error state configuration.
8310
- * @property {string} [configuration.generic.error.icon] - Icon to display in error state.
8311
- * @property {"input" | "blur"} [configuration.generic.error.showOn] - When to show the error icon (on input or blur).
9054
+ * @property {ErrorData} [configuration.generic.error.loading] - Error configuration for loading state.
9055
+ * @property {Object} [configuration.generic.error.validation] - Error configuration for validation state.
9056
+ * @property {string} [configuration.generic.error.validation.icon] - Icon to display in validation error state.
9057
+ * @property {"input" | "blur"} [configuration.generic.error.validation.showOn] - When to show the validation error icon (on input or blur).
8312
9058
  * @property {Object} [configuration.input] - Configuration for input component.
8313
- * @property {number} [configuration.input.min] - Minimum numeric value or minimum length for text.
8314
- * @property {number} [configuration.input.max] - Maximum numeric value or maximum length for text.
9059
+ * @property {number} [configuration.input.min] - Minimum numeric value.
9060
+ * @property {number} [configuration.input.max] - Maximum numeric value.
8315
9061
  * @property {number} [configuration.input.step] - Step increment for numeric inputs.
8316
9062
  * @property {string} [configuration.input.pattern] - Regular expression pattern for validation.
8317
9063
  * @property {number} [configuration.input.minLength] - Minimum text length.
@@ -8328,6 +9074,9 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8328
9074
  * @property {boolean} [configuration.input.clearable] - Enable clear button for the input.
8329
9075
  * @property {boolean} [configuration.input.floatingLabel] - Use floating label animation.
8330
9076
  * @property {Object} [configuration.textarea] - Configuration for textarea component.
9077
+ * @property {number} [configuration.textarea.minLength] - Minimum text length.
9078
+ * @property {number} [configuration.textarea.maxLength] - Maximum text length.
9079
+ * @property {number} [configuration.textarea.exactLength] - Exact required text length.
8331
9080
  * @property {number} [configuration.textarea.rows] - Number of visible text rows.
8332
9081
  * @property {Object} [configuration.checkbox] - Configuration for checkbox component.
8333
9082
  * @property {"horizontal" | "vertical"} [configuration.checkbox.layout] - Layout orientation for multiple checkboxes.
@@ -8417,8 +9166,6 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8417
9166
  * @property {AffixSlot} [configuration.map.search.prefix.default] - Default prefix configuration.
8418
9167
  * @property {Object} [configuration.map.search.suffix] - Search input suffix configuration.
8419
9168
  * @property {AffixSlot} [configuration.map.search.suffix.default] - Default suffix configuration.
8420
- * @property {Object} [configuration.map.search.mappedResults] - Predefined search result mappings.
8421
- * @property {Record<string, Array<{key: string, value: string}>>} [configuration.map.search.mappedResults.mapping] - Mapping of search terms to location filters.
8422
9169
  * @property {Object} [configuration.map.distanceRange] - Distance range filter configuration.
8423
9170
  * @property {number} [configuration.map.distanceRange.initial] - Initial distance range value.
8424
9171
  * @property {number} [configuration.map.distanceRange.min] - Minimum distance range value.
@@ -8463,12 +9210,7 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8463
9210
  * @property {Object} [configuration.calendar.api.availability] - Availability API configuration.
8464
9211
  * @property {GetAvailabilityFilters} configuration.calendar.api.availability.filters - Filters for availability requests.
8465
9212
  * @property {GetAvailabilityOptions} [configuration.calendar.api.availability.options] - Options for availability requests.
8466
- * @property {Array<DependencyCondition | DependencyGroup>} [dependsOn] - Array of field dependencies that control this field's visibility/state. Supports both simple conditions and logical groups with AND/OR operations.
8467
- * @property {DependencyCondition} [dependsOn.condition] - Simple dependency condition with fieldName, value, and operator.
8468
- * @property {DependencyGroup} [dependsOn.group] - Logical group with 'and' or 'or' arrays for complex dependency logic.
8469
- * @property {string} dependsOn.condition.fieldName - Name of the field this condition depends on.
8470
- * @property {FieldValue} [dependsOn.condition.value] - Expected value of the dependent field.
8471
- * @property {"exists" | "equals" | "not-equals" | "contains" | "not-contains" | "greater-than" | "less-than"} [dependsOn.condition.operator] - Operator to apply for the dependency check.
9213
+ * @property {Array<DependencyCondition | DependencyGroup>} [dependsOn] - Array of field dependencies that control this field's visibility/state.
8472
9214
  * @property {"hidden" | "disabled"} [dependentBehavior] - Behavior when field dependencies are not met.
8473
9215
  * @property {Object} [customError] - Custom error messages for different validation scenarios.
8474
9216
  * @property {string} [customError.required] - Custom message when required field is empty.
@@ -8692,13 +9434,13 @@ declare const Field: z.ZodObject<{
8692
9434
  preload?: boolean | undefined;
8693
9435
  }>, "many">>;
8694
9436
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
8695
- name: z.ZodEnum<["organization_call", "close_panel"]>;
9437
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8696
9438
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8697
9439
  }, "strip", z.ZodTypeAny, {
8698
- name: "organization_call" | "close_panel";
9440
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8699
9441
  params?: Record<string, any> | undefined;
8700
9442
  }, {
8701
- name: "organization_call" | "close_panel";
9443
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8702
9444
  params?: Record<string, any> | undefined;
8703
9445
  }>, "many">>;
8704
9446
  }, "strip", z.ZodTypeAny, {
@@ -8725,7 +9467,7 @@ declare const Field: z.ZodObject<{
8725
9467
  icon?: string | undefined;
8726
9468
  } | undefined;
8727
9469
  events?: {
8728
- name: "organization_call" | "close_panel";
9470
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8729
9471
  params?: Record<string, any> | undefined;
8730
9472
  }[] | undefined;
8731
9473
  }, {
@@ -8752,7 +9494,7 @@ declare const Field: z.ZodObject<{
8752
9494
  icon?: string | undefined;
8753
9495
  } | undefined;
8754
9496
  events?: {
8755
- name: "organization_call" | "close_panel";
9497
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8756
9498
  params?: Record<string, any> | undefined;
8757
9499
  }[] | undefined;
8758
9500
  }>, "many">>;
@@ -9194,7 +9936,7 @@ declare const Field: z.ZodObject<{
9194
9936
  icon?: string | undefined;
9195
9937
  } | undefined;
9196
9938
  events?: {
9197
- name: "organization_call" | "close_panel";
9939
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
9198
9940
  params?: Record<string, any> | undefined;
9199
9941
  }[] | undefined;
9200
9942
  }[] | undefined;
@@ -9298,7 +10040,7 @@ declare const Field: z.ZodObject<{
9298
10040
  icon?: string | undefined;
9299
10041
  } | undefined;
9300
10042
  events?: {
9301
- name: "organization_call" | "close_panel";
10043
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
9302
10044
  params?: Record<string, any> | undefined;
9303
10045
  }[] | undefined;
9304
10046
  }[] | undefined;
@@ -9308,24 +10050,360 @@ declare const Field: z.ZodObject<{
9308
10050
  configuration: z.ZodOptional<z.ZodObject<{
9309
10051
  generic: z.ZodOptional<z.ZodObject<{
9310
10052
  error: z.ZodObject<{
9311
- icon: z.ZodOptional<z.ZodString>;
9312
- showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
10053
+ loading: z.ZodOptional<z.ZodObject<{
10054
+ message: z.ZodOptional<z.ZodString>;
10055
+ icon: z.ZodOptional<z.ZodString>;
10056
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
10057
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
10058
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
10059
+ id: z.ZodString;
10060
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
10061
+ label: z.ZodString;
10062
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
10063
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
10064
+ url: z.ZodOptional<z.ZodString>;
10065
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
10066
+ prefix: z.ZodOptional<z.ZodObject<{
10067
+ text: z.ZodOptional<z.ZodString>;
10068
+ icon: z.ZodOptional<z.ZodString>;
10069
+ }, "strip", z.ZodTypeAny, {
10070
+ text?: string | undefined;
10071
+ icon?: string | undefined;
10072
+ }, {
10073
+ text?: string | undefined;
10074
+ icon?: string | undefined;
10075
+ }>>;
10076
+ suffix: z.ZodOptional<z.ZodObject<{
10077
+ text: z.ZodOptional<z.ZodString>;
10078
+ icon: z.ZodOptional<z.ZodString>;
10079
+ }, "strip", z.ZodTypeAny, {
10080
+ text?: string | undefined;
10081
+ icon?: string | undefined;
10082
+ }, {
10083
+ text?: string | undefined;
10084
+ icon?: string | undefined;
10085
+ }>>;
10086
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
10087
+ src: z.ZodString;
10088
+ preload: z.ZodOptional<z.ZodBoolean>;
10089
+ name: z.ZodString;
10090
+ function: z.ZodString;
10091
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10092
+ }, "strip", z.ZodTypeAny, {
10093
+ function: string;
10094
+ name: string;
10095
+ src: string;
10096
+ params?: Record<string, any> | undefined;
10097
+ preload?: boolean | undefined;
10098
+ }, {
10099
+ function: string;
10100
+ name: string;
10101
+ src: string;
10102
+ params?: Record<string, any> | undefined;
10103
+ preload?: boolean | undefined;
10104
+ }>, "many">>;
10105
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
10106
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
10107
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10108
+ }, "strip", z.ZodTypeAny, {
10109
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10110
+ params?: Record<string, any> | undefined;
10111
+ }, {
10112
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10113
+ params?: Record<string, any> | undefined;
10114
+ }>, "many">>;
10115
+ }, "strip", z.ZodTypeAny, {
10116
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10117
+ label: string;
10118
+ id: string;
10119
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10120
+ url?: string | undefined;
10121
+ scripts?: {
10122
+ function: string;
10123
+ name: string;
10124
+ src: string;
10125
+ params?: Record<string, any> | undefined;
10126
+ preload?: boolean | undefined;
10127
+ }[] | undefined;
10128
+ position?: "top" | "bottom" | undefined;
10129
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10130
+ prefix?: {
10131
+ text?: string | undefined;
10132
+ icon?: string | undefined;
10133
+ } | undefined;
10134
+ suffix?: {
10135
+ text?: string | undefined;
10136
+ icon?: string | undefined;
10137
+ } | undefined;
10138
+ events?: {
10139
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10140
+ params?: Record<string, any> | undefined;
10141
+ }[] | undefined;
10142
+ }, {
10143
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10144
+ label: string;
10145
+ id: string;
10146
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10147
+ url?: string | undefined;
10148
+ scripts?: {
10149
+ function: string;
10150
+ name: string;
10151
+ src: string;
10152
+ params?: Record<string, any> | undefined;
10153
+ preload?: boolean | undefined;
10154
+ }[] | undefined;
10155
+ position?: "top" | "bottom" | undefined;
10156
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10157
+ prefix?: {
10158
+ text?: string | undefined;
10159
+ icon?: string | undefined;
10160
+ } | undefined;
10161
+ suffix?: {
10162
+ text?: string | undefined;
10163
+ icon?: string | undefined;
10164
+ } | undefined;
10165
+ events?: {
10166
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10167
+ params?: Record<string, any> | undefined;
10168
+ }[] | undefined;
10169
+ }>, "many">>;
10170
+ }, "strip", z.ZodTypeAny, {
10171
+ message?: string | undefined;
10172
+ actions?: {
10173
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10174
+ label: string;
10175
+ id: string;
10176
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10177
+ url?: string | undefined;
10178
+ scripts?: {
10179
+ function: string;
10180
+ name: string;
10181
+ src: string;
10182
+ params?: Record<string, any> | undefined;
10183
+ preload?: boolean | undefined;
10184
+ }[] | undefined;
10185
+ position?: "top" | "bottom" | undefined;
10186
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10187
+ prefix?: {
10188
+ text?: string | undefined;
10189
+ icon?: string | undefined;
10190
+ } | undefined;
10191
+ suffix?: {
10192
+ text?: string | undefined;
10193
+ icon?: string | undefined;
10194
+ } | undefined;
10195
+ events?: {
10196
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10197
+ params?: Record<string, any> | undefined;
10198
+ }[] | undefined;
10199
+ }[] | undefined;
10200
+ icon?: string | undefined;
10201
+ position?: "top" | "bottom" | undefined;
10202
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10203
+ }, {
10204
+ message?: string | undefined;
10205
+ actions?: {
10206
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10207
+ label: string;
10208
+ id: string;
10209
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10210
+ url?: string | undefined;
10211
+ scripts?: {
10212
+ function: string;
10213
+ name: string;
10214
+ src: string;
10215
+ params?: Record<string, any> | undefined;
10216
+ preload?: boolean | undefined;
10217
+ }[] | undefined;
10218
+ position?: "top" | "bottom" | undefined;
10219
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10220
+ prefix?: {
10221
+ text?: string | undefined;
10222
+ icon?: string | undefined;
10223
+ } | undefined;
10224
+ suffix?: {
10225
+ text?: string | undefined;
10226
+ icon?: string | undefined;
10227
+ } | undefined;
10228
+ events?: {
10229
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10230
+ params?: Record<string, any> | undefined;
10231
+ }[] | undefined;
10232
+ }[] | undefined;
10233
+ icon?: string | undefined;
10234
+ position?: "top" | "bottom" | undefined;
10235
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10236
+ }>>;
10237
+ validation: z.ZodOptional<z.ZodObject<{
10238
+ icon: z.ZodOptional<z.ZodString>;
10239
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
10240
+ }, "strip", z.ZodTypeAny, {
10241
+ icon?: string | undefined;
10242
+ showOn?: "input" | "blur" | undefined;
10243
+ }, {
10244
+ icon?: string | undefined;
10245
+ showOn?: "input" | "blur" | undefined;
10246
+ }>>;
9313
10247
  }, "strip", z.ZodTypeAny, {
9314
- icon?: string | undefined;
9315
- showOn?: "input" | "blur" | undefined;
10248
+ validation?: {
10249
+ icon?: string | undefined;
10250
+ showOn?: "input" | "blur" | undefined;
10251
+ } | undefined;
10252
+ loading?: {
10253
+ message?: string | undefined;
10254
+ actions?: {
10255
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10256
+ label: string;
10257
+ id: string;
10258
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10259
+ url?: string | undefined;
10260
+ scripts?: {
10261
+ function: string;
10262
+ name: string;
10263
+ src: string;
10264
+ params?: Record<string, any> | undefined;
10265
+ preload?: boolean | undefined;
10266
+ }[] | undefined;
10267
+ position?: "top" | "bottom" | undefined;
10268
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10269
+ prefix?: {
10270
+ text?: string | undefined;
10271
+ icon?: string | undefined;
10272
+ } | undefined;
10273
+ suffix?: {
10274
+ text?: string | undefined;
10275
+ icon?: string | undefined;
10276
+ } | undefined;
10277
+ events?: {
10278
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10279
+ params?: Record<string, any> | undefined;
10280
+ }[] | undefined;
10281
+ }[] | undefined;
10282
+ icon?: string | undefined;
10283
+ position?: "top" | "bottom" | undefined;
10284
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10285
+ } | undefined;
9316
10286
  }, {
9317
- icon?: string | undefined;
9318
- showOn?: "input" | "blur" | undefined;
10287
+ validation?: {
10288
+ icon?: string | undefined;
10289
+ showOn?: "input" | "blur" | undefined;
10290
+ } | undefined;
10291
+ loading?: {
10292
+ message?: string | undefined;
10293
+ actions?: {
10294
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10295
+ label: string;
10296
+ id: string;
10297
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10298
+ url?: string | undefined;
10299
+ scripts?: {
10300
+ function: string;
10301
+ name: string;
10302
+ src: string;
10303
+ params?: Record<string, any> | undefined;
10304
+ preload?: boolean | undefined;
10305
+ }[] | undefined;
10306
+ position?: "top" | "bottom" | undefined;
10307
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10308
+ prefix?: {
10309
+ text?: string | undefined;
10310
+ icon?: string | undefined;
10311
+ } | undefined;
10312
+ suffix?: {
10313
+ text?: string | undefined;
10314
+ icon?: string | undefined;
10315
+ } | undefined;
10316
+ events?: {
10317
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10318
+ params?: Record<string, any> | undefined;
10319
+ }[] | undefined;
10320
+ }[] | undefined;
10321
+ icon?: string | undefined;
10322
+ position?: "top" | "bottom" | undefined;
10323
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10324
+ } | undefined;
9319
10325
  }>;
9320
10326
  }, "strip", z.ZodTypeAny, {
9321
10327
  error: {
9322
- icon?: string | undefined;
9323
- showOn?: "input" | "blur" | undefined;
10328
+ validation?: {
10329
+ icon?: string | undefined;
10330
+ showOn?: "input" | "blur" | undefined;
10331
+ } | undefined;
10332
+ loading?: {
10333
+ message?: string | undefined;
10334
+ actions?: {
10335
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10336
+ label: string;
10337
+ id: string;
10338
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10339
+ url?: string | undefined;
10340
+ scripts?: {
10341
+ function: string;
10342
+ name: string;
10343
+ src: string;
10344
+ params?: Record<string, any> | undefined;
10345
+ preload?: boolean | undefined;
10346
+ }[] | undefined;
10347
+ position?: "top" | "bottom" | undefined;
10348
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10349
+ prefix?: {
10350
+ text?: string | undefined;
10351
+ icon?: string | undefined;
10352
+ } | undefined;
10353
+ suffix?: {
10354
+ text?: string | undefined;
10355
+ icon?: string | undefined;
10356
+ } | undefined;
10357
+ events?: {
10358
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10359
+ params?: Record<string, any> | undefined;
10360
+ }[] | undefined;
10361
+ }[] | undefined;
10362
+ icon?: string | undefined;
10363
+ position?: "top" | "bottom" | undefined;
10364
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10365
+ } | undefined;
9324
10366
  };
9325
10367
  }, {
9326
10368
  error: {
9327
- icon?: string | undefined;
9328
- showOn?: "input" | "blur" | undefined;
10369
+ validation?: {
10370
+ icon?: string | undefined;
10371
+ showOn?: "input" | "blur" | undefined;
10372
+ } | undefined;
10373
+ loading?: {
10374
+ message?: string | undefined;
10375
+ actions?: {
10376
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10377
+ label: string;
10378
+ id: string;
10379
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10380
+ url?: string | undefined;
10381
+ scripts?: {
10382
+ function: string;
10383
+ name: string;
10384
+ src: string;
10385
+ params?: Record<string, any> | undefined;
10386
+ preload?: boolean | undefined;
10387
+ }[] | undefined;
10388
+ position?: "top" | "bottom" | undefined;
10389
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10390
+ prefix?: {
10391
+ text?: string | undefined;
10392
+ icon?: string | undefined;
10393
+ } | undefined;
10394
+ suffix?: {
10395
+ text?: string | undefined;
10396
+ icon?: string | undefined;
10397
+ } | undefined;
10398
+ events?: {
10399
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10400
+ params?: Record<string, any> | undefined;
10401
+ }[] | undefined;
10402
+ }[] | undefined;
10403
+ icon?: string | undefined;
10404
+ position?: "top" | "bottom" | undefined;
10405
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10406
+ } | undefined;
9329
10407
  };
9330
10408
  }>>;
9331
10409
  input: z.ZodOptional<z.ZodObject<{
@@ -11269,8 +12347,44 @@ declare const Field: z.ZodObject<{
11269
12347
  } | undefined;
11270
12348
  generic?: {
11271
12349
  error: {
11272
- icon?: string | undefined;
11273
- showOn?: "input" | "blur" | undefined;
12350
+ validation?: {
12351
+ icon?: string | undefined;
12352
+ showOn?: "input" | "blur" | undefined;
12353
+ } | undefined;
12354
+ loading?: {
12355
+ message?: string | undefined;
12356
+ actions?: {
12357
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
12358
+ label: string;
12359
+ id: string;
12360
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
12361
+ url?: string | undefined;
12362
+ scripts?: {
12363
+ function: string;
12364
+ name: string;
12365
+ src: string;
12366
+ params?: Record<string, any> | undefined;
12367
+ preload?: boolean | undefined;
12368
+ }[] | undefined;
12369
+ position?: "top" | "bottom" | undefined;
12370
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
12371
+ prefix?: {
12372
+ text?: string | undefined;
12373
+ icon?: string | undefined;
12374
+ } | undefined;
12375
+ suffix?: {
12376
+ text?: string | undefined;
12377
+ icon?: string | undefined;
12378
+ } | undefined;
12379
+ events?: {
12380
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
12381
+ params?: Record<string, any> | undefined;
12382
+ }[] | undefined;
12383
+ }[] | undefined;
12384
+ icon?: string | undefined;
12385
+ position?: "top" | "bottom" | undefined;
12386
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
12387
+ } | undefined;
11274
12388
  };
11275
12389
  } | undefined;
11276
12390
  }, {
@@ -11572,8 +12686,44 @@ declare const Field: z.ZodObject<{
11572
12686
  } | undefined;
11573
12687
  generic?: {
11574
12688
  error: {
11575
- icon?: string | undefined;
11576
- showOn?: "input" | "blur" | undefined;
12689
+ validation?: {
12690
+ icon?: string | undefined;
12691
+ showOn?: "input" | "blur" | undefined;
12692
+ } | undefined;
12693
+ loading?: {
12694
+ message?: string | undefined;
12695
+ actions?: {
12696
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
12697
+ label: string;
12698
+ id: string;
12699
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
12700
+ url?: string | undefined;
12701
+ scripts?: {
12702
+ function: string;
12703
+ name: string;
12704
+ src: string;
12705
+ params?: Record<string, any> | undefined;
12706
+ preload?: boolean | undefined;
12707
+ }[] | undefined;
12708
+ position?: "top" | "bottom" | undefined;
12709
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
12710
+ prefix?: {
12711
+ text?: string | undefined;
12712
+ icon?: string | undefined;
12713
+ } | undefined;
12714
+ suffix?: {
12715
+ text?: string | undefined;
12716
+ icon?: string | undefined;
12717
+ } | undefined;
12718
+ events?: {
12719
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
12720
+ params?: Record<string, any> | undefined;
12721
+ }[] | undefined;
12722
+ }[] | undefined;
12723
+ icon?: string | undefined;
12724
+ position?: "top" | "bottom" | undefined;
12725
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
12726
+ } | undefined;
11577
12727
  };
11578
12728
  } | undefined;
11579
12729
  }>>;
@@ -12071,7 +13221,7 @@ declare const Field: z.ZodObject<{
12071
13221
  icon?: string | undefined;
12072
13222
  } | undefined;
12073
13223
  events?: {
12074
- name: "organization_call" | "close_panel";
13224
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
12075
13225
  params?: Record<string, any> | undefined;
12076
13226
  }[] | undefined;
12077
13227
  }[] | undefined;
@@ -12382,8 +13532,44 @@ declare const Field: z.ZodObject<{
12382
13532
  } | undefined;
12383
13533
  generic?: {
12384
13534
  error: {
12385
- icon?: string | undefined;
12386
- showOn?: "input" | "blur" | undefined;
13535
+ validation?: {
13536
+ icon?: string | undefined;
13537
+ showOn?: "input" | "blur" | undefined;
13538
+ } | undefined;
13539
+ loading?: {
13540
+ message?: string | undefined;
13541
+ actions?: {
13542
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13543
+ label: string;
13544
+ id: string;
13545
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
13546
+ url?: string | undefined;
13547
+ scripts?: {
13548
+ function: string;
13549
+ name: string;
13550
+ src: string;
13551
+ params?: Record<string, any> | undefined;
13552
+ preload?: boolean | undefined;
13553
+ }[] | undefined;
13554
+ position?: "top" | "bottom" | undefined;
13555
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
13556
+ prefix?: {
13557
+ text?: string | undefined;
13558
+ icon?: string | undefined;
13559
+ } | undefined;
13560
+ suffix?: {
13561
+ text?: string | undefined;
13562
+ icon?: string | undefined;
13563
+ } | undefined;
13564
+ events?: {
13565
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13566
+ params?: Record<string, any> | undefined;
13567
+ }[] | undefined;
13568
+ }[] | undefined;
13569
+ icon?: string | undefined;
13570
+ position?: "top" | "bottom" | undefined;
13571
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
13572
+ } | undefined;
12387
13573
  };
12388
13574
  } | undefined;
12389
13575
  } | undefined;
@@ -12582,7 +13768,7 @@ declare const Field: z.ZodObject<{
12582
13768
  icon?: string | undefined;
12583
13769
  } | undefined;
12584
13770
  events?: {
12585
- name: "organization_call" | "close_panel";
13771
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
12586
13772
  params?: Record<string, any> | undefined;
12587
13773
  }[] | undefined;
12588
13774
  }[] | undefined;
@@ -12893,8 +14079,44 @@ declare const Field: z.ZodObject<{
12893
14079
  } | undefined;
12894
14080
  generic?: {
12895
14081
  error: {
12896
- icon?: string | undefined;
12897
- showOn?: "input" | "blur" | undefined;
14082
+ validation?: {
14083
+ icon?: string | undefined;
14084
+ showOn?: "input" | "blur" | undefined;
14085
+ } | undefined;
14086
+ loading?: {
14087
+ message?: string | undefined;
14088
+ actions?: {
14089
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
14090
+ label: string;
14091
+ id: string;
14092
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
14093
+ url?: string | undefined;
14094
+ scripts?: {
14095
+ function: string;
14096
+ name: string;
14097
+ src: string;
14098
+ params?: Record<string, any> | undefined;
14099
+ preload?: boolean | undefined;
14100
+ }[] | undefined;
14101
+ position?: "top" | "bottom" | undefined;
14102
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
14103
+ prefix?: {
14104
+ text?: string | undefined;
14105
+ icon?: string | undefined;
14106
+ } | undefined;
14107
+ suffix?: {
14108
+ text?: string | undefined;
14109
+ icon?: string | undefined;
14110
+ } | undefined;
14111
+ events?: {
14112
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
14113
+ params?: Record<string, any> | undefined;
14114
+ }[] | undefined;
14115
+ }[] | undefined;
14116
+ icon?: string | undefined;
14117
+ position?: "top" | "bottom" | undefined;
14118
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
14119
+ } | undefined;
12898
14120
  };
12899
14121
  } | undefined;
12900
14122
  } | undefined;
@@ -13451,13 +14673,13 @@ declare const FlowContext: z.ZodObject<{
13451
14673
  preload?: boolean | undefined;
13452
14674
  }>, "many">>;
13453
14675
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
13454
- name: z.ZodEnum<["organization_call", "close_panel"]>;
14676
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
13455
14677
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13456
14678
  }, "strip", z.ZodTypeAny, {
13457
- name: "organization_call" | "close_panel";
14679
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13458
14680
  params?: Record<string, any> | undefined;
13459
14681
  }, {
13460
- name: "organization_call" | "close_panel";
14682
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13461
14683
  params?: Record<string, any> | undefined;
13462
14684
  }>, "many">>;
13463
14685
  }, "strip", z.ZodTypeAny, {
@@ -13484,7 +14706,7 @@ declare const FlowContext: z.ZodObject<{
13484
14706
  icon?: string | undefined;
13485
14707
  } | undefined;
13486
14708
  events?: {
13487
- name: "organization_call" | "close_panel";
14709
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13488
14710
  params?: Record<string, any> | undefined;
13489
14711
  }[] | undefined;
13490
14712
  }, {
@@ -13511,7 +14733,7 @@ declare const FlowContext: z.ZodObject<{
13511
14733
  icon?: string | undefined;
13512
14734
  } | undefined;
13513
14735
  events?: {
13514
- name: "organization_call" | "close_panel";
14736
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13515
14737
  params?: Record<string, any> | undefined;
13516
14738
  }[] | undefined;
13517
14739
  }>, "many">>;
@@ -13953,7 +15175,7 @@ declare const FlowContext: z.ZodObject<{
13953
15175
  icon?: string | undefined;
13954
15176
  } | undefined;
13955
15177
  events?: {
13956
- name: "organization_call" | "close_panel";
15178
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13957
15179
  params?: Record<string, any> | undefined;
13958
15180
  }[] | undefined;
13959
15181
  }[] | undefined;
@@ -14057,7 +15279,7 @@ declare const FlowContext: z.ZodObject<{
14057
15279
  icon?: string | undefined;
14058
15280
  } | undefined;
14059
15281
  events?: {
14060
- name: "organization_call" | "close_panel";
15282
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
14061
15283
  params?: Record<string, any> | undefined;
14062
15284
  }[] | undefined;
14063
15285
  }[] | undefined;
@@ -14067,24 +15289,360 @@ declare const FlowContext: z.ZodObject<{
14067
15289
  configuration: z.ZodOptional<z.ZodObject<{
14068
15290
  generic: z.ZodOptional<z.ZodObject<{
14069
15291
  error: z.ZodObject<{
14070
- icon: z.ZodOptional<z.ZodString>;
14071
- showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
15292
+ loading: z.ZodOptional<z.ZodObject<{
15293
+ message: z.ZodOptional<z.ZodString>;
15294
+ icon: z.ZodOptional<z.ZodString>;
15295
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
15296
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
15297
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
15298
+ id: z.ZodString;
15299
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
15300
+ label: z.ZodString;
15301
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
15302
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
15303
+ url: z.ZodOptional<z.ZodString>;
15304
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
15305
+ prefix: z.ZodOptional<z.ZodObject<{
15306
+ text: z.ZodOptional<z.ZodString>;
15307
+ icon: z.ZodOptional<z.ZodString>;
15308
+ }, "strip", z.ZodTypeAny, {
15309
+ text?: string | undefined;
15310
+ icon?: string | undefined;
15311
+ }, {
15312
+ text?: string | undefined;
15313
+ icon?: string | undefined;
15314
+ }>>;
15315
+ suffix: z.ZodOptional<z.ZodObject<{
15316
+ text: z.ZodOptional<z.ZodString>;
15317
+ icon: z.ZodOptional<z.ZodString>;
15318
+ }, "strip", z.ZodTypeAny, {
15319
+ text?: string | undefined;
15320
+ icon?: string | undefined;
15321
+ }, {
15322
+ text?: string | undefined;
15323
+ icon?: string | undefined;
15324
+ }>>;
15325
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
15326
+ src: z.ZodString;
15327
+ preload: z.ZodOptional<z.ZodBoolean>;
15328
+ name: z.ZodString;
15329
+ function: z.ZodString;
15330
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15331
+ }, "strip", z.ZodTypeAny, {
15332
+ function: string;
15333
+ name: string;
15334
+ src: string;
15335
+ params?: Record<string, any> | undefined;
15336
+ preload?: boolean | undefined;
15337
+ }, {
15338
+ function: string;
15339
+ name: string;
15340
+ src: string;
15341
+ params?: Record<string, any> | undefined;
15342
+ preload?: boolean | undefined;
15343
+ }>, "many">>;
15344
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
15345
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
15346
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15347
+ }, "strip", z.ZodTypeAny, {
15348
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15349
+ params?: Record<string, any> | undefined;
15350
+ }, {
15351
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15352
+ params?: Record<string, any> | undefined;
15353
+ }>, "many">>;
15354
+ }, "strip", z.ZodTypeAny, {
15355
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15356
+ label: string;
15357
+ id: string;
15358
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15359
+ url?: string | undefined;
15360
+ scripts?: {
15361
+ function: string;
15362
+ name: string;
15363
+ src: string;
15364
+ params?: Record<string, any> | undefined;
15365
+ preload?: boolean | undefined;
15366
+ }[] | undefined;
15367
+ position?: "top" | "bottom" | undefined;
15368
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15369
+ prefix?: {
15370
+ text?: string | undefined;
15371
+ icon?: string | undefined;
15372
+ } | undefined;
15373
+ suffix?: {
15374
+ text?: string | undefined;
15375
+ icon?: string | undefined;
15376
+ } | undefined;
15377
+ events?: {
15378
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15379
+ params?: Record<string, any> | undefined;
15380
+ }[] | undefined;
15381
+ }, {
15382
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15383
+ label: string;
15384
+ id: string;
15385
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15386
+ url?: string | undefined;
15387
+ scripts?: {
15388
+ function: string;
15389
+ name: string;
15390
+ src: string;
15391
+ params?: Record<string, any> | undefined;
15392
+ preload?: boolean | undefined;
15393
+ }[] | undefined;
15394
+ position?: "top" | "bottom" | undefined;
15395
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15396
+ prefix?: {
15397
+ text?: string | undefined;
15398
+ icon?: string | undefined;
15399
+ } | undefined;
15400
+ suffix?: {
15401
+ text?: string | undefined;
15402
+ icon?: string | undefined;
15403
+ } | undefined;
15404
+ events?: {
15405
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15406
+ params?: Record<string, any> | undefined;
15407
+ }[] | undefined;
15408
+ }>, "many">>;
15409
+ }, "strip", z.ZodTypeAny, {
15410
+ message?: string | undefined;
15411
+ actions?: {
15412
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15413
+ label: string;
15414
+ id: string;
15415
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15416
+ url?: string | undefined;
15417
+ scripts?: {
15418
+ function: string;
15419
+ name: string;
15420
+ src: string;
15421
+ params?: Record<string, any> | undefined;
15422
+ preload?: boolean | undefined;
15423
+ }[] | undefined;
15424
+ position?: "top" | "bottom" | undefined;
15425
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15426
+ prefix?: {
15427
+ text?: string | undefined;
15428
+ icon?: string | undefined;
15429
+ } | undefined;
15430
+ suffix?: {
15431
+ text?: string | undefined;
15432
+ icon?: string | undefined;
15433
+ } | undefined;
15434
+ events?: {
15435
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15436
+ params?: Record<string, any> | undefined;
15437
+ }[] | undefined;
15438
+ }[] | undefined;
15439
+ icon?: string | undefined;
15440
+ position?: "top" | "bottom" | undefined;
15441
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15442
+ }, {
15443
+ message?: string | undefined;
15444
+ actions?: {
15445
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15446
+ label: string;
15447
+ id: string;
15448
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15449
+ url?: string | undefined;
15450
+ scripts?: {
15451
+ function: string;
15452
+ name: string;
15453
+ src: string;
15454
+ params?: Record<string, any> | undefined;
15455
+ preload?: boolean | undefined;
15456
+ }[] | undefined;
15457
+ position?: "top" | "bottom" | undefined;
15458
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15459
+ prefix?: {
15460
+ text?: string | undefined;
15461
+ icon?: string | undefined;
15462
+ } | undefined;
15463
+ suffix?: {
15464
+ text?: string | undefined;
15465
+ icon?: string | undefined;
15466
+ } | undefined;
15467
+ events?: {
15468
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15469
+ params?: Record<string, any> | undefined;
15470
+ }[] | undefined;
15471
+ }[] | undefined;
15472
+ icon?: string | undefined;
15473
+ position?: "top" | "bottom" | undefined;
15474
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15475
+ }>>;
15476
+ validation: z.ZodOptional<z.ZodObject<{
15477
+ icon: z.ZodOptional<z.ZodString>;
15478
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
15479
+ }, "strip", z.ZodTypeAny, {
15480
+ icon?: string | undefined;
15481
+ showOn?: "input" | "blur" | undefined;
15482
+ }, {
15483
+ icon?: string | undefined;
15484
+ showOn?: "input" | "blur" | undefined;
15485
+ }>>;
14072
15486
  }, "strip", z.ZodTypeAny, {
14073
- icon?: string | undefined;
14074
- showOn?: "input" | "blur" | undefined;
15487
+ validation?: {
15488
+ icon?: string | undefined;
15489
+ showOn?: "input" | "blur" | undefined;
15490
+ } | undefined;
15491
+ loading?: {
15492
+ message?: string | undefined;
15493
+ actions?: {
15494
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15495
+ label: string;
15496
+ id: string;
15497
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15498
+ url?: string | undefined;
15499
+ scripts?: {
15500
+ function: string;
15501
+ name: string;
15502
+ src: string;
15503
+ params?: Record<string, any> | undefined;
15504
+ preload?: boolean | undefined;
15505
+ }[] | undefined;
15506
+ position?: "top" | "bottom" | undefined;
15507
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15508
+ prefix?: {
15509
+ text?: string | undefined;
15510
+ icon?: string | undefined;
15511
+ } | undefined;
15512
+ suffix?: {
15513
+ text?: string | undefined;
15514
+ icon?: string | undefined;
15515
+ } | undefined;
15516
+ events?: {
15517
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15518
+ params?: Record<string, any> | undefined;
15519
+ }[] | undefined;
15520
+ }[] | undefined;
15521
+ icon?: string | undefined;
15522
+ position?: "top" | "bottom" | undefined;
15523
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15524
+ } | undefined;
14075
15525
  }, {
14076
- icon?: string | undefined;
14077
- showOn?: "input" | "blur" | undefined;
15526
+ validation?: {
15527
+ icon?: string | undefined;
15528
+ showOn?: "input" | "blur" | undefined;
15529
+ } | undefined;
15530
+ loading?: {
15531
+ message?: string | undefined;
15532
+ actions?: {
15533
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15534
+ label: string;
15535
+ id: string;
15536
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15537
+ url?: string | undefined;
15538
+ scripts?: {
15539
+ function: string;
15540
+ name: string;
15541
+ src: string;
15542
+ params?: Record<string, any> | undefined;
15543
+ preload?: boolean | undefined;
15544
+ }[] | undefined;
15545
+ position?: "top" | "bottom" | undefined;
15546
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15547
+ prefix?: {
15548
+ text?: string | undefined;
15549
+ icon?: string | undefined;
15550
+ } | undefined;
15551
+ suffix?: {
15552
+ text?: string | undefined;
15553
+ icon?: string | undefined;
15554
+ } | undefined;
15555
+ events?: {
15556
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15557
+ params?: Record<string, any> | undefined;
15558
+ }[] | undefined;
15559
+ }[] | undefined;
15560
+ icon?: string | undefined;
15561
+ position?: "top" | "bottom" | undefined;
15562
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15563
+ } | undefined;
14078
15564
  }>;
14079
15565
  }, "strip", z.ZodTypeAny, {
14080
15566
  error: {
14081
- icon?: string | undefined;
14082
- showOn?: "input" | "blur" | undefined;
15567
+ validation?: {
15568
+ icon?: string | undefined;
15569
+ showOn?: "input" | "blur" | undefined;
15570
+ } | undefined;
15571
+ loading?: {
15572
+ message?: string | undefined;
15573
+ actions?: {
15574
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15575
+ label: string;
15576
+ id: string;
15577
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15578
+ url?: string | undefined;
15579
+ scripts?: {
15580
+ function: string;
15581
+ name: string;
15582
+ src: string;
15583
+ params?: Record<string, any> | undefined;
15584
+ preload?: boolean | undefined;
15585
+ }[] | undefined;
15586
+ position?: "top" | "bottom" | undefined;
15587
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15588
+ prefix?: {
15589
+ text?: string | undefined;
15590
+ icon?: string | undefined;
15591
+ } | undefined;
15592
+ suffix?: {
15593
+ text?: string | undefined;
15594
+ icon?: string | undefined;
15595
+ } | undefined;
15596
+ events?: {
15597
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15598
+ params?: Record<string, any> | undefined;
15599
+ }[] | undefined;
15600
+ }[] | undefined;
15601
+ icon?: string | undefined;
15602
+ position?: "top" | "bottom" | undefined;
15603
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15604
+ } | undefined;
14083
15605
  };
14084
15606
  }, {
14085
15607
  error: {
14086
- icon?: string | undefined;
14087
- showOn?: "input" | "blur" | undefined;
15608
+ validation?: {
15609
+ icon?: string | undefined;
15610
+ showOn?: "input" | "blur" | undefined;
15611
+ } | undefined;
15612
+ loading?: {
15613
+ message?: string | undefined;
15614
+ actions?: {
15615
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15616
+ label: string;
15617
+ id: string;
15618
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15619
+ url?: string | undefined;
15620
+ scripts?: {
15621
+ function: string;
15622
+ name: string;
15623
+ src: string;
15624
+ params?: Record<string, any> | undefined;
15625
+ preload?: boolean | undefined;
15626
+ }[] | undefined;
15627
+ position?: "top" | "bottom" | undefined;
15628
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15629
+ prefix?: {
15630
+ text?: string | undefined;
15631
+ icon?: string | undefined;
15632
+ } | undefined;
15633
+ suffix?: {
15634
+ text?: string | undefined;
15635
+ icon?: string | undefined;
15636
+ } | undefined;
15637
+ events?: {
15638
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15639
+ params?: Record<string, any> | undefined;
15640
+ }[] | undefined;
15641
+ }[] | undefined;
15642
+ icon?: string | undefined;
15643
+ position?: "top" | "bottom" | undefined;
15644
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15645
+ } | undefined;
14088
15646
  };
14089
15647
  }>>;
14090
15648
  input: z.ZodOptional<z.ZodObject<{
@@ -16028,8 +17586,44 @@ declare const FlowContext: z.ZodObject<{
16028
17586
  } | undefined;
16029
17587
  generic?: {
16030
17588
  error: {
16031
- icon?: string | undefined;
16032
- showOn?: "input" | "blur" | undefined;
17589
+ validation?: {
17590
+ icon?: string | undefined;
17591
+ showOn?: "input" | "blur" | undefined;
17592
+ } | undefined;
17593
+ loading?: {
17594
+ message?: string | undefined;
17595
+ actions?: {
17596
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17597
+ label: string;
17598
+ id: string;
17599
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
17600
+ url?: string | undefined;
17601
+ scripts?: {
17602
+ function: string;
17603
+ name: string;
17604
+ src: string;
17605
+ params?: Record<string, any> | undefined;
17606
+ preload?: boolean | undefined;
17607
+ }[] | undefined;
17608
+ position?: "top" | "bottom" | undefined;
17609
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
17610
+ prefix?: {
17611
+ text?: string | undefined;
17612
+ icon?: string | undefined;
17613
+ } | undefined;
17614
+ suffix?: {
17615
+ text?: string | undefined;
17616
+ icon?: string | undefined;
17617
+ } | undefined;
17618
+ events?: {
17619
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17620
+ params?: Record<string, any> | undefined;
17621
+ }[] | undefined;
17622
+ }[] | undefined;
17623
+ icon?: string | undefined;
17624
+ position?: "top" | "bottom" | undefined;
17625
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
17626
+ } | undefined;
16033
17627
  };
16034
17628
  } | undefined;
16035
17629
  }, {
@@ -16331,8 +17925,44 @@ declare const FlowContext: z.ZodObject<{
16331
17925
  } | undefined;
16332
17926
  generic?: {
16333
17927
  error: {
16334
- icon?: string | undefined;
16335
- showOn?: "input" | "blur" | undefined;
17928
+ validation?: {
17929
+ icon?: string | undefined;
17930
+ showOn?: "input" | "blur" | undefined;
17931
+ } | undefined;
17932
+ loading?: {
17933
+ message?: string | undefined;
17934
+ actions?: {
17935
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17936
+ label: string;
17937
+ id: string;
17938
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
17939
+ url?: string | undefined;
17940
+ scripts?: {
17941
+ function: string;
17942
+ name: string;
17943
+ src: string;
17944
+ params?: Record<string, any> | undefined;
17945
+ preload?: boolean | undefined;
17946
+ }[] | undefined;
17947
+ position?: "top" | "bottom" | undefined;
17948
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
17949
+ prefix?: {
17950
+ text?: string | undefined;
17951
+ icon?: string | undefined;
17952
+ } | undefined;
17953
+ suffix?: {
17954
+ text?: string | undefined;
17955
+ icon?: string | undefined;
17956
+ } | undefined;
17957
+ events?: {
17958
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17959
+ params?: Record<string, any> | undefined;
17960
+ }[] | undefined;
17961
+ }[] | undefined;
17962
+ icon?: string | undefined;
17963
+ position?: "top" | "bottom" | undefined;
17964
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
17965
+ } | undefined;
16336
17966
  };
16337
17967
  } | undefined;
16338
17968
  }>>;
@@ -16830,7 +18460,7 @@ declare const FlowContext: z.ZodObject<{
16830
18460
  icon?: string | undefined;
16831
18461
  } | undefined;
16832
18462
  events?: {
16833
- name: "organization_call" | "close_panel";
18463
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
16834
18464
  params?: Record<string, any> | undefined;
16835
18465
  }[] | undefined;
16836
18466
  }[] | undefined;
@@ -17141,8 +18771,44 @@ declare const FlowContext: z.ZodObject<{
17141
18771
  } | undefined;
17142
18772
  generic?: {
17143
18773
  error: {
17144
- icon?: string | undefined;
17145
- showOn?: "input" | "blur" | undefined;
18774
+ validation?: {
18775
+ icon?: string | undefined;
18776
+ showOn?: "input" | "blur" | undefined;
18777
+ } | undefined;
18778
+ loading?: {
18779
+ message?: string | undefined;
18780
+ actions?: {
18781
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
18782
+ label: string;
18783
+ id: string;
18784
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
18785
+ url?: string | undefined;
18786
+ scripts?: {
18787
+ function: string;
18788
+ name: string;
18789
+ src: string;
18790
+ params?: Record<string, any> | undefined;
18791
+ preload?: boolean | undefined;
18792
+ }[] | undefined;
18793
+ position?: "top" | "bottom" | undefined;
18794
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
18795
+ prefix?: {
18796
+ text?: string | undefined;
18797
+ icon?: string | undefined;
18798
+ } | undefined;
18799
+ suffix?: {
18800
+ text?: string | undefined;
18801
+ icon?: string | undefined;
18802
+ } | undefined;
18803
+ events?: {
18804
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18805
+ params?: Record<string, any> | undefined;
18806
+ }[] | undefined;
18807
+ }[] | undefined;
18808
+ icon?: string | undefined;
18809
+ position?: "top" | "bottom" | undefined;
18810
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
18811
+ } | undefined;
17146
18812
  };
17147
18813
  } | undefined;
17148
18814
  } | undefined;
@@ -17341,7 +19007,7 @@ declare const FlowContext: z.ZodObject<{
17341
19007
  icon?: string | undefined;
17342
19008
  } | undefined;
17343
19009
  events?: {
17344
- name: "organization_call" | "close_panel";
19010
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17345
19011
  params?: Record<string, any> | undefined;
17346
19012
  }[] | undefined;
17347
19013
  }[] | undefined;
@@ -17652,8 +19318,44 @@ declare const FlowContext: z.ZodObject<{
17652
19318
  } | undefined;
17653
19319
  generic?: {
17654
19320
  error: {
17655
- icon?: string | undefined;
17656
- showOn?: "input" | "blur" | undefined;
19321
+ validation?: {
19322
+ icon?: string | undefined;
19323
+ showOn?: "input" | "blur" | undefined;
19324
+ } | undefined;
19325
+ loading?: {
19326
+ message?: string | undefined;
19327
+ actions?: {
19328
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
19329
+ label: string;
19330
+ id: string;
19331
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
19332
+ url?: string | undefined;
19333
+ scripts?: {
19334
+ function: string;
19335
+ name: string;
19336
+ src: string;
19337
+ params?: Record<string, any> | undefined;
19338
+ preload?: boolean | undefined;
19339
+ }[] | undefined;
19340
+ position?: "top" | "bottom" | undefined;
19341
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
19342
+ prefix?: {
19343
+ text?: string | undefined;
19344
+ icon?: string | undefined;
19345
+ } | undefined;
19346
+ suffix?: {
19347
+ text?: string | undefined;
19348
+ icon?: string | undefined;
19349
+ } | undefined;
19350
+ events?: {
19351
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19352
+ params?: Record<string, any> | undefined;
19353
+ }[] | undefined;
19354
+ }[] | undefined;
19355
+ icon?: string | undefined;
19356
+ position?: "top" | "bottom" | undefined;
19357
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
19358
+ } | undefined;
17657
19359
  };
17658
19360
  } | undefined;
17659
19361
  } | undefined;
@@ -17772,13 +19474,13 @@ declare const FlowContext: z.ZodObject<{
17772
19474
  preload?: boolean | undefined;
17773
19475
  }>, "many">>;
17774
19476
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
17775
- name: z.ZodEnum<["organization_call", "close_panel"]>;
19477
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
17776
19478
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17777
19479
  }, "strip", z.ZodTypeAny, {
17778
- name: "organization_call" | "close_panel";
19480
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17779
19481
  params?: Record<string, any> | undefined;
17780
19482
  }, {
17781
- name: "organization_call" | "close_panel";
19483
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17782
19484
  params?: Record<string, any> | undefined;
17783
19485
  }>, "many">>;
17784
19486
  }, "strip", z.ZodTypeAny, {
@@ -17805,7 +19507,7 @@ declare const FlowContext: z.ZodObject<{
17805
19507
  icon?: string | undefined;
17806
19508
  } | undefined;
17807
19509
  events?: {
17808
- name: "organization_call" | "close_panel";
19510
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17809
19511
  params?: Record<string, any> | undefined;
17810
19512
  }[] | undefined;
17811
19513
  }, {
@@ -17832,7 +19534,7 @@ declare const FlowContext: z.ZodObject<{
17832
19534
  icon?: string | undefined;
17833
19535
  } | undefined;
17834
19536
  events?: {
17835
- name: "organization_call" | "close_panel";
19537
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17836
19538
  params?: Record<string, any> | undefined;
17837
19539
  }[] | undefined;
17838
19540
  }>, "many">>;
@@ -18057,7 +19759,7 @@ declare const FlowContext: z.ZodObject<{
18057
19759
  icon?: string | undefined;
18058
19760
  } | undefined;
18059
19761
  events?: {
18060
- name: "organization_call" | "close_panel";
19762
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18061
19763
  params?: Record<string, any> | undefined;
18062
19764
  }[] | undefined;
18063
19765
  }[] | undefined;
@@ -18368,8 +20070,44 @@ declare const FlowContext: z.ZodObject<{
18368
20070
  } | undefined;
18369
20071
  generic?: {
18370
20072
  error: {
18371
- icon?: string | undefined;
18372
- showOn?: "input" | "blur" | undefined;
20073
+ validation?: {
20074
+ icon?: string | undefined;
20075
+ showOn?: "input" | "blur" | undefined;
20076
+ } | undefined;
20077
+ loading?: {
20078
+ message?: string | undefined;
20079
+ actions?: {
20080
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
20081
+ label: string;
20082
+ id: string;
20083
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
20084
+ url?: string | undefined;
20085
+ scripts?: {
20086
+ function: string;
20087
+ name: string;
20088
+ src: string;
20089
+ params?: Record<string, any> | undefined;
20090
+ preload?: boolean | undefined;
20091
+ }[] | undefined;
20092
+ position?: "top" | "bottom" | undefined;
20093
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
20094
+ prefix?: {
20095
+ text?: string | undefined;
20096
+ icon?: string | undefined;
20097
+ } | undefined;
20098
+ suffix?: {
20099
+ text?: string | undefined;
20100
+ icon?: string | undefined;
20101
+ } | undefined;
20102
+ events?: {
20103
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
20104
+ params?: Record<string, any> | undefined;
20105
+ }[] | undefined;
20106
+ }[] | undefined;
20107
+ icon?: string | undefined;
20108
+ position?: "top" | "bottom" | undefined;
20109
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
20110
+ } | undefined;
18373
20111
  };
18374
20112
  } | undefined;
18375
20113
  } | undefined;
@@ -18464,7 +20202,7 @@ declare const FlowContext: z.ZodObject<{
18464
20202
  icon?: string | undefined;
18465
20203
  } | undefined;
18466
20204
  events?: {
18467
- name: "organization_call" | "close_panel";
20205
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18468
20206
  params?: Record<string, any> | undefined;
18469
20207
  }[] | undefined;
18470
20208
  }[] | undefined;
@@ -18627,7 +20365,7 @@ declare const FlowContext: z.ZodObject<{
18627
20365
  icon?: string | undefined;
18628
20366
  } | undefined;
18629
20367
  events?: {
18630
- name: "organization_call" | "close_panel";
20368
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18631
20369
  params?: Record<string, any> | undefined;
18632
20370
  }[] | undefined;
18633
20371
  }[] | undefined;
@@ -18938,8 +20676,44 @@ declare const FlowContext: z.ZodObject<{
18938
20676
  } | undefined;
18939
20677
  generic?: {
18940
20678
  error: {
18941
- icon?: string | undefined;
18942
- showOn?: "input" | "blur" | undefined;
20679
+ validation?: {
20680
+ icon?: string | undefined;
20681
+ showOn?: "input" | "blur" | undefined;
20682
+ } | undefined;
20683
+ loading?: {
20684
+ message?: string | undefined;
20685
+ actions?: {
20686
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
20687
+ label: string;
20688
+ id: string;
20689
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
20690
+ url?: string | undefined;
20691
+ scripts?: {
20692
+ function: string;
20693
+ name: string;
20694
+ src: string;
20695
+ params?: Record<string, any> | undefined;
20696
+ preload?: boolean | undefined;
20697
+ }[] | undefined;
20698
+ position?: "top" | "bottom" | undefined;
20699
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
20700
+ prefix?: {
20701
+ text?: string | undefined;
20702
+ icon?: string | undefined;
20703
+ } | undefined;
20704
+ suffix?: {
20705
+ text?: string | undefined;
20706
+ icon?: string | undefined;
20707
+ } | undefined;
20708
+ events?: {
20709
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
20710
+ params?: Record<string, any> | undefined;
20711
+ }[] | undefined;
20712
+ }[] | undefined;
20713
+ icon?: string | undefined;
20714
+ position?: "top" | "bottom" | undefined;
20715
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
20716
+ } | undefined;
18943
20717
  };
18944
20718
  } | undefined;
18945
20719
  } | undefined;
@@ -19034,7 +20808,7 @@ declare const FlowContext: z.ZodObject<{
19034
20808
  icon?: string | undefined;
19035
20809
  } | undefined;
19036
20810
  events?: {
19037
- name: "organization_call" | "close_panel";
20811
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19038
20812
  params?: Record<string, any> | undefined;
19039
20813
  }[] | undefined;
19040
20814
  }[] | undefined;
@@ -19231,7 +21005,7 @@ declare const FlowContext: z.ZodObject<{
19231
21005
  icon?: string | undefined;
19232
21006
  } | undefined;
19233
21007
  events?: {
19234
- name: "organization_call" | "close_panel";
21008
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19235
21009
  params?: Record<string, any> | undefined;
19236
21010
  }[] | undefined;
19237
21011
  }[] | undefined;
@@ -19542,8 +21316,44 @@ declare const FlowContext: z.ZodObject<{
19542
21316
  } | undefined;
19543
21317
  generic?: {
19544
21318
  error: {
19545
- icon?: string | undefined;
19546
- showOn?: "input" | "blur" | undefined;
21319
+ validation?: {
21320
+ icon?: string | undefined;
21321
+ showOn?: "input" | "blur" | undefined;
21322
+ } | undefined;
21323
+ loading?: {
21324
+ message?: string | undefined;
21325
+ actions?: {
21326
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
21327
+ label: string;
21328
+ id: string;
21329
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
21330
+ url?: string | undefined;
21331
+ scripts?: {
21332
+ function: string;
21333
+ name: string;
21334
+ src: string;
21335
+ params?: Record<string, any> | undefined;
21336
+ preload?: boolean | undefined;
21337
+ }[] | undefined;
21338
+ position?: "top" | "bottom" | undefined;
21339
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
21340
+ prefix?: {
21341
+ text?: string | undefined;
21342
+ icon?: string | undefined;
21343
+ } | undefined;
21344
+ suffix?: {
21345
+ text?: string | undefined;
21346
+ icon?: string | undefined;
21347
+ } | undefined;
21348
+ events?: {
21349
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
21350
+ params?: Record<string, any> | undefined;
21351
+ }[] | undefined;
21352
+ }[] | undefined;
21353
+ icon?: string | undefined;
21354
+ position?: "top" | "bottom" | undefined;
21355
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
21356
+ } | undefined;
19547
21357
  };
19548
21358
  } | undefined;
19549
21359
  } | undefined;
@@ -19638,7 +21448,7 @@ declare const FlowContext: z.ZodObject<{
19638
21448
  icon?: string | undefined;
19639
21449
  } | undefined;
19640
21450
  events?: {
19641
- name: "organization_call" | "close_panel";
21451
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19642
21452
  params?: Record<string, any> | undefined;
19643
21453
  }[] | undefined;
19644
21454
  }[] | undefined;
@@ -19813,7 +21623,7 @@ declare const FlowContext: z.ZodObject<{
19813
21623
  icon?: string | undefined;
19814
21624
  } | undefined;
19815
21625
  events?: {
19816
- name: "organization_call" | "close_panel";
21626
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19817
21627
  params?: Record<string, any> | undefined;
19818
21628
  }[] | undefined;
19819
21629
  }[] | undefined;
@@ -20124,8 +21934,44 @@ declare const FlowContext: z.ZodObject<{
20124
21934
  } | undefined;
20125
21935
  generic?: {
20126
21936
  error: {
20127
- icon?: string | undefined;
20128
- showOn?: "input" | "blur" | undefined;
21937
+ validation?: {
21938
+ icon?: string | undefined;
21939
+ showOn?: "input" | "blur" | undefined;
21940
+ } | undefined;
21941
+ loading?: {
21942
+ message?: string | undefined;
21943
+ actions?: {
21944
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
21945
+ label: string;
21946
+ id: string;
21947
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
21948
+ url?: string | undefined;
21949
+ scripts?: {
21950
+ function: string;
21951
+ name: string;
21952
+ src: string;
21953
+ params?: Record<string, any> | undefined;
21954
+ preload?: boolean | undefined;
21955
+ }[] | undefined;
21956
+ position?: "top" | "bottom" | undefined;
21957
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
21958
+ prefix?: {
21959
+ text?: string | undefined;
21960
+ icon?: string | undefined;
21961
+ } | undefined;
21962
+ suffix?: {
21963
+ text?: string | undefined;
21964
+ icon?: string | undefined;
21965
+ } | undefined;
21966
+ events?: {
21967
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
21968
+ params?: Record<string, any> | undefined;
21969
+ }[] | undefined;
21970
+ }[] | undefined;
21971
+ icon?: string | undefined;
21972
+ position?: "top" | "bottom" | undefined;
21973
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
21974
+ } | undefined;
20129
21975
  };
20130
21976
  } | undefined;
20131
21977
  } | undefined;
@@ -20220,7 +22066,7 @@ declare const FlowContext: z.ZodObject<{
20220
22066
  icon?: string | undefined;
20221
22067
  } | undefined;
20222
22068
  events?: {
20223
- name: "organization_call" | "close_panel";
22069
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
20224
22070
  params?: Record<string, any> | undefined;
20225
22071
  }[] | undefined;
20226
22072
  }[] | undefined;
@@ -20981,4 +22827,4 @@ type DependsOn = z.infer<typeof DependsOn>;
20981
22827
  */
20982
22828
  type EventListener = (type: EventName, data: EventData) => void;
20983
22829
 
20984
- export { Action, ActionEvent, ActionScript, AffixSlot, Availability, ClientOptions, DEFAULT_CLIENT_OPTIONS, DependencyCondition, DependencyGroup, DependsOn, ErrorCode, type EventListener, EventType, Field, FieldValue, Flow, FlowContext, GetStepOptions, GetStepTrigger, Location, LocationProperty, MapPin, PostAction, Step, StepId };
22830
+ export { Action, ActionEvent, ActionScript, AffixSlot, Availability, ClientOptions, DEFAULT_CLIENT_OPTIONS, DependencyCondition, DependencyGroup, DependsOn, ErrorCode, ErrorData, type EventListener, EventType, Field, FieldValue, Flow, FlowContext, GetStepOptions, GetStepTrigger, Location, LocationProperty, MapPin, PostAction, Step, StepId };