@sourcey/catalog-verifier 1.1.0 → 1.1.1
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/SOURCEY-CLOSURE.json +51 -51
- package/dist/contracts/agent-readiness/src/shared.d.ts +2 -0
- package/dist/contracts/agent-readiness/src/shared.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/shared.js +3 -1
- package/dist/contracts/agent-readiness/src/shared.js.map +1 -1
- package/dist/contracts/api/src/index.d.ts +6472 -349
- package/dist/contracts/api/src/index.d.ts.map +1 -1
- package/dist/contracts/api/src/index.js +1 -1
- package/dist/contracts/artifact/src/index.d.ts +946 -178
- package/dist/contracts/artifact/src/index.d.ts.map +1 -1
- package/dist/contracts/artifact/src/index.js +51 -1
- package/dist/contracts/artifact/src/index.js.map +1 -1
- package/dist/contracts/authoring/src/index.d.ts +18 -0
- package/dist/contracts/authoring/src/index.d.ts.map +1 -1
- package/dist/contracts/authoring/src/index.js +26 -1
- package/dist/contracts/authoring/src/index.js.map +1 -1
- package/dist/contracts/authority/src/index.d.ts.map +1 -1
- package/dist/contracts/authority/src/index.js +3 -2
- package/dist/contracts/authority/src/index.js.map +1 -1
- package/dist/contracts/catalog-verifier/src/index.d.ts +1 -0
- package/dist/contracts/catalog-verifier/src/index.d.ts.map +1 -1
- package/dist/contracts/datasets/src/index.d.ts +153 -0
- package/dist/contracts/datasets/src/index.d.ts.map +1 -1
- package/dist/contracts/publication/src/index.d.ts.map +1 -1
- package/dist/contracts/publication/src/index.js +4 -1
- package/dist/contracts/publication/src/index.js.map +1 -1
- package/dist/contracts/release/src/index.d.ts +306 -0
- package/dist/contracts/release/src/index.d.ts.map +1 -1
- package/dist/contracts/revisions/src/index.d.ts +50 -0
- package/dist/contracts/revisions/src/index.d.ts.map +1 -1
- package/dist/contracts/revisions/src/index.js +10 -7
- package/dist/contracts/revisions/src/index.js.map +1 -1
- package/dist/contracts/taxonomy/src/index.d.ts +1 -0
- package/dist/contracts/taxonomy/src/index.d.ts.map +1 -1
- package/dist/contracts/taxonomy/src/index.js +16 -1
- package/dist/contracts/taxonomy/src/index.js.map +1 -1
- package/dist/modules/agent-readiness-repository/src/admission.d.ts.map +1 -1
- package/dist/modules/agent-readiness-repository/src/admission.js +2 -2
- package/dist/modules/agent-readiness-repository/src/admission.js.map +1 -1
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts +6 -1
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/admission-conflicts.js +8 -3
- package/dist/modules/catalog-admission/src/admission-conflicts.js.map +1 -1
- package/dist/modules/catalog-model/src/index.d.ts +2 -11
- package/dist/modules/catalog-model/src/index.d.ts.map +1 -1
- package/dist/modules/catalog-model/src/index.js +2 -10
- package/dist/modules/catalog-model/src/index.js.map +1 -1
- package/dist/modules/primitives/src/index.d.ts +6 -0
- package/dist/modules/primitives/src/index.d.ts.map +1 -1
- package/dist/modules/primitives/src/index.js +6 -0
- package/dist/modules/primitives/src/index.js.map +1 -1
- package/package.json +1 -1
- package/taxonomy.json +27 -1
|
@@ -67,6 +67,313 @@ export declare const provenanceSchema: z.ZodObject<{
|
|
|
67
67
|
attested_at: z.ZodISODateTime;
|
|
68
68
|
}, z.core.$strict>], "status">;
|
|
69
69
|
}, z.core.$strict>;
|
|
70
|
+
export declare const OFFER_HEADLINE_RULE: "sourcey.offer-headline/v1";
|
|
71
|
+
/**
|
|
72
|
+
* The one figure an offer leads with, projected at release time from its
|
|
73
|
+
* accepted benefits and never part of the revision digest. `typed` names the
|
|
74
|
+
* benefit the author typed; `described` is the exact deterministic reading of
|
|
75
|
+
* an accepted benefit description under the named rule, so every clause binds
|
|
76
|
+
* an already accepted claim. An offer whose benefits state no figure carries
|
|
77
|
+
* no headline.
|
|
78
|
+
*/
|
|
79
|
+
export declare const offerHeadlineFigureSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
80
|
+
kind: z.ZodLiteral<"credit">;
|
|
81
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"exact">;
|
|
83
|
+
amount: z.ZodObject<{
|
|
84
|
+
currency: z.ZodString;
|
|
85
|
+
minor_units: z.ZodNumber;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
88
|
+
kind: z.ZodLiteral<"up-to">;
|
|
89
|
+
amount: z.ZodObject<{
|
|
90
|
+
currency: z.ZodString;
|
|
91
|
+
minor_units: z.ZodNumber;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
+
kind: z.ZodLiteral<"at-least">;
|
|
95
|
+
amount: z.ZodObject<{
|
|
96
|
+
currency: z.ZodString;
|
|
97
|
+
minor_units: z.ZodNumber;
|
|
98
|
+
}, z.core.$strict>;
|
|
99
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
100
|
+
kind: z.ZodLiteral<"range">;
|
|
101
|
+
minimum: z.ZodObject<{
|
|
102
|
+
currency: z.ZodString;
|
|
103
|
+
minor_units: z.ZodNumber;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
maximum: z.ZodObject<{
|
|
106
|
+
currency: z.ZodString;
|
|
107
|
+
minor_units: z.ZodNumber;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
}, z.core.$strict>], "kind">;
|
|
110
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
111
|
+
kind: z.ZodLiteral<"exact">;
|
|
112
|
+
value: z.ZodString;
|
|
113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
114
|
+
kind: z.ZodLiteral<"up-to">;
|
|
115
|
+
value: z.ZodString;
|
|
116
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
117
|
+
kind: z.ZodLiteral<"at-least">;
|
|
118
|
+
value: z.ZodString;
|
|
119
|
+
}, z.core.$strict>], "kind">>;
|
|
120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
|
+
kind: z.ZodLiteral<"discount">;
|
|
122
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
123
|
+
kind: z.ZodLiteral<"exact">;
|
|
124
|
+
basis_points: z.ZodNumber;
|
|
125
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
126
|
+
kind: z.ZodLiteral<"up-to">;
|
|
127
|
+
basis_points: z.ZodNumber;
|
|
128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"at-least">;
|
|
130
|
+
basis_points: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"range">;
|
|
133
|
+
minimum_basis_points: z.ZodNumber;
|
|
134
|
+
maximum_basis_points: z.ZodNumber;
|
|
135
|
+
}, z.core.$strict>], "kind">;
|
|
136
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
137
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
138
|
+
kind: z.ZodLiteral<"exact">;
|
|
139
|
+
value: z.ZodString;
|
|
140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
141
|
+
kind: z.ZodLiteral<"up-to">;
|
|
142
|
+
value: z.ZodString;
|
|
143
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
144
|
+
kind: z.ZodLiteral<"at-least">;
|
|
145
|
+
value: z.ZodString;
|
|
146
|
+
}, z.core.$strict>], "kind">>;
|
|
147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
148
|
+
kind: z.ZodLiteral<"cashback">;
|
|
149
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
|
+
kind: z.ZodLiteral<"money">;
|
|
151
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
152
|
+
kind: z.ZodLiteral<"exact">;
|
|
153
|
+
amount: z.ZodObject<{
|
|
154
|
+
currency: z.ZodString;
|
|
155
|
+
minor_units: z.ZodNumber;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
+
kind: z.ZodLiteral<"up-to">;
|
|
159
|
+
amount: z.ZodObject<{
|
|
160
|
+
currency: z.ZodString;
|
|
161
|
+
minor_units: z.ZodNumber;
|
|
162
|
+
}, z.core.$strict>;
|
|
163
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"at-least">;
|
|
165
|
+
amount: z.ZodObject<{
|
|
166
|
+
currency: z.ZodString;
|
|
167
|
+
minor_units: z.ZodNumber;
|
|
168
|
+
}, z.core.$strict>;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"range">;
|
|
171
|
+
minimum: z.ZodObject<{
|
|
172
|
+
currency: z.ZodString;
|
|
173
|
+
minor_units: z.ZodNumber;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
maximum: z.ZodObject<{
|
|
176
|
+
currency: z.ZodString;
|
|
177
|
+
minor_units: z.ZodNumber;
|
|
178
|
+
}, z.core.$strict>;
|
|
179
|
+
}, z.core.$strict>], "kind">;
|
|
180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"percentage">;
|
|
182
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
183
|
+
kind: z.ZodLiteral<"exact">;
|
|
184
|
+
basis_points: z.ZodNumber;
|
|
185
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"up-to">;
|
|
187
|
+
basis_points: z.ZodNumber;
|
|
188
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
189
|
+
kind: z.ZodLiteral<"at-least">;
|
|
190
|
+
basis_points: z.ZodNumber;
|
|
191
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
192
|
+
kind: z.ZodLiteral<"range">;
|
|
193
|
+
minimum_basis_points: z.ZodNumber;
|
|
194
|
+
maximum_basis_points: z.ZodNumber;
|
|
195
|
+
}, z.core.$strict>], "kind">;
|
|
196
|
+
}, z.core.$strict>], "kind">;
|
|
197
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"exact">;
|
|
199
|
+
value: z.ZodString;
|
|
200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
201
|
+
kind: z.ZodLiteral<"up-to">;
|
|
202
|
+
value: z.ZodString;
|
|
203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
204
|
+
kind: z.ZodLiteral<"at-least">;
|
|
205
|
+
value: z.ZodString;
|
|
206
|
+
}, z.core.$strict>], "kind">>;
|
|
207
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"free-service">;
|
|
209
|
+
service: z.ZodOptional<z.ZodString>;
|
|
210
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
211
|
+
kind: z.ZodLiteral<"exact">;
|
|
212
|
+
value: z.ZodString;
|
|
213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
214
|
+
kind: z.ZodLiteral<"up-to">;
|
|
215
|
+
value: z.ZodString;
|
|
216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
217
|
+
kind: z.ZodLiteral<"at-least">;
|
|
218
|
+
value: z.ZodString;
|
|
219
|
+
}, z.core.$strict>], "kind">;
|
|
220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
221
|
+
kind: z.ZodLiteral<"waiver">;
|
|
222
|
+
waived_item: z.ZodString;
|
|
223
|
+
}, z.core.$strict>], "kind">;
|
|
224
|
+
export declare const offerHeadlineSchema: z.ZodObject<{
|
|
225
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
226
|
+
benefit_id: z.ZodString;
|
|
227
|
+
basis: z.ZodEnum<{
|
|
228
|
+
typed: "typed";
|
|
229
|
+
described: "described";
|
|
230
|
+
}>;
|
|
231
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
232
|
+
kind: z.ZodLiteral<"credit">;
|
|
233
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
234
|
+
kind: z.ZodLiteral<"exact">;
|
|
235
|
+
amount: z.ZodObject<{
|
|
236
|
+
currency: z.ZodString;
|
|
237
|
+
minor_units: z.ZodNumber;
|
|
238
|
+
}, z.core.$strict>;
|
|
239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
240
|
+
kind: z.ZodLiteral<"up-to">;
|
|
241
|
+
amount: z.ZodObject<{
|
|
242
|
+
currency: z.ZodString;
|
|
243
|
+
minor_units: z.ZodNumber;
|
|
244
|
+
}, z.core.$strict>;
|
|
245
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
246
|
+
kind: z.ZodLiteral<"at-least">;
|
|
247
|
+
amount: z.ZodObject<{
|
|
248
|
+
currency: z.ZodString;
|
|
249
|
+
minor_units: z.ZodNumber;
|
|
250
|
+
}, z.core.$strict>;
|
|
251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"range">;
|
|
253
|
+
minimum: z.ZodObject<{
|
|
254
|
+
currency: z.ZodString;
|
|
255
|
+
minor_units: z.ZodNumber;
|
|
256
|
+
}, z.core.$strict>;
|
|
257
|
+
maximum: z.ZodObject<{
|
|
258
|
+
currency: z.ZodString;
|
|
259
|
+
minor_units: z.ZodNumber;
|
|
260
|
+
}, z.core.$strict>;
|
|
261
|
+
}, z.core.$strict>], "kind">;
|
|
262
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
263
|
+
kind: z.ZodLiteral<"exact">;
|
|
264
|
+
value: z.ZodString;
|
|
265
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
266
|
+
kind: z.ZodLiteral<"up-to">;
|
|
267
|
+
value: z.ZodString;
|
|
268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
269
|
+
kind: z.ZodLiteral<"at-least">;
|
|
270
|
+
value: z.ZodString;
|
|
271
|
+
}, z.core.$strict>], "kind">>;
|
|
272
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
273
|
+
kind: z.ZodLiteral<"discount">;
|
|
274
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
275
|
+
kind: z.ZodLiteral<"exact">;
|
|
276
|
+
basis_points: z.ZodNumber;
|
|
277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
+
kind: z.ZodLiteral<"up-to">;
|
|
279
|
+
basis_points: z.ZodNumber;
|
|
280
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
281
|
+
kind: z.ZodLiteral<"at-least">;
|
|
282
|
+
basis_points: z.ZodNumber;
|
|
283
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
284
|
+
kind: z.ZodLiteral<"range">;
|
|
285
|
+
minimum_basis_points: z.ZodNumber;
|
|
286
|
+
maximum_basis_points: z.ZodNumber;
|
|
287
|
+
}, z.core.$strict>], "kind">;
|
|
288
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
289
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
290
|
+
kind: z.ZodLiteral<"exact">;
|
|
291
|
+
value: z.ZodString;
|
|
292
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
293
|
+
kind: z.ZodLiteral<"up-to">;
|
|
294
|
+
value: z.ZodString;
|
|
295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
296
|
+
kind: z.ZodLiteral<"at-least">;
|
|
297
|
+
value: z.ZodString;
|
|
298
|
+
}, z.core.$strict>], "kind">>;
|
|
299
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
300
|
+
kind: z.ZodLiteral<"cashback">;
|
|
301
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
302
|
+
kind: z.ZodLiteral<"money">;
|
|
303
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
304
|
+
kind: z.ZodLiteral<"exact">;
|
|
305
|
+
amount: z.ZodObject<{
|
|
306
|
+
currency: z.ZodString;
|
|
307
|
+
minor_units: z.ZodNumber;
|
|
308
|
+
}, z.core.$strict>;
|
|
309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
310
|
+
kind: z.ZodLiteral<"up-to">;
|
|
311
|
+
amount: z.ZodObject<{
|
|
312
|
+
currency: z.ZodString;
|
|
313
|
+
minor_units: z.ZodNumber;
|
|
314
|
+
}, z.core.$strict>;
|
|
315
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
316
|
+
kind: z.ZodLiteral<"at-least">;
|
|
317
|
+
amount: z.ZodObject<{
|
|
318
|
+
currency: z.ZodString;
|
|
319
|
+
minor_units: z.ZodNumber;
|
|
320
|
+
}, z.core.$strict>;
|
|
321
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
322
|
+
kind: z.ZodLiteral<"range">;
|
|
323
|
+
minimum: z.ZodObject<{
|
|
324
|
+
currency: z.ZodString;
|
|
325
|
+
minor_units: z.ZodNumber;
|
|
326
|
+
}, z.core.$strict>;
|
|
327
|
+
maximum: z.ZodObject<{
|
|
328
|
+
currency: z.ZodString;
|
|
329
|
+
minor_units: z.ZodNumber;
|
|
330
|
+
}, z.core.$strict>;
|
|
331
|
+
}, z.core.$strict>], "kind">;
|
|
332
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
333
|
+
kind: z.ZodLiteral<"percentage">;
|
|
334
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
335
|
+
kind: z.ZodLiteral<"exact">;
|
|
336
|
+
basis_points: z.ZodNumber;
|
|
337
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
338
|
+
kind: z.ZodLiteral<"up-to">;
|
|
339
|
+
basis_points: z.ZodNumber;
|
|
340
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
341
|
+
kind: z.ZodLiteral<"at-least">;
|
|
342
|
+
basis_points: z.ZodNumber;
|
|
343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
344
|
+
kind: z.ZodLiteral<"range">;
|
|
345
|
+
minimum_basis_points: z.ZodNumber;
|
|
346
|
+
maximum_basis_points: z.ZodNumber;
|
|
347
|
+
}, z.core.$strict>], "kind">;
|
|
348
|
+
}, z.core.$strict>], "kind">;
|
|
349
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
350
|
+
kind: z.ZodLiteral<"exact">;
|
|
351
|
+
value: z.ZodString;
|
|
352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
353
|
+
kind: z.ZodLiteral<"up-to">;
|
|
354
|
+
value: z.ZodString;
|
|
355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
356
|
+
kind: z.ZodLiteral<"at-least">;
|
|
357
|
+
value: z.ZodString;
|
|
358
|
+
}, z.core.$strict>], "kind">>;
|
|
359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
360
|
+
kind: z.ZodLiteral<"free-service">;
|
|
361
|
+
service: z.ZodOptional<z.ZodString>;
|
|
362
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
363
|
+
kind: z.ZodLiteral<"exact">;
|
|
364
|
+
value: z.ZodString;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
kind: z.ZodLiteral<"up-to">;
|
|
367
|
+
value: z.ZodString;
|
|
368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
369
|
+
kind: z.ZodLiteral<"at-least">;
|
|
370
|
+
value: z.ZodString;
|
|
371
|
+
}, z.core.$strict>], "kind">;
|
|
372
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
373
|
+
kind: z.ZodLiteral<"waiver">;
|
|
374
|
+
waived_item: z.ZodString;
|
|
375
|
+
}, z.core.$strict>], "kind">;
|
|
376
|
+
}, z.core.$strict>;
|
|
70
377
|
export declare const compiledOfferSchema: z.ZodObject<{
|
|
71
378
|
program_id: z.ZodOptional<z.ZodString>;
|
|
72
379
|
offer_id: z.ZodString;
|
|
@@ -341,79 +648,232 @@ export declare const compiledOfferSchema: z.ZodObject<{
|
|
|
341
648
|
event_id: z.ZodString;
|
|
342
649
|
receipt_digest: z.ZodString;
|
|
343
650
|
}, z.core.$strict>>;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
revision_digest: z.ZodString;
|
|
351
|
-
provenance: z.ZodObject<{
|
|
352
|
-
freshness: z.ZodEnum<{
|
|
353
|
-
unknown: "unknown";
|
|
354
|
-
fresh: "fresh";
|
|
355
|
-
stale: "stale";
|
|
356
|
-
}>;
|
|
357
|
-
dispute: z.ZodEnum<{
|
|
358
|
-
none: "none";
|
|
359
|
-
open: "open";
|
|
360
|
-
resolved: "resolved";
|
|
651
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
652
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
653
|
+
benefit_id: z.ZodString;
|
|
654
|
+
basis: z.ZodEnum<{
|
|
655
|
+
typed: "typed";
|
|
656
|
+
described: "described";
|
|
361
657
|
}>;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
658
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
659
|
+
kind: z.ZodLiteral<"credit">;
|
|
660
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
661
|
+
kind: z.ZodLiteral<"exact">;
|
|
662
|
+
amount: z.ZodObject<{
|
|
663
|
+
currency: z.ZodString;
|
|
664
|
+
minor_units: z.ZodNumber;
|
|
665
|
+
}, z.core.$strict>;
|
|
666
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
667
|
+
kind: z.ZodLiteral<"up-to">;
|
|
668
|
+
amount: z.ZodObject<{
|
|
669
|
+
currency: z.ZodString;
|
|
670
|
+
minor_units: z.ZodNumber;
|
|
671
|
+
}, z.core.$strict>;
|
|
672
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
673
|
+
kind: z.ZodLiteral<"at-least">;
|
|
674
|
+
amount: z.ZodObject<{
|
|
675
|
+
currency: z.ZodString;
|
|
676
|
+
minor_units: z.ZodNumber;
|
|
677
|
+
}, z.core.$strict>;
|
|
678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
679
|
+
kind: z.ZodLiteral<"range">;
|
|
680
|
+
minimum: z.ZodObject<{
|
|
681
|
+
currency: z.ZodString;
|
|
682
|
+
minor_units: z.ZodNumber;
|
|
683
|
+
}, z.core.$strict>;
|
|
684
|
+
maximum: z.ZodObject<{
|
|
685
|
+
currency: z.ZodString;
|
|
686
|
+
minor_units: z.ZodNumber;
|
|
687
|
+
}, z.core.$strict>;
|
|
688
|
+
}, z.core.$strict>], "kind">;
|
|
689
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
690
|
+
kind: z.ZodLiteral<"exact">;
|
|
691
|
+
value: z.ZodString;
|
|
692
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
693
|
+
kind: z.ZodLiteral<"up-to">;
|
|
694
|
+
value: z.ZodString;
|
|
695
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
696
|
+
kind: z.ZodLiteral<"at-least">;
|
|
697
|
+
value: z.ZodString;
|
|
698
|
+
}, z.core.$strict>], "kind">>;
|
|
390
699
|
}, z.core.$strict>, z.ZodObject<{
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
700
|
+
kind: z.ZodLiteral<"discount">;
|
|
701
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
702
|
+
kind: z.ZodLiteral<"exact">;
|
|
703
|
+
basis_points: z.ZodNumber;
|
|
704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
705
|
+
kind: z.ZodLiteral<"up-to">;
|
|
706
|
+
basis_points: z.ZodNumber;
|
|
707
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
708
|
+
kind: z.ZodLiteral<"at-least">;
|
|
709
|
+
basis_points: z.ZodNumber;
|
|
710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
711
|
+
kind: z.ZodLiteral<"range">;
|
|
712
|
+
minimum_basis_points: z.ZodNumber;
|
|
713
|
+
maximum_basis_points: z.ZodNumber;
|
|
714
|
+
}, z.core.$strict>], "kind">;
|
|
715
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
716
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
717
|
+
kind: z.ZodLiteral<"exact">;
|
|
718
|
+
value: z.ZodString;
|
|
719
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
720
|
+
kind: z.ZodLiteral<"up-to">;
|
|
721
|
+
value: z.ZodString;
|
|
722
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
723
|
+
kind: z.ZodLiteral<"at-least">;
|
|
724
|
+
value: z.ZodString;
|
|
725
|
+
}, z.core.$strict>], "kind">>;
|
|
726
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
727
|
+
kind: z.ZodLiteral<"cashback">;
|
|
728
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
729
|
+
kind: z.ZodLiteral<"money">;
|
|
730
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
731
|
+
kind: z.ZodLiteral<"exact">;
|
|
732
|
+
amount: z.ZodObject<{
|
|
733
|
+
currency: z.ZodString;
|
|
734
|
+
minor_units: z.ZodNumber;
|
|
735
|
+
}, z.core.$strict>;
|
|
736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
737
|
+
kind: z.ZodLiteral<"up-to">;
|
|
738
|
+
amount: z.ZodObject<{
|
|
739
|
+
currency: z.ZodString;
|
|
740
|
+
minor_units: z.ZodNumber;
|
|
741
|
+
}, z.core.$strict>;
|
|
742
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
743
|
+
kind: z.ZodLiteral<"at-least">;
|
|
744
|
+
amount: z.ZodObject<{
|
|
745
|
+
currency: z.ZodString;
|
|
746
|
+
minor_units: z.ZodNumber;
|
|
747
|
+
}, z.core.$strict>;
|
|
748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
749
|
+
kind: z.ZodLiteral<"range">;
|
|
750
|
+
minimum: z.ZodObject<{
|
|
751
|
+
currency: z.ZodString;
|
|
752
|
+
minor_units: z.ZodNumber;
|
|
753
|
+
}, z.core.$strict>;
|
|
754
|
+
maximum: z.ZodObject<{
|
|
755
|
+
currency: z.ZodString;
|
|
756
|
+
minor_units: z.ZodNumber;
|
|
757
|
+
}, z.core.$strict>;
|
|
758
|
+
}, z.core.$strict>], "kind">;
|
|
759
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
760
|
+
kind: z.ZodLiteral<"percentage">;
|
|
761
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
762
|
+
kind: z.ZodLiteral<"exact">;
|
|
763
|
+
basis_points: z.ZodNumber;
|
|
764
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
765
|
+
kind: z.ZodLiteral<"up-to">;
|
|
766
|
+
basis_points: z.ZodNumber;
|
|
767
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
768
|
+
kind: z.ZodLiteral<"at-least">;
|
|
769
|
+
basis_points: z.ZodNumber;
|
|
770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
771
|
+
kind: z.ZodLiteral<"range">;
|
|
772
|
+
minimum_basis_points: z.ZodNumber;
|
|
773
|
+
maximum_basis_points: z.ZodNumber;
|
|
774
|
+
}, z.core.$strict>], "kind">;
|
|
775
|
+
}, z.core.$strict>], "kind">;
|
|
776
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
777
|
+
kind: z.ZodLiteral<"exact">;
|
|
778
|
+
value: z.ZodString;
|
|
779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
780
|
+
kind: z.ZodLiteral<"up-to">;
|
|
781
|
+
value: z.ZodString;
|
|
782
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
783
|
+
kind: z.ZodLiteral<"at-least">;
|
|
784
|
+
value: z.ZodString;
|
|
785
|
+
}, z.core.$strict>], "kind">>;
|
|
786
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
787
|
+
kind: z.ZodLiteral<"free-service">;
|
|
788
|
+
service: z.ZodOptional<z.ZodString>;
|
|
789
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
790
|
+
kind: z.ZodLiteral<"exact">;
|
|
791
|
+
value: z.ZodString;
|
|
792
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
793
|
+
kind: z.ZodLiteral<"up-to">;
|
|
794
|
+
value: z.ZodString;
|
|
795
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
796
|
+
kind: z.ZodLiteral<"at-least">;
|
|
797
|
+
value: z.ZodString;
|
|
798
|
+
}, z.core.$strict>], "kind">;
|
|
799
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
800
|
+
kind: z.ZodLiteral<"waiver">;
|
|
801
|
+
waived_item: z.ZodString;
|
|
802
|
+
}, z.core.$strict>], "kind">;
|
|
803
|
+
}, z.core.$strict>>;
|
|
804
|
+
}, z.core.$strict>;
|
|
805
|
+
export declare const compiledProgramSchema: z.ZodObject<{
|
|
806
|
+
program_id: z.ZodString;
|
|
807
|
+
slug: z.ZodString;
|
|
808
|
+
title: z.ZodString;
|
|
809
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
810
|
+
revision_digest: z.ZodString;
|
|
811
|
+
provenance: z.ZodObject<{
|
|
812
|
+
freshness: z.ZodEnum<{
|
|
813
|
+
unknown: "unknown";
|
|
814
|
+
fresh: "fresh";
|
|
815
|
+
stale: "stale";
|
|
816
|
+
}>;
|
|
817
|
+
dispute: z.ZodEnum<{
|
|
818
|
+
none: "none";
|
|
819
|
+
open: "open";
|
|
820
|
+
resolved: "resolved";
|
|
821
|
+
}>;
|
|
822
|
+
coverage_policy_digest: z.ZodString;
|
|
823
|
+
freshness_policy_digest: z.ZodString;
|
|
824
|
+
basis_event_ids: z.ZodArray<z.ZodString>;
|
|
825
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
826
|
+
path: z.ZodString;
|
|
827
|
+
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
828
|
+
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
829
|
+
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
830
|
+
observed: "observed";
|
|
831
|
+
derived: "derived";
|
|
832
|
+
editorial: "editorial";
|
|
833
|
+
attested: "attested";
|
|
834
|
+
}>>;
|
|
835
|
+
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
836
|
+
observed: "observed";
|
|
837
|
+
derived: "derived";
|
|
838
|
+
editorial: "editorial";
|
|
839
|
+
attested: "attested";
|
|
840
|
+
}>>;
|
|
841
|
+
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
842
|
+
freshness: z.ZodEnum<{
|
|
843
|
+
unknown: "unknown";
|
|
844
|
+
fresh: "fresh";
|
|
845
|
+
stale: "stale";
|
|
846
|
+
}>;
|
|
847
|
+
}, z.core.$strict>>;
|
|
848
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
849
|
+
status: z.ZodLiteral<"none">;
|
|
850
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
851
|
+
status: z.ZodLiteral<"current">;
|
|
852
|
+
event_id: z.ZodString;
|
|
853
|
+
attested_at: z.ZodISODateTime;
|
|
854
|
+
}, z.core.$strict>], "status">;
|
|
855
|
+
}, z.core.$strict>;
|
|
856
|
+
}, z.core.$strict>;
|
|
857
|
+
export declare const compiledEntitySchema: z.ZodObject<{
|
|
858
|
+
entity_id: z.ZodString;
|
|
859
|
+
slug: z.ZodString;
|
|
860
|
+
slug_aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
861
|
+
name: z.ZodString;
|
|
862
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
863
|
+
description: z.ZodString;
|
|
864
|
+
website: z.ZodURL;
|
|
865
|
+
category: z.ZodString;
|
|
866
|
+
revision_digest: z.ZodString;
|
|
867
|
+
provenance: z.ZodObject<{
|
|
868
|
+
freshness: z.ZodEnum<{
|
|
869
|
+
unknown: "unknown";
|
|
870
|
+
fresh: "fresh";
|
|
871
|
+
stale: "stale";
|
|
872
|
+
}>;
|
|
873
|
+
dispute: z.ZodEnum<{
|
|
874
|
+
none: "none";
|
|
875
|
+
open: "open";
|
|
876
|
+
resolved: "resolved";
|
|
417
877
|
}>;
|
|
418
878
|
coverage_policy_digest: z.ZodString;
|
|
419
879
|
freshness_policy_digest: z.ZodString;
|
|
@@ -666,17 +1126,264 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
666
1126
|
kind: z.ZodLiteral<"at-least">;
|
|
667
1127
|
value: z.ZodString;
|
|
668
1128
|
}, z.core.$strict>], "kind">>;
|
|
669
|
-
benefit_id: z.ZodString;
|
|
670
|
-
description: z.ZodString;
|
|
671
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
672
|
-
kind: z.ZodLiteral<"waiver">;
|
|
673
|
-
waived_item: z.ZodString;
|
|
674
|
-
benefit_id: z.ZodString;
|
|
675
|
-
description: z.ZodString;
|
|
1129
|
+
benefit_id: z.ZodString;
|
|
1130
|
+
description: z.ZodString;
|
|
1131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1132
|
+
kind: z.ZodLiteral<"waiver">;
|
|
1133
|
+
waived_item: z.ZodString;
|
|
1134
|
+
benefit_id: z.ZodString;
|
|
1135
|
+
description: z.ZodString;
|
|
1136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1137
|
+
kind: z.ZodLiteral<"free-service">;
|
|
1138
|
+
service: z.ZodString;
|
|
1139
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1140
|
+
kind: z.ZodLiteral<"exact">;
|
|
1141
|
+
value: z.ZodString;
|
|
1142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1143
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1144
|
+
value: z.ZodString;
|
|
1145
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1146
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1147
|
+
value: z.ZodString;
|
|
1148
|
+
}, z.core.$strict>], "kind">>;
|
|
1149
|
+
benefit_id: z.ZodString;
|
|
1150
|
+
description: z.ZodString;
|
|
1151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1152
|
+
kind: z.ZodLiteral<"other">;
|
|
1153
|
+
benefit_id: z.ZodString;
|
|
1154
|
+
description: z.ZodString;
|
|
1155
|
+
}, z.core.$strict>], "kind">>;
|
|
1156
|
+
}, z.core.$strict>;
|
|
1157
|
+
eligibility: z.ZodObject<{
|
|
1158
|
+
rule: z.ZodType<import("../../revisions/src/index.js").EligibilityRule, unknown, z.core.$ZodTypeInternals<import("../../revisions/src/index.js").EligibilityRule, unknown>>;
|
|
1159
|
+
}, z.core.$strict>;
|
|
1160
|
+
roles: z.ZodObject<{
|
|
1161
|
+
terms_authority_entity_id: z.ZodString;
|
|
1162
|
+
access_operator_entity_id: z.ZodString;
|
|
1163
|
+
}, z.core.$strict>;
|
|
1164
|
+
access: z.ZodObject<{
|
|
1165
|
+
availability: z.ZodEnum<{
|
|
1166
|
+
public: "public";
|
|
1167
|
+
other: "other";
|
|
1168
|
+
referral: "referral";
|
|
1169
|
+
membership: "membership";
|
|
1170
|
+
invite: "invite";
|
|
1171
|
+
automatic: "automatic";
|
|
1172
|
+
}>;
|
|
1173
|
+
method: z.ZodEnum<{
|
|
1174
|
+
code: "code";
|
|
1175
|
+
other: "other";
|
|
1176
|
+
automatic: "automatic";
|
|
1177
|
+
form: "form";
|
|
1178
|
+
contact: "contact";
|
|
1179
|
+
}>;
|
|
1180
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
1181
|
+
public_code: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
}, z.core.$strict>;
|
|
1184
|
+
terms_url: z.ZodOptional<z.ZodURL>;
|
|
1185
|
+
lifecycle: z.ZodEnum<{
|
|
1186
|
+
active: "active";
|
|
1187
|
+
ended: "ended";
|
|
1188
|
+
withdrawn: "withdrawn";
|
|
1189
|
+
}>;
|
|
1190
|
+
effective_from: z.ZodISODateTime;
|
|
1191
|
+
effective_until: z.ZodOptional<z.ZodISODateTime>;
|
|
1192
|
+
revision_digest: z.ZodString;
|
|
1193
|
+
provenance: z.ZodObject<{
|
|
1194
|
+
freshness: z.ZodEnum<{
|
|
1195
|
+
unknown: "unknown";
|
|
1196
|
+
fresh: "fresh";
|
|
1197
|
+
stale: "stale";
|
|
1198
|
+
}>;
|
|
1199
|
+
dispute: z.ZodEnum<{
|
|
1200
|
+
none: "none";
|
|
1201
|
+
open: "open";
|
|
1202
|
+
resolved: "resolved";
|
|
1203
|
+
}>;
|
|
1204
|
+
coverage_policy_digest: z.ZodString;
|
|
1205
|
+
freshness_policy_digest: z.ZodString;
|
|
1206
|
+
basis_event_ids: z.ZodArray<z.ZodString>;
|
|
1207
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
1208
|
+
path: z.ZodString;
|
|
1209
|
+
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
1210
|
+
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
1211
|
+
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
1212
|
+
observed: "observed";
|
|
1213
|
+
derived: "derived";
|
|
1214
|
+
editorial: "editorial";
|
|
1215
|
+
attested: "attested";
|
|
1216
|
+
}>>;
|
|
1217
|
+
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
1218
|
+
observed: "observed";
|
|
1219
|
+
derived: "derived";
|
|
1220
|
+
editorial: "editorial";
|
|
1221
|
+
attested: "attested";
|
|
1222
|
+
}>>;
|
|
1223
|
+
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
1224
|
+
freshness: z.ZodEnum<{
|
|
1225
|
+
unknown: "unknown";
|
|
1226
|
+
fresh: "fresh";
|
|
1227
|
+
stale: "stale";
|
|
1228
|
+
}>;
|
|
1229
|
+
}, z.core.$strict>>;
|
|
1230
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1231
|
+
status: z.ZodLiteral<"none">;
|
|
1232
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1233
|
+
status: z.ZodLiteral<"current">;
|
|
1234
|
+
event_id: z.ZodString;
|
|
1235
|
+
attested_at: z.ZodISODateTime;
|
|
1236
|
+
}, z.core.$strict>], "status">;
|
|
1237
|
+
}, z.core.$strict>;
|
|
1238
|
+
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
1239
|
+
status: z.ZodLiteral<"checked">;
|
|
1240
|
+
assurance_id: z.ZodString;
|
|
1241
|
+
checked_at: z.ZodISODateTime;
|
|
1242
|
+
revision_digest: z.ZodString;
|
|
1243
|
+
method_policy_digest: z.ZodString;
|
|
1244
|
+
coverage_policy_digest: z.ZodString;
|
|
1245
|
+
event_id: z.ZodString;
|
|
1246
|
+
receipt_digest: z.ZodString;
|
|
1247
|
+
}, z.core.$strict>>;
|
|
1248
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
1249
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
1250
|
+
benefit_id: z.ZodString;
|
|
1251
|
+
basis: z.ZodEnum<{
|
|
1252
|
+
typed: "typed";
|
|
1253
|
+
described: "described";
|
|
1254
|
+
}>;
|
|
1255
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1256
|
+
kind: z.ZodLiteral<"credit">;
|
|
1257
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1258
|
+
kind: z.ZodLiteral<"exact">;
|
|
1259
|
+
amount: z.ZodObject<{
|
|
1260
|
+
currency: z.ZodString;
|
|
1261
|
+
minor_units: z.ZodNumber;
|
|
1262
|
+
}, z.core.$strict>;
|
|
1263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1264
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1265
|
+
amount: z.ZodObject<{
|
|
1266
|
+
currency: z.ZodString;
|
|
1267
|
+
minor_units: z.ZodNumber;
|
|
1268
|
+
}, z.core.$strict>;
|
|
1269
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1270
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1271
|
+
amount: z.ZodObject<{
|
|
1272
|
+
currency: z.ZodString;
|
|
1273
|
+
minor_units: z.ZodNumber;
|
|
1274
|
+
}, z.core.$strict>;
|
|
1275
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1276
|
+
kind: z.ZodLiteral<"range">;
|
|
1277
|
+
minimum: z.ZodObject<{
|
|
1278
|
+
currency: z.ZodString;
|
|
1279
|
+
minor_units: z.ZodNumber;
|
|
1280
|
+
}, z.core.$strict>;
|
|
1281
|
+
maximum: z.ZodObject<{
|
|
1282
|
+
currency: z.ZodString;
|
|
1283
|
+
minor_units: z.ZodNumber;
|
|
1284
|
+
}, z.core.$strict>;
|
|
1285
|
+
}, z.core.$strict>], "kind">;
|
|
1286
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1287
|
+
kind: z.ZodLiteral<"exact">;
|
|
1288
|
+
value: z.ZodString;
|
|
1289
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1290
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1291
|
+
value: z.ZodString;
|
|
1292
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1293
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1294
|
+
value: z.ZodString;
|
|
1295
|
+
}, z.core.$strict>], "kind">>;
|
|
1296
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1297
|
+
kind: z.ZodLiteral<"discount">;
|
|
1298
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1299
|
+
kind: z.ZodLiteral<"exact">;
|
|
1300
|
+
basis_points: z.ZodNumber;
|
|
1301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1302
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1303
|
+
basis_points: z.ZodNumber;
|
|
1304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1305
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1306
|
+
basis_points: z.ZodNumber;
|
|
1307
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1308
|
+
kind: z.ZodLiteral<"range">;
|
|
1309
|
+
minimum_basis_points: z.ZodNumber;
|
|
1310
|
+
maximum_basis_points: z.ZodNumber;
|
|
1311
|
+
}, z.core.$strict>], "kind">;
|
|
1312
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1314
|
+
kind: z.ZodLiteral<"exact">;
|
|
1315
|
+
value: z.ZodString;
|
|
1316
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1317
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1318
|
+
value: z.ZodString;
|
|
1319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1320
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1321
|
+
value: z.ZodString;
|
|
1322
|
+
}, z.core.$strict>], "kind">>;
|
|
1323
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1324
|
+
kind: z.ZodLiteral<"cashback">;
|
|
1325
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1326
|
+
kind: z.ZodLiteral<"money">;
|
|
1327
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1328
|
+
kind: z.ZodLiteral<"exact">;
|
|
1329
|
+
amount: z.ZodObject<{
|
|
1330
|
+
currency: z.ZodString;
|
|
1331
|
+
minor_units: z.ZodNumber;
|
|
1332
|
+
}, z.core.$strict>;
|
|
1333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1334
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1335
|
+
amount: z.ZodObject<{
|
|
1336
|
+
currency: z.ZodString;
|
|
1337
|
+
minor_units: z.ZodNumber;
|
|
1338
|
+
}, z.core.$strict>;
|
|
1339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1340
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1341
|
+
amount: z.ZodObject<{
|
|
1342
|
+
currency: z.ZodString;
|
|
1343
|
+
minor_units: z.ZodNumber;
|
|
1344
|
+
}, z.core.$strict>;
|
|
1345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1346
|
+
kind: z.ZodLiteral<"range">;
|
|
1347
|
+
minimum: z.ZodObject<{
|
|
1348
|
+
currency: z.ZodString;
|
|
1349
|
+
minor_units: z.ZodNumber;
|
|
1350
|
+
}, z.core.$strict>;
|
|
1351
|
+
maximum: z.ZodObject<{
|
|
1352
|
+
currency: z.ZodString;
|
|
1353
|
+
minor_units: z.ZodNumber;
|
|
1354
|
+
}, z.core.$strict>;
|
|
1355
|
+
}, z.core.$strict>], "kind">;
|
|
1356
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1357
|
+
kind: z.ZodLiteral<"percentage">;
|
|
1358
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1359
|
+
kind: z.ZodLiteral<"exact">;
|
|
1360
|
+
basis_points: z.ZodNumber;
|
|
1361
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1362
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1363
|
+
basis_points: z.ZodNumber;
|
|
1364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1365
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1366
|
+
basis_points: z.ZodNumber;
|
|
1367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1368
|
+
kind: z.ZodLiteral<"range">;
|
|
1369
|
+
minimum_basis_points: z.ZodNumber;
|
|
1370
|
+
maximum_basis_points: z.ZodNumber;
|
|
1371
|
+
}, z.core.$strict>], "kind">;
|
|
1372
|
+
}, z.core.$strict>], "kind">;
|
|
1373
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1374
|
+
kind: z.ZodLiteral<"exact">;
|
|
1375
|
+
value: z.ZodString;
|
|
1376
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1377
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1378
|
+
value: z.ZodString;
|
|
1379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1380
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1381
|
+
value: z.ZodString;
|
|
1382
|
+
}, z.core.$strict>], "kind">>;
|
|
676
1383
|
}, z.core.$strict>, z.ZodObject<{
|
|
677
1384
|
kind: z.ZodLiteral<"free-service">;
|
|
678
|
-
service: z.ZodString
|
|
679
|
-
duration: z.
|
|
1385
|
+
service: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
680
1387
|
kind: z.ZodLiteral<"exact">;
|
|
681
1388
|
value: z.ZodString;
|
|
682
1389
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -685,105 +1392,11 @@ export declare const compiledEntitySchema: z.ZodObject<{
|
|
|
685
1392
|
}, z.core.$strict>, z.ZodObject<{
|
|
686
1393
|
kind: z.ZodLiteral<"at-least">;
|
|
687
1394
|
value: z.ZodString;
|
|
688
|
-
}, z.core.$strict>], "kind"
|
|
689
|
-
benefit_id: z.ZodString;
|
|
690
|
-
description: z.ZodString;
|
|
691
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
692
|
-
kind: z.ZodLiteral<"other">;
|
|
693
|
-
benefit_id: z.ZodString;
|
|
694
|
-
description: z.ZodString;
|
|
695
|
-
}, z.core.$strict>], "kind">>;
|
|
696
|
-
}, z.core.$strict>;
|
|
697
|
-
eligibility: z.ZodObject<{
|
|
698
|
-
rule: z.ZodType<import("../../revisions/src/index.js").EligibilityRule, unknown, z.core.$ZodTypeInternals<import("../../revisions/src/index.js").EligibilityRule, unknown>>;
|
|
699
|
-
}, z.core.$strict>;
|
|
700
|
-
roles: z.ZodObject<{
|
|
701
|
-
terms_authority_entity_id: z.ZodString;
|
|
702
|
-
access_operator_entity_id: z.ZodString;
|
|
703
|
-
}, z.core.$strict>;
|
|
704
|
-
access: z.ZodObject<{
|
|
705
|
-
availability: z.ZodEnum<{
|
|
706
|
-
public: "public";
|
|
707
|
-
other: "other";
|
|
708
|
-
referral: "referral";
|
|
709
|
-
membership: "membership";
|
|
710
|
-
invite: "invite";
|
|
711
|
-
automatic: "automatic";
|
|
712
|
-
}>;
|
|
713
|
-
method: z.ZodEnum<{
|
|
714
|
-
code: "code";
|
|
715
|
-
other: "other";
|
|
716
|
-
automatic: "automatic";
|
|
717
|
-
form: "form";
|
|
718
|
-
contact: "contact";
|
|
719
|
-
}>;
|
|
720
|
-
url: z.ZodOptional<z.ZodURL>;
|
|
721
|
-
public_code: z.ZodOptional<z.ZodString>;
|
|
722
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
723
|
-
}, z.core.$strict>;
|
|
724
|
-
terms_url: z.ZodOptional<z.ZodURL>;
|
|
725
|
-
lifecycle: z.ZodEnum<{
|
|
726
|
-
active: "active";
|
|
727
|
-
ended: "ended";
|
|
728
|
-
withdrawn: "withdrawn";
|
|
729
|
-
}>;
|
|
730
|
-
effective_from: z.ZodISODateTime;
|
|
731
|
-
effective_until: z.ZodOptional<z.ZodISODateTime>;
|
|
732
|
-
revision_digest: z.ZodString;
|
|
733
|
-
provenance: z.ZodObject<{
|
|
734
|
-
freshness: z.ZodEnum<{
|
|
735
|
-
unknown: "unknown";
|
|
736
|
-
fresh: "fresh";
|
|
737
|
-
stale: "stale";
|
|
738
|
-
}>;
|
|
739
|
-
dispute: z.ZodEnum<{
|
|
740
|
-
none: "none";
|
|
741
|
-
open: "open";
|
|
742
|
-
resolved: "resolved";
|
|
743
|
-
}>;
|
|
744
|
-
coverage_policy_digest: z.ZodString;
|
|
745
|
-
freshness_policy_digest: z.ZodString;
|
|
746
|
-
basis_event_ids: z.ZodArray<z.ZodString>;
|
|
747
|
-
fields: z.ZodArray<z.ZodObject<{
|
|
748
|
-
path: z.ZodString;
|
|
749
|
-
supporting_event_ids: z.ZodArray<z.ZodString>;
|
|
750
|
-
contradicting_event_ids: z.ZodArray<z.ZodString>;
|
|
751
|
-
accepted_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
752
|
-
observed: "observed";
|
|
753
|
-
derived: "derived";
|
|
754
|
-
editorial: "editorial";
|
|
755
|
-
attested: "attested";
|
|
756
|
-
}>>;
|
|
757
|
-
evidence_proof_kinds: z.ZodArray<z.ZodEnum<{
|
|
758
|
-
observed: "observed";
|
|
759
|
-
derived: "derived";
|
|
760
|
-
editorial: "editorial";
|
|
761
|
-
attested: "attested";
|
|
762
|
-
}>>;
|
|
763
|
-
latest_observation_at: z.ZodOptional<z.ZodISODateTime>;
|
|
764
|
-
freshness: z.ZodEnum<{
|
|
765
|
-
unknown: "unknown";
|
|
766
|
-
fresh: "fresh";
|
|
767
|
-
stale: "stale";
|
|
768
|
-
}>;
|
|
769
|
-
}, z.core.$strict>>;
|
|
770
|
-
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
771
|
-
status: z.ZodLiteral<"none">;
|
|
1395
|
+
}, z.core.$strict>], "kind">;
|
|
772
1396
|
}, z.core.$strict>, z.ZodObject<{
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
}, z.core.$strict>], "status">;
|
|
777
|
-
}, z.core.$strict>;
|
|
778
|
-
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
779
|
-
status: z.ZodLiteral<"checked">;
|
|
780
|
-
assurance_id: z.ZodString;
|
|
781
|
-
checked_at: z.ZodISODateTime;
|
|
782
|
-
revision_digest: z.ZodString;
|
|
783
|
-
method_policy_digest: z.ZodString;
|
|
784
|
-
coverage_policy_digest: z.ZodString;
|
|
785
|
-
event_id: z.ZodString;
|
|
786
|
-
receipt_digest: z.ZodString;
|
|
1397
|
+
kind: z.ZodLiteral<"waiver">;
|
|
1398
|
+
waived_item: z.ZodString;
|
|
1399
|
+
}, z.core.$strict>], "kind">;
|
|
787
1400
|
}, z.core.$strict>>;
|
|
788
1401
|
}, z.core.$strict>>;
|
|
789
1402
|
}, z.core.$strict>;
|
|
@@ -1342,6 +1955,159 @@ export declare const canonicalArtifactSchema: z.ZodObject<{
|
|
|
1342
1955
|
event_id: z.ZodString;
|
|
1343
1956
|
receipt_digest: z.ZodString;
|
|
1344
1957
|
}, z.core.$strict>>;
|
|
1958
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
1959
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
1960
|
+
benefit_id: z.ZodString;
|
|
1961
|
+
basis: z.ZodEnum<{
|
|
1962
|
+
typed: "typed";
|
|
1963
|
+
described: "described";
|
|
1964
|
+
}>;
|
|
1965
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1966
|
+
kind: z.ZodLiteral<"credit">;
|
|
1967
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1968
|
+
kind: z.ZodLiteral<"exact">;
|
|
1969
|
+
amount: z.ZodObject<{
|
|
1970
|
+
currency: z.ZodString;
|
|
1971
|
+
minor_units: z.ZodNumber;
|
|
1972
|
+
}, z.core.$strict>;
|
|
1973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1974
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1975
|
+
amount: z.ZodObject<{
|
|
1976
|
+
currency: z.ZodString;
|
|
1977
|
+
minor_units: z.ZodNumber;
|
|
1978
|
+
}, z.core.$strict>;
|
|
1979
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1980
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1981
|
+
amount: z.ZodObject<{
|
|
1982
|
+
currency: z.ZodString;
|
|
1983
|
+
minor_units: z.ZodNumber;
|
|
1984
|
+
}, z.core.$strict>;
|
|
1985
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1986
|
+
kind: z.ZodLiteral<"range">;
|
|
1987
|
+
minimum: z.ZodObject<{
|
|
1988
|
+
currency: z.ZodString;
|
|
1989
|
+
minor_units: z.ZodNumber;
|
|
1990
|
+
}, z.core.$strict>;
|
|
1991
|
+
maximum: z.ZodObject<{
|
|
1992
|
+
currency: z.ZodString;
|
|
1993
|
+
minor_units: z.ZodNumber;
|
|
1994
|
+
}, z.core.$strict>;
|
|
1995
|
+
}, z.core.$strict>], "kind">;
|
|
1996
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1997
|
+
kind: z.ZodLiteral<"exact">;
|
|
1998
|
+
value: z.ZodString;
|
|
1999
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2000
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2001
|
+
value: z.ZodString;
|
|
2002
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2003
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2004
|
+
value: z.ZodString;
|
|
2005
|
+
}, z.core.$strict>], "kind">>;
|
|
2006
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2007
|
+
kind: z.ZodLiteral<"discount">;
|
|
2008
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2009
|
+
kind: z.ZodLiteral<"exact">;
|
|
2010
|
+
basis_points: z.ZodNumber;
|
|
2011
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2012
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2013
|
+
basis_points: z.ZodNumber;
|
|
2014
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2015
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2016
|
+
basis_points: z.ZodNumber;
|
|
2017
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2018
|
+
kind: z.ZodLiteral<"range">;
|
|
2019
|
+
minimum_basis_points: z.ZodNumber;
|
|
2020
|
+
maximum_basis_points: z.ZodNumber;
|
|
2021
|
+
}, z.core.$strict>], "kind">;
|
|
2022
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
2023
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2024
|
+
kind: z.ZodLiteral<"exact">;
|
|
2025
|
+
value: z.ZodString;
|
|
2026
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2027
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2028
|
+
value: z.ZodString;
|
|
2029
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2030
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2031
|
+
value: z.ZodString;
|
|
2032
|
+
}, z.core.$strict>], "kind">>;
|
|
2033
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2034
|
+
kind: z.ZodLiteral<"cashback">;
|
|
2035
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2036
|
+
kind: z.ZodLiteral<"money">;
|
|
2037
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2038
|
+
kind: z.ZodLiteral<"exact">;
|
|
2039
|
+
amount: z.ZodObject<{
|
|
2040
|
+
currency: z.ZodString;
|
|
2041
|
+
minor_units: z.ZodNumber;
|
|
2042
|
+
}, z.core.$strict>;
|
|
2043
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2044
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2045
|
+
amount: z.ZodObject<{
|
|
2046
|
+
currency: z.ZodString;
|
|
2047
|
+
minor_units: z.ZodNumber;
|
|
2048
|
+
}, z.core.$strict>;
|
|
2049
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2050
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2051
|
+
amount: z.ZodObject<{
|
|
2052
|
+
currency: z.ZodString;
|
|
2053
|
+
minor_units: z.ZodNumber;
|
|
2054
|
+
}, z.core.$strict>;
|
|
2055
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2056
|
+
kind: z.ZodLiteral<"range">;
|
|
2057
|
+
minimum: z.ZodObject<{
|
|
2058
|
+
currency: z.ZodString;
|
|
2059
|
+
minor_units: z.ZodNumber;
|
|
2060
|
+
}, z.core.$strict>;
|
|
2061
|
+
maximum: z.ZodObject<{
|
|
2062
|
+
currency: z.ZodString;
|
|
2063
|
+
minor_units: z.ZodNumber;
|
|
2064
|
+
}, z.core.$strict>;
|
|
2065
|
+
}, z.core.$strict>], "kind">;
|
|
2066
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2067
|
+
kind: z.ZodLiteral<"percentage">;
|
|
2068
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2069
|
+
kind: z.ZodLiteral<"exact">;
|
|
2070
|
+
basis_points: z.ZodNumber;
|
|
2071
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2072
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2073
|
+
basis_points: z.ZodNumber;
|
|
2074
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2075
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2076
|
+
basis_points: z.ZodNumber;
|
|
2077
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2078
|
+
kind: z.ZodLiteral<"range">;
|
|
2079
|
+
minimum_basis_points: z.ZodNumber;
|
|
2080
|
+
maximum_basis_points: z.ZodNumber;
|
|
2081
|
+
}, z.core.$strict>], "kind">;
|
|
2082
|
+
}, z.core.$strict>], "kind">;
|
|
2083
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2084
|
+
kind: z.ZodLiteral<"exact">;
|
|
2085
|
+
value: z.ZodString;
|
|
2086
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2087
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2088
|
+
value: z.ZodString;
|
|
2089
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2090
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2091
|
+
value: z.ZodString;
|
|
2092
|
+
}, z.core.$strict>], "kind">>;
|
|
2093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2094
|
+
kind: z.ZodLiteral<"free-service">;
|
|
2095
|
+
service: z.ZodOptional<z.ZodString>;
|
|
2096
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2097
|
+
kind: z.ZodLiteral<"exact">;
|
|
2098
|
+
value: z.ZodString;
|
|
2099
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2100
|
+
kind: z.ZodLiteral<"up-to">;
|
|
2101
|
+
value: z.ZodString;
|
|
2102
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2103
|
+
kind: z.ZodLiteral<"at-least">;
|
|
2104
|
+
value: z.ZodString;
|
|
2105
|
+
}, z.core.$strict>], "kind">;
|
|
2106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2107
|
+
kind: z.ZodLiteral<"waiver">;
|
|
2108
|
+
waived_item: z.ZodString;
|
|
2109
|
+
}, z.core.$strict>], "kind">;
|
|
2110
|
+
}, z.core.$strict>>;
|
|
1345
2111
|
}, z.core.$strict>>;
|
|
1346
2112
|
}, z.core.$strict>>;
|
|
1347
2113
|
}, z.core.$strict>;
|
|
@@ -1502,6 +2268,8 @@ export declare const searchIndexSchema: z.ZodObject<{
|
|
|
1502
2268
|
}, z.core.$strict>;
|
|
1503
2269
|
export type Provenance = z.infer<typeof provenanceSchema>;
|
|
1504
2270
|
export type CompiledOffer = z.infer<typeof compiledOfferSchema>;
|
|
2271
|
+
export type OfferHeadline = z.infer<typeof offerHeadlineSchema>;
|
|
2272
|
+
export type OfferHeadlineFigure = z.infer<typeof offerHeadlineFigureSchema>;
|
|
1505
2273
|
export type CompiledProgram = z.infer<typeof compiledProgramSchema>;
|
|
1506
2274
|
export type CompiledEntity = z.infer<typeof compiledEntitySchema>;
|
|
1507
2275
|
export type CompiledPolicy = z.infer<typeof compiledPolicySchema>;
|