@onlive.ai/flow-client 0.1.50 → 0.1.54

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.
@@ -44,9 +44,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
44
44
  page_referrer?: string | undefined;
45
45
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
46
46
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
47
- origin_custom_1?: string | undefined;
48
- origin_custom_2?: string | undefined;
49
- origin_custom_3?: string | undefined;
47
+ origin_data?: Record<string, any> | undefined;
50
48
  widget_id?: string | undefined;
51
49
  widget_name?: string | undefined;
52
50
  widget_type?: string | undefined;
@@ -94,9 +92,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
94
92
  page_referrer?: string | undefined;
95
93
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
96
94
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
97
- origin_custom_1?: string | undefined;
98
- origin_custom_2?: string | undefined;
99
- origin_custom_3?: string | undefined;
95
+ origin_data?: Record<string, any> | undefined;
100
96
  widget_id?: string | undefined;
101
97
  widget_name?: string | undefined;
102
98
  widget_type?: string | undefined;
@@ -139,9 +135,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
139
135
  page_referrer?: string | undefined;
140
136
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
141
137
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
142
- origin_custom_1?: string | undefined;
143
- origin_custom_2?: string | undefined;
144
- origin_custom_3?: string | undefined;
138
+ origin_data?: Record<string, any> | undefined;
145
139
  widget_id?: string | undefined;
146
140
  widget_name?: string | undefined;
147
141
  widget_type?: string | undefined;
@@ -182,9 +176,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
182
176
  page_referrer?: string | undefined;
183
177
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
184
178
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
185
- origin_custom_1?: string | undefined;
186
- origin_custom_2?: string | undefined;
187
- origin_custom_3?: string | undefined;
179
+ origin_data?: Record<string, any> | undefined;
188
180
  widget_id?: string | undefined;
189
181
  widget_name?: string | undefined;
190
182
  widget_type?: string | undefined;
@@ -224,9 +216,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
224
216
  page_referrer?: string | undefined;
225
217
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
226
218
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
227
- origin_custom_1?: string | undefined;
228
- origin_custom_2?: string | undefined;
229
- origin_custom_3?: string | undefined;
219
+ origin_data?: Record<string, any> | undefined;
230
220
  widget_id?: string | undefined;
231
221
  widget_name?: string | undefined;
232
222
  widget_type?: string | undefined;
@@ -266,9 +256,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
266
256
  page_referrer?: string | undefined;
267
257
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
268
258
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
269
- origin_custom_1?: string | undefined;
270
- origin_custom_2?: string | undefined;
271
- origin_custom_3?: string | undefined;
259
+ origin_data?: Record<string, any> | undefined;
272
260
  widget_id?: string | undefined;
273
261
  widget_name?: string | undefined;
274
262
  widget_type?: string | undefined;
@@ -306,9 +294,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
306
294
  page_referrer?: string | undefined;
307
295
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
308
296
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
309
- origin_custom_1?: string | undefined;
310
- origin_custom_2?: string | undefined;
311
- origin_custom_3?: string | undefined;
297
+ origin_data?: Record<string, any> | undefined;
312
298
  widget_id?: string | undefined;
313
299
  widget_name?: string | undefined;
314
300
  widget_type?: string | undefined;
@@ -352,9 +338,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
352
338
  page_referrer?: string | undefined;
353
339
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
354
340
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
355
- origin_custom_1?: string | undefined;
356
- origin_custom_2?: string | undefined;
357
- origin_custom_3?: string | undefined;
341
+ origin_data?: Record<string, any> | undefined;
358
342
  widget_id?: string | undefined;
359
343
  widget_name?: string | undefined;
360
344
  widget_type?: string | undefined;
@@ -394,9 +378,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
394
378
  page_referrer?: string | undefined;
395
379
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
396
380
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
397
- origin_custom_1?: string | undefined;
398
- origin_custom_2?: string | undefined;
399
- origin_custom_3?: string | undefined;
381
+ origin_data?: Record<string, any> | undefined;
400
382
  widget_id?: string | undefined;
