@getuserfeedback/protocol 0.5.12 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import * as z from "zod";
2
- export declare const flowAssignmentStatusSchema: z.ZodEnum<{
1
+ import * as z from "zod/mini";
2
+ export declare const flowAssignmentStatusSchema: z.ZodMiniEnum<{
3
3
  pending: "pending";
4
4
  held: "held";
5
5
  presented: "presented";
@@ -10,11 +10,11 @@ export declare const flowAssignmentStatusSchema: z.ZodEnum<{
10
10
  withdrawn_presented: "withdrawn_presented";
11
11
  withdrawn_final: "withdrawn_final";
12
12
  }>;
13
- export declare const flowAssignmentTargetingContextSchema: z.ZodObject<{
14
- flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
- key: z.ZodString;
16
- target: z.ZodOptional<z.ZodString>;
17
- value: z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
13
+ export declare const flowAssignmentTargetingContextSchema: z.ZodMiniObject<{
14
+ flags: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
15
+ key: z.ZodMiniString<string>;
16
+ target: z.ZodMiniOptional<z.ZodMiniString<string>>;
17
+ value: z.ZodMiniType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
18
18
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
19
19
  } | null)[] | {
20
20
  [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null;
@@ -63,42 +63,42 @@ export declare const flowAssignmentTargetingContextSchema: z.ZodObject<{
63
63
  } | null)[] | {
64
64
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
65
65
  } | null, unknown>>;
66
- variant: z.ZodOptional<z.ZodString>;
67
- origin: z.ZodOptional<z.ZodEnum<{
66
+ variant: z.ZodMiniOptional<z.ZodMiniString<string>>;
67
+ origin: z.ZodMiniOptional<z.ZodMiniEnum<{
68
68
  runtime_config: "runtime_config";
69
69
  trigger_context: "trigger_context";
70
70
  provider_sync: "provider_sync";
71
71
  api: "api";
72
72
  }>>;
73
- provider: z.ZodOptional<z.ZodObject<{
74
- name: z.ZodString;
75
- project: z.ZodOptional<z.ZodString>;
76
- environment: z.ZodOptional<z.ZodString>;
73
+ provider: z.ZodMiniOptional<z.ZodMiniObject<{
74
+ name: z.ZodMiniString<string>;
75
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
76
+ environment: z.ZodMiniOptional<z.ZodMiniString<string>>;
77
77
  }, z.core.$strip>>;
78
- status: z.ZodOptional<z.ZodString>;
79
- reason: z.ZodOptional<z.ZodString>;
80
- evaluatedAt: z.ZodOptional<z.ZodString>;
78
+ status: z.ZodMiniOptional<z.ZodMiniString<string>>;
79
+ reason: z.ZodMiniOptional<z.ZodMiniString<string>>;
80
+ evaluatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
81
81
  }, z.core.$strip>>>;
82
- capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
- key: z.ZodString;
84
- source: z.ZodOptional<z.ZodString>;
85
- provider: z.ZodOptional<z.ZodObject<{
86
- name: z.ZodString;
87
- project: z.ZodOptional<z.ZodString>;
88
- environment: z.ZodOptional<z.ZodString>;
82
+ capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
83
+ key: z.ZodMiniString<string>;
84
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
85
+ provider: z.ZodMiniOptional<z.ZodMiniObject<{
86
+ name: z.ZodMiniString<string>;
87
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
88
+ environment: z.ZodMiniOptional<z.ZodMiniString<string>>;
89
89
  }, z.core.$strip>>;
90
90
  }, z.core.$strip>>>;
91
91
  }, z.core.$strip>;
92
- export declare const flowAssignmentRecipientRequestSchema: z.ZodObject<{
93
- identities: z.ZodDefault<z.ZodArray<z.ZodObject<{
94
- type: z.ZodPipe<z.ZodString, z.ZodTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
95
- value: z.ZodString;
92
+ export declare const flowAssignmentRecipientRequestSchema: z.ZodMiniObject<{
93
+ identities: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniObject<{
94
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
95
+ value: z.ZodMiniString<string>;
96
96
  }, z.core.$strip>>>;
97
- context: z.ZodOptional<z.ZodObject<{
98
- flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
99
- key: z.ZodString;
100
- target: z.ZodOptional<z.ZodString>;
101
- value: z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
97
+ context: z.ZodMiniOptional<z.ZodMiniObject<{
98
+ flags: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
99
+ key: z.ZodMiniString<string>;
100
+ target: z.ZodMiniOptional<z.ZodMiniString<string>>;
101
+ value: z.ZodMiniType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
102
102
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
103
103
  } | null)[] | {
104
104
  [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null;
@@ -147,41 +147,41 @@ export declare const flowAssignmentRecipientRequestSchema: z.ZodObject<{
147
147
  } | null)[] | {
148
148
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
149
149
  } | null, unknown>>;
150
- variant: z.ZodOptional<z.ZodString>;
151
- origin: z.ZodOptional<z.ZodEnum<{
150
+ variant: z.ZodMiniOptional<z.ZodMiniString<string>>;
151
+ origin: z.ZodMiniOptional<z.ZodMiniEnum<{
152
152
  runtime_config: "runtime_config";
153
153
  trigger_context: "trigger_context";
154
154
  provider_sync: "provider_sync";
155
155
  api: "api";
156
156
  }>>;
157
- provider: z.ZodOptional<z.ZodObject<{
158
- name: z.ZodString;
159
- project: z.ZodOptional<z.ZodString>;
160
- environment: z.ZodOptional<z.ZodString>;
157
+ provider: z.ZodMiniOptional<z.ZodMiniObject<{
158
+ name: z.ZodMiniString<string>;
159
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
160
+ environment: z.ZodMiniOptional<z.ZodMiniString<string>>;
161
161
  }, z.core.$strip>>;
162
- status: z.ZodOptional<z.ZodString>;
163
- reason: z.ZodOptional<z.ZodString>;
164
- evaluatedAt: z.ZodOptional<z.ZodString>;
162
+ status: z.ZodMiniOptional<z.ZodMiniString<string>>;
163
+ reason: z.ZodMiniOptional<z.ZodMiniString<string>>;
164
+ evaluatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
165
165
  }, z.core.$strip>>>;
166
- capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
167
- key: z.ZodString;
168
- source: z.ZodOptional<z.ZodString>;
169
- provider: z.ZodOptional<z.ZodObject<{
170
- name: z.ZodString;
171
- project: z.ZodOptional<z.ZodString>;
172
- environment: z.ZodOptional<z.ZodString>;
166
+ capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
167
+ key: z.ZodMiniString<string>;
168
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
169
+ provider: z.ZodMiniOptional<z.ZodMiniObject<{
170
+ name: z.ZodMiniString<string>;
171
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
172
+ environment: z.ZodMiniOptional<z.ZodMiniString<string>>;
173
173
  }, z.core.$strip>>;
174
174
  }, z.core.$strip>>>;
175
175
  }, z.core.$strip>>;
176
- at: z.ZodOptional<z.ZodNumber>;
176
+ at: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
177
177
  }, z.core.$strip>;
178
- export declare const flowAssignmentRecordSchema: z.ZodObject<{
179
- flowAssignmentId: z.ZodString;
180
- flowId: z.ZodString;
181
- holdGroupToken: z.ZodOptional<z.ZodString>;
182
- presentedFlowVersionId: z.ZodOptional<z.ZodString>;
183
- latestFlowVersionId: z.ZodString;
184
- status: z.ZodEnum<{
178
+ export declare const flowAssignmentRecordSchema: z.ZodMiniObject<{
179
+ flowAssignmentId: z.ZodMiniString<string>;
180
+ flowId: z.ZodMiniString<string>;
181
+ holdGroupToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
182
+ presentedFlowVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
183
+ latestFlowVersionId: z.ZodMiniString<string>;
184
+ status: z.ZodMiniEnum<{
185
185
  pending: "pending";
186
186
  held: "held";
187
187
  presented: "presented";
@@ -192,26 +192,26 @@ export declare const flowAssignmentRecordSchema: z.ZodObject<{
192
192
  withdrawn_presented: "withdrawn_presented";
193
193
  withdrawn_final: "withdrawn_final";
194
194
  }>;
195
- assignedAt: z.ZodString;
196
- expiresAt: z.ZodOptional<z.ZodString>;
197
- heldAt: z.ZodOptional<z.ZodString>;
198
- holdExpiresAt: z.ZodOptional<z.ZodString>;
199
- presentedAt: z.ZodOptional<z.ZodString>;
200
- completedAt: z.ZodOptional<z.ZodString>;
201
- expiredAt: z.ZodOptional<z.ZodString>;
202
- supersededAt: z.ZodOptional<z.ZodString>;
203
- withdrawnAt: z.ZodOptional<z.ZodString>;
204
- withdrawnFinalAt: z.ZodOptional<z.ZodString>;
195
+ assignedAt: z.ZodMiniString<string>;
196
+ expiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
197
+ heldAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
198
+ holdExpiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
199
+ presentedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
200
+ completedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
201
+ expiredAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
202
+ supersededAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
203
+ withdrawnAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
204
+ withdrawnFinalAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
205
205
  }, z.core.$strip>;
206
- export declare const listPendingFlowAssignmentsResponseSchema: z.ZodObject<{
207
- fetchedAt: z.ZodString;
208
- flowAssignments: z.ZodArray<z.ZodObject<{
209
- flowAssignmentId: z.ZodString;
210
- flowId: z.ZodString;
211
- holdGroupToken: z.ZodOptional<z.ZodString>;
212
- presentedFlowVersionId: z.ZodOptional<z.ZodString>;
213
- latestFlowVersionId: z.ZodString;
214
- status: z.ZodEnum<{
206
+ export declare const listPendingFlowAssignmentsResponseSchema: z.ZodMiniObject<{
207
+ fetchedAt: z.ZodMiniString<string>;
208
+ flowAssignments: z.ZodMiniArray<z.ZodMiniObject<{
209
+ flowAssignmentId: z.ZodMiniString<string>;
210
+ flowId: z.ZodMiniString<string>;
211
+ holdGroupToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
212
+ presentedFlowVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
213
+ latestFlowVersionId: z.ZodMiniString<string>;
214
+ status: z.ZodMiniEnum<{
215
215
  pending: "pending";
216
216
  held: "held";
217
217
  presented: "presented";
@@ -222,28 +222,28 @@ export declare const listPendingFlowAssignmentsResponseSchema: z.ZodObject<{
222
222
  withdrawn_presented: "withdrawn_presented";
223
223
  withdrawn_final: "withdrawn_final";
224
224
  }>;
225
- assignedAt: z.ZodString;
226
- expiresAt: z.ZodOptional<z.ZodString>;
227
- heldAt: z.ZodOptional<z.ZodString>;
228
- holdExpiresAt: z.ZodOptional<z.ZodString>;
229
- presentedAt: z.ZodOptional<z.ZodString>;
230
- completedAt: z.ZodOptional<z.ZodString>;
231
- expiredAt: z.ZodOptional<z.ZodString>;
232
- supersededAt: z.ZodOptional<z.ZodString>;
233
- withdrawnAt: z.ZodOptional<z.ZodString>;
234
- withdrawnFinalAt: z.ZodOptional<z.ZodString>;
225
+ assignedAt: z.ZodMiniString<string>;
226
+ expiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
227
+ heldAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
228
+ holdExpiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
229
+ presentedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
230
+ completedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
231
+ expiredAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
232
+ supersededAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
233
+ withdrawnAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
234
+ withdrawnFinalAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
235
235
  }, z.core.$strip>>;
236
236
  }, z.core.$strip>;
237
- export declare const claimPendingFlowAssignmentsRequestSchema: z.ZodObject<{
238
- identities: z.ZodDefault<z.ZodArray<z.ZodObject<{
239
- type: z.ZodPipe<z.ZodString, z.ZodTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
240
- value: z.ZodString;
237
+ export declare const claimPendingFlowAssignmentsRequestSchema: z.ZodMiniObject<{
238
+ identities: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniObject<{
239
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
240
+ value: z.ZodMiniString<string>;
241
241
  }, z.core.$strip>>>;
242
- context: z.ZodOptional<z.ZodObject<{
243
- flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
244
- key: z.ZodString;
245
- target: z.ZodOptional<z.ZodString>;
246
- value: z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
242
+ context: z.ZodMiniOptional<z.ZodMiniObject<{
243
+ flags: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
244
+ key: z.ZodMiniString<string>;
245
+ target: z.ZodMiniOptional<z.ZodMiniString<string>>;
246
+ value: z.ZodMiniType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
247
247
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
248
248
  } | null)[] | {
249
249
  [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null;
@@ -292,45 +292,45 @@ export declare const claimPendingFlowAssignmentsRequestSchema: z.ZodObject<{
292
292
  } | null)[] | {
293
293
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
294
294
  } | null, unknown>>;
295
- variant: z.ZodOptional<z.ZodString>;
296
- origin: z.ZodOptional<z.ZodEnum<{
295
+ variant: z.ZodMiniOptional<z.ZodMiniString<string>>;
296
+ origin: z.ZodMiniOptional<z.ZodMiniEnum<{
297
297
  runtime_config: "runtime_config";
298
298
  trigger_context: "trigger_context";
299
299
  provider_sync: "provider_sync";
300
300
  api: "api";
301
301
  }>>;
302
- provider: z.ZodOptional<z.ZodObject<{
303
- name: z.ZodString;
304
- project: z.ZodOptional<z.ZodString>;
305
- environment: z.ZodOptional<z.ZodString>;
302
+ provider: z.ZodMiniOptional<z.ZodMiniObject<{
303
+ name: z.ZodMiniString<string>;
304
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
305
+ environment: z.ZodMiniOptional<z.ZodMiniString<string>>;
306
306
  }, z.core.$strip>>;
307
- status: z.ZodOptional<z.ZodString>;
308
- reason: z.ZodOptional<z.ZodString>;
309
- evaluatedAt: z.ZodOptional<z.ZodString>;
307
+ status: z.ZodMiniOptional<z.ZodMiniString<string>>;
308
+ reason: z.ZodMiniOptional<z.ZodMiniString<string>>;
309
+ evaluatedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
310
310
  }, z.core.$strip>>>;
311
- capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
312
- key: z.ZodString;
313
- source: z.ZodOptional<z.ZodString>;
314
- provider: z.ZodOptional<z.ZodObject<{
315
- name: z.ZodString;
316
- project: z.ZodOptional<z.ZodString>;
317
- environment: z.ZodOptional<z.ZodString>;
311
+ capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
312
+ key: z.ZodMiniString<string>;
313
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
314
+ provider: z.ZodMiniOptional<z.ZodMiniObject<{
315
+ name: z.ZodMiniString<string>;
316
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
317
+ environment: z.ZodMiniOptional<z.ZodMiniString<string>>;
318
318
  }, z.core.$strip>>;
319
319
  }, z.core.$strip>>>;
320
320
  }, z.core.$strip>>;
321
- holdOwnerKey: z.ZodString;
322
- at: z.ZodOptional<z.ZodNumber>;
323
- limit: z.ZodOptional<z.ZodNumber>;
321
+ holdOwnerKey: z.ZodMiniString<string>;
322
+ at: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
323
+ limit: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
324
324
  }, z.core.$strip>;
325
- export declare const claimPendingFlowAssignmentsResponseSchema: z.ZodObject<{
326
- fetchedAt: z.ZodString;
327
- flowAssignments: z.ZodArray<z.ZodObject<{
328
- flowAssignmentId: z.ZodString;
329
- flowId: z.ZodString;
330
- holdGroupToken: z.ZodOptional<z.ZodString>;
331
- presentedFlowVersionId: z.ZodOptional<z.ZodString>;
332
- latestFlowVersionId: z.ZodString;
333
- status: z.ZodEnum<{
325
+ export declare const claimPendingFlowAssignmentsResponseSchema: z.ZodMiniObject<{
326
+ fetchedAt: z.ZodMiniString<string>;
327
+ flowAssignments: z.ZodMiniArray<z.ZodMiniObject<{
328
+ flowAssignmentId: z.ZodMiniString<string>;
329
+ flowId: z.ZodMiniString<string>;
330
+ holdGroupToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
331
+ presentedFlowVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
332
+ latestFlowVersionId: z.ZodMiniString<string>;
333
+ status: z.ZodMiniEnum<{
334
334
  pending: "pending";
335
335
  held: "held";
336
336
  presented: "presented";
@@ -341,47 +341,47 @@ export declare const claimPendingFlowAssignmentsResponseSchema: z.ZodObject<{
341
341
  withdrawn_presented: "withdrawn_presented";
342
342
  withdrawn_final: "withdrawn_final";
343
343
  }>;
344
- assignedAt: z.ZodString;
345
- expiresAt: z.ZodOptional<z.ZodString>;
346
- heldAt: z.ZodOptional<z.ZodString>;
347
- holdExpiresAt: z.ZodOptional<z.ZodString>;
348
- presentedAt: z.ZodOptional<z.ZodString>;
349
- completedAt: z.ZodOptional<z.ZodString>;
350
- expiredAt: z.ZodOptional<z.ZodString>;
351
- supersededAt: z.ZodOptional<z.ZodString>;
352
- withdrawnAt: z.ZodOptional<z.ZodString>;
353
- withdrawnFinalAt: z.ZodOptional<z.ZodString>;
344
+ assignedAt: z.ZodMiniString<string>;
345
+ expiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
346
+ heldAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
347
+ holdExpiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
348
+ presentedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
349
+ completedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
350
+ expiredAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
351
+ supersededAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
352
+ withdrawnAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
353
+ withdrawnFinalAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
354
354
  }, z.core.$strip>>;
355
355
  }, z.core.$strip>;
356
- export declare const updateFlowAssignmentLifecycleRequestSchema: z.ZodObject<{
357
- identities: z.ZodDefault<z.ZodArray<z.ZodObject<{
358
- type: z.ZodPipe<z.ZodString, z.ZodTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
359
- value: z.ZodString;
356
+ export declare const updateFlowAssignmentLifecycleRequestSchema: z.ZodMiniObject<{
357
+ identities: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniObject<{
358
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
359
+ value: z.ZodMiniString<string>;
360
360
  }, z.core.$strip>>>;
361
- flowAssignmentId: z.ZodString;
362
- flowVersionId: z.ZodOptional<z.ZodString>;
363
- holdGroupToken: z.ZodOptional<z.ZodString>;
364
- at: z.ZodOptional<z.ZodNumber>;
361
+ flowAssignmentId: z.ZodMiniString<string>;
362
+ flowVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
363
+ holdGroupToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
364
+ at: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
365
365
  }, z.core.$strip>;
366
- export declare const releaseFlowAssignmentClaimRequestSchema: z.ZodObject<{
367
- identities: z.ZodDefault<z.ZodArray<z.ZodObject<{
368
- type: z.ZodPipe<z.ZodString, z.ZodTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
369
- value: z.ZodString;
366
+ export declare const releaseFlowAssignmentClaimRequestSchema: z.ZodMiniObject<{
367
+ identities: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniObject<{
368
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
369
+ value: z.ZodMiniString<string>;
370
370
  }, z.core.$strip>>>;
371
- holdGroupToken: z.ZodString;
372
- holdOwnerKey: z.ZodOptional<z.ZodString>;
373
- at: z.ZodOptional<z.ZodNumber>;
371
+ holdGroupToken: z.ZodMiniString<string>;
372
+ holdOwnerKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
373
+ at: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
374
374
  }, z.core.$strip>;
375
- export declare const releaseFlowAssignmentClaimResponseSchema: z.ZodObject<{
376
- releasedCount: z.ZodNumber;
375
+ export declare const releaseFlowAssignmentClaimResponseSchema: z.ZodMiniObject<{
376
+ releasedCount: z.ZodMiniNumber<number>;
377
377
  }, z.core.$strip>;
378
- export declare const updateFlowAssignmentLifecycleResponseSchema: z.ZodObject<{
379
- flowAssignmentId: z.ZodString;
380
- flowId: z.ZodString;
381
- holdGroupToken: z.ZodOptional<z.ZodString>;
382
- presentedFlowVersionId: z.ZodOptional<z.ZodString>;
383
- latestFlowVersionId: z.ZodString;
384
- status: z.ZodEnum<{
378
+ export declare const updateFlowAssignmentLifecycleResponseSchema: z.ZodMiniObject<{
379
+ flowAssignmentId: z.ZodMiniString<string>;
380
+ flowId: z.ZodMiniString<string>;
381
+ holdGroupToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
382
+ presentedFlowVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
383
+ latestFlowVersionId: z.ZodMiniString<string>;
384
+ status: z.ZodMiniEnum<{
385
385
  pending: "pending";
386
386
  held: "held";
387
387
  presented: "presented";
@@ -392,24 +392,24 @@ export declare const updateFlowAssignmentLifecycleResponseSchema: z.ZodObject<{
392
392
  withdrawn_presented: "withdrawn_presented";
393
393
  withdrawn_final: "withdrawn_final";
394
394
  }>;
395
- assignedAt: z.ZodString;
396
- expiresAt: z.ZodOptional<z.ZodString>;
397
- heldAt: z.ZodOptional<z.ZodString>;
398
- holdExpiresAt: z.ZodOptional<z.ZodString>;
399
- presentedAt: z.ZodOptional<z.ZodString>;
400
- completedAt: z.ZodOptional<z.ZodString>;
401
- expiredAt: z.ZodOptional<z.ZodString>;
402
- supersededAt: z.ZodOptional<z.ZodString>;
403
- withdrawnAt: z.ZodOptional<z.ZodString>;
404
- withdrawnFinalAt: z.ZodOptional<z.ZodString>;
395
+ assignedAt: z.ZodMiniString<string>;
396
+ expiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
397
+ heldAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
398
+ holdExpiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
399
+ presentedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
400
+ completedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
401
+ expiredAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
402
+ supersededAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
403
+ withdrawnAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
404
+ withdrawnFinalAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
405
405
  }, z.core.$strip>;
406
- export declare const nullableUpdateFlowAssignmentLifecycleResponseSchema: z.ZodNullable<z.ZodObject<{
407
- flowAssignmentId: z.ZodString;
408
- flowId: z.ZodString;
409
- holdGroupToken: z.ZodOptional<z.ZodString>;
410
- presentedFlowVersionId: z.ZodOptional<z.ZodString>;
411
- latestFlowVersionId: z.ZodString;
412
- status: z.ZodEnum<{
406
+ export declare const nullableUpdateFlowAssignmentLifecycleResponseSchema: z.ZodMiniNullable<z.ZodMiniObject<{
407
+ flowAssignmentId: z.ZodMiniString<string>;
408
+ flowId: z.ZodMiniString<string>;
409
+ holdGroupToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
410
+ presentedFlowVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
411
+ latestFlowVersionId: z.ZodMiniString<string>;
412
+ status: z.ZodMiniEnum<{
413
413
  pending: "pending";
414
414
  held: "held";
415
415
  presented: "presented";
@@ -420,16 +420,16 @@ export declare const nullableUpdateFlowAssignmentLifecycleResponseSchema: z.ZodN
420
420
  withdrawn_presented: "withdrawn_presented";
421
421
  withdrawn_final: "withdrawn_final";
422
422
  }>;
423
- assignedAt: z.ZodString;
424
- expiresAt: z.ZodOptional<z.ZodString>;
425
- heldAt: z.ZodOptional<z.ZodString>;
426
- holdExpiresAt: z.ZodOptional<z.ZodString>;
427
- presentedAt: z.ZodOptional<z.ZodString>;
428
- completedAt: z.ZodOptional<z.ZodString>;
429
- expiredAt: z.ZodOptional<z.ZodString>;
430
- supersededAt: z.ZodOptional<z.ZodString>;
431
- withdrawnAt: z.ZodOptional<z.ZodString>;
432
- withdrawnFinalAt: z.ZodOptional<z.ZodString>;
423
+ assignedAt: z.ZodMiniString<string>;
424
+ expiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
425
+ heldAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
426
+ holdExpiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
427
+ presentedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
428
+ completedAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
429
+ expiredAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
430
+ supersededAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
431
+ withdrawnAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
432
+ withdrawnFinalAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
433
433
  }, z.core.$strip>>;
434
434
  export type FlowAssignmentStatus = z.output<typeof flowAssignmentStatusSchema>;
435
435
  export type FlowAssignmentRecipientRequest = z.output<typeof flowAssignmentRecipientRequestSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"flow-assignments.d.ts","sourceRoot":"","sources":["../src/flow-assignments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,eAAO,MAAM,0BAA0B;;;;;;;;;;EAUrC,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;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AM,CAC1D,OAAO,0CAA0C,CACjD,CAAC;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAC3D,OAAO,2CAA2C,CAClD,CAAC"}
@@ -1,4 +1,4 @@
1
- import * as z from "zod";
1
+ import * as z from "zod/mini";
2
2
  import { appEventCapabilitySchema, appEventFlagSchema, appEventIdentitySchema, } from "./app-event.js";
3
3
  export const flowAssignmentStatusSchema = z.enum([
4
4
  "pending",
@@ -16,16 +16,16 @@ export const flowAssignmentTargetingContextSchema = z.object({
16
16
  capabilities: z.optional(z.array(appEventCapabilitySchema)),
17
17
  });
18
18
  export const flowAssignmentRecipientRequestSchema = z.object({
19
- identities: z.array(appEventIdentitySchema).default([]),
19
+ identities: z._default(z.array(appEventIdentitySchema), []),
20
20
  context: z.optional(flowAssignmentTargetingContextSchema),
21
21
  at: z.optional(z.number()),
22
22
  });
23
23
  export const flowAssignmentRecordSchema = z.object({
24
- flowAssignmentId: z.string().trim().min(1),
25
- flowId: z.string().trim().min(1),
26
- holdGroupToken: z.optional(z.string().trim().min(1)),
27
- presentedFlowVersionId: z.optional(z.string().trim().min(1)),
28
- latestFlowVersionId: z.string().trim().min(1),
24
+ flowAssignmentId: z.string().check(z.trim(), z.minLength(1)),
25
+ flowId: z.string().check(z.trim(), z.minLength(1)),
26
+ holdGroupToken: z.optional(z.string().check(z.trim(), z.minLength(1))),
27
+ presentedFlowVersionId: z.optional(z.string().check(z.trim(), z.minLength(1))),
28
+ latestFlowVersionId: z.string().check(z.trim(), z.minLength(1)),
29
29
  status: flowAssignmentStatusSchema,
30
30
  assignedAt: z.string(),
31
31
  expiresAt: z.optional(z.string()),
@@ -43,9 +43,9 @@ export const listPendingFlowAssignmentsResponseSchema = z.object({
43
43
  flowAssignments: z.array(flowAssignmentRecordSchema),
44
44
  });
45
45
  export const claimPendingFlowAssignmentsRequestSchema = z.object({
46
- identities: z.array(appEventIdentitySchema).default([]),
46
+ identities: z._default(z.array(appEventIdentitySchema), []),
47
47
  context: z.optional(flowAssignmentTargetingContextSchema),
48
- holdOwnerKey: z.string().trim().min(1),
48
+ holdOwnerKey: z.string().check(z.trim(), z.minLength(1)),
49
49
  at: z.optional(z.number()),
50
50
  limit: z.optional(z.number()),
51
51
  });
@@ -54,16 +54,16 @@ export const claimPendingFlowAssignmentsResponseSchema = z.object({
54
54
  flowAssignments: z.array(flowAssignmentRecordSchema),
55
55
  });
56
56
  export const updateFlowAssignmentLifecycleRequestSchema = z.object({
57
- identities: z.array(appEventIdentitySchema).default([]),
58
- flowAssignmentId: z.string().trim().min(1),
59
- flowVersionId: z.optional(z.string().trim().min(1)),
60
- holdGroupToken: z.optional(z.string().trim().min(1)),
57
+ identities: z._default(z.array(appEventIdentitySchema), []),
58
+ flowAssignmentId: z.string().check(z.trim(), z.minLength(1)),
59
+ flowVersionId: z.optional(z.string().check(z.trim(), z.minLength(1))),
60
+ holdGroupToken: z.optional(z.string().check(z.trim(), z.minLength(1))),
61
61
  at: z.optional(z.number()),
62
62
  });
63
63
  export const releaseFlowAssignmentClaimRequestSchema = z.object({
64
- identities: z.array(appEventIdentitySchema).default([]),
65
- holdGroupToken: z.string().trim().min(1),
66
- holdOwnerKey: z.optional(z.string().trim().min(1)),
64
+ identities: z._default(z.array(appEventIdentitySchema), []),
65
+ holdGroupToken: z.string().check(z.trim(), z.minLength(1)),
66
+ holdOwnerKey: z.optional(z.string().check(z.trim(), z.minLength(1))),
67
67
  at: z.optional(z.number()),
68
68
  });
69
69
  export const releaseFlowAssignmentClaimResponseSchema = z.object({
@@ -1,8 +1,8 @@
1
- import * as z from "zod";
1
+ import * as z from "zod/mini";
2
2
  export declare const IDENTITY_TYPE_VALUES: readonly ["anonymousId", "userId", "traits.email", "traits.phone", "context.device.id", "context.device.advertisingId", "context.device.token"];
3
3
  export type IdentityTypeValue = (typeof IDENTITY_TYPE_VALUES)[number];
4
4
  export declare const isIdentityTypeValue: (value: string) => value is IdentityTypeValue;
5
5
  export declare const getIdentityTypeSuggestion: (value: string) => IdentityTypeValue | null;
6
6
  export declare const buildIdentityTypeGuidanceMessage: (value: string) => string;
7
- export declare const appEventIdentityTypeSchema: z.ZodPipe<z.ZodString, z.ZodTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
7
+ export declare const appEventIdentityTypeSchema: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<"anonymousId" | "userId" | "traits.email" | "traits.phone" | "context.device.id" | "context.device.advertisingId" | "context.device.token", string>>;
8
8
  //# sourceMappingURL=identity-type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identity-type.d.ts","sourceRoot":"","sources":["../src/identity-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,oBAAoB,iJAQvB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAsBtE,eAAO,MAAM,mBAAmB,GAC/B,OAAO,MAAM,KACX,KAAK,IAAI,iBACkD,CAAC;AAK/D,eAAO,MAAM,yBAAyB,GACrC,OAAO,MAAM,KACX,iBAAiB,GAAG,IACuD,CAAC;AAE/E,eAAO,MAAM,gCAAgC,GAAI,OAAO,MAAM,KAAG,MAehE,CAAC;AAEF,eAAO,MAAM,0BAA0B,4LAqBpC,CAAC"}
1
+ {"version":3,"file":"identity-type.d.ts","sourceRoot":"","sources":["../src/identity-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAE9B,eAAO,MAAM,oBAAoB,iJAQvB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAsBtE,eAAO,MAAM,mBAAmB,GAC/B,OAAO,MAAM,KACX,KAAK,IAAI,iBACkD,CAAC;AAK/D,eAAO,MAAM,yBAAyB,GACrC,OAAO,MAAM,KACX,iBAAiB,GAAG,IACuD,CAAC;AAE/E,eAAO,MAAM,gCAAgC,GAAI,OAAO,MAAM,KAAG,MAehE,CAAC;AAkBF,eAAO,MAAM,0BAA0B,gNAWtC,CAAC"}