@opencrvs/toolkit 1.8.0-rc.f988087 → 1.8.0-rc.faeb298

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.
@@ -55,11 +55,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
55
55
  label: import("../commons").TranslationConfig;
56
56
  };
57
57
  label: import("../commons").TranslationConfig;
58
- pages: {
58
+ pages: ({
59
59
  id: string;
60
60
  title: import("../commons").TranslationConfig;
61
61
  fields: import("../commons").Inferred[];
62
- }[];
62
+ type?: "FORM" | undefined;
63
+ } | {
64
+ type: "VERIFICATION";
65
+ id: string;
66
+ title: import("../commons").TranslationConfig;
67
+ actions: {
68
+ verify: {
69
+ label: import("../commons").TranslationConfig;
70
+ };
71
+ cancel: {
72
+ label: import("../commons").TranslationConfig;
73
+ confirmation: {
74
+ title: import("../commons").TranslationConfig;
75
+ body: import("../commons").TranslationConfig;
76
+ };
77
+ };
78
+ };
79
+ fields: import("../commons").Inferred[];
80
+ })[];
63
81
  review: {
64
82
  title: import("../commons").TranslationConfig;
65
83
  fields: import("../commons").Inferred[];
@@ -83,11 +101,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
83
101
  label: import("../commons").TranslationConfig;
84
102
  };
85
103
  label: import("../commons").TranslationConfig;
86
- pages: {
104
+ pages: ({
87
105
  id: string;
88
106
  title: import("../commons").TranslationConfig;
89
107
  fields: import("../commons").Inferred[];
90
- }[];
108
+ type?: "FORM" | undefined;
109
+ } | {
110
+ type: "VERIFICATION";
111
+ id: string;
112
+ title: import("../commons").TranslationConfig;
113
+ actions: {
114
+ verify: {
115
+ label: import("../commons").TranslationConfig;
116
+ };
117
+ cancel: {
118
+ label: import("../commons").TranslationConfig;
119
+ confirmation: {
120
+ title: import("../commons").TranslationConfig;
121
+ body: import("../commons").TranslationConfig;
122
+ };
123
+ };
124
+ };
125
+ fields: import("../commons").Inferred[];
126
+ })[];
91
127
  review: {
92
128
  title: import("../commons").TranslationConfig;
93
129
  fields: import("../commons").Inferred[];
@@ -112,11 +148,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
112
148
  label: import("../commons").TranslationConfig;
113
149
  };
114
150
  label: import("../commons").TranslationConfig;
115
- pages: {
151
+ pages: ({
152
+ id: string;
153
+ title: import("../commons").TranslationConfig;
154
+ fields: import("../commons").Inferred[];
155
+ type?: "FORM" | undefined;
156
+ } | {
157
+ type: "VERIFICATION";
116
158
  id: string;
117
159
  title: import("../commons").TranslationConfig;
160
+ actions: {
161
+ verify: {
162
+ label: import("../commons").TranslationConfig;
163
+ };
164
+ cancel: {
165
+ label: import("../commons").TranslationConfig;
166
+ confirmation: {
167
+ title: import("../commons").TranslationConfig;
168
+ body: import("../commons").TranslationConfig;
169
+ };
170
+ };
171
+ };
118
172
  fields: import("../commons").Inferred[];
119
- }[];
173
+ })[];
120
174
  review: {
121
175
  title: import("../commons").TranslationConfig;
122
176
  fields: import("../commons").Inferred[];
@@ -142,11 +196,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
142
196
  label: import("../commons").TranslationConfig;
143
197
  };
144
198
  label: import("../commons").TranslationConfig;
145
- pages: {
199
+ pages: ({
146
200
  id: string;
147
201
  title: import("../commons").TranslationConfig;
148
202
  fields: import("../commons").Inferred[];
149
- }[];
203
+ type?: "FORM" | undefined;
204
+ } | {
205
+ type: "VERIFICATION";
206
+ id: string;
207
+ title: import("../commons").TranslationConfig;
208
+ actions: {
209
+ verify: {
210
+ label: import("../commons").TranslationConfig;
211
+ };
212
+ cancel: {
213
+ label: import("../commons").TranslationConfig;
214
+ confirmation: {
215
+ title: import("../commons").TranslationConfig;
216
+ body: import("../commons").TranslationConfig;
217
+ };
218
+ };
219
+ };
220
+ fields: import("../commons").Inferred[];
221
+ })[];
150
222
  review: {
151
223
  title: import("../commons").TranslationConfig;
152
224
  fields: import("../commons").Inferred[];
@@ -172,11 +244,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
172
244
  label: import("../commons").TranslationConfig;
173
245
  };