401
383
  widget_name?: string | undefined;
402
384
  widget_type?: string | undefined;
@@ -444,9 +426,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
444
426
  page_referrer?: string | undefined;
445
427
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
446
428
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
447
- origin_custom_1?: string | undefined;
448
- origin_custom_2?: string | undefined;
449
- origin_custom_3?: string | undefined;
429
+ origin_data?: Record<string, any> | undefined;
450
430
  widget_id?: string | undefined;
451
431
  widget_name?: string | undefined;
452
432
  widget_type?: string | undefined;
@@ -489,9 +469,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
489
469
  page_referrer?: string | undefined;
490
470
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
491
471
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
492
- origin_custom_1?: string | undefined;
493
- origin_custom_2?: string | undefined;
494
- origin_custom_3?: string | undefined;
472
+ origin_data?: Record<string, any> | undefined;
495
473
  widget_id?: string | undefined;
496
474
  widget_name?: string | undefined;
497
475
  widget_type?: string | undefined;
@@ -532,9 +510,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
532
510
  page_referrer?: string | undefined;
533
511
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
534
512
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
535
- origin_custom_1?: string | undefined;
536
- origin_custom_2?: string | undefined;
537
- origin_custom_3?: string | undefined;
513
+ origin_data?: Record<string, any> | undefined;
538
514
  widget_id?: string | undefined;
539
515
  widget_name?: string | undefined;
540
516
  widget_type?: string | undefined;
@@ -574,9 +550,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
574
550
  page_referrer?: string | undefined;
575
551
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
576
552
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
577
- origin_custom_1?: string | undefined;
578
- origin_custom_2?: string | undefined;
579
- origin_custom_3?: string | undefined;
553
+ origin_data?: Record<string, any> | undefined;
580
554
  widget_id?: string | undefined;
581
555
  widget_name?: string | undefined;
582
556
  widget_type?: string | undefined;
@@ -616,9 +590,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
616
590
  page_referrer?: string | undefined;
617
591
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
618
592
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
619
- origin_custom_1?: string | undefined;
620
- origin_custom_2?: string | undefined;
621
- origin_custom_3?: string | undefined;
593
+ origin_data?: Record<string, any> | undefined;
622
594
  widget_id?: string | undefined;
623
595
  widget_name?: string | undefined;
624
596
  widget_type?: string | undefined;
@@ -656,9 +628,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
656
628
  page_referrer?: string | undefined;
657
629
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
658
630
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
659
- origin_custom_1?: string | undefined;
660
- origin_custom_2?: string | undefined;
661
- origin_custom_3?: string | undefined;
631
+ origin_data?: Record<string, any> | undefined;
662
632
  widget_id?: string | undefined;
663
633
  widget_name?: string | undefined;
664
634
  widget_type?: string | undefined;
@@ -702,9 +672,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
702
672
  page_referrer?: string | undefined;
703
673
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
704
674
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
705
- origin_custom_1?: string | undefined;
706
- origin_custom_2?: string | undefined;
707
- origin_custom_3?: string | undefined;
675
+ origin_data?: Record<string, any> | undefined;
708
676
  widget_id?: string | undefined;
709
677
  widget_name?: string | undefined;
710
678
  widget_type?: string | undefined;
@@ -764,9 +732,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
764
732
  page_referrer?: string | undefined;
765
733
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
766
734
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
767
- origin_custom_1?: string | undefined;
768
- origin_custom_2?: string | undefined;
769
- origin_custom_3?: string | undefined;
735
+ origin_data?: Record<string, any> | undefined;
770
736
  widget_id?: string | undefined;
771
737
  widget_name?: string | undefined;
772
738
  widget_type?: string | undefined;
@@ -814,9 +780,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
814
780
  page_referrer?: string | undefined;
815
781
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
816
782
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
817
- origin_custom_1?: string | undefined;
818
- origin_custom_2?: string | undefined;
819
- origin_custom_3?: string | undefined;
783
+ origin_data?: Record<string, any> | undefined;
820
784
  widget_id?: string | undefined;
