@canton-network/core-wallet-store 0.1.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.
@@ -0,0 +1,961 @@
1
+ import { z } from 'zod';
2
+ export declare const ledgerApiSchema: z.ZodObject<{
3
+ baseUrl: z.ZodString;
4
+ adminGrpcUrl: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ baseUrl: string;
7
+ adminGrpcUrl: string;
8
+ }, {
9
+ baseUrl: string;
10
+ adminGrpcUrl: string;
11
+ }>;
12
+ declare const passwordAuthSchema: z.ZodObject<{
13
+ identityProviderId: z.ZodString;
14
+ type: z.ZodLiteral<"password">;
15
+ issuer: z.ZodString;
16
+ configUrl: z.ZodString;
17
+ audience: z.ZodString;
18
+ tokenUrl: z.ZodString;
19
+ grantType: z.ZodString;
20
+ scope: z.ZodString;
21
+ clientId: z.ZodString;
22
+ admin: z.ZodOptional<z.ZodObject<{
23
+ clientId: z.ZodString;
24
+ clientSecret: z.ZodString;
25
+ }, "strip", z.ZodTypeAny, {
26
+ clientId: string;
27
+ clientSecret: string;
28
+ }, {
29
+ clientId: string;
30
+ clientSecret: string;
31
+ }>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: "password";
34
+ clientId: string;
35
+ identityProviderId: string;
36
+ issuer: string;
37
+ configUrl: string;
38
+ audience: string;
39
+ tokenUrl: string;
40
+ grantType: string;
41
+ scope: string;
42
+ admin?: {
43
+ clientId: string;
44
+ clientSecret: string;
45
+ } | undefined;
46
+ }, {
47
+ type: "password";
48
+ clientId: string;
49
+ identityProviderId: string;
50
+ issuer: string;
51
+ configUrl: string;
52
+ audience: string;
53
+ tokenUrl: string;
54
+ grantType: string;
55
+ scope: string;
56
+ admin?: {
57
+ clientId: string;
58
+ clientSecret: string;
59
+ } | undefined;
60
+ }>;
61
+ declare const implicitAuthSchema: z.ZodObject<{
62
+ identityProviderId: z.ZodString;
63
+ type: z.ZodLiteral<"implicit">;
64
+ issuer: z.ZodString;
65
+ configUrl: z.ZodString;
66
+ audience: z.ZodString;
67
+ scope: z.ZodString;
68
+ clientId: z.ZodString;
69
+ admin: z.ZodOptional<z.ZodObject<{
70
+ clientId: z.ZodString;
71
+ clientSecret: z.ZodString;
72
+ }, "strip", z.ZodTypeAny, {
73
+ clientId: string;
74
+ clientSecret: string;
75
+ }, {
76
+ clientId: string;
77
+ clientSecret: string;
78
+ }>>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ type: "implicit";
81
+ clientId: string;
82
+ identityProviderId: string;
83
+ issuer: string;
84
+ configUrl: string;
85
+ audience: string;
86
+ scope: string;
87
+ admin?: {
88
+ clientId: string;
89
+ clientSecret: string;
90
+ } | undefined;
91
+ }, {
92
+ type: "implicit";
93
+ clientId: string;
94
+ identityProviderId: string;
95
+ issuer: string;
96
+ configUrl: string;
97
+ audience: string;
98
+ scope: string;
99
+ admin?: {
100
+ clientId: string;
101
+ clientSecret: string;
102
+ } | undefined;
103
+ }>;
104
+ declare const clientCredentialAuthSchema: z.ZodObject<{
105
+ identityProviderId: z.ZodString;
106
+ type: z.ZodLiteral<"client_credentials">;
107
+ issuer: z.ZodString;
108
+ configUrl: z.ZodString;
109
+ audience: z.ZodString;
110
+ scope: z.ZodString;
111
+ clientId: z.ZodString;
112
+ clientSecret: z.ZodString;
113
+ admin: z.ZodOptional<z.ZodObject<{
114
+ clientId: z.ZodString;
115
+ clientSecret: z.ZodString;
116
+ }, "strip", z.ZodTypeAny, {
117
+ clientId: string;
118
+ clientSecret: string;
119
+ }, {
120
+ clientId: string;
121
+ clientSecret: string;
122
+ }>>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ type: "client_credentials";
125
+ clientId: string;
126
+ clientSecret: string;
127
+ identityProviderId: string;
128
+ issuer: string;
129
+ configUrl: string;
130
+ audience: string;
131
+ scope: string;
132
+ admin?: {
133
+ clientId: string;
134
+ clientSecret: string;
135
+ } | undefined;
136
+ }, {
137
+ type: "client_credentials";
138
+ clientId: string;
139
+ clientSecret: string;
140
+ identityProviderId: string;
141
+ issuer: string;
142
+ configUrl: string;
143
+ audience: string;
144
+ scope: string;
145
+ admin?: {
146
+ clientId: string;
147
+ clientSecret: string;
148
+ } | undefined;
149
+ }>;
150
+ export declare const authSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
151
+ identityProviderId: z.ZodString;
152
+ type: z.ZodLiteral<"password">;
153
+ issuer: z.ZodString;
154
+ configUrl: z.ZodString;
155
+ audience: z.ZodString;
156
+ tokenUrl: z.ZodString;
157
+ grantType: z.ZodString;
158
+ scope: z.ZodString;
159
+ clientId: z.ZodString;
160
+ admin: z.ZodOptional<z.ZodObject<{
161
+ clientId: z.ZodString;
162
+ clientSecret: z.ZodString;
163
+ }, "strip", z.ZodTypeAny, {
164
+ clientId: string;
165
+ clientSecret: string;
166
+ }, {
167
+ clientId: string;
168
+ clientSecret: string;
169
+ }>>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: "password";
172
+ clientId: string;
173
+ identityProviderId: string;
174
+ issuer: string;
175
+ configUrl: string;
176
+ audience: string;
177
+ tokenUrl: string;
178
+ grantType: string;
179
+ scope: string;
180
+ admin?: {
181
+ clientId: string;
182
+ clientSecret: string;
183
+ } | undefined;
184
+ }, {
185
+ type: "password";
186
+ clientId: string;
187
+ identityProviderId: string;
188
+ issuer: string;
189
+ configUrl: string;
190
+ audience: string;
191
+ tokenUrl: string;
192
+ grantType: string;
193
+ scope: string;
194
+ admin?: {
195
+ clientId: string;
196
+ clientSecret: string;
197
+ } | undefined;
198
+ }>, z.ZodObject<{
199
+ identityProviderId: z.ZodString;
200
+ type: z.ZodLiteral<"implicit">;
201
+ issuer: z.ZodString;
202
+ configUrl: z.ZodString;
203
+ audience: z.ZodString;
204
+ scope: z.ZodString;
205
+ clientId: z.ZodString;
206
+ admin: z.ZodOptional<z.ZodObject<{
207
+ clientId: z.ZodString;
208
+ clientSecret: z.ZodString;
209
+ }, "strip", z.ZodTypeAny, {
210
+ clientId: string;
211
+ clientSecret: string;
212
+ }, {
213
+ clientId: string;
214
+ clientSecret: string;
215
+ }>>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ type: "implicit";
218
+ clientId: string;
219
+ identityProviderId: string;
220
+ issuer: string;
221
+ configUrl: string;
222
+ audience: string;
223
+ scope: string;
224
+ admin?: {
225
+ clientId: string;
226
+ clientSecret: string;
227
+ } | undefined;
228
+ }, {
229
+ type: "implicit";
230
+ clientId: string;
231
+ identityProviderId: string;
232
+ issuer: string;
233
+ configUrl: string;
234
+ audience: string;
235
+ scope: string;
236
+ admin?: {
237
+ clientId: string;
238
+ clientSecret: string;
239
+ } | undefined;
240
+ }>, z.ZodObject<{
241
+ identityProviderId: z.ZodString;
242
+ type: z.ZodLiteral<"client_credentials">;
243
+ issuer: z.ZodString;
244
+ configUrl: z.ZodString;
245
+ audience: z.ZodString;
246
+ scope: z.ZodString;
247
+ clientId: z.ZodString;
248
+ clientSecret: z.ZodString;
249
+ admin: z.ZodOptional<z.ZodObject<{
250
+ clientId: z.ZodString;
251
+ clientSecret: z.ZodString;
252
+ }, "strip", z.ZodTypeAny, {
253
+ clientId: string;
254
+ clientSecret: string;
255
+ }, {
256
+ clientId: string;
257
+ clientSecret: string;
258
+ }>>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ type: "client_credentials";
261
+ clientId: string;
262
+ clientSecret: string;
263
+ identityProviderId: string;
264
+ issuer: string;
265
+ configUrl: string;
266
+ audience: string;
267
+ scope: string;
268
+ admin?: {
269
+ clientId: string;
270
+ clientSecret: string;
271
+ } | undefined;
272
+ }, {
273
+ type: "client_credentials";
274
+ clientId: string;
275
+ clientSecret: string;
276
+ identityProviderId: string;
277
+ issuer: string;
278
+ configUrl: string;
279
+ audience: string;
280
+ scope: string;
281
+ admin?: {
282
+ clientId: string;
283
+ clientSecret: string;
284
+ } | undefined;
285
+ }>]>;
286
+ export declare const networkSchema: z.ZodObject<{
287
+ name: z.ZodString;
288
+ chainId: z.ZodString;
289
+ synchronizerId: z.ZodString;
290
+ description: z.ZodString;
291
+ ledgerApi: z.ZodObject<{
292
+ baseUrl: z.ZodString;
293
+ adminGrpcUrl: z.ZodString;
294
+ }, "strip", z.ZodTypeAny, {
295
+ baseUrl: string;
296
+ adminGrpcUrl: string;
297
+ }, {
298
+ baseUrl: string;
299
+ adminGrpcUrl: string;
300
+ }>;
301
+ auth: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
302
+ identityProviderId: z.ZodString;
303
+ type: z.ZodLiteral<"password">;
304
+ issuer: z.ZodString;
305
+ configUrl: z.ZodString;
306
+ audience: z.ZodString;
307
+ tokenUrl: z.ZodString;
308
+ grantType: z.ZodString;
309
+ scope: z.ZodString;
310
+ clientId: z.ZodString;
311
+ admin: z.ZodOptional<z.ZodObject<{
312
+ clientId: z.ZodString;
313
+ clientSecret: z.ZodString;
314
+ }, "strip", z.ZodTypeAny, {
315
+ clientId: string;
316
+ clientSecret: string;
317
+ }, {
318
+ clientId: string;
319
+ clientSecret: string;
320
+ }>>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ type: "password";
323
+ clientId: string;
324
+ identityProviderId: string;
325
+ issuer: string;
326
+ configUrl: string;
327
+ audience: string;
328
+ tokenUrl: string;
329
+ grantType: string;
330
+ scope: string;
331
+ admin?: {
332
+ clientId: string;
333
+ clientSecret: string;
334
+ } | undefined;
335
+ }, {
336
+ type: "password";
337
+ clientId: string;
338
+ identityProviderId: string;
339
+ issuer: string;
340
+ configUrl: string;
341
+ audience: string;
342
+ tokenUrl: string;
343
+ grantType: string;
344
+ scope: string;
345
+ admin?: {
346
+ clientId: string;
347
+ clientSecret: string;
348
+ } | undefined;
349
+ }>, z.ZodObject<{
350
+ identityProviderId: z.ZodString;
351
+ type: z.ZodLiteral<"implicit">;
352
+ issuer: z.ZodString;
353
+ configUrl: z.ZodString;
354
+ audience: z.ZodString;
355
+ scope: z.ZodString;
356
+ clientId: z.ZodString;
357
+ admin: z.ZodOptional<z.ZodObject<{
358
+ clientId: z.ZodString;
359
+ clientSecret: z.ZodString;
360
+ }, "strip", z.ZodTypeAny, {
361
+ clientId: string;
362
+ clientSecret: string;
363
+ }, {
364
+ clientId: string;
365
+ clientSecret: string;
366
+ }>>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ type: "implicit";
369
+ clientId: string;
370
+ identityProviderId: string;
371
+ issuer: string;
372
+ configUrl: string;
373
+ audience: string;
374
+ scope: string;
375
+ admin?: {
376
+ clientId: string;
377
+ clientSecret: string;
378
+ } | undefined;
379
+ }, {
380
+ type: "implicit";
381
+ clientId: string;
382
+ identityProviderId: string;
383
+ issuer: string;
384
+ configUrl: string;
385
+ audience: string;
386
+ scope: string;
387
+ admin?: {
388
+ clientId: string;
389
+ clientSecret: string;
390
+ } | undefined;
391
+ }>, z.ZodObject<{
392
+ identityProviderId: z.ZodString;
393
+ type: z.ZodLiteral<"client_credentials">;
394
+ issuer: z.ZodString;
395
+ configUrl: z.ZodString;
396
+ audience: z.ZodString;
397
+ scope: z.ZodString;
398
+ clientId: z.ZodString;
399
+ clientSecret: z.ZodString;
400
+ admin: z.ZodOptional<z.ZodObject<{
401
+ clientId: z.ZodString;
402
+ clientSecret: z.ZodString;
403
+ }, "strip", z.ZodTypeAny, {
404
+ clientId: string;
405
+ clientSecret: string;
406
+ }, {
407
+ clientId: string;
408
+ clientSecret: string;
409
+ }>>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ type: "client_credentials";
412
+ clientId: string;
413
+ clientSecret: string;
414
+ identityProviderId: string;
415
+ issuer: string;
416
+ configUrl: string;
417
+ audience: string;
418
+ scope: string;
419
+ admin?: {
420
+ clientId: string;
421
+ clientSecret: string;
422
+ } | undefined;
423
+ }, {
424
+ type: "client_credentials";
425
+ clientId: string;
426
+ clientSecret: string;
427
+ identityProviderId: string;
428
+ issuer: string;
429
+ configUrl: string;
430
+ audience: string;
431
+ scope: string;
432
+ admin?: {
433
+ clientId: string;
434
+ clientSecret: string;
435
+ } | undefined;
436
+ }>]>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ name: string;
439
+ chainId: string;
440
+ synchronizerId: string;
441
+ description: string;
442
+ ledgerApi: {
443
+ baseUrl: string;
444
+ adminGrpcUrl: string;
445
+ };
446
+ auth: {
447
+ type: "password";
448
+ clientId: string;
449
+ identityProviderId: string;
450
+ issuer: string;
451
+ configUrl: string;
452
+ audience: string;
453
+ tokenUrl: string;
454
+ grantType: string;
455
+ scope: string;
456
+ admin?: {
457
+ clientId: string;
458
+ clientSecret: string;
459
+ } | undefined;
460
+ } | {
461
+ type: "implicit";
462
+ clientId: string;
463
+ identityProviderId: string;
464
+ issuer: string;
465
+ configUrl: string;
466
+ audience: string;
467
+ scope: string;
468
+ admin?: {
469
+ clientId: string;
470
+ clientSecret: string;
471
+ } | undefined;
472
+ } | {
473
+ type: "client_credentials";
474
+ clientId: string;
475
+ clientSecret: string;
476
+ identityProviderId: string;
477
+ issuer: string;
478
+ configUrl: string;
479
+ audience: string;
480
+ scope: string;
481
+ admin?: {
482
+ clientId: string;
483
+ clientSecret: string;
484
+ } | undefined;
485
+ };
486
+ }, {
487
+ name: string;
488
+ chainId: string;
489
+ synchronizerId: string;
490
+ description: string;
491
+ ledgerApi: {
492
+ baseUrl: string;
493
+ adminGrpcUrl: string;
494
+ };
495
+ auth: {
496
+ type: "password";
497
+ clientId: string;
498
+ identityProviderId: string;
499
+ issuer: string;
500
+ configUrl: string;
501
+ audience: string;
502
+ tokenUrl: string;
503
+ grantType: string;
504
+ scope: string;
505
+ admin?: {
506
+ clientId: string;
507
+ clientSecret: string;
508
+ } | undefined;
509
+ } | {
510
+ type: "implicit";
511
+ clientId: string;
512
+ identityProviderId: string;
513
+ issuer: string;
514
+ configUrl: string;
515
+ audience: string;
516
+ scope: string;
517
+ admin?: {
518
+ clientId: string;
519
+ clientSecret: string;
520
+ } | undefined;
521
+ } | {
522
+ type: "client_credentials";
523
+ clientId: string;
524
+ clientSecret: string;
525
+ identityProviderId: string;
526
+ issuer: string;
527
+ configUrl: string;
528
+ audience: string;
529
+ scope: string;
530
+ admin?: {
531
+ clientId: string;
532
+ clientSecret: string;
533
+ } | undefined;
534
+ };
535
+ }>;
536
+ export declare const storeConfigSchema: z.ZodObject<{
537
+ connection: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
538
+ type: z.ZodLiteral<"memory">;
539
+ }, "strip", z.ZodTypeAny, {
540
+ type: "memory";
541
+ }, {
542
+ type: "memory";
543
+ }>, z.ZodObject<{
544
+ type: z.ZodLiteral<"sqlite">;
545
+ database: z.ZodString;
546
+ }, "strip", z.ZodTypeAny, {
547
+ type: "sqlite";
548
+ database: string;
549
+ }, {
550
+ type: "sqlite";
551
+ database: string;
552
+ }>, z.ZodObject<{
553
+ type: z.ZodLiteral<"postgres">;
554
+ host: z.ZodString;
555
+ port: z.ZodNumber;
556
+ user: z.ZodString;
557
+ password: z.ZodString;
558
+ database: z.ZodString;
559
+ }, "strip", z.ZodTypeAny, {
560
+ type: "postgres";
561
+ password: string;
562
+ database: string;
563
+ host: string;
564
+ port: number;
565
+ user: string;
566
+ }, {
567
+ type: "postgres";
568
+ password: string;
569
+ database: string;
570
+ host: string;
571
+ port: number;
572
+ user: string;
573
+ }>]>;
574
+ networks: z.ZodArray<z.ZodObject<{
575
+ name: z.ZodString;
576
+ chainId: z.ZodString;
577
+ synchronizerId: z.ZodString;
578
+ description: z.ZodString;
579
+ ledgerApi: z.ZodObject<{
580
+ baseUrl: z.ZodString;
581
+ adminGrpcUrl: z.ZodString;
582
+ }, "strip", z.ZodTypeAny, {
583
+ baseUrl: string;
584
+ adminGrpcUrl: string;
585
+ }, {
586
+ baseUrl: string;
587
+ adminGrpcUrl: string;
588
+ }>;
589
+ auth: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
590
+ identityProviderId: z.ZodString;
591
+ type: z.ZodLiteral<"password">;
592
+ issuer: z.ZodString;
593
+ configUrl: z.ZodString;
594
+ audience: z.ZodString;
595
+ tokenUrl: z.ZodString;
596
+ grantType: z.ZodString;
597
+ scope: z.ZodString;
598
+ clientId: z.ZodString;
599
+ admin: z.ZodOptional<z.ZodObject<{
600
+ clientId: z.ZodString;
601
+ clientSecret: z.ZodString;
602
+ }, "strip", z.ZodTypeAny, {
603
+ clientId: string;
604
+ clientSecret: string;
605
+ }, {
606
+ clientId: string;
607
+ clientSecret: string;
608
+ }>>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ type: "password";
611
+ clientId: string;
612
+ identityProviderId: string;
613
+ issuer: string;
614
+ configUrl: string;
615
+ audience: string;
616
+ tokenUrl: string;
617
+ grantType: string;
618
+ scope: string;
619
+ admin?: {
620
+ clientId: string;
621
+ clientSecret: string;
622
+ } | undefined;
623
+ }, {
624
+ type: "password";
625
+ clientId: string;
626
+ identityProviderId: string;
627
+ issuer: string;
628
+ configUrl: string;
629
+ audience: string;
630
+ tokenUrl: string;
631
+ grantType: string;
632
+ scope: string;
633
+ admin?: {
634
+ clientId: string;
635
+ clientSecret: string;
636
+ } | undefined;
637
+ }>, z.ZodObject<{
638
+ identityProviderId: z.ZodString;
639
+ type: z.ZodLiteral<"implicit">;
640
+ issuer: z.ZodString;
641
+ configUrl: z.ZodString;
642
+ audience: z.ZodString;
643
+ scope: z.ZodString;
644
+ clientId: z.ZodString;
645
+ admin: z.ZodOptional<z.ZodObject<{
646
+ clientId: z.ZodString;
647
+ clientSecret: z.ZodString;
648
+ }, "strip", z.ZodTypeAny, {
649
+ clientId: string;
650
+ clientSecret: string;
651
+ }, {
652
+ clientId: string;
653
+ clientSecret: string;
654
+ }>>;
655
+ }, "strip", z.ZodTypeAny, {
656
+ type: "implicit";
657
+ clientId: string;
658
+ identityProviderId: string;
659
+ issuer: string;
660
+ configUrl: string;
661
+ audience: string;
662
+ scope: string;
663
+ admin?: {
664
+ clientId: string;
665
+ clientSecret: string;
666
+ } | undefined;
667
+ }, {
668
+ type: "implicit";
669
+ clientId: string;
670
+ identityProviderId: string;
671
+ issuer: string;
672
+ configUrl: string;
673
+ audience: string;
674
+ scope: string;
675
+ admin?: {
676
+ clientId: string;
677
+ clientSecret: string;
678
+ } | undefined;
679
+ }>, z.ZodObject<{
680
+ identityProviderId: z.ZodString;
681
+ type: z.ZodLiteral<"client_credentials">;
682
+ issuer: z.ZodString;
683
+ configUrl: z.ZodString;
684
+ audience: z.ZodString;
685
+ scope: z.ZodString;
686
+ clientId: z.ZodString;
687
+ clientSecret: z.ZodString;
688
+ admin: z.ZodOptional<z.ZodObject<{
689
+ clientId: z.ZodString;
690
+ clientSecret: z.ZodString;
691
+ }, "strip", z.ZodTypeAny, {
692
+ clientId: string;
693
+ clientSecret: string;
694
+ }, {
695
+ clientId: string;
696
+ clientSecret: string;
697
+ }>>;
698
+ }, "strip", z.ZodTypeAny, {
699
+ type: "client_credentials";
700
+ clientId: string;
701
+ clientSecret: string;
702
+ identityProviderId: string;
703
+ issuer: string;
704
+ configUrl: string;
705
+ audience: string;
706
+ scope: string;
707
+ admin?: {
708
+ clientId: string;
709
+ clientSecret: string;
710
+ } | undefined;
711
+ }, {
712
+ type: "client_credentials";
713
+ clientId: string;
714
+ clientSecret: string;
715
+ identityProviderId: string;
716
+ issuer: string;
717
+ configUrl: string;
718
+ audience: string;
719
+ scope: string;
720
+ admin?: {
721
+ clientId: string;
722
+ clientSecret: string;
723
+ } | undefined;
724
+ }>]>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ name: string;
727
+ chainId: string;
728
+ synchronizerId: string;
729
+ description: string;
730
+ ledgerApi: {
731
+ baseUrl: string;
732
+ adminGrpcUrl: string;
733
+ };
734
+ auth: {
735
+ type: "password";
736
+ clientId: string;
737
+ identityProviderId: string;
738
+ issuer: string;
739
+ configUrl: string;
740
+ audience: string;
741
+ tokenUrl: string;
742
+ grantType: string;
743
+ scope: string;
744
+ admin?: {
745
+ clientId: string;
746
+ clientSecret: string;
747
+ } | undefined;
748
+ } | {
749
+ type: "implicit";
750
+ clientId: string;
751
+ identityProviderId: string;
752
+ issuer: string;
753
+ configUrl: string;
754
+ audience: string;
755
+ scope: string;
756
+ admin?: {
757
+ clientId: string;
758
+ clientSecret: string;
759
+ } | undefined;
760
+ } | {
761
+ type: "client_credentials";
762
+ clientId: string;
763
+ clientSecret: string;
764
+ identityProviderId: string;
765
+ issuer: string;
766
+ configUrl: string;
767
+ audience: string;
768
+ scope: string;
769
+ admin?: {
770
+ clientId: string;
771
+ clientSecret: string;
772
+ } | undefined;
773
+ };
774
+ }, {
775
+ name: string;
776
+ chainId: string;
777
+ synchronizerId: string;
778
+ description: string;
779
+ ledgerApi: {
780
+ baseUrl: string;
781
+ adminGrpcUrl: string;
782
+ };
783
+ auth: {
784
+ type: "password";
785
+ clientId: string;
786
+ identityProviderId: string;
787
+ issuer: string;
788
+ configUrl: string;
789
+ audience: string;
790
+ tokenUrl: string;
791
+ grantType: string;
792
+ scope: string;
793
+ admin?: {
794
+ clientId: string;
795
+ clientSecret: string;
796
+ } | undefined;
797
+ } | {
798
+ type: "implicit";
799
+ clientId: string;
800
+ identityProviderId: string;
801
+ issuer: string;
802
+ configUrl: string;
803
+ audience: string;
804
+ scope: string;
805
+ admin?: {
806
+ clientId: string;
807
+ clientSecret: string;
808
+ } | undefined;
809
+ } | {
810
+ type: "client_credentials";
811
+ clientId: string;
812
+ clientSecret: string;
813
+ identityProviderId: string;
814
+ issuer: string;
815
+ configUrl: string;
816
+ audience: string;
817
+ scope: string;
818
+ admin?: {
819
+ clientId: string;
820
+ clientSecret: string;
821
+ } | undefined;
822
+ };
823
+ }>, "many">;
824
+ }, "strip", z.ZodTypeAny, {
825
+ connection: {
826
+ type: "memory";
827
+ } | {
828
+ type: "sqlite";
829
+ database: string;
830
+ } | {
831
+ type: "postgres";
832
+ password: string;
833
+ database: string;
834
+ host: string;
835
+ port: number;
836
+ user: string;
837
+ };
838
+ networks: {
839
+ name: string;
840
+ chainId: string;
841
+ synchronizerId: string;
842
+ description: string;
843
+ ledgerApi: {
844
+ baseUrl: string;
845
+ adminGrpcUrl: string;
846
+ };
847
+ auth: {
848
+ type: "password";
849
+ clientId: string;
850
+ identityProviderId: string;
851
+ issuer: string;
852
+ configUrl: string;
853
+ audience: string;
854
+ tokenUrl: string;
855
+ grantType: string;
856
+ scope: string;
857
+ admin?: {
858
+ clientId: string;
859
+ clientSecret: string;
860
+ } | undefined;
861
+ } | {
862
+ type: "implicit";
863
+ clientId: string;
864
+ identityProviderId: string;
865
+ issuer: string;
866
+ configUrl: string;
867
+ audience: string;
868
+ scope: string;
869
+ admin?: {
870
+ clientId: string;
871
+ clientSecret: string;
872
+ } | undefined;
873
+ } | {
874
+ type: "client_credentials";
875
+ clientId: string;
876
+ clientSecret: string;
877
+ identityProviderId: string;
878
+ issuer: string;
879
+ configUrl: string;
880
+ audience: string;
881
+ scope: string;
882
+ admin?: {
883
+ clientId: string;
884
+ clientSecret: string;
885
+ } | undefined;
886
+ };
887
+ }[];
888
+ }, {
889
+ connection: {
890
+ type: "memory";
891
+ } | {
892
+ type: "sqlite";
893
+ database: string;
894
+ } | {
895
+ type: "postgres";
896
+ password: string;
897
+ database: string;
898
+ host: string;
899
+ port: number;
900
+ user: string;
901
+ };
902
+ networks: {
903
+ name: string;
904
+ chainId: string;
905
+ synchronizerId: string;
906
+ description: string;
907
+ ledgerApi: {
908
+ baseUrl: string;
909
+ adminGrpcUrl: string;
910
+ };
911
+ auth: {
912
+ type: "password";
913
+ clientId: string;
914
+ identityProviderId: string;
915
+ issuer: string;
916
+ configUrl: string;
917
+ audience: string;
918
+ tokenUrl: string;
919
+ grantType: string;
920
+ scope: string;
921
+ admin?: {
922
+ clientId: string;
923
+ clientSecret: string;
924
+ } | undefined;
925
+ } | {
926
+ type: "implicit";
927
+ clientId: string;
928
+ identityProviderId: string;
929
+ issuer: string;
930
+ configUrl: string;
931
+ audience: string;
932
+ scope: string;
933
+ admin?: {
934
+ clientId: string;
935
+ clientSecret: string;
936
+ } | undefined;
937
+ } | {
938
+ type: "client_credentials";
939
+ clientId: string;
940
+ clientSecret: string;
941
+ identityProviderId: string;
942
+ issuer: string;
943
+ configUrl: string;
944
+ audience: string;
945
+ scope: string;
946
+ admin?: {
947
+ clientId: string;
948
+ clientSecret: string;
949
+ } | undefined;
950
+ };
951
+ }[];
952
+ }>;
953
+ export type StoreConfig = z.infer<typeof storeConfigSchema>;
954
+ export type Auth = z.infer<typeof authSchema>;
955
+ export type Network = z.infer<typeof networkSchema>;
956
+ export type ImplicitAuth = z.infer<typeof implicitAuthSchema>;
957
+ export type PasswordAuth = z.infer<typeof passwordAuthSchema>;
958
+ export type clientCredentialAuth = z.infer<typeof clientCredentialAuthSchema>;
959
+ export type LedgerApi = z.infer<typeof ledgerApiSchema>;
960
+ export {};
961
+ //# sourceMappingURL=schema.d.ts.map