174
246
  label: import("../commons").TranslationConfig;
175
- pages: {
247
+ pages: ({
248
+ id: string;
249
+ title: import("../commons").TranslationConfig;
250
+ fields: import("../commons").Inferred[];
251
+ type?: "FORM" | undefined;
252
+ } | {
253
+ type: "VERIFICATION";
176
254
  id: string;
177
255
  title: import("../commons").TranslationConfig;
256
+ actions: {
257
+ verify: {
258
+ label: import("../commons").TranslationConfig;
259
+ };
260
+ cancel: {
261
+ label: import("../commons").TranslationConfig;
262
+ confirmation: {
263
+ title: import("../commons").TranslationConfig;
264
+ body: import("../commons").TranslationConfig;
265
+ };
266
+ };
267
+ };
178
268
  fields: import("../commons").Inferred[];
179
- }[];
269
+ })[];
180
270
  review: {
181
271
  title: import("../commons").TranslationConfig;
182
272
  fields: import("../commons").Inferred[];
@@ -201,11 +291,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
201
291
  label: import("../commons").TranslationConfig;
202
292
  };
203
293
  label: import("../commons").TranslationConfig;
204
- pages: {
294
+ pages: ({
295
+ id: string;
296
+ title: import("../commons").TranslationConfig;
297
+ fields: import("../commons").Inferred[];
298
+ type?: "FORM" | undefined;
299
+ } | {
300
+ type: "VERIFICATION";
205
301
  id: string;
206
302
  title: import("../commons").TranslationConfig;
303
+ actions: {
304
+ verify: {
305
+ label: import("../commons").TranslationConfig;
306
+ };
307
+ cancel: {
308
+ label: import("../commons").TranslationConfig;
309
+ confirmation: {
310
+ title: import("../commons").TranslationConfig;
311
+ body: import("../commons").TranslationConfig;
312
+ };
313
+ };
314
+ };
207
315
  fields: import("../commons").Inferred[];
208
- }[];
316
+ })[];
209
317
  review: {
210
318
  title: import("../commons").TranslationConfig;
211
319
  fields: import("../commons").Inferred[];
@@ -229,11 +337,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
229
337
  label: import("../commons").TranslationConfig;
230
338
  };
231
339
  label: import("../commons").TranslationConfig;
232
- pages: {
340
+ pages: ({
233
341
  id: string;
234
342
  title: import("../commons").TranslationConfig;
235
343
  fields: import("../commons").Inferred[];
236
- }[];
344
+ type?: "FORM" | undefined;
345
+ } | {
346
+ type: "VERIFICATION";
347
+ id: string;
348
+ title: import("../commons").TranslationConfig;
349
+ actions: {
350
+ verify: {
351
+ label: import("../commons").TranslationConfig;
352
+ };
353
+ cancel: {
354
+ label: import("../commons").TranslationConfig;
355
+ confirmation: {
356
+ title: import("../commons").TranslationConfig;
357
+ body: import("../commons").TranslationConfig;
358
+ };
359
+ };
360
+ };
361
+ fields: import("../commons").Inferred[];
362
+ })[];
237
363
  review: {
238
364
  title: import("../commons").TranslationConfig;
239
365
  fields: import("../commons").Inferred[];
@@ -257,11 +383,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
257
383
  label: import("../commons").TranslationConfig;
258
384
  };
259
385
  label: import("../commons").TranslationConfig;
260
- pages: {
386
+ pages: ({
387
+ id: string;
388
+ title: import("../commons").TranslationConfig;
389
+ fields: import("../commons").Inferred[];
390
+ type?: "FORM" | undefined;
391
+ } | {
392
+ type: "VERIFICATION";
261
393
  id: string;
262
394
  title: import("../commons").TranslationConfig;
395
+ actions: {
396
+ verify: {
397
+ label: import("../commons").TranslationConfig;
398
+ };
399
+ cancel: {
400
+ label: import("../commons").TranslationConfig;
401
+ confirmation: {
402
+ title: import("../commons").TranslationConfig;
403
+ body: import("../commons").TranslationConfig;
404
+ };
405
+ };
406
+ };
263
407
  fields: import("../commons").Inferred[];
264
- }[];
408
+ })[];
265
409
  review: {
266
410
  title: import("../commons").TranslationConfig;
267
411
  fields: import("../commons").Inferred[];
@@ -285,11 +429,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
285
429
  label: import("../commons").TranslationConfig;
286
430
  };