821
785
  widget_name?: string | undefined;
822
786
  widget_type?: string | undefined;
@@ -859,9 +823,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
859
823
  page_referrer?: string | undefined;
860
824
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
861
825
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
862
- origin_custom_1?: string | undefined;
863
- origin_custom_2?: string | undefined;
864
- origin_custom_3?: string | undefined;
826
+ origin_data?: Record<string, any> | undefined;
865
827
  widget_id?: string | undefined;
866
828
  widget_name?: string | undefined;
867
829
  widget_type?: string | undefined;
@@ -902,9 +864,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
902
864
  page_referrer?: string | undefined;
903
865
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
904
866
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
905
- origin_custom_1?: string | undefined;
906
- origin_custom_2?: string | undefined;
907
- origin_custom_3?: string | undefined;
867
+ origin_data?: Record<string, any> | undefined;
908
868
  widget_id?: string | undefined;
909
869
  widget_name?: string | undefined;
910
870
  widget_type?: string | undefined;
@@ -944,9 +904,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
944
904
  page_referrer?: string | undefined;
945
905
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
946
906
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
947
- origin_custom_1?: string | undefined;
948
- origin_custom_2?: string | undefined;
949
- origin_custom_3?: string | undefined;
907
+ origin_data?: Record<string, any> | undefined;
950
908
  widget_id?: string | undefined;
951
909
  widget_name?: string | undefined;
952
910
  widget_type?: string | undefined;
@@ -986,9 +944,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
986
944
  page_referrer?: string | undefined;
987
945
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
988
946
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
989
- origin_custom_1?: string | undefined;
990
- origin_custom_2?: string | undefined;
991
- origin_custom_3?: string | undefined;
947
+ origin_data?: Record<string, any> | undefined;
992
948
  widget_id?: string | undefined;
993
949
  widget_name?: string | undefined;
994
950
  widget_type?: string | undefined;
@@ -1026,9 +982,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1026
982
  page_referrer?: string | undefined;
1027
983
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1028
984
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1029
- origin_custom_1?: string | undefined;
1030
- origin_custom_2?: string | undefined;
1031
- origin_custom_3?: string | undefined;
985
+ origin_data?: Record<string, any> | undefined;
1032
986
  widget_id?: string | undefined;
1033
987
  widget_name?: string | undefined;
1034
988
  widget_type?: string | undefined;
@@ -1072,9 +1026,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1072
1026
  page_referrer?: string | undefined;
1073
1027
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1074
1028
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1075
- origin_custom_1?: string | undefined;
1076
- origin_custom_2?: string | undefined;
1077
- origin_custom_3?: string | undefined;
1029
+ origin_data?: Record<string, any> | undefined;
1078
1030
  widget_id?: string | undefined;
1079
1031
  widget_name?: string | undefined;
1080
1032
  widget_type?: string | undefined;
@@ -1126,9 +1078,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1126
1078
  page_referrer?: string | undefined;
1127
1079
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1128
1080
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1129
- origin_custom_1?: string | undefined;
1130
- origin_custom_2?: string | undefined;
1131
- origin_custom_3?: string | undefined;
1081
+ origin_data?: Record<string, any> | undefined;
1132
1082
  widget_id?: string | undefined;
1133
1083
  widget_name?: string | undefined;
1134
1084
  widget_type?: string | undefined;
@@ -1176,9 +1126,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1176
1126
  page_referrer?: string | undefined;
1177
1127
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1178
1128
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1179
- origin_custom_1?: string | undefined;
1180
- origin_custom_2?: string | undefined;
1181
- origin_custom_3?: string | undefined;
1129
+ origin_data?: Record<string, any> | undefined;
1182
1130
  widget_id?: string | undefined;
1183
1131
  widget_name?: string | undefined;
1184
1132
  widget_type?: string | undefined;
@@ -1221,9 +1169,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1221
1169
  page_referrer?: string | undefined;
