@walkeros/core 4.8.1 → 4.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/dist/dev.d.mts +808 -47
- package/dist/dev.d.ts +808 -47
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/index.d.mts +466 -136
- package/dist/index.d.ts +466 -136
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +129 -14
- package/dist/node.d.ts +129 -14
- package/dist/node.js +1 -1
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +1 -1
- package/dist/node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dev.d.ts
CHANGED
|
@@ -1034,6 +1034,10 @@ declare const ConfigSchema$5: z.ZodObject<{
|
|
|
1034
1034
|
INFO: "INFO";
|
|
1035
1035
|
DEBUG: "DEBUG";
|
|
1036
1036
|
}>]>>;
|
|
1037
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1038
|
+
text: "text";
|
|
1039
|
+
json: "json";
|
|
1040
|
+
}>>;
|
|
1037
1041
|
handler: z.ZodOptional<z.ZodAny>;
|
|
1038
1042
|
}, z.core.$strip>>;
|
|
1039
1043
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -1176,6 +1180,10 @@ declare const PartialConfigSchema$3: z.ZodObject<{
|
|
|
1176
1180
|
INFO: "INFO";
|
|
1177
1181
|
DEBUG: "DEBUG";
|
|
1178
1182
|
}>]>>;
|
|
1183
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1184
|
+
text: "text";
|
|
1185
|
+
json: "json";
|
|
1186
|
+
}>>;
|
|
1179
1187
|
handler: z.ZodOptional<z.ZodAny>;
|
|
1180
1188
|
}, z.core.$strip>>>;
|
|
1181
1189
|
setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
@@ -1326,6 +1334,10 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
1326
1334
|
INFO: "INFO";
|
|
1327
1335
|
DEBUG: "DEBUG";
|
|
1328
1336
|
}>]>>;
|
|
1337
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1338
|
+
text: "text";
|
|
1339
|
+
json: "json";
|
|
1340
|
+
}>>;
|
|
1329
1341
|
handler: z.ZodOptional<z.ZodAny>;
|
|
1330
1342
|
}, z.core.$strip>>;
|
|
1331
1343
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -1470,6 +1482,10 @@ declare const PushContextSchema$1: z.ZodObject<{
|
|
|
1470
1482
|
INFO: "INFO";
|
|
1471
1483
|
DEBUG: "DEBUG";
|
|
1472
1484
|
}>]>>;
|
|
1485
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1486
|
+
text: "text";
|
|
1487
|
+
json: "json";
|
|
1488
|
+
}>>;
|
|
1473
1489
|
handler: z.ZodOptional<z.ZodAny>;
|
|
1474
1490
|
}, z.core.$strip>>;
|
|
1475
1491
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -1647,6 +1663,10 @@ declare const PushBatchContextSchema: z.ZodObject<{
|
|
|
1647
1663
|
INFO: "INFO";
|
|
1648
1664
|
DEBUG: "DEBUG";
|
|
1649
1665
|
}>]>>;
|
|
1666
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1667
|
+
text: "text";
|
|
1668
|
+
json: "json";
|
|
1669
|
+
}>>;
|
|
1650
1670
|
handler: z.ZodOptional<z.ZodAny>;
|
|
1651
1671
|
}, z.core.$strip>>;
|
|
1652
1672
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -2107,6 +2127,10 @@ declare const InstanceSchema$2: z.ZodObject<{
|
|
|
2107
2127
|
INFO: "INFO";
|
|
2108
2128
|
DEBUG: "DEBUG";
|
|
2109
2129
|
}>]>>;
|
|
2130
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2131
|
+
text: "text";
|
|
2132
|
+
json: "json";
|
|
2133
|
+
}>>;
|
|
2110
2134
|
handler: z.ZodOptional<z.ZodAny>;
|
|
2111
2135
|
}, z.core.$strip>>;
|
|
2112
2136
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -2361,6 +2385,10 @@ declare const InitSchema$1: z.ZodObject<{
|
|
|
2361
2385
|
INFO: "INFO";
|
|
2362
2386
|
DEBUG: "DEBUG";
|
|
2363
2387
|
}>]>>;
|
|
2388
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2389
|
+
text: "text";
|
|
2390
|
+
json: "json";
|
|
2391
|
+
}>>;
|
|
2364
2392
|
handler: z.ZodOptional<z.ZodAny>;
|
|
2365
2393
|
}, z.core.$strip>>;
|
|
2366
2394
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -2609,6 +2637,10 @@ declare const InitSchema$1: z.ZodObject<{
|
|
|
2609
2637
|
INFO: "INFO";
|
|
2610
2638
|
DEBUG: "DEBUG";
|
|
2611
2639
|
}>]>>;
|
|
2640
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2641
|
+
text: "text";
|
|
2642
|
+
json: "json";
|
|
2643
|
+
}>>;
|
|
2612
2644
|
handler: z.ZodOptional<z.ZodAny>;
|
|
2613
2645
|
}, z.core.$strip>>>;
|
|
2614
2646
|
setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
@@ -2751,6 +2783,10 @@ declare const InitDestinationsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2751
2783
|
INFO: "INFO";
|
|
2752
2784
|
DEBUG: "DEBUG";
|
|
2753
2785
|
}>]>>;
|
|
2786
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2787
|
+
text: "text";
|
|
2788
|
+
json: "json";
|
|
2789
|
+
}>>;
|
|
2754
2790
|
handler: z.ZodOptional<z.ZodAny>;
|
|
2755
2791
|
}, z.core.$strip>>;
|
|
2756
2792
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -2999,6 +3035,10 @@ declare const InitDestinationsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2999
3035
|
INFO: "INFO";
|
|
3000
3036
|
DEBUG: "DEBUG";
|
|
3001
3037
|
}>]>>;
|
|
3038
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3039
|
+
text: "text";
|
|
3040
|
+
json: "json";
|
|
3041
|
+
}>>;
|
|
3002
3042
|
handler: z.ZodOptional<z.ZodAny>;
|
|
3003
3043
|
}, z.core.$strip>>>;
|
|
3004
3044
|
setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
@@ -3140,6 +3180,10 @@ declare const DestinationsSchema$1: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
3140
3180
|
INFO: "INFO";
|
|
3141
3181
|
DEBUG: "DEBUG";
|
|
3142
3182
|
}>]>>;
|
|
3183
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3184
|
+
text: "text";
|
|
3185
|
+
json: "json";
|
|
3186
|
+
}>>;
|
|
3143
3187
|
handler: z.ZodOptional<z.ZodAny>;
|
|
3144
3188
|
}, z.core.$strip>>;
|
|
3145
3189
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -3551,9 +3595,17 @@ declare const ConfigSchema$4: z.ZodObject<{
|
|
|
3551
3595
|
INFO: "INFO";
|
|
3552
3596
|
DEBUG: "DEBUG";
|
|
3553
3597
|
}>]>>;
|
|
3598
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3599
|
+
text: "text";
|
|
3600
|
+
json: "json";
|
|
3601
|
+
}>>;
|
|
3554
3602
|
handler: z.ZodOptional<z.ZodAny>;
|
|
3555
3603
|
}, z.core.$strip>>;
|
|
3556
3604
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
3605
|
+
consentDenied: z.ZodOptional<z.ZodEnum<{
|
|
3606
|
+
queue: "queue";
|
|
3607
|
+
skip: "skip";
|
|
3608
|
+
}>>;
|
|
3557
3609
|
name: z.ZodOptional<z.ZodString>;
|
|
3558
3610
|
release: z.ZodOptional<z.ZodString>;
|
|
3559
3611
|
next: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -3604,9 +3656,17 @@ declare const InitConfigSchema: z.ZodObject<{
|
|
|
3604
3656
|
INFO: "INFO";
|
|
3605
3657
|
DEBUG: "DEBUG";
|
|
3606
3658
|
}>]>>;
|
|
3659
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3660
|
+
text: "text";
|
|
3661
|
+
json: "json";
|
|
3662
|
+
}>>;
|
|
3607
3663
|
handler: z.ZodOptional<z.ZodAny>;
|
|
3608
3664
|
}, z.core.$strip>>>;
|
|
3609
3665
|
queueMax: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3666
|
+
consentDenied: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3667
|
+
queue: "queue";
|
|
3668
|
+
skip: "skip";
|
|
3669
|
+
}>>>;
|
|
3610
3670
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3611
3671
|
release: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3612
3672
|
next: z.ZodOptional<z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
@@ -3790,9 +3850,17 @@ declare const InstanceSchema$1: z.ZodObject<{
|
|
|
3790
3850
|
INFO: "INFO";
|
|
3791
3851
|
DEBUG: "DEBUG";
|
|
3792
3852
|
}>]>>;
|
|
3853
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3854
|
+
text: "text";
|
|
3855
|
+
json: "json";
|
|
3856
|
+
}>>;
|
|
3793
3857
|
handler: z.ZodOptional<z.ZodAny>;
|
|
3794
3858
|
}, z.core.$strip>>;
|
|
3795
3859
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
3860
|
+
consentDenied: z.ZodOptional<z.ZodEnum<{
|
|
3861
|
+
queue: "queue";
|
|
3862
|
+
skip: "skip";
|
|
3863
|
+
}>>;
|
|
3796
3864
|
name: z.ZodOptional<z.ZodString>;
|
|
3797
3865
|
release: z.ZodOptional<z.ZodString>;
|
|
3798
3866
|
next: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -4066,6 +4134,10 @@ declare const ConfigSchema$3: z.ZodObject<{
|
|
|
4066
4134
|
INFO: "INFO";
|
|
4067
4135
|
DEBUG: "DEBUG";
|
|
4068
4136
|
}>]>>;
|
|
4137
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4138
|
+
text: "text";
|
|
4139
|
+
json: "json";
|
|
4140
|
+
}>>;
|
|
4069
4141
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4070
4142
|
}, z.core.$strip>>;
|
|
4071
4143
|
async: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>;
|
|
@@ -4188,6 +4260,10 @@ declare const PartialConfigSchema$2: z.ZodObject<{
|
|
|
4188
4260
|
INFO: "INFO";
|
|
4189
4261
|
DEBUG: "DEBUG";
|
|
4190
4262
|
}>]>>;
|
|
4263
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4264
|
+
text: "text";
|
|
4265
|
+
json: "json";
|
|
4266
|
+
}>>;
|
|
4191
4267
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4192
4268
|
}, z.core.$strip>>>;
|
|
4193
4269
|
async: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>>;
|
|
@@ -4326,6 +4402,10 @@ declare const InstanceSchema: z.ZodObject<{
|
|
|
4326
4402
|
INFO: "INFO";
|
|
4327
4403
|
DEBUG: "DEBUG";
|
|
4328
4404
|
}>]>>;
|
|
4405
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4406
|
+
text: "text";
|
|
4407
|
+
json: "json";
|
|
4408
|
+
}>>;
|
|
4329
4409
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4330
4410
|
}, z.core.$strip>>;
|
|
4331
4411
|
async: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>;
|
|
@@ -4473,6 +4553,10 @@ declare const InitSourceSchema: z.ZodObject<{
|
|
|
4473
4553
|
INFO: "INFO";
|
|
4474
4554
|
DEBUG: "DEBUG";
|
|
4475
4555
|
}>]>>;
|
|
4556
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4557
|
+
text: "text";
|
|
4558
|
+
json: "json";
|
|
4559
|
+
}>>;
|
|
4476
4560
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4477
4561
|
}, z.core.$strip>>>;
|
|
4478
4562
|
async: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>>;
|
|
@@ -4620,6 +4704,10 @@ declare const InitSourcesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
4620
4704
|
INFO: "INFO";
|
|
4621
4705
|
DEBUG: "DEBUG";
|
|
4622
4706
|
}>]>>;
|
|
4707
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4708
|
+
text: "text";
|
|
4709
|
+
json: "json";
|
|
4710
|
+
}>>;
|
|
4623
4711
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4624
4712
|
}, z.core.$strip>>>;
|
|
4625
4713
|
async: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>>;
|
|
@@ -4722,6 +4810,10 @@ declare const ConfigSchema$2: z.ZodObject<{
|
|
|
4722
4810
|
INFO: "INFO";
|
|
4723
4811
|
DEBUG: "DEBUG";
|
|
4724
4812
|
}>]>>;
|
|
4813
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4814
|
+
text: "text";
|
|
4815
|
+
json: "json";
|
|
4816
|
+
}>>;
|
|
4725
4817
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4726
4818
|
}, z.core.$strip>>;
|
|
4727
4819
|
before: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -4758,6 +4850,7 @@ declare const ConfigSchema$2: z.ZodObject<{
|
|
|
4758
4850
|
}, z.core.$strip>>]>>;
|
|
4759
4851
|
init: z.ZodOptional<z.ZodBoolean>;
|
|
4760
4852
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
4853
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
4761
4854
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
4762
4855
|
chainMocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4763
4856
|
mapping: z.ZodOptional<z.ZodObject<{
|
|
@@ -4846,6 +4939,10 @@ declare const PartialConfigSchema$1: z.ZodObject<{
|
|
|
4846
4939
|
INFO: "INFO";
|
|
4847
4940
|
DEBUG: "DEBUG";
|
|
4848
4941
|
}>]>>;
|
|
4942
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4943
|
+
text: "text";
|
|
4944
|
+
json: "json";
|
|
4945
|
+
}>>;
|
|
4849
4946
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4850
4947
|
}, z.core.$strip>>>;
|
|
4851
4948
|
before: z.ZodOptional<z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
@@ -4882,6 +4979,7 @@ declare const PartialConfigSchema$1: z.ZodObject<{
|
|
|
4882
4979
|
}, z.core.$strip>>]>>>;
|
|
4883
4980
|
init: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4884
4981
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4982
|
+
timeout: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4885
4983
|
mock: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
4886
4984
|
chainMocks: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4887
4985
|
mapping: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -4991,6 +5089,10 @@ declare const ConfigSchema$1: z.ZodObject<{
|
|
|
4991
5089
|
INFO: "INFO";
|
|
4992
5090
|
DEBUG: "DEBUG";
|
|
4993
5091
|
}>]>>;
|
|
5092
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
5093
|
+
text: "text";
|
|
5094
|
+
json: "json";
|
|
5095
|
+
}>>;
|
|
4994
5096
|
handler: z.ZodOptional<z.ZodAny>;
|
|
4995
5097
|
}, z.core.$strip>>;
|
|
4996
5098
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5011,6 +5113,10 @@ declare const PartialConfigSchema: z.ZodObject<{
|
|
|
5011
5113
|
INFO: "INFO";
|
|
5012
5114
|
DEBUG: "DEBUG";
|
|
5013
5115
|
}>]>>;
|
|
5116
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
5117
|
+
text: "text";
|
|
5118
|
+
json: "json";
|
|
5119
|
+
}>>;
|
|
5014
5120
|
handler: z.ZodOptional<z.ZodAny>;
|
|
5015
5121
|
}, z.core.$strip>>>;
|
|
5016
5122
|
setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
@@ -5087,8 +5193,10 @@ declare const BundleSchema: z.ZodObject<{
|
|
|
5087
5193
|
* @remarks
|
|
5088
5194
|
* Object-only inline code block. Enables custom sources, transformers,
|
|
5089
5195
|
* destinations, and stores without npm packages. The `push` function is
|
|
5090
|
-
* required; `type` and
|
|
5091
|
-
*
|
|
5196
|
+
* required; `type` and the other step functions (`STEP_FUNCTION_KEYS`:
|
|
5197
|
+
* `init`, `pushBatch`, `on`, `destroy`) are optional. Closed: any other key
|
|
5198
|
+
* is an error, because the bundler emits only these. To select a named
|
|
5199
|
+
* export from a package, use the step's `import` field instead.
|
|
5092
5200
|
*
|
|
5093
5201
|
* @example
|
|
5094
5202
|
* ```json
|
|
@@ -5104,7 +5212,10 @@ declare const CodeSchema$1: z.ZodObject<{
|
|
|
5104
5212
|
push: z.ZodString;
|
|
5105
5213
|
type: z.ZodOptional<z.ZodString>;
|
|
5106
5214
|
init: z.ZodOptional<z.ZodString>;
|
|
5107
|
-
|
|
5215
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5216
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5217
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5218
|
+
}, z.core.$strict>;
|
|
5108
5219
|
/**
|
|
5109
5220
|
* Trigger descriptor - source trigger metadata for step examples.
|
|
5110
5221
|
*/
|
|
@@ -5132,6 +5243,22 @@ declare const StepExampleSchema: z.ZodObject<{
|
|
|
5132
5243
|
user: "user";
|
|
5133
5244
|
run: "run";
|
|
5134
5245
|
}>>;
|
|
5246
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5247
|
+
status: z.ZodEnum<{
|
|
5248
|
+
queued: "queued";
|
|
5249
|
+
failed: "failed";
|
|
5250
|
+
}>;
|
|
5251
|
+
code: z.ZodString;
|
|
5252
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5253
|
+
}, z.core.$strip>>;
|
|
5254
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5255
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5256
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5257
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5258
|
+
timeout: "timeout";
|
|
5259
|
+
network: "network";
|
|
5260
|
+
}>>;
|
|
5261
|
+
}, z.core.$strip>>;
|
|
5135
5262
|
}, z.core.$strip>;
|
|
5136
5263
|
/**
|
|
5137
5264
|
* Step examples record - keyed by scenario name.
|
|
@@ -5153,6 +5280,22 @@ declare const StepExamplesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
5153
5280
|
user: "user";
|
|
5154
5281
|
run: "run";
|
|
5155
5282
|
}>>;
|
|
5283
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5284
|
+
status: z.ZodEnum<{
|
|
5285
|
+
queued: "queued";
|
|
5286
|
+
failed: "failed";
|
|
5287
|
+
}>;
|
|
5288
|
+
code: z.ZodString;
|
|
5289
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5290
|
+
}, z.core.$strip>>;
|
|
5291
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5292
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5293
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5294
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5295
|
+
timeout: "timeout";
|
|
5296
|
+
network: "network";
|
|
5297
|
+
}>>;
|
|
5298
|
+
}, z.core.$strip>>;
|
|
5156
5299
|
}, z.core.$strip>>;
|
|
5157
5300
|
/**
|
|
5158
5301
|
* JSON Schema fragment - structural JSON Schema object.
|
|
@@ -5176,7 +5319,10 @@ declare const SourceSchema: z.ZodObject<{
|
|
|
5176
5319
|
push: z.ZodString;
|
|
5177
5320
|
type: z.ZodOptional<z.ZodString>;
|
|
5178
5321
|
init: z.ZodOptional<z.ZodString>;
|
|
5179
|
-
|
|
5322
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5323
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5324
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5325
|
+
}, z.core.$strict>>;
|
|
5180
5326
|
import: z.ZodOptional<z.ZodString>;
|
|
5181
5327
|
config: z.ZodOptional<z.ZodObject<{
|
|
5182
5328
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5222,6 +5368,22 @@ declare const SourceSchema: z.ZodObject<{
|
|
|
5222
5368
|
user: "user";
|
|
5223
5369
|
run: "run";
|
|
5224
5370
|
}>>;
|
|
5371
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5372
|
+
status: z.ZodEnum<{
|
|
5373
|
+
queued: "queued";
|
|
5374
|
+
failed: "failed";
|
|
5375
|
+
}>;
|
|
5376
|
+
code: z.ZodString;
|
|
5377
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5378
|
+
}, z.core.$strip>>;
|
|
5379
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5380
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5381
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5382
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5383
|
+
timeout: "timeout";
|
|
5384
|
+
network: "network";
|
|
5385
|
+
}>>;
|
|
5386
|
+
}, z.core.$strip>>;
|
|
5225
5387
|
}, z.core.$strip>>>;
|
|
5226
5388
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5227
5389
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5263,7 +5425,10 @@ declare const TransformerSchema: z.ZodObject<{
|
|
|
5263
5425
|
push: z.ZodString;
|
|
5264
5426
|
type: z.ZodOptional<z.ZodString>;
|
|
5265
5427
|
init: z.ZodOptional<z.ZodString>;
|
|
5266
|
-
|
|
5428
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5429
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5430
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5431
|
+
}, z.core.$strict>>;
|
|
5267
5432
|
import: z.ZodOptional<z.ZodString>;
|
|
5268
5433
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
5269
5434
|
env: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -5287,6 +5452,22 @@ declare const TransformerSchema: z.ZodObject<{
|
|
|
5287
5452
|
user: "user";
|
|
5288
5453
|
run: "run";
|
|
5289
5454
|
}>>;
|
|
5455
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5456
|
+
status: z.ZodEnum<{
|
|
5457
|
+
queued: "queued";
|
|
5458
|
+
failed: "failed";
|
|
5459
|
+
}>;
|
|
5460
|
+
code: z.ZodString;
|
|
5461
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5462
|
+
}, z.core.$strip>>;
|
|
5463
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5464
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5465
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5466
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5467
|
+
timeout: "timeout";
|
|
5468
|
+
network: "network";
|
|
5469
|
+
}>>;
|
|
5470
|
+
}, z.core.$strip>>;
|
|
5290
5471
|
}, z.core.$strip>>>;
|
|
5291
5472
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5292
5473
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5329,7 +5510,10 @@ declare const DestinationSchema: z.ZodObject<{
|
|
|
5329
5510
|
push: z.ZodString;
|
|
5330
5511
|
type: z.ZodOptional<z.ZodString>;
|
|
5331
5512
|
init: z.ZodOptional<z.ZodString>;
|
|
5332
|
-
|
|
5513
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5514
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5515
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5516
|
+
}, z.core.$strict>>;
|
|
5333
5517
|
import: z.ZodOptional<z.ZodString>;
|
|
5334
5518
|
config: z.ZodOptional<z.ZodObject<{
|
|
5335
5519
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5355,6 +5539,22 @@ declare const DestinationSchema: z.ZodObject<{
|
|
|
5355
5539
|
user: "user";
|
|
5356
5540
|
run: "run";
|
|
5357
5541
|
}>>;
|
|
5542
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5543
|
+
status: z.ZodEnum<{
|
|
5544
|
+
queued: "queued";
|
|
5545
|
+
failed: "failed";
|
|
5546
|
+
}>;
|
|
5547
|
+
code: z.ZodString;
|
|
5548
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5549
|
+
}, z.core.$strip>>;
|
|
5550
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5551
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5552
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5553
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5554
|
+
timeout: "timeout";
|
|
5555
|
+
network: "network";
|
|
5556
|
+
}>>;
|
|
5557
|
+
}, z.core.$strip>>;
|
|
5358
5558
|
}, z.core.$strip>>>;
|
|
5359
5559
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5360
5560
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5400,7 +5600,10 @@ declare const StoreSchema: z.ZodObject<{
|
|
|
5400
5600
|
push: z.ZodString;
|
|
5401
5601
|
type: z.ZodOptional<z.ZodString>;
|
|
5402
5602
|
init: z.ZodOptional<z.ZodString>;
|
|
5403
|
-
|
|
5603
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5604
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5605
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5606
|
+
}, z.core.$strict>>;
|
|
5404
5607
|
import: z.ZodOptional<z.ZodString>;
|
|
5405
5608
|
config: z.ZodOptional<z.ZodObject<{
|
|
5406
5609
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5432,6 +5635,22 @@ declare const StoreSchema: z.ZodObject<{
|
|
|
5432
5635
|
user: "user";
|
|
5433
5636
|
run: "run";
|
|
5434
5637
|
}>>;
|
|
5638
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5639
|
+
status: z.ZodEnum<{
|
|
5640
|
+
queued: "queued";
|
|
5641
|
+
failed: "failed";
|
|
5642
|
+
}>;
|
|
5643
|
+
code: z.ZodString;
|
|
5644
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5645
|
+
}, z.core.$strip>>;
|
|
5646
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5647
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5648
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5649
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5650
|
+
timeout: "timeout";
|
|
5651
|
+
network: "network";
|
|
5652
|
+
}>>;
|
|
5653
|
+
}, z.core.$strip>>;
|
|
5435
5654
|
}, z.core.$strip>>>;
|
|
5436
5655
|
}, z.core.$strip>;
|
|
5437
5656
|
/**
|
|
@@ -5456,7 +5675,7 @@ declare const ContractRuleSchema: z.ZodObject<{
|
|
|
5456
5675
|
description: z.ZodOptional<z.ZodString>;
|
|
5457
5676
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
5458
5677
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5459
|
-
}, z.core.$
|
|
5678
|
+
}, z.core.$strict>;
|
|
5460
5679
|
/**
|
|
5461
5680
|
* Named contract map.
|
|
5462
5681
|
*/
|
|
@@ -5466,7 +5685,7 @@ declare const ContractSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
5466
5685
|
description: z.ZodOptional<z.ZodString>;
|
|
5467
5686
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
5468
5687
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5469
|
-
}, z.core.$
|
|
5688
|
+
}, z.core.$strict>>;
|
|
5470
5689
|
/**
|
|
5471
5690
|
* Observe schema (Flow.Observe).
|
|
5472
5691
|
*
|
|
@@ -5566,7 +5785,10 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5566
5785
|
push: z.ZodString;
|
|
5567
5786
|
type: z.ZodOptional<z.ZodString>;
|
|
5568
5787
|
init: z.ZodOptional<z.ZodString>;
|
|
5569
|
-
|
|
5788
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5789
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5790
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5791
|
+
}, z.core.$strict>>;
|
|
5570
5792
|
import: z.ZodOptional<z.ZodString>;
|
|
5571
5793
|
config: z.ZodOptional<z.ZodObject<{
|
|
5572
5794
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5612,6 +5834,22 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5612
5834
|
user: "user";
|
|
5613
5835
|
run: "run";
|
|
5614
5836
|
}>>;
|
|
5837
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5838
|
+
status: z.ZodEnum<{
|
|
5839
|
+
queued: "queued";
|
|
5840
|
+
failed: "failed";
|
|
5841
|
+
}>;
|
|
5842
|
+
code: z.ZodString;
|
|
5843
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5844
|
+
}, z.core.$strip>>;
|
|
5845
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5846
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5847
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5848
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5849
|
+
timeout: "timeout";
|
|
5850
|
+
network: "network";
|
|
5851
|
+
}>>;
|
|
5852
|
+
}, z.core.$strip>>;
|
|
5615
5853
|
}, z.core.$strip>>>;
|
|
5616
5854
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5617
5855
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5650,7 +5888,10 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5650
5888
|
push: z.ZodString;
|
|
5651
5889
|
type: z.ZodOptional<z.ZodString>;
|
|
5652
5890
|
init: z.ZodOptional<z.ZodString>;
|
|
5653
|
-
|
|
5891
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5892
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5893
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5894
|
+
}, z.core.$strict>>;
|
|
5654
5895
|
import: z.ZodOptional<z.ZodString>;
|
|
5655
5896
|
config: z.ZodOptional<z.ZodObject<{
|
|
5656
5897
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5676,6 +5917,22 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5676
5917
|
user: "user";
|
|
5677
5918
|
run: "run";
|
|
5678
5919
|
}>>;
|
|
5920
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
5921
|
+
status: z.ZodEnum<{
|
|
5922
|
+
queued: "queued";
|
|
5923
|
+
failed: "failed";
|
|
5924
|
+
}>;
|
|
5925
|
+
code: z.ZodString;
|
|
5926
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5927
|
+
}, z.core.$strip>>;
|
|
5928
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
5929
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
5930
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
5931
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
5932
|
+
timeout: "timeout";
|
|
5933
|
+
network: "network";
|
|
5934
|
+
}>>;
|
|
5935
|
+
}, z.core.$strip>>;
|
|
5679
5936
|
}, z.core.$strip>>>;
|
|
5680
5937
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5681
5938
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5714,7 +5971,10 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5714
5971
|
push: z.ZodString;
|
|
5715
5972
|
type: z.ZodOptional<z.ZodString>;
|
|
5716
5973
|
init: z.ZodOptional<z.ZodString>;
|
|
5717
|
-
|
|
5974
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
5975
|
+
on: z.ZodOptional<z.ZodString>;
|
|
5976
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
5977
|
+
}, z.core.$strict>>;
|
|
5718
5978
|
import: z.ZodOptional<z.ZodString>;
|
|
5719
5979
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
5720
5980
|
env: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -5738,6 +5998,22 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5738
5998
|
user: "user";
|
|
5739
5999
|
run: "run";
|
|
5740
6000
|
}>>;
|
|
6001
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
6002
|
+
status: z.ZodEnum<{
|
|
6003
|
+
queued: "queued";
|
|
6004
|
+
failed: "failed";
|
|
6005
|
+
}>;
|
|
6006
|
+
code: z.ZodString;
|
|
6007
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6008
|
+
}, z.core.$strip>>;
|
|
6009
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
6010
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
6011
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
6012
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
6013
|
+
timeout: "timeout";
|
|
6014
|
+
network: "network";
|
|
6015
|
+
}>>;
|
|
6016
|
+
}, z.core.$strip>>;
|
|
5741
6017
|
}, z.core.$strip>>>;
|
|
5742
6018
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5743
6019
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5777,7 +6053,10 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5777
6053
|
push: z.ZodString;
|
|
5778
6054
|
type: z.ZodOptional<z.ZodString>;
|
|
5779
6055
|
init: z.ZodOptional<z.ZodString>;
|
|
5780
|
-
|
|
6056
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
6057
|
+
on: z.ZodOptional<z.ZodString>;
|
|
6058
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
6059
|
+
}, z.core.$strict>>;
|
|
5781
6060
|
import: z.ZodOptional<z.ZodString>;
|
|
5782
6061
|
config: z.ZodOptional<z.ZodObject<{
|
|
5783
6062
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5809,6 +6088,22 @@ declare const FlowSchema: z.ZodObject<{
|
|
|
5809
6088
|
user: "user";
|
|
5810
6089
|
run: "run";
|
|
5811
6090
|
}>>;
|
|
6091
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
6092
|
+
status: z.ZodEnum<{
|
|
6093
|
+
queued: "queued";
|
|
6094
|
+
failed: "failed";
|
|
6095
|
+
}>;
|
|
6096
|
+
code: z.ZodString;
|
|
6097
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6098
|
+
}, z.core.$strip>>;
|
|
6099
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
6100
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
6101
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
6102
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
6103
|
+
timeout: "timeout";
|
|
6104
|
+
network: "network";
|
|
6105
|
+
}>>;
|
|
6106
|
+
}, z.core.$strip>>;
|
|
5812
6107
|
}, z.core.$strip>>>;
|
|
5813
6108
|
}, z.core.$strip>>>;
|
|
5814
6109
|
collector: z.ZodOptional<z.ZodObject<{
|
|
@@ -5834,7 +6129,7 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
5834
6129
|
description: z.ZodOptional<z.ZodString>;
|
|
5835
6130
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
5836
6131
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5837
|
-
}, z.core.$
|
|
6132
|
+
}, z.core.$strict>>>;
|
|
5838
6133
|
flows: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5839
6134
|
config: z.ZodOptional<z.ZodObject<{
|
|
5840
6135
|
platform: z.ZodEnum<{
|
|
@@ -5872,7 +6167,10 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
5872
6167
|
push: z.ZodString;
|
|
5873
6168
|
type: z.ZodOptional<z.ZodString>;
|
|
5874
6169
|
init: z.ZodOptional<z.ZodString>;
|
|
5875
|
-
|
|
6170
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
6171
|
+
on: z.ZodOptional<z.ZodString>;
|
|
6172
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
6173
|
+
}, z.core.$strict>>;
|
|
5876
6174
|
import: z.ZodOptional<z.ZodString>;
|
|
5877
6175
|
config: z.ZodOptional<z.ZodObject<{
|
|
5878
6176
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5918,6 +6216,22 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
5918
6216
|
user: "user";
|
|
5919
6217
|
run: "run";
|
|
5920
6218
|
}>>;
|
|
6219
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
6220
|
+
status: z.ZodEnum<{
|
|
6221
|
+
queued: "queued";
|
|
6222
|
+
failed: "failed";
|
|
6223
|
+
}>;
|
|
6224
|
+
code: z.ZodString;
|
|
6225
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6226
|
+
}, z.core.$strip>>;
|
|
6227
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
6228
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
6229
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
6230
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
6231
|
+
timeout: "timeout";
|
|
6232
|
+
network: "network";
|
|
6233
|
+
}>>;
|
|
6234
|
+
}, z.core.$strip>>;
|
|
5921
6235
|
}, z.core.$strip>>>;
|
|
5922
6236
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5923
6237
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5956,7 +6270,10 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
5956
6270
|
push: z.ZodString;
|
|
5957
6271
|
type: z.ZodOptional<z.ZodString>;
|
|
5958
6272
|
init: z.ZodOptional<z.ZodString>;
|
|
5959
|
-
|
|
6273
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
6274
|
+
on: z.ZodOptional<z.ZodString>;
|
|
6275
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
6276
|
+
}, z.core.$strict>>;
|
|
5960
6277
|
import: z.ZodOptional<z.ZodString>;
|
|
5961
6278
|
config: z.ZodOptional<z.ZodObject<{
|
|
5962
6279
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -5982,6 +6299,22 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
5982
6299
|
user: "user";
|
|
5983
6300
|
run: "run";
|
|
5984
6301
|
}>>;
|
|
6302
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
6303
|
+
status: z.ZodEnum<{
|
|
6304
|
+
queued: "queued";
|
|
6305
|
+
failed: "failed";
|
|
6306
|
+
}>;
|
|
6307
|
+
code: z.ZodString;
|
|
6308
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6309
|
+
}, z.core.$strip>>;
|
|
6310
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
6311
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
6312
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
6313
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
6314
|
+
timeout: "timeout";
|
|
6315
|
+
network: "network";
|
|
6316
|
+
}>>;
|
|
6317
|
+
}, z.core.$strip>>;
|
|
5985
6318
|
}, z.core.$strip>>>;
|
|
5986
6319
|
cache: z.ZodOptional<z.ZodObject<{
|
|
5987
6320
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6020,7 +6353,10 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
6020
6353
|
push: z.ZodString;
|
|
6021
6354
|
type: z.ZodOptional<z.ZodString>;
|
|
6022
6355
|
init: z.ZodOptional<z.ZodString>;
|
|
6023
|
-
|
|
6356
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
6357
|
+
on: z.ZodOptional<z.ZodString>;
|
|
6358
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
6359
|
+
}, z.core.$strict>>;
|
|
6024
6360
|
import: z.ZodOptional<z.ZodString>;
|
|
6025
6361
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
6026
6362
|
env: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -6044,6 +6380,22 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
6044
6380
|
user: "user";
|
|
6045
6381
|
run: "run";
|
|
6046
6382
|
}>>;
|
|
6383
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
6384
|
+
status: z.ZodEnum<{
|
|
6385
|
+
queued: "queued";
|
|
6386
|
+
failed: "failed";
|
|
6387
|
+
}>;
|
|
6388
|
+
code: z.ZodString;
|
|
6389
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6390
|
+
}, z.core.$strip>>;
|
|
6391
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
6392
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
6393
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
6394
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
6395
|
+
timeout: "timeout";
|
|
6396
|
+
network: "network";
|
|
6397
|
+
}>>;
|
|
6398
|
+
}, z.core.$strip>>;
|
|
6047
6399
|
}, z.core.$strip>>>;
|
|
6048
6400
|
cache: z.ZodOptional<z.ZodObject<{
|
|
6049
6401
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6083,7 +6435,10 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
6083
6435
|
push: z.ZodString;
|
|
6084
6436
|
type: z.ZodOptional<z.ZodString>;
|
|
6085
6437
|
init: z.ZodOptional<z.ZodString>;
|
|
6086
|
-
|
|
6438
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
6439
|
+
on: z.ZodOptional<z.ZodString>;
|
|
6440
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
6441
|
+
}, z.core.$strict>>;
|
|
6087
6442
|
import: z.ZodOptional<z.ZodString>;
|
|
6088
6443
|
config: z.ZodOptional<z.ZodObject<{
|
|
6089
6444
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -6115,6 +6470,22 @@ declare const JsonSchema$1: z.ZodObject<{
|
|
|
6115
6470
|
user: "user";
|
|
6116
6471
|
run: "run";
|
|
6117
6472
|
}>>;
|
|
6473
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
6474
|
+
status: z.ZodEnum<{
|
|
6475
|
+
queued: "queued";
|
|
6476
|
+
failed: "failed";
|
|
6477
|
+
}>;
|
|
6478
|
+
code: z.ZodString;
|
|
6479
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6480
|
+
}, z.core.$strip>>;
|
|
6481
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
6482
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
6483
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
6484
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
6485
|
+
timeout: "timeout";
|
|
6486
|
+
network: "network";
|
|
6487
|
+
}>>;
|
|
6488
|
+
}, z.core.$strip>>;
|
|
6118
6489
|
}, z.core.$strip>>>;
|
|
6119
6490
|
}, z.core.$strip>>>;
|
|
6120
6491
|
collector: z.ZodOptional<z.ZodObject<{
|
|
@@ -6180,6 +6551,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6180
6551
|
push: string;
|
|
6181
6552
|
type?: string | undefined;
|
|
6182
6553
|
init?: string | undefined;
|
|
6554
|
+
pushBatch?: string | undefined;
|
|
6555
|
+
on?: string | undefined;
|
|
6556
|
+
destroy?: string | undefined;
|
|
6183
6557
|
} | undefined;
|
|
6184
6558
|
import?: string | undefined;
|
|
6185
6559
|
config?: {
|
|
@@ -6216,6 +6590,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6216
6590
|
mapping?: unknown;
|
|
6217
6591
|
out?: unknown;
|
|
6218
6592
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
6593
|
+
outcome?: {
|
|
6594
|
+
status: "queued" | "failed";
|
|
6595
|
+
code: string;
|
|
6596
|
+
retryable?: boolean | undefined;
|
|
6597
|
+
} | undefined;
|
|
6598
|
+
respond?: {
|
|
6599
|
+
status?: number | undefined;
|
|
6600
|
+
body?: unknown;
|
|
6601
|
+
error?: "timeout" | "network" | undefined;
|
|
6602
|
+
} | undefined;
|
|
6219
6603
|
}> | undefined;
|
|
6220
6604
|
cache?: {
|
|
6221
6605
|
rules: {
|
|
@@ -6248,6 +6632,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6248
6632
|
push: string;
|
|
6249
6633
|
type?: string | undefined;
|
|
6250
6634
|
init?: string | undefined;
|
|
6635
|
+
pushBatch?: string | undefined;
|
|
6636
|
+
on?: string | undefined;
|
|
6637
|
+
destroy?: string | undefined;
|
|
6251
6638
|
} | undefined;
|
|
6252
6639
|
import?: string | undefined;
|
|
6253
6640
|
config?: {
|
|
@@ -6270,6 +6657,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6270
6657
|
mapping?: unknown;
|
|
6271
6658
|
out?: unknown;
|
|
6272
6659
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
6660
|
+
outcome?: {
|
|
6661
|
+
status: "queued" | "failed";
|
|
6662
|
+
code: string;
|
|
6663
|
+
retryable?: boolean | undefined;
|
|
6664
|
+
} | undefined;
|
|
6665
|
+
respond?: {
|
|
6666
|
+
status?: number | undefined;
|
|
6667
|
+
body?: unknown;
|
|
6668
|
+
error?: "timeout" | "network" | undefined;
|
|
6669
|
+
} | undefined;
|
|
6273
6670
|
}> | undefined;
|
|
6274
6671
|
cache?: {
|
|
6275
6672
|
rules: {
|
|
@@ -6302,6 +6699,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6302
6699
|
push: string;
|
|
6303
6700
|
type?: string | undefined;
|
|
6304
6701
|
init?: string | undefined;
|
|
6702
|
+
pushBatch?: string | undefined;
|
|
6703
|
+
on?: string | undefined;
|
|
6704
|
+
destroy?: string | undefined;
|
|
6305
6705
|
} | undefined;
|
|
6306
6706
|
import?: string | undefined;
|
|
6307
6707
|
config?: unknown;
|
|
@@ -6321,6 +6721,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6321
6721
|
mapping?: unknown;
|
|
6322
6722
|
out?: unknown;
|
|
6323
6723
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
6724
|
+
outcome?: {
|
|
6725
|
+
status: "queued" | "failed";
|
|
6726
|
+
code: string;
|
|
6727
|
+
retryable?: boolean | undefined;
|
|
6728
|
+
} | undefined;
|
|
6729
|
+
respond?: {
|
|
6730
|
+
status?: number | undefined;
|
|
6731
|
+
body?: unknown;
|
|
6732
|
+
error?: "timeout" | "network" | undefined;
|
|
6733
|
+
} | undefined;
|
|
6324
6734
|
}> | undefined;
|
|
6325
6735
|
cache?: {
|
|
6326
6736
|
rules: {
|
|
@@ -6354,6 +6764,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6354
6764
|
push: string;
|
|
6355
6765
|
type?: string | undefined;
|
|
6356
6766
|
init?: string | undefined;
|
|
6767
|
+
pushBatch?: string | undefined;
|
|
6768
|
+
on?: string | undefined;
|
|
6769
|
+
destroy?: string | undefined;
|
|
6357
6770
|
} | undefined;
|
|
6358
6771
|
import?: string | undefined;
|
|
6359
6772
|
config?: {
|
|
@@ -6382,6 +6795,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
|
|
|
6382
6795
|
mapping?: unknown;
|
|
6383
6796
|
out?: unknown;
|
|
6384
6797
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
6798
|
+
outcome?: {
|
|
6799
|
+
status: "queued" | "failed";
|
|
6800
|
+
code: string;
|
|
6801
|
+
retryable?: boolean | undefined;
|
|
6802
|
+
} | undefined;
|
|
6803
|
+
respond?: {
|
|
6804
|
+
status?: number | undefined;
|
|
6805
|
+
body?: unknown;
|
|
6806
|
+
error?: "timeout" | "network" | undefined;
|
|
6807
|
+
} | undefined;
|
|
6385
6808
|
}> | undefined;
|
|
6386
6809
|
}> | undefined;
|
|
6387
6810
|
collector?: {
|
|
@@ -6443,6 +6866,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6443
6866
|
push: string;
|
|
6444
6867
|
type?: string | undefined;
|
|
6445
6868
|
init?: string | undefined;
|
|
6869
|
+
pushBatch?: string | undefined;
|
|
6870
|
+
on?: string | undefined;
|
|
6871
|
+
destroy?: string | undefined;
|
|
6446
6872
|
} | undefined;
|
|
6447
6873
|
import?: string | undefined;
|
|
6448
6874
|
config?: {
|
|
@@ -6479,6 +6905,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6479
6905
|
mapping?: unknown;
|
|
6480
6906
|
out?: unknown;
|
|
6481
6907
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
6908
|
+
outcome?: {
|
|
6909
|
+
status: "queued" | "failed";
|
|
6910
|
+
code: string;
|
|
6911
|
+
retryable?: boolean | undefined;
|
|
6912
|
+
} | undefined;
|
|
6913
|
+
respond?: {
|
|
6914
|
+
status?: number | undefined;
|
|
6915
|
+
body?: unknown;
|
|
6916
|
+
error?: "timeout" | "network" | undefined;
|
|
6917
|
+
} | undefined;
|
|
6482
6918
|
}> | undefined;
|
|
6483
6919
|
cache?: {
|
|
6484
6920
|
rules: {
|
|
@@ -6511,6 +6947,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6511
6947
|
push: string;
|
|
6512
6948
|
type?: string | undefined;
|
|
6513
6949
|
init?: string | undefined;
|
|
6950
|
+
pushBatch?: string | undefined;
|
|
6951
|
+
on?: string | undefined;
|
|
6952
|
+
destroy?: string | undefined;
|
|
6514
6953
|
} | undefined;
|
|
6515
6954
|
import?: string | undefined;
|
|
6516
6955
|
config?: {
|
|
@@ -6533,6 +6972,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6533
6972
|
mapping?: unknown;
|
|
6534
6973
|
out?: unknown;
|
|
6535
6974
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
6975
|
+
outcome?: {
|
|
6976
|
+
status: "queued" | "failed";
|
|
6977
|
+
code: string;
|
|
6978
|
+
retryable?: boolean | undefined;
|
|
6979
|
+
} | undefined;
|
|
6980
|
+
respond?: {
|
|
6981
|
+
status?: number | undefined;
|
|
6982
|
+
body?: unknown;
|
|
6983
|
+
error?: "timeout" | "network" | undefined;
|
|
6984
|
+
} | undefined;
|
|
6536
6985
|
}> | undefined;
|
|
6537
6986
|
cache?: {
|
|
6538
6987
|
rules: {
|
|
@@ -6565,6 +7014,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6565
7014
|
push: string;
|
|
6566
7015
|
type?: string | undefined;
|
|
6567
7016
|
init?: string | undefined;
|
|
7017
|
+
pushBatch?: string | undefined;
|
|
7018
|
+
on?: string | undefined;
|
|
7019
|
+
destroy?: string | undefined;
|
|
6568
7020
|
} | undefined;
|
|
6569
7021
|
import?: string | undefined;
|
|
6570
7022
|
config?: unknown;
|
|
@@ -6584,6 +7036,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6584
7036
|
mapping?: unknown;
|
|
6585
7037
|
out?: unknown;
|
|
6586
7038
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
7039
|
+
outcome?: {
|
|
7040
|
+
status: "queued" | "failed";
|
|
7041
|
+
code: string;
|
|
7042
|
+
retryable?: boolean | undefined;
|
|
7043
|
+
} | undefined;
|
|
7044
|
+
respond?: {
|
|
7045
|
+
status?: number | undefined;
|
|
7046
|
+
body?: unknown;
|
|
7047
|
+
error?: "timeout" | "network" | undefined;
|
|
7048
|
+
} | undefined;
|
|
6587
7049
|
}> | undefined;
|
|
6588
7050
|
cache?: {
|
|
6589
7051
|
rules: {
|
|
@@ -6617,6 +7079,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6617
7079
|
push: string;
|
|
6618
7080
|
type?: string | undefined;
|
|
6619
7081
|
init?: string | undefined;
|
|
7082
|
+
pushBatch?: string | undefined;
|
|
7083
|
+
on?: string | undefined;
|
|
7084
|
+
destroy?: string | undefined;
|
|
6620
7085
|
} | undefined;
|
|
6621
7086
|
import?: string | undefined;
|
|
6622
7087
|
config?: {
|
|
@@ -6645,6 +7110,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
|
|
|
6645
7110
|
mapping?: unknown;
|
|
6646
7111
|
out?: unknown;
|
|
6647
7112
|
command?: "consent" | "config" | "user" | "run" | undefined;
|
|
7113
|
+
outcome?: {
|
|
7114
|
+
status: "queued" | "failed";
|
|
7115
|
+
code: string;
|
|
7116
|
+
retryable?: boolean | undefined;
|
|
7117
|
+
} | undefined;
|
|
7118
|
+
respond?: {
|
|
7119
|
+
status?: number | undefined;
|
|
7120
|
+
body?: unknown;
|
|
7121
|
+
error?: "timeout" | "network" | undefined;
|
|
7122
|
+
} | undefined;
|
|
6648
7123
|
}> | undefined;
|
|
6649
7124
|
}> | undefined;
|
|
6650
7125
|
collector?: {
|
|
@@ -6671,7 +7146,7 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6671
7146
|
description: z.ZodOptional<z.ZodString>;
|
|
6672
7147
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
6673
7148
|
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6674
|
-
}, z.core.$
|
|
7149
|
+
}, z.core.$strict>>>;
|
|
6675
7150
|
flows: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6676
7151
|
config: z.ZodOptional<z.ZodObject<{
|
|
6677
7152
|
platform: z.ZodEnum<{
|
|
@@ -6709,7 +7184,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6709
7184
|
push: z.ZodString;
|
|
6710
7185
|
type: z.ZodOptional<z.ZodString>;
|
|
6711
7186
|
init: z.ZodOptional<z.ZodString>;
|
|
6712
|
-
|
|
7187
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
7188
|
+
on: z.ZodOptional<z.ZodString>;
|
|
7189
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
7190
|
+
}, z.core.$strict>>;
|
|
6713
7191
|
import: z.ZodOptional<z.ZodString>;
|
|
6714
7192
|
config: z.ZodOptional<z.ZodObject<{
|
|
6715
7193
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -6755,6 +7233,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6755
7233
|
user: "user";
|
|
6756
7234
|
run: "run";
|
|
6757
7235
|
}>>;
|
|
7236
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
7237
|
+
status: z.ZodEnum<{
|
|
7238
|
+
queued: "queued";
|
|
7239
|
+
failed: "failed";
|
|
7240
|
+
}>;
|
|
7241
|
+
code: z.ZodString;
|
|
7242
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
7243
|
+
}, z.core.$strip>>;
|
|
7244
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
7245
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
7246
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
7247
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
7248
|
+
timeout: "timeout";
|
|
7249
|
+
network: "network";
|
|
7250
|
+
}>>;
|
|
7251
|
+
}, z.core.$strip>>;
|
|
6758
7252
|
}, z.core.$strip>>>;
|
|
6759
7253
|
cache: z.ZodOptional<z.ZodObject<{
|
|
6760
7254
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6793,7 +7287,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6793
7287
|
push: z.ZodString;
|
|
6794
7288
|
type: z.ZodOptional<z.ZodString>;
|
|
6795
7289
|
init: z.ZodOptional<z.ZodString>;
|
|
6796
|
-
|
|
7290
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
7291
|
+
on: z.ZodOptional<z.ZodString>;
|
|
7292
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
7293
|
+
}, z.core.$strict>>;
|
|
6797
7294
|
import: z.ZodOptional<z.ZodString>;
|
|
6798
7295
|
config: z.ZodOptional<z.ZodObject<{
|
|
6799
7296
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -6819,6 +7316,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6819
7316
|
user: "user";
|
|
6820
7317
|
run: "run";
|
|
6821
7318
|
}>>;
|
|
7319
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
7320
|
+
status: z.ZodEnum<{
|
|
7321
|
+
queued: "queued";
|
|
7322
|
+
failed: "failed";
|
|
7323
|
+
}>;
|
|
7324
|
+
code: z.ZodString;
|
|
7325
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
7326
|
+
}, z.core.$strip>>;
|
|
7327
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
7328
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
7329
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
7330
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
7331
|
+
timeout: "timeout";
|
|
7332
|
+
network: "network";
|
|
7333
|
+
}>>;
|
|
7334
|
+
}, z.core.$strip>>;
|
|
6822
7335
|
}, z.core.$strip>>>;
|
|
6823
7336
|
cache: z.ZodOptional<z.ZodObject<{
|
|
6824
7337
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6857,7 +7370,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6857
7370
|
push: z.ZodString;
|
|
6858
7371
|
type: z.ZodOptional<z.ZodString>;
|
|
6859
7372
|
init: z.ZodOptional<z.ZodString>;
|
|
6860
|
-
|
|
7373
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
7374
|
+
on: z.ZodOptional<z.ZodString>;
|
|
7375
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
7376
|
+
}, z.core.$strict>>;
|
|
6861
7377
|
import: z.ZodOptional<z.ZodString>;
|
|
6862
7378
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
6863
7379
|
env: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -6881,6 +7397,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6881
7397
|
user: "user";
|
|
6882
7398
|
run: "run";
|
|
6883
7399
|
}>>;
|
|
7400
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
7401
|
+
status: z.ZodEnum<{
|
|
7402
|
+
queued: "queued";
|
|
7403
|
+
failed: "failed";
|
|
7404
|
+
}>;
|
|
7405
|
+
code: z.ZodString;
|
|
7406
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
7407
|
+
}, z.core.$strip>>;
|
|
7408
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
7409
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
7410
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
7411
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
7412
|
+
timeout: "timeout";
|
|
7413
|
+
network: "network";
|
|
7414
|
+
}>>;
|
|
7415
|
+
}, z.core.$strip>>;
|
|
6884
7416
|
}, z.core.$strip>>>;
|
|
6885
7417
|
cache: z.ZodOptional<z.ZodObject<{
|
|
6886
7418
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6920,7 +7452,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6920
7452
|
push: z.ZodString;
|
|
6921
7453
|
type: z.ZodOptional<z.ZodString>;
|
|
6922
7454
|
init: z.ZodOptional<z.ZodString>;
|
|
6923
|
-
|
|
7455
|
+
pushBatch: z.ZodOptional<z.ZodString>;
|
|
7456
|
+
on: z.ZodOptional<z.ZodString>;
|
|
7457
|
+
destroy: z.ZodOptional<z.ZodString>;
|
|
7458
|
+
}, z.core.$strict>>;
|
|
6924
7459
|
import: z.ZodOptional<z.ZodString>;
|
|
6925
7460
|
config: z.ZodOptional<z.ZodObject<{
|
|
6926
7461
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -6952,6 +7487,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
|
|
|
6952
7487
|
user: "user";
|
|
6953
7488
|
run: "run";
|
|
6954
7489
|
}>>;
|
|
7490
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
7491
|
+
status: z.ZodEnum<{
|
|
7492
|
+
queued: "queued";
|
|
7493
|
+
failed: "failed";
|
|
7494
|
+
}>;
|
|
7495
|
+
code: z.ZodString;
|
|
7496
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
7497
|
+
}, z.core.$strip>>;
|
|
7498
|
+
respond: z.ZodOptional<z.ZodObject<{
|
|
7499
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
7500
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
7501
|
+
error: z.ZodOptional<z.ZodEnum<{
|
|
7502
|
+
timeout: "timeout";
|
|
7503
|
+
network: "network";
|
|
7504
|
+
}>>;
|
|
7505
|
+
}, z.core.$strip>>;
|
|
6955
7506
|
}, z.core.$strip>>>;
|
|
6956
7507
|
}, z.core.$strip>>>;
|
|
6957
7508
|
collector: z.ZodOptional<z.ZodObject<{
|
|
@@ -7322,6 +7873,10 @@ declare const LoggerConfigSchema: z.ZodObject<{
|
|
|
7322
7873
|
INFO: "INFO";
|
|
7323
7874
|
DEBUG: "DEBUG";
|
|
7324
7875
|
}>]>>;
|
|
7876
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
7877
|
+
text: "text";
|
|
7878
|
+
json: "json";
|
|
7879
|
+
}>>;
|
|
7325
7880
|
handler: z.ZodOptional<z.ZodAny>;
|
|
7326
7881
|
}, z.core.$strip>;
|
|
7327
7882
|
|
|
@@ -7410,6 +7965,8 @@ interface ValidationIssue {
|
|
|
7410
7965
|
message: string;
|
|
7411
7966
|
severity: 'error' | 'warning';
|
|
7412
7967
|
path?: string;
|
|
7968
|
+
/** A stable code for checks shared with `validateFlowStructure`. */
|
|
7969
|
+
code?: string;
|
|
7413
7970
|
line: number;
|
|
7414
7971
|
column: number;
|
|
7415
7972
|
endLine?: number;
|
|
@@ -8011,7 +8568,18 @@ interface ObserveServer {
|
|
|
8011
8568
|
/** Deterministic sample fraction in [0, 1]. Defaults to 1. */
|
|
8012
8569
|
sample?: number;
|
|
8013
8570
|
}
|
|
8014
|
-
|
|
8571
|
+
/** Where a web arm finds its credential: the page, from `@walkeros/web-core`. */
|
|
8572
|
+
interface ObserveSlot {
|
|
8573
|
+
/** The URL credential if present, else the stored one; null when absent. */
|
|
8574
|
+
read(): {
|
|
8575
|
+
raw: string;
|
|
8576
|
+
fromUrl: boolean;
|
|
8577
|
+
} | null;
|
|
8578
|
+
/** Persist `raw`; when it came from the URL, strip it from the address bar. */
|
|
8579
|
+
keep(raw: string, fromUrl: boolean): void;
|
|
8580
|
+
/** Clear the stored credential only while it still equals `raw`. */
|
|
8581
|
+
clear(raw: string): void;
|
|
8582
|
+
}
|
|
8015
8583
|
|
|
8016
8584
|
/**
|
|
8017
8585
|
* FlowState is the canonical observation record emitted at each hop in a
|
|
@@ -8072,10 +8640,16 @@ interface FlowState {
|
|
|
8072
8640
|
inEvent?: unknown;
|
|
8073
8641
|
/** Outbound walker event/payload for this hop. Only populated when level === 'trace' or includeOut === true. */
|
|
8074
8642
|
outEvent?: unknown;
|
|
8075
|
-
/**
|
|
8643
|
+
/**
|
|
8644
|
+
* Error info when phase === 'error'. A delivery failure also carries its
|
|
8645
|
+
* failure `code`, whether a retry can help and the HTTP `status`.
|
|
8646
|
+
*/
|
|
8076
8647
|
error?: {
|
|
8077
8648
|
name?: string;
|
|
8078
8649
|
message: string;
|
|
8650
|
+
code?: string;
|
|
8651
|
+
retryable?: boolean;
|
|
8652
|
+
status?: number;
|
|
8079
8653
|
};
|
|
8080
8654
|
/** The mapping rule that matched, when one matched. */
|
|
8081
8655
|
mappingKey?: string;
|
|
@@ -8090,7 +8664,7 @@ interface FlowState {
|
|
|
8090
8664
|
/** For phase === 'flush', the batch size + entry index. */
|
|
8091
8665
|
batch?: FlowStateBatch;
|
|
8092
8666
|
/** Discriminator when phase === 'skip'. */
|
|
8093
|
-
skipReason?: 'consent' | 'cache_hit' | 'sampled_out' | 'disabled' | 'dropped' | 'unknown';
|
|
8667
|
+
skipReason?: 'consent' | 'cache_hit' | 'sampled_out' | 'disabled' | 'dropped' | 'ignored' | 'unknown';
|
|
8094
8668
|
/** Free-form metadata: store key/value, cached: true, etc. */
|
|
8095
8669
|
meta?: Record<string, unknown>;
|
|
8096
8670
|
}
|
|
@@ -8104,6 +8678,25 @@ interface FlowState {
|
|
|
8104
8678
|
*/
|
|
8105
8679
|
type ObserverFn = (state: FlowState) => void;
|
|
8106
8680
|
|
|
8681
|
+
/** What a failure line is about: the step, the cause code and the HTTP status. */
|
|
8682
|
+
interface CauseKey {
|
|
8683
|
+
step: string;
|
|
8684
|
+
code: string;
|
|
8685
|
+
status?: number;
|
|
8686
|
+
}
|
|
8687
|
+
/**
|
|
8688
|
+
* One line per cause: the first occurrence of a key is logged at once,
|
|
8689
|
+
* repeats within the window are counted and printed as `suppressed: <n>`
|
|
8690
|
+
* with the next line of that key or at `flush`.
|
|
8691
|
+
*/
|
|
8692
|
+
interface CauseLog {
|
|
8693
|
+
report(key: CauseKey, message: string, context: Record<string, unknown>, level?: 'error' | 'warn'): void;
|
|
8694
|
+
/** Print the pending `suppressed` counts (server shutdown). */
|
|
8695
|
+
flush(): void;
|
|
8696
|
+
/** Number of keys held. */
|
|
8697
|
+
size(): number;
|
|
8698
|
+
}
|
|
8699
|
+
|
|
8107
8700
|
/**
|
|
8108
8701
|
* Drop counters at a single step. Each buffer is optional: a step kind
|
|
8109
8702
|
* may have only `queue` (collector), only `dlq`, both (destinations
|
|
@@ -8155,6 +8748,14 @@ interface Config$6 {
|
|
|
8155
8748
|
* destination backfill. Overflow drops oldest (FIFO). Default 1000.
|
|
8156
8749
|
*/
|
|
8157
8750
|
queueMax?: number;
|
|
8751
|
+
/**
|
|
8752
|
+
* What a destination does with an event whose required consent is not
|
|
8753
|
+
* granted: `'queue'` (default) keeps it in the destination's `queuePush`
|
|
8754
|
+
* until consent is granted; `'skip'` skips it (counted in
|
|
8755
|
+
* `status.destinations[id].skipped`, a DEBUG line), for a server collector
|
|
8756
|
+
* that never receives a later grant for an event's own consent.
|
|
8757
|
+
*/
|
|
8758
|
+
consentDenied?: 'queue' | 'skip';
|
|
8158
8759
|
/** Flow name; keys this flow's entry in event.source.release and the observer flowId. */
|
|
8159
8760
|
name?: string;
|
|
8160
8761
|
/** Config release id stamped into event.source.release for this flow. */
|
|
@@ -8193,11 +8794,14 @@ interface InitConfig extends Partial<Config$6> {
|
|
|
8193
8794
|
/**
|
|
8194
8795
|
* Observation session connect config, wired by `startFlow` before the run
|
|
8195
8796
|
* command. The server form attaches a telemetry poster directly from its
|
|
8196
|
-
* config trio; the web form
|
|
8197
|
-
*
|
|
8198
|
-
* advisory: nothing on this
|
|
8797
|
+
* config trio; the web form reads its credential through `slot`
|
|
8798
|
+
* (`pageObserveSlot()` from `@walkeros/web-core`) and attaches only when
|
|
8799
|
+
* one is present and its binding matches. Purely advisory: nothing on this
|
|
8800
|
+
* path can affect event processing.
|
|
8199
8801
|
*/
|
|
8200
|
-
observe?:
|
|
8802
|
+
observe?: (ObserveWeb & {
|
|
8803
|
+
slot: ObserveSlot;
|
|
8804
|
+
}) | ObserveServer;
|
|
8201
8805
|
/**
|
|
8202
8806
|
* Caller-supplied observers, added verbatim to `collector.observers` by
|
|
8203
8807
|
* `startFlow`. Escape hatch for custom emit targets; same advisory
|
|
@@ -8284,6 +8888,11 @@ interface SourceStatus {
|
|
|
8284
8888
|
interface DestinationStatus {
|
|
8285
8889
|
count: number;
|
|
8286
8890
|
failed: number;
|
|
8891
|
+
/**
|
|
8892
|
+
* Events deliberately not sent: a consent-denied event under
|
|
8893
|
+
* `consentDenied: 'skip'`, or an event a mapping rule `ignore`s.
|
|
8894
|
+
*/
|
|
8895
|
+
skipped?: number;
|
|
8287
8896
|
lastAt?: number;
|
|
8288
8897
|
duration: number;
|
|
8289
8898
|
/** Current size of the destination's queuePush buffer (point-in-time). */
|
|
@@ -8400,6 +9009,12 @@ interface Instance$5 {
|
|
|
8400
9009
|
*/
|
|
8401
9010
|
observeLevel?: () => 'off' | 'standard' | 'trace';
|
|
8402
9011
|
logger: Instance$3;
|
|
9012
|
+
/**
|
|
9013
|
+
* The collector's one cause log: every failure line goes through it, one
|
|
9014
|
+
* line per (step, cause code, status) per minute. Set by `startFlow`;
|
|
9015
|
+
* optional only so hand-built test collectors keep compiling.
|
|
9016
|
+
*/
|
|
9017
|
+
causeLog?: CauseLog;
|
|
8403
9018
|
on: OnConfig;
|
|
8404
9019
|
queue: Events;
|
|
8405
9020
|
/**
|
|
@@ -8573,6 +9188,20 @@ type SetupFn<C = unknown, E = unknown> = (context: LifecycleContext<C, E>) => Pr
|
|
|
8573
9188
|
*/
|
|
8574
9189
|
type DestroyFn<C = unknown, E = unknown> = (context: LifecycleContext<C, E>) => PromiseOrValue<void>;
|
|
8575
9190
|
|
|
9191
|
+
/** Why a push failed, as a push result and the logs carry it. Never a body. */
|
|
9192
|
+
type FailureReason = {
|
|
9193
|
+
code: string;
|
|
9194
|
+
message: string;
|
|
9195
|
+
retryable: boolean;
|
|
9196
|
+
status?: number;
|
|
9197
|
+
};
|
|
9198
|
+
/** Why an event waits instead of being delivered now. */
|
|
9199
|
+
type QueueReason = 'consent' | 'batch' | 'held';
|
|
9200
|
+
type QueuedReason = {
|
|
9201
|
+
code: QueueReason;
|
|
9202
|
+
message: string;
|
|
9203
|
+
};
|
|
9204
|
+
|
|
8576
9205
|
/**
|
|
8577
9206
|
* Base environment requirements interface for walkerOS destinations
|
|
8578
9207
|
*
|
|
@@ -8615,9 +9244,20 @@ type Mapping$1<T extends TypesGeneric$3 = Types$4> = T['mapping'];
|
|
|
8615
9244
|
type Env$3<T extends TypesGeneric$3 = Types$4> = T['env'];
|
|
8616
9245
|
type SetupOptions$2<T extends TypesGeneric$3 = Types$4> = T['setup'];
|
|
8617
9246
|
type Credentials$2<T extends TypesGeneric$3 = Types$4> = T['credentials'];
|
|
9247
|
+
/**
|
|
9248
|
+
* An event waiting in a destination's `queuePush`, with why it waits:
|
|
9249
|
+
* `consent` (its required consent is not granted) or `held` (a state
|
|
9250
|
+
* delivery to the destination is running or failed). An entry seeded from
|
|
9251
|
+
* the collector's replay buffer has no reason yet. The entry object keeps its
|
|
9252
|
+
* identity across drain and requeue; the event inside is copied.
|
|
9253
|
+
*/
|
|
9254
|
+
interface Queued {
|
|
9255
|
+
event: Event;
|
|
9256
|
+
reason?: 'consent' | 'held';
|
|
9257
|
+
}
|
|
8618
9258
|
interface Instance$4<T extends TypesGeneric$3 = Types$4> {
|
|
8619
9259
|
config: Config$5<T>;
|
|
8620
|
-
queuePush?:
|
|
9260
|
+
queuePush?: Queued[];
|
|
8621
9261
|
queueOn?: Array<{
|
|
8622
9262
|
type: Types$3;
|
|
8623
9263
|
data?: unknown;
|
|
@@ -8793,7 +9433,7 @@ interface PushBatchContext<T extends TypesGeneric$3 = Types$4> extends Context$4
|
|
|
8793
9433
|
ingest: Ingest;
|
|
8794
9434
|
rule?: Rule<Mapping$1<T>>;
|
|
8795
9435
|
}
|
|
8796
|
-
type InitFn$1<T extends TypesGeneric$3 = Types$4> = (context: Context$4<T>) => PromiseOrValue<void |
|
|
9436
|
+
type InitFn$1<T extends TypesGeneric$3 = Types$4> = (context: Context$4<T>) => PromiseOrValue<void | Config$5<T>>;
|
|
8797
9437
|
type PushFn<T extends TypesGeneric$3 = Types$4> = (event: Event, context: PushContext<T>) => PromiseOrValue<void | unknown>;
|
|
8798
9438
|
/**
|
|
8799
9439
|
* Per-row outcome for a single failed batch entry.
|
|
@@ -8867,17 +9507,32 @@ interface BatchRegistry<Mapping> {
|
|
|
8867
9507
|
batchFn: () => void;
|
|
8868
9508
|
/**
|
|
8869
9509
|
* Force a flush of the current batch immediately. Used by shutdown
|
|
8870
|
-
* drain and by tests for deterministic flushing without
|
|
8871
|
-
* advancement. Resolves after the underlying `pushBatch` settles
|
|
9510
|
+
* drain, `walker flush` and by tests for deterministic flushing without
|
|
9511
|
+
* timer advancement. Resolves after the underlying `pushBatch` settles,
|
|
9512
|
+
* with what that flush did (nothing when the batch was empty).
|
|
8872
9513
|
*/
|
|
8873
|
-
flush: () => Promise<void>;
|
|
9514
|
+
flush: () => Promise<BatchFlushOutcome | void>;
|
|
8874
9515
|
};
|
|
8875
9516
|
}
|
|
9517
|
+
/**
|
|
9518
|
+
* What one batch flush did: entries delivered and failed, and the reason of
|
|
9519
|
+
* a failure when any entry failed.
|
|
9520
|
+
*/
|
|
9521
|
+
interface BatchFlushOutcome {
|
|
9522
|
+
delivered: number;
|
|
9523
|
+
failed: number;
|
|
9524
|
+
reason?: FailureReason;
|
|
9525
|
+
}
|
|
8876
9526
|
type Data = Property | undefined | Array<Property | undefined>;
|
|
8877
9527
|
interface Ref {
|
|
8878
9528
|
type: string;
|
|
8879
9529
|
data?: unknown;
|
|
8880
9530
|
error?: unknown;
|
|
9531
|
+
/**
|
|
9532
|
+
* Why the destination did not deliver now: a `FailureReason` under
|
|
9533
|
+
* `failed`, a `QueuedReason` under `queued`.
|
|
9534
|
+
*/
|
|
9535
|
+
reason?: FailureReason | QueuedReason;
|
|
8881
9536
|
}
|
|
8882
9537
|
type DLQ = Array<[Event, unknown]>;
|
|
8883
9538
|
|
|
@@ -8920,6 +9575,12 @@ interface PushResult {
|
|
|
8920
9575
|
invalid?: boolean;
|
|
8921
9576
|
/** Human-readable failure reason when ok is false. */
|
|
8922
9577
|
error?: string;
|
|
9578
|
+
/**
|
|
9579
|
+
* Why the push failed when `ok` is false without a `failed` entry: a full
|
|
9580
|
+
* pre-run queue (`queue-full`), a transformer that threw (`transformer`)
|
|
9581
|
+
* or is not ready, a rule `condition` that threw (`mapping`).
|
|
9582
|
+
*/
|
|
9583
|
+
reason?: FailureReason;
|
|
8923
9584
|
}
|
|
8924
9585
|
|
|
8925
9586
|
type AnyFunction<P extends unknown[] = never[], R = unknown> = (...args: P) => R;
|
|
@@ -8959,8 +9620,8 @@ interface LogContext {
|
|
|
8959
9620
|
*/
|
|
8960
9621
|
type LogFn = (message: string | Error, context?: unknown | Error) => void;
|
|
8961
9622
|
/**
|
|
8962
|
-
* Throw function signature
|
|
8963
|
-
*
|
|
9623
|
+
* Throw function signature: throws an Error with the message, never logs
|
|
9624
|
+
* (the catching collector logs the failure once). Returns never.
|
|
8964
9625
|
*/
|
|
8965
9626
|
type ThrowFn = (message: string | Error, context?: unknown) => never;
|
|
8966
9627
|
/**
|
|
@@ -8994,8 +9655,8 @@ interface Instance$3 {
|
|
|
8994
9655
|
*/
|
|
8995
9656
|
debug: LogFn;
|
|
8996
9657
|
/**
|
|
8997
|
-
*
|
|
8998
|
-
*
|
|
9658
|
+
* Throw an Error with the message. Does not log: the collector's catch
|
|
9659
|
+
* writes the one line for the failure.
|
|
8999
9660
|
*/
|
|
9000
9661
|
throw: ThrowFn;
|
|
9001
9662
|
/**
|
|
@@ -9009,6 +9670,12 @@ interface Instance$3 {
|
|
|
9009
9670
|
*/
|
|
9010
9671
|
scope: (name: string) => Instance$3;
|
|
9011
9672
|
}
|
|
9673
|
+
/**
|
|
9674
|
+
* Output format of a server terminal logger: one text line per call, or one
|
|
9675
|
+
* JSON object per line (`severity`, `message`, `scope`, `context`, `time`),
|
|
9676
|
+
* which Cloud Run, Loki and Datadog read as structured entries.
|
|
9677
|
+
*/
|
|
9678
|
+
type Format = 'text' | 'json';
|
|
9012
9679
|
/**
|
|
9013
9680
|
* Logger configuration options
|
|
9014
9681
|
*/
|
|
@@ -9018,6 +9685,13 @@ interface Config$4 {
|
|
|
9018
9685
|
* @default Level.ERROR
|
|
9019
9686
|
*/
|
|
9020
9687
|
level?: Level | keyof typeof Level;
|
|
9688
|
+
/**
|
|
9689
|
+
* Output format of a server flow's log lines (`@walkeros/core/node`'s
|
|
9690
|
+
* terminal logger, used by `runneros`). Web flows log to the browser
|
|
9691
|
+
* console and reject it.
|
|
9692
|
+
* @default 'text'
|
|
9693
|
+
*/
|
|
9694
|
+
format?: Format;
|
|
9021
9695
|
/**
|
|
9022
9696
|
* Custom log handler function
|
|
9023
9697
|
* Receives originalHandler to preserve default behavior
|
|
@@ -9207,6 +9881,12 @@ interface Config$2<T extends TypesGeneric$2 = Types$2> {
|
|
|
9207
9881
|
state?: State | State[];
|
|
9208
9882
|
init?: boolean;
|
|
9209
9883
|
disabled?: boolean;
|
|
9884
|
+
/**
|
|
9885
|
+
* Timeout in ms (default 10000) for `init` and for each `push`: one that
|
|
9886
|
+
* does not settle within this window fails the push with code `timeout`;
|
|
9887
|
+
* the next push retries the init.
|
|
9888
|
+
*/
|
|
9889
|
+
timeout?: number;
|
|
9210
9890
|
/** Return this value instead of calling push(). Global mock for all chains. */
|
|
9211
9891
|
mock?: unknown;
|
|
9212
9892
|
/** Path-specific mock values keyed by chain path (e.g., "destination.ga4.before"). Takes precedence over global mock. */
|
|
@@ -9270,10 +9950,10 @@ type Fn<T extends TypesGeneric$2 = Types$2, E = DeepPartialEvent> = (event: E, c
|
|
|
9270
9950
|
*
|
|
9271
9951
|
* @param context - Transformer context
|
|
9272
9952
|
* @returns void - initialization successful
|
|
9273
|
-
* @
|
|
9953
|
+
* @throws StepError - initialization failed; the push fails
|
|
9274
9954
|
* @returns Config<T> - return updated config
|
|
9275
9955
|
*/
|
|
9276
|
-
type InitFn<T extends TypesGeneric$2 = Types$2> = (context: Context$2<T>) => PromiseOrValue<void |
|
|
9956
|
+
type InitFn<T extends TypesGeneric$2 = Types$2> = (context: Context$2<T>) => PromiseOrValue<void | Config$2<T>>;
|
|
9277
9957
|
/**
|
|
9278
9958
|
* Transformer instance returned by Init function.
|
|
9279
9959
|
*/
|
|
@@ -10152,6 +10832,12 @@ declare namespace Flow {
|
|
|
10152
10832
|
type?: string;
|
|
10153
10833
|
/** Optional "$code:..." init function. */
|
|
10154
10834
|
init?: string;
|
|
10835
|
+
/** Optional "$code:..." batch push function (destinations). */
|
|
10836
|
+
pushBatch?: string;
|
|
10837
|
+
/** Optional "$code:..." event handler (`on('consent')` and others). */
|
|
10838
|
+
on?: string;
|
|
10839
|
+
/** Optional "$code:..." destroy function. */
|
|
10840
|
+
destroy?: string;
|
|
10155
10841
|
}
|
|
10156
10842
|
/**
|
|
10157
10843
|
* Source reference with inline package syntax.
|
|
@@ -10175,7 +10861,7 @@ declare namespace Flow {
|
|
|
10175
10861
|
/**
|
|
10176
10862
|
* Inline code definition (object form only).
|
|
10177
10863
|
*
|
|
10178
|
-
* Object: `{push, type?, init?}` for inline code definition.
|
|
10864
|
+
* Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
|
|
10179
10865
|
* For named-export selection from a package, use the `import` field with `package`.
|
|
10180
10866
|
*/
|
|
10181
10867
|
code?: Code;
|
|
@@ -10258,7 +10944,7 @@ declare namespace Flow {
|
|
|
10258
10944
|
/**
|
|
10259
10945
|
* Inline code definition (object form only).
|
|
10260
10946
|
*
|
|
10261
|
-
* Object: `{push, type?, init?}` for inline code definition.
|
|
10947
|
+
* Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
|
|
10262
10948
|
* For named-export selection from a package, use the `import` field with `package`.
|
|
10263
10949
|
*/
|
|
10264
10950
|
code?: Code;
|
|
@@ -10322,7 +11008,7 @@ declare namespace Flow {
|
|
|
10322
11008
|
/**
|
|
10323
11009
|
* Inline code definition (object form only).
|
|
10324
11010
|
*
|
|
10325
|
-
* Object: `{push, type?, init?}` for inline code definition.
|
|
11011
|
+
* Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
|
|
10326
11012
|
* For named-export selection from a package, use the `import` field with `package`.
|
|
10327
11013
|
*/
|
|
10328
11014
|
code?: Code;
|
|
@@ -10391,7 +11077,7 @@ declare namespace Flow {
|
|
|
10391
11077
|
/**
|
|
10392
11078
|
* Inline code definition (object form only).
|
|
10393
11079
|
*
|
|
10394
|
-
* Object: `{push, type?, init?}` for inline code definition.
|
|
11080
|
+
* Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
|
|
10395
11081
|
* For named-export selection from a package, use the `import` field with `package`.
|
|
10396
11082
|
*/
|
|
10397
11083
|
code?: Code;
|
|
@@ -10511,6 +11197,43 @@ declare namespace Flow {
|
|
|
10511
11197
|
type StepEffect = readonly [callable: string, ...args: unknown[]];
|
|
10512
11198
|
/** The effects a step produces, in execution order. Empty = no observable effect (filtered, passthrough). */
|
|
10513
11199
|
type StepOut = readonly StepEffect[];
|
|
11200
|
+
/** How a kit boundary answers one request. */
|
|
11201
|
+
interface StepAnswer {
|
|
11202
|
+
status?: number;
|
|
11203
|
+
body?: unknown;
|
|
11204
|
+
/** The status text, which failure answers use to echo a canary. */
|
|
11205
|
+
statusText?: string;
|
|
11206
|
+
/** A network error, or no answer at all. */
|
|
11207
|
+
error?: 'network' | 'timeout';
|
|
11208
|
+
/** Answer one macrotask late (the floating-send check). */
|
|
11209
|
+
late?: boolean;
|
|
11210
|
+
}
|
|
11211
|
+
/** Records one request at the kit boundary; returns its answer and marks it settled. */
|
|
11212
|
+
type StepRecord = (effect: StepEffect) => {
|
|
11213
|
+
answer: StepAnswer;
|
|
11214
|
+
settle: () => void;
|
|
11215
|
+
};
|
|
11216
|
+
/**
|
|
11217
|
+
* The browser page a web step runs on in the conformance kit and the
|
|
11218
|
+
* examples runner. `@walkeros/web-core/dev` implements it as `page`.
|
|
11219
|
+
*/
|
|
11220
|
+
interface StepPage {
|
|
11221
|
+
open(record: StepRecord): StepPageSession;
|
|
11222
|
+
}
|
|
11223
|
+
/** One run on the page, from `open` to `close`. */
|
|
11224
|
+
interface StepPageSession {
|
|
11225
|
+
/** Page globals merged over an examples env's `push` (the document). */
|
|
11226
|
+
globals: Record<string, unknown>;
|
|
11227
|
+
/** Scripts added since `open`, with and without the loadVendor marker. */
|
|
11228
|
+
scripts(): {
|
|
11229
|
+
marked: number;
|
|
11230
|
+
unmarked: number;
|
|
11231
|
+
};
|
|
11232
|
+
/** Fire `error` on every marked script (kit item 2, vendor-global). */
|
|
11233
|
+
failScripts(): void;
|
|
11234
|
+
/** Restore the stubs and remove the scripts added since `open`. */
|
|
11235
|
+
close(): void;
|
|
11236
|
+
}
|
|
10514
11237
|
/**
|
|
10515
11238
|
* Named example pair for a step.
|
|
10516
11239
|
* `in` is the input to the step, `out` is the expected output.
|
|
@@ -10547,6 +11270,29 @@ declare namespace Flow {
|
|
|
10547
11270
|
* When absent (default), `in` is pushed as a regular event.
|
|
10548
11271
|
*/
|
|
10549
11272
|
command?: StepCommand;
|
|
11273
|
+
/**
|
|
11274
|
+
* The reported outcome of a failure or queue example (`public: false`):
|
|
11275
|
+
* the step's status in the push result and its reason code. Absent means
|
|
11276
|
+
* the step must not fail.
|
|
11277
|
+
*/
|
|
11278
|
+
outcome?: StepOutcome;
|
|
11279
|
+
/** What the boundary answers for this example (a failure fixture). */
|
|
11280
|
+
respond?: StepRespond;
|
|
11281
|
+
}
|
|
11282
|
+
/** How a failure or queue example is reported in the push result. */
|
|
11283
|
+
interface StepOutcome {
|
|
11284
|
+
status: 'failed' | 'queued';
|
|
11285
|
+
code: string;
|
|
11286
|
+
retryable?: boolean;
|
|
11287
|
+
}
|
|
11288
|
+
/**
|
|
11289
|
+
* The boundary's answer to the request an example makes: an HTTP status and
|
|
11290
|
+
* body, or a network error or a timeout instead of a response.
|
|
11291
|
+
*/
|
|
11292
|
+
interface StepRespond {
|
|
11293
|
+
status?: number;
|
|
11294
|
+
body?: unknown;
|
|
11295
|
+
error?: 'network' | 'timeout';
|
|
10550
11296
|
}
|
|
10551
11297
|
/** Named step examples keyed by scenario name. */
|
|
10552
11298
|
type StepExamples = Record<string, StepExample>;
|
|
@@ -10664,6 +11410,14 @@ interface ValidateResult {
|
|
|
10664
11410
|
warnings: ValidationWarning[];
|
|
10665
11411
|
details: Record<string, unknown>;
|
|
10666
11412
|
}
|
|
11413
|
+
/**
|
|
11414
|
+
* Unknown keys on a step entry and inside its `config`: both are owned by
|
|
11415
|
+
* the collector, which reads them by name, so a typo (`consentt`) would
|
|
11416
|
+
* silently have no effect. Step-level keys are checked here for
|
|
11417
|
+
* destinations and stores; a source is closed by the flow schema and a
|
|
11418
|
+
* transformer by {@link validateStepEntry}. `at` is the step's path.
|
|
11419
|
+
*/
|
|
11420
|
+
declare function checkStepKeys(step: Record<string, unknown>, kind: Flow.StepKind, at: string): ValidationError[];
|
|
10667
11421
|
/**
|
|
10668
11422
|
* Pure structural validation of a flow config: the exact checks the bundler
|
|
10669
11423
|
* runs at codegen time, BEFORE any esbuild compile or package/archive fetch.
|
|
@@ -10678,7 +11432,14 @@ interface ValidateResult {
|
|
|
10678
11432
|
* - each source/destination/store reference specifies exactly one of
|
|
10679
11433
|
* package or code, and each transformer entry is a closed, valid shape,
|
|
10680
11434
|
* - every `$store.` reference points at a defined store,
|
|
10681
|
-
* - every `state` store is declared and is not a `file: true` store
|
|
11435
|
+
* - every `state` store is declared and is not a `file: true` store,
|
|
11436
|
+
* - no unknown key on a step entry, in a step's `config` or in the
|
|
11437
|
+
* `collector` block (`UNKNOWN_KEY`),
|
|
11438
|
+
* - no mapping field that does nothing at its position (`MAPPING_NO_OP`),
|
|
11439
|
+
* - no mapping value object without an operator or with two producers,
|
|
11440
|
+
* - no `batch` on inline code without `pushBatch`,
|
|
11441
|
+
* - no whole-value reference that would ship as literal text
|
|
11442
|
+
* (`MALFORMED_REFERENCE`).
|
|
10682
11443
|
*
|
|
10683
11444
|
* Intended for fast deploy preflight: catch a bad flow config in well under a
|
|
10684
11445
|
* second without spinning up a container or compiling anything.
|
|
@@ -10706,4 +11467,4 @@ declare function validateComponentNames(components: Record<string, unknown>, sec
|
|
|
10706
11467
|
*/
|
|
10707
11468
|
declare function validateStoreReferences(flowSettings: Flow, storeIds: Set<string>): void;
|
|
10708
11469
|
|
|
10709
|
-
export { ClickIdEntrySchema, Flow, type JSONSchema, type ValidateResult, type ValidateResultType, type ValidationError, type ValidationType, type ValidationWarning, expectSimulationResolves, formatOut, mergeConfigSchema, resolveBaseSchema, routeCases$1 as routeCases, index as schemas, validateComponentNames, validateFlowStructure, validateReference, validateStoreReferences, zodToSchema };
|
|
11470
|
+
export { ClickIdEntrySchema, Flow, type JSONSchema, type ValidateResult, type ValidateResultType, type ValidationError, type ValidationType, type ValidationWarning, checkStepKeys, expectSimulationResolves, formatOut, mergeConfigSchema, resolveBaseSchema, routeCases$1 as routeCases, index as schemas, validateComponentNames, validateFlowStructure, validateReference, validateStoreReferences, zodToSchema };
|