287
431
  label: import("../commons").TranslationConfig;
288
- pages: {
432
+ pages: ({
433
+ id: string;
434
+ title: import("../commons").TranslationConfig;
435
+ fields: import("../commons").Inferred[];
436
+ type?: "FORM" | undefined;
437
+ } | {
438
+ type: "VERIFICATION";
289
439
  id: string;
290
440
  title: import("../commons").TranslationConfig;
441
+ actions: {
442
+ verify: {
443
+ label: import("../commons").TranslationConfig;
444
+ };
445
+ cancel: {
446
+ label: import("../commons").TranslationConfig;
447
+ confirmation: {
448
+ title: import("../commons").TranslationConfig;
449
+ body: import("../commons").TranslationConfig;
450
+ };
451
+ };
452
+ };
291
453
  fields: import("../commons").Inferred[];
292
- }[];
454
+ })[];
293
455
  review: {
294
456
  title: import("../commons").TranslationConfig;
295
457
  fields: import("../commons").Inferred[];
@@ -299,11 +461,13 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
299
461
  id: string;
300
462
  title: import("../commons").TranslationConfig;
301
463
  fields: import("../commons").Inferred[];
464
+ type?: "FORM" | undefined;
302
465
  }[];
303
466
  additionalDetailsForm: {
304
467
  id: string;
305
468
  title: import("../commons").TranslationConfig;
306
469
  fields: import("../commons").Inferred[];
470
+ type?: "FORM" | undefined;
307
471
  }[];
308
472
  draft?: boolean | undefined;
309
473
  } | {
@@ -323,11 +487,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
323
487
  label: import("../commons").TranslationConfig;
324
488
  };
325
489
  label: import("../commons").TranslationConfig;
326
- pages: {
490
+ pages: ({
491
+ id: string;
492
+ title: import("../commons").TranslationConfig;
493
+ fields: import("../commons").Inferred[];
494
+ type?: "FORM" | undefined;
495
+ } | {
496
+ type: "VERIFICATION";
327
497
  id: string;
328
498
  title: import("../commons").TranslationConfig;
499
+ actions: {
500
+ verify: {
501
+ label: import("../commons").TranslationConfig;
502
+ };
503
+ cancel: {
504
+ label: import("../commons").TranslationConfig;
505
+ confirmation: {
506
+ title: import("../commons").TranslationConfig;
507
+ body: import("../commons").TranslationConfig;
508
+ };
509
+ };
510
+ };
329
511
  fields: import("../commons").Inferred[];
330
- }[];
512
+ })[];
331
513
  review: {
332
514
  title: import("../commons").TranslationConfig;
333
515
  fields: import("../commons").Inferred[];
@@ -351,11 +533,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
351
533
  label: import("../commons").TranslationConfig;
352
534
  };
353
535
  label: import("../commons").TranslationConfig;
354
- pages: {
536
+ pages: ({
537
+ id: string;
538
+ title: import("../commons").TranslationConfig;
539
+ fields: import("../commons").Inferred[];
540
+ type?: "FORM" | undefined;
541
+ } | {
542
+ type: "VERIFICATION";
355
543
  id: string;
356
544
  title: import("../commons").TranslationConfig;
545
+ actions: {
546
+ verify: {
547
+ label: import("../commons").TranslationConfig;
548
+ };
549
+ cancel: {
550
+ label: import("../commons").TranslationConfig;
551
+ confirmation: {
552
+ title: import("../commons").TranslationConfig;
553
+ body: import("../commons").TranslationConfig;
554
+ };
555
+ };
556
+ };
357
557
  fields: import("../commons").Inferred[];
358
- }[];
558
+ })[];
359
559
  review: {
360
560
  title: import("../commons").TranslationConfig;
361
561
  fields: import("../commons").Inferred[];
@@ -379,11 +579,29 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
379
579
  label: import("../commons").TranslationConfig;
380
580
  };
381
581
  label: import("../commons").TranslationConfig;