1222
1170
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1223
1171
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1224
- origin_custom_1?: string | undefined;
1225
- origin_custom_2?: string | undefined;
1226
- origin_custom_3?: string | undefined;
1172
+ origin_data?: Record<string, any> | undefined;
1227
1173
  widget_id?: string | undefined;
1228
1174
  widget_name?: string | undefined;
1229
1175
  widget_type?: string | undefined;
@@ -1264,9 +1210,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1264
1210
  page_referrer?: string | undefined;
1265
1211
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1266
1212
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1267
- origin_custom_1?: string | undefined;
1268
- origin_custom_2?: string | undefined;
1269
- origin_custom_3?: string | undefined;
1213
+ origin_data?: Record<string, any> | undefined;
1270
1214
  widget_id?: string | undefined;
1271
1215
  widget_name?: string | undefined;
1272
1216
  widget_type?: string | undefined;
@@ -1306,9 +1250,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1306
1250
  page_referrer?: string | undefined;
1307
1251
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1308
1252
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1309
- origin_custom_1?: string | undefined;
1310
- origin_custom_2?: string | undefined;
1311
- origin_custom_3?: string | undefined;
1253
+ origin_data?: Record<string, any> | undefined;
1312
1254
  widget_id?: string | undefined;
1313
1255
  widget_name?: string | undefined;
1314
1256
  widget_type?: string | undefined;
@@ -1348,9 +1290,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1348
1290
  page_referrer?: string | undefined;
1349
1291
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1350
1292
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1351
- origin_custom_1?: string | undefined;
1352
- origin_custom_2?: string | undefined;
1353
- origin_custom_3?: string | undefined;
1293
+ origin_data?: Record<string, any> | undefined;
1354
1294
  widget_id?: string | undefined;
1355
1295
  widget_name?: string | undefined;
1356
1296
  widget_type?: string | undefined;
@@ -1388,9 +1328,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1388
1328
  page_referrer?: string | undefined;
1389
1329
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1390
1330
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1391
- origin_custom_1?: string | undefined;
1392
- origin_custom_2?: string | undefined;
1393
- origin_custom_3?: string | undefined;
1331
+ origin_data?: Record<string, any> | undefined;
1394
1332
  widget_id?: string | undefined;
1395
1333
  widget_name?: string | undefined;
1396
1334
  widget_type?: string | undefined;
@@ -1434,9 +1372,7 @@ declare const TrackingOptionsSchema: z.ZodObject<{
1434
1372
  page_referrer?: string | undefined;
1435
1373
  origin_medium?: "push" | "email" | "sms" | "web" | "app" | undefined;
1436
1374
  origin_source?: "whatsapp" | "facebook" | "twitter" | "linkedin" | undefined;
1437
- origin_custom_1?: string | undefined;
1438
- origin_custom_2?: string | undefined;
1439
- origin_custom_3?: string | undefined;
1375
+ origin_data?: Record<string, any> | undefined;
1440
1376
  widget_id?: string | undefined;
1441
1377
  widget_name?: string | undefined;
1442
1378
  widget_type?: string | undefined;
@@ -1,2 +1,2 @@
1
- /*! @onlive.ai/flow-client v0.1.50 | © 2025 Onlive.ai */
1
+ /*! @onlive.ai/flow-client v0.1.54 | © 2025 Onlive.ai */
2
2
  import{z as t}from"zod";var a="flow_form",e="onlive-analytics-event",n=t.object({enabled:t.boolean().default(!1).optional(),data:t.custom().optional(),removeExtraneousValues:t.boolean().default(!0).optional(),allowBotTraffic:t.boolean().default(!1).optional(),adapters:t.array(t.string()).default([]).optional(),apiUrl:t.string().url().optional(),emitters:t.object({windowEvent:t.boolean().optional(),dataLayer:t.boolean().optional(),windowPostMessage:t.boolean().optional()}).optional()});export{e as ONLIVE_ANALYTICS_EVENT,a as ONLIVE_FLOW_FORM_NAME,n as TrackingOptionsSchema};