382
- pages: {
582
+ pages: ({
583
+ id: string;
584
+ title: import("../commons").TranslationConfig;
585
+ fields: import("../commons").Inferred[];
586
+ type?: "FORM" | undefined;
587
+ } | {
588
+ type: "VERIFICATION";
383
589
  id: string;
384
590
  title: import("../commons").TranslationConfig;
591
+ actions: {
592
+ verify: {
593
+ label: import("../commons").TranslationConfig;
594
+ };
595
+ cancel: {
596
+ label: import("../commons").TranslationConfig;
597
+ confirmation: {
598
+ title: import("../commons").TranslationConfig;
599
+ body: import("../commons").TranslationConfig;
600
+ };
601
+ };
602
+ };
385
603
  fields: import("../commons").Inferred[];
386
- }[];
604
+ })[];
387
605
  review: {
388
606
  title: import("../commons").TranslationConfig;
389
607
  fields: import("../commons").Inferred[];
@@ -2351,7 +2569,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2351
2569
  filename: string;
2352
2570
  originalFilename: string;
2353
2571
  }[]> | undefined;
2354
- incomplete?: boolean | undefined;
2355
2572
  };
2356
2573
  output: {
2357
2574
  id: string;
@@ -2459,7 +2676,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2459
2676
  filename: string;
2460
2677
  originalFilename: string;
2461
2678
  }[]>;
2462
- createdAtLocation: string;
2463
2679
  eventId: string;
2464
2680
  transactionId: string;
2465
2681
  type?: "NOTIFY" | undefined;
@@ -2489,7 +2705,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2489
2705
  filename: string;
2490
2706
  originalFilename: string;
2491
2707
  }[]> | undefined;
2492
- incomplete?: boolean | undefined;
2493
2708
  };
2494
2709
  output: {
2495
2710
  type: string;
@@ -3434,7 +3649,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3434
3649
  filename: string;
3435
3650
  originalFilename: string;
3436
3651
  }[]> | undefined;
3437
- incomplete?: boolean | undefined;
3438
3652
  };
3439
3653
  output: {
3440
3654
  type: string;
@@ -4380,7 +4594,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4380
4594
  filename: string;
4381
4595
  originalFilename: string;
4382
4596
  }[]> | undefined;
4383
- incomplete?: boolean | undefined;
4384
4597
  };
4385
4598
  output: {
4386
4599
  type: string;
@@ -5325,7 +5538,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5325
5538
  filename: string;
5326
5539
  originalFilename: string;
5327
5540
  }[]> | undefined;
5328
- incomplete?: boolean | undefined;
5329
5541
  };
5330
5542
  output: {
5331
5543
  type: string;
@@ -6270,7 +6482,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
6270
6482
  filename: string;
6271
6483
  originalFilename: string;
6272
6484
  }[]> | undefined;
6273
- incomplete?: boolean | undefined;
6274
6485
  };
6275
6486
  output: {
6276
6487
  type: string;
@@ -7215,7 +7426,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
7215
7426
  filename: string;
7216
7427
  originalFilename: string;
7217
7428
  }[]> | undefined;
7218
- incomplete?: boolean | undefined;
7219
7429
  };
7220
7430
  output: {
7221
7431
  type: string;
@@ -8160,7 +8370,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
8160
8370
  filename: string;
8161
8371
  originalFilename: string;
8162
8372
  }[]> | undefined;
8163
- incomplete?: boolean | undefined;
8164
8373
  };
8165
8374
  output: {
8166
8375
  type: string;
@@ -9117,7 +9326,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
9117
9326
  filename: string;
9118
9327
  originalFilename: string;
9119
9328
  }[]> | undefined;
9120
- incomplete?: boolean | undefined;
9121
9329
  };
9122
9330
  output: {
9123
9331
  type: string;
@@ -10063,7 +10271,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
10063
10271
  filename: string;
10064
10272
  originalFilename: string;
10065
10273
  }[]> | undefined;
10066
- incomplete?: boolean | undefined;
10067
10274
  };
10068
10275
  output: {
10069
10276
  type: string;
@@ -11009,7 +11216,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
11009
11216
  filename: string;
11010
11217
  originalFilename: string;
11011
11218
  }[]> | undefined;
11012
- incomplete?: boolean | undefined;
11013
11219
  };
11014
11220
  output: {
11015
11221
  type: string;